1 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3 * resolv/res_init.c: Add support for nameserver communication with
5 * resolv/res_send.c: Likewise.
6 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
8 Patch by <venaas@nvg.ntnu.no>.
10 2000-07-25 Bruno Haible <haible@clisp.cons.org>
12 * locale/programs/ld-ctype.c (wctype_table_get): New function.
13 (wcwidth_table_get): New function.
14 (wcwidth_table_add): Call it.
15 (wctrans_table_get): New function.
16 (wctrans_table_add): Call it.
18 2000-07-25 Ulrich Drepper <drepper@redhat.com>
20 * rt/lio_listio.c (lio_listio): Always disable individual
22 * rt/Makefile: Add rules to build and run tst-aio2.
23 * rt/tst-aio2.c: New file.
25 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
26 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
28 2000-07-25 Mark Kettenis <kettenis@gnu.org>
30 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
31 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
32 leading and trailing spaces from host, user and domain name.
34 2000-07-25 Jes Sorensen <jes@linuxcare.com>
36 * csu/defs.awk: Add support for need_endp.
38 2000-07-25 Mark Kettenis <kettenis@gnu.org>
40 * resolv/resolv.h: Remove __P from res_send_qhook and
41 res_send_rhook typedefs.
43 2000-07-25 Bruno Haible <haible@clisp.cons.org>
45 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
47 2000-07-25 Ulrich Drepper <drepper@redhat.com>
49 * iconv/gconv_builtin.h: Add WCHAR_T alias.
51 2000-07-25 Mark Kettenis <kettenis@gnu.org>
53 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
54 calling thread, set the cancellation flag and return success
57 2000-07-25 Ulrich Drepper <drepper@redhat.com>
59 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
60 * libio/tst-widetext.c: New file.
61 * libio/tst-widetext.input: New file.
63 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
65 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
66 empty external buffer correctly.
68 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
70 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
71 __STRING(entry) and not #entry.
72 (_RTLD_EPILOGUE): Likewise.
73 * sysdeps/mips/mips64/dl-machine.h: Likewise.
75 2000-07-25 Andreas Jaeger <aj@suse.de>
77 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
78 according to changes in test program, run also with static only
80 ($(objpfx)tst-printf.out): Likewise.
82 * stdio-common/tst-unbputc.sh: Likewise.
83 * stdio-common/tst-printf.sh: Likewise.
85 2000-07-25 Ulrich Drepper <drepper@redhat.com>
87 * libio/wfileops.c (_IO_wdo_write): Correct return value.
89 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
92 * libio/fileops.c: Pretty print.
94 2000-07-23 Bruno Haible <haible@clisp.cons.org>
96 * wctype/wchar-lookup.h: New file.
97 * wctype/iswctype.c: Include "wchar-lookup.h".
98 (__iswctype): Support alternate locale format with 3-level tables.
99 * wctype/iswctype_l.c (__iswctype_l): Likewise.
100 * wctype/towctrans.c (__towctrans): Likewise.
101 * wctype/towctrans_l.c (__towctrans_l): Likewise.
102 * wctype/wcfuncs.c: Include "wchar-lookup.h".
103 (__ctype32_wctype, __ctype32_wctrans): Declare external.
104 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
105 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
106 __iswxdigit, towlower, towupper): Support alternate locale format
108 * wctype/wcextra.c (iswblank): Likewise.
109 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
110 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
111 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
112 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
113 format with 3-level tables.
114 * wctype/wcextra_l.c (__iswblank_l): Likewise.
115 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
116 format, return a 3-level table pointer.
117 * wctype/wctype_l.c (__wctype_l): Likewise.
118 * wctype/wctrans.c (wctrans): Likewise.
119 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
120 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
121 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
122 (iswctype): Remove macro definition.
123 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
124 (internal_wcwidth): Support alternate locale format with 3-level
126 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
128 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
129 Define them as being type "word".
130 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
131 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
132 __ctype32_width): New exported variables.
133 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
134 alternate locale format. Don't initialize __ctype_names and
135 __ctype_width in the alternate locale format.
136 * locale/programs/localedef.h (oldstyle_tables): New declaration.
137 * locale/programs/localedef.c (oldstyle_tables): New variable.
138 (OPT_OLDSTYLE): New macro.
139 (options): Add --old-style option.
140 (parse_opt): Handle --old-style option.
141 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
142 map_offset, class_3level, map_3level, width_3level members.
143 (ctype_output): Support for alternate locale format: Computation of
144 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
145 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
146 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
147 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
148 now contain both class and map tables.
149 (struct wctype_table): New type.
150 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
152 (struct wcwidth_table): New type.
153 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
155 (struct wctrans_table): New type.
156 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
158 (allocate_arrays): Support for alternate locale format: Set
159 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
160 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
161 to the first 256 characters. Compute ctype->map_3level. Set
162 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
163 instead of ctype->width.
165 2000-07-24 Ulrich Drepper <drepper@redhat.com>
167 * libio/iogetwline.c (_IO_getwline_info): Use wide character
170 2000-07-24 Jakub Jelinek <jakub@redhat.com>
172 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
173 in wide characters, not bytes.
174 * libio/tst_putwc.c (do_test): Add test for writing lots of data
177 2000-07-22 Bruno Haible <haible@clisp.cons.org>
179 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
180 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
181 LC_MEASUREMENT, LC_IDENTIFICATION.
183 * locale/xlocale.h (struct __locale_struct): Increase size of
185 * locale/duplocale.c (__duplocale): Copy newly added categories as
187 * locale/freelocale.c (__freelocale): Free newly added categories.
188 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
189 If a base is given, use it, don't simply return it.
191 2000-07-22 Bruno Haible <haible@clisp.cons.org>
193 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
194 variables, copied_key and copied_salt, instead of boolean variables.
196 2000-07-24 Andreas Jaeger <aj@suse.de>
198 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
201 * grp/initgroups.c (initgroups_dyn_function): Renamed from
202 initgroups_function, adopted prototype for change from 2000-07-23.
203 (initgroups): Follow type change.
205 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
206 & PAGE_MASK case, reformat.
208 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
209 from stdin and setup environment.
211 2000-07-24 Andreas Schwab <schwab@suse.de>
213 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
215 2000-07-23 Ulrich Drepper <drepper@redhat.com>
217 * string/endian.h: Explain the _*_ENDIAN constant values a bit
218 more. Patch by scarlet@mit.edu [PR libc/1799].
220 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
223 * argp/argp-parse.c (parser_finalize): Reverse order in which
224 parsers are run for ARGP_KEY_END. [PR libc/1755].
226 * grp/initgroups.c (initgroups): Don't limit the possible number
227 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
228 the setgroups call while the call fails and descrease the number
229 of groups each round.
230 The name of the initgroups function in the NSS modules changed.
231 (compat_call): Adapt for dynamic resizing.
232 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
233 Implement dynamic resizing.
234 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
236 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
237 * hesiod/Versions: Change exported interface name.
238 * nis/Versions: Change exported interface name.
240 2000-07-23 Ulrich Drepper <drepper@redhat.com>
242 * locale/iso-639.def: Some errors corrected.
243 Patch by Keld Simonsen.
245 * include/limits.h: Update non-gcc portion.
246 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
248 2000-07-22 Mark Kettenis <kettenis@gnu.org>
250 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
251 program's data space, reallocate only the space that was just
252 deallocated to release its backing space.
254 2000-07-23 Ulrich Drepper <drepper@redhat.com>
256 * stdio-common/vfprintf.c (process_string_arg): For wide character
257 version, handle precision also correctly.
259 * nss/nss_files/files-hosts.c: Correct problem with three or more
260 entries with the same name.
262 * nss/nss_files/files-hosts.c: Implement multi handling.
263 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
265 2000-07-22 Ulrich Drepper <drepper@redhat.com>
267 * nss/nss_files/files-parse.c: Don't pollute namespace by using
270 * grp/Makefile: Change Makefiles and tests to run only when necessary.
271 * malloc/Makefile: Likewise.
272 * malloc/tst-mtrace.sh: Likewise.
273 * posix/Makefile: Likewise.
274 * posix/globtest.sh: Likewise.
275 * posix/wordexp-tst.sh: Likewise.
276 * string/Makefile: Likewise.
278 2000-07-22 Mark Kettenis <kettenis@gnu.org>
280 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
281 size instead of LC_ALL to take into account the new locale
284 2000-07-22 Ulrich Drepper <drepper@redhat.com>
286 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
287 remainders of hash table.
288 * locale/categories.def: Remove remainders of transliteration
290 * locale/langinfo.h: Likewise.
291 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
292 transliteration tables.
294 * locale/gen-translit.pl: New file.
295 * locale/C-translit.h.in: New file.
296 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
297 data pointers with data from this file.
298 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
300 Add rule to generate C-translit.h.
301 * intl/tst-translit.c (main): Update for now performed
304 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
305 (it's no input error).
306 * stdio-common/tstscanf.c: Add test case for format %f with input --.
307 * stdio-common/scanf12.c: Correct expected result for first scanf.
309 * stdio-common/vfprintf.c (process_string_arg): Correct handling
310 of multibyte character strings in %s format with precision.
312 2000-07-21 Ulrich Drepper <drepper@redhat.com>
314 * locale/programs/ld-collate.c (collate_read): Allow collating
315 symbols and elements be named in reorder-after instructions.
316 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
318 * locale/programs/ld-collate.c (handle_ellipsis): Test for
319 duplication with generated name, not the name of the first
321 Patch by Yong Li <yong.li@asu.edu>.
323 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
324 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
326 2000-07-21 Wolfram Gloger <wg@malloc.de>
328 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
329 allocations only if a non-main arena cannot be extended.
331 2000-07-21 Ulrich Drepper <drepper@redhat.com>
333 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
334 in DF_1_NODEFLIB handling.
336 2000-07-21 Andreas Jaeger <aj@suse.de>
338 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
341 * libio/fwide.c: Include <wchar.h> for prototype.
343 2000-07-21 Greg McGary <greg@mcgary.org>
345 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
346 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
347 Define in terms of chunk_at_offset.
348 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
349 (next_bin, prev_bin): offset by size of real array elements.
350 (chunk_align): Make `m' a scalar, since that's how it's used.
352 2000-07-21 Greg McGary <greg@mcgary.org>
354 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
356 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
357 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
358 Wrap bounds around argv & envp and each of their string members.
359 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
360 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
361 symbol in BP_SYM (). Discard bounds of address arg.
362 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
363 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
364 Discard bounds on address arg, add bounds to return value.
366 2000-07-20 Ulrich Drepper <drepper@redhat.com>
368 * elf/Makefile (tests): Add filter. Add rules to generate filter.
369 * elf/filter.c: New file.
370 * elf/filtmod1.c: New file.
371 * elf/filtmod2.c: New file.
373 * elf/rtld.c: Define _dl_bind_not variable.
374 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
375 * elf/dl-support.c: Likewise.
376 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
377 * elf/dl-runtime.c (fixup): Don't remember looked up value if
379 (profile_fixup): Likewise.
381 * libio/Makefile (routines): Add fwide.
382 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
383 fwide now. Internal calls to _IO_fwide must do locking themselves
384 or don't need locking.
385 * libio/fwide.c: New file.
387 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
389 * elf/Makefile: Add no modules for nodelete test.
390 * elf/nodelmod3.c: New file.
391 * elf/nodelmod4.c: New file.
392 * elf/nodelete.c: Also test case where dependency of dlopen() object
395 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
396 * elf/nodlopen.c: New file.
397 * elf/nodlopenmod.c: New file.
398 * include/dlfcn.h: Define __RTLD_DLOPEN.
399 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
400 and this is a dlopen() call, do not load the binary.
401 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
402 * dlfcn/dlopenold.c: Likewise.
403 * configure.in: Add test for -z nodelete option.
404 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
406 2000-07-20 Mark Kettenis <kettenis@gnu.org>
408 Make Hesiod NSS module thread-safe.
410 * hesiod/README.hesiod: Update.
412 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
413 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
414 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
415 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
417 * hesiod/nss_hesiod/hesiod-init.c: New file.
418 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
419 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
420 * hesiod/nss_hesiod/nss_hesiod.h: New file.
421 * hesiod/nss_hesiod/hesiod-service.c
422 (_nss_hesiod_getservbyport_r): New function. Provide support for
423 looking up services by port number.
424 * hesiod/nss_hesiod/hesiod-proto.c: New file.
426 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
427 * hesiod/hesiod.h: Likewise.
428 * hesiod/hesiod_p.h: Likewise.
430 2000-07-20 Mark Kettenis <kettenis@gnu.org>
432 Fix problems with `struct __res_state' getting too big.
433 * resolv/resolv.h (struct __sockaddr_in): New definition.
434 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
435 the private parts of the structure to save some space.
436 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
437 (struct sockaddr_in *) in call to sock_eq.
438 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
440 2000-07-20 Ulrich Drepper <drepper@redhat.com>
442 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
443 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
445 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
446 to _dl_map_object. Return immediately if no object loaded.
447 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
448 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
449 if it exists into l_flags_1 word.
450 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
451 it to determine whether loading is wanted or not.
452 (_dl_map_object): Likewise.
453 Call _dl_map_object_from_fd with new parameter.
454 * sysdeps/generic/ldsodefs.h: Update prototype.
455 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
456 * elf/rtld.c: Likewise.
457 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
458 * elf/Makefile (tests): Add noload. Add rules to generate noload.
459 * elf/noload.c: New file.
460 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
461 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
462 * sysdeps/mips/bits/dlfcn.h: Likewise.
463 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
464 (tests-nodelete-yes): Define.
465 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
466 Add rules to build nodelete and modules.
467 * elf/nodelete.c: New file.
468 * elf/nodelmod1.c: New file.
469 * elf/nodelmod2.c: New file.
470 * configure.in: Add test for -z nodelete option.
471 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
473 * libio/Makefile (tests): Add tst_wprintf2.
474 (tst_wprintf2-ARGS): Define.
475 * libio/tst_wprintf2.c: New file.
476 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
478 * libio/wfiledoalloc.c: Only allocate external buffer if this
481 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
482 something in the buffer. gconv call can write up to end of the
483 buffer, not only _IO_write_end.
484 (_IO_wfile_overflow): Allocate also external buffer.
486 2000-07-19 Ulrich Drepper <drepper@redhat.com>
488 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
489 strings with precision in vfwprintf correctly.
490 * stdio-common/vfprintf.c: Fix completely broken handling of
491 unbuffered wide character streams.
492 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
494 * resolv/Makefile (distribute): Add README.
496 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
498 2000-07-18 Mark Kettenis <kettenis@gnu.org>
500 Update resolver code to BIND 8.2.3-T5B.
502 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
504 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
505 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
507 * resolv/Banner: BIND-8.2.3-T5B.
509 * resolv/base64.c: Update from BIND 8.2.3-T5B.
510 * resolv/herror.c: Likewise.
511 * resolv/inet_addr.c: Likewise.
512 * resolv/inet_net_ntop.c: Likewise.
513 * resolv/inet_net_pton.c: Likewise.
514 * resolv/inet_neta.c: Likewise.
515 * resolv/inet_ntop.c: Likewise.
516 * resolv/nsap_addr.c: Likewise.
517 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
518 IPv6 addresses (ISC bug #520).
520 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
521 * resolv/ns_parse.c: Likewise.
522 * resolv/ns_netint.c: Likewise.
523 * resolv/ns_samedomain.c: Likewise.
524 * resolv/ns_ttl.c: Likewise.
525 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
526 RCS ID in object file.
528 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
529 * resolv/res_mkquery.c: Likewise.
530 * resolv/res_query.c: Likewise.
531 * resolv/res_init.c: Likewise.
532 (res_setoptions): Mark internal.
533 * resolv/res_send.c: Likewise.
534 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
535 by using poll instead.
536 * resolv/res_comp.c: Likewise.
537 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
538 weak alias for __dn_expand.
539 * resolv/res_data.c: Likewise.
540 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
541 in _res.options. Avoids a potential security risk by avoiding a
543 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
544 res_mkquery, res_query, res_querydomain adn res_search weak
545 aliases for __res_mkquery, __res_query, __res_querydomain and
547 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
548 instead to avoid close(0).
549 (res_init): Always use the static resolver context.
550 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
551 alias for __res_init.
553 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
554 RES_SET_H_ERRNO and accompanying comment to...
555 * include/resolv.h: ... here.
557 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
558 * resolv/arpa/nameser_compat.h: Likewise.
560 2000-07-18 Ulrich Drepper <drepper@redhat.com>
562 * nss/makedb.c (main): Compare result of load_db with
563 NSS_STATUS_SUCCESS and not 0.
564 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
566 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
568 2000-07-18 Greg McGary <greg@mcgary.org>
570 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
571 (EXTEND_BUFFER): Use it.
573 2000-07-18 Ulrich Drepper <drepper@redhat.com>
575 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
576 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
577 __builtin_return_address.
578 * dlfcn/dlopenold.c: Likewise.
579 * dlfcn/dlsym.c: Likewise.
580 * dlfcn/dlvsym.c: Likewise.
581 * elf/dl-profstub.c: Likewise.
582 * malloc/malloc.c: Likewise.
583 * sysdeps/generic/machine-gmon.h: Likewise.
584 Based on a patch by schwidefsky@de.ibm.com.
586 2000-07-18 Andreas Jaeger <aj@suse.de>
588 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
589 NULL to elf_machine_fixup_plt t argument to silence GCC.
591 * include/string.h: Add prototype for __memchr.
593 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
595 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
598 2000-07-18 Ulrich Drepper <drepper@redhat.com>
600 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
602 * locale/C-ctype.c: Add initializers for gap elements.
603 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
606 2000-07-16 Ulrich Drepper <drepper@redhat.com>
608 * nscd/nscd.c (print_version): Update copyright year.
610 2000-07-17 Greg McGary <greg@mcgary.org>
612 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
613 keyletters F, I, S, W. Remove unused keyletter V. Surround
614 signature argnames with angle-brackets for use as word delimiters,
615 and to induce syntax errors for any args not handled. Split
616 multi-echo echoes and comment each stage.
617 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
618 * sysdeps/unix/inet/syscalls.list: Likewise.
619 * sysdeps/unix/mman/syscalls.list: Likewise.
620 * sysdeps/unix/syscalls.list: Likewise.
621 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
622 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
623 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
624 * sysdeps/unix/sysv/syscalls.list: Likewise.
625 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
627 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
628 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
629 qualifiers. Don't check NULL-terminator of argv & envp.
630 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
631 unbounded pointer type in word-size assertion.
632 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
633 cases to stifle warnings.
635 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
637 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
639 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
640 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
643 * Makerules (o-objects): Supplement with $(o-objects$o).
644 * string/Makefile (o-objects.ob): Add variable to pull
645 unbounded versions of memcpy, memset and memchr into libc_b.
647 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
648 rather than non-existent __ubp_memchr.
649 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
650 (_CHECK_STRING, _CHECK_N): New macros.
651 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
652 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
653 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
654 Add weak alias "memchr".
655 * sysdeps/generic/memchr.c: Likewise.
656 * sysdeps/i386/memchr.S: Likewise.
657 * sysdeps/ia64/memchr.S: Likewise.
658 * sysdeps/m68k/memchr.S: Likewise.
659 * sysdeps/sparc/sparc32/memchr.S: Likewise.
660 * sysdeps/sparc/sparc64/memchr.S: Likewise.
661 * sysdeps/vax/memchr.s: Likewise.
663 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
665 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
666 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
667 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
668 __BOUNDED_POINTERS__.
669 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
670 for __BOUNDED_POINTERS__.
672 2000-07-17 Bruno Haible <haible@clisp.cons.org>
674 * iconv/gconv_open.c (__gconv_open): Initialize the __data
675 field of struct __gconv_trans_data differently. Don't pass NULL to
676 trans_init_fct. Simplify list append operation.
678 2000-07-14 Bruno Haible <haible@clisp.cons.org>
680 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
681 not only those having tsearch.
683 2000-07-17 Ulrich Drepper <drepper@redhat.com>
685 * locale/langinfo.h: Add placeholder values in enum for removed
688 2000-07-17 Jakub Jelinek <jakub@redhat.com>
690 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
691 chain if the PHDR check fails.
693 2000-07-17 Mark Kettenis <kettenis@gnu.org>
695 * nss/getent.c (print_hosts): Make sure we always print a space
696 between numeric addresses and hostnames.
698 2000-07-17 Wolfram Gloger <wg@malloc.de>
700 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
701 i.e. if n_mmaps_max>0.
703 2000-07-16 Mark Kettenis <kettenis@gnu.org>
705 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
706 values to remove possible clash with other AI_* constants.
707 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
708 hexadecimal constants to stress the fact they're in fact
711 2000-07-15 Mark Kettenis <kettenis@gnu.org>
713 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
714 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
717 2000-07-16 Ulrich Drepper <drepper@redhat.com>
719 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
720 parameters of memset calls to avoid warnings.
722 2000-07-15 Ulrich Drepper <drepper@redhat.com>
724 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
727 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
728 Patch by Greg McGary <greg@mcgary.org>.
730 * io/Makefile (tests): Add tst-getcwd.
731 * io/tst-getcwd.c: New file.
733 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
735 2000-07-15 Jakub Jelinek <jakub@redhat.com>
737 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
740 2000-07-13 Jakub Jelinek <jakub@redhat.com>
742 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
743 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
745 2000-07-12 H.J. Lu <hjl@gnu.org>
747 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
749 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
750 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
751 (sysdep-routines): Add clone2.
752 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
754 2000-07-13 Jes Sorensen <jes@linuxcare.com>
756 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
757 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
759 2000-06-05 David Mosberger <davidm@hpl.hp.com>
761 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
762 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
763 Change type of si_band from "int" to "long".
764 (si_imm) [USE_GNU]: Define
765 (si_isr) [USE_GNU]: Ditto.
766 (ILL_BREAK) [USE_GNU]: Ditto.
767 (FPE_DECOVF) [USE_GNU]: Ditto.
768 (FPE_DECDIV) [USE_GNU]: Ditto.
769 (FPE_DECERR) [USE_GNU]: Ditto.
770 (FPE_INVASC) [USE_GNU]: Ditto.
771 (FPE_INVDEC) [USE_GNU]: Ditto.
772 (TRAP_BRANCH) [USE_GNU]: Ditto.
773 (TRAP_HWBKPT) [USE_GNU]: Ditto.
775 2000-07-06 Jes Sorensen <jes@linuxcare.com>
777 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
778 bits/sigcontext as struct mcontext does not depend on it.
780 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
782 2000-07-04 Jes Sorensen <jes@linuxcare.com>
784 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
786 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
788 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
790 2000-06-22 Jes Sorensen <jes@linuxcare.com>
792 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
794 2000-07-15 Ulrich Drepper <drepper@redhat.com>
796 * intl/Makefile (test-srcs): Add tst-translit.
798 Add rules to build and run tst-translit.
799 * intl/tst-translit.c: New file.
800 * intl/tst-translit.sh: New file.
801 * intl/translit.po: New file.
803 2000-07-14 Ulrich Drepper <drepper@redhat.com>
805 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
806 transliteration function did its job, continue, don't stop.
808 * iconvdata/iso646.c: Little optimizations in body for conversion
811 2000-07-14 Mark Kettenis <kettenis@gnu.org>
813 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
815 2000-07-14 Mark Kettenis <kettenis@gnu.org>
817 * configure.in: Check for pwd binary.
818 * config.make.in: Add PWD_P to be subsituted.
819 * Makerules: Use $(PWD_P) instead of /bin/pwd.
821 2000-07-14 Ulrich Drepper <drepper@redhat.com>
823 * iconvdata/Makefile (modules): Add GB18030.
824 (distribute): Add gb18030.c.
825 * iconvdata/gconv-modules: Add entries for GB18030 module.
826 * iconvdata/gb18030.c: New file.
827 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
830 2000-07-13 Andreas Jaeger <aj@suse.de>
832 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
835 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
836 * inet/getnetgrent.c (free_mem): Likewise.
837 * misc/mntent.c (free_mem): Likewise.
838 * nss/getXXbyYY.c (free_mem): Likewise.
839 * nss/getXXent.c (free_mem): Likewise.
840 * pwd/fgetpwent.c (free_mem): Likewise.
841 * shadow/fgetspent.c (free_mem): Likewise.
843 2000-07-14 Ulrich Drepper <drepper@redhat.com>
845 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
846 64-bit architecture correctly [PR libc/1794].
848 2000-07-13 Ulrich Drepper <drepper@redhat.com>
850 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
851 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
852 report that we are out of memory.
853 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
854 * elf/dl-libc.c (dlerror_run): Likewise.
855 * elf/dl-open.c (_dl_open): Likewise.
856 * elf/rtld.c (dl_main): Likewise.
857 * elf/dl-error.c: Define _dl_out_of_memory.
858 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
860 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
863 * dlfcn/dlerror.c (free_key_mem): Also free error string.
865 * iconv/loop.c: Fix comment.
867 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
869 2000-07-13 Andreas Jaeger <aj@suse.de>
871 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
872 getcwd (NULL, size) with size > 0.
873 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
875 2000-07-13 Andreas Jaeger <aj@suse.de>
877 * posix/Makefile: Remove build rules for libposix.
879 2000-07-13 Andreas Schwab <schwab@suse.de>
881 * sysdeps/generic/glob.c (glob): Fix memory leak.
882 [SHELL]: Remove reference to undefined variable `files'.
885 2000-07-13 Andreas Jaeger <aj@suse.de>
887 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
890 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
891 memory if it was allocated.
893 2000-07-12 Ulrich Drepper <drepper@redhat.com>
895 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
898 * iconv/gconv_open.c (__gconv_open): Reapply
899 2000-07-12 Bruno Haible <haible@clisp.cons.org>
901 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
903 * iconv/gconv_open.c: Undo last two changes for now. They break
906 2000-07-12 Andreas Jaeger <aj@suse.de>
908 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
910 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
911 (CFLAGS-dl-cache.c): Likewise.
912 (CFLAGS-ldconfig.c): Added, passes directory locations.
914 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
916 * elf/ldconfig.c (LD_SO_CONF): Likewise.
917 (main): Use configured LIBDIR and SLIBDIR.
919 2000-07-11 Jakub Jelinek <jakub@redhat.com>
921 * math/bits/cmathcalls.h (cimag): Add __THROW.
922 (creal, conj): Likewise.
923 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
926 2000-07-12 H.J. Lu <hjl@gnu.org>
928 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
929 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
931 2000-07-12 Ulrich Drepper <drepper@redhat.com>
933 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
936 2000-07-12 Bruno Haible <haible@clisp.cons.org>
938 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
940 2000-07-12 Bruno Haible <haible@clisp.cons.org>
942 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
945 2000-07-12 Bruno Haible <haible@clisp.cons.org>
947 * iconv/gconv_open.c (__gconv_open): Initialize
948 result->__steps[cnt].__data.
950 2000-07-12 Mark Kettenis <kettenis@gnu.org>
952 * nss/getent.c (services_keys): Pass port number in network byte
953 order in call to getservbyport.
955 2000-07-11 Andreas Jaeger <aj@suse.de>
957 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
959 * intl/Makefile (do-gettext-test): Likewise.
960 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
962 2000-07-11 Andreas Schwab <schwab@suse.de>
964 * Makeconfig (run-program-prefix): New rule.
965 (built-program-cmd): Use run-program-prefix.
967 2000-07-12 Ulrich Drepper <drepper@redhat.com>
969 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
970 and NOEXPR unconditionally available.
972 2000-07-12 Greg McGary <greg@mcgary.org>
974 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
975 * sysdeps/posix/open64.c: Likewise.
976 * sysdeps/generic/fegetenv.c: Likewise.
977 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
978 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
979 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
980 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
981 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
982 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
984 2000-07-11 Greg McGary <greg@mcgary.org>
986 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
987 Add extra level of macro expansion.
988 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
989 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
990 is available at the time `select' prototype is declared.
991 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
992 Collect non-versioned weak aliases. Consider only non-versioned
993 aliases for the user-visible systemcall name. Do checks inline with
994 call to primitive system call.
995 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
996 stand-alone bounds checks to suppress unused value warnings.
997 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
999 2000-07-10 Mark Kettenis <kettenis@gnu.org>
1001 * sysdeps/mach/hurd/check_fds.c: New file. Implements
1002 file descriptor checking in SUID programs for the Hurd.
1004 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
1005 res_hostalias instead of __hostalias for thread-safety.
1007 2000-07-09 Mark Kettenis <kettenis@gnu.org>
1009 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
1010 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
1012 2000-07-10 Ulrich Drepper <drepper@redhat.com>
1014 * include/features.h: Include ISO C99 features if the compiler used
1015 is an ISO C99 compiler.
1016 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1018 2000-07-08 Mark Kettenis <kettenis@gnu.org>
1020 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
1022 2000-07-10 Andreas Jaeger <aj@suse.de>
1024 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
1025 it's overridden by libpthreads.
1026 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1027 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1028 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1029 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1030 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1032 * malloc/Makefile: Run tst-mtrace only with shared libs.
1034 * stdio-common/Makefile: Run unbputc and tst-printf tests only
1037 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1039 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
1040 that gpreg really points to the GOT section of the calling object.
1041 Scan all PT_LOAD segments of objects for stub_pc, instead of only
1042 checking a start address of first one.
1044 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
1047 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
1049 2000-07-10 Andreas Jaeger <aj@suse.de>
1051 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
1052 (string_alias->strong_alias).
1054 2000-07-08 Mark Kettenis <kettenis@gnu.org>
1056 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
1058 2000-07-07 Greg McGary <greg@mcgary.org>
1060 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
1061 have no names without leading underscores.
1063 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1065 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
1068 * stdio-common/Makefile (tests): Remove tst-printf here...
1069 (tests-srcs): ...and add it here.
1070 (distribute): Add tst-unbputc.sh and tst-printf.sh.
1071 Add rules to run tst-printf.sh.
1072 * stdio-common/tst-printf.c: Move code around so that there is really
1073 no further output where it's stated.
1074 * stdio-common/tst-printf.sh: New file.
1076 2000-07-07 Mark Kettenis <kettenis@gnu.org>
1078 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
1079 (do_write): Renamed from pwrite.
1080 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
1081 `struct _IO_cookie_file'.
1083 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1085 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
1087 * malloc/tst-mtrace.sh: Run mtrace script.
1089 2000-07-07 Greg McGary <greg@mcgary.org>
1091 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
1092 Move all three components of a bounded pointer.
1094 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1096 * locale/programs/locale.c (write_locales): Don't simply add all
1097 directories found in the subdir, test whether at least the
1098 LC_CTYPE file is in there.
1100 2000-07-06 Ulrich Drepper <drepper@redhat.com>
1102 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
1103 * iconvdata/euc-kr.c: Likewise.
1105 * stdio-common/vfprintf.c (process_string_arg): Check result of
1106 wcrtomb call and bail out if it failed.
1108 * malloc/Makefile (test-srcs): Add tst-mtrace.
1109 (distribute): Add tst-mtrace.sh.
1110 Add rule to run tst-mtrace.sh.
1111 * malloc/tst-mtrace.c: New file.
1112 * malloc/tst-mtrace.sh: New file.
1114 * include/signal.h: Declare __libc_sigaction.
1115 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
1116 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
1117 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1118 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1119 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1120 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1121 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1123 * configure.in: Fix CFLAGS-memprofstat.c definition after
1125 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
1127 2000-07-06 Jakub Jelinek <jakub@redhat.com>
1129 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
1130 instead of NULL to elf_machine_fixup_plt t argument.
1131 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1132 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
1135 2000-07-06 Andreas Jaeger <aj@suse.de>
1137 * crypt/Makefile (LDLIBS-cert): Removed.
1138 (LDLIBS-md5c-test): Removed.
1139 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
1140 ($(objpfx)md5c-test): Likewise for md5c-test.out.
1142 2000-07-06 Andreas Jaeger <aj@suse.de>
1144 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
1145 of the proc system is "proc".
1147 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
1148 thread library for static programs.
1150 2000-07-06 Greg McGary <greg@mcgary.org>
1152 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
1154 * sysdeps/generic/strcpy.c: Add bounds checks.
1155 * sysdeps/unix/fxstat.c: Likewise.
1156 * sysdeps/unix/xstat.c: Likewise.
1157 * sysdeps/unix/common/lxstat.c: Likewise.
1158 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1159 * sysdeps/unix/sysv/linux/execve.c: Likewise.
1160 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
1161 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1162 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1163 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1164 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1165 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1166 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1167 * sysdeps/unix/sysv/linux/poll.c: Likewise.
1168 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1169 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1170 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
1171 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1172 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1173 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1174 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1175 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1176 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1177 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1178 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1179 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1180 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1181 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
1182 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1183 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
1184 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1185 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
1186 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1187 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1188 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1189 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
1190 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1191 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1192 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1193 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1194 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1195 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
1196 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1197 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1198 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1199 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1200 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1201 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1202 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
1203 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
1204 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1205 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
1206 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
1207 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
1208 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
1209 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
1210 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1211 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1212 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1213 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1214 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
1215 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
1216 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
1217 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
1218 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1219 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
1220 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
1221 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
1223 * string/endian.h (__LONG_LONG_PAIR): New macro.
1224 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
1225 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1226 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1227 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1228 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1229 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1230 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
1231 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1232 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1233 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1234 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1235 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
1237 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
1239 2000-07-06 Andreas Jaeger <aj@suse.de>
1241 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
1244 * math/test-fpucw.c: Include <stdio.h> for printf.
1246 2000-07-05 Greg McGary <greg@mcgary.org>
1248 * sysdeps/generic/bp-checks.h: New file.
1249 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
1250 with list of #include files.
1251 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
1252 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
1253 Don't generate BP thunk if `V' appears in signature.
1254 Generate thunks with complete bounds checks.
1255 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
1256 * sysdeps/unix/inet/syscalls.list: Likewise.
1257 * sysdeps/unix/mman/syscalls.list: Likewise.
1258 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1259 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1260 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1261 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
1263 2000-07-05 Ulrich Drepper <drepper@redhat.com>
1265 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
1266 result. Search first in /etc/mtab (proc/mounts would be stupid).
1267 If mount not in the file fall back on /proc.
1269 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
1270 string got copied in.
1271 Patch by Solar Designer <solar@false.com>.
1273 2000-07-05 Andreas Jaeger <aj@suse.de>
1275 * manual/install.texi (Installation): Update information about
1277 (Configuring and compiling): Update for glibc 2.2.
1279 2000-07-04 Andreas Jaeger <aj@suse.de>
1281 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
1282 (_FPU_IEEE): Likewise.
1284 * math/Makefile (tests): Add test-fpucw.
1286 * math/test-fpucw.c (main): New file.
1288 2000-07-05 Ulrich Drepper <drepper@redhat.com>
1290 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
1292 * locale/programs/ld-collate.c (collate_output): Also write out the
1293 collation sequence values and the wide character string for the
1294 collation symbol table.
1296 * posix/fnmatch.c: Include "../locale/elem-hash.h".
1297 * posix/fnmatch_loop.c: Implement collating symbol handling.
1298 * posix/tst-fnmatch.input: Add more tests, especially for collating
1301 * posix/regex.c: Fix comment.
1303 2000-07-05 Andreas Jaeger <aj@suse.de>
1305 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
1306 (_FPU_GETCW): Remove extra colon.
1307 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
1309 * posix/fnmatch_loop.c (FCT): Only declare len if
1310 !WIDE_CHAR_VERSION to silence GCC.
1312 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
1314 * sysdeps/generic/strchrnul.c: Likewise.
1315 * sysdeps/generic/strlen.c: Likewise.
1316 * sysdeps/generic/strchr.c: Likewise.
1317 * sysdeps/generic/memchr.c: Likewise.
1319 2000-07-04 Ulrich Drepper <drepper@redhat.com>
1321 * posix/fnmatch_loop.c: Implement equivalence class handling.
1322 * posix/tst-fnmatch.input: Add tests for equivalence class
1325 * posix/fnmatch_loop.c: Improve performance for single-byte
1326 character sets by not using btowc.
1328 * posix/tst-fnmatch.input: Add tests for locale dependent
1330 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
1332 * posix/tst-fnmatch.input: Add more test cases.
1334 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
1335 are not aligned to alignof(md5_uint32) do it before calling
1336 __md5_process_bytes.
1337 * crypt/md5.c: Make sure buffers are aligned.
1338 * crypt/md5.h: Likewise.
1339 Reported by Solar Designer <solar@false.com>.
1341 * crypt/Makefile: Add dependencies for test programs.
1343 * Rules: Define LC_ALL=C in environments of all programs we run.
1345 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
1347 2000-07-03 H.J. Lu <hjl@gnu.org>
1349 * locale/programs/ld-ctype.c (ctype_output): The size of iov
1350 is 2 + elem + offset, not 2 + elem + offset + 2.
1352 2000-07-04 Ulrich Drepper <drepper@redhat.com>
1354 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
1356 * posix/Makefile (tests): Add tst-fnmatch.
1357 (tst-fnmatch-ENV): Define.
1358 * posix/tst-fnmatch.c: New file.
1359 * posix/tst-fnmatch.sh: New file.
1361 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
1363 * locale/programs/charmap.c (charmap_read): Prepend
1364 the condition filename == NULL.
1366 2000-07-03 Greg McGary <greg@mcgary.org>
1368 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
1370 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
1371 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
1373 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
1374 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
1375 (FILEBUF_LITERAL): Add cast for CHAIN init.
1376 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
1377 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
1378 Revert type of `fp' to _IO_FILE*.
1379 (_IO_iter_file): Remove cast.
1380 (_IO_iter_next): Elide intermediate member reference.
1382 * sysdeps/powerpc/strchr.S: Check bounds.
1383 Wrap extern symbols in BP_SYM ().
1385 2000-07-03 Andreas Jaeger <aj@suse.de>
1387 * dlfcn/Makefile (generated): New.
1389 2000-07-03 Ulrich Drepper <drepper@redhat.com>
1391 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
1392 (__uflow): Likewise.
1393 (__underflow): Likewise.
1394 * libio/wgenops.c (__wunderflow): Likewise.
1395 * stdio-common/tst-unbputc.c: New file.
1396 * stdio-common/tst-unbputc.sh: New file.
1397 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
1399 * po/en_GB.po: New file.
1400 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
1402 2000-07-01 Andreas Jaeger <aj@suse.de>
1404 * intl/Makefile (generated-dirs): New.
1406 * elf/Makefile (generated): trusted-dirs.h is always generated,
1407 move out of build-shared condition.
1408 (generated): Merge the two entries for build-shared.
1410 2000-07-01 Ulrich Drepper <drepper@redhat.com>
1412 * debug/Makefile (distribute): Add xtrace.sh.
1414 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1416 * version.h (VERSION): Bump to 2.1.91.
1418 * configure.in: Update warning comment. glibc should not be
1421 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
1422 ioperm.c, sys/procfs.h, and sys/io.h.
1424 * sysdeps/powerpc/Dist: Add bp-asm.h.
1426 * assert/Depend: Add localedata.
1427 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
1428 (test-assert-perr-ENV): New. Define LANGUAGE=C.
1430 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
1431 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
1432 relocation address to prevent unaligned trap.
1433 Suggested by Richard Henderson <rth@cygnus.com>.
1435 2000-06-30 Jakub Jelinek <jakub@redhat.com>
1437 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
1438 if redirecting and either redirection is done using defines or
1441 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1443 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
1444 generated expressions.
1445 Patch by Darren McClelland <dmcclell@zetec.com>.
1447 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
1448 since zic uses setlocale and gettext but we cannot make it use the
1449 new locale data since zic calls a shell which might not use the
1452 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
1453 handling the internation currency symbol. POSIX says that the
1454 fourth character is used to separate the currency symbol from the
1455 value. Therefore it does not have to be printed. But we cannot
1456 remove the space if the currency symbol is printed before the
1457 number since this is what many locales expect.
1459 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
1460 whether this information is available.
1462 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
1463 buffers in case the translation is too large. Remember allocated
1464 memory blocks in a list.
1465 (free_mem): Free memory for translations.
1467 * intl/tst-gettext.c: Use correct locale. Improve error messages.
1469 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
1470 information is available set the string length to zero.
1472 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
1474 2000-06-30 Greg McGary <greg@mcgary.org>
1476 * sysdeps/powerpc/bp-asm.h: New file.
1477 * sysdeps/powerpc/__longjmp.S: Check bounds.
1478 Wrap extern symbols in BP_SYM ().
1479 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
1480 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
1481 * sysdeps/powerpc/setjmp.S: Likewise.
1482 * sysdeps/powerpc/add_n.S: Likewise.
1483 * sysdeps/powerpc/addmul_1.S: Likewise.
1484 * sysdeps/powerpc/lshift.S: Likewise.
1485 * sysdeps/powerpc/rshift.S: Likewise.
1486 * sysdeps/powerpc/mul_1.S: Likewise.
1487 * sysdeps/powerpc/sub_n.S: Likewise.
1488 * sysdeps/powerpc/submul_1.S: Likewise.
1489 * sysdeps/powerpc/strlen.S: Likewise.
1490 * sysdeps/powerpc/memset.S: Likewise.
1491 * sysdeps/powerpc/stpcpy.S: Likewise.
1492 * sysdeps/powerpc/strcmp.S: Likewise.
1493 * sysdeps/powerpc/strcpy.S: Likewise.
1494 * sysdeps/powerpc/elf/bzero.S: Likewise.
1496 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
1497 Line up operands column with tabs.
1499 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1501 * elf/Makefile (LDFLAGS-origtest): Actually add it.
1503 * sysdeps/ia64/htonl.S: New file.
1504 * sysdeps/ia64/htons.S: New file.
1505 * sysdeps/ia64/memcpy.S: Replace with version which does not use
1506 floating point registers.
1507 Patches by Dan Pop <Dan.Pop@cern.ch>.
1509 2000-06-30 Andreas Jaeger <aj@suse.de>
1511 * posix/Makefile (tests): tst-exec and tst-spawn only work with
1514 * io/Makefile (CFLAGS-test-lfs.c): New.
1515 (tests): Add test-lfs.
1517 * io/test-lfs.c: New file.
1519 2000-06-30 Jakub Jelinek <jakub@redhat.com>
1521 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
1524 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
1526 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
1528 2000-06-29 Jes Sorensen <jes@linuxcare.com>
1530 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
1531 alias to the fstatfs call.
1533 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
1534 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
1536 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
1537 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
1539 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
1540 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
1541 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
1542 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
1544 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
1545 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
1547 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
1548 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
1550 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
1551 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
1553 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
1555 2000-06-29 Andreas Jaeger <aj@suse.de>
1557 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
1559 (print_err_message): Likewise.
1560 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
1562 2000-06-29 Ulrich Drepper <drepper@redhat.com>
1564 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
1565 used as words is properly aligned.
1567 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
1570 2000-06-29 Greg McGary <greg@mcgary.org>
1572 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
1573 * sysdeps/unix/make-syscalls.sh: Handle signatures of
1574 length 7..9, just in case...
1575 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
1577 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
1578 (POP_ERRNO_LOCATION_RETURN): Fold insns.
1579 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
1580 (PUSH_SIGNAL_MASK): New macro.
1581 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
1582 LEAVE is unnecessary. Check bounds of jmp_buf.
1583 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
1584 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
1585 immediately before tail-call.
1586 * sysdeps/i386/setjmp.S: Likewise.
1587 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1588 * sysdeps/i386/bsd-setjmp.S: Likewise.
1590 2000-06-29 Jakub Jelinek <jakub@redhat.com>
1592 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
1594 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
1595 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
1596 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
1597 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1598 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
1599 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
1600 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
1601 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
1603 2000-06-29 Ulrich Drepper <drepper@redhat.com>
1605 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
1606 we later need to calling free().
1607 Patch by Matt Wilson <msw@redhat.com>.
1609 * stdio-common/tst-printf.c: Add test for above problem.
1611 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
1613 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
1614 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
1616 2000-06-28 Jes Sorensen <jes@linuxcare.com>
1618 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
1619 prototype for abs().
1620 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
1622 2000-06-23 Andreas Jaeger <aj@suse.de>
1624 * config.h.in: Don't use regparm with bounded pointers.
1626 2000-06-29 Ulrich Drepper <drepper@redhat.com>
1628 * stdlib/grouping.h: Correctly handle multibyte thousands
1629 separator and decimal point.
1630 * stdlib/stdtod.c: Likewise.
1631 * sysdeps/generic/strtol.c: Likewise.
1633 * locale/categories.def: Add entries for wide character decimal point
1634 and thousands separator in numeric and monetary category.
1636 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1638 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
1639 second definition and initialization of decimal.
1641 2000-06-28 Greg McGary <greg@mcgary.org>
1643 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
1645 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
1646 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
1648 (_IO_JUMPS): Don't cast THIS--expect arg to be a
1649 (struct _IO_FILE_plus *).
1650 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
1651 THIS, since _IO_JUMPS no longer does it implicitly.
1652 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
1653 arg type as (struct _IO_FILE_plus *).
1654 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
1655 arg as (_IO_strfile *).
1656 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
1657 Declare 1st arg as (_IO_strfile *).
1658 * libio/fileops.c (_IO_new_file_init): Declare
1659 arg type as (struct _IO_FILE_plus *).
1660 * libio/oldfileops.c (_IO_old_file_init): Likewise.
1661 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
1662 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
1663 Declare iteration pointer as (struct _IO_FILE_plus *).
1664 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
1665 (struct _IO_FILE_plus *).
1666 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
1667 * libio/oldstdfiles.c (_IO_list_all): Likewise.
1668 (_IO_check_libio): Set user-visible handles to
1669 (struct _IO_FILE_plus *).
1670 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
1671 to (struct _IO_FILE_plus *).
1673 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
1674 whose high bound includes vtable to all functions that will use
1675 vtable. For streambufs, pass pointer whose bounds include struct
1677 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
1678 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1679 * libio/iofopen.c (_IO_new_fopen): Likewise.
1680 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1681 * libio/iofopen64.c (_IO_fopen64): Likewise.
1682 * libio/iopopen.c (_IO_new_popen): Likewise.
1683 * libio/oldiopopen.c (_IO_old_popen): Likewise.
1684 * libio/memstream.c (open_memstream): Likewise.
1685 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
1686 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
1687 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1688 * libio/iofopncook.c (_IO_cookie_init): Likewise.
1689 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
1690 * libio/vasprintf.c (_IO_vasprintf): Likewise.
1691 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
1692 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
1693 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
1694 * stdlib/strfmon.c (__strfmon_l): Likewise.
1695 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
1696 (vfprintf): Qualify computed-goto targets as unbounded.
1698 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1700 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
1701 thousands separator correctly.
1703 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
1704 * stdio-common/vfwscanf.c: Likewise.
1706 2000-06-27 Jes Sorensen <jes@linuxcare.com>
1708 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
1709 count into signatures for most calls.
1711 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1713 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
1714 the generic parser now.
1716 2000-06-28 Jes Sorensen <jes@linuxcare.com>
1718 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
1719 table entries are 32 bit on the ia64 (as specified by the ABI),
1720 not 64 bit as on the Alpha.
1722 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
1723 change of objects to use 32 bit hash table indices (see above).
1725 2000-06-28 Jes Sorensen <jes@linuxcare.com>
1727 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
1728 prototype for abs().
1730 2000-06-28 Wolfram Gloger <wg@malloc.de>
1732 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
1733 fails, try mmap_chunk() as a last resort even though n_mmaps_max
1734 may have been reached.
1736 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1738 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
1739 symbols in multi-character weights correctly.
1741 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
1742 depending on whether the input string is empty or not.
1744 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
1745 given state and not avoiding this by modifying a local object.
1746 * wcsmbs/wcrtomb.c: Likewise.
1748 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
1749 object since some incomplete characters might be in there.
1751 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
1752 sequences with first byte 0x8e correctly.
1754 * iconvdata/jis0208.h: Remove redundant test.
1756 2000-06-27 Ulrich Drepper <drepper@redhat.com>
1758 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
1759 Add it where it is needed now.
1761 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
1762 the input charset into account when generating the hash table.
1763 (allocate_arrays): Correct setting default width. Not all empty slots
1764 in the table are filled, only those not covert explicitly by the
1765 locale description and in the charset.
1767 * wctype/towctrans.c (__towctrans): Be graceful and accept error
1768 return values from the wctrans function.
1770 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
1771 wide character version.
1772 For %C handling, test correct pointer variable for NULL.
1774 * wcsmbs/wctob.c: Handle WEOF special.
1776 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
1778 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
1779 always-true test to avoid warning.
1781 2000-06-27 Greg McGary <greg@mcgary.org>
1783 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
1784 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
1785 (symbol_version, default_symbol_version): Factor redundant
1786 definitions out of conditional.
1788 2000-06-27 Jakub Jelinek <jakub@redhat.com>
1790 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
1793 2000-06-26 Ulrich Drepper <drepper@redhat.com>
1795 * include/libc-symbols.h (symbol_version): Add extra level of
1797 (default_symbol_version): Likewise.
1799 2000-06-26 Greg McGary <greg@mcgary.org>
1801 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
1802 for BP return value & push implicit struct-return pointer to
1804 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1805 (SYSCALL_ERROR_HANDLER): Likewise.
1806 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
1807 (SYSCALL_ERROR_HANDLER): Likewise.
1809 * Makeconfig: Add missing comment.
1810 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
1811 BP-flavored startup object.
1812 ($(objpfx)b$(start-installed-name)): New rule.
1813 * include/libc-symbols.h (symbol_set_declare): Change type
1814 of `__start_##set' and `__stop_##set' to pointer-to-function.
1815 (symbol_set_declare): Change type of `set' to array of
1816 pointer-to-function.
1817 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
1818 pointer-to-function.
1820 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
1822 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
1823 Remove clock_* and timer_* entries.
1824 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
1825 arg-count with signatures.
1827 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
1828 Check bounds of arguments.
1829 * sysdeps/i386/addmul_1.S: Likewise.
1830 * sysdeps/i386/lshift.S: Likewise.
1831 * sysdeps/i386/mul_1.S: Likewise.
1832 * sysdeps/i386/rshift.S: Likewise.
1833 * sysdeps/i386/sub_n.S: Likewise.
1834 * sysdeps/i386/submul_1.S: Likewise.
1835 * sysdeps/i386/i586/add_n.S: Likewise.
1836 * sysdeps/i386/i586/addmul_1.S: Likewise.
1837 * sysdeps/i386/i586/lshift.S: Likewise.
1838 * sysdeps/i386/i586/rshift.S: Likewise.
1839 * sysdeps/i386/i586/sub_n.S: Likewise.
1840 * sysdeps/i386/i686/add_n.S: Likewise.
1842 * sysdeps/i386/memchr.S: Likewise.
1843 * sysdeps/i386/memcmp.S: Likewise.
1844 * sysdeps/i386/rawmemchr.S: Likewise.
1845 * sysdeps/i386/i586/bzero.S: Likewise.
1846 * sysdeps/i386/i586/memcpy.S: Likewise.
1847 * sysdeps/i386/i586/mempcpy.S: Likewise.
1848 * sysdeps/i386/i586/memset.S: Likewise.
1849 * sysdeps/i386/i686/bzero.S: Likewise.
1850 * sysdeps/i386/i686/memcpy.S: Likewise.
1851 * sysdeps/i386/i686/mempcpy.S: Likewise.
1852 * sysdeps/i386/i686/memset.S: Likewise.
1854 * sysdeps/i386/stpcpy.S: Likewise.
1855 * sysdeps/i386/stpncpy.S: Likewise.
1856 * sysdeps/i386/strchr.S: Likewise.
1857 * sysdeps/i386/strchrnul.S: Likewise.
1858 * sysdeps/i386/strcspn.S: Likewise.
1859 * sysdeps/i386/strpbrk.S: Likewise.
1860 * sysdeps/i386/strrchr.S: Likewise.
1861 * sysdeps/i386/strspn.S: Likewise.
1862 * sysdeps/i386/strtok.S: Likewise.
1863 * sysdeps/i386/strtok_r.S: Likewise.
1864 * sysdeps/i386/i486/strcat.S: Likewise.
1865 * sysdeps/i386/i486/strlen.S: Likewise.
1866 * sysdeps/i386/i586/strchr.S: Likewise.
1867 * sysdeps/i386/i586/strcpy.S: Likewise.
1868 * sysdeps/i386/i586/strlen.S: Likewise.
1869 * sysdeps/i386/i686/strcmp.S: Likewise.
1870 * sysdeps/i386/i686/strtok.S: Likewise.
1871 * sysdeps/i386/i686/strtok_r.S: Likewise.
1873 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
1874 * sysdeps/i386/fpu/fesetenv.c: Likewise.
1875 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
1876 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
1877 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1879 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
1880 * sysdeps/i386/mul_1.S: Likewise.
1881 * sysdeps/i386/submul_1.S: Likewise.
1882 * sysdeps/i386/i586/add_n.S: Likewise.
1883 * sysdeps/i386/i586/addmul_1.S: Likewise.
1884 * sysdeps/i386/i586/lshift.S: Likewise.
1885 * sysdeps/i386/i586/mul_1.S: Likewise.
1886 * sysdeps/i386/i586/rshift.S: Likewise.
1887 * sysdeps/i386/i586/sub_n.S: Likewise.
1888 * sysdeps/i386/i586/submul_1.S: Likewise.
1890 2000-06-26 Ulrich Drepper <drepper@redhat.com>
1892 * rt/Makefile (librt-routines): Add clock_nanosleep.
1893 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
1894 * sysdeps/generic/clock_nanosleep.c: New file.
1895 * sysdeps/unix/clock_nanosleep.c: New file.
1896 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
1897 * time/time.h: Declare clock_nanosleep.
1899 2000-06-26 Greg McGary <greg@mcgary.org>
1901 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
1902 INSN1, INSN2, TEXT, GLOBL): Remove macros.
1903 (ALIGN): Cleanup surrounding conditionals.
1905 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
1906 Call ENTER/LEAVE macros.
1907 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
1908 * sysdeps/i386/submul_1.S: Likewise.
1910 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
1911 syntax. Define & use symbolic argument stack offsets. Call
1913 * sysdeps/i386/i586/mul_1.S: Likewise.
1914 * sysdeps/i386/i586/submul_1.S: Likewise.
1916 2000-06-25 Greg McGary <greg@mcgary.org>
1918 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
1921 2000-06-25 Ulrich Drepper <drepper@redhat.com>
1923 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
1924 * iconvdata/gen-8bit-gap.sh: Likewise.
1925 * iconvdata/gen-8bit.sh: Likewise.
1927 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
1929 * locale/programs/ld-collate.c (collate_read): Don't actually read
1930 the copy locale if we are ignoring the content.
1932 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
1935 * locale/programs/ld-collate.c: Correct handling of different
1937 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
1938 as extra parameter from which to copy category information.
1940 (load_locale): Likewise.
1941 * locale/programs/localedef.h: Update prototypes of add_to_readlist
1943 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
1944 * locale/programs/locfile.h: Likewise.
1945 * locale/programs/locfile-kw.gperf: Add entry for script.
1946 * locale/programs/locfile-token.h: Add tok_script.
1948 * locale/programs/locale.c: Update copyright year.
1949 * locale/programs/localedef.c: Likewise.
1951 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
1953 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
1954 Jens Moeller <jens.moeller@waii.com>.
1956 2000-06-24 Ulrich Drepper <drepper@redhat.com>
1958 * locale/programs/ld-name.c (name_finish): Add missing format
1959 specifier to test for name_fmt.
1961 * locale/programs/ld-address.c (iso639): Correct length of string
1963 (iso3166): Likewise.
1965 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
1967 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
1970 * elf/elf.h (NT_PRFPXREG): Define.
1972 2000-06-23 Ulrich Drepper <drepper@redhat.com>
1974 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
1975 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
1977 2000-06-23 Andreas Schwab <schwab@suse.de>
1979 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
1982 2000-06-23 Andreas Jaeger <aj@suse.de>
1984 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
1986 * io/test-stat.c: Add copyright header, mention Maciej.
1988 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
1989 SYS_mincore, SYS_madvise): Added.
1991 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
1994 2000-06-22 Ulrich Drepper <drepper@redhat.com>
1996 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
1997 (CFLAGS-tst_putwc.c): New definition.
1998 * libio/tst_getwc.c: New file.
1999 * libio/tst_getwc.input: New file.
2000 * libio/tst_putwc.c: New file.
2002 * include/string.h: Add prototype for __strdup.
2004 2000-06-22 Greg McGary <greg@mcgary.org>
2006 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
2007 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
2010 2000-06-23 Jes Sorensen <jes@linuxcare.com>
2012 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
2014 2000-06-22 Jes Sorensen <jes@linuxcare.com>
2016 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
2018 2000-06-22 Jes Sorensen <jes@linuxcare.com>
2020 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
2021 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
2023 2000-06-22 Ulrich Drepper <drepper@redhat.com>
2025 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
2026 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
2028 * sysdeps/mach/hurd/bits/stat.h: Likewise.
2029 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2030 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
2031 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2032 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
2033 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
2034 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2035 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
2036 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2037 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2038 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
2039 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
2040 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
2041 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
2044 2000-06-22 Andreas Jaeger <aj@suse.de>
2046 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
2049 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
2051 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
2053 2000-06-21 Ulrich Drepper <drepper@redhat.com>
2055 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
2058 2000-06-21 Greg McGary <greg@mcgary.org>
2060 * Makerules (elide-routines.*, elide-bp-thunks):
2061 Define unconditionally.
2063 2000-06-21 Jes Sorensen <jes@linuxcare.com>
2065 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
2067 2000-06-21 Andreas Jaeger <aj@suse.de>
2069 * io/Makefile (tests): Add test-stat.
2070 (CFLAGS-test-stat.c): New.
2072 * io/test-stat.c: New file from Maciej W. Rozycki
2073 <macro@ds2.pg.gda.pl>.
2075 2000-06-21 Jes Sorensen <jes@linuxcare.com>
2077 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
2078 in __rlimit_resource to make them match the kernel order.
2079 rlim_t is always 64 bit, use __rlim64_t to declare it
2082 2000-05-04 Jes Sorensen <jes@linuxcare.com>
2084 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
2085 RLIM_INFINITY before defining it to avoid clash with kernel header
2087 2000-05-03 Jes Sorensen <jes@linuxcare.com>
2089 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
2091 2000-06-21 Ulrich Drepper <drepper@redhat.com>
2093 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
2095 2000-06-21 Andreas Jaeger <aj@suse.de>
2097 * stdio-common/temptest.c: Include <stdlib.h>.
2098 * stdio-common/tst-fileno.c: Likewise.
2099 * stdio-common/scanf4.c: Likewise.
2100 * stdio-common/scanf5.c: Likewise.
2101 * time/clocktest.c: Likewise.
2102 * posix/test-vfork.c: Likewise.
2103 * posix/globtest.c: Likewise.
2104 * io/test-utime.c: Likewise.
2105 * wctype/test_wcfuncs.c: Likewise.
2106 * crypt/cert.c: Likewise.
2108 * stdio-common/tst-printfsz.c: Include <string.h>.
2109 * libio/tst_swscanf.c: Likewise.
2110 * libio/tst_wscanf.c: Likewise.
2111 * posix/runtests.c: Likewise.
2112 * posix/tst-getaddrinfo.c: Likewise.
2113 * posix/wordexp-test.c: Likewise.
2114 * misc/tst-efgcvt.c: Likewise.
2116 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
2117 * nss/test-netdb.c: Likewise.
2119 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
2120 supported kernel for MIPS.
2122 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
2123 * rt/aio_suspend.c: Likewise.
2125 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2127 * math/libm-test.inc: Include <string.h>.
2129 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2131 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
2133 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2135 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
2136 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
2138 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
2140 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
2142 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2144 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
2146 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2148 * locale/programs/ld-collate.c (insert_value): Now take string and
2149 length instead of struct token* parameter. Adjust use of token.
2150 (handle_ellipsis): Likewise.
2151 (collate_read): Allow <Uxxxx> names and transform them into names
2152 to be passed to insert_value and handle_ellipsis.
2154 * locale/programs/ld-ctype.c (uninames): New array with names of
2155 digits in <Uxxxxxxxx> format.
2156 (ctype_finish): Correct search for space character value. Likewise
2157 for default outdigits values.
2159 2000-06-20 Greg McGary <greg@mcgary.org>
2161 * Makerules (objects): Add BP thunks.
2163 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2165 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
2166 in width definitions.
2168 2000-06-20 Andreas Jaeger <aj@suse.de>
2170 * sysdeps/mips/fpu/libm-test-ulps: New file.
2172 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
2175 * sysdeps/mips/fpu/feholdexcpt.c: New file.
2177 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
2179 2000-06-19 Ulrich Drepper <drepper@redhat.com>
2181 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
2182 change in gconv_builtin.h.
2184 * malloc/Makefile: Change all references to memprof into memusage.
2185 * malloc/memprof.c: Rename to...
2186 * malloc/memusage.c: ...this. New file.
2187 * malloc/memprof.sh: Rename to...
2188 * malloc/memusage.sh: ...this. New file.
2189 * malloc/memprofstat.c: Rename to...
2190 * malloc/memusagestat.c: ...this. New file.
2191 * sysdeps/alpha/memprof.h: Rename to..
2192 * sysdeps/alpha/memusage.h: ...this. New file.
2193 * sysdeps/arm/memprof.h: Rename to..
2194 * sysdeps/arm/memusage.h: ...this. New file.
2195 * sysdeps/generic/memprof.h: Rename to..
2196 * sysdeps/generic/memusage.h: ...this. New file.
2197 * sysdeps/i386/memprof.h: Rename to..
2198 * sysdeps/i386/memusage.h: ...this. New file.
2199 * sysdeps/ia64/memprof.h: Rename to..
2200 * sysdeps/ia64/memusage.h: ...this. New file.
2201 * sysdeps/m68k/memprof.h: Rename to..
2202 * sysdeps/m68k/memusage.h: ...this. New file.
2203 * sysdeps/mips/memprof.h: Rename to..
2204 * sysdeps/mips/memusage.h: ...this. New file.
2205 * sysdeps/powerpc/memprof.h: Rename to..
2206 * sysdeps/powerpc/memusage.h: ...this. New file.
2207 * sysdeps/sparc/memprof.h: Rename to..
2208 * sysdeps/sparc/memusage.h: ...this. New file.
2209 * sysdeps/sh/memprof.h: Rename to..
2210 * sysdeps/sh/memusage.h: ...this. New file.
2212 * elf/sprof.c (print_version): Update year.
2214 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
2215 table entry values. Use D_PTR.
2216 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
2217 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
2219 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2221 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
2222 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
2223 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
2224 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
2226 2000-05-05 Jes Sorensen <jes@linuxcare.com>
2228 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
2230 2000-06-16 Jes Sorensen <jes@linuxcare.com>
2232 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
2233 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
2234 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
2236 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
2238 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
2241 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
2242 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
2244 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
2247 2000-06-15 Jes Sorensen <jes@linuxcare.com>
2249 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
2251 2000-06-08 Jes Sorensen <jes@linuxcare.com>
2253 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
2255 2000-06-19 Ulrich Drepper <drepper@redhat.com>
2257 * iconv/gconv_int.h (strict gconv_module): Remove all members
2258 associated with regular expressions. Use a simple string as the
2260 * iconv/gconv_db.c: Remove code handling regular expressions.
2261 * iconv/gconv_conf.c: Likewise.
2262 * iconv/iconv_prog.c: Likewise.
2263 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
2265 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
2266 General namespace cleanup.
2267 (struct __gconv_trans_data): Add next field.
2268 (struct __gconv_step_data): Make __trans a pointer.
2269 * iconv/gconv_conf.c: Split out code to find gconv directories from
2270 __gconv_read_conf in new functions.
2271 * iconv/gconv_int.h: Define new data structure and declare new
2272 functions for handling of gconv directory list.
2273 * iconv/gconv_open.c: Allow more than one error handling step being
2274 used. Call function to load error handling module if it is none
2275 of the builtin transformations.
2276 * iconv/gconv_close.c: Add code to free transliteration data.
2277 * iconv/gconv_trans.c: Add functions to load and unload modules
2278 implementing transliteration etc.
2279 * iconv/skeleton.c: Call all context functions now that more than
2280 one module is allowed.
2281 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
2282 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
2283 where the full error handling using transliteration is needed.
2284 * iconvdata/8bit-gap.c: Likewise.
2285 * iconvdata/8bit-generic.c: Likewise.
2286 * iconvdata/ansi_x3.110.c: Likewise.
2287 * iconvdata/big5.c: Likewise.
2288 * iconvdata/big5hkscs.c: Likewise.
2289 * iconvdata/euc-cn.c: Likewise.
2290 * iconvdata/euc-jp.c: Likewise.
2291 * iconvdata/euc-kr.c: Likewise.
2292 * iconvdata/euc-tw.c: Likewise.
2293 * iconvdata/gbgbk.c: Likewise.
2294 * iconvdata/gbk.c: Likewise.
2295 * iconvdata/iso-2022-cn.c: Likewise.
2296 * iconvdata/iso-2022-jp.c: Likewise.
2297 * iconvdata/iso-2022-kr.c: Likewise.
2298 * iconvdata/iso646.c: Likewise.
2299 * iconvdata/iso8859-1.c: Likewise.
2300 * iconvdata/iso_6937-2.c: Likewise.
2301 * iconvdata/iso_6937.c: Likewise.
2302 * iconvdata/johab.c: Likewise.
2303 * iconvdata/sjis.c: Likewise.
2304 * iconvdata/t.61.c: Likewise.
2305 * iconvdata/uhc.c: Likewise.
2306 * iconvdata/unicode.c: Likewise.
2307 * iconvdata/utf-16.c: Likewise.
2308 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
2309 structure correctly after last change.
2310 * wcsmbs/btowc.c: Likewise.
2311 * wcsmbs/mbrtowc.c: Likewise.
2312 * wcsmbs/mbsnrtowcs.c: Likewise.
2313 * wcsmbs/mbsrtowcs.c: Likewise.
2314 * wcsmbs/wcrtomb.c: Likewise.
2315 * wcsmbs/wcsnrtombs.c: Likewise.
2316 * wcsmbs/wcsrtombs.c: Likewise.
2317 * wcsmbs/wctob.c: Likewise.
2319 * localedata/Makefile: Set -Wno-format for some files since gcc does
2320 not know all the format specifiers.
2322 2000-06-18 Ulrich Drepper <drepper@redhat.com>
2324 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
2326 * locale/lc-time.c (_nl_init_era_entries): Likewise.
2328 2000-06-18 Andreas Jaeger <aj@suse.de>
2330 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
2331 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
2333 2000-06-17 Ulrich Drepper <drepper@redhat.com>
2335 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
2337 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
2339 * locale/programs/ld-ctype.c (ctype_output): Really write out
2340 mboutdigits information.
2341 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
2342 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
2343 * localedata/tests/trans.def: Add outdigit information.
2345 * localedata/tst-mbswcs3.c: Remove comment.
2347 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
2348 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
2349 * libio/tst_wprintf.c (main): Add test for I flag.
2351 * iconv/gconv_trans.c: Implement handling if translit_ignore.
2352 * locale/langinfo.h: Add entries for translit_ignore information.
2353 * locale/categories.def: Add entries for new LC_CTYPE elements.
2354 * locale/C-ctype.c: Add initializers for new fields. Use NULL
2355 pointer instead of "" where possible.
2356 * locale/programs/ld-ctype.c: Write out translit_ignore information.
2357 * intl/Depend: Add localedata.
2358 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
2359 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
2361 2000-06-16 Ulrich Drepper <drepper@redhat.com>
2363 * locale/langinfo.h: Add entries for default_missing information.
2364 * locale/C-ctype.c: Add initializers for new fields.
2365 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
2367 * locale/categories.h: Add entries for all LC_CTYPE values.
2368 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
2371 * localedata/tst-trans.c: Write out an error message if class is
2374 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
2375 * iconv/gconv_open.c: Remove error handling specification from `from'
2377 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
2378 new parameter to always enable transliteration.
2379 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
2381 (struct locale_data): Add new members use_translit and options.
2382 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
2383 character set name contained modifier TRANSLIT.
2384 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
2386 (_nl_unload_locale): Free options string if necessary.
2387 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
2388 the locale names suggested this.
2389 * locale/C-address.c: Add two new initialilzers to adjust data
2390 structure for new format.
2391 * locale/C-collate.c: Likewise.
2392 * locale/C-ctype.c: Likewise.
2393 * locale/C-identification.c: Likewise.
2394 * locale/C-measurement.c: Likewise.
2395 * locale/C-messages.c: Likewise.
2396 * locale/C-monetary.c: Likewise.
2397 * locale/C-name.c: Likewise.
2398 * locale/C-numeric.c: Likewise.
2399 * locale/C-paper.c: Likewise.
2400 * locale/C-telephone.c: Likewise.
2401 * locale/C-time.c: Likewise.
2403 * locale/setlocale.c: Add some more __builtin_expect.
2405 2000-06-15 Ulrich Drepper <drepper@redhat.com>
2407 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
2409 (__gconv_init_fct): Remove two parameters.
2410 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
2411 gconv_transliterate. Remove two parameters.
2412 Change prototypes of builtin functions according to __gconv_fct change.
2413 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
2414 != NULL only during error handling. Stop in this case after the
2416 * iconv/gconv_trans.c: Replace with real implementation for
2417 __gconv_transliterate.
2418 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
2419 * iconv/gconv.c: Change calls to downstream functions once again.
2420 Use NULL for the fifth parameter instead of pointer to output buffer.
2421 * libio/iofwide.c: Likewise.
2422 * wcsmbs/btowc.c: Likewise.
2423 * wcsmbs/mbrtowc.c: Likewise.
2424 * wcsmbs/mbsnrtowcs.c: Likewise.
2425 * wcsmbs/mbsrtowcs.c: Likewise.
2426 * wcsmbs/wcrtomb.c: Likewise.
2427 * wcsmbs/wcsnrtombs.c: Likewise.
2428 * wcsmbs/wcsrtombs.c: Likewise.
2429 * wcsmbs/wctob.c: Likewise.
2430 * iconv/gconv_simple.c: Remove two parameters from error handling
2432 * iconvdata/8bit-gap.c: Likewise.
2433 * iconvdata/8bit-generic.c: Likewise.
2434 * iconvdata/ansi_x3.110.c: Likewise.
2435 * iconvdata/big5.c: Likewise.
2436 * iconvdata/big5hkscs.c: Likewise.
2437 * iconvdata/euc-cn.c: Likewise.
2438 * iconvdata/euc-jp.c: Likewise.
2439 * iconvdata/euc-kr.c: Likewise.
2440 * iconvdata/euc-tw.c: Likewise.
2441 * iconvdata/gbgbk.c: Likewise.
2442 * iconvdata/gbk.c: Likewise.
2443 * iconvdata/iso-2022-cn.c: Likewise.
2444 * iconvdata/iso-2022-jp.c: Likewise.
2445 * iconvdata/iso-2022-kr.c: Likewise.
2446 * iconvdata/iso646.c: Likewise.
2447 * iconvdata/iso8859-1.c: Likewise.
2448 * iconvdata/iso_6937-2.c: Likewise.
2449 * iconvdata/iso_6937.c: Likewise.
2450 * iconvdata/johab.c: Likewise.
2451 * iconvdata/sjis.c: Likewise.
2452 * iconvdata/t.61.c: Likewise.
2453 * iconvdata/uhc.c: Likewise.
2454 * iconvdata/unicode.c: Likewise.
2455 * iconvdata/utf-16.c: Likewise.
2457 2000-06-15 Greg McGary <greg@mcgary.org>
2459 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
2460 of callnum assignment. Tolerate callnum expressions containing
2463 2000-06-14 Ulrich Drepper <drepper@redhat.com>
2465 * login/Makefile (utmpd): Remove rule to build utmpd.
2467 * csu/Versions: Move libgcc frame handling functions from here...
2468 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
2469 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
2470 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
2471 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
2472 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
2473 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
2475 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
2477 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
2479 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
2481 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
2483 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
2485 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
2486 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
2487 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
2488 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
2490 2000-06-14 Jakub Jelinek <jakub@redhat.com>
2492 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
2493 defined, terminate quotes and read them after the comment char.
2494 * configure.in (HAVE_SECTION_QUOTES): Test whether
2495 __attribute__((section ("x"))) puts quotes around x or not.
2496 * config.h.in (HAVE_SECTION_QUOTES): Add.
2497 * configure: Rebuilt.
2499 2000-06-14 Andreas Jaeger <aj@suse.de>
2501 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
2502 depending on the configure option --sysconfdir.
2503 Closes PR libc/1762.
2504 Patch by Andreas Schwab <schwab@suse.de>.
2506 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
2508 Reported by Jim Pick <jim@jimpick.com>.
2510 2000-06-14 Ulrich Drepper <drepper@redhat.com>
2512 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
2513 crashing the application. Emit some simple error message.
2514 Reported by mju@panasas.com [PR libc/1769].
2516 2000-06-13 Ulrich Drepper <drepper@redhat.com>
2518 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
2520 * crypt/Makefile (distribute): Add md5.h.
2522 * Makefile (distribute): Add include/shlib-compat.h.
2524 * Make-dist: Search for tests also in sysdeps hierachy.
2526 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
2527 ufc.c, speeds.c, README.ufc-crypt, and Banner.
2529 * sysdeps/sparc/Subdirs: New file.
2531 * locale/Makefile (distribute): Add weightwc.h and
2532 programs/localedef.h.
2534 * time/Makefile (distribute): Add datemsk.
2536 * sysdeps/ia64/Dist: Add softpipe.h.
2538 * sysdeps/unix/sysv/aix/Dist: New file.
2540 * posix/setpgrp.c: Moved to...
2541 * sysdeps/generic/setpgrp.c: ...here. New file.
2542 * io/mknod.c: Moved to...
2543 * sysdeps/generic/mknod.c: ...here. New file.
2545 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
2547 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
2549 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
2551 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
2552 gprsave0.S, gprrest1.S, and gprrest0.S.
2554 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
2556 * posix/Makefile (routines): Add spawnattr_getsigmask,
2557 spawnattr_getschedpolicy, spawnattr_getschedparam,
2558 spawnattr_setsigmask, spawnattr_setschedpolicy, and
2559 spawnattr_setschedparam.
2560 * posix/Versions: Add posix_spawnattr_getschedpolicy,
2561 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
2562 posix_spawnattr_setschedparam.
2564 * posix/spawnattr_setschedparam.c: Fix typo.
2566 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
2569 * login/programs/utmpd.c: Removed.
2570 * login/programs/utmpd.h: Removed.
2571 * login/programs/utmpd-private.h: Removed.
2573 * Makefile (distribute): Add include/db_185.h and include/db.h.
2575 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
2578 * elf/Makefile (distribute): Add missing files.
2580 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
2581 * elf/eval.c: Moved to...
2582 * dlfcn/eval.c: ...here. New file.
2584 * Makefile (distribute): Also distribute ChangeLog.1?.
2586 * Make-dist (+tsrcs): Remove .args handling here as well.
2588 * rt/Makefile (tests): Add tst-timer.
2589 * sysdeps/generic/tst-timer.c: New file.
2591 * Makerules (sources): Don't add BP sources here.
2593 * login/Makefile (distribute): Remove xtmp.h.
2595 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
2596 is true. Reported by Bruno Haible <haible@ilog.fr>.
2598 2000-06-13 Andreas Jaeger <aj@suse.de>
2600 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
2601 Patch by Ralf Baechle <ralf@gnu.org>.
2603 2000-06-13 Ulrich Drepper <drepper@redhat.com>
2605 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
2606 for mincore syscall.
2608 * misc/sys/cdefs.h: Define __bounded and __unbounded if
2609 __BOUNDED_POINTERS__ is not defined.
2611 2000-06-07 Greg McGary <greg@mcgary.org>
2613 * sysdeps/generic/bp-sym.h: New file.
2614 * sysdeps/generic/bp-start.h: New file.
2615 * sysdeps/i386/elf/start.S: Designate BP symbols.
2616 * sysdeps/generic/libc-start.c: Wrap bounds around
2617 argv & envp and each of their string members.
2619 2000-06-07 Greg McGary <greg@mcgary.org>
2621 * sysdeps/unix/make-syscalls.sh: Add comments to
2622 output that aid debugging & comprehension.
2623 Map simple syscall signatures to number of args.
2624 Generate BP syscall thunk definitions.
2625 * sysdeps/generic/bp-thunks.h: New file.
2626 * sysdeps/unix/syscalls.list: Replace arg-count with
2627 simple return+arg signature.
2628 * sysdeps/unix/common/syscalls.list: Likewise.
2629 * sysdeps/unix/inet/syscalls.list: Likewise.
2630 * sysdeps/unix/mman/syscalls.list: Likewise.
2631 * sysdeps/unix/sysv/syscalls.list: Likewise.
2632 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2633 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2635 2000-06-07 Greg McGary <greg@mcgary.org>
2637 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
2638 for all files *.[cS].
2639 (CFLAGS-.ob): Don't optimize sibling calls.
2640 (bppfx): New variable.
2641 * Makerules (elide-bp-thunks): New variable.
2642 (elide-routines.*): Elide BP-* files for all but *.ob.
2643 (sources): Include bp-thunks.
2645 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2647 * iconv/gconv_simple.c: Remove unnecessary prototype.
2649 * iconv/gconv_trans.c: Pretty print.
2651 * elf/elf.h (R_SH_NUM): Got accidently dropped.
2653 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
2654 minimal kernel versions. Add information about IA-64 kernel.
2656 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
2657 specific minimal supported kernel versions to be specified.
2659 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
2660 step data structure.
2661 * wcsmbs/btowc.c: Likewise.
2662 * wcsmbs/mbrtowc.c: Likewise.
2663 * wcsmbs/mbsnrtowcs.c: Likewise.
2664 * wcsmbs/mbsrtowcs.c: Likewise.
2665 * wcsmbs/wcrtomb.c: Likewise.
2666 * wcsmbs/wcsnrtombs.c: Likewise.
2667 * wcsmbs/wcsrtombs.c: Likewise.
2668 * wcsmbs/wctob.c: Likewise.
2670 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
2671 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
2673 * shlib-versions: Earliest backward compatible version for SH is 2.2.
2675 * misc/sys/cdefs.h: Remove one more __P.
2677 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
2680 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
2681 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
2682 * sysdeps/sh/bits/setjmp.h: ...here. New file.
2684 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
2685 Yutaka Niibe <gniibe@chroot.org>
2687 * configure.in: Add machine sh3, sh4.
2688 * elf/elf.h: Add SH specific declarations of relocations.
2689 * shlib-versions: Add sh*-*-linux* cases.
2691 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2693 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
2694 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
2695 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
2696 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
2697 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
2698 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
2700 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
2701 instead of KERNEL_MATH_EMULATION.
2702 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
2703 KERNEL_MATH_EMULATION.
2705 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
2706 * sysdeps/sh/sh3/dl-machine.h: Moved to...
2707 * sysdeps/sh/dl-machine.h: ...here. New file.
2708 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
2709 and include generic SH version.
2710 * sysdeps/sh/sh3/bits/endian.h: Move to...
2711 * sysdeps/sh/bits/endian.h: ...here. New file.
2712 * sysdeps/sh/sh4/bits/endian.h: Removed.
2713 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
2714 * sysdeps/sh/bits/huge_val.h: ...here. New file.
2715 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
2717 * include/libc-symbols.h (link_warning): Work around a change in
2718 GAS which warns about changing section attributes.
2719 Proposed by Nick Clifton <nickc@redhat.com>.
2721 2000-06-12 H.J. Lu <hjl@gnu.org>
2723 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
2725 2000-06-11 H.J. Lu <hjl@gnu.org>
2727 * sysdeps/i386/fpu/Versions: New file.
2729 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2731 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
2733 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
2736 2000-06-12 Jes Sorensen <jes@linuxcare.com>
2738 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
2739 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
2740 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
2742 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
2743 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
2744 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
2746 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
2747 Yutaka Niibe <gniibe@chroot.org>
2749 * sysdeps/sh/Dist: New file.
2750 * sysdeps/sh/Implies: New file.
2751 * sysdeps/sh/elf/initfini.c: New file.
2752 * sysdeps/sh/gmp-mparam.h: New file.
2753 * sysdeps/sh/init-first.c: New file.
2754 * sysdeps/sh/machine-gmon.h: New file.
2755 * sysdeps/sh/memcpy.S: New file.
2756 * sysdeps/sh/memprof.h: New file.
2757 * sysdeps/sh/memset.S: New file.
2758 * sysdeps/sh/sh3/__longjmp.S: New file.
2759 * sysdeps/sh/sh3/bits/endian.h: New file.
2760 * sysdeps/sh/sh3/bits/huge_val.h: New file.
2761 * sysdeps/sh/sh3/bits/setjmp.h: New file.
2762 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
2763 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
2764 * sysdeps/sh/sh3/dl-machine.h: New file.
2765 * sysdeps/sh/sh3/setjmp.S: New file.
2766 * sysdeps/sh/sh4/__longjmp.S: New file.
2767 * sysdeps/sh/sh4/bits/endian.h: New file.
2768 * sysdeps/sh/sh4/bits/huge_val.h: New file.
2769 * sysdeps/sh/sh4/bits/setjmp.h: New file.
2770 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
2771 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
2772 * sysdeps/sh/sh4/dl-machine.h: New file.
2773 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
2774 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
2775 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
2776 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
2777 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
2778 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
2779 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
2780 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
2781 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
2782 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
2783 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
2784 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
2785 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
2786 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
2787 * sysdeps/sh/sh4/setjmp.S: New file.
2788 * sysdeps/sh/elf/start.S: New file.
2789 * sysdeps/sh/sys/ucontext.h: New file.
2790 * sysdeps/sh/strlen.S: New file.
2791 * sysdeps/sh/sysdep.h: New file.
2792 * sysdeps/unix/sh/sysdep.S: New file.
2793 * sysdeps/unix/sh/sysdep.h: New file.
2794 * sysdeps/unix/sysv/linux/sh/Dist: New file.
2795 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
2796 * sysdeps/unix/sysv/linux/sh/Versions: New file.
2797 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
2798 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
2799 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
2800 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
2801 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
2802 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
2803 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
2804 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
2805 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
2806 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
2807 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
2808 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
2809 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
2810 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
2811 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
2812 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
2813 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
2814 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
2815 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
2816 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
2817 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
2818 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
2819 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
2820 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
2821 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
2822 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
2823 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
2824 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
2825 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
2826 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
2827 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
2828 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
2829 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
2830 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
2831 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
2832 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
2833 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
2834 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
2835 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
2836 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
2837 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
2838 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
2839 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
2840 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
2841 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
2842 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
2843 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
2845 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2847 * Rules (%.out): Define GCONV_PATH in the environment.
2848 * assert/Depend: New file.
2849 * iconvdata/Depend: New file.
2850 * intl/Depend: New file.
2851 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
2852 * intl/tst-gettext.sh: Likewise.
2853 * iconv/Makefile (routines): Add gconv_trans.
2854 * iconv/gconv_trans.c: New file.
2855 * iconv/gconv.h (struct __gconv_trans_data): New type.
2856 (__gconv_fct): New parameter with starting position in output buffer.
2857 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
2858 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
2859 (struct __gconv_step): Add new member __trans.
2860 * iconv/gconv_int.h: Pretty print prototypes.
2861 (gconv_transliterate): New prototype.
2862 (__BUILTIN_TRANS): Update for new conversion function interface.
2863 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
2864 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
2865 in names, find appropriate function, and install in the conversion
2866 steps it can be used.
2867 * iconv/skeleton.c: Add additional parameter for beginning of output
2868 buffer. Change calls of downstream functions.
2869 * iconv/loop.c: Change loop function interface completely. Pass in
2870 step and step_data structure. Remove optimization for BODY with
2871 NEED_LENGTH_TEST == 0.
2872 * iconv/gconv_simple.c: Update interfaces of functions. Insert
2873 appropriate error handling code to use transliteration steps. Remove
2874 optimization for BODY with NEED_LENGTH_TEST == 0.
2875 * iconvdata/8bit-gap.c: Likewise.
2876 * iconvdata/8bit-generic.c: Likewise.
2877 * iconvdata/ansi_x3.110.c: Likewise.
2878 * iconvdata/big5.c: Likewise.
2879 * iconvdata/big5hkscs.c: Likewise.
2880 * iconvdata/euc-cn.c: Likewise.
2881 * iconvdata/euc-jp.c: Likewise.
2882 * iconvdata/euc-kr.c: Likewise.
2883 * iconvdata/euc-tw.c: Likewise.
2884 * iconvdata/gbgbk.c: Likewise.
2885 * iconvdata/gbk.c: Likewise.
2886 * iconvdata/iso-2022-cn.c: Likewise.
2887 * iconvdata/iso-2022-jp.c: Likewise.
2888 * iconvdata/iso-2022-kr.c: Likewise.
2889 * iconvdata/iso646.c: Likewise.
2890 * iconvdata/iso8859-1.c: Likewise.
2891 * iconvdata/iso_6937-2.c: Likewise.
2892 * iconvdata/iso_6937.c: Likewise.
2893 * iconvdata/johab.c: Likewise.
2894 * iconvdata/sjis.c: Likewise.
2895 * iconvdata/t.61.c: Likewise.
2896 * iconvdata/uhc.c: Likewise.
2897 * iconvdata/unicode.c: Likewise.
2898 * iconvdata/utf-16.c: Likewise.
2899 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
2901 * wcsmbs/btowc.c: Likewise.
2902 * wcsmbs/mbrtowc.c: Likewise.
2903 * wcsmbs/mbsnrtowcs.c: Likewise.
2904 * wcsmbs/mbsrtowcs.c: Likewise.
2905 * wcsmbs/wcrtomb.c: Likewise.
2906 * wcsmbs/wcsnrtombs.c: Likewise.
2907 * wcsmbs/wcsrtombs.c: Likewise.
2908 * wcsmbs/wctob.c: Likewise.
2910 2000-04-11 Geoff Keating <geoffk@cygnus.com>
2912 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
2913 other header files. Mention about 128-byte cache line sizes.
2914 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
2915 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
2916 for current calling sequence.
2917 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
2919 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
2920 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2922 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
2923 and setrlimit syscalls for backwards compatibility.
2925 2000-06-10 Ulrich Drepper <drepper@redhat.com>
2927 * iconv/skeleton.c: Rename converted written to correcter name
2929 * iconv/gconv.c: Rename converted variable to correcter name
2931 * iconv/gconv_int.h: Likewise.
2932 * iconv/gconv_simple.c: Likewise.
2933 * iconv/iconv.c: Likewise.
2934 * iconv/loop.c: Likewise.
2935 * iconvdata/8bit-gap.c: Likewise.
2936 * iconvdata/8bit-generic.c: Likewise.
2937 * iconvdata/ansi_x3.110.c: Likewise.
2938 * iconvdata/big5.c: Likewise.
2939 * iconvdata/big5hkscs.c: Likewise.
2940 * iconvdata/euc-cn.c: Likewise.
2941 * iconvdata/euc-jp.c: Likewise.
2942 * iconvdata/euc-kr.c: Likewise.
2943 * iconvdata/gbgbk.c: Likewise.
2944 * iconvdata/gbk.c: Likewise.
2945 * iconvdata/iso-2022-cn.c: Likewise.
2946 * iconvdata/iso-2022-jp.c: Likewise.
2947 * iconvdata/iso-2022-kr.c: Likewise.
2948 * iconvdata/iso646.c: Likewise.
2949 * iconvdata/iso8859-1.c: Likewise.
2950 * iconvdata/iso_6937-2.c: Likewise.
2951 * iconvdata/iso_6937.c: Likewise.
2952 * iconvdata/johab.c: Likewise.
2953 * iconvdata/sjis.c: Likewise.
2954 * iconvdata/t.61.c: Likewise.
2955 * iconvdata/uhc.c: Likewise.
2956 * iconvdata/unicode.c: Likewise.
2957 * iconvdata/utf-16.c: Likewise.
2959 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
2960 __cmsg_data field with __extension__.
2962 2000-06-10 David Mosberger <davidm@hpl.hp.com>
2964 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
2966 2000-06-10 Ulrich Drepper <drepper@redhat.com>
2968 * iconv/gconv_simple.c: Fix various small bugs in several
2971 * iconv/loop.c: Fix comment.
2973 2000-06-10 Jakub Jelinek <jakub@redhat.com>
2975 * elf/link.h: Remove libc internal declarations.
2976 * include/link.h: Move them here.
2978 2000-06-09 Ulrich Drepper <drepper@redhat.com>
2980 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
2981 Patch by Dan Pop <Dan.Pop@cern.ch>.
2983 Rewrite error message handling.
2984 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
2986 * elf/dl-error (struct catch): Add objname member.
2987 (_dl_signal_error): Take new parameter with object name. When
2988 passing message on simply store object name and duplicate error
2990 (_dl_catch_error): Take new parameter. Store object name in the
2992 * include/dlfcn.h: Adjust _dl_catch_error prototype.
2993 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
2994 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
2995 (dlerror): Add objname to asprintf() parameters.
2996 (_dl_error_run): Pass new parameter to _dl_catch_error.
2997 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
2998 * elf/dl-open.c (_dl_open): Likewise.
2999 * elf/rtld.c (dl_main): Likewise.
3000 * elf/dl-close.c: Mark error messages with N_().
3001 * elf/dl-deps.c: Likewise.
3002 * elf/dl-error.c: Likewise.
3003 * elf/dl-load.c: Likewise.
3004 * elf/dl-open.c: Likewise.
3005 * elf/dl-reloc.c: Likewise.
3006 * elf/dl-support.c: Likewise.
3007 * elf/dl-sym.c: Likewise.
3008 * elf/dl-version.c: Likewise.
3009 * elf/dl-lookup.c: Add comments about problems with error message
3011 * elf/dl-reloc.c: Likewise.
3012 * elf/dl-version.c: Likewise.
3014 2000-06-09 H.J. Lu <hjl@gnu.org>
3016 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
3019 * dlfcn/Makefile (distribute): Add failtestmod.c.
3020 (tests): Add failtest.
3021 Add rules to build and run failtest.
3022 * dlfcn/failtest.c: New file.
3023 * dlfcn/failtestmod.c: New file.
3025 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
3027 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
3028 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
3029 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
3030 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
3031 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
3033 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3035 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
3036 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
3038 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3039 Ulrich Drepper <drepper@redhat.com>
3041 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
3042 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
3043 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
3044 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
3045 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
3046 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
3048 2000-06-09 Ulrich Drepper <drepper@redhat.com>
3050 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
3051 to find correct mount point despite wrong information from the
3054 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3056 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
3057 the address of a symbol so function pointers are handled properly.
3059 2000-06-08 Ulrich Drepper <drepper@redhat.com>
3061 * sysdeps/i386/Dist: Add bp-asm.h.
3063 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
3064 defaultdir variable instead of "/var/shm" everywhere.
3065 (defaultdir): Change to /dev/shm/.
3067 2000-06-08 Greg McGary <greg@mcgary.org>
3069 * sysdeps/i386/bp-asm.h: New file.
3070 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
3071 offsets. Add ENTER/LEAVE macros for optionally maintaining
3072 frame-pointer chain when debugging.
3073 * sysdeps/i386/add_n.S: Likewise.
3074 * sysdeps/i386/addmul_1.S: Likewise.
3075 * sysdeps/i386/lshift.S: Likewise.
3076 * sysdeps/i386/memchr.S: Likewise.
3077 * sysdeps/i386/memcmp.S: Likewise.
3078 * sysdeps/i386/mul_1.S: Likewise.
3079 * sysdeps/i386/rawmemchr.S: Likewise.
3080 * sysdeps/i386/rshift.S: Likewise.
3081 * sysdeps/i386/stpcpy.S: Likewise.
3082 * sysdeps/i386/stpncpy.S: Likewise.
3083 * sysdeps/i386/strchr.S: Likewise.
3084 * sysdeps/i386/strchrnul.S: Likewise.
3085 * sysdeps/i386/strcspn.S: Likewise.
3086 * sysdeps/i386/strpbrk.S: Likewise.
3087 * sysdeps/i386/strrchr.S: Likewise.
3088 * sysdeps/i386/strspn.S: Likewise.
3089 * sysdeps/i386/strtok.S: Likewise.
3090 * sysdeps/i386/sub_n.S: Likewise.
3091 * sysdeps/i386/submul_1.S: Likewise.
3092 * sysdeps/i386/elf/setjmp.S: Likewise.
3093 * sysdeps/i386/i486/strcat.S: Likewise.
3094 * sysdeps/i386/i486/strlen.S: Likewise.
3095 * sysdeps/i386/i586/add_n.S: Likewise.
3096 * sysdeps/i386/i586/lshift.S: Likewise.
3097 * sysdeps/i386/i586/memcpy.S: Likewise.
3098 * sysdeps/i386/i586/memset.S: Likewise.
3099 * sysdeps/i386/i586/rshift.S: Likewise.
3100 * sysdeps/i386/i586/strchr.S: Likewise.
3101 * sysdeps/i386/i586/strcpy.S: Likewise.
3102 * sysdeps/i386/i586/strlen.S: Likewise.
3103 * sysdeps/i386/i586/sub_n.S: Likewise.
3104 * sysdeps/i386/i686/add_n.S: Likewise.
3105 * sysdeps/i386/i686/memcpy.S: Likewise.
3106 * sysdeps/i386/i686/mempcpy.S: Likewise.
3107 * sysdeps/i386/i686/memset.S: Likewise.
3108 * sysdeps/i386/i686/strcmp.S: Likewise.
3110 2000-06-08 Ulrich Drepper <drepper@redhat.com>
3112 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
3114 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
3115 256 and don't use OPEN_MAX.
3117 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
3118 use it instead of LINK_MAX.
3119 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
3121 2000-06-08 Andreas Jaeger <aj@suse.de>
3123 * libio/genops.c (_IO_list_lock): Only compile body if we're
3125 (_IO_list_unlock): Likewise.
3126 (_IO_list_resetlock): Likewise.
3128 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3130 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
3131 unless user defined it.
3133 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
3134 if not defined by the user.
3136 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
3137 * libio/iofwrite.c (_IO_fwrite): Likewise.
3139 * time/time.h: Add missing __THROW for clock_getcpuclockid
3142 * elf/Makefile (distribute): Add dl-dtprocnum.h.
3143 * include/elf.h: Include also <dl-dtprocnum.h>.
3144 * elf/dl-deps.c: Likewise.
3145 * elf/dl-lookup.c: Likewise.
3146 * elf/dl-runtime.c: Likewise.
3147 * elf/dl-version.c: Likewise.
3148 * elf/do-rel.h: Likewise.
3149 * elf/dynamic-link.h: Likewise.
3150 * elf/link.h: Likewise.
3151 * elf/rtld.c: Likewise.
3152 * sysdeps/generic/dl-dtprocnum.h: New file.
3153 * sysdeps/ia64/dl-dtprocnum.h: New file.
3154 * sysdeps/mips/dl-dtprocnum.h: New file.
3155 * sysdeps/sparc/dl-dtprocnum.h: New file.
3157 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
3159 * elf/do-lookup.h: Add some __builtin_expect.
3161 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
3163 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
3164 (_dl_dynamic_weak): New variable.
3165 * elf/dl-support.c: Likewise.
3166 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
3167 * elf/do-lookup.h: If we find a weak definition treat it like a
3168 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
3169 case treat it like before.
3171 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
3173 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
3175 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
3176 using l_map_start and l_map_end.
3178 * elf/dl-version.c: Add __builtin_expect in many places.
3180 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
3183 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
3185 Lock for stdio stream list becomes global, for use in LinuxThreads.
3187 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
3188 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
3189 _IO_list_resetlock): New interface for iterating global list of
3190 streams without accessing the _IO_list_all global variable,
3191 and for manipulating the lock which protects this list.
3192 * libio/libioP.h: Likewise.
3193 * libio/Version: Add entries for the new functions.
3195 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
3196 pointer to _IO_FILE.
3198 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3200 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
3201 BIT() must actually be BITw().
3203 * locale/programs/ld-ctype.c: Handle SP and space consistently.
3205 * locale/programs/charmap.c: Allow string arguments for
3206 code_set_name and repertoiremap.
3208 2000-06-07 Andreas Jaeger <aj@suse.de>
3210 * elf/Makefile: Build ldconfig only when building shared libraries.
3212 2000-06-07 Jakub Jelinek <jakub@redhat.com>
3214 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
3216 (fdimf, __fdim, fdim): Likewise.
3218 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3220 * locale/findlocale.c: Add __builtin_expect in many places.
3221 * locale/loadlocale.c: Likewise.
3223 2000-06-06 Greg McGary <greg@mcgary.org>
3225 * sysdeps/mips/elf/start.S: Trim redundant code.
3227 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
3228 Use C comments throughout. Line up operands column with tabs.
3229 * sysdeps/powerpc/strchr.S: Likewise.
3230 * sysdeps/powerpc/strcmp.S: Likewise.
3231 * sysdeps/powerpc/strcpy.S: Likewise.
3232 * sysdeps/powerpc/strlen.S: Likewise.
3234 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
3235 Get low part of &__curbrk with @l.
3237 2000-06-06 Ulrich Drepper <drepper@redhat.com>
3239 * iconvdata/utf-16.c: Add __builtin_expect in many places.
3240 * iconvdata/unicode.c: Likewise.
3241 * iconvdata/uhc.c: Likewise.
3242 * iconvdata/t.61.c: Likewise.
3243 * iconvdata/sjis.c: Likewise.
3244 * iconvdata/johab.c: Likewise.
3245 * iconvdata/iso_6937.c: Likewise.
3246 * iconvdata/iso_6937-2.c: Likewise.
3247 * iconvdata/iso8859-1.c: Likewise.
3248 * iconvdata/iso646.c: Likewise.
3249 * iconvdata/iso-2022-kr.c: Likewise.
3250 * iconvdata/iso-2022-jp.c: Likewise.
3251 * iconvdata/iso-2022-cn.c: Likewise.
3252 * iconvdata/gbgbk.c: Likewise.
3253 * iconvdata/gbk.c: Likewise.
3254 * iconvdata/euc-kr.c: Likewise.
3255 * iconvdata/euc-jp.c: Likewise.
3256 * iconvdata/euc-cn.c: Likewise.
3258 2000-06-05 Ulrich Drepper <drepper@redhat.com>
3260 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
3261 * iconvdata/big5.c: Likewise.
3262 * iconvdata/ansi_x3.110.c: Likewise.
3263 * iconvdata/8bit-generic.c: Likewise.
3264 * iconvdata/8bit-gap.c: Likewise.
3265 * iconv/loop.c: Likewise.
3266 * iconv/gconv_db.c: Likewise.
3267 * iconv/gconv_dl.c: Likewise.
3268 * iconv/gconv_simple.c: Likewise.
3269 * iconv/skeleton.c: Likewise.
3271 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
3272 (struct __gconv_step_data): Rename __is_last to __flags.
3273 * iconv/gconv_close.c: Change all uses of __is_last.
3274 * iconv/skeleton.c: Likewise.
3275 * iconvdata/iso-2022-cn.c: Likewise.
3276 * iconvdata/iso-2022-jp.c: Likewise.
3277 * iconvdata/iso-2022-kr.c: Likewise.
3278 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
3279 Recognize IGNORE error handling, set flag, and remove from name.
3280 * iconv/loop.c (ignore_errors_p): Define.
3281 Add flags parameter to both functions.
3282 * iconv/skeleton.c: Pass flags to all conversion functions.
3283 * iconv/gconv_simple.c: Add flags parameter to all functions.
3284 Don't return error for invald error if ignore flag is set.
3285 (ucs4_internal_loop_single): Add missing pointer increment.
3286 (internal_ucs4le_loop_single): Likewise.
3287 * iconv/iconv_prog.c: Implement handling of -c parameter.
3288 * iconvdata/8bit-gap.c: Don't return error for invald error if
3290 * iconvdata/8bit-generic.c: Likewise.
3291 * iconvdata/ansi_x3.110.c: Likewise.
3292 * iconvdata/big5.c: Likewise.
3293 * iconvdata/big5hkscs.c: Likewise.
3294 * iconvdata/euc-cn.c: Likewise.
3295 * iconvdata/euc-jp.c: Likewise.
3296 * iconvdata/euc-kr.c: Likewise.
3297 * iconvdata/gbgbk.c: Likewise.
3298 * iconvdata/gbk.c: Likewise.
3299 * iconvdata/iso-2022-cn.c: Likewise.
3300 * iconvdata/iso-2022-jp.c: Likewise.
3301 * iconvdata/iso-2022-kr.c: Likewise.
3302 * iconvdata/iso646.c: Likewise.
3303 * iconvdata/iso8859-1.c: Likewise.
3304 * iconvdata/iso_6937-2.c: Likewise.
3305 * iconvdata/iso_6937.c: Likewise.
3306 * iconvdata/johab.c: Likewise.
3307 * iconvdata/sjis.c: Likewise.
3308 * iconvdata/t.61.c: Likewise.
3309 * iconvdata/uhc.c: Likewise.
3310 * iconvdata/unicode.c: Likewise.
3311 * iconvdata/utf-16.c: Likewise.
3312 * libio/fileops.c: Likewise.
3313 * libio/iofwide.c: Likewise.
3314 * wcsmbs/btowc.c: Likewise.
3315 * wcsmbs/mbrtowc.c: Likewise.
3316 * wcsmbs/mbsnrtowcs.c: Likewise.
3317 * wcsmbs/mbsrtowcs.c: Likewise.
3318 * wcsmbs/wcrtomb.c: Likewise.
3319 * wcsmbs/wcsnrtombs.c: Likewise.
3320 * wcsmbs/wcsrtombs.c: Likewise.
3321 * wcsmbs/wctob.c: Likewise.
3323 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
3326 2000-06-04 Ulrich Drepper <drepper@redhat.com>
3328 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
3329 counter for the object we are releasing, just decrement it.
3330 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
3332 2000-06-04 Jakub Jelinek <jakub@redhat.com>
3334 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
3337 2000-06-04 Ulrich Drepper <drepper@redhat.com>
3339 * iconvdata/big5hkscs.c: New file.
3340 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
3342 * iconvdata/gconv-modules: Add entry for new module.
3343 * iconvdata/Makefile (modules): Add BIG5HKSCS.
3344 (distribute): Add big5hkscs.c.
3346 2000-06-01 Jakub Jelinek <jakub@redhat.com>
3348 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
3349 inlines to match prototypes in mathcalls.h.
3350 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
3351 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
3352 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
3353 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3355 2000-06-03 Ulrich Drepper <drepper@redhat.com>
3357 * elf/elf.h (SHT_SUNW_move): Define.
3359 * elf/elf.h: Add more Solaris compatiblity definitions.
3361 2000-06-03 Andreas Jaeger <aj@suse.de>
3363 * sysdeps/powerpc/dl-start.S: Close open comment.
3365 2000-06-03 Jakub Jelinek <jakub@redhat.com>
3367 * inet/Versions: Fix typo in rresvport_af export.
3369 2000-06-02 Ulrich Drepper <drepper@redhat.com>
3371 * math/tgmath.h: Pretty print.
3373 2000-06-02 Andreas Jaeger <aj@suse.de>
3375 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
3376 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3378 2000-06-02 Ulrich Drepper <drepper@redhat.com>
3380 * elf/rtld.c (process_envvars): Test for = after variable name.
3382 2000-06-01 Ulrich Drepper <drepper@redhat.com>
3384 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
3385 have extra call to __gmon_start__, use the pointer we already have.
3387 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
3390 * sysdeps/i386/elf/setjmp.S: Work around change is recent
3391 binutils. gas now emits a jump through the PLT instead of a
3392 relative jump if the jump target is an exported symbol.
3394 2000-05-31 Ulrich Drepper <drepper@redhat.com>
3396 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
3398 2000-05-31 Andreas Jaeger <aj@suse.de>
3400 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
3403 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
3404 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3406 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
3408 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
3410 2000-05-30 Ulrich Drepper <drepper@redhat.com>
3412 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
3414 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
3415 * locale/localeconv.c: Make function versioned (with same definition).
3417 * elf/Makefile (modules-names): Strip before using it.
3419 2000-05-30 Andreas Jaeger <aj@suse.de>
3421 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
3422 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
3423 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
3424 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
3425 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
3426 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
3428 2000-05-29 Ulrich Drepper <drepper@redhat.com>
3430 * Makefile: Add GNU make magic.
3432 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
3434 * inet/rcmd.c: Remove __P. Remove unused variables.
3435 (iruserfopen): Make first parameter const.
3436 (ruserok_sa): Return result of ruserok2_sa.
3437 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
3438 * inet/rexec.c: Remove unused variables. Other small cleanups.
3439 * inet/ruserpass.c: Remove __P. Remove unused variables.
3440 (ruserpass): Check results of memory allocation.
3441 * include/netdb.h: Add prototype for ruserpass.
3443 2000-05-29 Andreas Jaeger <aj@suse.de>
3445 * elf/readlib.c (interpreters): Use LD_SO since this is supported
3448 2000-05-29 Jakub Jelinek <jakub@redhat.com>
3450 * inet/rcmd.c (rresvport_af): Use correct port number.
3452 2000-05-26 Andreas Schwab <schwab@suse.de>
3454 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
3455 entries in all-sonames.
3456 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
3457 preserving the old name if different for compatibility.
3459 2000-05-29 Ulrich Drepper <drepper@redhat.com>
3461 * posix/Makefile (tests): Add tst-spawn.
3462 (tst-spawn-ARGS): New variable.
3463 * posix/tst-spawn.c: New file.
3465 * posix/spawn_faction_addclose.c: Correctly account for new entry.
3466 * posix/spawn_faction_adddup2.c: Likewise.
3467 * posix/spawn_faction_addopen.c: Likewise.
3468 * posix/spawni.c: Correctly test for success of dup2 calls.
3470 * posix/tst-preadwrite.c: Check success of malloc call.
3472 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3474 * posix/Makefile (tests): Add tst-exec.
3475 (tst-exec-ARGS): New variable.
3476 * posix/tst-exec.c: New file.
3478 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
3480 2000-05-04 Andreas Jaeger <aj@suse.de>
3482 * string/string.h: Remove __strdup prototype, it's not needed in
3485 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3487 * posix/Makefile (tests): Add tst-fork.
3488 * posix/tst-fork.c: New file.
3490 * resolv/inet_pton.c: Loose __P.
3492 2000-05-21 Jakub Jelinek <jakub@redhat.com>
3494 * libio/libioP.h (_IO_CHECK_WIDE): Define.
3495 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
3496 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
3497 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
3498 _IO_CHECK_WIDE fails.
3500 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3502 * po/da.po: New file.
3504 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
3505 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
3507 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
3508 (Other iconv Implementations): Fix typo.
3509 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
3511 2000-05-27 Andreas Jaeger <aj@suse.de>
3513 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
3515 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
3516 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
3517 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3518 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3519 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
3520 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
3522 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
3523 endianness to decide how to pass arguments.
3524 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3526 * elf/vismain.c: Use test-skeleton interface.
3527 (TEST_FUNCTION): New macro.
3528 (do_test): Renamed from main.
3530 2000-05-27 Ulrich Drepper <drepper@redhat.com>
3532 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
3533 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
3535 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
3536 handling of AI_V4MAPPED flag.
3538 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
3539 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
3540 perform lookup for T_A type and tell getanswer_r to convert the
3541 result with new argument.
3542 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
3543 Don't convert addresses from IPv4 to IPv6 here.
3544 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
3545 IPv6 is wanted. Allow qtype and type from reply to disagree if
3546 IPv4 mapping has to be done. Perform mappings if required by the
3547 caller and not if RES_USE_INET6 bit in _res.options is set.
3548 Add several __builtin_expect.
3550 2000-05-26 Ulrich Drepper <drepper@redhat.com>
3552 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
3554 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
3557 * posix/tst-preadwrite.c: Allow parallel execution of
3558 tst-preadwrite and tst-preadwrite64.
3560 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
3561 * posix/tst-truncate.c: New file.
3562 * posix/tst-truncate64.c: New file.
3564 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
3567 * posix/Makefile (tests): Add tst-preadwrite64.
3568 * posix/tst-preadwrite.c: Alloc file being used also for testing
3569 pread64 and pwrite64.
3570 * posix/tst-preadwrite64.c: New file.
3572 2000-05-26 Andreas Jaeger <aj@suse.de>
3574 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
3575 of arguments dependend on endianness.
3576 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
3578 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
3580 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
3581 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
3582 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3583 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3585 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
3586 endianness to check how to pass argument.
3587 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3589 * elf/ldconfig.h: Update parameter list for process_elf_file.
3591 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
3592 Add parameter file_length and pass it ot process_elf*file.
3594 * sysdeps/generic/readelflib.c (check_ptr): New.
3595 (process_elf_file): Use check_ptr to check all accesses to the
3596 mmapped file. Add parameter file_length.
3598 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
3601 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
3602 Closes PR libc/1573, reported by Bradley White
3603 <bww@laurelnetworks.com>.
3605 2000-05-25 Ulrich Drepper <drepper@redhat.com>
3607 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
3608 __FAST_MATH__ is defined.
3610 2000-05-22 Andreas Jaeger <aj@suse.de>
3612 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
3613 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
3615 * manual/math.texi (FP Function Optimizations): Document gcc
3616 -ffast-math behaviour with mathinlines.
3618 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
3619 functions unless -ffast-math is given to gcc.
3621 2000-05-23 Jakub Jelinek <jakub@redhat.com>
3623 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
3624 __sincosl): Guard with __USE_GNU.
3626 2000-05-24 Ulrich Drepper <drepper@redhat.com>
3628 * csu/Makefile (routines): Add check_fds.
3629 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
3630 binaries. Add various __builtin_expect.
3631 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
3632 * sysdeps/generic/check_fds.c: ...here. New file.
3634 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
3635 binaries if file /etc/suid-debug is available.
3637 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
3638 and wcseqorder members.
3639 (struct locale_collate_t): Likewise.
3640 (collate_finish): Assign collation sequence value to each character.
3641 Create tables for output.
3642 (collate_output): Write out tables with collation sequence information.
3643 * locale/C-collate.c: Provide C locale data for collation sequence
3645 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
3646 _NL_COLLATE_COLLSEQWC.
3647 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
3648 _NL_COLLATE_COLLSEQWC.
3649 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
3650 include fnmatch_loop.c.
3651 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
3652 character is matched by range expression. Use collation sequence
3653 table. Outside glibc fall back on simple character value comparison.
3655 2000-05-24 Andreas Jaeger <aj@suse.de>
3657 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
3660 * intl/Makefile: Run gettext-test only if msgfmt is available.
3662 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
3663 Define it for newer kernels.
3665 2000-05-23 Ulrich Drepper <drepper@redhat.com>
3667 * elf/dl-sym.c: Minor cleanups.
3669 * configure.in: Add test for .protected.
3670 * config.make.in: Add have-protected variable.
3671 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
3672 (tests-vis-yes): Add vismain.
3673 (modules-names): Add $(modules-vis-$(have-protected)).
3674 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
3675 Add rules to generate and run vismain.
3676 * elf/vismain.c: New file.
3677 * elf/vismod1.c: New file.
3678 * elf/vismod2.c: New file.
3679 * elf/vismod3.c: New file.
3681 2000-05-23 Andreas Jaeger <aj@suse.de>
3683 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
3685 * manual/search.texi (Array Sort Function): Document that qsort is
3686 not necessarily in-place.
3688 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
3689 Closes PR libc/1731.
3691 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
3692 * dirent/scandir64.c: Likewise.
3693 * pwd/getpw.c: Likewise.
3694 * stdlib/bsearch.c (bsearch): Likewise.
3695 * stdlib/tst-strtoll.c: Likewise.
3696 * localedata/collate-test.c: Likewise.
3697 * localedata/xfrm-test.c: Likewise.
3698 * posix/bsd-getpgrp.c: Likewise.
3699 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
3700 * sysdeps/generic/bits/siginfo.h: Likewise.
3701 * sysdeps/generic/bits/sockaddr.h: Likewise.
3702 * sysdeps/generic/sys/swap.h: Likewise.
3703 * sysdeps/generic/sys/sysinfo.h: Likewise.
3704 * sysdeps/generic/vfork.c: Likewise.
3705 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
3706 * sysdeps/mach/hurd/fdopen.c: Likewise.
3707 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
3708 * sysdeps/unix/sysv/linux/poll.c: Likewise.
3709 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3710 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3711 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3712 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3713 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
3715 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
3716 * shadow/lckpwdf.c: Likewise.
3717 * stdlib/tst-strtol.c: Likewise.
3718 * sysdeps/generic/tcsetattr.c: Likewise.
3719 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3720 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3722 2000-05-22 Jakub Jelinek <jakub@redhat.com>
3724 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
3725 free it and set to (void *) -1.
3727 2000-05-22 Jakub Jelinek <jakub@redhat.com>
3729 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
3730 not the second character in the range.
3731 * stdio-common/tstscanf.c (main): Add testcase for the above.
3732 Reported by jik@kamens.brookline.ma.us.
3734 2000-05-21 H.J. Lu <hjl@gnu.org>
3736 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
3737 with noexec and noplt parameter.
3738 (do_lookup): Likewise.
3740 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
3741 do_lookup. Support STV_PROTECTED.
3742 (_dl_lookup_symbol_skip): Likewise.
3743 (_dl_lookup_versioned_symbol): Likewise.
3744 (_dl_lookup_versioned_symbol_skip): Likewise.
3746 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
3748 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
3750 2000-05-21 Jakub Jelinek <jakub@redhat.com>
3752 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
3753 * sysdeps/i386/bits/huge_val.h: Likewise.
3754 * sysdeps/ieee754/bits/huge_val.h: Likewise.
3755 * sysdeps/m68k/bits/huge_val.h: Likewise.
3756 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
3757 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
3759 2000-05-22 Andreas Jaeger <aj@suse.de>
3761 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
3764 2000-05-19 Andreas Jaeger <aj@suse.de>
3766 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
3767 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
3768 breaks compilation without linuxthreads.
3770 2000-05-21 Ulrich Drepper <drepper@redhat.com>
3772 * sysdeps/ia64/memccpy.S: New file.
3773 * sysdeps/ia64/memchr.S: New file.
3774 * sysdeps/ia64/memcmp.S: New file.
3775 * sysdeps/ia64/memcpy.S: New file.
3776 * sysdeps/ia64/memmove.S: New file.
3777 * sysdeps/ia64/memset.S: New file.
3778 * sysdeps/ia64/strcat.S: New file.
3779 * sysdeps/ia64/strchr.S: New file.
3780 * sysdeps/ia64/strcmp.S: New file.
3781 * sysdeps/ia64/strcpy.S: New file.
3782 * sysdeps/ia64/strlen.S: New file.
3783 * sysdeps/ia64/strncmp.S: New file.
3784 * sysdeps/ia64/strncpy.S: New file.
3785 * sysdeps/ia64/softpipe.h: New file.
3786 Patches by Dan Pop <Dan.Pop@cern.ch>.
3788 * manual/memory.texi: Document memory handling functions (mlock,
3789 munlock, mlockall, munlockall, brk, and sbrk)
3790 * manual/time.texi: Document timespec and friends.
3791 * manual/conf.texi: Fix references.
3792 * manual/ctype.texi: Likewise.
3793 * manual/errno.texi: Likewise.
3794 * manual/intro.texi: Likewise.
3795 * manual/locale.texi: Likewise.
3796 * manual/sysinfo.texi: Likewise.
3797 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
3799 2000-05-09 Jes Sorensen <jes@linuxcare.com>
3801 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
3802 * sysdeps/ia64/dl-lookupcfg.h: ...here.
3804 2000-05-21 Jakub Jelinek <jakub@redhat.com>
3806 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
3809 2000-05-21 Ulrich Drepper <drepper@redhat.com>
3811 * locale/locale.h (struct lconv): Add new elements from ISO C99.
3812 * locale/localeconv.c: Initialize new elements from ISO C99.
3813 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
3814 new standard elements.
3815 * locale/categories.def: Adjust accordingly.
3817 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
3818 * iconv/iconv.c: Likewise.
3819 * conform/data/iconv.h-data: Likewise.
3820 * iconv/iconv_prog.c (process_block): Remove const from second
3822 (main): Remove const from addr definition.
3823 * manual/charset.texi (Generic Conversion Interface): Remove from
3824 inbuf parameter of iconv.
3826 * intl/dcigettext.c: Fix typo in comment.
3828 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
3830 * resolv/res_libc.c (_res): Initialize _sock to -1.
3832 2000-05-18 Jakub Jelinek <jakub@redhat.com>
3834 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
3835 (fopencookie@@GLIBC_2.2): New.
3836 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
3837 (fopencookie@GLIBC_2.0): New.
3838 * libio/Versions: Add fopencookie to GLIBC_2.2.
3840 2000-05-18 Andreas Jaeger <aj@suse.de>
3842 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
3843 Closes PR libc/1731.
3845 * manual/arith.texi (Parsing of Integers): Fix typo.
3846 Closes PR libc/1744, reported by blp@gnu.org.
3848 2000-05-17 Jakub Jelinek <jakub@redhat.com>
3850 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
3851 __extension__ to hexadecimal floating constant notation.
3852 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
3854 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
3855 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
3857 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
3858 HUGE_VALL): Likewise.
3859 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
3860 HUGE_VALL): Likewise.
3861 (HUGE_VALL): Set to HUGE_VAL on sparc32.
3863 2000-05-17 Andreas Jaeger <aj@suse.de>
3865 * string/envz.h: Add pure attributes if possible.
3867 * string/argz.h: argz_count is a pure function.
3869 * string/strings.h: Add pure and const attributes if possible.
3871 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
3872 possibly searching through the whole memory.
3873 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
3875 2000-05-17 Jakub Jelinek <jakub@redhat.com>
3877 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
3879 (_dl_cache_check_flags): Likewise.
3880 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
3883 2000-05-17 Andreas Jaeger <aj@suse.de>
3885 * manual/creature.texi (Feature Test Macros): Remove paragraph
3886 since the description is wrong.
3887 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
3889 * scripts/config.sub: New version.
3890 * scripts/config.guess: Likewise.
3891 * manual/texinfo.tex: Likewise.
3893 * time/test_time.args: Removed.
3894 * time/Makefile (test_time-ARGS): Added contents here instead.
3896 * posix/tstgetopt.args: Removed.
3897 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
3899 * Rules: Allow arguments for test files to be specified in
3900 Makefile with testname-ARGS; remove rules with .args in it.
3902 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
3903 remove old bogus rule for opendir-tst1.args.
3905 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
3907 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
3908 into objdir. This allows a readonly sourcetree.
3909 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
3911 2000-05-16 Andreas Jaeger <aj@suse.de>,
3912 David Huggins-Daines <dhd@linuxcare.com>
3914 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
3915 cache_data in case of only new cache format correctly.
3917 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
3920 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
3921 struct cache_file_new.
3923 * elf/cache.c (save_cache): Fix str_offset if only new cache is
3926 * elf/cache.c (save_cache): Align struct new_file_cache.
3927 (print_cache): Likewise.
3929 2000-05-13 Jakub Jelinek <jakub@redhat.com>
3931 * elf/soinit.c (__libc_global_ctors): Move
3932 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
3933 * resolv/resolv.h (__res_state): Added __attribute__((const)).
3934 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
3935 variable, don't define it to __res_state call.
3937 2000-05-13 Andreas Jaeger <aj@suse.de>
3939 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
3941 (AF_PPPOX): Likewise.
3942 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
3943 (AF_PPPOX): Likewise.
3945 2000-05-12 Andreas Jaeger <aj@suse.de>
3947 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
3948 Reported by tmoestl@gmx.net, closes PR libc/1732.
3950 2000-05-11 Jan Hubicka <jh@suse.cz>
3952 * misc/sys/cdefs.h: Add support for pure attribute.
3954 * include/string.h: Add __attribute_pure__ to various functions.
3955 * string/string.h: Likewise.
3957 2000-05-10 Jakub Jelinek <jakub@redhat.com>
3959 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
3961 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3963 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
3965 2000-05-10 Jakub Jelinek <jakub@redhat.com>
3967 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
3968 at proper place. Compute the high nibble correctly.
3970 2000-05-09 Jakub Jelinek <jakub@redhat.com>
3972 * elf/ldconfig.c: Include elf.h.
3974 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
3975 (_dl_vsym): Likewise.
3976 Reported by Owen Taylor <otaylor@redhat.com>.
3978 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
3981 2000-05-08 Andreas Jaeger <aj@suse.de>
3983 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
3985 * intl/bindtextdom.c (set_binding_values): Add prototype.
3987 2000-05-08 Jakub Jelinek <jakub@redhat.com>
3989 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
3990 call to elf_machine_fixup_plt.
3991 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3992 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3994 2000-05-08 Jakub Jelinek <jakub@redhat.com>
3996 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
3997 they are not dlclose'd from underneath us.
3999 2000-05-08 Andreas Schwab <schwab@suse.de>
4001 * posix/execle.c: Fix size parameter of memcpy.
4003 2000-05-08 Andreas Schwab <schwab@suse.de>
4005 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
4006 getpagesize syscall if available.
4008 2000-05-08 Andreas Jaeger <aj@suse.de>
4010 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
4013 2000-05-08 Jakub Jelinek <jakub@redhat.com>
4015 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
4016 sizeof(struct link_map *) chunks, not in bytes.
4018 2000-05-07 Ulrich Drepper <drepper@redhat.com>
4020 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
4021 only needed for locale.
4022 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
4023 It's only needed for catgets.
4024 Patches by Greg McGary <gkm@eng.ascend.com>.
4026 2000-05-07 Mark Kettenis <kettenis@gnu.org>
4028 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
4029 Remove duplicate <errno.h> include. Remove inclusion of
4030 <libintl.h> and "nsswitch.h".
4031 (set_cloexec_flag): New function, broken out of dbopen.
4032 (dbopen): Changed return type to `enum
4033 nss_status'. Mostly rewritten to make sure that we do not report
4034 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
4035 (internal_setent): Change return type to nss_status.
4036 Document, and make sure that the function
4037 behaves accordingly. Make dynamically loading the database
4038 library really thread-safe and return NSS_STATUS_UNAVAIL if it
4040 (db_cursor): Return ENOMEM is memory allocation failed. Remove
4042 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
4044 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
4045 c_get function member.
4046 * nss/nss_db/nss_db.h: Add and tweak some comments.
4047 (DBT): Move typedef before NSS_DBC typedef.
4048 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
4050 2000-05-07 H.J. Lu <hjl@gnu.org>
4052 * csu/initfini.c: Moved to ....
4053 * sysdeps/generic/initfini.c: ...here.
4055 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
4057 2000-05-07 Ulrich Drepper <drepper@redhat.com>
4059 * manual/resource.texi: Document POSIX scheduling functions.
4060 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4062 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
4063 reading anything. Reported by Andries.Brouwer@cwi.nl.
4065 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
4066 for x since promotion in comparison might leads to unexpected
4067 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
4069 * iconv/Makefile (tests): Add tst-iconv1.
4070 * iconv/tst-iconv1.c: New file.
4071 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
4072 empty input buffer over full output buffer.
4073 (ucs4_internal_loop): Likewise.
4074 (ucs4_internal_loop_unaligned): Likewise.
4075 (internal_ucs4le_loop): Likewise.
4076 (internal_ucs4le_loop_unaligned): Likewise.
4077 (ucs4le_internal_loop): Likewise.
4078 (ucs4le_internal_loop_unaligned): Likewise.
4079 Reported by yaoz@nih.gov.
4081 2000-05-06 Bruno Haible <haible@clisp.cons.org>
4083 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
4084 returned != __GCONV_OK, there is nothing to clean up.
4086 2000-05-06 Bruno Haible <haible@clisp.cons.org>
4088 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
4089 OUTPUT_CHARSET environment variables.
4091 2000-05-06 Andreas Jaeger <aj@suse.de>
4093 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
4094 (struct cache_file_new): New.
4095 (struct file_entry): New (moved from cache.c).
4096 (struct cache_file): New (moved from cache.c).
4098 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
4099 from _dl_load_cache_lookup.
4100 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
4101 the different cache formats.
4102 New variable cache_new for new format.
4104 * elf/ldconfig.h: Change according to changes in cache.c and
4105 ldconfig.c; remove cache_libcmp; add opt_format.
4107 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
4108 stuff that's defined in those headers.
4109 Add hwcap to struct lib_entry.
4110 (opt_format): New variable to select cache format.
4111 (options): Add format parameter.
4112 (is_hwcap): New function.
4113 (path_hwcap): New function.
4114 (parse_opt): Handle new format parameter.
4115 (search_dir): Handle hwcap, search also subdirectories with hwcap.
4117 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
4118 ldconfig is part of glibc.
4119 Include dl-cache.h and remove stuff that's defined there.
4120 (struct cache_entry): Add new member hwcap.
4121 (print_entry): Print hwcap, cleanup a bit.
4122 (print_cache): Print new and old formats.
4123 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
4124 (save_cache): Save new and old formats.
4125 (add_to_cache): Handle hwcap.
4127 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
4128 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
4129 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
4130 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
4131 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
4132 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
4134 2000-05-05 Bruno Haible <haible@clisp.cons.org>
4136 * intl/dcigettext.c (alignof): New macro.
4137 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
4138 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
4141 2000-05-05 Bruno Haible <haible@clisp.cons.org>
4143 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
4146 2000-05-06 Ulrich Drepper <drepper@redhat.com>
4148 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
4149 (mempcpy): Correct typo is parameter list.
4151 2000-05-06 Andreas Jaeger <aj@suse.de>
4153 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
4154 functions unless -ffast-math is given to gcc.
4156 2000-05-06 Ulrich Drepper <drepper@redhat.com>
4158 * po/ko.po: Update from translation team.
4160 2000-05-05 Ulrich Drepper <drepper@redhat.com>
4162 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
4163 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
4164 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
4165 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
4166 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
4167 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
4169 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
4170 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
4171 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
4173 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
4174 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
4175 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
4176 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
4178 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
4179 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
4181 2000-05-05 Jes Sorensen <jes@linuxcare.com>
4183 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
4184 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
4186 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
4187 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
4189 * sysdeps/ia64/Implies: New file.
4190 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
4191 * sysdeps/ia64/Makefile: New file.
4192 * sysdeps/ia64/gmp-mparam.h: New file,
4194 * sysdeps/ia64/elf/start.S: New file.
4196 * sysdeps/ia64/bits/fenv.h: New file.
4198 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
4200 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
4202 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
4204 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
4205 ia64 has 64 bit .hash entries just as the Alpha.
4207 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
4209 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
4211 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
4213 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
4214 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
4215 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
4216 * sysdeps/ia64/fpu/fegetenv.c: New file.
4217 * sysdeps/ia64/fpu/fegetexcept.c: New file.
4218 * sysdeps/ia64/fpu/fegetround.c: New file.
4219 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
4220 * sysdeps/ia64/fpu/fesetenv.c: New file.
4221 * sysdeps/ia64/fpu/fesetround.c: New file.
4222 * sysdeps/ia64/fpu/feupdateenv.c: New file.
4223 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
4224 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
4225 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
4226 * sysdeps/ia64/fpu/ftestexcept.c: New file.
4228 2000-05-05 Andreas Jaeger <aj@suse.de>
4230 * misc/tst-tsearch.c (main): Correct type for initstate argument.
4232 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
4233 (_dl_string_hwcap): New, does nothing.
4235 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
4236 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4237 (_dl_string_hwcap): New function, converts from string to hwcap
4239 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
4240 (_DL_HWCAP_COUNT): New.
4241 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4242 (_dl_string_hwcap): New function, converts from string to hwcap
4244 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
4245 (_DL_HWCAP_COUNT): New.
4246 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4247 (_dl_string_hwcap): New function, converts from string to hwcap
4250 2000-05-05 Ulrich Drepper <drepper@redhat.com>
4252 * elf/Makefile (distribute): Add dl-lookupcfg.h.
4253 * sysdeps/ia64/Dist: New file.
4255 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
4256 parameter to mprotect and for variable assignments.
4258 2000-05-03 Jes Sorensen <jes@linuxcare.com>
4260 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
4261 validity of map before dereferencing it.
4263 * elf/dl-reloc.c (RESOLVE_MAP): Define.
4265 2000-05-02 Jes Sorensen <jes@linuxcare.com>
4267 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
4268 lookup to the arguments to elf_machine_fixup_plt().
4270 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
4271 of the symbol being resolved to input argument list and make the
4272 function return the pointer to the reloc.
4274 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
4275 return valuie to lookup_t and return the value.
4276 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
4277 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
4278 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
4279 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
4280 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
4281 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
4283 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
4284 Make it an inline function returning value after calling
4285 __elf_machine_fixup_plt().
4287 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
4290 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
4291 obtain the symbol address.
4293 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
4294 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
4296 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
4297 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
4300 2000-04-28 Jes Sorensen <jes@linuxcare.com>
4302 * elf/dl-runtime.c (fixup): Use the portable macros to get the
4303 symbol address of an object.
4305 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
4306 the symbol address of an object.
4308 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
4309 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
4310 (_dl_lookup_symbol_skip): Likewise.
4311 (_dl_lookup_versioned_symbol): Likewise.
4312 (_dl_lookup_versioned_symbol_skip): Likewise.
4314 2000-04-27 Jes Sorensen <jes@linuxcare.com>
4316 * elf/rtld.c (_dl_start): Get the function pointer return address
4317 via _dl_start_address for architectures that need a function
4318 pointer descriptor rather than just a pointer (ia64).
4320 * sysdeps/generic/dl-lookupcfg.h: New file.
4321 * sysdeps/ia64/dl-lookupcfg.h: New file.
4322 * sysdeps/ia64/dl-machine.h: New file.
4323 * sysdeps/ia64/dl-symaddr.c: New file.
4324 * sysdeps/ia64/dl-fptr.c: New file.
4326 * elf/elf.h: Add IA-64 specific definitions.
4328 2000-05-04 Jakub Jelinek <jakub@redhat.com>
4330 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
4333 2000-05-04 Jakub Jelinek <jakub@redhat.com>
4335 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
4338 2000-04-11 Geoff Keating <geoffk@cygnus.com>
4340 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
4341 symbol. Call _dl_init rather than the old way.
4343 2000-05-04 Ulrich Drepper <drepper@redhat.com>
4345 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
4346 test for pointer in range of DSO address space.
4348 2000-05-04 Andreas Jaeger <aj@suse.de>
4350 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
4352 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4354 * locale/findlocale.c (_nl_find_locale): Add new parameter to
4355 calls of _nl_make_l10nflist.
4357 * libio/stdio.h: Make fseeko and ftello prototypes available is
4358 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
4360 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
4361 real unsetenv implementation from 1999-07-29 [PR libc/1714].
4363 2000-05-03 Bruno Haible <haible@clisp.cons.org>
4365 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
4366 before calling tfind.
4368 2000-03-05 Jakub Jelinek <jakub@redhat.com>
4370 * resolv/resolv.h (res_querydomain): Remove redefinition to
4371 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
4373 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4375 * po/gl.po: Update from translation team.
4377 * manual/intro.texi (Program Basics): Change section title.
4378 * manual/process.texi: Fix reference.
4379 (Executing a File): Add reference exec in other section.
4380 * manual/signal.texi: Fix reference.
4381 * manual/startup.texi: Document syscall function.
4382 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
4384 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4386 * intl/libintl.h (bind_textdomain_codeset): New declaration.
4387 * intl/bindtextdom.c (set_binding_values): New function.
4388 (bindtextdomain): Call it.
4389 (bind_textdomain_codeset): New function.
4390 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
4391 (free_mem): Free each binding's codeset.
4392 * intl/gettextP.h (struct binding): Add codeset field.
4393 (_nl_find_domain): Add domainbinding argument.
4394 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
4395 Pass it to _nl_make_l10nflist.
4396 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
4397 (_nl_make_l10nflist): Add domainbinding argument.
4398 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
4399 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
4400 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
4402 * manual/message.texi: New node "Charset conversion in gettext".
4404 2000-04-30 Bruno Haible <haible@clisp.cons.org>
4406 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
4407 appropriate. Handle possible __read error.
4409 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4411 * intl/gettextP.h (__builtin_expect): Define as empty if not a
4413 * intl/loadinfo.h (__builtin_expect): Likewise.
4414 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
4415 __builtin_expect where appropriate.
4416 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4417 * intl/localealias.c (extend_alias_table): Return an error indicator.
4418 (read_alias_file): Bail out if extend_alias_table fails.
4420 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4422 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
4423 * intl/localealias.c: Likewise.
4425 2000-05-01 Bruno Haible <haible@clisp.cons.org>
4427 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
4428 Initialize domain->plural and domain->nplurals even if there is no
4431 2000-05-01 Bruno Haible <haible@clisp.cons.org>
4433 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
4434 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
4435 In case of failure, goto converted.
4437 2000-05-01 Bruno Haible <haible@clisp.cons.org>
4439 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
4440 * iconv/gconv_int.h (norm_add_slashes): Move to here.
4441 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
4444 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4446 * intl/dcigettext.c (transcmp): Compare the domains as well.
4447 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
4449 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
4452 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4454 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
4455 Reported by Bruno Haible.
4457 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4459 * manual/arith.texi: Remove @w from @itemize.
4461 2000-05-02 Andreas Jaeger <aj@suse.de>
4463 * conform/data/tar.h-data: Add some checks for specific values.
4465 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
4468 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
4471 * conform/data/netinet/in.h-data: Add exact checks for the values
4472 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
4474 * conform/data/float.h-data: Add some minimal values.
4476 * conform/conformtest.pl: Test for macros with string constants,
4477 check for minimum and maximum values.
4478 Add limits.h to headers.
4480 * conform/data/cpio.h-data: Test for value of MAGIC.
4482 * conform/data/limits.h-data: New file.
4484 2000-04-30 Bruno Haible <haible@clisp.cons.org>
4486 * math/Makefile (headers): Add bits/fenvinline.h.
4488 2000-05-01 Ulrich Drepper <drepper@redhat.com>
4490 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
4491 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
4493 * posix/Versions: Change posix_spawnattr_getdefault and
4494 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
4495 and posix_spawnattr_setsigdefault respectively.
4496 * posix/spawn.h: Likewise.
4497 * posix/spawnattr_getdefault.h: Likewise.
4498 * posix/spawnattr_setdefault.h: Likewise.
4499 * conform/data/spawn.h-data: Likewise.
4501 2000-05-01 Andreas Jaeger <aj@suse.de>
4503 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
4505 2000-04-30 Ulrich Drepper <drepper@redhat.com>
4507 * manual/sysinfo.texi: Document getdomainname, setdomainname
4509 * manual/string.texi: Fix typo.
4510 * manual/terminal.texi: Document gtty and stty.
4511 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4513 2000-04-30 Andreas Jaeger <aj@suse.de>
4515 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
4516 accordance with Austin Draft.
4518 2000-04-30 Ulrich Drepper <drepper@redhat.com>
4520 * catgets/gencat.c (read_input_file): Use isblank and not isspace
4521 to recognize second character in comment line.
4523 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
4524 ENOBUFS if we are out of memory.
4526 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
4527 available if __USE_XOPEN2K.
4528 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
4529 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4530 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
4531 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
4532 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
4533 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4534 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
4535 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
4537 2000-04-29 Ulrich Drepper <drepper@redhat.com>
4539 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
4540 Recognize option -s, -c, and -l.
4542 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
4544 * nscd/nscd.c: Start new session for nscd, drop privilegs
4545 to configured user if requested and no -S parameter are used.
4546 * nscd/nscd.conf: Add new option "server-user".
4547 * nscd/nscd_conf.c: Add support for new "server-user" option.
4548 * nscd/nscd.h: Add declaration for server_user variable.
4549 Based on patch by Chris Wing <wingc@engin.umich.edu>
4551 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4553 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
4554 that changing the __restore and __restore_rt signal return code
4557 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4559 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
4562 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4564 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
4566 2000-04-29 Ulrich Drepper <drepper@redhat.com>
4568 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
4569 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
4571 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
4572 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
4573 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
4574 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
4575 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
4576 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
4577 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
4578 posix_fallocate, and posix_madvise.
4579 * conform/data/netdb.h-data: New file.
4580 * conform/data/pthread.h-data: Add pthread_barrier_t,
4581 pthread_barrierattr_t, pthread_barrier_destroy,
4582 pthread_barrier_init, pthread_barrier_wait,
4583 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
4584 pthread_barrierattr_init, pthread_barrierattr_setpshared,
4585 pthread_condattr_getclock, pthread_condattr_setclock,
4586 pthread_getcpuclockid, pthread_mutex_timedlock,
4587 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
4588 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
4589 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
4590 * conform/data/sched.h-data: Add sched_ss_low_priority,
4591 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
4593 * conform/data/semaphore.h-data: Add sem_timedwait.
4594 * conform/data/signal.h-data: Add SIGIO.
4595 * conform/data/spawn.h-data: New file.
4596 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
4597 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
4598 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
4599 Fix typo in gmtime_r definition.
4600 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
4601 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
4602 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
4603 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
4604 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
4605 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
4606 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
4607 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
4608 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
4609 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
4610 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
4611 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
4612 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
4613 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
4614 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
4615 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
4616 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
4617 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
4618 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
4619 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
4620 typo in off_t definition.
4621 * conform/data/net/if.h-data: New file.
4622 * conform/data/netinet/in.h-data: New file.
4623 * conform/data/netinet/tcp.h-data: New file.
4624 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
4625 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
4626 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
4627 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
4628 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
4629 and posix_typed_mem_open.
4630 * conform/data/sys/socket.h-data: New file.
4631 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
4632 * conform/data/sys/types.h-data: Add pthread_barrier_t,
4633 pthread_barrierattr_t, and pthread_spinlock_t.
4634 * conform/data/sys/un.h-data: New file.
4635 * conform/data/sys/utsname.h-data: New file.
4637 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
4639 * inet/gethstbyad.c (gethostbyname): Likewise.
4640 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
4641 * inet/getipnodebyad.c (getipnodebyad): Likewise.
4642 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
4643 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
4645 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
4646 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
4647 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
4648 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
4649 * resolv/gethnamaddr.c (gethostbyname): Likewise.
4650 * resolv/netdb.h (struct hostent): Fix type of h_length member.
4651 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
4652 and second parameter.
4654 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
4657 2000-04-29 Andreas Jaeger <aj@suse.de>
4659 * conform/data/arpa/inet.h-data: New file.
4661 2000-04-28 Geoff Clare <gwc@unisoft.com>
4663 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
4664 path passed to ftw() or nftw() is an empty string.
4665 Closes PR libc/1710.
4667 2000-04-27 Ulrich Drepper <drepper@redhat.com>
4669 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
4670 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
4671 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
4672 * localedata/tst-mbswcs4.c: New file.
4673 * localedata/tst-mbswcs5.c: New file.
4675 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
4676 == NULL. Little optimization.
4678 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
4679 DT_PREINIT_ARRAYSZ).
4680 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
4682 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
4683 overflows in conversion from ASCII.
4685 2000-04-26 Jakub Jelinek <jakub@redhat.com>
4687 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
4688 * Makerules (full_config_sysdirs): Likewise.
4689 * MakeTAGS (full_config_sysdirs): Likewise.
4691 2000-04-26 Jakub Jelinek <jakub@redhat.com>
4693 * .cvsignore: Remove linuxthreads.
4694 * po/.cvsignore: Remove *.pot.
4695 * posix/glob/.cvsignore: Removed.
4696 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
4698 2000-04-25 Andreas Jaeger <aj@suse.de>
4700 * conform/Makefile (distribute): Also distribute contents of
4703 * Makerules (no_deps): Remove abi-versions.h.
4705 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
4707 2000-04-25 Jakub Jelinek <jakub@redhat.com>
4709 * sysdeps/sparc/sparc64/elf/Dist: Remove.
4710 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
4711 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
4712 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
4713 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
4714 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
4717 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
4719 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
4721 2000-04-23 Bruno Haible <haible@clisp.cons.org>
4723 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
4724 * intl/l10nflist.c: Likewise.
4726 2000-04-23 Bruno Haible <haible@clisp.cons.org>
4728 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
4729 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
4730 * intl/textdomain.c [!_LIBC]: Likewise.
4731 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
4732 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
4733 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
4736 2000-04-23 Bruno Haible <haible@clisp.cons.org>
4738 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
4739 character set conversion also in the case the translation was found
4740 after a hash collision or through binary search. Store the maximum
4741 index together with the converted message. Use iconv() when available.
4742 In case of out of memory during conversion, return the unconverted
4743 translated string, not NULL.
4745 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
4747 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
4748 to avoid name clashes with the ia32 linker.
4750 2000-04-25 Jakub Jelinek <jakub@redhat.com>
4752 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
4755 2000-04-27 Ulrich Drepper <drepper@redhat.com>
4757 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
4758 strtoumax, strfry, and memfrob.
4759 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
4760 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4762 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
4763 if this function is available.
4765 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
4768 2000-04-27 Jakub Jelinek <jakub@redhat.com>
4770 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
4772 2000-04-27 Ulrich Drepper <drepper@redhat.com>
4774 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
4775 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
4776 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
4777 * localedata/tst-mbswcs3.c: New file.
4779 2000-04-26 Ulrich Drepper <drepper@redhat.com>
4781 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
4782 characters. Don't handle incomplete characters as errors.
4783 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
4784 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
4785 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
4786 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
4787 * localedata/tst-mbswcs2.c: New file.
4789 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
4790 stored character in state in UNPACK_BYTES macro.
4791 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
4792 test for available characters, handle result of BODY code correctly.
4793 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
4794 (distribute): Add tst-mbswcs.sh.
4795 Add rule to run tst-mbswcs.sh.
4796 * localedata/tst-mbswcs.sh: New file.
4797 * localedata/tst-mbswcs1.c: New file.
4799 2000-04-26 Jakub Jelinek <jakub@redhat.com>
4801 * nis/nis_callback.c (__nis_create_callback): Do failed memory
4802 allocation fixups centrally, fix __builtin_expect call, return NULL
4803 on failure, not NIS_NOMEMORY.
4805 2000-04-27 Bruno Haible <haible@clisp.cons.org>
4807 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
4809 * intl/loadinfo.h (internal_function): Define if not already defined.
4811 2000-04-27 Andreas Jaeger <aj@suse.de>
4813 * intl/libintl.h: Fix typo, reported by Bruno Haible
4814 <haible@clisp.cons.org>.
4816 2000-04-25 Ulrich Drepper <drepper@redhat.com>
4818 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
4819 setting the state to GMON_PROF_BUSY.
4821 2000-04-24 Ulrich Drepper <drepper@redhat.com>
4823 * elf/dl-profile.c (_dl_start_profile): define all variables which
4824 do not have to be global as local variables.
4826 * nis/nis_callback.c (__nis_create_callback): Partially undo last
4827 patch. Keep needed tests for failed memory allocation.
4829 * elf/dl-reloc.c (_dl_relocate_object): Add one more
4830 __builtin_expect saying that we don't normally expect to profile.
4832 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
4833 __builtin_expect where desirable.
4835 2000-04-23 Ulrich Drepper <drepper@redhat.com>
4837 * manual/Makefile (chapters): Add syslog.
4838 * manual/syslog.texi: New file.
4839 * manual/math.texi: Fix references.
4840 * manual/terminal.texi: Likewise.
4841 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4843 2000-04-18 Jakub Jelinek <jakub@redhat.com>
4845 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
4846 stdlib.h was not included or __USE_XOPEN not defined.
4848 2000-04-23 Ulrich Drepper <drepper@redhat.com>
4850 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
4851 Patch by Zack Weinberg <zack@wolery.cumb.org>.
4853 2000-04-22 Ulrich Drepper <drepper@redhat.com>
4855 * manual/examples/subopt.c (mount_opts): Add missing terminating
4857 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
4859 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
4860 * libio/ftello.c: Likewise.
4861 * libio/ftello64.c: Likewise.
4862 * libio/ioftell.c: Likewise.
4863 * sysdeps/generic/memrchr.c: Likewise.
4864 * sysdeps/posix/libc_fatal.c: Likewise.
4865 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
4866 * misc/fstab.c: Include <string.h> for strcmp prototype.
4867 * sysdeps/generic/ldsodefs.h: Likewise.
4868 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4869 Patch by Kurt Roeckx <Q@ping.be>.
4871 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
4872 Remove db-open. Change all uses.
4873 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
4875 2000-04-21 Jakub Jelinek <jakub@redhat.com>
4877 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
4878 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
4879 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
4880 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
4881 with .set noat/at to shut up warnings.
4882 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
4883 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
4884 compilation if __NR_pciconfig_iobase is not defined.
4885 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
4888 2000-04-21 Ulrich Drepper <drepper@redhat.com>
4890 * manual/sysinfo.texi: Fix typo.
4891 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
4892 Replace "high precision time" with "high accuracy clock".
4894 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
4896 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
4897 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
4899 * nis/nis_subr.c: Use __builtin_expect.
4900 * nis/ypclnt.c: Likewise.
4901 * nis/nis_getservlist.c: Likewise.
4902 * nis/nis_creategroup.c: Likewise.
4904 * nis/nis_callback.c (__nis_create_callback): Check result of
4905 memory allocation. Fix memory leaks. Use __builtin_expect.
4906 (__nis_destroy_callback): Fix memory leaks.
4908 2000-04-21 Andreas Jaeger <aj@suse.de>
4910 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
4911 * sysdeps/mips/mips64/add_n.S: Likewise.
4912 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
4913 * sysdeps/mips/mips64/lshift.S: Likewise.
4914 * sysdeps/mips/mips64/mul_1.S: Likewise.
4915 * sysdeps/mips/mips64/rshift.S: Likewise.
4916 * sysdeps/mips/mips64/setjmp.S: Likewise.
4917 * sysdeps/mips/mips64/sub_n.S: Likewise.
4918 * sysdeps/mips/mips64/submul_1.S: Likewise
4919 * sysdeps/unix/mips/sysdep.S: Likewise.
4921 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
4922 and update comment. The strtab from _dl_relocate_object can be
4925 2000-04-21 Ulrich Drepper <drepper@redhat.com>
4927 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
4928 * iconv/iconv_close.c (iconv_close): Likewise.
4929 * iconv/iconv_open.c (iconv_open): Likewise.
4931 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
4932 __builtin_expect where useful.
4934 * grp/initgroups.c (initgroups): Test for result of memory
4935 allocation and punt if it fails.
4937 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
4938 * grp/fgetgrent.c (fgetfrent): Likewise.
4939 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
4941 2000-04-21 Jakub Jelinek <jakub@redhat.com>
4943 * libio/vasprintf.c: Include string.h to get memcpy prototype.
4945 2000-04-20 Ulrich Drepper <drepper@redhat.com>
4947 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
4948 don't search for NUL byte to decrement counter.
4949 Reported by Ulrich.Brink@sap.com.
4951 * iconv/gconv_simple.c: Define separate functions to convert from
4952 UCS4/UCS4-LE to the internal encoding.
4953 * iconv/gconv_builtin.h: Use separate functions to convert from
4954 UCS4/UCS4-LE to the internal encoding.
4955 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
4956 __gconv_transform_ucs4le_internal.
4958 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
4959 output buffer overflow. Reported by Ulrich.Brink@sap.com.
4961 * iconv/skeleton.c: Add some more __builtin_expect.
4962 * iconv/loop.c: Likewise.
4964 2000-03-08 H.J. Lu <hjl@gnu.org>
4966 * posix/regex.c (regex_compile): Correctly handle "\{" when
4967 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
4969 2000-04-20 Ulrich Drepper <drepper@redhat.com>
4971 * manual/stdio.texi: Give advise about handling error when using
4973 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
4975 2000-04-19 Jakub Jelinek <jakub@redhat.com>
4977 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
4978 field to nelems * sizeof (uint32_t).
4979 * locale/programs/ld-address.c (address_output): Align word fields
4981 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4982 Don't restart idx pointers to idx end at the duo_int_curr_symbol
4984 Avoid giving arbitrary garbage in the crncystr field.
4985 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
4986 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
4988 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4989 Don't restart idx pointers to idx end at the decimal_point_wc field.
4990 * locale/programs/ld-time.c (time_output): week_1stday should be
4991 word, not byte. Align it properly.
4993 2000-04-19 H.J. Lu <hjl@gnu.org>
4995 * csu/gmon-start.c (_start): Declared as "extern void".
4998 2000-04-18 Andreas Jaeger <aj@suse.de>
5000 * manual/install.texi (Running make install): Don't mention utmpd
5003 2000-04-18 Andreas Jaeger <aj@suse.de>
5005 * linuxthreads/Versions: Use ld instead of ld.so.
5007 * elf/Makefile (ld-map): Use ld.map.
5009 * Versions.def: Use ld instead of ld.so.
5010 * elf/Versions: Likewise.
5011 * sysdeps/mach/hurd/Versions: Likewise.
5013 2000-04-20 Andreas Jaeger <aj@suse.de>
5015 * elf/rtld.c (print_statistics): Move ifndef further up.
5016 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
5017 (dl_main): Likewise.
5019 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5021 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
5022 * gmon/Versions: Move moncontrol to GLIBC_2.2.
5024 * po/cs.po: Update from translation team.
5026 * sysdeps/generic/updwtmp.c: Remove daemon support.
5028 * login/Makefile (routines): Remove utmp_daemon.
5030 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
5031 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
5032 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
5033 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
5035 * elf/rtld.c: Display statitics option also if hp timing is not
5038 * login/programs/connection.c: Removed.
5039 * login/programs/database.c Removed.
5040 * login/programs/error.c: Removed.
5041 * login/programs/request.c: Removed.
5042 * login/programs/xtmp.c: Removed.
5043 * login/programs/xtmp.h: Removed.
5044 * login/Makefile: Remove rules for utmpd.
5045 * login/README.utmpd: Removed.
5046 * login/utmp_daemon.c: Removed.
5047 * login/getutent_r.c: Remove references to daemon functions.
5048 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
5051 2000-04-18 Andreas Jaeger <aj@suse.de>
5053 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
5054 2.2 for libnsl, libresolv, librt, libnss_*.
5056 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
5058 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
5060 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5062 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
5063 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
5064 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
5065 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
5066 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
5067 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
5068 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
5069 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
5070 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
5071 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
5072 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
5073 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
5074 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
5076 * sysdeps/unix/sysv/aix/msync.c: New file.
5077 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
5078 * sysdeps/unix/sysv/aix/net/if.h: New file.
5079 * sysdeps/unix/sysv/aix/pipe.c: New file.
5080 * sysdeps/unix/sysv/aix/poll.c: New file.
5081 * sysdeps/unix/sysv/aix/rename.c: New file.
5082 * sysdeps/unix/sysv/aix/rmdir.c: New file.
5083 * sysdeps/unix/sysv/aix/select.c: New file.
5084 * sysdeps/unix/sysv/aix/semctl.c: New file.
5085 * sysdeps/unix/sysv/aix/semget.c: New file.
5086 * sysdeps/unix/sysv/aix/semop.c: New file.
5087 * sysdeps/unix/sysv/aix/sendto.c: New file.
5088 * sysdeps/unix/sysv/aix/setgroups.c: New file.
5089 * sysdeps/unix/sysv/aix/setpgid.c: New file.
5090 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
5091 * sysdeps/unix/sysv/aix/setpriority.c: New file.
5092 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
5093 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
5094 * sysdeps/unix/sysv/aix/setsid.c: New file.
5095 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
5096 * sysdeps/unix/sysv/aix/shmat.c: New file.
5097 * sysdeps/unix/sysv/aix/shmctl.c: New file.
5098 * sysdeps/unix/sysv/aix/shmdt.c: New file.
5099 * sysdeps/unix/sysv/aix/shmget.c: New file.
5100 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
5101 * sysdeps/unix/sysv/aix/sigstack.c: New file.
5102 * sysdeps/unix/sysv/aix/socket.c: New file.
5103 * sysdeps/unix/sysv/aix/socketpair.c: New file.
5104 * sysdeps/unix/sysv/aix/speed.c: New file.
5105 * sysdeps/unix/sysv/aix/symlink.c: New file.
5106 * sysdeps/unix/sysv/aix/sync.c: New file.
5107 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
5108 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
5109 * sysdeps/unix/sysv/aix/times.c: New file.
5110 * sysdeps/unix/sysv/aix/ulimit.c: New file.
5111 * sysdeps/unix/sysv/aix/umask.c: New file.
5112 * sysdeps/unix/sysv/aix/unlink.c: New file.
5113 * sysdeps/unix/sysv/aix/ustat.c: New file.
5114 * sysdeps/unix/sysv/aix/utimes.c: New file.
5116 2000-04-18 Andreas Jaeger <aj@suse.de>
5118 * manual/startup.texi (Environment Access): Fix putenv prototype
5119 according to recent changes.
5120 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
5123 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
5126 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5128 * posix/Makefile (tests): Add tst-getaddrinfo.
5129 * posix/tst-getaddrinfo.c: New file.
5131 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5133 * manual/sysinfo.texi: Document that umount2 is not widely available.
5135 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
5136 signal timing is not really implemented.
5138 2000-04-17 Andreas Jaeger <aj@suse.de>
5140 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
5142 2000-04-17 Jakub Jelinek <jakub@redhat.com>
5144 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
5147 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5149 * manual/intro.texi: Change reference from System Information to
5151 * manual/users.texi: Likewise.
5152 * manual/conf.texi: Likewise.
5153 * manual/sysinfo.texi: Document mount, umount, and umount2.
5154 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5156 2000-04-17 Jakub Jelinek <jakub@redhat.com>
5158 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
5159 Create wnumstr as well as numstr to support wide character output
5162 2000-04-15 Jakub Jelinek <jakub@redhat.com>
5164 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
5165 modification and move it...
5166 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
5167 Add -melf64_sparc switch to $(LD) on sparc64-linux.
5168 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
5169 switch to $(LD) on sparc-linux.
5171 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
5173 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
5174 and setresuid from sysdep_routines.
5176 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5178 * manual/Makefile (chapters): Add resource.
5180 * manual/time.texi: Move section on resources to...
5181 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
5183 * manual/setjmp.texi: Adjust back reference.
5184 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5186 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
5188 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
5189 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
5190 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
5191 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
5192 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
5193 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
5194 * sysdeps/unix/sysv/aix/close.c: Add copyright.
5195 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
5196 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
5197 * sysdeps/unix/sysv/aix/access.c: Add copyright.
5198 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
5199 * sysdeps/unix/sysv/aix/Implies: New file.
5200 * sysdeps/unix/sysv/aix/Versions: New file.
5201 * sysdeps/unix/sysv/aix/bind.c: New file.
5202 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
5203 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
5204 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
5205 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
5206 * sysdeps/unix/sysv/aix/chdir.c: New file.
5207 * sysdeps/unix/sysv/aix/chmod.c: New file.
5208 * sysdeps/unix/sysv/aix/chroot.c: New file.
5209 * sysdeps/unix/sysv/aix/creat.c: New file.
5210 * sysdeps/unix/sysv/aix/dl-close.c: New file.
5211 * sysdeps/unix/sysv/aix/dl-open.c: New file.
5212 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
5213 * sysdeps/unix/sysv/aix/fchdir.c: New file.
5214 * sysdeps/unix/sysv/aix/fchmod.c: New file.
5215 * sysdeps/unix/sysv/aix/getgroups.c: New file.
5216 * sysdeps/unix/sysv/aix/gethostname.c: New file.
5217 * sysdeps/unix/sysv/aix/getpriority.c: New file.
5218 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
5219 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
5220 * sysdeps/unix/sysv/aix/getrusage.c: New file.
5221 * sysdeps/unix/sysv/aix/link.c: New file.
5222 * sysdeps/unix/sysv/aix/madvise.c: New file.
5223 * sysdeps/unix/sysv/aix/mkdir.c: New file.
5224 * sysdeps/unix/sysv/aix/mknod.c: New file.
5225 * sysdeps/unix/sysv/aix/mprotect.c: New file.
5226 * sysdeps/unix/sysv/aix/msgctl.c: New file.
5227 * sysdeps/unix/sysv/aix/msgget.c: New file.
5228 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
5230 2000-04-17 Andreas Jaeger <aj@suse.de>
5232 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
5233 as suggested by Ulrich Drepper.
5234 (__dl_runtime_resolve): Remove unused variable, initialize sym
5236 (RTLD_START): Document OFFSET_GP_GOT.
5237 (OFFSET_GP_GOT): New magic value.
5238 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
5239 (elf_machine_got_rel): Only declare strtab if needed.
5240 (elf_machine_relplt): Removed, it's not needed.
5241 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
5243 * sysdeps/mips/add_n.S: Add newline at EOF.
5244 * sysdeps/mips/rshift.S: Likewise.
5245 * sysdeps/mips/mul_1.S: Likewise.
5246 * sysdeps/mips/lshift.S: Likewise.
5247 * sysdeps/mips/addmul_1.S: Likewise.
5249 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5251 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
5253 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
5254 * elf/dl-lookup.c: Likewise.
5255 * elf/dl-init.c (_dl_init): Likewise.
5256 * elf/dl-fini.c (_dl_fini): Likewise.
5257 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5258 * elf/dl-close.c (_dl_close): Likewise.
5259 * elf/rtld.c (_dl_start_final): Likewise.
5261 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
5263 2000-04-15 Ulrich Drepper <drepper@redhat.com>
5265 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
5266 only fall back on using Linux.
5268 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
5269 Before testing versions check that we actually loaded the object
5270 and whether we are in trace mode. If not loaded during tracing don't
5271 test versions in this object.
5272 (_dl_check_all_versions): Take new parameter and pass to
5273 _dl_check_map_versions.
5274 * sysdeps/generic/ldsodefs.h: Update prototypes for
5275 _dl_check_all_versions and _dl_check_map_versions.
5276 * elf/rtld.c (struct version_check_args): Add dotrace.
5277 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
5278 (dl_main): Pass info about trace mode to version_check_doit.
5279 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
5280 _dl_check_all_versions.
5282 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
5284 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5286 * manual/argp.texi: Document index parameter of argp_parse.
5288 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
5290 2000-04-14 Andreas Jaeger <aj@suse.de>
5292 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
5293 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
5295 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
5297 2000-04-15 Ulrich Drepper <drepper@redhat.com>
5299 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
5300 compat_symbol call for old adjtime.
5302 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
5303 function interface. Patch by Richard Henderson <rth@cygnus.com>.
5305 * posix/Makefile (headers): Add spawn.h.
5306 (distribute): Add spawn_int.h.
5307 (routines): Add spawn_faction_init, spawn_faction_destroy,
5308 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
5309 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
5310 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
5311 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
5312 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
5313 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
5314 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
5315 posix_spawnattr_init, posix_spawnattr_destroy,
5316 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
5317 posix_spawnattr_getflags, posix_spawnattr_setflags,
5318 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
5320 * posix/spawn.c: New file.
5321 * posix/spawn.h: New file.
5322 * posix/spawn_faction_addclose.c: New file.
5323 * posix/spawn_faction_adddup2.c: New file.
5324 * posix/spawn_faction_addopen.c: New file.
5325 * posix/spawn_faction_destroy.c: New file.
5326 * posix/spawn_faction_init.c: New file.
5327 * posix/spawn_int.h: New file.
5328 * posix/spawnattr_destroy.c: New file.
5329 * posix/spawnattr_getdefault.c: New file.
5330 * posix/spawnattr_getflags.c: New file.
5331 * posix/spawnattr_getpgroup.c: New file.
5332 * posix/spawnattr_getschedparam.c: New file.
5333 * posix/spawnattr_getschedpolicy.c: New file.
5334 * posix/spawnattr_getsigmask.c: New file.
5335 * posix/spawnattr_init.c: New file.
5336 * posix/spawnattr_setdefault.c: New file.
5337 * posix/spawnattr_setflags.c: New file.
5338 * posix/spawnattr_setpgroup.c: New file.
5339 * posix/spawnattr_setschedparam.c: New file.
5340 * posix/spawnattr_setschedpolicy.c: New file.
5341 * posix/spawnattr_setsigmask.c: New file.
5342 * posix/spawni.c: New file.
5343 * posix/spawnp.c: New file.
5345 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
5346 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
5348 2000-04-14 Ulrich Drepper <drepper@redhat.com>
5350 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
5351 * malloc/malloc.c: Implement posix_memalign for glibc.
5352 * include/stdlib.h: Add prototype for __posix_memalign.
5353 * stdlib/stdlib.h: Add prototype for posix_memalign.
5355 2000-04-14 Andreas Jaeger <aj@suse.de>
5357 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
5359 (elf_machine_got_rel): Cast sym correctly.
5361 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
5362 * sysdeps/mips/addmul_1.S: Likewise.
5363 * sysdeps/mips/lshift.S: Likewise.
5364 * sysdeps/mips/mul_1.S: Likewise.
5365 * sysdeps/mips/rshift.S: Likewise.
5366 * sysdeps/mips/sub_n.S: Likewise.
5367 * sysdeps/mips/submul_1.S: Likewise.
5369 * stdlib/stdlib.h: Fix typo in comment.
5371 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
5372 2.2 for libdl, ld and libm.
5374 * sysdeps/generic/madvise.c: Fix typos.
5376 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
5378 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
5380 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
5383 2000-04-14 Ulrich Drepper <drepper@redhat.com>
5385 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
5386 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
5387 Make old name weak alias.
5388 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
5389 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
5390 Make old name weak alias.
5391 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
5393 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
5394 posix_fallocate, and posix_fallocate64.
5395 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
5396 posix_fallocate, and posix_fallocate64.
5397 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
5398 posix_fallocate, and posix_fallocate64.
5399 * sysdeps/generic/fadvise.c: New file.
5400 * sysdeps/generic/fadvise64.c: New file.
5401 * sysdeps/generic/fallocate.c: New file.
5402 * sysdeps/generic/fallocate64.c: New file.
5403 * sysdeps/posix/fallocate.c: New file.
5404 * sysdeps/posix/fallocate64.c: New file.
5405 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
5406 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
5407 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
5408 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
5409 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
5410 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
5411 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
5412 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
5413 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5415 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
5416 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5418 2000-04-13 Ulrich Drepper <drepper@redhat.com>
5420 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
5421 * misc/sys/mman.h (posix_madvise): Add prototype.
5422 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
5423 old name and posix_madvise weak aliases.
5424 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5425 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
5426 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
5427 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
5428 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
5429 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5430 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5432 2000-04-13 Andreas Jaeger <aj@suse.de>
5434 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
5436 (elf_machine_got_rel): Only add runtime display if needed.
5437 (elf_machine_got_rel): Handle symbol versioning.
5439 2000-04-13 Andreas Jaeger <aj@suse.de>
5441 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
5443 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
5446 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
5447 with some applications.
5448 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
5450 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
5451 * sysdeps/mips/bsd-_setjmp.S: Likewise.
5452 * sysdeps/mips/setjmp.S: Likewise.
5454 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
5456 2000-04-13 Ulrich Drepper <drepper@redhat.com>
5458 * posix/globtest.sh: Work around inconsistency with expanding ~/
5459 in shell (PR libc/1690). Reported by patsmith@pobox.com.
5461 2000-04-12 Ulrich Drepper <drepper@redhat.com>
5463 * posix/getconf.c: Add support for many more POSIX options.
5464 * sysdeps/posix/sysconf.c: Likewise.
5465 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
5466 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
5468 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
5469 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
5470 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
5471 CLOCK_THREAD_CPUTIME_ID.
5472 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
5473 CLOCK_PROCESS_CPUTIME_ID.
5474 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
5475 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
5476 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
5477 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
5479 * malloc/Makefile (tests): Add tst-calloc.
5480 * malloc/tst-calloc.c: New file.
5482 * sysdeps/arm/libm-test-ulps: New file.
5484 * malloc/malloc.c: Undo all of today's changes.
5486 * locale/programs/locale.c (show_info): Don't try to look into
5487 data for LC_ALL (there is none).
5489 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
5490 avoid writing over boundary.
5491 Patch by Greg McGary <gkm@eng.ascend.com>.
5493 * sysdeps/arm/memprof.h: New file.
5495 2000-04-12 Andreas Jaeger <aj@suse.de>
5497 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
5499 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
5500 for memmem declaration.
5502 2000-04-12 Ulrich Drepper <drepper@redhat.com>
5504 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
5506 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5508 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
5510 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
5511 Patch by Bart Veer <bartv@redhat.com>.
5513 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
5516 2000-04-11 Andreas Jaeger <aj@suse.de>
5518 * sysdeps/mips/dl-machine.h: Update some comments.
5519 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
5521 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5523 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
5524 _POSIX_SHARED_MEMORY_OBJECTS.
5526 * rt/Makefile (tests): Add tst-shm.
5527 Add rules to generate tst-shm.
5528 * rt/tst-shm.c: New file.
5530 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
5533 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
5534 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
5535 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
5536 * sysdeps/generic/shm_open.c: New file.
5537 * sysdeps/generic/shm_unlink.c: New file.
5538 * sysdeps/unix/sysv/linux/shm_open.c: New file.
5539 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
5540 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
5541 __endmntent, __getmntent_r, __setmntent, and __statfs.
5543 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
5544 fragmentation by allocating new memory at the end instead of
5547 * posix/globtest.sh: Fix last change.
5549 2000-04-10 Philip Blundell <philb@gnu.org>
5551 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
5552 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
5553 IPV6_DROP_MEMBERSHIP.
5554 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
5557 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5559 * elf/readlib (process_file): Close streams in case of an error.
5561 2000-04-09 Andreas Jaeger <aj@suse.de>
5563 * elf/readlib.c (process_file): Check if file is big enough to
5564 contain aout and ELF headers.
5565 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
5567 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
5569 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
5571 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5573 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
5575 * rt/Makefile (tests): Add tst-clock.
5576 Add rules to build tst-clock.
5577 * rt/tst-clock.c: New file.
5578 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
5579 about initialization of nsec.
5580 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
5581 about initialization of freq. Set retval to zero if successful.
5582 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
5584 2000-04-10 Ulrich Drepper <drepper@redhat.com>
5586 * Versions.def (librt): Add GLIBC_2.2.
5587 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
5588 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
5589 timer_getoverr, timer_gettime, and timer_settime.
5590 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
5591 clock_settime, timer_create, timer_delete, timer_getoverrun,
5592 timer_gettime, and timer_settime.
5593 * sysdeps/generic/clock_getcpuclockid.c: New file.
5594 * sysdeps/generic/get_clockfreq.c: New file.
5595 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
5596 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
5597 * sysdeps/mach/hurd/i386/bits/time.h: New file.
5598 * sysdeps/unix/i386/i586/clock_getres.c: New file.
5599 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
5600 * sysdeps/unix/i386/i686/Implies: New file.
5601 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
5602 * time/Makefile (routines): Move clock_getres, clock_gettime,
5603 clock_settime, timer_create, timer_delete, timer_getoverr,
5604 timer_gettime, and timer_settime to rt/Makefile.
5605 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
5606 clock_settime, timer_create, timer_delete, timer_getoverrun,
5607 timer_gettime, and timer_settime.
5608 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
5610 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
5611 and not const as attribute name.
5613 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
5615 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
5617 2000-04-10 Andreas Schwab <schwab@suse.de>
5619 * posix/globtest.sh: Skip tests that depend on unreadable
5620 directories if run as root.
5622 2000-04-10 Ulrich Drepper <drepper@redhat.com>
5624 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
5625 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
5627 2000-04-09 Ulrich Drepper <drepper@redhat.com>
5629 * sysdeps/unix/clock_gettime.c: New file.
5630 * sysdeps/unix/clock_settime.c: New file.
5631 * sysdeps/posix/clock_getres.c: New file.
5633 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
5635 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
5636 lseek call be passing in a buffer which never allow a successful
5637 first getdents syscall if not at leas the initial entry can be
5638 stored in the user buffer.
5640 * localedata/Makefile: Add rules to clean up directories created by
5643 2000-04-09 Geoff Clare <gwc@unisoft.com>
5645 * localedata/tst-fmon.data: Added new tests for strfmon()
5646 using test locales with all combinations of cs_precedes,
5647 sign_posn and sep_by_space.
5648 * localedata/tst-fmon.sh: Updated to support the new tests.
5649 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
5650 the localedef source for the new strfmon() test locale.
5651 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
5652 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
5653 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
5654 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
5655 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
5656 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
5657 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
5658 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
5659 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
5660 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
5661 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
5662 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
5663 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
5664 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
5666 * stdlib/strfmon.c: Correct problems with missing or extra
5667 spaces for unusual combinations of sign_posn and sep_by_space.
5668 Improved left-precision alignment code.
5670 2000-04-07 Andreas Jaeger <aj@suse.de>
5672 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
5674 2000-04-10 Andreas Jaeger <aj@suse.de>
5676 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
5678 2000-04-09 Ulrich Drepper <drepper@redhat.com>
5680 Implement handling of restartable conversion functions according to
5682 * iconv/gconv.h (__gconv_fct): Add additional parameter.
5683 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
5684 * iconv/gconv.c: Pass additional parameter to conversion function.
5685 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
5686 (internal_ucs4le_loop_single): New function.
5687 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
5688 (__gconv_transform_internal_ascii): Likewise.
5689 (__gconv_transform_internal_utf8): Likewise.
5690 (__gconv_transform_utf8_internal): Likewise.
5691 (__gconv_transform_ucs2_internal): Likewise.
5692 (__gconv_transform_internal_ucs2): Likewise.
5693 (__gconv_transform_ucs2reverse_internal): Likewise.
5694 (__gconv_transform_internal_ucs2reverse): Likewise.
5695 (internal_ucs4le_loop_unaligned): Before return
5696 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
5697 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
5698 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
5699 * iconv/loop.c: Fit in definition of function to convert one character
5700 for processing of left-over bytes from the state object.
5701 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
5702 inend to match names in loop functions.
5703 (RESET_INPUT_BUFFER): Change apprpriately.
5704 (gconv): If needed, call function to process bytes from the state
5705 object. Similar at the end: store left over bytes if input is
5707 Take extra argument and add new argument to all calls of the
5708 conversion function.
5709 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
5710 information in the state object to not conflict with length count.
5711 * iconvdata/iso-2022-jp.c: Likewise.
5712 * iconvdata/iso-2022-kr.c: Likewise.
5713 * iconvdata/unicode.c: Adjust for change change in parameters of
5715 * iconvdata/utf-16.c: Likewise.
5716 * libio/iofwide.c: Add new parameter to all calls of conversion
5718 * wcsmbs/btowc.c: Likewise.
5719 * wcsmbs/mbrtowc.c: Likewise.
5720 * wcsmbs/mbsnrtowcs.c: Likewise.
5721 * wcsmbs/mbsrtowcs.c: Likewise.
5722 * wcsmbs/wcrtomb.c: Likewise.
5723 * wcsmbs/wcsnrtombs.c: Likewise.
5724 * wcsmbs/wcsrtombs.c: Likewise.
5725 * wcsmbs/wctob.c: Likewise.
5727 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
5730 2000-04-07 Andreas Jaeger <aj@suse.de>
5732 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
5735 2000-04-07 Ulrich Drepper <drepper@redhat.com>
5737 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
5738 element a union to allow byte access.
5739 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
5741 * iconvdata/iso-2022-jp.c: Likewise.
5742 * iconvdata/iso-2022-kr.c: Likewise.
5743 * wcsmbs/mbsinit.c: Likewise.
5744 * stdlib/mblen.c: Likewise.
5745 * stdio-common/printf-parse.h: Likewise.
5747 2000-04-06 Ulrich Drepper <drepper@redhat.com>
5749 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
5750 kernel does not allow relative seeks on descriptors associated
5751 with directories. Go back to get the position in the directory
5752 every time we enter the function. Return -1 and set errno if one
5753 entry could be read from the kernel but does not fit into the
5754 buffer passed in by the user.
5756 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
5757 Support ..(2).. ellipsis.
5758 (parse_charmap): Recognize ..(2).. etc and pass step down.
5759 Correctly generate names for UCS4 characters.
5761 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
5762 (ctype_finish): We know the wide character value for <SP>,
5764 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
5765 (charclass_ucs4_ellipsis): Likewise.
5766 (read_translit_ignore_entry): Store ellipsis step.
5767 (ctype_read): Recognize ..(2).. etc and pass step down.
5769 * locale/programs/linereader.c (lr_token): When seeing comment
5770 character ignore only rest of line in sources but stop at escaped
5772 Recognize ..(2).. and ....(2).....
5774 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
5775 and tok_ellipsis4_2.
5777 2000-04-06 Andreas Jaeger <aj@suse.de>
5779 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
5780 removed, remove it here also.
5781 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
5782 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
5783 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
5784 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
5786 2000-04-06 Jakub Jelinek <jakub@redhat.com>
5788 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
5789 include bits/sigcontext.h.
5790 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5792 2000-04-06 Ulrich Drepper <drepper@redhat.com>
5794 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
5795 collation symbol definition. Value in quivalence definition must
5796 be defined, don't check that it is not.
5798 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
5799 values as character names.
5801 * locale/programs/ld-ctype.c (get_character): Handle missing
5802 repertoire map correctly.
5804 2000-04-05 Cristian Gafton <gafton@redhat.com>
5806 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
5807 because it is used in generic code.
5808 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
5809 * wcsmbs/wcwidth.h: Declare __ctype32_b.
5810 * intl/gettext.c: Include <locale.h>.
5811 * intl/ngettext.c: Likewise.
5813 2000-04-05 Jakub Jelinek <jakub@redhat.com>
5815 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
5816 socklen_t type for size.
5817 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
5818 init function interface.
5819 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5820 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
5822 (__jmp_buf): Declare the whole type structure here, don't use
5825 2000-04-05 Ulrich Drepper <drepper@redhat.com>
5827 * iconv/skeleton.c (put16u): Fix typo.
5828 Reported by Bruno Haible <haible@ilog.fr>.
5830 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
5831 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
5832 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
5833 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
5834 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
5835 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
5837 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
5838 * Makefile (distribute): Add abi-versions.awk and
5840 Patches by Torsten Duwe <duwe@caldera.de>.
5842 2000-04-05 Andreas Schwab <schwab@suse.de>
5844 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
5846 2000-04-05 Andreas Schwab <schwab@suse.de>
5848 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
5849 entry point, used on Hurd.
5851 2000-04-04 Andreas Jaeger <aj@suse.de>
5853 * intl/Makefile: Only run the gettext test with shared libraries.
5855 2000-03-16 Mark Kettenis <kettenis@gnu.org>
5857 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
5858 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
5860 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
5862 * Makeconfig: Undo last change.
5863 * configure.in: If --disable-shared was given, don't set VERSIONING,
5864 don't define DO_VERSIONING, and don't give scare warning for no
5866 * configure: Regenerated.
5868 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
5870 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
5872 2000-04-04 Andreas Jaeger <aj@suse.de>
5874 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
5876 2000-04-04 Ulrich Drepper <drepper@redhat.com>
5878 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
5879 STV_HIDDEN and STV_INTERNAL during lookup.
5880 (profile_fixup): Likewise.
5881 * elf/dl-reloc.c (RESOLVE): Likewise.
5883 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
5884 unaligned so that it compiles for system which need unaligned
5887 2000-04-04 Andreas Schwab <schwab@suse.de>
5889 * elf/cache.c (print_entry): Only look at the type field when
5892 2000-04-04 Andreas Schwab <schwab@suse.de>
5894 * iconvdata/big5.c (BODY): Fix typo.
5896 2000-04-04 Andreas Schwab <schwab@suse.de>
5898 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
5899 function interface. Remove unused _dl_start_user entry point.
5901 2000-04-03 Andreas Jaeger <aj@suse.de>
5903 * include/arpa/inet.h (__inet_aton): Add protoype.
5905 2000-04-01 Andreas Jaeger <aj@suse.de>
5907 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
5909 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
5910 * sysdeps/mach/mips/thread_state.h: Likewise.
5912 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
5913 * sysdeps/generic/fegetenv.c: Likewise.
5914 * sysdeps/generic/fesetenv.c: Likewise.
5915 * sysdeps/generic/feupdateenv.c: Likewise.
5916 * sysdeps/generic/fraiseexcpt.c: Likewise.
5917 * sysdeps/generic/fsetexcptflg.c: Likewise.
5918 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
5919 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
5920 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
5921 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5923 2000-04-02 H.J. Lu <hjl@gnu.org>
5925 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
5927 2000-04-03 Ulrich Drepper <drepper@redhat.com>
5929 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
5930 (add_name_to_object): Add cast in malloc call.
5931 (fillin_rpath): Optimize loop to initialize ->status a bit.
5933 * sysdeps/i386/dl-machine.h: Undo last change.
5934 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
5935 Restore %edx register after call here.
5937 * sysdeps/arm/atomicity.h: New file.
5938 Contributed by Jesper Skov <jskov@redhat.com>.
5940 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
5942 * Makeconfig (preprocess-versions): Undo last change.
5943 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
5945 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
5946 here, before we might move the stack.
5947 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
5948 (init1): And not here.
5950 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
5951 change, to restore argc value in call-clobbered register after
5952 RTLD_START_SPECIAL_INIT, which will contain a call.
5954 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
5955 allocating and initializing L->l_initfini.
5957 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
5959 2000-04-03 Ulrich Drepper <drepper@redhat.com>
5961 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
5962 RUNPATH, RPATH, and LD_LIBRARY_PATH.
5963 (open_path): Change type of fourth parameter. Make pointer to array
5964 of pointers. Create variable dirs with original type.
5965 Track whether any directory for the object exists and if not,
5966 change *DIRSP to (void*) -1 to signal there is no such search path.
5967 (_dl_map_object): Change all calls of open_path.
5968 Rewrite decompose_rpath calls.
5970 2000-03-31 Andreas Schwab <schwab@suse.de>
5972 * string/strfry.c: Declare STATE as array of char instead of int
5973 and do not initialize it (done by initstate_r). Pass correct
5976 2000-04-03 Ulrich Drepper <drepper@redhat.com>
5978 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
5980 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
5981 instruction out of the code.
5983 2000-04-02 Ulrich Drepper <drepper@redhat.com>
5985 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
5986 element at this position.
5988 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
5989 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
5991 * elf/dl-lookup.c (add_dependency): New function.
5992 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
5993 dynamically loaded object.
5994 (_dl_lookup_symbol_skip): Likewise.
5995 (_dl_lookup_versioned_symbol): Likewise.
5996 (_dl_lookup_versioned_symbol_skip): Likewise.
5997 * elf/dl-open.c: Don't define _dl_load_lock here...
5998 * elf/rtld.c: ...but here...
5999 * elf/dl-support.c: ...and here.
6000 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
6002 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
6004 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
6006 * dlfcn/glrefmain.c: Add one more debug message.
6008 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
6010 * Makerules (sysd-versions): Use ( ) instead of { }.
6012 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
6013 optimize for the non-debugging case.
6014 * elf/dl-lookup.c: Likewise.
6015 * sysdeps/generic/libc-start.c: Likewise.
6017 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
6019 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
6020 (init1): Don't initialize __environ here, since init already does it.
6021 (first_init): New function, broken out of _init.
6022 (_hurd_stack_setup): Use it.
6023 [SHARED] (_dl_init_first): New function, renamed from old _init.
6024 (init1) [SHARED]: Don't call posixland_init here.
6025 (posixland_init): Take ENVP arg, so signature is usual for initializer.
6026 [SHARED] (_init): Define as alias for posixland_init.
6027 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
6028 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
6029 RTLD_START_SPECIAL_INIT before calling initializers.
6030 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
6031 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
6032 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
6033 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
6035 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
6036 since we define the function with the name `tmpfile'.
6038 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
6039 * hurd/Versions: Likewise.
6041 2000-04-02 Ulrich Drepper <drepper@redhat.com>
6043 * elf/dl-runtime.c (fixup): Fix typo in comment.
6045 * resolv/netdb.h (getnameinfo): All length parameters are of type
6047 * inet/getnameinfo.c: Likewise.
6049 2000-04-01 Ulrich Drepper <drepper@redhat.com>
6051 * posix/unistd.h (socklen_t): Define if it has not yet happened.
6052 (gethostname): Change type of second parameter to socklen_t.
6053 * include/unistd.h (__gethostname): Change type of second
6054 parameter to socklen_t.
6055 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
6056 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
6057 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
6058 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
6060 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
6061 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
6062 Allow definition elsewhere.
6063 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
6064 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6065 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
6066 * sysdeps/generic/bits/types.h: Define __socklen_t.
6067 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
6068 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
6069 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6070 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6071 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6072 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6073 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6075 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
6076 (inet_lnaof): Likewise.
6077 (inet_netof): Likewise.
6078 (inet_network): Likewise.
6079 (inet_aton): Likewise.
6080 (inet_makeaddr): Change parameter types to in_addr_t.
6081 (inet_neta): Likewise.
6082 (inet_ntop): Change type of last parameter to socklen_t.
6083 (inet_aton): Only make available if __USE_MISC.
6084 (inet_neta): Likewise.
6085 (inet_net_ntop): Likewise.
6086 (inet_net_pton): Likewise.
6087 (inet_nsap_ntoa): Likewise.
6089 * inet/in.h: Define in_port_t type.
6090 Define in_addr_t type.
6091 (struct in_addr): Use in_addr_t in definition.
6092 (IN_CLASSA): Use cast to in_addr_t.
6093 (IN_CLASSB): Likewise.
6094 (IN_CLASSC): Likewise.
6095 (IN_CLASSD): Likewise.
6096 (IN_EXPERIMENTAL): Likewise.
6097 (IN_BADCLASS): Likewise.
6098 (INADDR_ANY): Likewise.
6099 (INADDR_BROADCAST): Likewise.
6100 (INADDR_NONE): Likewise.
6101 (INADDR_LOOPBACK): Likewise.
6102 (INADDR_UNSPEC_GROUP): Likewise.
6103 (INADDR_ALLHOSTS_GROUP): Likewise.
6104 (INADDR_ALLRTRS_GROUP): Likewise.
6105 (INADDR_MAX_LOCAL_GROUP): Likewise.
6106 (struct sockaddr_in): Use in_port_t for sin_port element.
6107 (struct sockaddr_in6): Use in_port_t for sin6_port element.
6108 Use uint8_t instead of u_int8_t.
6110 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
6111 Call __inet_aton instead of inet_aton.
6112 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
6114 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
6115 (innetgr): Likewise.
6116 (struct addrinfo): Use socklen_t for ai_addrlen element.
6118 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
6119 IPV6_RECVERR): New defines.
6121 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
6122 * inet/getnetbyad.c: Likewise.
6123 * inet/getnetbyad_r.c: Likewise.
6124 * nis/nss_nis/nis-network.c: Likewise.
6125 * nis/nssplus_nis/nisplus-network.c: Likewise.
6126 * nss/nss_files/files-network.c: Likewise.
6127 * resolv/netdb.h: Define uint32_t if not already happened.
6128 Include bits/netdb.h. Remove definition of struct netent.
6129 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
6130 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
6131 * sysdeps/generic/bits/netdb.h: New file.
6132 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
6134 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
6135 (tests): Add glrefmain.
6136 Add rules to build modules and run tests. Ignore result of glrefmain
6137 for now since it fails.
6138 * dlfcn/glrefmain.c: New file.
6139 * dlfcn/glreflib1.c: New file.
6140 * dlfcn/glreflib2.c: New file.
6142 * test-skeleton.c: Include <string.h> for strsignal prototype.
6144 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
6147 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
6148 former init-first.h. Initialize __libc_multiple_libcs.
6150 2000-03-31 Ulrich Drepper <drepper@redhat.com>
6152 * iconv/skeleton.c: Define access macros with u suffix. Adjust
6153 #if expression for use of unaligned function to the one used in
6154 the definition of these functions.
6155 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
6156 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
6157 (internal_ucs4le_loop_unaligned): New function.
6159 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
6161 (module-names): Add dep1, dep2, dep3, and dep4.
6162 Add dependencies for dep* modules and order.
6163 Define rule for order.out which checks the result.
6164 * elf/dep1.c: New file.
6165 * elf/dep2.c: New file.
6166 * elf/dep3.c: New file.
6167 * elf/dep4.c: New file.
6168 * elf/order.c: New file.
6170 * elf/dl-init.c: Fix typo in comment.
6172 2000-03-31 Andreas Jaeger <aj@suse.de>
6174 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
6175 init function interface.
6176 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
6178 2000-03-31 Andreas Jaeger <aj@suse.de>
6180 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
6181 * sysdeps/mips/fpu/fegetenv.c: Likewise.
6182 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
6183 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
6184 * sysdeps/mips/fpu/fesetenv.c: Likewise.
6186 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
6187 anymore, update comment.
6189 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6191 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
6192 SHLIB_COMPAT - the struct is always needed.
6194 2000-03-31 Ulrich Drepper <drepper@redhat.com>
6196 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
6197 * elf/dl-support.c: Define _dl_starting_up.
6199 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6201 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
6202 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
6204 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
6206 * elf/Makefile (dl-routines): Remove preinit.
6207 * elf/Versions: Remove _dl_preinit.
6208 * elf/dl-preinit.c: Removed. Move content into...
6209 * elf/dl-init.c: ...here.
6210 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
6212 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
6215 2000-03-29 Geoff Clare <gwc@unisoft.com>
6217 * stdlib/strfmon.c: Corrected problems with the code that
6218 sets default values for [np]_sep_by_space and
6219 [np]_sign_posn; also the new positive/negative alignment
6220 code from the previous patch was not quite right for
6223 * localedata/tst-fmon.data: Changes corresponding to the
6224 two sets of fixes made to stdlib/strfmon.c.
6226 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
6228 * malloc/malloc.c: Declare bit flags UL so that they will not
6229 default to int size when being inverted.
6231 2000-03-29 Andreas Jaeger <aj@suse.de>
6233 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
6234 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
6236 2000-03-29 Andreas Jaeger <aj@suse.de>,
6237 Ralf Baechle <ralf@uni-koblenz.de>
6239 * Makeconfig: Introduce new variable SHARED to mark code used in
6241 * elf/dl-close.c: Use it instead of PIC.
6242 * elf/dl-load.c: Likewise.
6243 * elf/dl-open.c: Likewise.
6244 * hurd/geteuids.c: Likewise.
6245 * include/libc-symbols.h: Likewise.
6246 * include/shlib-compat.h: Likewise.
6247 * libio/freopen.c: Likewise.
6248 * linuxthreads/cancel.c: Likewise.
6249 * linuxthreads/pthread.c: Likewise.
6250 * linuxthreads/wrapsyscall.c: Likewise.
6251 * nss/nsswitch.c: Likewise.
6252 * stdio-common/vfprintf.c: Likewise.
6253 * sysdeps/arm/init-first.c: Likewise.
6254 * sysdeps/i386/init-first.c: Likewise
6255 * sysdeps/generic/init-first.c: Likewise.
6256 * sysdeps/generic/libc-start.c: Likewise.
6257 * sysdeps/mips/init-first.c: Likewise.
6258 * sysdeps/powerpc/elf/libc-start.c: Likewise.
6259 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
6260 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
6261 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
6262 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6264 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
6266 2000-03-29 Andreas Jaeger <aj@suse.de>
6268 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
6269 Use D_PTR to access relocated entries in l_info.
6270 (elf_machine_rela): Likewise.
6272 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
6274 (elf_machine_rela): Likewise.
6276 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
6278 (__elf_machine_fixup_plt): Likewise.
6279 (__process_machine_rela): Likewise.
6281 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
6282 (elf_machine_rela): Likewise.
6284 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
6285 (elf_machine_rel): Likewise.
6287 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
6288 (elf_machine_fixup_plt): Likewise.
6289 (elf_machine_rela): Likewise.
6291 2000-03-29 Andreas Jaeger <aj@suse.de>
6293 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
6294 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6295 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6296 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
6297 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
6298 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
6299 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
6300 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
6301 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6302 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
6303 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
6304 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
6305 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
6306 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
6307 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6309 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
6310 macros, remove K&R prototypes.
6312 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6314 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
6315 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
6318 2000-03-30 Andreas Jaeger <aj@suse.de>
6320 * misc/sys/cdefs.h: Remove K&R support.
6322 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6324 * iconv/skeleton.c: Avoid compiling unaligned versions in some
6326 * iconv/loop.c: Likewise.
6328 2000-03-29 Bruno Haible <haible@clisp.cons.org>
6330 * iconv/loop.c (put16): Remove __const. Fix access index.
6331 (put32): Remove __const. Use uint32_t instead of uint16_t.
6332 * iconv/skeleton.c: Likewise.
6334 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
6336 * mach/Versions (libc: GLIBC_2.0)
6337 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
6338 __vm_allocate on this.
6339 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
6340 mutex- and spinlock-related symbols on this.
6341 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
6342 New version set. Lock-related symbols go here instead in this case.
6343 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
6344 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
6345 cthread_getspecific, cthread_setspecific, __libc_getspecific.
6347 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
6348 Put them here instead.
6349 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
6350 New version set. Those cthreads symbols go here instead in this case.
6351 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
6353 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6355 * elf/dl-init.c (_dl_init): We don't need to call constructors
6356 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
6358 Implement dynamic determination of constructor/destructor order in
6360 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
6361 (GLIBC_2.2): Add _dl_init.
6362 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
6363 r_duplist is not anymore allocated separately. l_initfini is and
6364 therefore free it if necessary.
6365 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
6366 malloc block. Otherwise allocate l_initfini list only.
6367 Put dependencies for the object in l_initfini list.
6368 Sort dependencies for the object to be loaded topologically.
6369 * elf/dl-fini.c: Before running the destructors sort the topologically.
6370 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
6371 call constructors instead of iterating over the pointers. Get list of
6372 objects for which to run constructors from l_initfini element. Accept
6373 argc, argv, and env as parameters and pass them to the constructors.
6374 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
6375 with size of dynamic section.
6376 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
6377 _dl_init_next and calling constructors ourself.
6378 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
6379 Take argc, argv, and env as parameters and pass them to the
6380 constructors. Rewrite to call all constructors and not iterate over
6382 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
6383 precompute l_initcount and l_preinitcount.
6384 * elf/link.h (struct link_map): Add l_ldnum member.
6385 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
6386 l_initcount, and l_preinitcount. Add l_initfini.
6387 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
6389 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
6391 * sysdeps/unix/sysv/linux/init-first.h: Removed.
6392 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
6393 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
6394 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
6395 conventions now match.
6397 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
6398 effect for shared objects. Don't emit message and call only for
6401 2000-03-29 Ulrich Drepper <drepper@redhat.com>
6403 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
6404 CSA_Z243.4-1985-1..UCS2.
6405 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
6408 2000-03-29 Andreas Jaeger <aj@suse.de>
6410 * include/unistd.h: Remove duplicate entry for __rmdir.
6411 Remove declaration of __mkdir since __mkdir is declared in
6414 * manual/creature.texi (Feature Test Macros): Fix typo, reported
6415 by Michael Deutschmann <michael@talamasca.ocis.net>.
6417 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
6418 * sysdeps/mips/fpu/fegetenv.c: Likewise.
6419 * sysdeps/mips/fpu/fesetenv.c: Likewise.
6420 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
6421 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
6423 2000-03-28 Andreas Jaeger <aj@suse.de>
6425 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
6426 declaration, the prototype is defined via bits/mathcalls.h.
6427 (__sincosf): Likewise.
6428 (__sincosl): Likewise.
6432 (__finite): Likewise.
6433 (__inline_mathcodeNP): New macro without prototype
6435 (__inline_mathcodeNP2): Likewise.
6436 (__inline_mathcodeNP3): Likewise.
6437 (__inline_mathcodeNP_): Likewise.
6438 (__inline_mathcodeNP2_): Likewise.
6439 (__inline_mathcodeNP3_): Likewise.
6440 (__inline_mathopNP): Likewise.
6441 (__inline_mathop_declNP): Likewise.
6442 (__inline_mathop_declNP_): Likewise.
6443 (__inline_mathcode_): Use __inline_mathcodeNP_.
6444 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
6445 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
6446 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
6447 (__expm1l): Don't define prototype, the prototype is defined via
6453 (__atan2l): Likewise.
6458 (__fabsl): Likewise.
6476 (__sqrtl): Likewise.
6486 2000-03-28 Ulrich Drepper <drepper@redhat.com>
6488 * Makerules: If make variable md5 is defined to yes after
6489 generating dependencies generate MD5 sum for the object.
6491 * iconv/gconv_builtin.h: Fix length in transformation definition
6494 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
6496 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
6497 allow as well reading from/writing to unaligned addresses on machines
6498 which don't support this in hardware. Use FCTNAME macro to define
6499 function name. Include the file a second time for platforms which
6500 need special unaligned handling.
6501 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
6502 to access potentially unaligned addresses. These macros are intended
6503 to be used only outside the loops.
6504 (unaligned): New definition. In case the machine can handle unaligned
6505 access define as zero. Otherwise as a variable which is initialized
6506 as nonzero in case the buffer passed in at runtime is unaligned with
6507 respect to the character set encoding involved.
6508 Call aligned or unaligned looop functions according to unaligned
6510 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
6511 of direct casting pointer to potentially handle unaligned memory
6513 * iconvdata/8bit-generic.c: Likewise.
6514 * iconvdata/ansi_x3.110.c: Likewise.
6515 * iconvdata/big5.c: Likewise.
6516 * iconvdata/euc-cn.c: Likewise.
6517 * iconvdata/euc-jp.c: Likewise.
6518 * iconvdata/euc-kr.c: Likewise.
6519 * iconvdata/euc-tw.c: Likewise.
6520 * iconvdata/gbk.c: Likewise.
6521 * iconvdata/iso-2022-cn.c: Likewise.
6522 * iconvdata/iso-2022-jp.c: Likewise.
6523 * iconvdata/iso-2022-kr.c: Likewise.
6524 * iconvdata/iso646.c: Likewise.
6525 * iconvdata/iso_6937-2.c: Likewise.
6526 * iconvdata/iso_6937.c: Likewise.
6527 * iconvdata/johab.c: Likewise.
6528 * iconvdata/sjis.c: Likewise.
6529 * iconvdata/t.61.c: Likewise.
6530 * iconvdata/uhc.c: Likewise.
6531 * iconvdata/unicode.c: Likewise.
6532 * iconvdata/utf-16.c: Likewise.
6534 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
6537 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
6538 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
6540 * malloc/mcheck.h (mcheck_check_all): Declare.
6542 * stdio-common/Makefile (tests): Add tst-obprintf.
6544 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
6546 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
6547 Declare pthread_sigmask.
6549 * csu/version.c: Add 2000 to copyright years.
6550 Remove Emacs local variables section.
6552 2000-03-23 Bruno Haible <haible@clisp.cons.org>
6554 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
6555 __gconv_transform_internal_ucs2little): Remove declarations.
6556 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
6557 __gconv_transform_internal_ucs2): Never need to bswap_16.
6558 (__gconv_transform_ucs2reverse_internal,
6559 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
6561 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
6563 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
6564 obsoleting version not being defined at all, in which case the
6565 result is always true.
6567 * Makeconfig (preprocess-versions): New canned sequence for running
6568 cpp on shlib-versions and the like.
6569 (soversions.i): Use it.
6570 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
6571 Versions.def and Versions files.
6573 2000-03-27 Ulrich Drepper <drepper@redhat.com>
6575 * stdio-common/tst-obprintf.c (main): Add another check to see
6576 obstack_printf handling all possible beginnings of the block
6577 inside an obstack chunk.
6579 * locale/programs/localedef.c: Use __malloc_initialize_hook to
6580 install mcheck handler.
6582 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
6585 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
6587 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
6589 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
6590 on [HAVE_ELF && DO_VERSIONING].
6592 2000-03-27 Ulrich Drepper <drepper@redhat.com>
6594 * stdio-common/tst-obprintf.c: New file.
6596 2000-03-26 Ulrich Drepper <drepper@redhat.com>
6598 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
6599 _IO_OVERFLOW directly instead through __overflow.
6601 * locale/programs/localedef.c (construct_output_path): If path
6602 contains a / compute the end of the directory name correctly.
6604 * include/features.h: Undef and document __USE_XOPEN2K.
6606 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
6607 whenever a function is called. Initiated by calling mcheck_pedantic
6609 * malloc/mcheck.h: Declare mcheck_pedantic.
6610 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
6611 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
6614 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
6616 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
6617 * dlfcn/dlopenold.c: Likewise.
6618 * nss/getXXbyYY_r.c: Likewise.
6619 * nss/getXXent_r.c: Likewise.
6620 * hurd/hurdinit.c: Likewise.
6621 * hurd/compat-20.c: Likewise.
6622 * libio/oldiofopen.c: Likewise.
6623 * libio/oldiofclose.c: Likewise.
6624 * libio/oldiofdopen.c: Likewise.
6625 * libio/oldfileops.c: Likewise.
6626 * libio/oldstdfiles.c: Likewise.
6627 * libio/oldiofsetpos.c: Likewise.
6628 * libio/oldiofgetpos.c: Likewise.
6629 * libio/oldiofgetpos64.c: Likewise.
6630 * libio/oldiofsetpos64.c: Likewise.
6631 * libio/oldiopopen.c: Likewise.
6632 * libio/oldpclose.c: Likewise.
6633 * libio/oldtmpfile.c: Likewise.
6634 * libio/freopen.c (freopen): Likewise.
6635 * libio/iofclose.c (_IO_new_fclose): Likewise.
6637 * sysdeps/mach/sys/reboot.h: Include <features.h>.
6638 (reboot): Declare it.
6640 * libio/Makefile (headers): Add bits/stdio-lock.h here.
6642 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
6644 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
6646 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
6647 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
6648 We need this for the sbrk decl, which can be included without Unix98.
6650 2000-03-20 Richard Henderson <rth@cygnus.com>
6652 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
6653 argument to yperr2nss is an int, not size_t.
6654 * posix/regex.c (print_partial_compiled_pattern): Cast all
6655 ptrdiff_t to long for printing.
6656 (print_compiled_pattern): Use Z for printing size_t.
6657 * posix/testfnm.c (tests): Avoid trigraphs.
6658 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
6659 Use a C comment, not an assembly comment.
6661 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
6662 of __ASSUME_32BITUIDS.
6664 2000-03-26 Ulrich Drepper <drepper@redhat.com>
6666 * libio/iofopncook.c: Remove K&R prototypes.
6668 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
6670 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
6671 an initial value of 1024 instead of RLIM_INFINITY.
6673 * Versions.def (libmachuser, libhurduser): Remove these sections,
6674 since these libraries do not presently use symbol versions.
6676 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
6677 is RLIM_INFINITY, return -1 instead.
6679 2000-03-24 Andreas Jaeger <aj@suse.de>
6681 * Makefile (postclean): Added soversions.i.
6683 2000-03-24 Scott Bambrough <scottb@netwinder.org>
6685 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
6686 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
6687 and _FPU_IEEE. Change _FPU_RESERVED.
6689 2000-03-24 Scott Bambrough <scottb@netwinder.org>
6691 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
6693 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
6695 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
6696 (gaih_inet): Remove unused duplicate variable.
6698 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
6699 Don't use __libc_sa_len, which only exists for Linux. Just handle
6700 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
6701 only flavors supported by this function anyway.
6703 2000-03-24 Geoff Clare <gwc@unisoft.com>
6705 * stdlib/strfmon.c: Corrected problems with missing signs and
6706 missing or extra spaces; allow for sign strings longer than
6707 one character; add padding to ensure positive and negative
6708 formats are aligned when a left precision is used.
6710 2000-03-26 Ulrich Drepper <drepper@redhat.com>
6712 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
6713 Patch by John Mizel <John.Mizel@msdw.com>.
6715 2000-03-25 Ulrich Drepper <drepper@redhat.com>
6717 * manual/install.texi: Remove references to crypt add-on.
6719 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
6721 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
6722 section while taking the _hurd_rlimit_lock.
6723 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
6725 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
6727 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
6730 * sysdeps/mach/hurd/if_index.c: New file.
6732 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
6733 * sysdeps/gnu/net/if.h: here.
6734 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
6735 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
6736 * sysdeps/generic/net/if.h: New file. Declares just the standard
6737 functions and `struct if_nameindex' type.
6738 * socket/Makefile (headers): Add net/if.h here.
6739 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
6740 * sysdeps/mach/hurd/Dist: Remove it here.
6741 * sysdeps/unix/sysv/linux/Dist: And here.
6742 * sysdeps/generic/if_index.c: Include <net/if.h>.
6744 2000-03-24 Andreas Jaeger <aj@suse.de>
6746 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
6747 access relocated entries in l_info.
6748 (elf_machine_got_rel): Likewise.
6749 (elf_machine_runtime_setup): Likewise.
6750 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
6751 (elf_machine_runtime_setup): Likewise.
6752 (__dl_runtime_resolve): Likewise.
6754 2000-03-23 Ulrich Drepper <drepper@redhat.com>
6756 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
6757 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
6758 according to RFC 2553.
6759 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
6760 * inet/getnameinfo.c: Likewise.
6761 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
6763 2000-03-23 Bruno Haible <haible@clisp.cons.org>
6765 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
6766 Remove no-op pointer increment.
6768 2000-03-23 Andreas Jaeger <aj@suse.de>
6770 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
6771 follow change for libio.h from 2000-03-10.
6773 2000-03-23 Andreas Jaeger <aj@suse.de>
6775 * elf/dl-addr.c: Adjust include paths for ldsodefs location
6777 * elf/dl-debug.c: Likewise.
6778 * elf/dl-deps.c: Likewise.
6779 * elf/dl-error.c: Likewise.
6780 * elf/dl-fini.c: Likewise.
6781 * elf/dl-init.c: Likewise.
6782 * elf/dl-load.c: Likewise.
6783 * elf/dl-lookup.c: Likewise.
6784 * elf/dl-minimal.c: Likewise.
6785 * elf/dl-object.c: Likewise.
6786 * elf/dl-open.c: Likewise.
6787 * elf/dl-preinit.c: Likewise.
6788 * elf/dl-profile.c: Likewise.
6789 * elf/dl-profstub.c: Likewise.
6790 * elf/dl-reloc.c: Likewise.
6791 * elf/dl-runtime.c: Likewise.
6792 * elf/dl-support.c: Likewise.
6793 * elf/dl-symbol.c: Likewise.
6794 * elf/dl-version.c: Likewise.
6795 * elf/rtld.c: Likewise.
6796 * elf/sprof.c: Likewise.
6797 * sysdeps/generic/dl-cache.c: Likewise.
6798 * sysdeps/generic/dl-origin.c: Likewise.
6799 * sysdeps/generic/dl-sysdep.c: Likewise.
6800 * sysdeps/generic/elf/backtracesyms.c: Likewise.
6801 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6802 * sysdeps/generic/libc-start.c: Likewise.
6803 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6804 * sysdeps/powerpc/dl-machine.c: Likewise.
6805 * sysdeps/powerpc/elf/libc-start.c: Likewise.
6806 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6807 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6808 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
6810 * elf/ldsodefs.h: Move file to ...
6811 * sysdeps/generic/ldsodefs.h: ... here.
6813 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
6815 * sysdeps/mips/elf/ldsodefs.h: New file.
6817 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
6819 (_dl_check_map_versions): Likewise.
6820 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6821 * elf/dl-load.c (_dl_init_paths): Likewise.
6822 (_dl_map_object): Likewise.
6823 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
6824 (elf_get_dynamic_info): Likewise.
6825 * elf/do-lookup.h (FCT): Likewise.
6826 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
6827 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6828 * elf/dl-addr.c (_dl_addr): Likewise.
6829 * elf/dl-runtime.c (profile_fixup): Likewise.
6831 * elf/dl-init.c (_dl_init_next): Likewise.
6832 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
6833 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
6834 (DISTINGUISH_LIB_VERSIONS): Likewise.
6835 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
6836 (elf_machine_rel): Likewise.
6838 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
6839 for writable dynamic section.
6841 2000-03-22 Ulrich Drepper <drepper@redhat.com>
6843 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
6844 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
6846 2000-03-22 Andreas Jaeger <aj@suse.de>
6848 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
6849 from latest Linux kernel.
6851 2000-03-21 Andreas Jaeger <aj@suse.de>
6853 * Versions.def: Add version 2.1.4.
6855 2000-03-21 Ulrich Drepper <drepper@redhat.com>
6857 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
6858 * libio/oldiofopen.c: Likewise.
6859 * libio/oldiofclose.c: Likewise.
6860 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
6862 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
6864 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
6865 indicating the first version set to obsolete the conditionalized code.
6866 (compat_symbol): New macro.
6867 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
6868 rhs be the ABI_* macro for the subsuming version. Assign increasing
6869 integer values to the ABI_* macros for supported versions.
6870 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
6871 compat_symbol macro.
6873 2000-03-21 Ulrich Drepper <drepper@redhat.com>
6875 * nscd/connections.c (nscd_run): Pretty print.
6876 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
6878 * manual/charset.texi: Fix typos. Rephrase.
6879 * manual/process.texi: Likewise.
6880 * manual/signal.texi: Likewise.
6881 Patches by Mike Coleman <mkc@kc.net>.
6883 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
6885 * libio/iofdopen.c: Likewise.
6886 * libio/iofgetpos.c: Likewise.
6887 * libio/iofgetpos64.c: Likewise.
6888 * libio/iofopen.c: Likewise.
6889 * libio/iofsetpos.c: Likewise.
6890 * libio/iofsetpos64.c: Likewise.
6891 * libio/iopopen.c: Likewise.
6892 * libio/oldiofopen.c: Likewise.
6893 * libio/pclose.c: Likewise.
6894 * sysdeps/gnu/siglist.c: Likewise.
6895 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
6897 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
6898 chance to expand VERSION_##lib##_##version.
6900 * libio/fileops.c: Use new macros from shlib-compat.h to define
6902 * libio/iofclose.c: Likewise.
6903 * libio/oldiofclose.c: Likewise.
6904 Patch by Roland McGrath <roland@frob.com>.
6906 2000-03-21 Jakub Jelinek <jakub@redhat.com>
6908 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
6909 Lay out struct sigcontext according to what really gets passed on
6911 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
6912 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
6913 (prgregset_t, prfpregset_t): Define to elf_* types.
6914 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
6915 Define to correct value.
6916 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
6918 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
6920 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
6922 * scripts/firstversions.awk: Allow multiple version sets in the
6923 "earliest version" specification, meaning that version sets in the
6924 gaps between listed versions should be folded into the earliest later
6925 version that is explicitly listed.
6926 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
6927 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
6929 2000-03-21 Ulrich Drepper <drepper@redhat.com>
6931 * iconv/gconv_builtin.c: Include <endian.h>.
6932 * iconv/gconv_builtin.h: Add UCS-BE aliases.
6933 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
6934 according to current platform.
6935 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
6936 __gconv_transform_internal_ucs2reverse, and
6937 __gconv_transform_internal_ucs4le.
6938 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
6939 __gconv_transform_ucs2reverse_internal and
6940 __gconv_transform_internal_ucs2reverse.
6941 * iconvdata/Makefile (modules): Add UNICODE.
6942 (distribute): Add unicode.c.
6943 * iconvdata/gconv-modules: Add definitions for UNICODE module.
6944 * iconvdata/unicode.c: New file.
6946 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
6947 determine byte order of input and convert accordingly.
6949 * iconvdata/utf-16.c (gconv_init): Fix typo.
6951 2000-03-20 Ulrich Drepper <drepper@redhat.com>
6953 * iconvdata/gconv-modules: Fix typo.
6955 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
6958 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
6960 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
6962 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
6964 2000-03-20 Ulrich Drepper <drepper@redhat.com>
6966 * misc/Makefile (routines): Add mincore.
6968 2000-03-20 Andreas Jaeger <aj@suse.de>
6970 * sysdeps/generic/mincore.c: New stub file.
6972 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
6973 from latest Linux kernel.
6975 2000-03-20 Ulrich Drepper <drepper@redhat.com>
6977 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
6978 _SC_GETPW_R_SIZE_MAX.
6980 2000-03-20 Richard Henderson <rth@cygnus.com>
6982 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
6985 2000-03-20 Richard Henderson <rth@cygnus.com>
6987 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
6988 of arithmetic instructions.
6990 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
6991 with the fpcr. Protect from INV exception.
6992 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
6993 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
6994 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
6996 * sysdeps/alpha/fpu/s_copysign.c: New.
6997 * sysdeps/alpha/fpu/s_copysignf.c: New.
6998 * sysdeps/alpha/fpu/s_fabs.c: New.
6999 * sysdeps/alpha/fpu/s_fabsf.c: New.
7000 * sysdeps/alpha/fpu/s_rint.c: New.
7001 * sysdeps/alpha/fpu/s_rintf.c: New.
7003 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
7005 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
7007 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
7008 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
7009 Use physical addresses not KSEG addresses.
7010 (io_system): Add PYXIS.
7011 (io): Remove hae.reg, sys, hae_shift.
7012 (stb_mb, stw_mb, stl_mb, __sethae): New.
7013 (inline_outb, inline_outw, inline_outl): Don't set hae.
7014 (inline_inb, inline_inw, inline_inl): Likewise.
7015 (dense_sethae): New null function.
7016 (struct cpuinfo_data): New.
7017 (process_cpuinfo): Use local and stack variables, not static.
7018 Move readlink check here from init_iosys.
7019 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
7021 (_hae_shift): Calculate it here.
7022 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
7023 add pciconfig_iobase.
7025 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
7027 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
7028 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
7030 * scripts/versions.awk: Fixed version renaming code to distinguish
7033 2000-03-19 Ulrich Drepper <drepper@redhat.com>
7035 * include/stdlib.h: Add prototype for __cxa_atexit.
7037 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
7038 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
7040 2000-03-17 Cristian Gafton <gafton@redhat.com>
7042 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
7043 existing rtld-installed-name.
7044 ($(rtld-installed-name)): Request libc-$(version) be installed too.
7045 replace existing rtld-installed-name using $(symbolic-link-prog).
7047 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
7049 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
7050 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
7051 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
7054 2000-03-19 Ulrich Drepper <drepper@redhat.com>
7056 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
7057 glob64. Since there is no glob64 in the LFS proposal applications
7058 can assume that glob handles LFS situations. glob64 is only needed
7059 if alternative filesystem functions are used.
7061 2000-03-19 Geoff Clare <gwc@unisoft.com>
7063 * sysdeps/generic/glob.c: Correct gl_pathc value returned
7064 when GLOB_DOOFFS is set; correct handling of patterns
7065 containing escaped wildcards (and no unescaped ones);
7066 GLOB_ERR flag was being ignored in some situations.
7068 * posix/globtest.c, posix/globtest.sh: Updated to include
7069 tests for the problems fixed by the above changes to glob.c.
7071 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
7073 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
7075 * Makeconfig (soversion.i): Use only first match for each lib.
7077 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
7079 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
7080 rather than $(sysd-dirs-done) to protect these rules.
7082 * Makerules (version-renames.def): Target removed.
7083 (Versions.all): Depend on soversions.i directly and parse it.
7085 * Makeconfig (soversions.i): New target, input-reading parts of
7086 soversions.mk generation moved here; result is a canonicalized
7087 list "LIB VERSION [SET]" for this configuration.
7088 (soversions.mk): Use that as input. Don't emit map-firstversions.
7089 * Makerules (version-renames.def): New target, generated from
7090 soversions.i with contents that was in $(map-firstversions).
7091 (Versions.all): Don't depend on soversions.mk, depend on
7092 version-renames.def instead; just cat it into the input.
7094 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
7095 for $(map-firstversions), which better handles it being empty.
7097 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
7098 supported version for libc 0.2.90.libio to GLIBC_2.2.
7100 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
7101 and use it to emit new variable `map-firstversions'.
7102 * scripts/firstversions.awk: New file.
7103 * Makerules (Versions.all): Use scripts/firstversions.awk and
7104 the $(map-firstversions) value to generate a modified versions list
7105 that includes renames in "A = B" syntax for each version set earlier
7106 than the "earliest symbol version" named in shlib-versions.
7107 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
7108 rename version set A to B in the output to the intermediate file.
7109 * scripts/abi-versions.awk: New file.
7110 * Makerules (abi-versions.h): New target, generated by that script.
7111 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
7112 * include/shlib-compat.h: New file, uses that generated header.
7114 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
7116 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
7117 after stripping # comments, and then run it through cpp.
7118 This allows things like "%ifdef FOO" based on config.h settings.
7119 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
7121 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
7122 and other errors that indicate a pseudo-receive happened, grok through
7123 the message buffer for port rights that need references fixed up.
7125 2000-03-16 Andreas Jaeger <aj@suse.de>
7127 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
7129 * sysdeps/unix/sysv/linux/madvise.c: Remove.
7131 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
7132 from latest Linux kernel.
7133 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
7135 * misc/sys/mman.h: Add prototype for mincore.
7137 2000-03-17 Ulrich Drepper <drepper@redhat.com>
7139 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
7140 entry for GLIBC_2.0 version of setrlimit.
7141 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7143 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
7145 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
7146 * nis/nss_compat/compat-initgroups.c: Likewise.
7147 * nis/nss_nis/nis-initgroups.c: Likewise.
7148 * nis/nss_nis/nis-netgrp.c: Likewise.
7149 * nis/nss_nis/nis-proto.c: Likewise.
7150 * nis/nss_nis/nis-rpc.c: Likewise.
7151 * nis/nss_nis/nis-service.c: Likewise.
7152 * nis/ypclnt.c: Likewise.
7154 2000-03-16 Andreas Jaeger <aj@suse.de>
7156 * manual/Makefile: MAKEINFO is set to `:' from configure if it
7157 doesn't exist, correct checks. Fixes PR libc/1649.
7159 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
7161 * nscd/hstcache.c: Restore correct UID.
7162 * nscd/pwdcache.c: Likewise.
7163 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
7165 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
7167 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
7168 macros for register names, in line with 2000-03-14 linux change.
7170 * sysdeps/mach/sched_yield.c: New file.
7172 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
7174 * sysdeps/generic/lockfile.c: Include <stdio.h>
7175 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
7176 case <libio.h> defined them.
7177 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
7179 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
7180 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
7182 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
7183 for more pleasing parse error.
7185 2000-03-16 Ulrich Drepper <drepper@redhat.com>
7187 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
7189 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7191 * elf/Makefile: Add rules to compile and run constload1 test.
7192 * elf/constload1.c: New file.
7193 * elf/constload2.c: New file.
7194 * elf/constload3.c: New file.
7196 2000-03-15 Ulrich Drepper <drepper@redhat.com>
7198 * sysdeps/posix/open64.c: Make __open64 weak alias.
7199 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
7200 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7201 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
7202 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7203 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
7204 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
7205 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7206 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
7207 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7208 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
7210 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7212 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
7213 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
7215 2000-03-16 Mark Kettenis <kettenis@gnu.org>
7217 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
7218 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
7220 2000-03-08 Andreas Jaeger <aj@suse.de>
7222 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
7224 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7226 * timezone/africa: Update from tzdata2000d.
7227 * timezone/asia: Likewise.
7228 * timezone/australasia: Likewise.
7229 * timezone/europe: Likewise.
7230 * timezone/northamerica: Likewise.
7231 * timezone/southamerica: Likewise.
7233 * po/fr.po: Update from translation team.
7234 * po/de.po: Likewise.
7236 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
7237 last parameter. Move code to add map to global scope from here...
7238 * elf/dl-open.c (dl_open_worker): ...here.
7239 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
7240 * elf/rtld.c: Adjust call to _dl_map_object_deps.
7242 * locale/programs/ld-collate.c (collate_read): Fix warning.
7244 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
7245 values and macros for register names.
7247 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
7248 returned by seek cookie function is -1.
7250 2000-03-14 Andreas Jaeger <aj@suse.de>
7252 * locale/localeconv.c (localeconv): Fix typo.
7253 Reported by Andre Charbonneau <andrec@corel.com>.
7255 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7257 * iconv/skeleton.c: Increment __invocation_counter in inner loop
7258 since modules depend on it counting the number of times the conversion
7259 function got called.
7261 * iconv/gconv_open.c: Optimize loop to setup step data structure.
7263 * iconv/gconv.h: Pretty print.
7265 2000-03-04 Ulrich Drepper <drepper@redhat.com>
7267 * posix/wordexp-test.c: Correct one of the tests added in the last
7268 change. Really get the root passwd entry to check again ~root.
7270 2000-03-10 Andreas Jaeger <aj@suse.de>
7272 * manual/filesys.texi (Working Directory): Fix last patch.
7273 Patch by Martin Buchholz <martin@xemacs.org>.
7275 2000-03-10 Andreas Jaeger <aj@suse.de>
7277 * manual/creature.texi (Feature Test Macros): Fix language.
7279 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
7281 * mach/devstream.c (devstream_write, devstream_read): New functions.
7282 (input, output): Functions removed.
7283 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
7284 using only the vanilla fopencookie interface.
7286 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
7287 as macro for __io_functions.
7288 (funcsio): Use cookie_io_functions_t type name.
7289 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
7291 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
7293 (fopencookie): Use it.
7294 * libio/libio.h: Declare _IO_cookie_init.
7295 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
7298 * libio/libio.h (__io_seek_fn): Fix second argument type
7299 to be a pointer, in line with the manual and the old stdio.
7300 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
7302 * sysdeps/generic/bits/stdio-lock.h: New file.
7303 This is a stub with #error, but that's better than no file at all.
7305 2000-03-09 Martin Buchholz <martin@xemacs.org>
7307 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
7308 * manual/message.texi (Using gettextized software): Doc Fixes.
7309 * manual/message.texi (Message Translation): Doc Fixes.
7310 * manual/filesys.texi (File Size): Doc Fixes.
7311 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
7312 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
7313 * iconv/gconv_db.c (find_derivation): Doc Fixes.
7314 * manual/install.texi: Doc Fixes.
7315 * manual/search.texi (Hash Search Function): Doc Fixes.
7316 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
7317 * FAQ.in: Doc Fixes.
7318 * config.h.in: Doc Fixes.
7319 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
7320 Doc Fixes. `allows to' is not correct English.
7322 * elf/rtld.c: Doc fixes.
7323 * manual/creature.texi (Feature Test Macros): Doc fixes.
7324 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
7326 * manual/filesys.texi (Working Directory): Check for ERANGE to
7329 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
7331 * string/argz-stringify.c (__argz_stringify): Fix loop termination
7332 conditions so as not to clobber the final '\0' when there is only one
7333 element in the vector.
7335 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
7337 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
7338 broken by 2000-02-27 change.
7340 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
7342 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
7344 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
7345 argument type, for 2000-02-22 change in signal/signal.h declaration.
7347 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
7349 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
7350 to getdirentries64 (no __), since the Linux implementation
7351 has no __ name, and there is no declaration for the __ name.
7353 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
7355 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
7356 sed regexp so as not to break directory names including /../ within.
7358 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
7359 The sysdeps/generic file is right for BSD. This file was in fact the
7360 Hurd file, but the only difference was the WNOREAP flag that was never
7361 actually implemented or used anywhere.
7363 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
7364 since AC_PATH_PROG already does it for us.
7365 (PERL): Rewrite check added in 2000-02-29 change for syntactic
7366 correctness and sh portability. I replaced the broken check
7367 with a more sensible implementation of the apparently intended
7368 semantics, which might still be questionable. Using expr causes
7369 a non-numeric value for `perl -V:apiversion` to be accepted,
7370 refusing to use only a perl that reports a number less than 5;
7371 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
7372 * configure: Regenerated.
7374 2000-03-08 Andreas Jaeger <aj@suse.de>
7376 * manual/crypt.texi: Fix paths.
7378 2000-03-07 Andreas Jaeger <aj@suse.de>
7380 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
7382 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
7385 2000-03-06 Andreas Jaeger <aj@suse.de>
7387 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
7388 in __sgn1l, otherwise g++ fails to parse this.
7389 Reported by Sean Chen <sean.chen@turbolinux.com>.
7391 2000-03-03 Geoff Keating <geoffk@cygnus.com>
7393 * configure.in: Compute sizeof-long-double.
7394 * configure: Regenerated.
7395 * config.make.in: Make sizeof-long-double available to sub-makes.
7397 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
7399 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
7402 2000-03-03 Geoff Keating <geoffk@cygnus.com>
7404 * Makeconfig (rpath-dirs): Add crypt.
7405 (all-subdirs): Remove md5crypt.
7406 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
7407 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
7408 * sysdeps/generic/crypt-entry.c: Delete.
7409 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
7410 * sysdeps/generic/crypt.h: Delete.
7411 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
7412 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
7413 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
7414 * sysdeps/generic/des_impl.c: Delete.
7415 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
7416 * crypt/sysdeps: Delete.
7417 * crypt/crypt_util.c: Don't use `patchlevel.h'.
7418 * md5-crypt/Versions: Move to crypt/.
7419 * md5-crypt/md5-crypt.c: Move to crypt/.
7420 * md5-crypt/md5.c: Move to crypt/.
7421 * md5-crypt/md5c-test.c: Move to crypt/.
7422 * md5-crypt/md5test.c: Move to crypt/.
7423 * md5-crypt: Delete.
7424 * crypt/Makefile: Adjust for new structure.
7426 2000-03-03 Paul Eggert <eggert@twinsun.com>
7428 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
7429 define to 1 if not defined.
7431 2000-03-03 Andreas Jaeger <aj@suse.de>
7433 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
7435 2000-03-03 Andreas Jaeger <aj@suse.de>
7437 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
7439 (xdr_int64_t): Correctly handle lower half.
7440 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
7442 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
7444 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
7447 2000-03-02 Andreas Jaeger <aj@suse.de>
7449 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
7452 2000-03-02 Andreas Jaeger <aj@suse.de>
7454 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
7456 2000-03-01 Andreas Jaeger <aj@suse.de>
7458 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
7459 (tests): Added tst-getdate.
7461 * time/tst-getdate.c: New file.
7463 * time/datemsk: New file, needed for tst-getdate.
7465 2000-02-29 Cristian Gafton <gafton@redhat.com>
7467 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
7469 2000-02-17 H.J. Lu <hjl@gnu.org>
7471 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
7473 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
7475 (svcudp_recv): Set up message with the new "xp_pad" field for
7477 (svcudp_reply): Support IP_PKTINFO if available.
7479 2000-03-01 Andreas Jaeger <aj@suse.de>
7481 * time/getdate.c (check_mday): Fix check for february.
7482 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
7483 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
7485 2000-03-02 Andreas Jaeger <aj@suse.de>
7487 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
7488 g++ fails to parse this.
7489 Reported by Sean Chen <sean.chen@turbolinux.com>.
7491 2000-02-28 Ulrich Drepper <drepper@redhat.com>
7493 * io/creat.c: Moved to...
7494 * sysdeps/generic/creat.c: ...here.
7495 * io/creat64.c: Moved to...
7496 * sysdeps/generic/creat64.c: ...here.
7497 * io/lockf.c: Moved to...
7498 * sysdeps/generic/lockf.c: ...here.
7500 * crypt/crypt.texi: Moved to...
7501 * manual/crypt.texi: ...here.
7502 * crypt/examples/genpass.c: Moved to...
7503 * manual/examples/genpass.c: ...here.
7504 * crypt/examples/mygenpass.c: Moved to...
7505 * manual/examples/mygenpass.c: ...here.
7506 * crypt/examples/testpass.c: Moved to...
7507 * manual/examples/testpass.c: ...here.
7509 * manual/Makefile (chapters): Add crypt.
7510 * manual/conf.texi: Add usual header for not-last chapter.
7511 * manual/crypt.texi: Add special header for last chapter.
7513 2000-02-28 Geoff Keating <geoffk@cygnus.com>
7515 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
7516 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
7517 complain if there is no crypt add-on.
7518 * crypt/configure: Removed.
7520 * crypt/crypt.texi: Update documentation of US export restrictions
7521 to match the 14 Jan 2000 regulations.
7523 2000-02-28 Geoff Keating <geoffk@cygnus.com>
7525 * crypt: New subdirectory, merged in from the crypt add-on.
7527 2000-02-28 Ulrich Drepper <drepper@redhat.com>
7529 * include/unistd.h: Add __rmdir and __mkdir prototypes.
7532 See ChangeLog.10 for earlier changes.