1 2000-07-31 H.J. Lu <hjl@gnu.org>
3 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
4 handle the wchar_t array.
6 2000-07-31 Ulrich Drepper <drepper@redhat.com>
8 * iconvdata/gb18030.c: Don't map to and from positions in ISO
9 10646 which are not yet assigned.
10 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
12 2000-07-31 Andreas Jaeger <aj@suse.de>
14 * inet/Versions: Remove getipnodebyaddr and friends from
17 * resolv/netdb.h: Remove getipnodebyaddr and friends.
19 2000-07-30 Bruno Haible <haible@clisp.cons.org>
21 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
22 ch >= 0x81 && ch2 < 0x40 as invalid.
24 2000-07-30 Bruno Haible <haible@clisp.cons.org>
26 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
27 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
29 2000-07-30 Bruno Haible <haible@clisp.cons.org>
31 * iconvdata/johab.c (BODY for TO_LOOP): After calling
32 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
34 2000-07-30 Bruno Haible <haible@clisp.cons.org>
36 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
38 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
40 2000-07-30 Bruno Haible <haible@clisp.cons.org>
42 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
44 2000-07-30 Bruno Haible <haible@clisp.cons.org>
46 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
47 (from_ucs4): Change values of U+00A4 and U+00ED.
48 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
50 2000-07-30 Bruno Haible <haible@clisp.cons.org>
52 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
53 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
55 2000-07-30 Bruno Haible <haible@clisp.cons.org>
57 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
58 * iconvdata/isiri-3342.h: New file.
59 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
62 2000-07-30 Bruno Haible <haible@clisp.cons.org>
64 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
65 (utf8_encode): Use simple shifts instead. Fix return value.
67 2000-07-31 Ulrich Drepper <drepper@redhat.com>
69 * timezone/private.h: Update from tzcode2000e.
70 * timezone/asia: Update from tzdata2000e.
71 * timezone/australasia: Likewise.
72 * timezone/europe: Likewise.
73 * timezone/northamerica: Likewise.
74 * timezone/zone-tab: Likewise.
76 2000-07-30 Ralf Baechle <ralf@gnu.org>
78 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
79 the order of struct sigaltstack members is different.
81 2000-07-26 Philip Blundell <philb@gnu.org>
83 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
85 2000-07-29 Ulrich Drepper <drepper@redhat.com>
87 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
88 * locale/programs/ld-ctype.c: Adjust for this.
90 * locale/programs/ld-collate.c: Add more alignment checks.
91 * locale/string/strcoll.c: Likewise.
93 2000-07-30 Mark Kettenis <kettenis@gnu.org>
95 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
96 outside USE_IN_LIBIO block.
98 2000-07-26 Philip Blundell <philb@gnu.org>
100 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
101 (elf_machine_rel): Use it for out-of-range PC24 relocs.
103 2000-07-28 Philip Blundell <philb@gnu.org>
105 * math/test-fpucw.c: Ignore reserved bits in control word.
107 2000-07-28 Philip Blundell <philb@gnu.org>
109 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
110 (ret): Redefine to PSEUDO_RET.
111 (PSEUDO): Remove jump to syscall_error.
113 2000-07-29 Mark Kettenis <kettenis@gnu.org>
115 * resolv/README: Add some information about using the resolver in
116 multi-threaded code and with C++. Spelling fixes.
118 2000-07-29 Mark Kettenis <kettenis@gnu.org>
120 * resolv/resolv.h (struct __sockaddr_in): Remove.
121 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
123 2000-07-29 Greg McGary <greg@mcgary.org>
125 * Rules (test-bp-inputs, make-test-out): New variables.
126 ($(objpfx)%-bp.out): New rule.
127 ($(objpfx)%.out): Rewrite in terms of new variables.
129 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
130 internal function that uses vtable.
131 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
132 * libio/vswprintf.c (_IO_vswprintf): Likewise.
134 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
135 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
136 (chunk_align): Likewise.
138 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
139 in a way that conforms to decl, and avoids spurious bounds violation.
141 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
142 * sysdeps/generic/frame.h: Likewise.
143 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
145 (__backtrace): Qualify frame-pointer chain and return address
146 pointers as __unbounded. Wrap bounds around variable `current'.
147 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
149 (catch_segfault): Qualify frame-pointer chain and return address
150 pointers as __unbounded. Wrap bounds around variable `current'.
151 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
152 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
153 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
155 (__backtrace): Qualify frame-pointer chain and return address
156 pointers as __unbounded. Wrap bounds around variable `current'.
158 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
159 * sysdeps/i386/mul_1.S: Likewise.
160 * sysdeps/i386/submul_1.S: Likewise.
161 * sysdeps/i386/i586/addmul_1.S: Likewise.
162 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
163 * sysdeps/i386/i586/submul_1.S: Likewise.
165 2000-07-27 Andreas Jaeger <aj@suse.de>
167 * libio/Depend: New file, libio needs localedata for tests.
168 * posix/Depend: Likewise.
170 2000-07-28 Ulrich Drepper <drepper@redhat.com>
172 * stdio-common/_i18n_itoa.c: Removed.
173 * stdio-common/_i18n_itoa.h: Removed.
174 * stdio-common/_i18n_itowa.c: Removed.
175 * stdio-common/_i18n_itowa.h: Removed.
176 * stdio-common/_i18n_number.h: New file.
177 * stdio-common/Depend: New file.
178 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
179 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
180 printing. Change printing of numbers with locale specific digits to
181 use new code in _i18n_number.h.
182 * stdio-common/Makefile (routines): Remove _i18n_itoa and
185 * stdio-common/bug13.c: Improve messages.
187 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
188 (set_class_defaults): Always search also for Uxxxx names.
189 Detect insufficient number of outdigits.
191 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
193 2000-07-27 Bruno Haible <haible@clisp.cons.org>
195 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
197 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
198 * wctype/wcfuncs.c (towlower, towupper): Use them.
199 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
200 * wctype/wctrans.c (wctrans): Likewise.
201 * wctype/wctrans_l.c (__wctrans_l): Likewise.
203 2000-07-27 Bruno Haible <haible@clisp.cons.org>
205 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
206 Use the optimized version of this function outside glibc as well.
208 2000-07-27 Jakub Jelinek <jakub@redhat.com>
210 * locale/indigits.h (indigit_value): Correct.
211 * locale/indigitswc.h (indigitwc_value): Correct.
212 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
213 conversion, add GROUP checking for it, fix GROUP number
214 conversion with strlen(thousands) > 1.
215 Honour width correctly in the presence of floating
216 decimal points and thousands separators.
217 * stdio-common/tst-sscanf.c: New test.
218 * stdio-common/Makefile: Add it to tests.
219 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
220 thousands separators and group argument is non-zero.
222 2000-07-25 Bruno Haible <haible@clisp.cons.org>
224 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
227 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
229 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
230 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
232 (headers): Add sys/tas.h.
233 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
235 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
236 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
239 2000-07-28 Andreas Jaeger <aj@suse.de>
241 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
243 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
244 ($(objpfx)tst-dladdr.out): new.
245 (tests): Add tst-dladdr.
246 ($(objpfx)glrefmain): Use libdl.
248 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
251 2000-07-27 Jes Sorensen <jes@linuxcare.com>
253 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
256 2000-07-27 Jes Sorensen <jes@linuxcare.com>
258 * intl/tst-translit.c: Include string.h to get prototype for
261 2000-07-27 Jes Sorensen <jes@linuxcare.com>
263 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
264 name and add weak alias for __fork.
266 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
267 & pwrite to use __libc_<name> as strong names instead of
270 * include/sched.h: Add clone2 prototype.
272 2000-07-26 Jes Sorensen <jes@linuxcare.com>
274 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
275 procedure name twice.
277 2000-07-27 Philip Blundell <philb@gnu.org>
279 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
281 2000-07-27 Andreas Jaeger <aj@suse.de>
283 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
284 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
285 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
286 Reported by Andi Kleen <ak@suse.de>.
288 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
289 (do_wait): Test requests with aio_return64.
290 (do_test): Change callers of do_wait.
292 2000-07-26 Andreas Jaeger <aj@suse.de>
294 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
295 (do_wait): Test requests with aio_return.
296 (do_test): Change callers of do_wait.
298 2000-07-27 Ulrich Drepper <drepper@redhat.com>
300 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
301 from request list. Don't do the list handling here, call
302 __aio_remove_request.
303 * rt/aio_misc.h: Add prototype for __aio_remove_request.
304 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
305 request might already be processed. Don't do the list handling
306 here, call __aio_remove_request.
308 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
311 * rt/aio_misc.c: Add comment explaining why writer memory barriers
314 2000-07-27 Greg McGary <greg@mcgary.org>
316 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
317 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
318 in union init. Pass zero for ignored semnum arg to semctl.
319 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
321 2000-07-26 Greg McGary <greg@mcgary.org>
323 * sysdeps/gnu/bits/msq.h: Qualify kernel's
324 data structure pointers as __unbounded.
325 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
326 * sysdeps/generic/bp-semctl.h: New file.
327 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
328 pointers as __unbounded. Check bounds of syscall args.
329 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
330 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
331 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
332 * sysdeps/unix/sysv/linux/semop.c: Likewise.
333 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
334 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
335 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
336 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
337 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
338 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
339 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
340 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
341 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
342 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
343 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
344 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
346 2000-07-26 Ulrich Drepper <drepper@redhat.com>
348 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
350 * locale/C-ctype.c: Likewise.
351 * wcsmbs/wcsmbsload.c: Likewise.
353 2000-07-26 Greg McGary <greg@mcgary.org>
355 * Makeconfig (+link-bounded, link-libc-bounded,
356 link-extra-libs-bounded): New variables.
357 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
358 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
359 * Rules (tests-bp.out): New variable.
360 (tests): Conditionally add BP tests.
361 (binaries-bounded): Add variable and associated rule.
362 * csu/Makefile [build-bounded] (extra-objs, install-lib):
363 Move conditional stuff after place where condition is defined.
365 * malloc/malloc.c (bp-checks.h): Add #include.
366 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
367 (_bin_at): Add unbounded version of bin_at.
368 (IAV, chunk_alloc): Use unbounded _bin_at.
369 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
370 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
371 Wrap BOUNDED_N around return value.
372 (chunk_realloc): Adjust oldsize once.
374 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
375 (__ubp_memchr): Add correct decl.
376 (_CHECK_STRING): Use __ubp_memchr.
377 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
378 New alias for unbounded-pointer __memchr.
379 * sysdeps/i386/memchr.S: Likewise.
380 * sysdeps/ia64/memchr.S: Likewise.
381 * sysdeps/m68k/memchr.S: Likewise.
382 * sysdeps/sparc/sparc32/memchr.S: Likewise.
383 * sysdeps/sparc/sparc64/memchr.S: Likewise.
384 * sysdeps/vax/memchr.s: Likewise.
386 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
387 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
388 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
389 * sysdeps/i386/i686/strtok.S: Likewise.
390 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
391 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
393 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
394 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
396 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
397 bounds of copy_result to mount_proc.
399 2000-07-25 Bruno Haible <haible@clisp.cons.org>
401 * wctype/wctype.h (__wctrans_l): New declaration.
402 * wctype/wctrans_l.c: New file.
403 * wctype/Makefile (routines): Add wctrans_l.
405 2000-07-26 Ulrich Drepper <drepper@redhat.com>
407 * posix/fnmatch_loop.c: Fixes for use outside glibc.
408 Patch by MacGyver <macgyver@tos.net>.
410 2000-07-26 Andreas Jaeger <aj@suse.de>
412 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
413 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
414 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
416 * rt/tst-aio.c (test_file): Fix typo.
417 * rt/tst-aio64.c (test_file): Likewise.
419 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
420 * rt/Makefile: Add rules to build and run tst-aio3.
422 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
423 it's not needed and confuses only.
425 2000-07-26 Ulrich Drepper <drepper@redhat.com>
427 * resolv/res_init.c: Add support for nameserver communication with
429 * resolv/res_send.c: Likewise.
430 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
432 Patch by <venaas@nvg.ntnu.no>.
434 2000-07-25 Bruno Haible <haible@clisp.cons.org>
436 * locale/programs/ld-ctype.c (wctype_table_get): New function.
437 (wcwidth_table_get): New function.
438 (wcwidth_table_add): Call it.
439 (wctrans_table_get): New function.
440 (wctrans_table_add): Call it.
442 2000-07-25 Ulrich Drepper <drepper@redhat.com>
444 * rt/lio_listio.c (lio_listio): Always disable individual
446 * rt/Makefile: Add rules to build and run tst-aio2.
447 * rt/tst-aio2.c: New file.
449 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
450 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
452 2000-07-25 Mark Kettenis <kettenis@gnu.org>
454 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
455 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
456 leading and trailing spaces from host, user and domain name.
458 2000-07-25 Jes Sorensen <jes@linuxcare.com>
460 * csu/defs.awk: Add support for need_endp.
462 2000-07-25 Mark Kettenis <kettenis@gnu.org>
464 * resolv/resolv.h: Remove __P from res_send_qhook and
465 res_send_rhook typedefs.
467 2000-07-25 Bruno Haible <haible@clisp.cons.org>
469 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
471 2000-07-25 Ulrich Drepper <drepper@redhat.com>
473 * iconv/gconv_builtin.h: Add WCHAR_T alias.
475 2000-07-25 Mark Kettenis <kettenis@gnu.org>
477 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
478 calling thread, set the cancellation flag and return success
481 2000-07-25 Ulrich Drepper <drepper@redhat.com>
483 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
484 * libio/tst-widetext.c: New file.
485 * libio/tst-widetext.input: New file.
487 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
489 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
490 empty external buffer correctly.
492 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
494 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
495 __STRING(entry) and not #entry.
496 (_RTLD_EPILOGUE): Likewise.
497 * sysdeps/mips/mips64/dl-machine.h: Likewise.
499 2000-07-25 Andreas Jaeger <aj@suse.de>
501 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
502 according to changes in test program, run also with static only
504 ($(objpfx)tst-printf.out): Likewise.
506 * stdio-common/tst-unbputc.sh: Likewise.
507 * stdio-common/tst-printf.sh: Likewise.
509 2000-07-25 Ulrich Drepper <drepper@redhat.com>
511 * libio/wfileops.c (_IO_wdo_write): Correct return value.
513 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
516 * libio/fileops.c: Pretty print.
518 2000-07-23 Bruno Haible <haible@clisp.cons.org>
520 * wctype/wchar-lookup.h: New file.
521 * wctype/iswctype.c: Include "wchar-lookup.h".
522 (__iswctype): Support alternate locale format with 3-level tables.
523 * wctype/iswctype_l.c (__iswctype_l): Likewise.
524 * wctype/towctrans.c (__towctrans): Likewise.
525 * wctype/towctrans_l.c (__towctrans_l): Likewise.
526 * wctype/wcfuncs.c: Include "wchar-lookup.h".
527 (__ctype32_wctype, __ctype32_wctrans): Declare external.
528 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
529 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
530 __iswxdigit, towlower, towupper): Support alternate locale format
532 * wctype/wcextra.c (iswblank): Likewise.
533 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
534 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
535 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
536 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
537 format with 3-level tables.
538 * wctype/wcextra_l.c (__iswblank_l): Likewise.
539 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
540 format, return a 3-level table pointer.
541 * wctype/wctype_l.c (__wctype_l): Likewise.
542 * wctype/wctrans.c (wctrans): Likewise.
543 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
544 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
545 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
546 (iswctype): Remove macro definition.
547 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
548 (internal_wcwidth): Support alternate locale format with 3-level
550 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
552 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
553 Define them as being type "word".
554 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
555 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
556 __ctype32_width): New exported variables.
557 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
558 alternate locale format. Don't initialize __ctype_names and
559 __ctype_width in the alternate locale format.
560 * locale/programs/localedef.h (oldstyle_tables): New declaration.
561 * locale/programs/localedef.c (oldstyle_tables): New variable.
562 (OPT_OLDSTYLE): New macro.
563 (options): Add --old-style option.
564 (parse_opt): Handle --old-style option.
565 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
566 map_offset, class_3level, map_3level, width_3level members.
567 (ctype_output): Support for alternate locale format: Computation of
568 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
569 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
570 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
571 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
572 now contain both class and map tables.
573 (struct wctype_table): New type.
574 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
576 (struct wcwidth_table): New type.
577 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
579 (struct wctrans_table): New type.
580 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
582 (allocate_arrays): Support for alternate locale format: Set
583 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
584 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
585 to the first 256 characters. Compute ctype->map_3level. Set
586 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
587 instead of ctype->width.
589 2000-07-24 Ulrich Drepper <drepper@redhat.com>
591 * libio/iogetwline.c (_IO_getwline_info): Use wide character
594 2000-07-24 Jakub Jelinek <jakub@redhat.com>
596 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
597 in wide characters, not bytes.
598 * libio/tst_putwc.c (do_test): Add test for writing lots of data
601 2000-07-22 Bruno Haible <haible@clisp.cons.org>
603 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
604 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
605 LC_MEASUREMENT, LC_IDENTIFICATION.
607 * locale/xlocale.h (struct __locale_struct): Increase size of
609 * locale/duplocale.c (__duplocale): Copy newly added categories as
611 * locale/freelocale.c (__freelocale): Free newly added categories.
612 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
613 If a base is given, use it, don't simply return it.
615 2000-07-22 Bruno Haible <haible@clisp.cons.org>
617 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
618 variables, copied_key and copied_salt, instead of boolean variables.
620 2000-07-24 Andreas Jaeger <aj@suse.de>
622 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
625 * grp/initgroups.c (initgroups_dyn_function): Renamed from
626 initgroups_function, adopted prototype for change from 2000-07-23.
627 (initgroups): Follow type change.
629 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
630 & PAGE_MASK case, reformat.
632 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
633 from stdin and setup environment.
635 2000-07-24 Andreas Schwab <schwab@suse.de>
637 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
639 2000-07-23 Ulrich Drepper <drepper@redhat.com>
641 * string/endian.h: Explain the _*_ENDIAN constant values a bit
642 more. Patch by scarlet@mit.edu [PR libc/1799].
644 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
647 * argp/argp-parse.c (parser_finalize): Reverse order in which
648 parsers are run for ARGP_KEY_END. [PR libc/1755].
650 * grp/initgroups.c (initgroups): Don't limit the possible number
651 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
652 the setgroups call while the call fails and descrease the number
653 of groups each round.
654 The name of the initgroups function in the NSS modules changed.
655 (compat_call): Adapt for dynamic resizing.
656 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
657 Implement dynamic resizing.
658 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
660 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
661 * hesiod/Versions: Change exported interface name.
662 * nis/Versions: Change exported interface name.
664 2000-07-23 Ulrich Drepper <drepper@redhat.com>
666 * locale/iso-639.def: Some errors corrected.
667 Patch by Keld Simonsen.
669 * include/limits.h: Update non-gcc portion.
670 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
672 2000-07-22 Mark Kettenis <kettenis@gnu.org>
674 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
675 program's data space, reallocate only the space that was just
676 deallocated to release its backing space.
678 2000-07-23 Ulrich Drepper <drepper@redhat.com>
680 * stdio-common/vfprintf.c (process_string_arg): For wide character
681 version, handle precision also correctly.
683 * nss/nss_files/files-hosts.c: Correct problem with three or more
684 entries with the same name.
686 * nss/nss_files/files-hosts.c: Implement multi handling.
687 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
689 2000-07-22 Ulrich Drepper <drepper@redhat.com>
691 * nss/nss_files/files-parse.c: Don't pollute namespace by using
694 * grp/Makefile: Change Makefiles and tests to run only when necessary.
695 * malloc/Makefile: Likewise.
696 * malloc/tst-mtrace.sh: Likewise.
697 * posix/Makefile: Likewise.
698 * posix/globtest.sh: Likewise.
699 * posix/wordexp-tst.sh: Likewise.
700 * string/Makefile: Likewise.
702 2000-07-22 Mark Kettenis <kettenis@gnu.org>
704 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
705 size instead of LC_ALL to take into account the new locale
708 2000-07-22 Ulrich Drepper <drepper@redhat.com>
710 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
711 remainders of hash table.
712 * locale/categories.def: Remove remainders of transliteration
714 * locale/langinfo.h: Likewise.
715 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
716 transliteration tables.
718 * locale/gen-translit.pl: New file.
719 * locale/C-translit.h.in: New file.
720 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
721 data pointers with data from this file.
722 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
724 Add rule to generate C-translit.h.
725 * intl/tst-translit.c (main): Update for now performed
728 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
729 (it's no input error).
730 * stdio-common/tstscanf.c: Add test case for format %f with input --.
731 * stdio-common/scanf12.c: Correct expected result for first scanf.
733 * stdio-common/vfprintf.c (process_string_arg): Correct handling
734 of multibyte character strings in %s format with precision.
736 2000-07-21 Ulrich Drepper <drepper@redhat.com>
738 * locale/programs/ld-collate.c (collate_read): Allow collating
739 symbols and elements be named in reorder-after instructions.
740 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
742 * locale/programs/ld-collate.c (handle_ellipsis): Test for
743 duplication with generated name, not the name of the first
745 Patch by Yong Li <yong.li@asu.edu>.
747 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
748 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
750 2000-07-21 Wolfram Gloger <wg@malloc.de>
752 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
753 allocations only if a non-main arena cannot be extended.
755 2000-07-21 Ulrich Drepper <drepper@redhat.com>
757 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
758 in DF_1_NODEFLIB handling.
760 2000-07-21 Andreas Jaeger <aj@suse.de>
762 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
765 * libio/fwide.c: Include <wchar.h> for prototype.
767 2000-07-21 Greg McGary <greg@mcgary.org>
769 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
770 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
771 Define in terms of chunk_at_offset.
772 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
773 (next_bin, prev_bin): offset by size of real array elements.
774 (chunk_align): Make `m' a scalar, since that's how it's used.
776 2000-07-21 Greg McGary <greg@mcgary.org>
778 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
780 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
781 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
782 Wrap bounds around argv & envp and each of their string members.
783 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
784 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
785 symbol in BP_SYM (). Discard bounds of address arg.
786 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
787 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
788 Discard bounds on address arg, add bounds to return value.
790 2000-07-20 Ulrich Drepper <drepper@redhat.com>
792 * elf/Makefile (tests): Add filter. Add rules to generate filter.
793 * elf/filter.c: New file.
794 * elf/filtmod1.c: New file.
795 * elf/filtmod2.c: New file.
797 * elf/rtld.c: Define _dl_bind_not variable.
798 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
799 * elf/dl-support.c: Likewise.
800 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
801 * elf/dl-runtime.c (fixup): Don't remember looked up value if
803 (profile_fixup): Likewise.
805 * libio/Makefile (routines): Add fwide.
806 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
807 fwide now. Internal calls to _IO_fwide must do locking themselves
808 or don't need locking.
809 * libio/fwide.c: New file.
811 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
813 * elf/Makefile: Add no modules for nodelete test.
814 * elf/nodelmod3.c: New file.
815 * elf/nodelmod4.c: New file.
816 * elf/nodelete.c: Also test case where dependency of dlopen() object
819 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
820 * elf/nodlopen.c: New file.
821 * elf/nodlopenmod.c: New file.
822 * include/dlfcn.h: Define __RTLD_DLOPEN.
823 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
824 and this is a dlopen() call, do not load the binary.
825 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
826 * dlfcn/dlopenold.c: Likewise.
827 * configure.in: Add test for -z nodelete option.
828 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
830 2000-07-20 Mark Kettenis <kettenis@gnu.org>
832 Make Hesiod NSS module thread-safe.
834 * hesiod/README.hesiod: Update.
836 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
837 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
838 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
839 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
841 * hesiod/nss_hesiod/hesiod-init.c: New file.
842 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
843 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
844 * hesiod/nss_hesiod/nss_hesiod.h: New file.
845 * hesiod/nss_hesiod/hesiod-service.c
846 (_nss_hesiod_getservbyport_r): New function. Provide support for
847 looking up services by port number.
848 * hesiod/nss_hesiod/hesiod-proto.c: New file.
850 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
851 * hesiod/hesiod.h: Likewise.
852 * hesiod/hesiod_p.h: Likewise.
854 2000-07-20 Mark Kettenis <kettenis@gnu.org>
856 Fix problems with `struct __res_state' getting too big.
857 * resolv/resolv.h (struct __sockaddr_in): New definition.
858 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
859 the private parts of the structure to save some space.
860 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
861 (struct sockaddr_in *) in call to sock_eq.
862 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
864 2000-07-20 Ulrich Drepper <drepper@redhat.com>
866 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
867 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
869 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
870 to _dl_map_object. Return immediately if no object loaded.
871 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
872 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
873 if it exists into l_flags_1 word.
874 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
875 it to determine whether loading is wanted or not.
876 (_dl_map_object): Likewise.
877 Call _dl_map_object_from_fd with new parameter.
878 * sysdeps/generic/ldsodefs.h: Update prototype.
879 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
880 * elf/rtld.c: Likewise.
881 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
882 * elf/Makefile (tests): Add noload. Add rules to generate noload.
883 * elf/noload.c: New file.
884 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
885 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
886 * sysdeps/mips/bits/dlfcn.h: Likewise.
887 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
888 (tests-nodelete-yes): Define.
889 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
890 Add rules to build nodelete and modules.
891 * elf/nodelete.c: New file.
892 * elf/nodelmod1.c: New file.
893 * elf/nodelmod2.c: New file.
894 * configure.in: Add test for -z nodelete option.
895 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
897 * libio/Makefile (tests): Add tst_wprintf2.
898 (tst_wprintf2-ARGS): Define.
899 * libio/tst_wprintf2.c: New file.
900 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
902 * libio/wfiledoalloc.c: Only allocate external buffer if this
905 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
906 something in the buffer. gconv call can write up to end of the
907 buffer, not only _IO_write_end.
908 (_IO_wfile_overflow): Allocate also external buffer.
910 2000-07-19 Ulrich Drepper <drepper@redhat.com>
912 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
913 strings with precision in vfwprintf correctly.
914 * stdio-common/vfprintf.c: Fix completely broken handling of
915 unbuffered wide character streams.
916 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
918 * resolv/Makefile (distribute): Add README.
920 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
922 2000-07-18 Mark Kettenis <kettenis@gnu.org>
924 Update resolver code to BIND 8.2.3-T5B.
926 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
928 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
929 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
931 * resolv/Banner: BIND-8.2.3-T5B.
933 * resolv/base64.c: Update from BIND 8.2.3-T5B.
934 * resolv/herror.c: Likewise.
935 * resolv/inet_addr.c: Likewise.
936 * resolv/inet_net_ntop.c: Likewise.
937 * resolv/inet_net_pton.c: Likewise.
938 * resolv/inet_neta.c: Likewise.
939 * resolv/inet_ntop.c: Likewise.
940 * resolv/nsap_addr.c: Likewise.
941 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
942 IPv6 addresses (ISC bug #520).
944 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
945 * resolv/ns_parse.c: Likewise.
946 * resolv/ns_netint.c: Likewise.
947 * resolv/ns_samedomain.c: Likewise.
948 * resolv/ns_ttl.c: Likewise.
949 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
950 RCS ID in object file.
952 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
953 * resolv/res_mkquery.c: Likewise.
954 * resolv/res_query.c: Likewise.
955 * resolv/res_init.c: Likewise.
956 (res_setoptions): Mark internal.
957 * resolv/res_send.c: Likewise.
958 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
959 by using poll instead.
960 * resolv/res_comp.c: Likewise.
961 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
962 weak alias for __dn_expand.
963 * resolv/res_data.c: Likewise.
964 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
965 in _res.options. Avoids a potential security risk by avoiding a
967 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
968 res_mkquery, res_query, res_querydomain adn res_search weak
969 aliases for __res_mkquery, __res_query, __res_querydomain and
971 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
972 instead to avoid close(0).
973 (res_init): Always use the static resolver context.
974 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
975 alias for __res_init.
977 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
978 RES_SET_H_ERRNO and accompanying comment to...
979 * include/resolv.h: ... here.
981 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
982 * resolv/arpa/nameser_compat.h: Likewise.
984 2000-07-18 Ulrich Drepper <drepper@redhat.com>
986 * nss/makedb.c (main): Compare result of load_db with
987 NSS_STATUS_SUCCESS and not 0.
988 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
990 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
992 2000-07-18 Greg McGary <greg@mcgary.org>
994 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
995 (EXTEND_BUFFER): Use it.
997 2000-07-18 Ulrich Drepper <drepper@redhat.com>
999 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
1000 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
1001 __builtin_return_address.
1002 * dlfcn/dlopenold.c: Likewise.
1003 * dlfcn/dlsym.c: Likewise.
1004 * dlfcn/dlvsym.c: Likewise.
1005 * elf/dl-profstub.c: Likewise.
1006 * malloc/malloc.c: Likewise.
1007 * sysdeps/generic/machine-gmon.h: Likewise.
1008 Based on a patch by schwidefsky@de.ibm.com.
1010 2000-07-18 Andreas Jaeger <aj@suse.de>
1012 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
1013 NULL to elf_machine_fixup_plt t argument to silence GCC.
1015 * include/string.h: Add prototype for __memchr.
1017 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
1019 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
1022 2000-07-18 Ulrich Drepper <drepper@redhat.com>
1024 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
1026 * locale/C-ctype.c: Add initializers for gap elements.
1027 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
1030 2000-07-16 Ulrich Drepper <drepper@redhat.com>
1032 * nscd/nscd.c (print_version): Update copyright year.
1034 2000-07-17 Greg McGary <greg@mcgary.org>
1036 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
1037 keyletters F, I, S, W. Remove unused keyletter V. Surround
1038 signature argnames with angle-brackets for use as word delimiters,
1039 and to induce syntax errors for any args not handled. Split
1040 multi-echo echoes and comment each stage.
1041 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
1042 * sysdeps/unix/inet/syscalls.list: Likewise.
1043 * sysdeps/unix/mman/syscalls.list: Likewise.
1044 * sysdeps/unix/syscalls.list: Likewise.
1045 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1046 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1047 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1048 * sysdeps/unix/sysv/syscalls.list: Likewise.
1049 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
1051 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
1052 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
1053 qualifiers. Don't check NULL-terminator of argv & envp.
1054 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
1055 unbounded pointer type in word-size assertion.
1056 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
1057 cases to stifle warnings.
1059 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
1061 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1063 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
1064 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
1067 * Makerules (o-objects): Supplement with $(o-objects$o).
1068 * string/Makefile (o-objects.ob): Add variable to pull
1069 unbounded versions of memcpy, memset and memchr into libc_b.
1071 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
1072 rather than non-existent __ubp_memchr.
1073 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
1074 (_CHECK_STRING, _CHECK_N): New macros.
1075 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
1076 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
1077 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
1078 Add weak alias "memchr".
1079 * sysdeps/generic/memchr.c: Likewise.
1080 * sysdeps/i386/memchr.S: Likewise.
1081 * sysdeps/ia64/memchr.S: Likewise.
1082 * sysdeps/m68k/memchr.S: Likewise.
1083 * sysdeps/sparc/sparc32/memchr.S: Likewise.
1084 * sysdeps/sparc/sparc64/memchr.S: Likewise.
1085 * sysdeps/vax/memchr.s: Likewise.
1087 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
1089 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
1090 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
1091 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
1092 __BOUNDED_POINTERS__.
1093 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
1094 for __BOUNDED_POINTERS__.
1096 2000-07-17 Bruno Haible <haible@clisp.cons.org>
1098 * iconv/gconv_open.c (__gconv_open): Initialize the __data
1099 field of struct __gconv_trans_data differently. Don't pass NULL to
1100 trans_init_fct. Simplify list append operation.
1102 2000-07-14 Bruno Haible <haible@clisp.cons.org>
1104 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
1105 not only those having tsearch.
1107 2000-07-17 Ulrich Drepper <drepper@redhat.com>
1109 * locale/langinfo.h: Add placeholder values in enum for removed
1112 2000-07-17 Jakub Jelinek <jakub@redhat.com>
1114 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
1115 chain if the PHDR check fails.
1117 2000-07-17 Mark Kettenis <kettenis@gnu.org>
1119 * nss/getent.c (print_hosts): Make sure we always print a space
1120 between numeric addresses and hostnames.
1122 2000-07-17 Wolfram Gloger <wg@malloc.de>
1124 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
1125 i.e. if n_mmaps_max>0.
1127 2000-07-16 Mark Kettenis <kettenis@gnu.org>
1129 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
1130 values to remove possible clash with other AI_* constants.
1131 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
1132 hexadecimal constants to stress the fact they're in fact
1135 2000-07-15 Mark Kettenis <kettenis@gnu.org>
1137 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
1138 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
1139 instead of res_init.
1141 2000-07-16 Ulrich Drepper <drepper@redhat.com>
1143 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
1144 parameters of memset calls to avoid warnings.
1146 2000-07-15 Ulrich Drepper <drepper@redhat.com>
1148 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
1151 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
1152 Patch by Greg McGary <greg@mcgary.org>.
1154 * io/Makefile (tests): Add tst-getcwd.
1155 * io/tst-getcwd.c: New file.
1157 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
1159 2000-07-15 Jakub Jelinek <jakub@redhat.com>
1161 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
1164 2000-07-13 Jakub Jelinek <jakub@redhat.com>
1166 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
1167 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
1169 2000-07-12 H.J. Lu <hjl@gnu.org>
1171 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
1173 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
1174 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
1175 (sysdep-routines): Add clone2.
1176 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
1178 2000-07-13 Jes Sorensen <jes@linuxcare.com>
1180 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
1181 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
1183 2000-06-05 David Mosberger <davidm@hpl.hp.com>
1185 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
1186 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
1187 Change type of si_band from "int" to "long".
1188 (si_imm) [USE_GNU]: Define
1189 (si_isr) [USE_GNU]: Ditto.
1190 (ILL_BREAK) [USE_GNU]: Ditto.
1191 (FPE_DECOVF) [USE_GNU]: Ditto.
1192 (FPE_DECDIV) [USE_GNU]: Ditto.
1193 (FPE_DECERR) [USE_GNU]: Ditto.
1194 (FPE_INVASC) [USE_GNU]: Ditto.
1195 (FPE_INVDEC) [USE_GNU]: Ditto.
1196 (TRAP_BRANCH) [USE_GNU]: Ditto.
1197 (TRAP_HWBKPT) [USE_GNU]: Ditto.
1199 2000-07-06 Jes Sorensen <jes@linuxcare.com>
1201 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
1202 bits/sigcontext as struct mcontext does not depend on it.
1204 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
1206 2000-07-04 Jes Sorensen <jes@linuxcare.com>
1208 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
1210 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
1212 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
1214 2000-06-22 Jes Sorensen <jes@linuxcare.com>
1216 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
1218 2000-07-15 Ulrich Drepper <drepper@redhat.com>
1220 * intl/Makefile (test-srcs): Add tst-translit.
1222 Add rules to build and run tst-translit.
1223 * intl/tst-translit.c: New file.
1224 * intl/tst-translit.sh: New file.
1225 * intl/translit.po: New file.
1227 2000-07-14 Ulrich Drepper <drepper@redhat.com>
1229 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
1230 transliteration function did its job, continue, don't stop.
1232 * iconvdata/iso646.c: Little optimizations in body for conversion
1235 2000-07-14 Mark Kettenis <kettenis@gnu.org>
1237 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
1239 2000-07-14 Mark Kettenis <kettenis@gnu.org>
1241 * configure.in: Check for pwd binary.
1242 * config.make.in: Add PWD_P to be subsituted.
1243 * Makerules: Use $(PWD_P) instead of /bin/pwd.
1245 2000-07-14 Ulrich Drepper <drepper@redhat.com>
1247 * iconvdata/Makefile (modules): Add GB18030.
1248 (distribute): Add gb18030.c.
1249 * iconvdata/gconv-modules: Add entries for GB18030 module.
1250 * iconvdata/gb18030.c: New file.
1251 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
1254 2000-07-13 Andreas Jaeger <aj@suse.de>
1256 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
1259 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
1260 * inet/getnetgrent.c (free_mem): Likewise.
1261 * misc/mntent.c (free_mem): Likewise.
1262 * nss/getXXbyYY.c (free_mem): Likewise.
1263 * nss/getXXent.c (free_mem): Likewise.
1264 * pwd/fgetpwent.c (free_mem): Likewise.
1265 * shadow/fgetspent.c (free_mem): Likewise.
1267 2000-07-14 Ulrich Drepper <drepper@redhat.com>
1269 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
1270 64-bit architecture correctly [PR libc/1794].
1272 2000-07-13 Ulrich Drepper <drepper@redhat.com>
1274 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
1275 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
1276 report that we are out of memory.
1277 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1278 * elf/dl-libc.c (dlerror_run): Likewise.
1279 * elf/dl-open.c (_dl_open): Likewise.
1280 * elf/rtld.c (dl_main): Likewise.
1281 * elf/dl-error.c: Define _dl_out_of_memory.
1282 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
1284 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
1287 * dlfcn/dlerror.c (free_key_mem): Also free error string.
1289 * iconv/loop.c: Fix comment.
1291 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
1293 2000-07-13 Andreas Jaeger <aj@suse.de>
1295 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
1296 getcwd (NULL, size) with size > 0.
1297 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
1299 2000-07-13 Andreas Jaeger <aj@suse.de>
1301 * posix/Makefile: Remove build rules for libposix.
1303 2000-07-13 Andreas Schwab <schwab@suse.de>
1305 * sysdeps/generic/glob.c (glob): Fix memory leak.
1306 [SHELL]: Remove reference to undefined variable `files'.
1309 2000-07-13 Andreas Jaeger <aj@suse.de>
1311 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
1314 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
1315 memory if it was allocated.
1317 2000-07-12 Ulrich Drepper <drepper@redhat.com>
1319 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
1322 * iconv/gconv_open.c (__gconv_open): Reapply
1323 2000-07-12 Bruno Haible <haible@clisp.cons.org>
1325 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
1327 * iconv/gconv_open.c: Undo last two changes for now. They break
1330 2000-07-12 Andreas Jaeger <aj@suse.de>
1332 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
1334 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
1335 (CFLAGS-dl-cache.c): Likewise.
1336 (CFLAGS-ldconfig.c): Added, passes directory locations.
1338 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
1340 * elf/ldconfig.c (LD_SO_CONF): Likewise.
1341 (main): Use configured LIBDIR and SLIBDIR.
1343 2000-07-11 Jakub Jelinek <jakub@redhat.com>
1345 * math/bits/cmathcalls.h (cimag): Add __THROW.
1346 (creal, conj): Likewise.
1347 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
1350 2000-07-12 H.J. Lu <hjl@gnu.org>
1352 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
1353 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
1355 2000-07-12 Ulrich Drepper <drepper@redhat.com>
1357 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
1360 2000-07-12 Bruno Haible <haible@clisp.cons.org>
1362 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
1364 2000-07-12 Bruno Haible <haible@clisp.cons.org>
1366 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
1369 2000-07-12 Bruno Haible <haible@clisp.cons.org>
1371 * iconv/gconv_open.c (__gconv_open): Initialize
1372 result->__steps[cnt].__data.
1374 2000-07-12 Mark Kettenis <kettenis@gnu.org>
1376 * nss/getent.c (services_keys): Pass port number in network byte
1377 order in call to getservbyport.
1379 2000-07-11 Andreas Jaeger <aj@suse.de>
1381 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
1383 * intl/Makefile (do-gettext-test): Likewise.
1384 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
1386 2000-07-11 Andreas Schwab <schwab@suse.de>
1388 * Makeconfig (run-program-prefix): New rule.
1389 (built-program-cmd): Use run-program-prefix.
1391 2000-07-12 Ulrich Drepper <drepper@redhat.com>
1393 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
1394 and NOEXPR unconditionally available.
1396 2000-07-12 Greg McGary <greg@mcgary.org>
1398 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
1399 * sysdeps/posix/open64.c: Likewise.
1400 * sysdeps/generic/fegetenv.c: Likewise.
1401 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
1402 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1403 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1404 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
1405 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
1406 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
1408 2000-07-11 Greg McGary <greg@mcgary.org>
1410 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
1411 Add extra level of macro expansion.
1412 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
1413 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
1414 is available at the time `select' prototype is declared.
1415 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
1416 Collect non-versioned weak aliases. Consider only non-versioned
1417 aliases for the user-visible systemcall name. Do checks inline with
1418 call to primitive system call.
1419 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
1420 stand-alone bounds checks to suppress unused value warnings.
1421 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1423 2000-07-10 Mark Kettenis <kettenis@gnu.org>
1425 * sysdeps/mach/hurd/check_fds.c: New file. Implements
1426 file descriptor checking in SUID programs for the Hurd.
1428 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
1429 res_hostalias instead of __hostalias for thread-safety.
1431 2000-07-09 Mark Kettenis <kettenis@gnu.org>
1433 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
1434 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
1436 2000-07-10 Ulrich Drepper <drepper@redhat.com>
1438 * include/features.h: Include ISO C99 features if the compiler used
1439 is an ISO C99 compiler.
1440 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1442 2000-07-08 Mark Kettenis <kettenis@gnu.org>
1444 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
1446 2000-07-10 Andreas Jaeger <aj@suse.de>
1448 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
1449 it's overridden by libpthreads.
1450 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1451 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1452 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1453 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1454 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1456 * malloc/Makefile: Run tst-mtrace only with shared libs.
1458 * stdio-common/Makefile: Run unbputc and tst-printf tests only
1461 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1463 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
1464 that gpreg really points to the GOT section of the calling object.
1465 Scan all PT_LOAD segments of objects for stub_pc, instead of only
1466 checking a start address of first one.
1468 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
1471 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
1473 2000-07-10 Andreas Jaeger <aj@suse.de>
1475 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
1476 (string_alias->strong_alias).
1478 2000-07-08 Mark Kettenis <kettenis@gnu.org>
1480 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
1482 2000-07-07 Greg McGary <greg@mcgary.org>
1484 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
1485 have no names without leading underscores.
1487 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1489 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
1492 * stdio-common/Makefile (tests): Remove tst-printf here...
1493 (tests-srcs): ...and add it here.
1494 (distribute): Add tst-unbputc.sh and tst-printf.sh.
1495 Add rules to run tst-printf.sh.
1496 * stdio-common/tst-printf.c: Move code around so that there is really
1497 no further output where it's stated.
1498 * stdio-common/tst-printf.sh: New file.
1500 2000-07-07 Mark Kettenis <kettenis@gnu.org>
1502 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
1503 (do_write): Renamed from pwrite.
1504 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
1505 `struct _IO_cookie_file'.
1507 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1509 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
1511 * malloc/tst-mtrace.sh: Run mtrace script.
1513 2000-07-07 Greg McGary <greg@mcgary.org>
1515 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
1516 Move all three components of a bounded pointer.
1518 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1520 * locale/programs/locale.c (write_locales): Don't simply add all
1521 directories found in the subdir, test whether at least the
1522 LC_CTYPE file is in there.
1524 2000-07-06 Ulrich Drepper <drepper@redhat.com>
1526 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
1527 * iconvdata/euc-kr.c: Likewise.
1529 * stdio-common/vfprintf.c (process_string_arg): Check result of
1530 wcrtomb call and bail out if it failed.
1532 * malloc/Makefile (test-srcs): Add tst-mtrace.
1533 (distribute): Add tst-mtrace.sh.
1534 Add rule to run tst-mtrace.sh.
1535 * malloc/tst-mtrace.c: New file.
1536 * malloc/tst-mtrace.sh: New file.
1538 * include/signal.h: Declare __libc_sigaction.
1539 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
1540 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
1541 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1542 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1543 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1544 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1545 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1547 * configure.in: Fix CFLAGS-memprofstat.c definition after
1549 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
1551 2000-07-06 Jakub Jelinek <jakub@redhat.com>
1553 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
1554 instead of NULL to elf_machine_fixup_plt t argument.
1555 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1556 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
1559 2000-07-06 Andreas Jaeger <aj@suse.de>
1561 * crypt/Makefile (LDLIBS-cert): Removed.
1562 (LDLIBS-md5c-test): Removed.
1563 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
1564 ($(objpfx)md5c-test): Likewise for md5c-test.out.
1566 2000-07-06 Andreas Jaeger <aj@suse.de>
1568 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
1569 of the proc system is "proc".
1571 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
1572 thread library for static programs.
1574 2000-07-06 Greg McGary <greg@mcgary.org>
1576 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
1578 * sysdeps/generic/strcpy.c: Add bounds checks.
1579 * sysdeps/unix/fxstat.c: Likewise.
1580 * sysdeps/unix/xstat.c: Likewise.
1581 * sysdeps/unix/common/lxstat.c: Likewise.
1582 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1583 * sysdeps/unix/sysv/linux/execve.c: Likewise.
1584 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
1585 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1586 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1587 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1588 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1589 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1590 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1591 * sysdeps/unix/sysv/linux/poll.c: Likewise.
1592 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1593 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1594 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
1595 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1596 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1597 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1598 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1599 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1600 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1601 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1602 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1603 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1604 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1605 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
1606 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1607 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
1608 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1609 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
1610 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1611 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1612 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1613 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
1614 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1615 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1616 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1617 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1618 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1619 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
1620 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1621 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1622 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1623 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1624 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1625 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1626 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
1627 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
1628 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1629 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
1630 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
1631 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
1632 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
1633 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
1634 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1635 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1636 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1637 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1638 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
1639 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
1640 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
1641 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
1642 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1643 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
1644 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
1645 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
1647 * string/endian.h (__LONG_LONG_PAIR): New macro.
1648 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
1649 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1650 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1651 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1652 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1653 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1654 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
1655 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1656 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1657 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1658 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1659 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
1661 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
1663 2000-07-06 Andreas Jaeger <aj@suse.de>
1665 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
1668 * math/test-fpucw.c: Include <stdio.h> for printf.
1670 2000-07-05 Greg McGary <greg@mcgary.org>
1672 * sysdeps/generic/bp-checks.h: New file.
1673 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
1674 with list of #include files.
1675 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
1676 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
1677 Don't generate BP thunk if `V' appears in signature.
1678 Generate thunks with complete bounds checks.
1679 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
1680 * sysdeps/unix/inet/syscalls.list: Likewise.
1681 * sysdeps/unix/mman/syscalls.list: Likewise.
1682 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1683 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1684 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1685 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
1687 2000-07-05 Ulrich Drepper <drepper@redhat.com>
1689 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
1690 result. Search first in /etc/mtab (proc/mounts would be stupid).
1691 If mount not in the file fall back on /proc.
1693 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
1694 string got copied in.
1695 Patch by Solar Designer <solar@false.com>.
1697 2000-07-05 Andreas Jaeger <aj@suse.de>
1699 * manual/install.texi (Installation): Update information about
1701 (Configuring and compiling): Update for glibc 2.2.
1703 2000-07-04 Andreas Jaeger <aj@suse.de>
1705 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
1706 (_FPU_IEEE): Likewise.
1708 * math/Makefile (tests): Add test-fpucw.
1710 * math/test-fpucw.c (main): New file.
1712 2000-07-05 Ulrich Drepper <drepper@redhat.com>
1714 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
1716 * locale/programs/ld-collate.c (collate_output): Also write out the
1717 collation sequence values and the wide character string for the
1718 collation symbol table.
1720 * posix/fnmatch.c: Include "../locale/elem-hash.h".
1721 * posix/fnmatch_loop.c: Implement collating symbol handling.
1722 * posix/tst-fnmatch.input: Add more tests, especially for collating
1725 * posix/regex.c: Fix comment.
1727 2000-07-05 Andreas Jaeger <aj@suse.de>
1729 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
1730 (_FPU_GETCW): Remove extra colon.
1731 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
1733 * posix/fnmatch_loop.c (FCT): Only declare len if
1734 !WIDE_CHAR_VERSION to silence GCC.
1736 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
1738 * sysdeps/generic/strchrnul.c: Likewise.
1739 * sysdeps/generic/strlen.c: Likewise.
1740 * sysdeps/generic/strchr.c: Likewise.
1741 * sysdeps/generic/memchr.c: Likewise.
1743 2000-07-04 Ulrich Drepper <drepper@redhat.com>
1745 * posix/fnmatch_loop.c: Implement equivalence class handling.
1746 * posix/tst-fnmatch.input: Add tests for equivalence class
1749 * posix/fnmatch_loop.c: Improve performance for single-byte
1750 character sets by not using btowc.
1752 * posix/tst-fnmatch.input: Add tests for locale dependent
1754 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
1756 * posix/tst-fnmatch.input: Add more test cases.
1758 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
1759 are not aligned to alignof(md5_uint32) do it before calling
1760 __md5_process_bytes.
1761 * crypt/md5.c: Make sure buffers are aligned.
1762 * crypt/md5.h: Likewise.
1763 Reported by Solar Designer <solar@false.com>.
1765 * crypt/Makefile: Add dependencies for test programs.
1767 * Rules: Define LC_ALL=C in environments of all programs we run.
1769 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
1771 2000-07-03 H.J. Lu <hjl@gnu.org>
1773 * locale/programs/ld-ctype.c (ctype_output): The size of iov
1774 is 2 + elem + offset, not 2 + elem + offset + 2.
1776 2000-07-04 Ulrich Drepper <drepper@redhat.com>
1778 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
1780 * posix/Makefile (tests): Add tst-fnmatch.
1781 (tst-fnmatch-ENV): Define.
1782 * posix/tst-fnmatch.c: New file.
1783 * posix/tst-fnmatch.sh: New file.
1785 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
1787 * locale/programs/charmap.c (charmap_read): Prepend
1788 the condition filename == NULL.
1790 2000-07-03 Greg McGary <greg@mcgary.org>
1792 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
1794 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
1795 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
1797 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
1798 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
1799 (FILEBUF_LITERAL): Add cast for CHAIN init.
1800 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
1801 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
1802 Revert type of `fp' to _IO_FILE*.
1803 (_IO_iter_file): Remove cast.
1804 (_IO_iter_next): Elide intermediate member reference.
1806 * sysdeps/powerpc/strchr.S: Check bounds.
1807 Wrap extern symbols in BP_SYM ().
1809 2000-07-03 Andreas Jaeger <aj@suse.de>
1811 * dlfcn/Makefile (generated): New.
1813 2000-07-03 Ulrich Drepper <drepper@redhat.com>
1815 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
1816 (__uflow): Likewise.
1817 (__underflow): Likewise.
1818 * libio/wgenops.c (__wunderflow): Likewise.
1819 * stdio-common/tst-unbputc.c: New file.
1820 * stdio-common/tst-unbputc.sh: New file.
1821 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
1823 * po/en_GB.po: New file.
1824 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
1826 2000-07-01 Andreas Jaeger <aj@suse.de>
1828 * intl/Makefile (generated-dirs): New.
1830 * elf/Makefile (generated): trusted-dirs.h is always generated,
1831 move out of build-shared condition.
1832 (generated): Merge the two entries for build-shared.
1834 2000-07-01 Ulrich Drepper <drepper@redhat.com>
1836 * debug/Makefile (distribute): Add xtrace.sh.
1838 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1840 * version.h (VERSION): Bump to 2.1.91.
1842 * configure.in: Update warning comment. glibc should not be
1845 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
1846 ioperm.c, sys/procfs.h, and sys/io.h.
1848 * sysdeps/powerpc/Dist: Add bp-asm.h.
1850 * assert/Depend: Add localedata.
1851 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
1852 (test-assert-perr-ENV): New. Define LANGUAGE=C.
1854 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
1855 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
1856 relocation address to prevent unaligned trap.
1857 Suggested by Richard Henderson <rth@cygnus.com>.
1859 2000-06-30 Jakub Jelinek <jakub@redhat.com>
1861 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
1862 if redirecting and either redirection is done using defines or
1865 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1867 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
1868 generated expressions.
1869 Patch by Darren McClelland <dmcclell@zetec.com>.
1871 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
1872 since zic uses setlocale and gettext but we cannot make it use the
1873 new locale data since zic calls a shell which might not use the
1876 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
1877 handling the internation currency symbol. POSIX says that the
1878 fourth character is used to separate the currency symbol from the
1879 value. Therefore it does not have to be printed. But we cannot
1880 remove the space if the currency symbol is printed before the
1881 number since this is what many locales expect.
1883 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
1884 whether this information is available.
1886 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
1887 buffers in case the translation is too large. Remember allocated
1888 memory blocks in a list.
1889 (free_mem): Free memory for translations.
1891 * intl/tst-gettext.c: Use correct locale. Improve error messages.
1893 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
1894 information is available set the string length to zero.
1896 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
1898 2000-06-30 Greg McGary <greg@mcgary.org>
1900 * sysdeps/powerpc/bp-asm.h: New file.
1901 * sysdeps/powerpc/__longjmp.S: Check bounds.
1902 Wrap extern symbols in BP_SYM ().
1903 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
1904 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
1905 * sysdeps/powerpc/setjmp.S: Likewise.
1906 * sysdeps/powerpc/add_n.S: Likewise.
1907 * sysdeps/powerpc/addmul_1.S: Likewise.
1908 * sysdeps/powerpc/lshift.S: Likewise.
1909 * sysdeps/powerpc/rshift.S: Likewise.
1910 * sysdeps/powerpc/mul_1.S: Likewise.
1911 * sysdeps/powerpc/sub_n.S: Likewise.
1912 * sysdeps/powerpc/submul_1.S: Likewise.
1913 * sysdeps/powerpc/strlen.S: Likewise.
1914 * sysdeps/powerpc/memset.S: Likewise.
1915 * sysdeps/powerpc/stpcpy.S: Likewise.
1916 * sysdeps/powerpc/strcmp.S: Likewise.
1917 * sysdeps/powerpc/strcpy.S: Likewise.
1918 * sysdeps/powerpc/elf/bzero.S: Likewise.
1920 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
1921 Line up operands column with tabs.
1923 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1925 * elf/Makefile (LDFLAGS-origtest): Actually add it.
1927 * sysdeps/ia64/htonl.S: New file.
1928 * sysdeps/ia64/htons.S: New file.
1929 * sysdeps/ia64/memcpy.S: Replace with version which does not use
1930 floating point registers.
1931 Patches by Dan Pop <Dan.Pop@cern.ch>.
1933 2000-06-30 Andreas Jaeger <aj@suse.de>
1935 * posix/Makefile (tests): tst-exec and tst-spawn only work with
1938 * io/Makefile (CFLAGS-test-lfs.c): New.
1939 (tests): Add test-lfs.
1941 * io/test-lfs.c: New file.
1943 2000-06-30 Jakub Jelinek <jakub@redhat.com>
1945 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
1948 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
1950 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
1952 2000-06-29 Jes Sorensen <jes@linuxcare.com>
1954 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
1955 alias to the fstatfs call.
1957 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
1958 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
1960 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
1961 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
1963 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
1964 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
1965 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
1966 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
1968 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
1969 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
1971 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
1972 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
1974 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
1975 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
1977 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
1979 2000-06-29 Andreas Jaeger <aj@suse.de>
1981 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
1983 (print_err_message): Likewise.
1984 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
1986 2000-06-29 Ulrich Drepper <drepper@redhat.com>
1988 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
1989 used as words is properly aligned.
1991 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
1994 2000-06-29 Greg McGary <greg@mcgary.org>
1996 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
1997 * sysdeps/unix/make-syscalls.sh: Handle signatures of
1998 length 7..9, just in case...
1999 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
2001 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
2002 (POP_ERRNO_LOCATION_RETURN): Fold insns.
2003 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
2004 (PUSH_SIGNAL_MASK): New macro.
2005 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
2006 LEAVE is unnecessary. Check bounds of jmp_buf.
2007 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
2008 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
2009 immediately before tail-call.
2010 * sysdeps/i386/setjmp.S: Likewise.
2011 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2012 * sysdeps/i386/bsd-setjmp.S: Likewise.
2014 2000-06-29 Jakub Jelinek <jakub@redhat.com>
2016 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
2018 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
2019 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
2020 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
2021 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2022 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
2023 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
2024 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
2025 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
2027 2000-06-29 Ulrich Drepper <drepper@redhat.com>
2029 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
2030 we later need to calling free().
2031 Patch by Matt Wilson <msw@redhat.com>.
2033 * stdio-common/tst-printf.c: Add test for above problem.
2035 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
2037 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
2038 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
2040 2000-06-28 Jes Sorensen <jes@linuxcare.com>
2042 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
2043 prototype for abs().
2044 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
2046 2000-06-23 Andreas Jaeger <aj@suse.de>
2048 * config.h.in: Don't use regparm with bounded pointers.
2050 2000-06-29 Ulrich Drepper <drepper@redhat.com>
2052 * stdlib/grouping.h: Correctly handle multibyte thousands
2053 separator and decimal point.
2054 * stdlib/stdtod.c: Likewise.
2055 * sysdeps/generic/strtol.c: Likewise.
2057 * locale/categories.def: Add entries for wide character decimal point
2058 and thousands separator in numeric and monetary category.
2060 2000-06-28 Ulrich Drepper <drepper@redhat.com>
2062 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
2063 second definition and initialization of decimal.
2065 2000-06-28 Greg McGary <greg@mcgary.org>
2067 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
2069 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
2070 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
2072 (_IO_JUMPS): Don't cast THIS--expect arg to be a
2073 (struct _IO_FILE_plus *).
2074 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
2075 THIS, since _IO_JUMPS no longer does it implicitly.
2076 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
2077 arg type as (struct _IO_FILE_plus *).
2078 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
2079 arg as (_IO_strfile *).
2080 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
2081 Declare 1st arg as (_IO_strfile *).
2082 * libio/fileops.c (_IO_new_file_init): Declare
2083 arg type as (struct _IO_FILE_plus *).
2084 * libio/oldfileops.c (_IO_old_file_init): Likewise.
2085 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
2086 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
2087 Declare iteration pointer as (struct _IO_FILE_plus *).
2088 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
2089 (struct _IO_FILE_plus *).
2090 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
2091 * libio/oldstdfiles.c (_IO_list_all): Likewise.
2092 (_IO_check_libio): Set user-visible handles to
2093 (struct _IO_FILE_plus *).
2094 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
2095 to (struct _IO_FILE_plus *).
2097 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
2098 whose high bound includes vtable to all functions that will use
2099 vtable. For streambufs, pass pointer whose bounds include struct
2101 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
2102 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2103 * libio/iofopen.c (_IO_new_fopen): Likewise.
2104 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2105 * libio/iofopen64.c (_IO_fopen64): Likewise.
2106 * libio/iopopen.c (_IO_new_popen): Likewise.
2107 * libio/oldiopopen.c (_IO_old_popen): Likewise.
2108 * libio/memstream.c (open_memstream): Likewise.
2109 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
2110 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
2111 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2112 * libio/iofopncook.c (_IO_cookie_init): Likewise.
2113 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
2114 * libio/vasprintf.c (_IO_vasprintf): Likewise.
2115 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
2116 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
2117 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
2118 * stdlib/strfmon.c (__strfmon_l): Likewise.
2119 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
2120 (vfprintf): Qualify computed-goto targets as unbounded.
2122 2000-06-28 Ulrich Drepper <drepper@redhat.com>
2124 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
2125 thousands separator correctly.
2127 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
2128 * stdio-common/vfwscanf.c: Likewise.
2130 2000-06-27 Jes Sorensen <jes@linuxcare.com>
2132 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
2133 count into signatures for most calls.
2135 2000-06-28 Ulrich Drepper <drepper@redhat.com>
2137 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
2138 the generic parser now.
2140 2000-06-28 Jes Sorensen <jes@linuxcare.com>
2142 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
2143 table entries are 32 bit on the ia64 (as specified by the ABI),
2144 not 64 bit as on the Alpha.
2146 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
2147 change of objects to use 32 bit hash table indices (see above).
2149 2000-06-28 Jes Sorensen <jes@linuxcare.com>
2151 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
2152 prototype for abs().
2154 2000-06-28 Wolfram Gloger <wg@malloc.de>
2156 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
2157 fails, try mmap_chunk() as a last resort even though n_mmaps_max
2158 may have been reached.
2160 2000-06-28 Ulrich Drepper <drepper@redhat.com>
2162 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
2163 symbols in multi-character weights correctly.
2165 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
2166 depending on whether the input string is empty or not.
2168 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
2169 given state and not avoiding this by modifying a local object.
2170 * wcsmbs/wcrtomb.c: Likewise.
2172 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
2173 object since some incomplete characters might be in there.
2175 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
2176 sequences with first byte 0x8e correctly.
2178 * iconvdata/jis0208.h: Remove redundant test.
2180 2000-06-27 Ulrich Drepper <drepper@redhat.com>
2182 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
2183 Add it where it is needed now.
2185 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
2186 the input charset into account when generating the hash table.
2187 (allocate_arrays): Correct setting default width. Not all empty slots
2188 in the table are filled, only those not covert explicitly by the
2189 locale description and in the charset.
2191 * wctype/towctrans.c (__towctrans): Be graceful and accept error
2192 return values from the wctrans function.
2194 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
2195 wide character version.
2196 For %C handling, test correct pointer variable for NULL.
2198 * wcsmbs/wctob.c: Handle WEOF special.
2200 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
2202 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
2203 always-true test to avoid warning.
2205 2000-06-27 Greg McGary <greg@mcgary.org>
2207 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
2208 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
2209 (symbol_version, default_symbol_version): Factor redundant
2210 definitions out of conditional.
2212 2000-06-27 Jakub Jelinek <jakub@redhat.com>
2214 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
2217 2000-06-26 Ulrich Drepper <drepper@redhat.com>
2219 * include/libc-symbols.h (symbol_version): Add extra level of
2221 (default_symbol_version): Likewise.
2223 2000-06-26 Greg McGary <greg@mcgary.org>
2225 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
2226 for BP return value & push implicit struct-return pointer to
2228 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2229 (SYSCALL_ERROR_HANDLER): Likewise.
2230 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
2231 (SYSCALL_ERROR_HANDLER): Likewise.
2233 * Makeconfig: Add missing comment.
2234 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
2235 BP-flavored startup object.
2236 ($(objpfx)b$(start-installed-name)): New rule.
2237 * include/libc-symbols.h (symbol_set_declare): Change type
2238 of `__start_##set' and `__stop_##set' to pointer-to-function.
2239 (symbol_set_declare): Change type of `set' to array of
2240 pointer-to-function.
2241 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
2242 pointer-to-function.
2244 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
2246 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
2247 Remove clock_* and timer_* entries.
2248 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
2249 arg-count with signatures.
2251 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
2252 Check bounds of arguments.
2253 * sysdeps/i386/addmul_1.S: Likewise.
2254 * sysdeps/i386/lshift.S: Likewise.
2255 * sysdeps/i386/mul_1.S: Likewise.
2256 * sysdeps/i386/rshift.S: Likewise.
2257 * sysdeps/i386/sub_n.S: Likewise.
2258 * sysdeps/i386/submul_1.S: Likewise.
2259 * sysdeps/i386/i586/add_n.S: Likewise.
2260 * sysdeps/i386/i586/addmul_1.S: Likewise.
2261 * sysdeps/i386/i586/lshift.S: Likewise.
2262 * sysdeps/i386/i586/rshift.S: Likewise.
2263 * sysdeps/i386/i586/sub_n.S: Likewise.
2264 * sysdeps/i386/i686/add_n.S: Likewise.
2266 * sysdeps/i386/memchr.S: Likewise.
2267 * sysdeps/i386/memcmp.S: Likewise.
2268 * sysdeps/i386/rawmemchr.S: Likewise.
2269 * sysdeps/i386/i586/bzero.S: Likewise.
2270 * sysdeps/i386/i586/memcpy.S: Likewise.
2271 * sysdeps/i386/i586/mempcpy.S: Likewise.
2272 * sysdeps/i386/i586/memset.S: Likewise.
2273 * sysdeps/i386/i686/bzero.S: Likewise.
2274 * sysdeps/i386/i686/memcpy.S: Likewise.
2275 * sysdeps/i386/i686/mempcpy.S: Likewise.
2276 * sysdeps/i386/i686/memset.S: Likewise.
2278 * sysdeps/i386/stpcpy.S: Likewise.
2279 * sysdeps/i386/stpncpy.S: Likewise.
2280 * sysdeps/i386/strchr.S: Likewise.
2281 * sysdeps/i386/strchrnul.S: Likewise.
2282 * sysdeps/i386/strcspn.S: Likewise.
2283 * sysdeps/i386/strpbrk.S: Likewise.
2284 * sysdeps/i386/strrchr.S: Likewise.
2285 * sysdeps/i386/strspn.S: Likewise.
2286 * sysdeps/i386/strtok.S: Likewise.
2287 * sysdeps/i386/strtok_r.S: Likewise.
2288 * sysdeps/i386/i486/strcat.S: Likewise.
2289 * sysdeps/i386/i486/strlen.S: Likewise.
2290 * sysdeps/i386/i586/strchr.S: Likewise.
2291 * sysdeps/i386/i586/strcpy.S: Likewise.
2292 * sysdeps/i386/i586/strlen.S: Likewise.
2293 * sysdeps/i386/i686/strcmp.S: Likewise.
2294 * sysdeps/i386/i686/strtok.S: Likewise.
2295 * sysdeps/i386/i686/strtok_r.S: Likewise.
2297 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
2298 * sysdeps/i386/fpu/fesetenv.c: Likewise.
2299 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
2300 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
2301 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
2303 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
2304 * sysdeps/i386/mul_1.S: Likewise.
2305 * sysdeps/i386/submul_1.S: Likewise.
2306 * sysdeps/i386/i586/add_n.S: Likewise.
2307 * sysdeps/i386/i586/addmul_1.S: Likewise.
2308 * sysdeps/i386/i586/lshift.S: Likewise.
2309 * sysdeps/i386/i586/mul_1.S: Likewise.
2310 * sysdeps/i386/i586/rshift.S: Likewise.
2311 * sysdeps/i386/i586/sub_n.S: Likewise.
2312 * sysdeps/i386/i586/submul_1.S: Likewise.
2314 2000-06-26 Ulrich Drepper <drepper@redhat.com>
2316 * rt/Makefile (librt-routines): Add clock_nanosleep.
2317 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
2318 * sysdeps/generic/clock_nanosleep.c: New file.
2319 * sysdeps/unix/clock_nanosleep.c: New file.
2320 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
2321 * time/time.h: Declare clock_nanosleep.
2323 2000-06-26 Greg McGary <greg@mcgary.org>
2325 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
2326 INSN1, INSN2, TEXT, GLOBL): Remove macros.
2327 (ALIGN): Cleanup surrounding conditionals.
2329 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
2330 Call ENTER/LEAVE macros.
2331 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
2332 * sysdeps/i386/submul_1.S: Likewise.
2334 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
2335 syntax. Define & use symbolic argument stack offsets. Call
2337 * sysdeps/i386/i586/mul_1.S: Likewise.
2338 * sysdeps/i386/i586/submul_1.S: Likewise.
2340 2000-06-25 Greg McGary <greg@mcgary.org>
2342 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
2345 2000-06-25 Ulrich Drepper <drepper@redhat.com>
2347 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
2348 * iconvdata/gen-8bit-gap.sh: Likewise.
2349 * iconvdata/gen-8bit.sh: Likewise.
2351 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
2353 * locale/programs/ld-collate.c (collate_read): Don't actually read
2354 the copy locale if we are ignoring the content.
2356 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
2359 * locale/programs/ld-collate.c: Correct handling of different
2361 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
2362 as extra parameter from which to copy category information.
2364 (load_locale): Likewise.
2365 * locale/programs/localedef.h: Update prototypes of add_to_readlist
2367 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
2368 * locale/programs/locfile.h: Likewise.
2369 * locale/programs/locfile-kw.gperf: Add entry for script.
2370 * locale/programs/locfile-token.h: Add tok_script.
2372 * locale/programs/locale.c: Update copyright year.
2373 * locale/programs/localedef.c: Likewise.
2375 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
2377 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
2378 Jens Moeller <jens.moeller@waii.com>.
2380 2000-06-24 Ulrich Drepper <drepper@redhat.com>
2382 * locale/programs/ld-name.c (name_finish): Add missing format
2383 specifier to test for name_fmt.
2385 * locale/programs/ld-address.c (iso639): Correct length of string
2387 (iso3166): Likewise.
2389 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
2391 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
2394 * elf/elf.h (NT_PRFPXREG): Define.
2396 2000-06-23 Ulrich Drepper <drepper@redhat.com>
2398 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
2399 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
2401 2000-06-23 Andreas Schwab <schwab@suse.de>
2403 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
2406 2000-06-23 Andreas Jaeger <aj@suse.de>
2408 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
2410 * io/test-stat.c: Add copyright header, mention Maciej.
2412 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
2413 SYS_mincore, SYS_madvise): Added.
2415 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
2418 2000-06-22 Ulrich Drepper <drepper@redhat.com>
2420 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
2421 (CFLAGS-tst_putwc.c): New definition.
2422 * libio/tst_getwc.c: New file.
2423 * libio/tst_getwc.input: New file.
2424 * libio/tst_putwc.c: New file.
2426 * include/string.h: Add prototype for __strdup.
2428 2000-06-22 Greg McGary <greg@mcgary.org>
2430 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
2431 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
2434 2000-06-23 Jes Sorensen <jes@linuxcare.com>
2436 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
2438 2000-06-22 Jes Sorensen <jes@linuxcare.com>
2440 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
2442 2000-06-22 Jes Sorensen <jes@linuxcare.com>
2444 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
2445 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
2447 2000-06-22 Ulrich Drepper <drepper@redhat.com>
2449 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
2450 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
2452 * sysdeps/mach/hurd/bits/stat.h: Likewise.
2453 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2454 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
2455 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2456 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
2457 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
2458 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2459 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
2460 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2461 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2462 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
2463 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
2464 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
2465 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
2468 2000-06-22 Andreas Jaeger <aj@suse.de>
2470 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
2473 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
2475 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
2477 2000-06-21 Ulrich Drepper <drepper@redhat.com>
2479 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
2482 2000-06-21 Greg McGary <greg@mcgary.org>
2484 * Makerules (elide-routines.*, elide-bp-thunks):
2485 Define unconditionally.
2487 2000-06-21 Jes Sorensen <jes@linuxcare.com>
2489 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
2491 2000-06-21 Andreas Jaeger <aj@suse.de>
2493 * io/Makefile (tests): Add test-stat.
2494 (CFLAGS-test-stat.c): New.
2496 * io/test-stat.c: New file from Maciej W. Rozycki
2497 <macro@ds2.pg.gda.pl>.
2499 2000-06-21 Jes Sorensen <jes@linuxcare.com>
2501 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
2502 in __rlimit_resource to make them match the kernel order.
2503 rlim_t is always 64 bit, use __rlim64_t to declare it
2506 2000-05-04 Jes Sorensen <jes@linuxcare.com>
2508 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
2509 RLIM_INFINITY before defining it to avoid clash with kernel header
2511 2000-05-03 Jes Sorensen <jes@linuxcare.com>
2513 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
2515 2000-06-21 Ulrich Drepper <drepper@redhat.com>
2517 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
2519 2000-06-21 Andreas Jaeger <aj@suse.de>
2521 * stdio-common/temptest.c: Include <stdlib.h>.
2522 * stdio-common/tst-fileno.c: Likewise.
2523 * stdio-common/scanf4.c: Likewise.
2524 * stdio-common/scanf5.c: Likewise.
2525 * time/clocktest.c: Likewise.
2526 * posix/test-vfork.c: Likewise.
2527 * posix/globtest.c: Likewise.
2528 * io/test-utime.c: Likewise.
2529 * wctype/test_wcfuncs.c: Likewise.
2530 * crypt/cert.c: Likewise.
2532 * stdio-common/tst-printfsz.c: Include <string.h>.
2533 * libio/tst_swscanf.c: Likewise.
2534 * libio/tst_wscanf.c: Likewise.
2535 * posix/runtests.c: Likewise.
2536 * posix/tst-getaddrinfo.c: Likewise.
2537 * posix/wordexp-test.c: Likewise.
2538 * misc/tst-efgcvt.c: Likewise.
2540 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
2541 * nss/test-netdb.c: Likewise.
2543 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
2544 supported kernel for MIPS.
2546 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
2547 * rt/aio_suspend.c: Likewise.
2549 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2551 * math/libm-test.inc: Include <string.h>.
2553 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2555 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
2557 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2559 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
2560 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
2562 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
2564 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
2566 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2568 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
2570 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2572 * locale/programs/ld-collate.c (insert_value): Now take string and
2573 length instead of struct token* parameter. Adjust use of token.
2574 (handle_ellipsis): Likewise.
2575 (collate_read): Allow <Uxxxx> names and transform them into names
2576 to be passed to insert_value and handle_ellipsis.
2578 * locale/programs/ld-ctype.c (uninames): New array with names of
2579 digits in <Uxxxxxxxx> format.
2580 (ctype_finish): Correct search for space character value. Likewise
2581 for default outdigits values.
2583 2000-06-20 Greg McGary <greg@mcgary.org>
2585 * Makerules (objects): Add BP thunks.
2587 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2589 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
2590 in width definitions.
2592 2000-06-20 Andreas Jaeger <aj@suse.de>
2594 * sysdeps/mips/fpu/libm-test-ulps: New file.
2596 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
2599 * sysdeps/mips/fpu/feholdexcpt.c: New file.
2601 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
2603 2000-06-19 Ulrich Drepper <drepper@redhat.com>
2605 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
2606 change in gconv_builtin.h.
2608 * malloc/Makefile: Change all references to memprof into memusage.
2609 * malloc/memprof.c: Rename to...
2610 * malloc/memusage.c: ...this. New file.
2611 * malloc/memprof.sh: Rename to...
2612 * malloc/memusage.sh: ...this. New file.
2613 * malloc/memprofstat.c: Rename to...
2614 * malloc/memusagestat.c: ...this. New file.
2615 * sysdeps/alpha/memprof.h: Rename to..
2616 * sysdeps/alpha/memusage.h: ...this. New file.
2617 * sysdeps/arm/memprof.h: Rename to..
2618 * sysdeps/arm/memusage.h: ...this. New file.
2619 * sysdeps/generic/memprof.h: Rename to..
2620 * sysdeps/generic/memusage.h: ...this. New file.
2621 * sysdeps/i386/memprof.h: Rename to..
2622 * sysdeps/i386/memusage.h: ...this. New file.
2623 * sysdeps/ia64/memprof.h: Rename to..
2624 * sysdeps/ia64/memusage.h: ...this. New file.
2625 * sysdeps/m68k/memprof.h: Rename to..
2626 * sysdeps/m68k/memusage.h: ...this. New file.
2627 * sysdeps/mips/memprof.h: Rename to..
2628 * sysdeps/mips/memusage.h: ...this. New file.
2629 * sysdeps/powerpc/memprof.h: Rename to..
2630 * sysdeps/powerpc/memusage.h: ...this. New file.
2631 * sysdeps/sparc/memprof.h: Rename to..
2632 * sysdeps/sparc/memusage.h: ...this. New file.
2633 * sysdeps/sh/memprof.h: Rename to..
2634 * sysdeps/sh/memusage.h: ...this. New file.
2636 * elf/sprof.c (print_version): Update year.
2638 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
2639 table entry values. Use D_PTR.
2640 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
2641 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
2643 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2645 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
2646 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
2647 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
2648 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
2650 2000-05-05 Jes Sorensen <jes@linuxcare.com>
2652 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
2654 2000-06-16 Jes Sorensen <jes@linuxcare.com>
2656 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
2657 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
2658 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
2660 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
2662 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
2665 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
2666 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
2668 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
2671 2000-06-15 Jes Sorensen <jes@linuxcare.com>
2673 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
2675 2000-06-08 Jes Sorensen <jes@linuxcare.com>
2677 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
2679 2000-06-19 Ulrich Drepper <drepper@redhat.com>
2681 * iconv/gconv_int.h (strict gconv_module): Remove all members
2682 associated with regular expressions. Use a simple string as the
2684 * iconv/gconv_db.c: Remove code handling regular expressions.
2685 * iconv/gconv_conf.c: Likewise.
2686 * iconv/iconv_prog.c: Likewise.
2687 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
2689 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
2690 General namespace cleanup.
2691 (struct __gconv_trans_data): Add next field.
2692 (struct __gconv_step_data): Make __trans a pointer.
2693 * iconv/gconv_conf.c: Split out code to find gconv directories from
2694 __gconv_read_conf in new functions.
2695 * iconv/gconv_int.h: Define new data structure and declare new
2696 functions for handling of gconv directory list.
2697 * iconv/gconv_open.c: Allow more than one error handling step being
2698 used. Call function to load error handling module if it is none
2699 of the builtin transformations.
2700 * iconv/gconv_close.c: Add code to free transliteration data.
2701 * iconv/gconv_trans.c: Add functions to load and unload modules
2702 implementing transliteration etc.
2703 * iconv/skeleton.c: Call all context functions now that more than
2704 one module is allowed.
2705 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
2706 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
2707 where the full error handling using transliteration is needed.
2708 * iconvdata/8bit-gap.c: Likewise.
2709 * iconvdata/8bit-generic.c: Likewise.
2710 * iconvdata/ansi_x3.110.c: Likewise.
2711 * iconvdata/big5.c: Likewise.
2712 * iconvdata/big5hkscs.c: Likewise.
2713 * iconvdata/euc-cn.c: Likewise.
2714 * iconvdata/euc-jp.c: Likewise.
2715 * iconvdata/euc-kr.c: Likewise.
2716 * iconvdata/euc-tw.c: Likewise.
2717 * iconvdata/gbgbk.c: Likewise.
2718 * iconvdata/gbk.c: Likewise.
2719 * iconvdata/iso-2022-cn.c: Likewise.
2720 * iconvdata/iso-2022-jp.c: Likewise.
2721 * iconvdata/iso-2022-kr.c: Likewise.
2722 * iconvdata/iso646.c: Likewise.
2723 * iconvdata/iso8859-1.c: Likewise.
2724 * iconvdata/iso_6937-2.c: Likewise.
2725 * iconvdata/iso_6937.c: Likewise.
2726 * iconvdata/johab.c: Likewise.
2727 * iconvdata/sjis.c: Likewise.
2728 * iconvdata/t.61.c: Likewise.
2729 * iconvdata/uhc.c: Likewise.
2730 * iconvdata/unicode.c: Likewise.
2731 * iconvdata/utf-16.c: Likewise.
2732 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
2733 structure correctly after last change.
2734 * wcsmbs/btowc.c: Likewise.
2735 * wcsmbs/mbrtowc.c: Likewise.
2736 * wcsmbs/mbsnrtowcs.c: Likewise.
2737 * wcsmbs/mbsrtowcs.c: Likewise.
2738 * wcsmbs/wcrtomb.c: Likewise.
2739 * wcsmbs/wcsnrtombs.c: Likewise.
2740 * wcsmbs/wcsrtombs.c: Likewise.
2741 * wcsmbs/wctob.c: Likewise.
2743 * localedata/Makefile: Set -Wno-format for some files since gcc does
2744 not know all the format specifiers.
2746 2000-06-18 Ulrich Drepper <drepper@redhat.com>
2748 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
2750 * locale/lc-time.c (_nl_init_era_entries): Likewise.
2752 2000-06-18 Andreas Jaeger <aj@suse.de>
2754 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
2755 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
2757 2000-06-17 Ulrich Drepper <drepper@redhat.com>
2759 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
2761 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
2763 * locale/programs/ld-ctype.c (ctype_output): Really write out
2764 mboutdigits information.
2765 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
2766 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
2767 * localedata/tests/trans.def: Add outdigit information.
2769 * localedata/tst-mbswcs3.c: Remove comment.
2771 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
2772 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
2773 * libio/tst_wprintf.c (main): Add test for I flag.
2775 * iconv/gconv_trans.c: Implement handling if translit_ignore.
2776 * locale/langinfo.h: Add entries for translit_ignore information.
2777 * locale/categories.def: Add entries for new LC_CTYPE elements.
2778 * locale/C-ctype.c: Add initializers for new fields. Use NULL
2779 pointer instead of "" where possible.
2780 * locale/programs/ld-ctype.c: Write out translit_ignore information.
2781 * intl/Depend: Add localedata.
2782 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
2783 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
2785 2000-06-16 Ulrich Drepper <drepper@redhat.com>
2787 * locale/langinfo.h: Add entries for default_missing information.
2788 * locale/C-ctype.c: Add initializers for new fields.
2789 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
2791 * locale/categories.h: Add entries for all LC_CTYPE values.
2792 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
2795 * localedata/tst-trans.c: Write out an error message if class is
2798 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
2799 * iconv/gconv_open.c: Remove error handling specification from `from'
2801 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
2802 new parameter to always enable transliteration.
2803 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
2805 (struct locale_data): Add new members use_translit and options.
2806 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
2807 character set name contained modifier TRANSLIT.
2808 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
2810 (_nl_unload_locale): Free options string if necessary.
2811 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
2812 the locale names suggested this.
2813 * locale/C-address.c: Add two new initialilzers to adjust data
2814 structure for new format.
2815 * locale/C-collate.c: Likewise.
2816 * locale/C-ctype.c: Likewise.
2817 * locale/C-identification.c: Likewise.
2818 * locale/C-measurement.c: Likewise.
2819 * locale/C-messages.c: Likewise.
2820 * locale/C-monetary.c: Likewise.
2821 * locale/C-name.c: Likewise.
2822 * locale/C-numeric.c: Likewise.
2823 * locale/C-paper.c: Likewise.
2824 * locale/C-telephone.c: Likewise.
2825 * locale/C-time.c: Likewise.
2827 * locale/setlocale.c: Add some more __builtin_expect.
2829 2000-06-15 Ulrich Drepper <drepper@redhat.com>
2831 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
2833 (__gconv_init_fct): Remove two parameters.
2834 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
2835 gconv_transliterate. Remove two parameters.
2836 Change prototypes of builtin functions according to __gconv_fct change.
2837 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
2838 != NULL only during error handling. Stop in this case after the
2840 * iconv/gconv_trans.c: Replace with real implementation for
2841 __gconv_transliterate.
2842 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
2843 * iconv/gconv.c: Change calls to downstream functions once again.
2844 Use NULL for the fifth parameter instead of pointer to output buffer.
2845 * libio/iofwide.c: Likewise.
2846 * wcsmbs/btowc.c: Likewise.
2847 * wcsmbs/mbrtowc.c: Likewise.
2848 * wcsmbs/mbsnrtowcs.c: Likewise.
2849 * wcsmbs/mbsrtowcs.c: Likewise.
2850 * wcsmbs/wcrtomb.c: Likewise.
2851 * wcsmbs/wcsnrtombs.c: Likewise.
2852 * wcsmbs/wcsrtombs.c: Likewise.
2853 * wcsmbs/wctob.c: Likewise.
2854 * iconv/gconv_simple.c: Remove two parameters from error handling
2856 * iconvdata/8bit-gap.c: Likewise.
2857 * iconvdata/8bit-generic.c: Likewise.
2858 * iconvdata/ansi_x3.110.c: Likewise.
2859 * iconvdata/big5.c: Likewise.
2860 * iconvdata/big5hkscs.c: Likewise.
2861 * iconvdata/euc-cn.c: Likewise.
2862 * iconvdata/euc-jp.c: Likewise.
2863 * iconvdata/euc-kr.c: Likewise.
2864 * iconvdata/euc-tw.c: Likewise.
2865 * iconvdata/gbgbk.c: Likewise.
2866 * iconvdata/gbk.c: Likewise.
2867 * iconvdata/iso-2022-cn.c: Likewise.
2868 * iconvdata/iso-2022-jp.c: Likewise.
2869 * iconvdata/iso-2022-kr.c: Likewise.
2870 * iconvdata/iso646.c: Likewise.
2871 * iconvdata/iso8859-1.c: Likewise.
2872 * iconvdata/iso_6937-2.c: Likewise.
2873 * iconvdata/iso_6937.c: Likewise.
2874 * iconvdata/johab.c: Likewise.
2875 * iconvdata/sjis.c: Likewise.
2876 * iconvdata/t.61.c: Likewise.
2877 * iconvdata/uhc.c: Likewise.
2878 * iconvdata/unicode.c: Likewise.
2879 * iconvdata/utf-16.c: Likewise.
2881 2000-06-15 Greg McGary <greg@mcgary.org>
2883 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
2884 of callnum assignment. Tolerate callnum expressions containing
2887 2000-06-14 Ulrich Drepper <drepper@redhat.com>
2889 * login/Makefile (utmpd): Remove rule to build utmpd.
2891 * csu/Versions: Move libgcc frame handling functions from here...
2892 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
2893 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
2894 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
2895 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
2896 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
2897 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
2899 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
2901 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
2903 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
2905 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
2907 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
2909 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
2910 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
2911 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
2912 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
2914 2000-06-14 Jakub Jelinek <jakub@redhat.com>
2916 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
2917 defined, terminate quotes and read them after the comment char.
2918 * configure.in (HAVE_SECTION_QUOTES): Test whether
2919 __attribute__((section ("x"))) puts quotes around x or not.
2920 * config.h.in (HAVE_SECTION_QUOTES): Add.
2921 * configure: Rebuilt.
2923 2000-06-14 Andreas Jaeger <aj@suse.de>
2925 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
2926 depending on the configure option --sysconfdir.
2927 Closes PR libc/1762.
2928 Patch by Andreas Schwab <schwab@suse.de>.
2930 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
2932 Reported by Jim Pick <jim@jimpick.com>.
2934 2000-06-14 Ulrich Drepper <drepper@redhat.com>
2936 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
2937 crashing the application. Emit some simple error message.
2938 Reported by mju@panasas.com [PR libc/1769].
2940 2000-06-13 Ulrich Drepper <drepper@redhat.com>
2942 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
2944 * crypt/Makefile (distribute): Add md5.h.
2946 * Makefile (distribute): Add include/shlib-compat.h.
2948 * Make-dist: Search for tests also in sysdeps hierachy.
2950 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
2951 ufc.c, speeds.c, README.ufc-crypt, and Banner.
2953 * sysdeps/sparc/Subdirs: New file.
2955 * locale/Makefile (distribute): Add weightwc.h and
2956 programs/localedef.h.
2958 * time/Makefile (distribute): Add datemsk.
2960 * sysdeps/ia64/Dist: Add softpipe.h.
2962 * sysdeps/unix/sysv/aix/Dist: New file.
2964 * posix/setpgrp.c: Moved to...
2965 * sysdeps/generic/setpgrp.c: ...here. New file.
2966 * io/mknod.c: Moved to...
2967 * sysdeps/generic/mknod.c: ...here. New file.
2969 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
2971 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
2973 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
2975 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
2976 gprsave0.S, gprrest1.S, and gprrest0.S.
2978 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
2980 * posix/Makefile (routines): Add spawnattr_getsigmask,
2981 spawnattr_getschedpolicy, spawnattr_getschedparam,
2982 spawnattr_setsigmask, spawnattr_setschedpolicy, and
2983 spawnattr_setschedparam.
2984 * posix/Versions: Add posix_spawnattr_getschedpolicy,
2985 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
2986 posix_spawnattr_setschedparam.
2988 * posix/spawnattr_setschedparam.c: Fix typo.
2990 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
2993 * login/programs/utmpd.c: Removed.
2994 * login/programs/utmpd.h: Removed.
2995 * login/programs/utmpd-private.h: Removed.
2997 * Makefile (distribute): Add include/db_185.h and include/db.h.
2999 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
3002 * elf/Makefile (distribute): Add missing files.
3004 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
3005 * elf/eval.c: Moved to...
3006 * dlfcn/eval.c: ...here. New file.
3008 * Makefile (distribute): Also distribute ChangeLog.1?.
3010 * Make-dist (+tsrcs): Remove .args handling here as well.
3012 * rt/Makefile (tests): Add tst-timer.
3013 * sysdeps/generic/tst-timer.c: New file.
3015 * Makerules (sources): Don't add BP sources here.
3017 * login/Makefile (distribute): Remove xtmp.h.
3019 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
3020 is true. Reported by Bruno Haible <haible@ilog.fr>.
3022 2000-06-13 Andreas Jaeger <aj@suse.de>
3024 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
3025 Patch by Ralf Baechle <ralf@gnu.org>.
3027 2000-06-13 Ulrich Drepper <drepper@redhat.com>
3029 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
3030 for mincore syscall.
3032 * misc/sys/cdefs.h: Define __bounded and __unbounded if
3033 __BOUNDED_POINTERS__ is not defined.
3035 2000-06-07 Greg McGary <greg@mcgary.org>
3037 * sysdeps/generic/bp-sym.h: New file.
3038 * sysdeps/generic/bp-start.h: New file.
3039 * sysdeps/i386/elf/start.S: Designate BP symbols.
3040 * sysdeps/generic/libc-start.c: Wrap bounds around
3041 argv & envp and each of their string members.
3043 2000-06-07 Greg McGary <greg@mcgary.org>
3045 * sysdeps/unix/make-syscalls.sh: Add comments to
3046 output that aid debugging & comprehension.
3047 Map simple syscall signatures to number of args.
3048 Generate BP syscall thunk definitions.
3049 * sysdeps/generic/bp-thunks.h: New file.
3050 * sysdeps/unix/syscalls.list: Replace arg-count with
3051 simple return+arg signature.
3052 * sysdeps/unix/common/syscalls.list: Likewise.
3053 * sysdeps/unix/inet/syscalls.list: Likewise.
3054 * sysdeps/unix/mman/syscalls.list: Likewise.
3055 * sysdeps/unix/sysv/syscalls.list: Likewise.
3056 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3057 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3059 2000-06-07 Greg McGary <greg@mcgary.org>
3061 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
3062 for all files *.[cS].
3063 (CFLAGS-.ob): Don't optimize sibling calls.
3064 (bppfx): New variable.
3065 * Makerules (elide-bp-thunks): New variable.
3066 (elide-routines.*): Elide BP-* files for all but *.ob.
3067 (sources): Include bp-thunks.
3069 2000-06-12 Ulrich Drepper <drepper@redhat.com>
3071 * iconv/gconv_simple.c: Remove unnecessary prototype.
3073 * iconv/gconv_trans.c: Pretty print.
3075 * elf/elf.h (R_SH_NUM): Got accidently dropped.
3077 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
3078 minimal kernel versions. Add information about IA-64 kernel.
3080 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
3081 specific minimal supported kernel versions to be specified.
3083 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
3084 step data structure.
3085 * wcsmbs/btowc.c: Likewise.
3086 * wcsmbs/mbrtowc.c: Likewise.
3087 * wcsmbs/mbsnrtowcs.c: Likewise.
3088 * wcsmbs/mbsrtowcs.c: Likewise.
3089 * wcsmbs/wcrtomb.c: Likewise.
3090 * wcsmbs/wcsnrtombs.c: Likewise.
3091 * wcsmbs/wcsrtombs.c: Likewise.
3092 * wcsmbs/wctob.c: Likewise.
3094 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
3095 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
3097 * shlib-versions: Earliest backward compatible version for SH is 2.2.
3099 * misc/sys/cdefs.h: Remove one more __P.
3101 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
3104 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
3105 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
3106 * sysdeps/sh/bits/setjmp.h: ...here. New file.
3108 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
3109 Yutaka Niibe <gniibe@chroot.org>
3111 * configure.in: Add machine sh3, sh4.
3112 * elf/elf.h: Add SH specific declarations of relocations.
3113 * shlib-versions: Add sh*-*-linux* cases.
3115 2000-06-12 Ulrich Drepper <drepper@redhat.com>
3117 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
3118 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
3119 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
3120 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
3121 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
3122 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
3124 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
3125 instead of KERNEL_MATH_EMULATION.
3126 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
3127 KERNEL_MATH_EMULATION.
3129 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
3130 * sysdeps/sh/sh3/dl-machine.h: Moved to...
3131 * sysdeps/sh/dl-machine.h: ...here. New file.
3132 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
3133 and include generic SH version.
3134 * sysdeps/sh/sh3/bits/endian.h: Move to...
3135 * sysdeps/sh/bits/endian.h: ...here. New file.
3136 * sysdeps/sh/sh4/bits/endian.h: Removed.
3137 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
3138 * sysdeps/sh/bits/huge_val.h: ...here. New file.
3139 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
3141 * include/libc-symbols.h (link_warning): Work around a change in
3142 GAS which warns about changing section attributes.
3143 Proposed by Nick Clifton <nickc@redhat.com>.
3145 2000-06-12 H.J. Lu <hjl@gnu.org>
3147 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
3149 2000-06-11 H.J. Lu <hjl@gnu.org>
3151 * sysdeps/i386/fpu/Versions: New file.
3153 2000-06-12 Ulrich Drepper <drepper@redhat.com>
3155 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
3157 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
3160 2000-06-12 Jes Sorensen <jes@linuxcare.com>
3162 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
3163 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
3164 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
3166 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
3167 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
3168 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
3170 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
3171 Yutaka Niibe <gniibe@chroot.org>
3173 * sysdeps/sh/Dist: New file.
3174 * sysdeps/sh/Implies: New file.
3175 * sysdeps/sh/elf/initfini.c: New file.
3176 * sysdeps/sh/gmp-mparam.h: New file.
3177 * sysdeps/sh/init-first.c: New file.
3178 * sysdeps/sh/machine-gmon.h: New file.
3179 * sysdeps/sh/memcpy.S: New file.
3180 * sysdeps/sh/memprof.h: New file.
3181 * sysdeps/sh/memset.S: New file.
3182 * sysdeps/sh/sh3/__longjmp.S: New file.
3183 * sysdeps/sh/sh3/bits/endian.h: New file.
3184 * sysdeps/sh/sh3/bits/huge_val.h: New file.
3185 * sysdeps/sh/sh3/bits/setjmp.h: New file.
3186 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
3187 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
3188 * sysdeps/sh/sh3/dl-machine.h: New file.
3189 * sysdeps/sh/sh3/setjmp.S: New file.
3190 * sysdeps/sh/sh4/__longjmp.S: New file.
3191 * sysdeps/sh/sh4/bits/endian.h: New file.
3192 * sysdeps/sh/sh4/bits/huge_val.h: New file.
3193 * sysdeps/sh/sh4/bits/setjmp.h: New file.
3194 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
3195 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
3196 * sysdeps/sh/sh4/dl-machine.h: New file.
3197 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
3198 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
3199 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
3200 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
3201 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
3202 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
3203 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
3204 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
3205 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
3206 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
3207 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
3208 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
3209 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
3210 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
3211 * sysdeps/sh/sh4/setjmp.S: New file.
3212 * sysdeps/sh/elf/start.S: New file.
3213 * sysdeps/sh/sys/ucontext.h: New file.
3214 * sysdeps/sh/strlen.S: New file.
3215 * sysdeps/sh/sysdep.h: New file.
3216 * sysdeps/unix/sh/sysdep.S: New file.
3217 * sysdeps/unix/sh/sysdep.h: New file.
3218 * sysdeps/unix/sysv/linux/sh/Dist: New file.
3219 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
3220 * sysdeps/unix/sysv/linux/sh/Versions: New file.
3221 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
3222 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
3223 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
3224 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
3225 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
3226 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
3227 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
3228 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
3229 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
3230 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
3231 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
3232 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
3233 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
3234 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
3235 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
3236 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
3237 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
3238 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
3239 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
3240 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
3241 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
3242 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
3243 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
3244 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
3245 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
3246 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
3247 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
3248 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
3249 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
3250 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
3251 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
3252 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
3253 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
3254 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
3255 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
3256 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
3257 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
3258 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
3259 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
3260 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
3261 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
3262 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
3263 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
3264 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
3265 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
3266 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
3267 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
3269 2000-06-12 Ulrich Drepper <drepper@redhat.com>
3271 * Rules (%.out): Define GCONV_PATH in the environment.
3272 * assert/Depend: New file.
3273 * iconvdata/Depend: New file.
3274 * intl/Depend: New file.
3275 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
3276 * intl/tst-gettext.sh: Likewise.
3277 * iconv/Makefile (routines): Add gconv_trans.
3278 * iconv/gconv_trans.c: New file.
3279 * iconv/gconv.h (struct __gconv_trans_data): New type.
3280 (__gconv_fct): New parameter with starting position in output buffer.
3281 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
3282 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
3283 (struct __gconv_step): Add new member __trans.
3284 * iconv/gconv_int.h: Pretty print prototypes.
3285 (gconv_transliterate): New prototype.
3286 (__BUILTIN_TRANS): Update for new conversion function interface.
3287 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
3288 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
3289 in names, find appropriate function, and install in the conversion
3290 steps it can be used.
3291 * iconv/skeleton.c: Add additional parameter for beginning of output
3292 buffer. Change calls of downstream functions.
3293 * iconv/loop.c: Change loop function interface completely. Pass in
3294 step and step_data structure. Remove optimization for BODY with
3295 NEED_LENGTH_TEST == 0.
3296 * iconv/gconv_simple.c: Update interfaces of functions. Insert
3297 appropriate error handling code to use transliteration steps. Remove
3298 optimization for BODY with NEED_LENGTH_TEST == 0.
3299 * iconvdata/8bit-gap.c: Likewise.
3300 * iconvdata/8bit-generic.c: Likewise.
3301 * iconvdata/ansi_x3.110.c: Likewise.
3302 * iconvdata/big5.c: Likewise.
3303 * iconvdata/big5hkscs.c: Likewise.
3304 * iconvdata/euc-cn.c: Likewise.
3305 * iconvdata/euc-jp.c: Likewise.
3306 * iconvdata/euc-kr.c: Likewise.
3307 * iconvdata/euc-tw.c: Likewise.
3308 * iconvdata/gbgbk.c: Likewise.
3309 * iconvdata/gbk.c: Likewise.
3310 * iconvdata/iso-2022-cn.c: Likewise.
3311 * iconvdata/iso-2022-jp.c: Likewise.
3312 * iconvdata/iso-2022-kr.c: Likewise.
3313 * iconvdata/iso646.c: Likewise.
3314 * iconvdata/iso8859-1.c: Likewise.
3315 * iconvdata/iso_6937-2.c: Likewise.
3316 * iconvdata/iso_6937.c: Likewise.
3317 * iconvdata/johab.c: Likewise.
3318 * iconvdata/sjis.c: Likewise.
3319 * iconvdata/t.61.c: Likewise.
3320 * iconvdata/uhc.c: Likewise.
3321 * iconvdata/unicode.c: Likewise.
3322 * iconvdata/utf-16.c: Likewise.
3323 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
3325 * wcsmbs/btowc.c: Likewise.
3326 * wcsmbs/mbrtowc.c: Likewise.
3327 * wcsmbs/mbsnrtowcs.c: Likewise.
3328 * wcsmbs/mbsrtowcs.c: Likewise.
3329 * wcsmbs/wcrtomb.c: Likewise.
3330 * wcsmbs/wcsnrtombs.c: Likewise.
3331 * wcsmbs/wcsrtombs.c: Likewise.
3332 * wcsmbs/wctob.c: Likewise.
3334 2000-04-11 Geoff Keating <geoffk@cygnus.com>
3336 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
3337 other header files. Mention about 128-byte cache line sizes.
3338 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
3339 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
3340 for current calling sequence.
3341 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
3343 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
3344 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3346 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
3347 and setrlimit syscalls for backwards compatibility.
3349 2000-06-10 Ulrich Drepper <drepper@redhat.com>
3351 * iconv/skeleton.c: Rename converted written to correcter name
3353 * iconv/gconv.c: Rename converted variable to correcter name
3355 * iconv/gconv_int.h: Likewise.
3356 * iconv/gconv_simple.c: Likewise.
3357 * iconv/iconv.c: Likewise.
3358 * iconv/loop.c: Likewise.
3359 * iconvdata/8bit-gap.c: Likewise.
3360 * iconvdata/8bit-generic.c: Likewise.
3361 * iconvdata/ansi_x3.110.c: Likewise.
3362 * iconvdata/big5.c: Likewise.
3363 * iconvdata/big5hkscs.c: Likewise.
3364 * iconvdata/euc-cn.c: Likewise.
3365 * iconvdata/euc-jp.c: Likewise.
3366 * iconvdata/euc-kr.c: Likewise.
3367 * iconvdata/gbgbk.c: Likewise.
3368 * iconvdata/gbk.c: Likewise.
3369 * iconvdata/iso-2022-cn.c: Likewise.
3370 * iconvdata/iso-2022-jp.c: Likewise.
3371 * iconvdata/iso-2022-kr.c: Likewise.
3372 * iconvdata/iso646.c: Likewise.
3373 * iconvdata/iso8859-1.c: Likewise.
3374 * iconvdata/iso_6937-2.c: Likewise.
3375 * iconvdata/iso_6937.c: Likewise.
3376 * iconvdata/johab.c: Likewise.
3377 * iconvdata/sjis.c: Likewise.
3378 * iconvdata/t.61.c: Likewise.
3379 * iconvdata/uhc.c: Likewise.
3380 * iconvdata/unicode.c: Likewise.
3381 * iconvdata/utf-16.c: Likewise.
3383 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
3384 __cmsg_data field with __extension__.
3386 2000-06-10 David Mosberger <davidm@hpl.hp.com>
3388 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
3390 2000-06-10 Ulrich Drepper <drepper@redhat.com>
3392 * iconv/gconv_simple.c: Fix various small bugs in several
3395 * iconv/loop.c: Fix comment.
3397 2000-06-10 Jakub Jelinek <jakub@redhat.com>
3399 * elf/link.h: Remove libc internal declarations.
3400 * include/link.h: Move them here.
3402 2000-06-09 Ulrich Drepper <drepper@redhat.com>
3404 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
3405 Patch by Dan Pop <Dan.Pop@cern.ch>.
3407 Rewrite error message handling.
3408 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
3410 * elf/dl-error (struct catch): Add objname member.
3411 (_dl_signal_error): Take new parameter with object name. When
3412 passing message on simply store object name and duplicate error
3414 (_dl_catch_error): Take new parameter. Store object name in the
3416 * include/dlfcn.h: Adjust _dl_catch_error prototype.
3417 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
3418 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
3419 (dlerror): Add objname to asprintf() parameters.
3420 (_dl_error_run): Pass new parameter to _dl_catch_error.
3421 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
3422 * elf/dl-open.c (_dl_open): Likewise.
3423 * elf/rtld.c (dl_main): Likewise.
3424 * elf/dl-close.c: Mark error messages with N_().
3425 * elf/dl-deps.c: Likewise.
3426 * elf/dl-error.c: Likewise.
3427 * elf/dl-load.c: Likewise.
3428 * elf/dl-open.c: Likewise.
3429 * elf/dl-reloc.c: Likewise.
3430 * elf/dl-support.c: Likewise.
3431 * elf/dl-sym.c: Likewise.
3432 * elf/dl-version.c: Likewise.
3433 * elf/dl-lookup.c: Add comments about problems with error message
3435 * elf/dl-reloc.c: Likewise.
3436 * elf/dl-version.c: Likewise.
3438 2000-06-09 H.J. Lu <hjl@gnu.org>
3440 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
3443 * dlfcn/Makefile (distribute): Add failtestmod.c.
3444 (tests): Add failtest.
3445 Add rules to build and run failtest.
3446 * dlfcn/failtest.c: New file.
3447 * dlfcn/failtestmod.c: New file.
3449 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
3451 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
3452 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
3453 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
3454 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
3455 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
3457 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3459 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
3460 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
3462 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3463 Ulrich Drepper <drepper@redhat.com>
3465 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
3466 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
3467 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
3468 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
3469 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
3470 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
3472 2000-06-09 Ulrich Drepper <drepper@redhat.com>
3474 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
3475 to find correct mount point despite wrong information from the
3478 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3480 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
3481 the address of a symbol so function pointers are handled properly.
3483 2000-06-08 Ulrich Drepper <drepper@redhat.com>
3485 * sysdeps/i386/Dist: Add bp-asm.h.
3487 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
3488 defaultdir variable instead of "/var/shm" everywhere.
3489 (defaultdir): Change to /dev/shm/.
3491 2000-06-08 Greg McGary <greg@mcgary.org>
3493 * sysdeps/i386/bp-asm.h: New file.
3494 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
3495 offsets. Add ENTER/LEAVE macros for optionally maintaining
3496 frame-pointer chain when debugging.
3497 * sysdeps/i386/add_n.S: Likewise.
3498 * sysdeps/i386/addmul_1.S: Likewise.
3499 * sysdeps/i386/lshift.S: Likewise.
3500 * sysdeps/i386/memchr.S: Likewise.
3501 * sysdeps/i386/memcmp.S: Likewise.
3502 * sysdeps/i386/mul_1.S: Likewise.
3503 * sysdeps/i386/rawmemchr.S: Likewise.
3504 * sysdeps/i386/rshift.S: Likewise.
3505 * sysdeps/i386/stpcpy.S: Likewise.
3506 * sysdeps/i386/stpncpy.S: Likewise.
3507 * sysdeps/i386/strchr.S: Likewise.
3508 * sysdeps/i386/strchrnul.S: Likewise.
3509 * sysdeps/i386/strcspn.S: Likewise.
3510 * sysdeps/i386/strpbrk.S: Likewise.
3511 * sysdeps/i386/strrchr.S: Likewise.
3512 * sysdeps/i386/strspn.S: Likewise.
3513 * sysdeps/i386/strtok.S: Likewise.
3514 * sysdeps/i386/sub_n.S: Likewise.
3515 * sysdeps/i386/submul_1.S: Likewise.
3516 * sysdeps/i386/elf/setjmp.S: Likewise.
3517 * sysdeps/i386/i486/strcat.S: Likewise.
3518 * sysdeps/i386/i486/strlen.S: Likewise.
3519 * sysdeps/i386/i586/add_n.S: Likewise.
3520 * sysdeps/i386/i586/lshift.S: Likewise.
3521 * sysdeps/i386/i586/memcpy.S: Likewise.
3522 * sysdeps/i386/i586/memset.S: Likewise.
3523 * sysdeps/i386/i586/rshift.S: Likewise.
3524 * sysdeps/i386/i586/strchr.S: Likewise.
3525 * sysdeps/i386/i586/strcpy.S: Likewise.
3526 * sysdeps/i386/i586/strlen.S: Likewise.
3527 * sysdeps/i386/i586/sub_n.S: Likewise.
3528 * sysdeps/i386/i686/add_n.S: Likewise.
3529 * sysdeps/i386/i686/memcpy.S: Likewise.
3530 * sysdeps/i386/i686/mempcpy.S: Likewise.
3531 * sysdeps/i386/i686/memset.S: Likewise.
3532 * sysdeps/i386/i686/strcmp.S: Likewise.
3534 2000-06-08 Ulrich Drepper <drepper@redhat.com>
3536 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
3538 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
3539 256 and don't use OPEN_MAX.
3541 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
3542 use it instead of LINK_MAX.
3543 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
3545 2000-06-08 Andreas Jaeger <aj@suse.de>
3547 * libio/genops.c (_IO_list_lock): Only compile body if we're
3549 (_IO_list_unlock): Likewise.
3550 (_IO_list_resetlock): Likewise.
3552 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3554 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
3555 unless user defined it.
3557 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
3558 if not defined by the user.
3560 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
3561 * libio/iofwrite.c (_IO_fwrite): Likewise.
3563 * time/time.h: Add missing __THROW for clock_getcpuclockid
3566 * elf/Makefile (distribute): Add dl-dtprocnum.h.
3567 * include/elf.h: Include also <dl-dtprocnum.h>.
3568 * elf/dl-deps.c: Likewise.
3569 * elf/dl-lookup.c: Likewise.
3570 * elf/dl-runtime.c: Likewise.
3571 * elf/dl-version.c: Likewise.
3572 * elf/do-rel.h: Likewise.
3573 * elf/dynamic-link.h: Likewise.
3574 * elf/link.h: Likewise.
3575 * elf/rtld.c: Likewise.
3576 * sysdeps/generic/dl-dtprocnum.h: New file.
3577 * sysdeps/ia64/dl-dtprocnum.h: New file.
3578 * sysdeps/mips/dl-dtprocnum.h: New file.
3579 * sysdeps/sparc/dl-dtprocnum.h: New file.
3581 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
3583 * elf/do-lookup.h: Add some __builtin_expect.
3585 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
3587 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
3588 (_dl_dynamic_weak): New variable.
3589 * elf/dl-support.c: Likewise.
3590 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
3591 * elf/do-lookup.h: If we find a weak definition treat it like a
3592 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
3593 case treat it like before.
3595 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
3597 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
3599 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
3600 using l_map_start and l_map_end.
3602 * elf/dl-version.c: Add __builtin_expect in many places.
3604 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
3607 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
3609 Lock for stdio stream list becomes global, for use in LinuxThreads.
3611 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
3612 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
3613 _IO_list_resetlock): New interface for iterating global list of
3614 streams without accessing the _IO_list_all global variable,
3615 and for manipulating the lock which protects this list.
3616 * libio/libioP.h: Likewise.
3617 * libio/Version: Add entries for the new functions.
3619 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
3620 pointer to _IO_FILE.
3622 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3624 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
3625 BIT() must actually be BITw().
3627 * locale/programs/ld-ctype.c: Handle SP and space consistently.
3629 * locale/programs/charmap.c: Allow string arguments for
3630 code_set_name and repertoiremap.
3632 2000-06-07 Andreas Jaeger <aj@suse.de>
3634 * elf/Makefile: Build ldconfig only when building shared libraries.
3636 2000-06-07 Jakub Jelinek <jakub@redhat.com>
3638 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
3640 (fdimf, __fdim, fdim): Likewise.
3642 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3644 * locale/findlocale.c: Add __builtin_expect in many places.
3645 * locale/loadlocale.c: Likewise.
3647 2000-06-06 Greg McGary <greg@mcgary.org>
3649 * sysdeps/mips/elf/start.S: Trim redundant code.
3651 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
3652 Use C comments throughout. Line up operands column with tabs.
3653 * sysdeps/powerpc/strchr.S: Likewise.
3654 * sysdeps/powerpc/strcmp.S: Likewise.
3655 * sysdeps/powerpc/strcpy.S: Likewise.
3656 * sysdeps/powerpc/strlen.S: Likewise.
3658 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
3659 Get low part of &__curbrk with @l.
3661 2000-06-06 Ulrich Drepper <drepper@redhat.com>
3663 * iconvdata/utf-16.c: Add __builtin_expect in many places.
3664 * iconvdata/unicode.c: Likewise.
3665 * iconvdata/uhc.c: Likewise.
3666 * iconvdata/t.61.c: Likewise.
3667 * iconvdata/sjis.c: Likewise.
3668 * iconvdata/johab.c: Likewise.
3669 * iconvdata/iso_6937.c: Likewise.
3670 * iconvdata/iso_6937-2.c: Likewise.
3671 * iconvdata/iso8859-1.c: Likewise.
3672 * iconvdata/iso646.c: Likewise.
3673 * iconvdata/iso-2022-kr.c: Likewise.
3674 * iconvdata/iso-2022-jp.c: Likewise.
3675 * iconvdata/iso-2022-cn.c: Likewise.
3676 * iconvdata/gbgbk.c: Likewise.
3677 * iconvdata/gbk.c: Likewise.
3678 * iconvdata/euc-kr.c: Likewise.
3679 * iconvdata/euc-jp.c: Likewise.
3680 * iconvdata/euc-cn.c: Likewise.
3682 2000-06-05 Ulrich Drepper <drepper@redhat.com>
3684 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
3685 * iconvdata/big5.c: Likewise.
3686 * iconvdata/ansi_x3.110.c: Likewise.
3687 * iconvdata/8bit-generic.c: Likewise.
3688 * iconvdata/8bit-gap.c: Likewise.
3689 * iconv/loop.c: Likewise.
3690 * iconv/gconv_db.c: Likewise.
3691 * iconv/gconv_dl.c: Likewise.
3692 * iconv/gconv_simple.c: Likewise.
3693 * iconv/skeleton.c: Likewise.
3695 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
3696 (struct __gconv_step_data): Rename __is_last to __flags.
3697 * iconv/gconv_close.c: Change all uses of __is_last.
3698 * iconv/skeleton.c: Likewise.
3699 * iconvdata/iso-2022-cn.c: Likewise.
3700 * iconvdata/iso-2022-jp.c: Likewise.
3701 * iconvdata/iso-2022-kr.c: Likewise.
3702 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
3703 Recognize IGNORE error handling, set flag, and remove from name.
3704 * iconv/loop.c (ignore_errors_p): Define.
3705 Add flags parameter to both functions.
3706 * iconv/skeleton.c: Pass flags to all conversion functions.
3707 * iconv/gconv_simple.c: Add flags parameter to all functions.
3708 Don't return error for invald error if ignore flag is set.
3709 (ucs4_internal_loop_single): Add missing pointer increment.
3710 (internal_ucs4le_loop_single): Likewise.
3711 * iconv/iconv_prog.c: Implement handling of -c parameter.
3712 * iconvdata/8bit-gap.c: Don't return error for invald error if
3714 * iconvdata/8bit-generic.c: Likewise.
3715 * iconvdata/ansi_x3.110.c: Likewise.
3716 * iconvdata/big5.c: Likewise.
3717 * iconvdata/big5hkscs.c: Likewise.
3718 * iconvdata/euc-cn.c: Likewise.
3719 * iconvdata/euc-jp.c: Likewise.
3720 * iconvdata/euc-kr.c: Likewise.
3721 * iconvdata/gbgbk.c: Likewise.
3722 * iconvdata/gbk.c: Likewise.
3723 * iconvdata/iso-2022-cn.c: Likewise.
3724 * iconvdata/iso-2022-jp.c: Likewise.
3725 * iconvdata/iso-2022-kr.c: Likewise.
3726 * iconvdata/iso646.c: Likewise.
3727 * iconvdata/iso8859-1.c: Likewise.
3728 * iconvdata/iso_6937-2.c: Likewise.
3729 * iconvdata/iso_6937.c: Likewise.
3730 * iconvdata/johab.c: Likewise.
3731 * iconvdata/sjis.c: Likewise.
3732 * iconvdata/t.61.c: Likewise.
3733 * iconvdata/uhc.c: Likewise.
3734 * iconvdata/unicode.c: Likewise.
3735 * iconvdata/utf-16.c: Likewise.
3736 * libio/fileops.c: Likewise.
3737 * libio/iofwide.c: Likewise.
3738 * wcsmbs/btowc.c: Likewise.
3739 * wcsmbs/mbrtowc.c: Likewise.
3740 * wcsmbs/mbsnrtowcs.c: Likewise.
3741 * wcsmbs/mbsrtowcs.c: Likewise.
3742 * wcsmbs/wcrtomb.c: Likewise.
3743 * wcsmbs/wcsnrtombs.c: Likewise.
3744 * wcsmbs/wcsrtombs.c: Likewise.
3745 * wcsmbs/wctob.c: Likewise.
3747 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
3750 2000-06-04 Ulrich Drepper <drepper@redhat.com>
3752 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
3753 counter for the object we are releasing, just decrement it.
3754 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
3756 2000-06-04 Jakub Jelinek <jakub@redhat.com>
3758 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
3761 2000-06-04 Ulrich Drepper <drepper@redhat.com>
3763 * iconvdata/big5hkscs.c: New file.
3764 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
3766 * iconvdata/gconv-modules: Add entry for new module.
3767 * iconvdata/Makefile (modules): Add BIG5HKSCS.
3768 (distribute): Add big5hkscs.c.
3770 2000-06-01 Jakub Jelinek <jakub@redhat.com>
3772 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
3773 inlines to match prototypes in mathcalls.h.
3774 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
3775 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
3776 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
3777 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3779 2000-06-03 Ulrich Drepper <drepper@redhat.com>
3781 * elf/elf.h (SHT_SUNW_move): Define.
3783 * elf/elf.h: Add more Solaris compatiblity definitions.
3785 2000-06-03 Andreas Jaeger <aj@suse.de>
3787 * sysdeps/powerpc/dl-start.S: Close open comment.
3789 2000-06-03 Jakub Jelinek <jakub@redhat.com>
3791 * inet/Versions: Fix typo in rresvport_af export.
3793 2000-06-02 Ulrich Drepper <drepper@redhat.com>
3795 * math/tgmath.h: Pretty print.
3797 2000-06-02 Andreas Jaeger <aj@suse.de>
3799 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
3800 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3802 2000-06-02 Ulrich Drepper <drepper@redhat.com>
3804 * elf/rtld.c (process_envvars): Test for = after variable name.
3806 2000-06-01 Ulrich Drepper <drepper@redhat.com>
3808 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
3809 have extra call to __gmon_start__, use the pointer we already have.
3811 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
3814 * sysdeps/i386/elf/setjmp.S: Work around change is recent
3815 binutils. gas now emits a jump through the PLT instead of a
3816 relative jump if the jump target is an exported symbol.
3818 2000-05-31 Ulrich Drepper <drepper@redhat.com>
3820 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
3822 2000-05-31 Andreas Jaeger <aj@suse.de>
3824 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
3827 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
3828 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3830 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
3832 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
3834 2000-05-30 Ulrich Drepper <drepper@redhat.com>
3836 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
3838 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
3839 * locale/localeconv.c: Make function versioned (with same definition).
3841 * elf/Makefile (modules-names): Strip before using it.
3843 2000-05-30 Andreas Jaeger <aj@suse.de>
3845 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
3846 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
3847 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
3848 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
3849 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
3850 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
3852 2000-05-29 Ulrich Drepper <drepper@redhat.com>
3854 * Makefile: Add GNU make magic.
3856 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
3858 * inet/rcmd.c: Remove __P. Remove unused variables.
3859 (iruserfopen): Make first parameter const.
3860 (ruserok_sa): Return result of ruserok2_sa.
3861 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
3862 * inet/rexec.c: Remove unused variables. Other small cleanups.
3863 * inet/ruserpass.c: Remove __P. Remove unused variables.
3864 (ruserpass): Check results of memory allocation.
3865 * include/netdb.h: Add prototype for ruserpass.
3867 2000-05-29 Andreas Jaeger <aj@suse.de>
3869 * elf/readlib.c (interpreters): Use LD_SO since this is supported
3872 2000-05-29 Jakub Jelinek <jakub@redhat.com>
3874 * inet/rcmd.c (rresvport_af): Use correct port number.
3876 2000-05-26 Andreas Schwab <schwab@suse.de>
3878 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
3879 entries in all-sonames.
3880 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
3881 preserving the old name if different for compatibility.
3883 2000-05-29 Ulrich Drepper <drepper@redhat.com>
3885 * posix/Makefile (tests): Add tst-spawn.
3886 (tst-spawn-ARGS): New variable.
3887 * posix/tst-spawn.c: New file.
3889 * posix/spawn_faction_addclose.c: Correctly account for new entry.
3890 * posix/spawn_faction_adddup2.c: Likewise.
3891 * posix/spawn_faction_addopen.c: Likewise.
3892 * posix/spawni.c: Correctly test for success of dup2 calls.
3894 * posix/tst-preadwrite.c: Check success of malloc call.
3896 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3898 * posix/Makefile (tests): Add tst-exec.
3899 (tst-exec-ARGS): New variable.
3900 * posix/tst-exec.c: New file.
3902 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
3904 2000-05-04 Andreas Jaeger <aj@suse.de>
3906 * string/string.h: Remove __strdup prototype, it's not needed in
3909 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3911 * posix/Makefile (tests): Add tst-fork.
3912 * posix/tst-fork.c: New file.
3914 * resolv/inet_pton.c: Loose __P.
3916 2000-05-21 Jakub Jelinek <jakub@redhat.com>
3918 * libio/libioP.h (_IO_CHECK_WIDE): Define.
3919 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
3920 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
3921 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
3922 _IO_CHECK_WIDE fails.
3924 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3926 * po/da.po: New file.
3928 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
3929 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
3931 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
3932 (Other iconv Implementations): Fix typo.
3933 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
3935 2000-05-27 Andreas Jaeger <aj@suse.de>
3937 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
3939 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
3940 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
3941 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3942 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3943 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
3944 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
3946 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
3947 endianness to decide how to pass arguments.
3948 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3950 * elf/vismain.c: Use test-skeleton interface.
3951 (TEST_FUNCTION): New macro.
3952 (do_test): Renamed from main.
3954 2000-05-27 Ulrich Drepper <drepper@redhat.com>
3956 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
3957 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
3959 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
3960 handling of AI_V4MAPPED flag.
3962 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
3963 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
3964 perform lookup for T_A type and tell getanswer_r to convert the
3965 result with new argument.
3966 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
3967 Don't convert addresses from IPv4 to IPv6 here.
3968 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
3969 IPv6 is wanted. Allow qtype and type from reply to disagree if
3970 IPv4 mapping has to be done. Perform mappings if required by the
3971 caller and not if RES_USE_INET6 bit in _res.options is set.
3972 Add several __builtin_expect.
3974 2000-05-26 Ulrich Drepper <drepper@redhat.com>
3976 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
3978 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
3981 * posix/tst-preadwrite.c: Allow parallel execution of
3982 tst-preadwrite and tst-preadwrite64.
3984 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
3985 * posix/tst-truncate.c: New file.
3986 * posix/tst-truncate64.c: New file.
3988 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
3991 * posix/Makefile (tests): Add tst-preadwrite64.
3992 * posix/tst-preadwrite.c: Alloc file being used also for testing
3993 pread64 and pwrite64.
3994 * posix/tst-preadwrite64.c: New file.
3996 2000-05-26 Andreas Jaeger <aj@suse.de>
3998 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
3999 of arguments dependend on endianness.
4000 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4002 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
4004 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
4005 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
4006 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4007 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4009 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
4010 endianness to check how to pass argument.
4011 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4013 * elf/ldconfig.h: Update parameter list for process_elf_file.
4015 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
4016 Add parameter file_length and pass it ot process_elf*file.
4018 * sysdeps/generic/readelflib.c (check_ptr): New.
4019 (process_elf_file): Use check_ptr to check all accesses to the
4020 mmapped file. Add parameter file_length.
4022 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
4025 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
4026 Closes PR libc/1573, reported by Bradley White
4027 <bww@laurelnetworks.com>.
4029 2000-05-25 Ulrich Drepper <drepper@redhat.com>
4031 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
4032 __FAST_MATH__ is defined.
4034 2000-05-22 Andreas Jaeger <aj@suse.de>
4036 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
4037 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
4039 * manual/math.texi (FP Function Optimizations): Document gcc
4040 -ffast-math behaviour with mathinlines.
4042 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
4043 functions unless -ffast-math is given to gcc.
4045 2000-05-23 Jakub Jelinek <jakub@redhat.com>
4047 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
4048 __sincosl): Guard with __USE_GNU.
4050 2000-05-24 Ulrich Drepper <drepper@redhat.com>
4052 * csu/Makefile (routines): Add check_fds.
4053 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
4054 binaries. Add various __builtin_expect.
4055 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
4056 * sysdeps/generic/check_fds.c: ...here. New file.
4058 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
4059 binaries if file /etc/suid-debug is available.
4061 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
4062 and wcseqorder members.
4063 (struct locale_collate_t): Likewise.
4064 (collate_finish): Assign collation sequence value to each character.
4065 Create tables for output.
4066 (collate_output): Write out tables with collation sequence information.
4067 * locale/C-collate.c: Provide C locale data for collation sequence
4069 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
4070 _NL_COLLATE_COLLSEQWC.
4071 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
4072 _NL_COLLATE_COLLSEQWC.
4073 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
4074 include fnmatch_loop.c.
4075 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
4076 character is matched by range expression. Use collation sequence
4077 table. Outside glibc fall back on simple character value comparison.
4079 2000-05-24 Andreas Jaeger <aj@suse.de>
4081 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
4084 * intl/Makefile: Run gettext-test only if msgfmt is available.
4086 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
4087 Define it for newer kernels.
4089 2000-05-23 Ulrich Drepper <drepper@redhat.com>
4091 * elf/dl-sym.c: Minor cleanups.
4093 * configure.in: Add test for .protected.
4094 * config.make.in: Add have-protected variable.
4095 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
4096 (tests-vis-yes): Add vismain.
4097 (modules-names): Add $(modules-vis-$(have-protected)).
4098 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
4099 Add rules to generate and run vismain.
4100 * elf/vismain.c: New file.
4101 * elf/vismod1.c: New file.
4102 * elf/vismod2.c: New file.
4103 * elf/vismod3.c: New file.
4105 2000-05-23 Andreas Jaeger <aj@suse.de>
4107 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
4109 * manual/search.texi (Array Sort Function): Document that qsort is
4110 not necessarily in-place.
4112 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
4113 Closes PR libc/1731.
4115 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
4116 * dirent/scandir64.c: Likewise.
4117 * pwd/getpw.c: Likewise.
4118 * stdlib/bsearch.c (bsearch): Likewise.
4119 * stdlib/tst-strtoll.c: Likewise.
4120 * localedata/collate-test.c: Likewise.
4121 * localedata/xfrm-test.c: Likewise.
4122 * posix/bsd-getpgrp.c: Likewise.
4123 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
4124 * sysdeps/generic/bits/siginfo.h: Likewise.
4125 * sysdeps/generic/bits/sockaddr.h: Likewise.
4126 * sysdeps/generic/sys/swap.h: Likewise.
4127 * sysdeps/generic/sys/sysinfo.h: Likewise.
4128 * sysdeps/generic/vfork.c: Likewise.
4129 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
4130 * sysdeps/mach/hurd/fdopen.c: Likewise.
4131 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
4132 * sysdeps/unix/sysv/linux/poll.c: Likewise.
4133 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4134 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4135 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4136 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4137 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
4139 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
4140 * shadow/lckpwdf.c: Likewise.
4141 * stdlib/tst-strtol.c: Likewise.
4142 * sysdeps/generic/tcsetattr.c: Likewise.
4143 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4144 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4146 2000-05-22 Jakub Jelinek <jakub@redhat.com>
4148 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
4149 free it and set to (void *) -1.
4151 2000-05-22 Jakub Jelinek <jakub@redhat.com>
4153 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
4154 not the second character in the range.
4155 * stdio-common/tstscanf.c (main): Add testcase for the above.
4156 Reported by jik@kamens.brookline.ma.us.
4158 2000-05-21 H.J. Lu <hjl@gnu.org>
4160 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
4161 with noexec and noplt parameter.
4162 (do_lookup): Likewise.
4164 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
4165 do_lookup. Support STV_PROTECTED.
4166 (_dl_lookup_symbol_skip): Likewise.
4167 (_dl_lookup_versioned_symbol): Likewise.
4168 (_dl_lookup_versioned_symbol_skip): Likewise.
4170 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
4172 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
4174 2000-05-21 Jakub Jelinek <jakub@redhat.com>
4176 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
4177 * sysdeps/i386/bits/huge_val.h: Likewise.
4178 * sysdeps/ieee754/bits/huge_val.h: Likewise.
4179 * sysdeps/m68k/bits/huge_val.h: Likewise.
4180 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
4181 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
4183 2000-05-22 Andreas Jaeger <aj@suse.de>
4185 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
4188 2000-05-19 Andreas Jaeger <aj@suse.de>
4190 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
4191 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
4192 breaks compilation without linuxthreads.
4194 2000-05-21 Ulrich Drepper <drepper@redhat.com>
4196 * sysdeps/ia64/memccpy.S: New file.
4197 * sysdeps/ia64/memchr.S: New file.
4198 * sysdeps/ia64/memcmp.S: New file.
4199 * sysdeps/ia64/memcpy.S: New file.
4200 * sysdeps/ia64/memmove.S: New file.
4201 * sysdeps/ia64/memset.S: New file.
4202 * sysdeps/ia64/strcat.S: New file.
4203 * sysdeps/ia64/strchr.S: New file.
4204 * sysdeps/ia64/strcmp.S: New file.
4205 * sysdeps/ia64/strcpy.S: New file.
4206 * sysdeps/ia64/strlen.S: New file.
4207 * sysdeps/ia64/strncmp.S: New file.
4208 * sysdeps/ia64/strncpy.S: New file.
4209 * sysdeps/ia64/softpipe.h: New file.
4210 Patches by Dan Pop <Dan.Pop@cern.ch>.
4212 * manual/memory.texi: Document memory handling functions (mlock,
4213 munlock, mlockall, munlockall, brk, and sbrk)
4214 * manual/time.texi: Document timespec and friends.
4215 * manual/conf.texi: Fix references.
4216 * manual/ctype.texi: Likewise.
4217 * manual/errno.texi: Likewise.
4218 * manual/intro.texi: Likewise.
4219 * manual/locale.texi: Likewise.
4220 * manual/sysinfo.texi: Likewise.
4221 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
4223 2000-05-09 Jes Sorensen <jes@linuxcare.com>
4225 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
4226 * sysdeps/ia64/dl-lookupcfg.h: ...here.
4228 2000-05-21 Jakub Jelinek <jakub@redhat.com>
4230 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
4233 2000-05-21 Ulrich Drepper <drepper@redhat.com>
4235 * locale/locale.h (struct lconv): Add new elements from ISO C99.
4236 * locale/localeconv.c: Initialize new elements from ISO C99.
4237 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
4238 new standard elements.
4239 * locale/categories.def: Adjust accordingly.
4241 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
4242 * iconv/iconv.c: Likewise.
4243 * conform/data/iconv.h-data: Likewise.
4244 * iconv/iconv_prog.c (process_block): Remove const from second
4246 (main): Remove const from addr definition.
4247 * manual/charset.texi (Generic Conversion Interface): Remove from
4248 inbuf parameter of iconv.
4250 * intl/dcigettext.c: Fix typo in comment.
4252 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
4254 * resolv/res_libc.c (_res): Initialize _sock to -1.
4256 2000-05-18 Jakub Jelinek <jakub@redhat.com>
4258 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
4259 (fopencookie@@GLIBC_2.2): New.
4260 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
4261 (fopencookie@GLIBC_2.0): New.
4262 * libio/Versions: Add fopencookie to GLIBC_2.2.
4264 2000-05-18 Andreas Jaeger <aj@suse.de>
4266 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
4267 Closes PR libc/1731.
4269 * manual/arith.texi (Parsing of Integers): Fix typo.
4270 Closes PR libc/1744, reported by blp@gnu.org.
4272 2000-05-17 Jakub Jelinek <jakub@redhat.com>
4274 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
4275 __extension__ to hexadecimal floating constant notation.
4276 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
4278 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
4279 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
4281 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
4282 HUGE_VALL): Likewise.
4283 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
4284 HUGE_VALL): Likewise.
4285 (HUGE_VALL): Set to HUGE_VAL on sparc32.
4287 2000-05-17 Andreas Jaeger <aj@suse.de>
4289 * string/envz.h: Add pure attributes if possible.
4291 * string/argz.h: argz_count is a pure function.
4293 * string/strings.h: Add pure and const attributes if possible.
4295 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
4296 possibly searching through the whole memory.
4297 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
4299 2000-05-17 Jakub Jelinek <jakub@redhat.com>
4301 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
4303 (_dl_cache_check_flags): Likewise.
4304 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
4307 2000-05-17 Andreas Jaeger <aj@suse.de>
4309 * manual/creature.texi (Feature Test Macros): Remove paragraph
4310 since the description is wrong.
4311 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
4313 * scripts/config.sub: New version.
4314 * scripts/config.guess: Likewise.
4315 * manual/texinfo.tex: Likewise.
4317 * time/test_time.args: Removed.
4318 * time/Makefile (test_time-ARGS): Added contents here instead.
4320 * posix/tstgetopt.args: Removed.
4321 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
4323 * Rules: Allow arguments for test files to be specified in
4324 Makefile with testname-ARGS; remove rules with .args in it.
4326 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
4327 remove old bogus rule for opendir-tst1.args.
4329 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
4331 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
4332 into objdir. This allows a readonly sourcetree.
4333 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
4335 2000-05-16 Andreas Jaeger <aj@suse.de>,
4336 David Huggins-Daines <dhd@linuxcare.com>
4338 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
4339 cache_data in case of only new cache format correctly.
4341 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
4344 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
4345 struct cache_file_new.
4347 * elf/cache.c (save_cache): Fix str_offset if only new cache is
4350 * elf/cache.c (save_cache): Align struct new_file_cache.
4351 (print_cache): Likewise.
4353 2000-05-13 Jakub Jelinek <jakub@redhat.com>
4355 * elf/soinit.c (__libc_global_ctors): Move
4356 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
4357 * resolv/resolv.h (__res_state): Added __attribute__((const)).
4358 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
4359 variable, don't define it to __res_state call.
4361 2000-05-13 Andreas Jaeger <aj@suse.de>
4363 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
4365 (AF_PPPOX): Likewise.
4366 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
4367 (AF_PPPOX): Likewise.
4369 2000-05-12 Andreas Jaeger <aj@suse.de>
4371 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
4372 Reported by tmoestl@gmx.net, closes PR libc/1732.
4374 2000-05-11 Jan Hubicka <jh@suse.cz>
4376 * misc/sys/cdefs.h: Add support for pure attribute.
4378 * include/string.h: Add __attribute_pure__ to various functions.
4379 * string/string.h: Likewise.
4381 2000-05-10 Jakub Jelinek <jakub@redhat.com>
4383 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
4385 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4387 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
4389 2000-05-10 Jakub Jelinek <jakub@redhat.com>
4391 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
4392 at proper place. Compute the high nibble correctly.
4394 2000-05-09 Jakub Jelinek <jakub@redhat.com>
4396 * elf/ldconfig.c: Include elf.h.
4398 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
4399 (_dl_vsym): Likewise.
4400 Reported by Owen Taylor <otaylor@redhat.com>.
4402 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
4405 2000-05-08 Andreas Jaeger <aj@suse.de>
4407 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
4409 * intl/bindtextdom.c (set_binding_values): Add prototype.
4411 2000-05-08 Jakub Jelinek <jakub@redhat.com>
4413 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
4414 call to elf_machine_fixup_plt.
4415 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4416 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4418 2000-05-08 Jakub Jelinek <jakub@redhat.com>
4420 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
4421 they are not dlclose'd from underneath us.
4423 2000-05-08 Andreas Schwab <schwab@suse.de>
4425 * posix/execle.c: Fix size parameter of memcpy.
4427 2000-05-08 Andreas Schwab <schwab@suse.de>
4429 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
4430 getpagesize syscall if available.
4432 2000-05-08 Andreas Jaeger <aj@suse.de>
4434 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
4437 2000-05-08 Jakub Jelinek <jakub@redhat.com>
4439 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
4440 sizeof(struct link_map *) chunks, not in bytes.
4442 2000-05-07 Ulrich Drepper <drepper@redhat.com>
4444 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
4445 only needed for locale.
4446 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
4447 It's only needed for catgets.
4448 Patches by Greg McGary <gkm@eng.ascend.com>.
4450 2000-05-07 Mark Kettenis <kettenis@gnu.org>
4452 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
4453 Remove duplicate <errno.h> include. Remove inclusion of
4454 <libintl.h> and "nsswitch.h".
4455 (set_cloexec_flag): New function, broken out of dbopen.
4456 (dbopen): Changed return type to `enum
4457 nss_status'. Mostly rewritten to make sure that we do not report
4458 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
4459 (internal_setent): Change return type to nss_status.
4460 Document, and make sure that the function
4461 behaves accordingly. Make dynamically loading the database
4462 library really thread-safe and return NSS_STATUS_UNAVAIL if it
4464 (db_cursor): Return ENOMEM is memory allocation failed. Remove
4466 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
4468 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
4469 c_get function member.
4470 * nss/nss_db/nss_db.h: Add and tweak some comments.
4471 (DBT): Move typedef before NSS_DBC typedef.
4472 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
4474 2000-05-07 H.J. Lu <hjl@gnu.org>
4476 * csu/initfini.c: Moved to ....
4477 * sysdeps/generic/initfini.c: ...here.
4479 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
4481 2000-05-07 Ulrich Drepper <drepper@redhat.com>
4483 * manual/resource.texi: Document POSIX scheduling functions.
4484 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4486 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
4487 reading anything. Reported by Andries.Brouwer@cwi.nl.
4489 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
4490 for x since promotion in comparison might leads to unexpected
4491 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
4493 * iconv/Makefile (tests): Add tst-iconv1.
4494 * iconv/tst-iconv1.c: New file.
4495 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
4496 empty input buffer over full output buffer.
4497 (ucs4_internal_loop): Likewise.
4498 (ucs4_internal_loop_unaligned): Likewise.
4499 (internal_ucs4le_loop): Likewise.
4500 (internal_ucs4le_loop_unaligned): Likewise.
4501 (ucs4le_internal_loop): Likewise.
4502 (ucs4le_internal_loop_unaligned): Likewise.
4503 Reported by yaoz@nih.gov.
4505 2000-05-06 Bruno Haible <haible@clisp.cons.org>
4507 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
4508 returned != __GCONV_OK, there is nothing to clean up.
4510 2000-05-06 Bruno Haible <haible@clisp.cons.org>
4512 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
4513 OUTPUT_CHARSET environment variables.
4515 2000-05-06 Andreas Jaeger <aj@suse.de>
4517 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
4518 (struct cache_file_new): New.
4519 (struct file_entry): New (moved from cache.c).
4520 (struct cache_file): New (moved from cache.c).
4522 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
4523 from _dl_load_cache_lookup.
4524 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
4525 the different cache formats.
4526 New variable cache_new for new format.
4528 * elf/ldconfig.h: Change according to changes in cache.c and
4529 ldconfig.c; remove cache_libcmp; add opt_format.
4531 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
4532 stuff that's defined in those headers.
4533 Add hwcap to struct lib_entry.
4534 (opt_format): New variable to select cache format.
4535 (options): Add format parameter.
4536 (is_hwcap): New function.
4537 (path_hwcap): New function.
4538 (parse_opt): Handle new format parameter.
4539 (search_dir): Handle hwcap, search also subdirectories with hwcap.
4541 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
4542 ldconfig is part of glibc.
4543 Include dl-cache.h and remove stuff that's defined there.
4544 (struct cache_entry): Add new member hwcap.
4545 (print_entry): Print hwcap, cleanup a bit.
4546 (print_cache): Print new and old formats.
4547 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
4548 (save_cache): Save new and old formats.
4549 (add_to_cache): Handle hwcap.
4551 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
4552 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
4553 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
4554 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
4555 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
4556 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
4558 2000-05-05 Bruno Haible <haible@clisp.cons.org>
4560 * intl/dcigettext.c (alignof): New macro.
4561 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
4562 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
4565 2000-05-05 Bruno Haible <haible@clisp.cons.org>
4567 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
4570 2000-05-06 Ulrich Drepper <drepper@redhat.com>
4572 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
4573 (mempcpy): Correct typo is parameter list.
4575 2000-05-06 Andreas Jaeger <aj@suse.de>
4577 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
4578 functions unless -ffast-math is given to gcc.
4580 2000-05-06 Ulrich Drepper <drepper@redhat.com>
4582 * po/ko.po: Update from translation team.
4584 2000-05-05 Ulrich Drepper <drepper@redhat.com>
4586 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
4587 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
4588 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
4589 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
4590 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
4591 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
4593 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
4594 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
4595 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
4597 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
4598 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
4599 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
4600 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
4602 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
4603 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
4605 2000-05-05 Jes Sorensen <jes@linuxcare.com>
4607 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
4608 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
4610 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
4611 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
4613 * sysdeps/ia64/Implies: New file.
4614 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
4615 * sysdeps/ia64/Makefile: New file.
4616 * sysdeps/ia64/gmp-mparam.h: New file,
4618 * sysdeps/ia64/elf/start.S: New file.
4620 * sysdeps/ia64/bits/fenv.h: New file.
4622 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
4624 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
4626 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
4628 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
4629 ia64 has 64 bit .hash entries just as the Alpha.
4631 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
4633 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
4635 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
4637 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
4638 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
4639 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
4640 * sysdeps/ia64/fpu/fegetenv.c: New file.
4641 * sysdeps/ia64/fpu/fegetexcept.c: New file.
4642 * sysdeps/ia64/fpu/fegetround.c: New file.
4643 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
4644 * sysdeps/ia64/fpu/fesetenv.c: New file.
4645 * sysdeps/ia64/fpu/fesetround.c: New file.
4646 * sysdeps/ia64/fpu/feupdateenv.c: New file.
4647 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
4648 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
4649 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
4650 * sysdeps/ia64/fpu/ftestexcept.c: New file.
4652 2000-05-05 Andreas Jaeger <aj@suse.de>
4654 * misc/tst-tsearch.c (main): Correct type for initstate argument.
4656 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
4657 (_dl_string_hwcap): New, does nothing.
4659 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
4660 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4661 (_dl_string_hwcap): New function, converts from string to hwcap
4663 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
4664 (_DL_HWCAP_COUNT): New.
4665 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4666 (_dl_string_hwcap): New function, converts from string to hwcap
4668 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
4669 (_DL_HWCAP_COUNT): New.
4670 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4671 (_dl_string_hwcap): New function, converts from string to hwcap
4674 2000-05-05 Ulrich Drepper <drepper@redhat.com>
4676 * elf/Makefile (distribute): Add dl-lookupcfg.h.
4677 * sysdeps/ia64/Dist: New file.
4679 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
4680 parameter to mprotect and for variable assignments.
4682 2000-05-03 Jes Sorensen <jes@linuxcare.com>
4684 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
4685 validity of map before dereferencing it.
4687 * elf/dl-reloc.c (RESOLVE_MAP): Define.
4689 2000-05-02 Jes Sorensen <jes@linuxcare.com>
4691 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
4692 lookup to the arguments to elf_machine_fixup_plt().
4694 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
4695 of the symbol being resolved to input argument list and make the
4696 function return the pointer to the reloc.
4698 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
4699 return valuie to lookup_t and return the value.
4700 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
4701 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
4702 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
4703 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
4704 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
4705 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
4707 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
4708 Make it an inline function returning value after calling
4709 __elf_machine_fixup_plt().
4711 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
4714 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
4715 obtain the symbol address.
4717 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
4718 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
4720 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
4721 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
4724 2000-04-28 Jes Sorensen <jes@linuxcare.com>
4726 * elf/dl-runtime.c (fixup): Use the portable macros to get the
4727 symbol address of an object.
4729 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
4730 the symbol address of an object.
4732 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
4733 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
4734 (_dl_lookup_symbol_skip): Likewise.
4735 (_dl_lookup_versioned_symbol): Likewise.
4736 (_dl_lookup_versioned_symbol_skip): Likewise.
4738 2000-04-27 Jes Sorensen <jes@linuxcare.com>
4740 * elf/rtld.c (_dl_start): Get the function pointer return address
4741 via _dl_start_address for architectures that need a function
4742 pointer descriptor rather than just a pointer (ia64).
4744 * sysdeps/generic/dl-lookupcfg.h: New file.
4745 * sysdeps/ia64/dl-lookupcfg.h: New file.
4746 * sysdeps/ia64/dl-machine.h: New file.
4747 * sysdeps/ia64/dl-symaddr.c: New file.
4748 * sysdeps/ia64/dl-fptr.c: New file.
4750 * elf/elf.h: Add IA-64 specific definitions.
4752 2000-05-04 Jakub Jelinek <jakub@redhat.com>
4754 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
4757 2000-05-04 Jakub Jelinek <jakub@redhat.com>
4759 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
4762 2000-04-11 Geoff Keating <geoffk@cygnus.com>
4764 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
4765 symbol. Call _dl_init rather than the old way.
4767 2000-05-04 Ulrich Drepper <drepper@redhat.com>
4769 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
4770 test for pointer in range of DSO address space.
4772 2000-05-04 Andreas Jaeger <aj@suse.de>
4774 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
4776 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4778 * locale/findlocale.c (_nl_find_locale): Add new parameter to
4779 calls of _nl_make_l10nflist.
4781 * libio/stdio.h: Make fseeko and ftello prototypes available is
4782 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
4784 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
4785 real unsetenv implementation from 1999-07-29 [PR libc/1714].
4787 2000-05-03 Bruno Haible <haible@clisp.cons.org>
4789 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
4790 before calling tfind.
4792 2000-03-05 Jakub Jelinek <jakub@redhat.com>
4794 * resolv/resolv.h (res_querydomain): Remove redefinition to
4795 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
4797 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4799 * po/gl.po: Update from translation team.
4801 * manual/intro.texi (Program Basics): Change section title.
4802 * manual/process.texi: Fix reference.
4803 (Executing a File): Add reference exec in other section.
4804 * manual/signal.texi: Fix reference.
4805 * manual/startup.texi: Document syscall function.
4806 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
4808 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4810 * intl/libintl.h (bind_textdomain_codeset): New declaration.
4811 * intl/bindtextdom.c (set_binding_values): New function.
4812 (bindtextdomain): Call it.
4813 (bind_textdomain_codeset): New function.
4814 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
4815 (free_mem): Free each binding's codeset.
4816 * intl/gettextP.h (struct binding): Add codeset field.
4817 (_nl_find_domain): Add domainbinding argument.
4818 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
4819 Pass it to _nl_make_l10nflist.
4820 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
4821 (_nl_make_l10nflist): Add domainbinding argument.
4822 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
4823 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
4824 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
4826 * manual/message.texi: New node "Charset conversion in gettext".
4828 2000-04-30 Bruno Haible <haible@clisp.cons.org>
4830 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
4831 appropriate. Handle possible __read error.
4833 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4835 * intl/gettextP.h (__builtin_expect): Define as empty if not a
4837 * intl/loadinfo.h (__builtin_expect): Likewise.
4838 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
4839 __builtin_expect where appropriate.
4840 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4841 * intl/localealias.c (extend_alias_table): Return an error indicator.
4842 (read_alias_file): Bail out if extend_alias_table fails.
4844 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4846 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
4847 * intl/localealias.c: Likewise.
4849 2000-05-01 Bruno Haible <haible@clisp.cons.org>
4851 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
4852 Initialize domain->plural and domain->nplurals even if there is no
4855 2000-05-01 Bruno Haible <haible@clisp.cons.org>
4857 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
4858 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
4859 In case of failure, goto converted.
4861 2000-05-01 Bruno Haible <haible@clisp.cons.org>
4863 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
4864 * iconv/gconv_int.h (norm_add_slashes): Move to here.
4865 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
4868 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4870 * intl/dcigettext.c (transcmp): Compare the domains as well.
4871 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
4873 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
4876 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4878 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
4879 Reported by Bruno Haible.
4881 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4883 * manual/arith.texi: Remove @w from @itemize.
4885 2000-05-02 Andreas Jaeger <aj@suse.de>
4887 * conform/data/tar.h-data: Add some checks for specific values.
4889 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
4892 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
4895 * conform/data/netinet/in.h-data: Add exact checks for the values
4896 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
4898 * conform/data/float.h-data: Add some minimal values.
4900 * conform/conformtest.pl: Test for macros with string constants,
4901 check for minimum and maximum values.
4902 Add limits.h to headers.
4904 * conform/data/cpio.h-data: Test for value of MAGIC.
4906 * conform/data/limits.h-data: New file.
4908 2000-04-30 Bruno Haible <haible@clisp.cons.org>
4910 * math/Makefile (headers): Add bits/fenvinline.h.
4912 2000-05-01 Ulrich Drepper <drepper@redhat.com>
4914 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
4915 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
4917 * posix/Versions: Change posix_spawnattr_getdefault and
4918 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
4919 and posix_spawnattr_setsigdefault respectively.
4920 * posix/spawn.h: Likewise.
4921 * posix/spawnattr_getdefault.h: Likewise.
4922 * posix/spawnattr_setdefault.h: Likewise.
4923 * conform/data/spawn.h-data: Likewise.
4925 2000-05-01 Andreas Jaeger <aj@suse.de>
4927 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
4929 2000-04-30 Ulrich Drepper <drepper@redhat.com>
4931 * manual/sysinfo.texi: Document getdomainname, setdomainname
4933 * manual/string.texi: Fix typo.
4934 * manual/terminal.texi: Document gtty and stty.
4935 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4937 2000-04-30 Andreas Jaeger <aj@suse.de>
4939 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
4940 accordance with Austin Draft.
4942 2000-04-30 Ulrich Drepper <drepper@redhat.com>
4944 * catgets/gencat.c (read_input_file): Use isblank and not isspace
4945 to recognize second character in comment line.
4947 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
4948 ENOBUFS if we are out of memory.
4950 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
4951 available if __USE_XOPEN2K.
4952 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
4953 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4954 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
4955 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
4956 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
4957 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4958 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
4959 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
4961 2000-04-29 Ulrich Drepper <drepper@redhat.com>
4963 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
4964 Recognize option -s, -c, and -l.
4966 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
4968 * nscd/nscd.c: Start new session for nscd, drop privilegs
4969 to configured user if requested and no -S parameter are used.
4970 * nscd/nscd.conf: Add new option "server-user".
4971 * nscd/nscd_conf.c: Add support for new "server-user" option.
4972 * nscd/nscd.h: Add declaration for server_user variable.
4973 Based on patch by Chris Wing <wingc@engin.umich.edu>
4975 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4977 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
4978 that changing the __restore and __restore_rt signal return code
4981 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4983 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
4986 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4988 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
4990 2000-04-29 Ulrich Drepper <drepper@redhat.com>
4992 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
4993 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
4995 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
4996 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
4997 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
4998 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
4999 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
5000 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
5001 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
5002 posix_fallocate, and posix_madvise.
5003 * conform/data/netdb.h-data: New file.
5004 * conform/data/pthread.h-data: Add pthread_barrier_t,
5005 pthread_barrierattr_t, pthread_barrier_destroy,
5006 pthread_barrier_init, pthread_barrier_wait,
5007 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
5008 pthread_barrierattr_init, pthread_barrierattr_setpshared,
5009 pthread_condattr_getclock, pthread_condattr_setclock,
5010 pthread_getcpuclockid, pthread_mutex_timedlock,
5011 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
5012 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
5013 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
5014 * conform/data/sched.h-data: Add sched_ss_low_priority,
5015 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
5017 * conform/data/semaphore.h-data: Add sem_timedwait.
5018 * conform/data/signal.h-data: Add SIGIO.
5019 * conform/data/spawn.h-data: New file.
5020 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
5021 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
5022 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
5023 Fix typo in gmtime_r definition.
5024 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
5025 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
5026 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
5027 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
5028 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
5029 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
5030 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
5031 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
5032 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
5033 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
5034 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
5035 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
5036 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
5037 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
5038 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
5039 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
5040 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
5041 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
5042 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
5043 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
5044 typo in off_t definition.
5045 * conform/data/net/if.h-data: New file.
5046 * conform/data/netinet/in.h-data: New file.
5047 * conform/data/netinet/tcp.h-data: New file.
5048 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
5049 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
5050 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
5051 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
5052 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
5053 and posix_typed_mem_open.
5054 * conform/data/sys/socket.h-data: New file.
5055 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
5056 * conform/data/sys/types.h-data: Add pthread_barrier_t,
5057 pthread_barrierattr_t, and pthread_spinlock_t.
5058 * conform/data/sys/un.h-data: New file.
5059 * conform/data/sys/utsname.h-data: New file.
5061 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
5063 * inet/gethstbyad.c (gethostbyname): Likewise.
5064 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
5065 * inet/getipnodebyad.c (getipnodebyad): Likewise.
5066 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
5067 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
5069 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
5070 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
5071 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
5072 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
5073 * resolv/gethnamaddr.c (gethostbyname): Likewise.
5074 * resolv/netdb.h (struct hostent): Fix type of h_length member.
5075 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
5076 and second parameter.
5078 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
5081 2000-04-29 Andreas Jaeger <aj@suse.de>
5083 * conform/data/arpa/inet.h-data: New file.
5085 2000-04-28 Geoff Clare <gwc@unisoft.com>
5087 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
5088 path passed to ftw() or nftw() is an empty string.
5089 Closes PR libc/1710.
5091 2000-04-27 Ulrich Drepper <drepper@redhat.com>
5093 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
5094 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
5095 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
5096 * localedata/tst-mbswcs4.c: New file.
5097 * localedata/tst-mbswcs5.c: New file.
5099 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
5100 == NULL. Little optimization.
5102 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
5103 DT_PREINIT_ARRAYSZ).
5104 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
5106 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
5107 overflows in conversion from ASCII.
5109 2000-04-26 Jakub Jelinek <jakub@redhat.com>
5111 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
5112 * Makerules (full_config_sysdirs): Likewise.
5113 * MakeTAGS (full_config_sysdirs): Likewise.
5115 2000-04-26 Jakub Jelinek <jakub@redhat.com>
5117 * .cvsignore: Remove linuxthreads.
5118 * po/.cvsignore: Remove *.pot.
5119 * posix/glob/.cvsignore: Removed.
5120 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
5122 2000-04-25 Andreas Jaeger <aj@suse.de>
5124 * conform/Makefile (distribute): Also distribute contents of
5127 * Makerules (no_deps): Remove abi-versions.h.
5129 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
5131 2000-04-25 Jakub Jelinek <jakub@redhat.com>
5133 * sysdeps/sparc/sparc64/elf/Dist: Remove.
5134 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
5135 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
5136 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
5137 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
5138 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
5141 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
5143 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
5145 2000-04-23 Bruno Haible <haible@clisp.cons.org>
5147 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
5148 * intl/l10nflist.c: Likewise.
5150 2000-04-23 Bruno Haible <haible@clisp.cons.org>
5152 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
5153 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
5154 * intl/textdomain.c [!_LIBC]: Likewise.
5155 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
5156 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
5157 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
5160 2000-04-23 Bruno Haible <haible@clisp.cons.org>
5162 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
5163 character set conversion also in the case the translation was found
5164 after a hash collision or through binary search. Store the maximum
5165 index together with the converted message. Use iconv() when available.
5166 In case of out of memory during conversion, return the unconverted
5167 translated string, not NULL.
5169 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
5171 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
5172 to avoid name clashes with the ia32 linker.
5174 2000-04-25 Jakub Jelinek <jakub@redhat.com>
5176 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
5179 2000-04-27 Ulrich Drepper <drepper@redhat.com>
5181 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
5182 strtoumax, strfry, and memfrob.
5183 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
5184 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5186 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
5187 if this function is available.
5189 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
5192 2000-04-27 Jakub Jelinek <jakub@redhat.com>
5194 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
5196 2000-04-27 Ulrich Drepper <drepper@redhat.com>
5198 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
5199 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
5200 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
5201 * localedata/tst-mbswcs3.c: New file.
5203 2000-04-26 Ulrich Drepper <drepper@redhat.com>
5205 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
5206 characters. Don't handle incomplete characters as errors.
5207 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
5208 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
5209 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
5210 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
5211 * localedata/tst-mbswcs2.c: New file.
5213 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
5214 stored character in state in UNPACK_BYTES macro.
5215 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
5216 test for available characters, handle result of BODY code correctly.
5217 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
5218 (distribute): Add tst-mbswcs.sh.
5219 Add rule to run tst-mbswcs.sh.
5220 * localedata/tst-mbswcs.sh: New file.
5221 * localedata/tst-mbswcs1.c: New file.
5223 2000-04-26 Jakub Jelinek <jakub@redhat.com>
5225 * nis/nis_callback.c (__nis_create_callback): Do failed memory
5226 allocation fixups centrally, fix __builtin_expect call, return NULL
5227 on failure, not NIS_NOMEMORY.
5229 2000-04-27 Bruno Haible <haible@clisp.cons.org>
5231 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
5233 * intl/loadinfo.h (internal_function): Define if not already defined.
5235 2000-04-27 Andreas Jaeger <aj@suse.de>
5237 * intl/libintl.h: Fix typo, reported by Bruno Haible
5238 <haible@clisp.cons.org>.
5240 2000-04-25 Ulrich Drepper <drepper@redhat.com>
5242 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
5243 setting the state to GMON_PROF_BUSY.
5245 2000-04-24 Ulrich Drepper <drepper@redhat.com>
5247 * elf/dl-profile.c (_dl_start_profile): define all variables which
5248 do not have to be global as local variables.
5250 * nis/nis_callback.c (__nis_create_callback): Partially undo last
5251 patch. Keep needed tests for failed memory allocation.
5253 * elf/dl-reloc.c (_dl_relocate_object): Add one more
5254 __builtin_expect saying that we don't normally expect to profile.
5256 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
5257 __builtin_expect where desirable.
5259 2000-04-23 Ulrich Drepper <drepper@redhat.com>
5261 * manual/Makefile (chapters): Add syslog.
5262 * manual/syslog.texi: New file.
5263 * manual/math.texi: Fix references.
5264 * manual/terminal.texi: Likewise.
5265 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5267 2000-04-18 Jakub Jelinek <jakub@redhat.com>
5269 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
5270 stdlib.h was not included or __USE_XOPEN not defined.
5272 2000-04-23 Ulrich Drepper <drepper@redhat.com>
5274 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
5275 Patch by Zack Weinberg <zack@wolery.cumb.org>.
5277 2000-04-22 Ulrich Drepper <drepper@redhat.com>
5279 * manual/examples/subopt.c (mount_opts): Add missing terminating
5281 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
5283 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
5284 * libio/ftello.c: Likewise.
5285 * libio/ftello64.c: Likewise.
5286 * libio/ioftell.c: Likewise.
5287 * sysdeps/generic/memrchr.c: Likewise.
5288 * sysdeps/posix/libc_fatal.c: Likewise.
5289 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
5290 * misc/fstab.c: Include <string.h> for strcmp prototype.
5291 * sysdeps/generic/ldsodefs.h: Likewise.
5292 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5293 Patch by Kurt Roeckx <Q@ping.be>.
5295 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
5296 Remove db-open. Change all uses.
5297 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
5299 2000-04-21 Jakub Jelinek <jakub@redhat.com>
5301 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
5302 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
5303 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
5304 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
5305 with .set noat/at to shut up warnings.
5306 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
5307 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
5308 compilation if __NR_pciconfig_iobase is not defined.
5309 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
5312 2000-04-21 Ulrich Drepper <drepper@redhat.com>
5314 * manual/sysinfo.texi: Fix typo.
5315 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
5316 Replace "high precision time" with "high accuracy clock".
5318 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
5320 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
5321 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
5323 * nis/nis_subr.c: Use __builtin_expect.
5324 * nis/ypclnt.c: Likewise.
5325 * nis/nis_getservlist.c: Likewise.
5326 * nis/nis_creategroup.c: Likewise.
5328 * nis/nis_callback.c (__nis_create_callback): Check result of
5329 memory allocation. Fix memory leaks. Use __builtin_expect.
5330 (__nis_destroy_callback): Fix memory leaks.
5332 2000-04-21 Andreas Jaeger <aj@suse.de>
5334 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
5335 * sysdeps/mips/mips64/add_n.S: Likewise.
5336 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
5337 * sysdeps/mips/mips64/lshift.S: Likewise.
5338 * sysdeps/mips/mips64/mul_1.S: Likewise.
5339 * sysdeps/mips/mips64/rshift.S: Likewise.
5340 * sysdeps/mips/mips64/setjmp.S: Likewise.
5341 * sysdeps/mips/mips64/sub_n.S: Likewise.
5342 * sysdeps/mips/mips64/submul_1.S: Likewise
5343 * sysdeps/unix/mips/sysdep.S: Likewise.
5345 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
5346 and update comment. The strtab from _dl_relocate_object can be
5349 2000-04-21 Ulrich Drepper <drepper@redhat.com>
5351 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
5352 * iconv/iconv_close.c (iconv_close): Likewise.
5353 * iconv/iconv_open.c (iconv_open): Likewise.
5355 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
5356 __builtin_expect where useful.
5358 * grp/initgroups.c (initgroups): Test for result of memory
5359 allocation and punt if it fails.
5361 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
5362 * grp/fgetgrent.c (fgetfrent): Likewise.
5363 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
5365 2000-04-21 Jakub Jelinek <jakub@redhat.com>
5367 * libio/vasprintf.c: Include string.h to get memcpy prototype.
5369 2000-04-20 Ulrich Drepper <drepper@redhat.com>
5371 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
5372 don't search for NUL byte to decrement counter.
5373 Reported by Ulrich.Brink@sap.com.
5375 * iconv/gconv_simple.c: Define separate functions to convert from
5376 UCS4/UCS4-LE to the internal encoding.
5377 * iconv/gconv_builtin.h: Use separate functions to convert from
5378 UCS4/UCS4-LE to the internal encoding.
5379 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
5380 __gconv_transform_ucs4le_internal.
5382 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
5383 output buffer overflow. Reported by Ulrich.Brink@sap.com.
5385 * iconv/skeleton.c: Add some more __builtin_expect.
5386 * iconv/loop.c: Likewise.
5388 2000-03-08 H.J. Lu <hjl@gnu.org>
5390 * posix/regex.c (regex_compile): Correctly handle "\{" when
5391 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
5393 2000-04-20 Ulrich Drepper <drepper@redhat.com>
5395 * manual/stdio.texi: Give advise about handling error when using
5397 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
5399 2000-04-19 Jakub Jelinek <jakub@redhat.com>
5401 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
5402 field to nelems * sizeof (uint32_t).
5403 * locale/programs/ld-address.c (address_output): Align word fields
5405 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5406 Don't restart idx pointers to idx end at the duo_int_curr_symbol
5408 Avoid giving arbitrary garbage in the crncystr field.
5409 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
5410 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
5412 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5413 Don't restart idx pointers to idx end at the decimal_point_wc field.
5414 * locale/programs/ld-time.c (time_output): week_1stday should be
5415 word, not byte. Align it properly.
5417 2000-04-19 H.J. Lu <hjl@gnu.org>
5419 * csu/gmon-start.c (_start): Declared as "extern void".
5422 2000-04-18 Andreas Jaeger <aj@suse.de>
5424 * manual/install.texi (Running make install): Don't mention utmpd
5427 2000-04-18 Andreas Jaeger <aj@suse.de>
5429 * linuxthreads/Versions: Use ld instead of ld.so.
5431 * elf/Makefile (ld-map): Use ld.map.
5433 * Versions.def: Use ld instead of ld.so.
5434 * elf/Versions: Likewise.
5435 * sysdeps/mach/hurd/Versions: Likewise.
5437 2000-04-20 Andreas Jaeger <aj@suse.de>
5439 * elf/rtld.c (print_statistics): Move ifndef further up.
5440 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
5441 (dl_main): Likewise.
5443 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5445 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
5446 * gmon/Versions: Move moncontrol to GLIBC_2.2.
5448 * po/cs.po: Update from translation team.
5450 * sysdeps/generic/updwtmp.c: Remove daemon support.
5452 * login/Makefile (routines): Remove utmp_daemon.
5454 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
5455 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
5456 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
5457 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
5459 * elf/rtld.c: Display statitics option also if hp timing is not
5462 * login/programs/connection.c: Removed.
5463 * login/programs/database.c Removed.
5464 * login/programs/error.c: Removed.
5465 * login/programs/request.c: Removed.
5466 * login/programs/xtmp.c: Removed.
5467 * login/programs/xtmp.h: Removed.
5468 * login/Makefile: Remove rules for utmpd.
5469 * login/README.utmpd: Removed.
5470 * login/utmp_daemon.c: Removed.
5471 * login/getutent_r.c: Remove references to daemon functions.
5472 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
5475 2000-04-18 Andreas Jaeger <aj@suse.de>
5477 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
5478 2.2 for libnsl, libresolv, librt, libnss_*.
5480 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
5482 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
5484 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5486 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
5487 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
5488 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
5489 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
5490 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
5491 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
5492 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
5493 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
5494 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
5495 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
5496 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
5497 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
5498 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
5500 * sysdeps/unix/sysv/aix/msync.c: New file.
5501 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
5502 * sysdeps/unix/sysv/aix/net/if.h: New file.
5503 * sysdeps/unix/sysv/aix/pipe.c: New file.
5504 * sysdeps/unix/sysv/aix/poll.c: New file.
5505 * sysdeps/unix/sysv/aix/rename.c: New file.
5506 * sysdeps/unix/sysv/aix/rmdir.c: New file.
5507 * sysdeps/unix/sysv/aix/select.c: New file.
5508 * sysdeps/unix/sysv/aix/semctl.c: New file.
5509 * sysdeps/unix/sysv/aix/semget.c: New file.
5510 * sysdeps/unix/sysv/aix/semop.c: New file.
5511 * sysdeps/unix/sysv/aix/sendto.c: New file.
5512 * sysdeps/unix/sysv/aix/setgroups.c: New file.
5513 * sysdeps/unix/sysv/aix/setpgid.c: New file.
5514 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
5515 * sysdeps/unix/sysv/aix/setpriority.c: New file.
5516 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
5517 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
5518 * sysdeps/unix/sysv/aix/setsid.c: New file.
5519 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
5520 * sysdeps/unix/sysv/aix/shmat.c: New file.
5521 * sysdeps/unix/sysv/aix/shmctl.c: New file.
5522 * sysdeps/unix/sysv/aix/shmdt.c: New file.
5523 * sysdeps/unix/sysv/aix/shmget.c: New file.
5524 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
5525 * sysdeps/unix/sysv/aix/sigstack.c: New file.
5526 * sysdeps/unix/sysv/aix/socket.c: New file.
5527 * sysdeps/unix/sysv/aix/socketpair.c: New file.
5528 * sysdeps/unix/sysv/aix/speed.c: New file.
5529 * sysdeps/unix/sysv/aix/symlink.c: New file.
5530 * sysdeps/unix/sysv/aix/sync.c: New file.
5531 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
5532 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
5533 * sysdeps/unix/sysv/aix/times.c: New file.
5534 * sysdeps/unix/sysv/aix/ulimit.c: New file.
5535 * sysdeps/unix/sysv/aix/umask.c: New file.
5536 * sysdeps/unix/sysv/aix/unlink.c: New file.
5537 * sysdeps/unix/sysv/aix/ustat.c: New file.
5538 * sysdeps/unix/sysv/aix/utimes.c: New file.
5540 2000-04-18 Andreas Jaeger <aj@suse.de>
5542 * manual/startup.texi (Environment Access): Fix putenv prototype
5543 according to recent changes.
5544 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
5547 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
5550 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5552 * posix/Makefile (tests): Add tst-getaddrinfo.
5553 * posix/tst-getaddrinfo.c: New file.
5555 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5557 * manual/sysinfo.texi: Document that umount2 is not widely available.
5559 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
5560 signal timing is not really implemented.
5562 2000-04-17 Andreas Jaeger <aj@suse.de>
5564 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
5566 2000-04-17 Jakub Jelinek <jakub@redhat.com>
5568 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
5571 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5573 * manual/intro.texi: Change reference from System Information to
5575 * manual/users.texi: Likewise.
5576 * manual/conf.texi: Likewise.
5577 * manual/sysinfo.texi: Document mount, umount, and umount2.
5578 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5580 2000-04-17 Jakub Jelinek <jakub@redhat.com>
5582 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
5583 Create wnumstr as well as numstr to support wide character output
5586 2000-04-15 Jakub Jelinek <jakub@redhat.com>
5588 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
5589 modification and move it...
5590 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
5591 Add -melf64_sparc switch to $(LD) on sparc64-linux.
5592 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
5593 switch to $(LD) on sparc-linux.
5595 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
5597 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
5598 and setresuid from sysdep_routines.
5600 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5602 * manual/Makefile (chapters): Add resource.
5604 * manual/time.texi: Move section on resources to...
5605 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
5607 * manual/setjmp.texi: Adjust back reference.
5608 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5610 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
5612 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
5613 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
5614 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
5615 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
5616 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
5617 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
5618 * sysdeps/unix/sysv/aix/close.c: Add copyright.
5619 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
5620 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
5621 * sysdeps/unix/sysv/aix/access.c: Add copyright.
5622 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
5623 * sysdeps/unix/sysv/aix/Implies: New file.
5624 * sysdeps/unix/sysv/aix/Versions: New file.
5625 * sysdeps/unix/sysv/aix/bind.c: New file.
5626 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
5627 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
5628 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
5629 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
5630 * sysdeps/unix/sysv/aix/chdir.c: New file.
5631 * sysdeps/unix/sysv/aix/chmod.c: New file.
5632 * sysdeps/unix/sysv/aix/chroot.c: New file.
5633 * sysdeps/unix/sysv/aix/creat.c: New file.
5634 * sysdeps/unix/sysv/aix/dl-close.c: New file.
5635 * sysdeps/unix/sysv/aix/dl-open.c: New file.
5636 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
5637 * sysdeps/unix/sysv/aix/fchdir.c: New file.
5638 * sysdeps/unix/sysv/aix/fchmod.c: New file.
5639 * sysdeps/unix/sysv/aix/getgroups.c: New file.
5640 * sysdeps/unix/sysv/aix/gethostname.c: New file.
5641 * sysdeps/unix/sysv/aix/getpriority.c: New file.
5642 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
5643 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
5644 * sysdeps/unix/sysv/aix/getrusage.c: New file.
5645 * sysdeps/unix/sysv/aix/link.c: New file.
5646 * sysdeps/unix/sysv/aix/madvise.c: New file.
5647 * sysdeps/unix/sysv/aix/mkdir.c: New file.
5648 * sysdeps/unix/sysv/aix/mknod.c: New file.
5649 * sysdeps/unix/sysv/aix/mprotect.c: New file.
5650 * sysdeps/unix/sysv/aix/msgctl.c: New file.
5651 * sysdeps/unix/sysv/aix/msgget.c: New file.
5652 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
5654 2000-04-17 Andreas Jaeger <aj@suse.de>
5656 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
5657 as suggested by Ulrich Drepper.
5658 (__dl_runtime_resolve): Remove unused variable, initialize sym
5660 (RTLD_START): Document OFFSET_GP_GOT.
5661 (OFFSET_GP_GOT): New magic value.
5662 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
5663 (elf_machine_got_rel): Only declare strtab if needed.
5664 (elf_machine_relplt): Removed, it's not needed.
5665 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
5667 * sysdeps/mips/add_n.S: Add newline at EOF.
5668 * sysdeps/mips/rshift.S: Likewise.
5669 * sysdeps/mips/mul_1.S: Likewise.
5670 * sysdeps/mips/lshift.S: Likewise.
5671 * sysdeps/mips/addmul_1.S: Likewise.
5673 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5675 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
5677 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
5678 * elf/dl-lookup.c: Likewise.
5679 * elf/dl-init.c (_dl_init): Likewise.
5680 * elf/dl-fini.c (_dl_fini): Likewise.
5681 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5682 * elf/dl-close.c (_dl_close): Likewise.
5683 * elf/rtld.c (_dl_start_final): Likewise.
5685 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
5687 2000-04-15 Ulrich Drepper <drepper@redhat.com>
5689 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
5690 only fall back on using Linux.
5692 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
5693 Before testing versions check that we actually loaded the object
5694 and whether we are in trace mode. If not loaded during tracing don't
5695 test versions in this object.
5696 (_dl_check_all_versions): Take new parameter and pass to
5697 _dl_check_map_versions.
5698 * sysdeps/generic/ldsodefs.h: Update prototypes for
5699 _dl_check_all_versions and _dl_check_map_versions.
5700 * elf/rtld.c (struct version_check_args): Add dotrace.
5701 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
5702 (dl_main): Pass info about trace mode to version_check_doit.
5703 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
5704 _dl_check_all_versions.
5706 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
5708 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5710 * manual/argp.texi: Document index parameter of argp_parse.
5712 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
5714 2000-04-14 Andreas Jaeger <aj@suse.de>
5716 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
5717 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
5719 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
5721 2000-04-15 Ulrich Drepper <drepper@redhat.com>
5723 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
5724 compat_symbol call for old adjtime.
5726 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
5727 function interface. Patch by Richard Henderson <rth@cygnus.com>.
5729 * posix/Makefile (headers): Add spawn.h.
5730 (distribute): Add spawn_int.h.
5731 (routines): Add spawn_faction_init, spawn_faction_destroy,
5732 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
5733 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
5734 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
5735 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
5736 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
5737 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
5738 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
5739 posix_spawnattr_init, posix_spawnattr_destroy,
5740 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
5741 posix_spawnattr_getflags, posix_spawnattr_setflags,
5742 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
5744 * posix/spawn.c: New file.
5745 * posix/spawn.h: New file.
5746 * posix/spawn_faction_addclose.c: New file.
5747 * posix/spawn_faction_adddup2.c: New file.
5748 * posix/spawn_faction_addopen.c: New file.
5749 * posix/spawn_faction_destroy.c: New file.
5750 * posix/spawn_faction_init.c: New file.
5751 * posix/spawn_int.h: New file.
5752 * posix/spawnattr_destroy.c: New file.
5753 * posix/spawnattr_getdefault.c: New file.
5754 * posix/spawnattr_getflags.c: New file.
5755 * posix/spawnattr_getpgroup.c: New file.
5756 * posix/spawnattr_getschedparam.c: New file.
5757 * posix/spawnattr_getschedpolicy.c: New file.
5758 * posix/spawnattr_getsigmask.c: New file.
5759 * posix/spawnattr_init.c: New file.
5760 * posix/spawnattr_setdefault.c: New file.
5761 * posix/spawnattr_setflags.c: New file.
5762 * posix/spawnattr_setpgroup.c: New file.
5763 * posix/spawnattr_setschedparam.c: New file.
5764 * posix/spawnattr_setschedpolicy.c: New file.
5765 * posix/spawnattr_setsigmask.c: New file.
5766 * posix/spawni.c: New file.
5767 * posix/spawnp.c: New file.
5769 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
5770 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
5772 2000-04-14 Ulrich Drepper <drepper@redhat.com>
5774 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
5775 * malloc/malloc.c: Implement posix_memalign for glibc.
5776 * include/stdlib.h: Add prototype for __posix_memalign.
5777 * stdlib/stdlib.h: Add prototype for posix_memalign.
5779 2000-04-14 Andreas Jaeger <aj@suse.de>
5781 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
5783 (elf_machine_got_rel): Cast sym correctly.
5785 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
5786 * sysdeps/mips/addmul_1.S: Likewise.
5787 * sysdeps/mips/lshift.S: Likewise.
5788 * sysdeps/mips/mul_1.S: Likewise.
5789 * sysdeps/mips/rshift.S: Likewise.
5790 * sysdeps/mips/sub_n.S: Likewise.
5791 * sysdeps/mips/submul_1.S: Likewise.
5793 * stdlib/stdlib.h: Fix typo in comment.
5795 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
5796 2.2 for libdl, ld and libm.
5798 * sysdeps/generic/madvise.c: Fix typos.
5800 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
5802 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
5804 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
5807 2000-04-14 Ulrich Drepper <drepper@redhat.com>
5809 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
5810 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
5811 Make old name weak alias.
5812 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
5813 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
5814 Make old name weak alias.
5815 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
5817 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
5818 posix_fallocate, and posix_fallocate64.
5819 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
5820 posix_fallocate, and posix_fallocate64.
5821 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
5822 posix_fallocate, and posix_fallocate64.
5823 * sysdeps/generic/fadvise.c: New file.
5824 * sysdeps/generic/fadvise64.c: New file.
5825 * sysdeps/generic/fallocate.c: New file.
5826 * sysdeps/generic/fallocate64.c: New file.
5827 * sysdeps/posix/fallocate.c: New file.
5828 * sysdeps/posix/fallocate64.c: New file.
5829 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
5830 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
5831 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
5832 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
5833 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
5834 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
5835 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
5836 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
5837 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5839 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
5840 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5842 2000-04-13 Ulrich Drepper <drepper@redhat.com>
5844 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
5845 * misc/sys/mman.h (posix_madvise): Add prototype.
5846 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
5847 old name and posix_madvise weak aliases.
5848 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5849 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
5850 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
5851 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
5852 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
5853 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5854 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5856 2000-04-13 Andreas Jaeger <aj@suse.de>
5858 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
5860 (elf_machine_got_rel): Only add runtime display if needed.
5861 (elf_machine_got_rel): Handle symbol versioning.
5863 2000-04-13 Andreas Jaeger <aj@suse.de>
5865 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
5867 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
5870 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
5871 with some applications.
5872 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
5874 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
5875 * sysdeps/mips/bsd-_setjmp.S: Likewise.
5876 * sysdeps/mips/setjmp.S: Likewise.
5878 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
5880 2000-04-13 Ulrich Drepper <drepper@redhat.com>
5882 * posix/globtest.sh: Work around inconsistency with expanding ~/
5883 in shell (PR libc/1690). Reported by patsmith@pobox.com.
5885 2000-04-12 Ulrich Drepper <drepper@redhat.com>
5887 * posix/getconf.c: Add support for many more POSIX options.
5888 * sysdeps/posix/sysconf.c: Likewise.
5889 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
5890 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
5892 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
5893 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
5894 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
5895 CLOCK_THREAD_CPUTIME_ID.
5896 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
5897 CLOCK_PROCESS_CPUTIME_ID.
5898 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
5899 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
5900 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
5901 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
5903 * malloc/Makefile (tests): Add tst-calloc.
5904 * malloc/tst-calloc.c: New file.
5906 * sysdeps/arm/libm-test-ulps: New file.
5908 * malloc/malloc.c: Undo all of today's changes.
5910 * locale/programs/locale.c (show_info): Don't try to look into
5911 data for LC_ALL (there is none).
5913 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
5914 avoid writing over boundary.
5915 Patch by Greg McGary <gkm@eng.ascend.com>.
5917 * sysdeps/arm/memprof.h: New file.
5919 2000-04-12 Andreas Jaeger <aj@suse.de>
5921 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
5923 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
5924 for memmem declaration.
5926 2000-04-12 Ulrich Drepper <drepper@redhat.com>
5928 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
5930 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5932 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
5934 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
5935 Patch by Bart Veer <bartv@redhat.com>.
5937 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
5940 2000-04-11 Andreas Jaeger <aj@suse.de>
5942 * sysdeps/mips/dl-machine.h: Update some comments.
5943 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
5945 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5947 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
5948 _POSIX_SHARED_MEMORY_OBJECTS.
5950 * rt/Makefile (tests): Add tst-shm.
5951 Add rules to generate tst-shm.
5952 * rt/tst-shm.c: New file.
5954 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
5957 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
5958 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
5959 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
5960 * sysdeps/generic/shm_open.c: New file.
5961 * sysdeps/generic/shm_unlink.c: New file.
5962 * sysdeps/unix/sysv/linux/shm_open.c: New file.
5963 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
5964 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
5965 __endmntent, __getmntent_r, __setmntent, and __statfs.
5967 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
5968 fragmentation by allocating new memory at the end instead of
5971 * posix/globtest.sh: Fix last change.
5973 2000-04-10 Philip Blundell <philb@gnu.org>
5975 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
5976 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
5977 IPV6_DROP_MEMBERSHIP.
5978 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
5981 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5983 * elf/readlib (process_file): Close streams in case of an error.
5985 2000-04-09 Andreas Jaeger <aj@suse.de>
5987 * elf/readlib.c (process_file): Check if file is big enough to
5988 contain aout and ELF headers.
5989 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
5991 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
5993 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
5995 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5997 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
5999 * rt/Makefile (tests): Add tst-clock.
6000 Add rules to build tst-clock.
6001 * rt/tst-clock.c: New file.
6002 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
6003 about initialization of nsec.
6004 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
6005 about initialization of freq. Set retval to zero if successful.
6006 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
6008 2000-04-10 Ulrich Drepper <drepper@redhat.com>
6010 * Versions.def (librt): Add GLIBC_2.2.
6011 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
6012 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
6013 timer_getoverr, timer_gettime, and timer_settime.
6014 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
6015 clock_settime, timer_create, timer_delete, timer_getoverrun,
6016 timer_gettime, and timer_settime.
6017 * sysdeps/generic/clock_getcpuclockid.c: New file.
6018 * sysdeps/generic/get_clockfreq.c: New file.
6019 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
6020 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
6021 * sysdeps/mach/hurd/i386/bits/time.h: New file.
6022 * sysdeps/unix/i386/i586/clock_getres.c: New file.
6023 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
6024 * sysdeps/unix/i386/i686/Implies: New file.
6025 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
6026 * time/Makefile (routines): Move clock_getres, clock_gettime,
6027 clock_settime, timer_create, timer_delete, timer_getoverr,
6028 timer_gettime, and timer_settime to rt/Makefile.
6029 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
6030 clock_settime, timer_create, timer_delete, timer_getoverrun,
6031 timer_gettime, and timer_settime.
6032 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
6034 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
6035 and not const as attribute name.
6037 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
6039 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
6041 2000-04-10 Andreas Schwab <schwab@suse.de>
6043 * posix/globtest.sh: Skip tests that depend on unreadable
6044 directories if run as root.
6046 2000-04-10 Ulrich Drepper <drepper@redhat.com>
6048 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
6049 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
6051 2000-04-09 Ulrich Drepper <drepper@redhat.com>
6053 * sysdeps/unix/clock_gettime.c: New file.
6054 * sysdeps/unix/clock_settime.c: New file.
6055 * sysdeps/posix/clock_getres.c: New file.
6057 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
6059 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
6060 lseek call be passing in a buffer which never allow a successful
6061 first getdents syscall if not at leas the initial entry can be
6062 stored in the user buffer.
6064 * localedata/Makefile: Add rules to clean up directories created by
6067 2000-04-09 Geoff Clare <gwc@unisoft.com>
6069 * localedata/tst-fmon.data: Added new tests for strfmon()
6070 using test locales with all combinations of cs_precedes,
6071 sign_posn and sep_by_space.
6072 * localedata/tst-fmon.sh: Updated to support the new tests.
6073 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
6074 the localedef source for the new strfmon() test locale.
6075 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
6076 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
6077 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
6078 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
6079 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
6080 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
6081 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
6082 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
6083 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
6084 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
6085 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
6086 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
6087 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
6088 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
6090 * stdlib/strfmon.c: Correct problems with missing or extra
6091 spaces for unusual combinations of sign_posn and sep_by_space.
6092 Improved left-precision alignment code.
6094 2000-04-07 Andreas Jaeger <aj@suse.de>
6096 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
6098 2000-04-10 Andreas Jaeger <aj@suse.de>
6100 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
6102 2000-04-09 Ulrich Drepper <drepper@redhat.com>
6104 Implement handling of restartable conversion functions according to
6106 * iconv/gconv.h (__gconv_fct): Add additional parameter.
6107 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
6108 * iconv/gconv.c: Pass additional parameter to conversion function.
6109 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
6110 (internal_ucs4le_loop_single): New function.
6111 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
6112 (__gconv_transform_internal_ascii): Likewise.
6113 (__gconv_transform_internal_utf8): Likewise.
6114 (__gconv_transform_utf8_internal): Likewise.
6115 (__gconv_transform_ucs2_internal): Likewise.
6116 (__gconv_transform_internal_ucs2): Likewise.
6117 (__gconv_transform_ucs2reverse_internal): Likewise.
6118 (__gconv_transform_internal_ucs2reverse): Likewise.
6119 (internal_ucs4le_loop_unaligned): Before return
6120 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
6121 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
6122 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
6123 * iconv/loop.c: Fit in definition of function to convert one character
6124 for processing of left-over bytes from the state object.
6125 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
6126 inend to match names in loop functions.
6127 (RESET_INPUT_BUFFER): Change apprpriately.
6128 (gconv): If needed, call function to process bytes from the state
6129 object. Similar at the end: store left over bytes if input is
6131 Take extra argument and add new argument to all calls of the
6132 conversion function.
6133 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
6134 information in the state object to not conflict with length count.
6135 * iconvdata/iso-2022-jp.c: Likewise.
6136 * iconvdata/iso-2022-kr.c: Likewise.
6137 * iconvdata/unicode.c: Adjust for change change in parameters of
6139 * iconvdata/utf-16.c: Likewise.
6140 * libio/iofwide.c: Add new parameter to all calls of conversion
6142 * wcsmbs/btowc.c: Likewise.
6143 * wcsmbs/mbrtowc.c: Likewise.
6144 * wcsmbs/mbsnrtowcs.c: Likewise.
6145 * wcsmbs/mbsrtowcs.c: Likewise.
6146 * wcsmbs/wcrtomb.c: Likewise.
6147 * wcsmbs/wcsnrtombs.c: Likewise.
6148 * wcsmbs/wcsrtombs.c: Likewise.
6149 * wcsmbs/wctob.c: Likewise.
6151 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
6154 2000-04-07 Andreas Jaeger <aj@suse.de>
6156 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
6159 2000-04-07 Ulrich Drepper <drepper@redhat.com>
6161 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
6162 element a union to allow byte access.
6163 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
6165 * iconvdata/iso-2022-jp.c: Likewise.
6166 * iconvdata/iso-2022-kr.c: Likewise.
6167 * wcsmbs/mbsinit.c: Likewise.
6168 * stdlib/mblen.c: Likewise.
6169 * stdio-common/printf-parse.h: Likewise.
6171 2000-04-06 Ulrich Drepper <drepper@redhat.com>
6173 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
6174 kernel does not allow relative seeks on descriptors associated
6175 with directories. Go back to get the position in the directory
6176 every time we enter the function. Return -1 and set errno if one
6177 entry could be read from the kernel but does not fit into the
6178 buffer passed in by the user.
6180 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
6181 Support ..(2).. ellipsis.
6182 (parse_charmap): Recognize ..(2).. etc and pass step down.
6183 Correctly generate names for UCS4 characters.
6185 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
6186 (ctype_finish): We know the wide character value for <SP>,
6188 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
6189 (charclass_ucs4_ellipsis): Likewise.
6190 (read_translit_ignore_entry): Store ellipsis step.
6191 (ctype_read): Recognize ..(2).. etc and pass step down.
6193 * locale/programs/linereader.c (lr_token): When seeing comment
6194 character ignore only rest of line in sources but stop at escaped
6196 Recognize ..(2).. and ....(2).....
6198 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
6199 and tok_ellipsis4_2.
6201 2000-04-06 Andreas Jaeger <aj@suse.de>
6203 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
6204 removed, remove it here also.
6205 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
6206 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
6207 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
6208 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
6210 2000-04-06 Jakub Jelinek <jakub@redhat.com>
6212 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
6213 include bits/sigcontext.h.
6214 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6216 2000-04-06 Ulrich Drepper <drepper@redhat.com>
6218 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
6219 collation symbol definition. Value in quivalence definition must
6220 be defined, don't check that it is not.
6222 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
6223 values as character names.
6225 * locale/programs/ld-ctype.c (get_character): Handle missing
6226 repertoire map correctly.
6228 2000-04-05 Cristian Gafton <gafton@redhat.com>
6230 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
6231 because it is used in generic code.
6232 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
6233 * wcsmbs/wcwidth.h: Declare __ctype32_b.
6234 * intl/gettext.c: Include <locale.h>.
6235 * intl/ngettext.c: Likewise.
6237 2000-04-05 Jakub Jelinek <jakub@redhat.com>
6239 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
6240 socklen_t type for size.
6241 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
6242 init function interface.
6243 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6244 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
6246 (__jmp_buf): Declare the whole type structure here, don't use
6249 2000-04-05 Ulrich Drepper <drepper@redhat.com>
6251 * iconv/skeleton.c (put16u): Fix typo.
6252 Reported by Bruno Haible <haible@ilog.fr>.
6254 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
6255 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
6256 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
6257 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
6258 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
6259 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
6261 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
6262 * Makefile (distribute): Add abi-versions.awk and
6264 Patches by Torsten Duwe <duwe@caldera.de>.
6266 2000-04-05 Andreas Schwab <schwab@suse.de>
6268 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
6270 2000-04-05 Andreas Schwab <schwab@suse.de>
6272 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
6273 entry point, used on Hurd.
6275 2000-04-04 Andreas Jaeger <aj@suse.de>
6277 * intl/Makefile: Only run the gettext test with shared libraries.
6279 2000-03-16 Mark Kettenis <kettenis@gnu.org>
6281 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
6282 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
6284 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
6286 * Makeconfig: Undo last change.
6287 * configure.in: If --disable-shared was given, don't set VERSIONING,
6288 don't define DO_VERSIONING, and don't give scare warning for no
6290 * configure: Regenerated.
6292 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
6294 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
6296 2000-04-04 Andreas Jaeger <aj@suse.de>
6298 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
6300 2000-04-04 Ulrich Drepper <drepper@redhat.com>
6302 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
6303 STV_HIDDEN and STV_INTERNAL during lookup.
6304 (profile_fixup): Likewise.
6305 * elf/dl-reloc.c (RESOLVE): Likewise.
6307 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
6308 unaligned so that it compiles for system which need unaligned
6311 2000-04-04 Andreas Schwab <schwab@suse.de>
6313 * elf/cache.c (print_entry): Only look at the type field when
6316 2000-04-04 Andreas Schwab <schwab@suse.de>
6318 * iconvdata/big5.c (BODY): Fix typo.
6320 2000-04-04 Andreas Schwab <schwab@suse.de>
6322 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
6323 function interface. Remove unused _dl_start_user entry point.
6325 2000-04-03 Andreas Jaeger <aj@suse.de>
6327 * include/arpa/inet.h (__inet_aton): Add protoype.
6329 2000-04-01 Andreas Jaeger <aj@suse.de>
6331 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
6333 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
6334 * sysdeps/mach/mips/thread_state.h: Likewise.
6336 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
6337 * sysdeps/generic/fegetenv.c: Likewise.
6338 * sysdeps/generic/fesetenv.c: Likewise.
6339 * sysdeps/generic/feupdateenv.c: Likewise.
6340 * sysdeps/generic/fraiseexcpt.c: Likewise.
6341 * sysdeps/generic/fsetexcptflg.c: Likewise.
6342 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
6343 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
6344 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
6345 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6347 2000-04-02 H.J. Lu <hjl@gnu.org>
6349 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
6351 2000-04-03 Ulrich Drepper <drepper@redhat.com>
6353 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
6354 (add_name_to_object): Add cast in malloc call.
6355 (fillin_rpath): Optimize loop to initialize ->status a bit.
6357 * sysdeps/i386/dl-machine.h: Undo last change.
6358 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
6359 Restore %edx register after call here.
6361 * sysdeps/arm/atomicity.h: New file.
6362 Contributed by Jesper Skov <jskov@redhat.com>.
6364 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
6366 * Makeconfig (preprocess-versions): Undo last change.
6367 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
6369 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
6370 here, before we might move the stack.
6371 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
6372 (init1): And not here.
6374 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
6375 change, to restore argc value in call-clobbered register after
6376 RTLD_START_SPECIAL_INIT, which will contain a call.
6378 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
6379 allocating and initializing L->l_initfini.
6381 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
6383 2000-04-03 Ulrich Drepper <drepper@redhat.com>
6385 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
6386 RUNPATH, RPATH, and LD_LIBRARY_PATH.
6387 (open_path): Change type of fourth parameter. Make pointer to array
6388 of pointers. Create variable dirs with original type.
6389 Track whether any directory for the object exists and if not,
6390 change *DIRSP to (void*) -1 to signal there is no such search path.
6391 (_dl_map_object): Change all calls of open_path.
6392 Rewrite decompose_rpath calls.
6394 2000-03-31 Andreas Schwab <schwab@suse.de>
6396 * string/strfry.c: Declare STATE as array of char instead of int
6397 and do not initialize it (done by initstate_r). Pass correct
6400 2000-04-03 Ulrich Drepper <drepper@redhat.com>
6402 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
6404 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
6405 instruction out of the code.
6407 2000-04-02 Ulrich Drepper <drepper@redhat.com>
6409 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
6410 element at this position.
6412 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
6413 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
6415 * elf/dl-lookup.c (add_dependency): New function.
6416 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
6417 dynamically loaded object.
6418 (_dl_lookup_symbol_skip): Likewise.
6419 (_dl_lookup_versioned_symbol): Likewise.
6420 (_dl_lookup_versioned_symbol_skip): Likewise.
6421 * elf/dl-open.c: Don't define _dl_load_lock here...
6422 * elf/rtld.c: ...but here...
6423 * elf/dl-support.c: ...and here.
6424 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
6426 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
6428 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
6430 * dlfcn/glrefmain.c: Add one more debug message.
6432 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
6434 * Makerules (sysd-versions): Use ( ) instead of { }.
6436 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
6437 optimize for the non-debugging case.
6438 * elf/dl-lookup.c: Likewise.
6439 * sysdeps/generic/libc-start.c: Likewise.
6441 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
6443 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
6444 (init1): Don't initialize __environ here, since init already does it.
6445 (first_init): New function, broken out of _init.
6446 (_hurd_stack_setup): Use it.
6447 [SHARED] (_dl_init_first): New function, renamed from old _init.
6448 (init1) [SHARED]: Don't call posixland_init here.
6449 (posixland_init): Take ENVP arg, so signature is usual for initializer.
6450 [SHARED] (_init): Define as alias for posixland_init.
6451 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
6452 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
6453 RTLD_START_SPECIAL_INIT before calling initializers.
6454 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
6455 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
6456 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
6457 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
6459 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
6460 since we define the function with the name `tmpfile'.
6462 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
6463 * hurd/Versions: Likewise.
6465 2000-04-02 Ulrich Drepper <drepper@redhat.com>
6467 * elf/dl-runtime.c (fixup): Fix typo in comment.
6469 * resolv/netdb.h (getnameinfo): All length parameters are of type
6471 * inet/getnameinfo.c: Likewise.
6473 2000-04-01 Ulrich Drepper <drepper@redhat.com>
6475 * posix/unistd.h (socklen_t): Define if it has not yet happened.
6476 (gethostname): Change type of second parameter to socklen_t.
6477 * include/unistd.h (__gethostname): Change type of second
6478 parameter to socklen_t.
6479 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
6480 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
6481 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
6482 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
6484 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
6485 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
6486 Allow definition elsewhere.
6487 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
6488 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6489 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
6490 * sysdeps/generic/bits/types.h: Define __socklen_t.
6491 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
6492 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
6493 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6494 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6495 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6496 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6497 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6499 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
6500 (inet_lnaof): Likewise.
6501 (inet_netof): Likewise.
6502 (inet_network): Likewise.
6503 (inet_aton): Likewise.
6504 (inet_makeaddr): Change parameter types to in_addr_t.
6505 (inet_neta): Likewise.
6506 (inet_ntop): Change type of last parameter to socklen_t.
6507 (inet_aton): Only make available if __USE_MISC.
6508 (inet_neta): Likewise.
6509 (inet_net_ntop): Likewise.
6510 (inet_net_pton): Likewise.
6511 (inet_nsap_ntoa): Likewise.
6513 * inet/in.h: Define in_port_t type.
6514 Define in_addr_t type.
6515 (struct in_addr): Use in_addr_t in definition.
6516 (IN_CLASSA): Use cast to in_addr_t.
6517 (IN_CLASSB): Likewise.
6518 (IN_CLASSC): Likewise.
6519 (IN_CLASSD): Likewise.
6520 (IN_EXPERIMENTAL): Likewise.
6521 (IN_BADCLASS): Likewise.
6522 (INADDR_ANY): Likewise.
6523 (INADDR_BROADCAST): Likewise.
6524 (INADDR_NONE): Likewise.
6525 (INADDR_LOOPBACK): Likewise.
6526 (INADDR_UNSPEC_GROUP): Likewise.
6527 (INADDR_ALLHOSTS_GROUP): Likewise.
6528 (INADDR_ALLRTRS_GROUP): Likewise.
6529 (INADDR_MAX_LOCAL_GROUP): Likewise.
6530 (struct sockaddr_in): Use in_port_t for sin_port element.
6531 (struct sockaddr_in6): Use in_port_t for sin6_port element.
6532 Use uint8_t instead of u_int8_t.
6534 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
6535 Call __inet_aton instead of inet_aton.
6536 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
6538 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
6539 (innetgr): Likewise.
6540 (struct addrinfo): Use socklen_t for ai_addrlen element.
6542 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
6543 IPV6_RECVERR): New defines.
6545 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
6546 * inet/getnetbyad.c: Likewise.
6547 * inet/getnetbyad_r.c: Likewise.
6548 * nis/nss_nis/nis-network.c: Likewise.
6549 * nis/nssplus_nis/nisplus-network.c: Likewise.
6550 * nss/nss_files/files-network.c: Likewise.
6551 * resolv/netdb.h: Define uint32_t if not already happened.
6552 Include bits/netdb.h. Remove definition of struct netent.
6553 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
6554 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
6555 * sysdeps/generic/bits/netdb.h: New file.
6556 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
6558 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
6559 (tests): Add glrefmain.
6560 Add rules to build modules and run tests. Ignore result of glrefmain
6561 for now since it fails.
6562 * dlfcn/glrefmain.c: New file.
6563 * dlfcn/glreflib1.c: New file.
6564 * dlfcn/glreflib2.c: New file.
6566 * test-skeleton.c: Include <string.h> for strsignal prototype.
6568 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
6571 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
6572 former init-first.h. Initialize __libc_multiple_libcs.
6574 2000-03-31 Ulrich Drepper <drepper@redhat.com>
6576 * iconv/skeleton.c: Define access macros with u suffix. Adjust
6577 #if expression for use of unaligned function to the one used in
6578 the definition of these functions.
6579 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
6580 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
6581 (internal_ucs4le_loop_unaligned): New function.
6583 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
6585 (module-names): Add dep1, dep2, dep3, and dep4.
6586 Add dependencies for dep* modules and order.
6587 Define rule for order.out which checks the result.
6588 * elf/dep1.c: New file.
6589 * elf/dep2.c: New file.
6590 * elf/dep3.c: New file.
6591 * elf/dep4.c: New file.
6592 * elf/order.c: New file.
6594 * elf/dl-init.c: Fix typo in comment.
6596 2000-03-31 Andreas Jaeger <aj@suse.de>
6598 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
6599 init function interface.
6600 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
6602 2000-03-31 Andreas Jaeger <aj@suse.de>
6604 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
6605 * sysdeps/mips/fpu/fegetenv.c: Likewise.
6606 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
6607 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
6608 * sysdeps/mips/fpu/fesetenv.c: Likewise.
6610 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
6611 anymore, update comment.
6613 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6615 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
6616 SHLIB_COMPAT - the struct is always needed.
6618 2000-03-31 Ulrich Drepper <drepper@redhat.com>
6620 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
6621 * elf/dl-support.c: Define _dl_starting_up.
6623 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6625 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
6626 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
6628 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
6630 * elf/Makefile (dl-routines): Remove preinit.
6631 * elf/Versions: Remove _dl_preinit.
6632 * elf/dl-preinit.c: Removed. Move content into...
6633 * elf/dl-init.c: ...here.
6634 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
6636 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
6639 2000-03-29 Geoff Clare <gwc@unisoft.com>
6641 * stdlib/strfmon.c: Corrected problems with the code that
6642 sets default values for [np]_sep_by_space and
6643 [np]_sign_posn; also the new positive/negative alignment
6644 code from the previous patch was not quite right for
6647 * localedata/tst-fmon.data: Changes corresponding to the
6648 two sets of fixes made to stdlib/strfmon.c.
6650 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
6652 * malloc/malloc.c: Declare bit flags UL so that they will not
6653 default to int size when being inverted.
6655 2000-03-29 Andreas Jaeger <aj@suse.de>
6657 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
6658 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
6660 2000-03-29 Andreas Jaeger <aj@suse.de>,
6661 Ralf Baechle <ralf@uni-koblenz.de>
6663 * Makeconfig: Introduce new variable SHARED to mark code used in
6665 * elf/dl-close.c: Use it instead of PIC.
6666 * elf/dl-load.c: Likewise.
6667 * elf/dl-open.c: Likewise.
6668 * hurd/geteuids.c: Likewise.
6669 * include/libc-symbols.h: Likewise.
6670 * include/shlib-compat.h: Likewise.
6671 * libio/freopen.c: Likewise.
6672 * linuxthreads/cancel.c: Likewise.
6673 * linuxthreads/pthread.c: Likewise.
6674 * linuxthreads/wrapsyscall.c: Likewise.
6675 * nss/nsswitch.c: Likewise.
6676 * stdio-common/vfprintf.c: Likewise.
6677 * sysdeps/arm/init-first.c: Likewise.
6678 * sysdeps/i386/init-first.c: Likewise
6679 * sysdeps/generic/init-first.c: Likewise.
6680 * sysdeps/generic/libc-start.c: Likewise.
6681 * sysdeps/mips/init-first.c: Likewise.
6682 * sysdeps/powerpc/elf/libc-start.c: Likewise.
6683 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
6684 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
6685 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
6686 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6688 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
6690 2000-03-29 Andreas Jaeger <aj@suse.de>
6692 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
6693 Use D_PTR to access relocated entries in l_info.
6694 (elf_machine_rela): Likewise.
6696 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
6698 (elf_machine_rela): Likewise.
6700 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
6702 (__elf_machine_fixup_plt): Likewise.
6703 (__process_machine_rela): Likewise.
6705 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
6706 (elf_machine_rela): Likewise.
6708 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
6709 (elf_machine_rel): Likewise.
6711 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
6712 (elf_machine_fixup_plt): Likewise.
6713 (elf_machine_rela): Likewise.
6715 2000-03-29 Andreas Jaeger <aj@suse.de>
6717 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
6718 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6719 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6720 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
6721 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
6722 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
6723 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
6724 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
6725 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6726 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
6727 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
6728 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
6729 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
6730 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
6731 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6733 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
6734 macros, remove K&R prototypes.
6736 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6738 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
6739 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
6742 2000-03-30 Andreas Jaeger <aj@suse.de>
6744 * misc/sys/cdefs.h: Remove K&R support.
6746 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6748 * iconv/skeleton.c: Avoid compiling unaligned versions in some
6750 * iconv/loop.c: Likewise.
6752 2000-03-29 Bruno Haible <haible@clisp.cons.org>
6754 * iconv/loop.c (put16): Remove __const. Fix access index.
6755 (put32): Remove __const. Use uint32_t instead of uint16_t.
6756 * iconv/skeleton.c: Likewise.
6758 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
6760 * mach/Versions (libc: GLIBC_2.0)
6761 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
6762 __vm_allocate on this.
6763 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
6764 mutex- and spinlock-related symbols on this.
6765 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
6766 New version set. Lock-related symbols go here instead in this case.
6767 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
6768 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
6769 cthread_getspecific, cthread_setspecific, __libc_getspecific.
6771 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
6772 Put them here instead.
6773 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
6774 New version set. Those cthreads symbols go here instead in this case.
6775 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
6777 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6779 * elf/dl-init.c (_dl_init): We don't need to call constructors
6780 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
6782 Implement dynamic determination of constructor/destructor order in
6784 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
6785 (GLIBC_2.2): Add _dl_init.
6786 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
6787 r_duplist is not anymore allocated separately. l_initfini is and
6788 therefore free it if necessary.
6789 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
6790 malloc block. Otherwise allocate l_initfini list only.
6791 Put dependencies for the object in l_initfini list.
6792 Sort dependencies for the object to be loaded topologically.
6793 * elf/dl-fini.c: Before running the destructors sort the topologically.
6794 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
6795 call constructors instead of iterating over the pointers. Get list of
6796 objects for which to run constructors from l_initfini element. Accept
6797 argc, argv, and env as parameters and pass them to the constructors.
6798 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
6799 with size of dynamic section.
6800 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
6801 _dl_init_next and calling constructors ourself.
6802 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
6803 Take argc, argv, and env as parameters and pass them to the
6804 constructors. Rewrite to call all constructors and not iterate over
6806 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
6807 precompute l_initcount and l_preinitcount.
6808 * elf/link.h (struct link_map): Add l_ldnum member.
6809 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
6810 l_initcount, and l_preinitcount. Add l_initfini.
6811 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
6813 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
6815 * sysdeps/unix/sysv/linux/init-first.h: Removed.
6816 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
6817 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
6818 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
6819 conventions now match.
6821 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
6822 effect for shared objects. Don't emit message and call only for
6825 2000-03-29 Ulrich Drepper <drepper@redhat.com>
6827 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
6828 CSA_Z243.4-1985-1..UCS2.
6829 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
6832 2000-03-29 Andreas Jaeger <aj@suse.de>
6834 * include/unistd.h: Remove duplicate entry for __rmdir.
6835 Remove declaration of __mkdir since __mkdir is declared in
6838 * manual/creature.texi (Feature Test Macros): Fix typo, reported
6839 by Michael Deutschmann <michael@talamasca.ocis.net>.
6841 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
6842 * sysdeps/mips/fpu/fegetenv.c: Likewise.
6843 * sysdeps/mips/fpu/fesetenv.c: Likewise.
6844 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
6845 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
6847 2000-03-28 Andreas Jaeger <aj@suse.de>
6849 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
6850 declaration, the prototype is defined via bits/mathcalls.h.
6851 (__sincosf): Likewise.
6852 (__sincosl): Likewise.
6856 (__finite): Likewise.
6857 (__inline_mathcodeNP): New macro without prototype
6859 (__inline_mathcodeNP2): Likewise.
6860 (__inline_mathcodeNP3): Likewise.
6861 (__inline_mathcodeNP_): Likewise.
6862 (__inline_mathcodeNP2_): Likewise.
6863 (__inline_mathcodeNP3_): Likewise.
6864 (__inline_mathopNP): Likewise.
6865 (__inline_mathop_declNP): Likewise.
6866 (__inline_mathop_declNP_): Likewise.
6867 (__inline_mathcode_): Use __inline_mathcodeNP_.
6868 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
6869 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
6870 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
6871 (__expm1l): Don't define prototype, the prototype is defined via
6877 (__atan2l): Likewise.
6882 (__fabsl): Likewise.
6900 (__sqrtl): Likewise.
6910 2000-03-28 Ulrich Drepper <drepper@redhat.com>
6912 * Makerules: If make variable md5 is defined to yes after
6913 generating dependencies generate MD5 sum for the object.
6915 * iconv/gconv_builtin.h: Fix length in transformation definition
6918 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
6920 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
6921 allow as well reading from/writing to unaligned addresses on machines
6922 which don't support this in hardware. Use FCTNAME macro to define
6923 function name. Include the file a second time for platforms which
6924 need special unaligned handling.
6925 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
6926 to access potentially unaligned addresses. These macros are intended
6927 to be used only outside the loops.
6928 (unaligned): New definition. In case the machine can handle unaligned
6929 access define as zero. Otherwise as a variable which is initialized
6930 as nonzero in case the buffer passed in at runtime is unaligned with
6931 respect to the character set encoding involved.
6932 Call aligned or unaligned looop functions according to unaligned
6934 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
6935 of direct casting pointer to potentially handle unaligned memory
6937 * iconvdata/8bit-generic.c: Likewise.
6938 * iconvdata/ansi_x3.110.c: Likewise.
6939 * iconvdata/big5.c: Likewise.
6940 * iconvdata/euc-cn.c: Likewise.
6941 * iconvdata/euc-jp.c: Likewise.
6942 * iconvdata/euc-kr.c: Likewise.
6943 * iconvdata/euc-tw.c: Likewise.
6944 * iconvdata/gbk.c: Likewise.
6945 * iconvdata/iso-2022-cn.c: Likewise.
6946 * iconvdata/iso-2022-jp.c: Likewise.
6947 * iconvdata/iso-2022-kr.c: Likewise.
6948 * iconvdata/iso646.c: Likewise.
6949 * iconvdata/iso_6937-2.c: Likewise.
6950 * iconvdata/iso_6937.c: Likewise.
6951 * iconvdata/johab.c: Likewise.
6952 * iconvdata/sjis.c: Likewise.
6953 * iconvdata/t.61.c: Likewise.
6954 * iconvdata/uhc.c: Likewise.
6955 * iconvdata/unicode.c: Likewise.
6956 * iconvdata/utf-16.c: Likewise.
6958 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
6961 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
6962 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
6964 * malloc/mcheck.h (mcheck_check_all): Declare.
6966 * stdio-common/Makefile (tests): Add tst-obprintf.
6968 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
6970 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
6971 Declare pthread_sigmask.
6973 * csu/version.c: Add 2000 to copyright years.
6974 Remove Emacs local variables section.
6976 2000-03-23 Bruno Haible <haible@clisp.cons.org>
6978 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
6979 __gconv_transform_internal_ucs2little): Remove declarations.
6980 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
6981 __gconv_transform_internal_ucs2): Never need to bswap_16.
6982 (__gconv_transform_ucs2reverse_internal,
6983 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
6985 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
6987 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
6988 obsoleting version not being defined at all, in which case the
6989 result is always true.
6991 * Makeconfig (preprocess-versions): New canned sequence for running
6992 cpp on shlib-versions and the like.
6993 (soversions.i): Use it.
6994 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
6995 Versions.def and Versions files.
6997 2000-03-27 Ulrich Drepper <drepper@redhat.com>
6999 * stdio-common/tst-obprintf.c (main): Add another check to see
7000 obstack_printf handling all possible beginnings of the block
7001 inside an obstack chunk.
7003 * locale/programs/localedef.c: Use __malloc_initialize_hook to
7004 install mcheck handler.
7006 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
7009 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
7011 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
7013 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
7014 on [HAVE_ELF && DO_VERSIONING].
7016 2000-03-27 Ulrich Drepper <drepper@redhat.com>
7018 * stdio-common/tst-obprintf.c: New file.
7020 2000-03-26 Ulrich Drepper <drepper@redhat.com>
7022 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
7023 _IO_OVERFLOW directly instead through __overflow.
7025 * locale/programs/localedef.c (construct_output_path): If path
7026 contains a / compute the end of the directory name correctly.
7028 * include/features.h: Undef and document __USE_XOPEN2K.
7030 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
7031 whenever a function is called. Initiated by calling mcheck_pedantic
7033 * malloc/mcheck.h: Declare mcheck_pedantic.
7034 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
7035 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
7038 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
7040 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
7041 * dlfcn/dlopenold.c: Likewise.
7042 * nss/getXXbyYY_r.c: Likewise.
7043 * nss/getXXent_r.c: Likewise.
7044 * hurd/hurdinit.c: Likewise.
7045 * hurd/compat-20.c: Likewise.
7046 * libio/oldiofopen.c: Likewise.
7047 * libio/oldiofclose.c: Likewise.
7048 * libio/oldiofdopen.c: Likewise.
7049 * libio/oldfileops.c: Likewise.
7050 * libio/oldstdfiles.c: Likewise.
7051 * libio/oldiofsetpos.c: Likewise.
7052 * libio/oldiofgetpos.c: Likewise.
7053 * libio/oldiofgetpos64.c: Likewise.
7054 * libio/oldiofsetpos64.c: Likewise.
7055 * libio/oldiopopen.c: Likewise.
7056 * libio/oldpclose.c: Likewise.
7057 * libio/oldtmpfile.c: Likewise.
7058 * libio/freopen.c (freopen): Likewise.
7059 * libio/iofclose.c (_IO_new_fclose): Likewise.
7061 * sysdeps/mach/sys/reboot.h: Include <features.h>.
7062 (reboot): Declare it.
7064 * libio/Makefile (headers): Add bits/stdio-lock.h here.
7066 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
7068 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
7070 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
7071 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
7072 We need this for the sbrk decl, which can be included without Unix98.
7074 2000-03-20 Richard Henderson <rth@cygnus.com>
7076 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
7077 argument to yperr2nss is an int, not size_t.
7078 * posix/regex.c (print_partial_compiled_pattern): Cast all
7079 ptrdiff_t to long for printing.
7080 (print_compiled_pattern): Use Z for printing size_t.
7081 * posix/testfnm.c (tests): Avoid trigraphs.
7082 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
7083 Use a C comment, not an assembly comment.
7085 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
7086 of __ASSUME_32BITUIDS.
7088 2000-03-26 Ulrich Drepper <drepper@redhat.com>
7090 * libio/iofopncook.c: Remove K&R prototypes.
7092 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
7094 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
7095 an initial value of 1024 instead of RLIM_INFINITY.
7097 * Versions.def (libmachuser, libhurduser): Remove these sections,
7098 since these libraries do not presently use symbol versions.
7100 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
7101 is RLIM_INFINITY, return -1 instead.
7103 2000-03-24 Andreas Jaeger <aj@suse.de>
7105 * Makefile (postclean): Added soversions.i.
7107 2000-03-24 Scott Bambrough <scottb@netwinder.org>
7109 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
7110 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
7111 and _FPU_IEEE. Change _FPU_RESERVED.
7113 2000-03-24 Scott Bambrough <scottb@netwinder.org>
7115 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
7117 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
7119 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
7120 (gaih_inet): Remove unused duplicate variable.
7122 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
7123 Don't use __libc_sa_len, which only exists for Linux. Just handle
7124 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
7125 only flavors supported by this function anyway.
7127 2000-03-24 Geoff Clare <gwc@unisoft.com>
7129 * stdlib/strfmon.c: Corrected problems with missing signs and
7130 missing or extra spaces; allow for sign strings longer than
7131 one character; add padding to ensure positive and negative
7132 formats are aligned when a left precision is used.
7134 2000-03-26 Ulrich Drepper <drepper@redhat.com>
7136 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
7137 Patch by John Mizel <John.Mizel@msdw.com>.
7139 2000-03-25 Ulrich Drepper <drepper@redhat.com>
7141 * manual/install.texi: Remove references to crypt add-on.
7143 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
7145 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
7146 section while taking the _hurd_rlimit_lock.
7147 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
7149 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
7151 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
7154 * sysdeps/mach/hurd/if_index.c: New file.
7156 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
7157 * sysdeps/gnu/net/if.h: here.
7158 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
7159 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
7160 * sysdeps/generic/net/if.h: New file. Declares just the standard
7161 functions and `struct if_nameindex' type.
7162 * socket/Makefile (headers): Add net/if.h here.
7163 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
7164 * sysdeps/mach/hurd/Dist: Remove it here.
7165 * sysdeps/unix/sysv/linux/Dist: And here.
7166 * sysdeps/generic/if_index.c: Include <net/if.h>.
7168 2000-03-24 Andreas Jaeger <aj@suse.de>
7170 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
7171 access relocated entries in l_info.
7172 (elf_machine_got_rel): Likewise.
7173 (elf_machine_runtime_setup): Likewise.
7174 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
7175 (elf_machine_runtime_setup): Likewise.
7176 (__dl_runtime_resolve): Likewise.
7178 2000-03-23 Ulrich Drepper <drepper@redhat.com>
7180 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
7181 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
7182 according to RFC 2553.
7183 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
7184 * inet/getnameinfo.c: Likewise.
7185 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
7187 2000-03-23 Bruno Haible <haible@clisp.cons.org>
7189 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
7190 Remove no-op pointer increment.
7192 2000-03-23 Andreas Jaeger <aj@suse.de>
7194 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
7195 follow change for libio.h from 2000-03-10.
7197 2000-03-23 Andreas Jaeger <aj@suse.de>
7199 * elf/dl-addr.c: Adjust include paths for ldsodefs location
7201 * elf/dl-debug.c: Likewise.
7202 * elf/dl-deps.c: Likewise.
7203 * elf/dl-error.c: Likewise.
7204 * elf/dl-fini.c: Likewise.
7205 * elf/dl-init.c: Likewise.
7206 * elf/dl-load.c: Likewise.
7207 * elf/dl-lookup.c: Likewise.
7208 * elf/dl-minimal.c: Likewise.
7209 * elf/dl-object.c: Likewise.
7210 * elf/dl-open.c: Likewise.
7211 * elf/dl-preinit.c: Likewise.
7212 * elf/dl-profile.c: Likewise.
7213 * elf/dl-profstub.c: Likewise.
7214 * elf/dl-reloc.c: Likewise.
7215 * elf/dl-runtime.c: Likewise.
7216 * elf/dl-support.c: Likewise.
7217 * elf/dl-symbol.c: Likewise.
7218 * elf/dl-version.c: Likewise.
7219 * elf/rtld.c: Likewise.
7220 * elf/sprof.c: Likewise.
7221 * sysdeps/generic/dl-cache.c: Likewise.
7222 * sysdeps/generic/dl-origin.c: Likewise.
7223 * sysdeps/generic/dl-sysdep.c: Likewise.
7224 * sysdeps/generic/elf/backtracesyms.c: Likewise.
7225 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7226 * sysdeps/generic/libc-start.c: Likewise.
7227 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7228 * sysdeps/powerpc/dl-machine.c: Likewise.
7229 * sysdeps/powerpc/elf/libc-start.c: Likewise.
7230 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7231 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7232 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
7234 * elf/ldsodefs.h: Move file to ...
7235 * sysdeps/generic/ldsodefs.h: ... here.
7237 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
7239 * sysdeps/mips/elf/ldsodefs.h: New file.
7241 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
7243 (_dl_check_map_versions): Likewise.
7244 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7245 * elf/dl-load.c (_dl_init_paths): Likewise.
7246 (_dl_map_object): Likewise.
7247 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
7248 (elf_get_dynamic_info): Likewise.
7249 * elf/do-lookup.h (FCT): Likewise.
7250 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
7251 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7252 * elf/dl-addr.c (_dl_addr): Likewise.
7253 * elf/dl-runtime.c (profile_fixup): Likewise.
7255 * elf/dl-init.c (_dl_init_next): Likewise.
7256 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
7257 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
7258 (DISTINGUISH_LIB_VERSIONS): Likewise.
7259 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
7260 (elf_machine_rel): Likewise.
7262 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
7263 for writable dynamic section.
7265 2000-03-22 Ulrich Drepper <drepper@redhat.com>
7267 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
7268 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
7270 2000-03-22 Andreas Jaeger <aj@suse.de>
7272 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
7273 from latest Linux kernel.
7275 2000-03-21 Andreas Jaeger <aj@suse.de>
7277 * Versions.def: Add version 2.1.4.
7279 2000-03-21 Ulrich Drepper <drepper@redhat.com>
7281 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
7282 * libio/oldiofopen.c: Likewise.
7283 * libio/oldiofclose.c: Likewise.
7284 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
7286 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
7288 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
7289 indicating the first version set to obsolete the conditionalized code.
7290 (compat_symbol): New macro.
7291 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
7292 rhs be the ABI_* macro for the subsuming version. Assign increasing
7293 integer values to the ABI_* macros for supported versions.
7294 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
7295 compat_symbol macro.
7297 2000-03-21 Ulrich Drepper <drepper@redhat.com>
7299 * nscd/connections.c (nscd_run): Pretty print.
7300 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
7302 * manual/charset.texi: Fix typos. Rephrase.
7303 * manual/process.texi: Likewise.
7304 * manual/signal.texi: Likewise.
7305 Patches by Mike Coleman <mkc@kc.net>.
7307 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
7309 * libio/iofdopen.c: Likewise.
7310 * libio/iofgetpos.c: Likewise.
7311 * libio/iofgetpos64.c: Likewise.
7312 * libio/iofopen.c: Likewise.
7313 * libio/iofsetpos.c: Likewise.
7314 * libio/iofsetpos64.c: Likewise.
7315 * libio/iopopen.c: Likewise.
7316 * libio/oldiofopen.c: Likewise.
7317 * libio/pclose.c: Likewise.
7318 * sysdeps/gnu/siglist.c: Likewise.
7319 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
7321 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
7322 chance to expand VERSION_##lib##_##version.
7324 * libio/fileops.c: Use new macros from shlib-compat.h to define
7326 * libio/iofclose.c: Likewise.
7327 * libio/oldiofclose.c: Likewise.
7328 Patch by Roland McGrath <roland@frob.com>.
7330 2000-03-21 Jakub Jelinek <jakub@redhat.com>
7332 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
7333 Lay out struct sigcontext according to what really gets passed on
7335 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
7336 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
7337 (prgregset_t, prfpregset_t): Define to elf_* types.
7338 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
7339 Define to correct value.
7340 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
7342 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
7344 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
7346 * scripts/firstversions.awk: Allow multiple version sets in the
7347 "earliest version" specification, meaning that version sets in the
7348 gaps between listed versions should be folded into the earliest later
7349 version that is explicitly listed.
7350 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
7351 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
7353 2000-03-21 Ulrich Drepper <drepper@redhat.com>
7355 * iconv/gconv_builtin.c: Include <endian.h>.
7356 * iconv/gconv_builtin.h: Add UCS-BE aliases.
7357 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
7358 according to current platform.
7359 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
7360 __gconv_transform_internal_ucs2reverse, and
7361 __gconv_transform_internal_ucs4le.
7362 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
7363 __gconv_transform_ucs2reverse_internal and
7364 __gconv_transform_internal_ucs2reverse.
7365 * iconvdata/Makefile (modules): Add UNICODE.
7366 (distribute): Add unicode.c.
7367 * iconvdata/gconv-modules: Add definitions for UNICODE module.
7368 * iconvdata/unicode.c: New file.
7370 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
7371 determine byte order of input and convert accordingly.
7373 * iconvdata/utf-16.c (gconv_init): Fix typo.
7375 2000-03-20 Ulrich Drepper <drepper@redhat.com>
7377 * iconvdata/gconv-modules: Fix typo.
7379 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
7382 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
7384 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
7386 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
7388 2000-03-20 Ulrich Drepper <drepper@redhat.com>
7390 * misc/Makefile (routines): Add mincore.
7392 2000-03-20 Andreas Jaeger <aj@suse.de>
7394 * sysdeps/generic/mincore.c: New stub file.
7396 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
7397 from latest Linux kernel.
7399 2000-03-20 Ulrich Drepper <drepper@redhat.com>
7401 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
7402 _SC_GETPW_R_SIZE_MAX.
7404 2000-03-20 Richard Henderson <rth@cygnus.com>
7406 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
7409 2000-03-20 Richard Henderson <rth@cygnus.com>
7411 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
7412 of arithmetic instructions.
7414 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
7415 with the fpcr. Protect from INV exception.
7416 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
7417 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
7418 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
7420 * sysdeps/alpha/fpu/s_copysign.c: New.
7421 * sysdeps/alpha/fpu/s_copysignf.c: New.
7422 * sysdeps/alpha/fpu/s_fabs.c: New.
7423 * sysdeps/alpha/fpu/s_fabsf.c: New.
7424 * sysdeps/alpha/fpu/s_rint.c: New.
7425 * sysdeps/alpha/fpu/s_rintf.c: New.
7427 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
7429 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
7431 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
7432 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
7433 Use physical addresses not KSEG addresses.
7434 (io_system): Add PYXIS.
7435 (io): Remove hae.reg, sys, hae_shift.
7436 (stb_mb, stw_mb, stl_mb, __sethae): New.
7437 (inline_outb, inline_outw, inline_outl): Don't set hae.
7438 (inline_inb, inline_inw, inline_inl): Likewise.
7439 (dense_sethae): New null function.
7440 (struct cpuinfo_data): New.
7441 (process_cpuinfo): Use local and stack variables, not static.
7442 Move readlink check here from init_iosys.
7443 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
7445 (_hae_shift): Calculate it here.
7446 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
7447 add pciconfig_iobase.
7449 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
7451 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
7452 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
7454 * scripts/versions.awk: Fixed version renaming code to distinguish
7457 2000-03-19 Ulrich Drepper <drepper@redhat.com>
7459 * include/stdlib.h: Add prototype for __cxa_atexit.
7461 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
7462 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
7464 2000-03-17 Cristian Gafton <gafton@redhat.com>
7466 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
7467 existing rtld-installed-name.
7468 ($(rtld-installed-name)): Request libc-$(version) be installed too.
7469 replace existing rtld-installed-name using $(symbolic-link-prog).
7471 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
7473 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
7474 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
7475 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
7478 2000-03-19 Ulrich Drepper <drepper@redhat.com>
7480 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
7481 glob64. Since there is no glob64 in the LFS proposal applications
7482 can assume that glob handles LFS situations. glob64 is only needed
7483 if alternative filesystem functions are used.
7485 2000-03-19 Geoff Clare <gwc@unisoft.com>
7487 * sysdeps/generic/glob.c: Correct gl_pathc value returned
7488 when GLOB_DOOFFS is set; correct handling of patterns
7489 containing escaped wildcards (and no unescaped ones);
7490 GLOB_ERR flag was being ignored in some situations.
7492 * posix/globtest.c, posix/globtest.sh: Updated to include
7493 tests for the problems fixed by the above changes to glob.c.
7495 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
7497 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
7499 * Makeconfig (soversion.i): Use only first match for each lib.
7501 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
7503 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
7504 rather than $(sysd-dirs-done) to protect these rules.
7506 * Makerules (version-renames.def): Target removed.
7507 (Versions.all): Depend on soversions.i directly and parse it.
7509 * Makeconfig (soversions.i): New target, input-reading parts of
7510 soversions.mk generation moved here; result is a canonicalized
7511 list "LIB VERSION [SET]" for this configuration.
7512 (soversions.mk): Use that as input. Don't emit map-firstversions.
7513 * Makerules (version-renames.def): New target, generated from
7514 soversions.i with contents that was in $(map-firstversions).
7515 (Versions.all): Don't depend on soversions.mk, depend on
7516 version-renames.def instead; just cat it into the input.
7518 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
7519 for $(map-firstversions), which better handles it being empty.
7521 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
7522 supported version for libc 0.2.90.libio to GLIBC_2.2.
7524 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
7525 and use it to emit new variable `map-firstversions'.
7526 * scripts/firstversions.awk: New file.
7527 * Makerules (Versions.all): Use scripts/firstversions.awk and
7528 the $(map-firstversions) value to generate a modified versions list
7529 that includes renames in "A = B" syntax for each version set earlier
7530 than the "earliest symbol version" named in shlib-versions.
7531 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
7532 rename version set A to B in the output to the intermediate file.
7533 * scripts/abi-versions.awk: New file.
7534 * Makerules (abi-versions.h): New target, generated by that script.
7535 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
7536 * include/shlib-compat.h: New file, uses that generated header.
7538 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
7540 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
7541 after stripping # comments, and then run it through cpp.
7542 This allows things like "%ifdef FOO" based on config.h settings.
7543 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
7545 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
7546 and other errors that indicate a pseudo-receive happened, grok through
7547 the message buffer for port rights that need references fixed up.
7549 2000-03-16 Andreas Jaeger <aj@suse.de>
7551 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
7553 * sysdeps/unix/sysv/linux/madvise.c: Remove.
7555 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
7556 from latest Linux kernel.
7557 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
7559 * misc/sys/mman.h: Add prototype for mincore.
7561 2000-03-17 Ulrich Drepper <drepper@redhat.com>
7563 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
7564 entry for GLIBC_2.0 version of setrlimit.
7565 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7567 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
7569 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
7570 * nis/nss_compat/compat-initgroups.c: Likewise.
7571 * nis/nss_nis/nis-initgroups.c: Likewise.
7572 * nis/nss_nis/nis-netgrp.c: Likewise.
7573 * nis/nss_nis/nis-proto.c: Likewise.
7574 * nis/nss_nis/nis-rpc.c: Likewise.
7575 * nis/nss_nis/nis-service.c: Likewise.
7576 * nis/ypclnt.c: Likewise.
7578 2000-03-16 Andreas Jaeger <aj@suse.de>
7580 * manual/Makefile: MAKEINFO is set to `:' from configure if it
7581 doesn't exist, correct checks. Fixes PR libc/1649.
7583 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
7585 * nscd/hstcache.c: Restore correct UID.
7586 * nscd/pwdcache.c: Likewise.
7587 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
7589 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
7591 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
7592 macros for register names, in line with 2000-03-14 linux change.
7594 * sysdeps/mach/sched_yield.c: New file.
7596 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
7598 * sysdeps/generic/lockfile.c: Include <stdio.h>
7599 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
7600 case <libio.h> defined them.
7601 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
7603 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
7604 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
7606 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
7607 for more pleasing parse error.
7609 2000-03-16 Ulrich Drepper <drepper@redhat.com>
7611 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
7613 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7615 * elf/Makefile: Add rules to compile and run constload1 test.
7616 * elf/constload1.c: New file.
7617 * elf/constload2.c: New file.
7618 * elf/constload3.c: New file.
7620 2000-03-15 Ulrich Drepper <drepper@redhat.com>
7622 * sysdeps/posix/open64.c: Make __open64 weak alias.
7623 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
7624 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7625 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
7626 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7627 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
7628 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
7629 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7630 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
7631 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7632 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
7634 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7636 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
7637 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
7639 2000-03-16 Mark Kettenis <kettenis@gnu.org>
7641 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
7642 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
7644 2000-03-08 Andreas Jaeger <aj@suse.de>
7646 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
7648 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7650 * timezone/africa: Update from tzdata2000d.
7651 * timezone/asia: Likewise.
7652 * timezone/australasia: Likewise.
7653 * timezone/europe: Likewise.
7654 * timezone/northamerica: Likewise.
7655 * timezone/southamerica: Likewise.
7657 * po/fr.po: Update from translation team.
7658 * po/de.po: Likewise.
7660 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
7661 last parameter. Move code to add map to global scope from here...
7662 * elf/dl-open.c (dl_open_worker): ...here.
7663 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
7664 * elf/rtld.c: Adjust call to _dl_map_object_deps.
7666 * locale/programs/ld-collate.c (collate_read): Fix warning.
7668 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
7669 values and macros for register names.
7671 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
7672 returned by seek cookie function is -1.
7674 2000-03-14 Andreas Jaeger <aj@suse.de>
7676 * locale/localeconv.c (localeconv): Fix typo.
7677 Reported by Andre Charbonneau <andrec@corel.com>.
7679 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7681 * iconv/skeleton.c: Increment __invocation_counter in inner loop
7682 since modules depend on it counting the number of times the conversion
7683 function got called.
7685 * iconv/gconv_open.c: Optimize loop to setup step data structure.
7687 * iconv/gconv.h: Pretty print.
7689 2000-03-04 Ulrich Drepper <drepper@redhat.com>
7691 * posix/wordexp-test.c: Correct one of the tests added in the last
7692 change. Really get the root passwd entry to check again ~root.
7694 2000-03-10 Andreas Jaeger <aj@suse.de>
7696 * manual/filesys.texi (Working Directory): Fix last patch.
7697 Patch by Martin Buchholz <martin@xemacs.org>.
7699 2000-03-10 Andreas Jaeger <aj@suse.de>
7701 * manual/creature.texi (Feature Test Macros): Fix language.
7703 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
7705 * mach/devstream.c (devstream_write, devstream_read): New functions.
7706 (input, output): Functions removed.
7707 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
7708 using only the vanilla fopencookie interface.
7710 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
7711 as macro for __io_functions.
7712 (funcsio): Use cookie_io_functions_t type name.
7713 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
7715 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
7717 (fopencookie): Use it.
7718 * libio/libio.h: Declare _IO_cookie_init.
7719 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
7722 * libio/libio.h (__io_seek_fn): Fix second argument type
7723 to be a pointer, in line with the manual and the old stdio.
7724 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
7726 * sysdeps/generic/bits/stdio-lock.h: New file.
7727 This is a stub with #error, but that's better than no file at all.
7729 2000-03-09 Martin Buchholz <martin@xemacs.org>
7731 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
7732 * manual/message.texi (Using gettextized software): Doc Fixes.
7733 * manual/message.texi (Message Translation): Doc Fixes.
7734 * manual/filesys.texi (File Size): Doc Fixes.
7735 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
7736 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
7737 * iconv/gconv_db.c (find_derivation): Doc Fixes.
7738 * manual/install.texi: Doc Fixes.
7739 * manual/search.texi (Hash Search Function): Doc Fixes.
7740 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
7741 * FAQ.in: Doc Fixes.
7742 * config.h.in: Doc Fixes.
7743 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
7744 Doc Fixes. `allows to' is not correct English.
7746 * elf/rtld.c: Doc fixes.
7747 * manual/creature.texi (Feature Test Macros): Doc fixes.
7748 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
7750 * manual/filesys.texi (Working Directory): Check for ERANGE to
7753 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
7755 * string/argz-stringify.c (__argz_stringify): Fix loop termination
7756 conditions so as not to clobber the final '\0' when there is only one
7757 element in the vector.
7759 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
7761 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
7762 broken by 2000-02-27 change.
7764 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
7766 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
7768 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
7769 argument type, for 2000-02-22 change in signal/signal.h declaration.
7771 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
7773 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
7774 to getdirentries64 (no __), since the Linux implementation
7775 has no __ name, and there is no declaration for the __ name.
7777 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
7779 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
7780 sed regexp so as not to break directory names including /../ within.
7782 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
7783 The sysdeps/generic file is right for BSD. This file was in fact the
7784 Hurd file, but the only difference was the WNOREAP flag that was never
7785 actually implemented or used anywhere.
7787 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
7788 since AC_PATH_PROG already does it for us.
7789 (PERL): Rewrite check added in 2000-02-29 change for syntactic
7790 correctness and sh portability. I replaced the broken check
7791 with a more sensible implementation of the apparently intended
7792 semantics, which might still be questionable. Using expr causes
7793 a non-numeric value for `perl -V:apiversion` to be accepted,
7794 refusing to use only a perl that reports a number less than 5;
7795 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
7796 * configure: Regenerated.
7798 2000-03-08 Andreas Jaeger <aj@suse.de>
7800 * manual/crypt.texi: Fix paths.
7802 2000-03-07 Andreas Jaeger <aj@suse.de>
7804 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
7806 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
7809 2000-03-06 Andreas Jaeger <aj@suse.de>
7811 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
7812 in __sgn1l, otherwise g++ fails to parse this.
7813 Reported by Sean Chen <sean.chen@turbolinux.com>.
7815 2000-03-03 Geoff Keating <geoffk@cygnus.com>
7817 * configure.in: Compute sizeof-long-double.
7818 * configure: Regenerated.
7819 * config.make.in: Make sizeof-long-double available to sub-makes.
7821 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
7823 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
7826 2000-03-03 Geoff Keating <geoffk@cygnus.com>
7828 * Makeconfig (rpath-dirs): Add crypt.
7829 (all-subdirs): Remove md5crypt.
7830 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
7831 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
7832 * sysdeps/generic/crypt-entry.c: Delete.
7833 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
7834 * sysdeps/generic/crypt.h: Delete.
7835 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
7836 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
7837 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
7838 * sysdeps/generic/des_impl.c: Delete.
7839 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
7840 * crypt/sysdeps: Delete.
7841 * crypt/crypt_util.c: Don't use `patchlevel.h'.
7842 * md5-crypt/Versions: Move to crypt/.
7843 * md5-crypt/md5-crypt.c: Move to crypt/.
7844 * md5-crypt/md5.c: Move to crypt/.
7845 * md5-crypt/md5c-test.c: Move to crypt/.
7846 * md5-crypt/md5test.c: Move to crypt/.
7847 * md5-crypt: Delete.
7848 * crypt/Makefile: Adjust for new structure.
7850 2000-03-03 Paul Eggert <eggert@twinsun.com>
7852 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
7853 define to 1 if not defined.
7855 2000-03-03 Andreas Jaeger <aj@suse.de>
7857 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
7859 2000-03-03 Andreas Jaeger <aj@suse.de>
7861 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
7863 (xdr_int64_t): Correctly handle lower half.
7864 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
7866 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
7868 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
7871 2000-03-02 Andreas Jaeger <aj@suse.de>
7873 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
7876 2000-03-02 Andreas Jaeger <aj@suse.de>
7878 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
7880 2000-03-01 Andreas Jaeger <aj@suse.de>
7882 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
7883 (tests): Added tst-getdate.
7885 * time/tst-getdate.c: New file.
7887 * time/datemsk: New file, needed for tst-getdate.
7889 2000-02-29 Cristian Gafton <gafton@redhat.com>
7891 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
7893 2000-02-17 H.J. Lu <hjl@gnu.org>
7895 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
7897 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
7899 (svcudp_recv): Set up message with the new "xp_pad" field for
7901 (svcudp_reply): Support IP_PKTINFO if available.
7903 2000-03-01 Andreas Jaeger <aj@suse.de>
7905 * time/getdate.c (check_mday): Fix check for february.
7906 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
7907 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
7909 2000-03-02 Andreas Jaeger <aj@suse.de>
7911 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
7912 g++ fails to parse this.
7913 Reported by Sean Chen <sean.chen@turbolinux.com>.
7915 2000-02-28 Ulrich Drepper <drepper@redhat.com>
7917 * io/creat.c: Moved to...
7918 * sysdeps/generic/creat.c: ...here.
7919 * io/creat64.c: Moved to...
7920 * sysdeps/generic/creat64.c: ...here.
7921 * io/lockf.c: Moved to...
7922 * sysdeps/generic/lockf.c: ...here.
7924 * crypt/crypt.texi: Moved to...
7925 * manual/crypt.texi: ...here.
7926 * crypt/examples/genpass.c: Moved to...
7927 * manual/examples/genpass.c: ...here.
7928 * crypt/examples/mygenpass.c: Moved to...
7929 * manual/examples/mygenpass.c: ...here.
7930 * crypt/examples/testpass.c: Moved to...
7931 * manual/examples/testpass.c: ...here.
7933 * manual/Makefile (chapters): Add crypt.
7934 * manual/conf.texi: Add usual header for not-last chapter.
7935 * manual/crypt.texi: Add special header for last chapter.
7937 2000-02-28 Geoff Keating <geoffk@cygnus.com>
7939 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
7940 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
7941 complain if there is no crypt add-on.
7942 * crypt/configure: Removed.
7944 * crypt/crypt.texi: Update documentation of US export restrictions
7945 to match the 14 Jan 2000 regulations.
7947 2000-02-28 Geoff Keating <geoffk@cygnus.com>
7949 * crypt: New subdirectory, merged in from the crypt add-on.
7951 2000-02-28 Ulrich Drepper <drepper@redhat.com>
7953 * include/unistd.h: Add __rmdir and __mkdir prototypes.
7956 See ChangeLog.10 for earlier changes.