1 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3 * libio/wfileops.c (_IO_wdo_write): Correct return value.
5 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
8 * libio/fileops.c: Pretty print.
10 2000-07-23 Bruno Haible <haible@clisp.cons.org>
12 * wctype/wchar-lookup.h: New file.
13 * wctype/iswctype.c: Include "wchar-lookup.h".
14 (__iswctype): Support alternate locale format with 3-level tables.
15 * wctype/iswctype_l.c (__iswctype_l): Likewise.
16 * wctype/towctrans.c (__towctrans): Likewise.
17 * wctype/towctrans_l.c (__towctrans_l): Likewise.
18 * wctype/wcfuncs.c: Include "wchar-lookup.h".
19 (__ctype32_wctype, __ctype32_wctrans): Declare external.
20 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
21 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
22 __iswxdigit, towlower, towupper): Support alternate locale format
24 * wctype/wcextra.c (iswblank): Likewise.
25 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
26 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
27 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
28 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
29 format with 3-level tables.
30 * wctype/wcextra_l.c (__iswblank_l): Likewise.
31 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
32 format, return a 3-level table pointer.
33 * wctype/wctype_l.c (__wctype_l): Likewise.
34 * wctype/wctrans.c (wctrans): Likewise.
35 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
36 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
37 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
38 (iswctype): Remove macro definition.
39 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
40 (internal_wcwidth): Support alternate locale format with 3-level
42 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
44 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
45 Define them as being type "word".
46 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
47 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
48 __ctype32_width): New exported variables.
49 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
50 alternate locale format. Don't initialize __ctype_names and
51 __ctype_width in the alternate locale format.
52 * locale/programs/localedef.h (oldstyle_tables): New declaration.
53 * locale/programs/localedef.c (oldstyle_tables): New variable.
54 (OPT_OLDSTYLE): New macro.
55 (options): Add --old-style option.
56 (parse_opt): Handle --old-style option.
57 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
58 map_offset, class_3level, map_3level, width_3level members.
59 (ctype_output): Support for alternate locale format: Computation of
60 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
61 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
62 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
63 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
64 now contain both class and map tables.
65 (struct wctype_table): New type.
66 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
68 (struct wcwidth_table): New type.
69 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
71 (struct wctrans_table): New type.
72 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
74 (allocate_arrays): Support for alternate locale format: Set
75 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
76 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
77 to the first 256 characters. Compute ctype->map_3level. Set
78 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
79 instead of ctype->width.
81 2000-07-24 Ulrich Drepper <drepper@redhat.com>
83 * libio/iogetwline.c (_IO_getwline_info): Use wide character
86 2000-07-24 Jakub Jelinek <jakub@redhat.com>
88 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
89 in wide characters, not bytes.
90 * libio/tst_putwc.c (do_test): Add test for writing lots of data
93 2000-07-22 Bruno Haible <haible@clisp.cons.org>
95 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
96 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
97 LC_MEASUREMENT, LC_IDENTIFICATION.
99 * locale/xlocale.h (struct __locale_struct): Increase size of
101 * locale/duplocale.c (__duplocale): Copy newly added categories as
103 * locale/freelocale.c (__freelocale): Free newly added categories.
104 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
105 If a base is given, use it, don't simply return it.
107 2000-07-22 Bruno Haible <haible@clisp.cons.org>
109 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
110 variables, copied_key and copied_salt, instead of boolean variables.
112 2000-07-24 Andreas Jaeger <aj@suse.de>
114 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
117 * grp/initgroups.c (initgroups_dyn_function): Renamed from
118 initgroups_function, adopted prototype for change from 2000-07-23.
119 (initgroups): Follow type change.
121 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
122 & PAGE_MASK case, reformat.
124 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
125 from stdin and setup environment.
127 2000-07-24 Andreas Schwab <schwab@suse.de>
129 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
131 2000-07-23 Ulrich Drepper <drepper@redhat.com>
133 * string/endian.h: Explain the _*_ENDIAN constant values a bit
134 more. Patch by scarlet@mit.edu [PR libc/1799].
136 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
139 * argp/argp-parse.c (parser_finalize): Reverse order in which
140 parsers are run for ARGP_KEY_END. [PR libc/1755].
142 * grp/initgroups.c (initgroups): Don't limit the possible number
143 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
144 the setgroups call while the call fails and descrease the number
145 of groups each round.
146 The name of the initgroups function in the NSS modules changed.
147 (compat_call): Adapt for dynamic resizing.
148 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
149 Implement dynamic resizing.
150 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
152 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
153 * hesiod/Versions: Change exported interface name.
154 * nis/Versions: Change exported interface name.
156 2000-07-23 Ulrich Drepper <drepper@redhat.com>
158 * locale/iso-639.def: Some errors corrected.
159 Patch by Keld Simonsen.
161 * include/limits.h: Update non-gcc portion.
162 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
164 2000-07-22 Mark Kettenis <kettenis@gnu.org>
166 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
167 program's data space, reallocate only the space that was just
168 deallocated to release its backing space.
170 2000-07-23 Ulrich Drepper <drepper@redhat.com>
172 * stdio-common/vfprintf.c (process_string_arg): For wide character
173 version, handle precision also correctly.
175 * nss/nss_files/files-hosts.c: Correct problem with three or more
176 entries with the same name.
178 * nss/nss_files/files-hosts.c: Implement multi handling.
179 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
181 2000-07-22 Ulrich Drepper <drepper@redhat.com>
183 * nss/nss_files/files-parse.c: Don't pollute namespace by using
186 * grp/Makefile: Change Makefiles and tests to run only when necessary.
187 * malloc/Makefile: Likewise.
188 * malloc/tst-mtrace.sh: Likewise.
189 * posix/Makefile: Likewise.
190 * posix/globtest.sh: Likewise.
191 * posix/wordexp-tst.sh: Likewise.
192 * string/Makefile: Likewise.
194 2000-07-22 Mark Kettenis <kettenis@gnu.org>
196 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
197 size instead of LC_ALL to take into account the new locale
200 2000-07-22 Ulrich Drepper <drepper@redhat.com>
202 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
203 remainders of hash table.
204 * locale/categories.def: Remove remainders of transliteration
206 * locale/langinfo.h: Likewise.
207 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
208 transliteration tables.
210 * locale/gen-translit.pl: New file.
211 * locale/C-translit.h.in: New file.
212 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
213 data pointers with data from this file.
214 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
216 Add rule to generate C-translit.h.
217 * intl/tst-translit.c (main): Update for now performed
220 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
221 (it's no input error).
222 * stdio-common/tstscanf.c: Add test case for format %f with input --.
223 * stdio-common/scanf12.c: Correct expected result for first scanf.
225 * stdio-common/vfprintf.c (process_string_arg): Correct handling
226 of multibyte character strings in %s format with precision.
228 2000-07-21 Ulrich Drepper <drepper@redhat.com>
230 * locale/programs/ld-collate.c (collate_read): Allow collating
231 symbols and elements be named in reorder-after instructions.
232 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
234 * locale/programs/ld-collate.c (handle_ellipsis): Test for
235 duplication with generated name, not the name of the first
237 Patch by Yong Li <yong.li@asu.edu>.
239 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
240 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
242 2000-07-21 Wolfram Gloger <wg@malloc.de>
244 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
245 allocations only if a non-main arena cannot be extended.
247 2000-07-21 Ulrich Drepper <drepper@redhat.com>
249 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
250 in DF_1_NODEFLIB handling.
252 2000-07-21 Andreas Jaeger <aj@suse.de>
254 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
257 * libio/fwide.c: Include <wchar.h> for prototype.
259 2000-07-21 Greg McGary <greg@mcgary.org>
261 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
262 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
263 Define in terms of chunk_at_offset.
264 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
265 (next_bin, prev_bin): offset by size of real array elements.
266 (chunk_align): Make `m' a scalar, since that's how it's used.
268 2000-07-21 Greg McGary <greg@mcgary.org>
270 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
272 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
273 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
274 Wrap bounds around argv & envp and each of their string members.
275 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
276 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
277 symbol in BP_SYM (). Discard bounds of address arg.
278 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
279 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
280 Discard bounds on address arg, add bounds to return value.
282 2000-07-20 Ulrich Drepper <drepper@redhat.com>
284 * elf/Makefile (tests): Add filter. Add rules to generate filter.
285 * elf/filter.c: New file.
286 * elf/filtmod1.c: New file.
287 * elf/filtmod2.c: New file.
289 * elf/rtld.c: Define _dl_bind_not variable.
290 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
291 * elf/dl-support.c: Likewise.
292 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
293 * elf/dl-runtime.c (fixup): Don't remember looked up value if
295 (profile_fixup): Likewise.
297 * libio/Makefile (routines): Add fwide.
298 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
299 fwide now. Internal calls to _IO_fwide must do locking themselves
300 or don't need locking.
301 * libio/fwide.c: New file.
303 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
305 * elf/Makefile: Add no modules for nodelete test.
306 * elf/nodelmod3.c: New file.
307 * elf/nodelmod4.c: New file.
308 * elf/nodelete.c: Also test case where dependency of dlopen() object
311 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
312 * elf/nodlopen.c: New file.
313 * elf/nodlopenmod.c: New file.
314 * include/dlfcn.h: Define __RTLD_DLOPEN.
315 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
316 and this is a dlopen() call, do not load the binary.
317 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
318 * dlfcn/dlopenold.c: Likewise.
319 * configure.in: Add test for -z nodelete option.
320 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
322 2000-07-20 Mark Kettenis <kettenis@gnu.org>
324 Make Hesiod NSS module thread-safe.
326 * hesiod/README.hesiod: Update.
328 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
329 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
330 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
331 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
333 * hesiod/nss_hesiod/hesiod-init.c: New file.
334 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
335 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
336 * hesiod/nss_hesiod/nss_hesiod.h: New file.
337 * hesiod/nss_hesiod/hesiod-service.c
338 (_nss_hesiod_getservbyport_r): New function. Provide support for
339 looking up services by port number.
340 * hesiod/nss_hesiod/hesiod-proto.c: New file.
342 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
343 * hesiod/hesiod.h: Likewise.
344 * hesiod/hesiod_p.h: Likewise.
346 2000-07-20 Mark Kettenis <kettenis@gnu.org>
348 Fix problems with `struct __res_state' getting too big.
349 * resolv/resolv.h (struct __sockaddr_in): New definition.
350 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
351 the private parts of the structure to save some space.
352 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
353 (struct sockaddr_in *) in call to sock_eq.
354 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
356 2000-07-20 Ulrich Drepper <drepper@redhat.com>
358 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
359 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
361 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
362 to _dl_map_object. Return immediately if no object loaded.
363 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
364 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
365 if it exists into l_flags_1 word.
366 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
367 it to determine whether loading is wanted or not.
368 (_dl_map_object): Likewise.
369 Call _dl_map_object_from_fd with new parameter.
370 * sysdeps/generic/ldsodefs.h: Update prototype.
371 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
372 * elf/rtld.c: Likewise.
373 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
374 * elf/Makefile (tests): Add noload. Add rules to generate noload.
375 * elf/noload.c: New file.
376 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
377 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
378 * sysdeps/mips/bits/dlfcn.h: Likewise.
379 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
380 (tests-nodelete-yes): Define.
381 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
382 Add rules to build nodelete and modules.
383 * elf/nodelete.c: New file.
384 * elf/nodelmod1.c: New file.
385 * elf/nodelmod2.c: New file.
386 * configure.in: Add test for -z nodelete option.
387 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
389 * libio/Makefile (tests): Add tst_wprintf2.
390 (tst_wprintf2-ARGS): Define.
391 * libio/tst_wprintf2.c: New file.
392 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
394 * libio/wfiledoalloc.c: Only allocate external buffer if this
397 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
398 something in the buffer. gconv call can write up to end of the
399 buffer, not only _IO_write_end.
400 (_IO_wfile_overflow): Allocate also external buffer.
402 2000-07-19 Ulrich Drepper <drepper@redhat.com>
404 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
405 strings with precision in vfwprintf correctly.
406 * stdio-common/vfprintf.c: Fix completely broken handling of
407 unbuffered wide character streams.
408 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
410 * resolv/Makefile (distribute): Add README.
412 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
414 2000-07-18 Mark Kettenis <kettenis@gnu.org>
416 Update resolver code to BIND 8.2.3-T5B.
418 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
420 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
421 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
423 * resolv/Banner: BIND-8.2.3-T5B.
425 * resolv/base64.c: Update from BIND 8.2.3-T5B.
426 * resolv/herror.c: Likewise.
427 * resolv/inet_addr.c: Likewise.
428 * resolv/inet_net_ntop.c: Likewise.
429 * resolv/inet_net_pton.c: Likewise.
430 * resolv/inet_neta.c: Likewise.
431 * resolv/inet_ntop.c: Likewise.
432 * resolv/nsap_addr.c: Likewise.
433 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
434 IPv6 addresses (ISC bug #520).
436 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
437 * resolv/ns_parse.c: Likewise.
438 * resolv/ns_netint.c: Likewise.
439 * resolv/ns_samedomain.c: Likewise.
440 * resolv/ns_ttl.c: Likewise.
441 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
442 RCS ID in object file.
444 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
445 * resolv/res_mkquery.c: Likewise.
446 * resolv/res_query.c: Likewise.
447 * resolv/res_init.c: Likewise.
448 (res_setoptions): Mark internal.
449 * resolv/res_send.c: Likewise.
450 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
451 by using poll instead.
452 * resolv/res_comp.c: Likewise.
453 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
454 weak alias for __dn_expand.
455 * resolv/res_data.c: Likewise.
456 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
457 in _res.options. Avoids a potential security risk by avoiding a
459 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
460 res_mkquery, res_query, res_querydomain adn res_search weak
461 aliases for __res_mkquery, __res_query, __res_querydomain and
463 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
464 instead to avoid close(0).
465 (res_init): Always use the static resolver context.
466 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
467 alias for __res_init.
469 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
470 RES_SET_H_ERRNO and accompanying comment to...
471 * include/resolv.h: ... here.
473 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
474 * resolv/arpa/nameser_compat.h: Likewise.
476 2000-07-18 Ulrich Drepper <drepper@redhat.com>
478 * nss/makedb.c (main): Compare result of load_db with
479 NSS_STATUS_SUCCESS and not 0.
480 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
482 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
484 2000-07-18 Greg McGary <greg@mcgary.org>
486 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
487 (EXTEND_BUFFER): Use it.
489 2000-07-18 Ulrich Drepper <drepper@redhat.com>
491 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
492 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
493 __builtin_return_address.
494 * dlfcn/dlopenold.c: Likewise.
495 * dlfcn/dlsym.c: Likewise.
496 * dlfcn/dlvsym.c: Likewise.
497 * elf/dl-profstub.c: Likewise.
498 * malloc/malloc.c: Likewise.
499 * sysdeps/generic/machine-gmon.h: Likewise.
500 Based on a patch by schwidefsky@de.ibm.com.
502 2000-07-18 Andreas Jaeger <aj@suse.de>
504 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
505 NULL to elf_machine_fixup_plt t argument to silence GCC.
507 * include/string.h: Add prototype for __memchr.
509 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
511 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
514 2000-07-18 Ulrich Drepper <drepper@redhat.com>
516 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
518 * locale/C-ctype.c: Add initializers for gap elements.
519 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
522 2000-07-16 Ulrich Drepper <drepper@redhat.com>
524 * nscd/nscd.c (print_version): Update copyright year.
526 2000-07-17 Greg McGary <greg@mcgary.org>
528 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
529 keyletters F, I, S, W. Remove unused keyletter V. Surround
530 signature argnames with angle-brackets for use as word delimiters,
531 and to induce syntax errors for any args not handled. Split
532 multi-echo echoes and comment each stage.
533 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
534 * sysdeps/unix/inet/syscalls.list: Likewise.
535 * sysdeps/unix/mman/syscalls.list: Likewise.
536 * sysdeps/unix/syscalls.list: Likewise.
537 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
538 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
539 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
540 * sysdeps/unix/sysv/syscalls.list: Likewise.
541 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
543 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
544 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
545 qualifiers. Don't check NULL-terminator of argv & envp.
546 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
547 unbounded pointer type in word-size assertion.
548 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
549 cases to stifle warnings.
551 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
553 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
555 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
556 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
559 * Makerules (o-objects): Supplement with $(o-objects$o).
560 * string/Makefile (o-objects.ob): Add variable to pull
561 unbounded versions of memcpy, memset and memchr into libc_b.
563 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
564 rather than non-existent __ubp_memchr.
565 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
566 (_CHECK_STRING, _CHECK_N): New macros.
567 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
568 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
569 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
570 Add weak alias "memchr".
571 * sysdeps/generic/memchr.c: Likewise.
572 * sysdeps/i386/memchr.S: Likewise.
573 * sysdeps/ia64/memchr.S: Likewise.
574 * sysdeps/m68k/memchr.S: Likewise.
575 * sysdeps/sparc/sparc32/memchr.S: Likewise.
576 * sysdeps/sparc/sparc64/memchr.S: Likewise.
577 * sysdeps/vax/memchr.s: Likewise.
579 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
581 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
582 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
583 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
584 __BOUNDED_POINTERS__.
585 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
586 for __BOUNDED_POINTERS__.
588 2000-07-17 Bruno Haible <haible@clisp.cons.org>
590 * iconv/gconv_open.c (__gconv_open): Initialize the __data
591 field of struct __gconv_trans_data differently. Don't pass NULL to
592 trans_init_fct. Simplify list append operation.
594 2000-07-14 Bruno Haible <haible@clisp.cons.org>
596 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
597 not only those having tsearch.
599 2000-07-17 Ulrich Drepper <drepper@redhat.com>
601 * locale/langinfo.h: Add placeholder values in enum for removed
604 2000-07-17 Jakub Jelinek <jakub@redhat.com>
606 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
607 chain if the PHDR check fails.
609 2000-07-17 Mark Kettenis <kettenis@gnu.org>
611 * nss/getent.c (print_hosts): Make sure we always print a space
612 between numeric addresses and hostnames.
614 2000-07-17 Wolfram Gloger <wg@malloc.de>
616 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
617 i.e. if n_mmaps_max>0.
619 2000-07-16 Mark Kettenis <kettenis@gnu.org>
621 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
622 values to remove possible clash with other AI_* constants.
623 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
624 hexadecimal constants to stress the fact they're in fact
627 2000-07-15 Mark Kettenis <kettenis@gnu.org>
629 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
630 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
633 2000-07-16 Ulrich Drepper <drepper@redhat.com>
635 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
636 parameters of memset calls to avoid warnings.
638 2000-07-15 Ulrich Drepper <drepper@redhat.com>
640 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
643 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
644 Patch by Greg McGary <greg@mcgary.org>.
646 * io/Makefile (tests): Add tst-getcwd.
647 * io/tst-getcwd.c: New file.
649 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
651 2000-07-15 Jakub Jelinek <jakub@redhat.com>
653 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
656 2000-07-13 Jakub Jelinek <jakub@redhat.com>
658 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
659 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
661 2000-07-12 H.J. Lu <hjl@gnu.org>
663 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
665 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
666 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
667 (sysdep-routines): Add clone2.
668 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
670 2000-07-13 Jes Sorensen <jes@linuxcare.com>
672 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
673 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
675 2000-06-05 David Mosberger <davidm@hpl.hp.com>
677 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
678 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
679 Change type of si_band from "int" to "long".
680 (si_imm) [USE_GNU]: Define
681 (si_isr) [USE_GNU]: Ditto.
682 (ILL_BREAK) [USE_GNU]: Ditto.
683 (FPE_DECOVF) [USE_GNU]: Ditto.
684 (FPE_DECDIV) [USE_GNU]: Ditto.
685 (FPE_DECERR) [USE_GNU]: Ditto.
686 (FPE_INVASC) [USE_GNU]: Ditto.
687 (FPE_INVDEC) [USE_GNU]: Ditto.
688 (TRAP_BRANCH) [USE_GNU]: Ditto.
689 (TRAP_HWBKPT) [USE_GNU]: Ditto.
691 2000-07-06 Jes Sorensen <jes@linuxcare.com>
693 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
694 bits/sigcontext as struct mcontext does not depend on it.
696 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
698 2000-07-04 Jes Sorensen <jes@linuxcare.com>
700 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
702 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
704 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
706 2000-06-22 Jes Sorensen <jes@linuxcare.com>
708 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
710 2000-07-15 Ulrich Drepper <drepper@redhat.com>
712 * intl/Makefile (test-srcs): Add tst-translit.
714 Add rules to build and run tst-translit.
715 * intl/tst-translit.c: New file.
716 * intl/tst-translit.sh: New file.
717 * intl/translit.po: New file.
719 2000-07-14 Ulrich Drepper <drepper@redhat.com>
721 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
722 transliteration function did its job, continue, don't stop.
724 * iconvdata/iso646.c: Little optimizations in body for conversion
727 2000-07-14 Mark Kettenis <kettenis@gnu.org>
729 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
731 2000-07-14 Mark Kettenis <kettenis@gnu.org>
733 * configure.in: Check for pwd binary.
734 * config.make.in: Add PWD_P to be subsituted.
735 * Makerules: Use $(PWD_P) instead of /bin/pwd.
737 2000-07-14 Ulrich Drepper <drepper@redhat.com>
739 * iconvdata/Makefile (modules): Add GB18030.
740 (distribute): Add gb18030.c.
741 * iconvdata/gconv-modules: Add entries for GB18030 module.
742 * iconvdata/gb18030.c: New file.
743 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
746 2000-07-13 Andreas Jaeger <aj@suse.de>
748 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
751 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
752 * inet/getnetgrent.c (free_mem): Likewise.
753 * misc/mntent.c (free_mem): Likewise.
754 * nss/getXXbyYY.c (free_mem): Likewise.
755 * nss/getXXent.c (free_mem): Likewise.
756 * pwd/fgetpwent.c (free_mem): Likewise.
757 * shadow/fgetspent.c (free_mem): Likewise.
759 2000-07-14 Ulrich Drepper <drepper@redhat.com>
761 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
762 64-bit architecture correctly [PR libc/1794].
764 2000-07-13 Ulrich Drepper <drepper@redhat.com>
766 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
767 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
768 report that we are out of memory.
769 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
770 * elf/dl-libc.c (dlerror_run): Likewise.
771 * elf/dl-open.c (_dl_open): Likewise.
772 * elf/rtld.c (dl_main): Likewise.
773 * elf/dl-error.c: Define _dl_out_of_memory.
774 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
776 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
779 * dlfcn/dlerror.c (free_key_mem): Also free error string.
781 * iconv/loop.c: Fix comment.
783 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
785 2000-07-13 Andreas Jaeger <aj@suse.de>
787 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
788 getcwd (NULL, size) with size > 0.
789 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
791 2000-07-13 Andreas Jaeger <aj@suse.de>
793 * posix/Makefile: Remove build rules for libposix.
795 2000-07-13 Andreas Schwab <schwab@suse.de>
797 * sysdeps/generic/glob.c (glob): Fix memory leak.
798 [SHELL]: Remove reference to undefined variable `files'.
801 2000-07-13 Andreas Jaeger <aj@suse.de>
803 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
806 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
807 memory if it was allocated.
809 2000-07-12 Ulrich Drepper <drepper@redhat.com>
811 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
814 * iconv/gconv_open.c (__gconv_open): Reapply
815 2000-07-12 Bruno Haible <haible@clisp.cons.org>
817 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
819 * iconv/gconv_open.c: Undo last two changes for now. They break
822 2000-07-12 Andreas Jaeger <aj@suse.de>
824 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
826 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
827 (CFLAGS-dl-cache.c): Likewise.
828 (CFLAGS-ldconfig.c): Added, passes directory locations.
830 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
832 * elf/ldconfig.c (LD_SO_CONF): Likewise.
833 (main): Use configured LIBDIR and SLIBDIR.
835 2000-07-11 Jakub Jelinek <jakub@redhat.com>
837 * math/bits/cmathcalls.h (cimag): Add __THROW.
838 (creal, conj): Likewise.
839 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
842 2000-07-12 H.J. Lu <hjl@gnu.org>
844 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
845 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
847 2000-07-12 Ulrich Drepper <drepper@redhat.com>
849 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
852 2000-07-12 Bruno Haible <haible@clisp.cons.org>
854 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
856 2000-07-12 Bruno Haible <haible@clisp.cons.org>
858 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
861 2000-07-12 Bruno Haible <haible@clisp.cons.org>
863 * iconv/gconv_open.c (__gconv_open): Initialize
864 result->__steps[cnt].__data.
866 2000-07-12 Mark Kettenis <kettenis@gnu.org>
868 * nss/getent.c (services_keys): Pass port number in network byte
869 order in call to getservbyport.
871 2000-07-11 Andreas Jaeger <aj@suse.de>
873 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
875 * intl/Makefile (do-gettext-test): Likewise.
876 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
878 2000-07-11 Andreas Schwab <schwab@suse.de>
880 * Makeconfig (run-program-prefix): New rule.
881 (built-program-cmd): Use run-program-prefix.
883 2000-07-12 Ulrich Drepper <drepper@redhat.com>
885 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
886 and NOEXPR unconditionally available.
888 2000-07-12 Greg McGary <greg@mcgary.org>
890 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
891 * sysdeps/posix/open64.c: Likewise.
892 * sysdeps/generic/fegetenv.c: Likewise.
893 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
894 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
895 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
896 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
897 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
898 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
900 2000-07-11 Greg McGary <greg@mcgary.org>
902 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
903 Add extra level of macro expansion.
904 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
905 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
906 is available at the time `select' prototype is declared.
907 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
908 Collect non-versioned weak aliases. Consider only non-versioned
909 aliases for the user-visible systemcall name. Do checks inline with
910 call to primitive system call.
911 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
912 stand-alone bounds checks to suppress unused value warnings.
913 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
915 2000-07-10 Mark Kettenis <kettenis@gnu.org>
917 * sysdeps/mach/hurd/check_fds.c: New file. Implements
918 file descriptor checking in SUID programs for the Hurd.
920 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
921 res_hostalias instead of __hostalias for thread-safety.
923 2000-07-09 Mark Kettenis <kettenis@gnu.org>
925 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
926 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
928 2000-07-10 Ulrich Drepper <drepper@redhat.com>
930 * include/features.h: Include ISO C99 features if the compiler used
931 is an ISO C99 compiler.
932 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
934 2000-07-08 Mark Kettenis <kettenis@gnu.org>
936 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
938 2000-07-10 Andreas Jaeger <aj@suse.de>
940 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
941 it's overridden by libpthreads.
942 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
943 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
944 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
945 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
946 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
948 * malloc/Makefile: Run tst-mtrace only with shared libs.
950 * stdio-common/Makefile: Run unbputc and tst-printf tests only
953 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
955 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
956 that gpreg really points to the GOT section of the calling object.
957 Scan all PT_LOAD segments of objects for stub_pc, instead of only
958 checking a start address of first one.
960 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
963 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
965 2000-07-10 Andreas Jaeger <aj@suse.de>
967 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
968 (string_alias->strong_alias).
970 2000-07-08 Mark Kettenis <kettenis@gnu.org>
972 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
974 2000-07-07 Greg McGary <greg@mcgary.org>
976 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
977 have no names without leading underscores.
979 2000-07-07 Ulrich Drepper <drepper@redhat.com>
981 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
984 * stdio-common/Makefile (tests): Remove tst-printf here...
985 (tests-srcs): ...and add it here.
986 (distribute): Add tst-unbputc.sh and tst-printf.sh.
987 Add rules to run tst-printf.sh.
988 * stdio-common/tst-printf.c: Move code around so that there is really
989 no further output where it's stated.
990 * stdio-common/tst-printf.sh: New file.
992 2000-07-07 Mark Kettenis <kettenis@gnu.org>
994 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
995 (do_write): Renamed from pwrite.
996 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
997 `struct _IO_cookie_file'.
999 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1001 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
1003 * malloc/tst-mtrace.sh: Run mtrace script.
1005 2000-07-07 Greg McGary <greg@mcgary.org>
1007 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
1008 Move all three components of a bounded pointer.
1010 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1012 * locale/programs/locale.c (write_locales): Don't simply add all
1013 directories found in the subdir, test whether at least the
1014 LC_CTYPE file is in there.
1016 2000-07-06 Ulrich Drepper <drepper@redhat.com>
1018 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
1019 * iconvdata/euc-kr.c: Likewise.
1021 * stdio-common/vfprintf.c (process_string_arg): Check result of
1022 wcrtomb call and bail out if it failed.
1024 * malloc/Makefile (test-srcs): Add tst-mtrace.
1025 (distribute): Add tst-mtrace.sh.
1026 Add rule to run tst-mtrace.sh.
1027 * malloc/tst-mtrace.c: New file.
1028 * malloc/tst-mtrace.sh: New file.
1030 * include/signal.h: Declare __libc_sigaction.
1031 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
1032 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
1033 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1034 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1035 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1036 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1037 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1039 * configure.in: Fix CFLAGS-memprofstat.c definition after
1041 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
1043 2000-07-06 Jakub Jelinek <jakub@redhat.com>
1045 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
1046 instead of NULL to elf_machine_fixup_plt t argument.
1047 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1048 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
1051 2000-07-06 Andreas Jaeger <aj@suse.de>
1053 * crypt/Makefile (LDLIBS-cert): Removed.
1054 (LDLIBS-md5c-test): Removed.
1055 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
1056 ($(objpfx)md5c-test): Likewise for md5c-test.out.
1058 2000-07-06 Andreas Jaeger <aj@suse.de>
1060 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
1061 of the proc system is "proc".
1063 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
1064 thread library for static programs.
1066 2000-07-06 Greg McGary <greg@mcgary.org>
1068 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
1070 * sysdeps/generic/strcpy.c: Add bounds checks.
1071 * sysdeps/unix/fxstat.c: Likewise.
1072 * sysdeps/unix/xstat.c: Likewise.
1073 * sysdeps/unix/common/lxstat.c: Likewise.
1074 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1075 * sysdeps/unix/sysv/linux/execve.c: Likewise.
1076 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
1077 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1078 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1079 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1080 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1081 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1082 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1083 * sysdeps/unix/sysv/linux/poll.c: Likewise.
1084 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1085 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1086 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
1087 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1088 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1089 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1090 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1091 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1092 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1093 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1094 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1095 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1096 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1097 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
1098 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1099 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
1100 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1101 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
1102 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1103 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1104 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1105 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
1106 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1107 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1108 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1109 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1110 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1111 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
1112 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1113 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1114 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1115 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1116 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1117 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1118 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
1119 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
1120 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1121 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
1122 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
1123 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
1124 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
1125 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
1126 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1127 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1128 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1129 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1130 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
1131 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
1132 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
1133 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
1134 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1135 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
1136 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
1137 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
1139 * string/endian.h (__LONG_LONG_PAIR): New macro.
1140 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
1141 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1142 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1143 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1144 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1145 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1146 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
1147 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1148 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1149 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1150 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1151 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
1153 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
1155 2000-07-06 Andreas Jaeger <aj@suse.de>
1157 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
1160 * math/test-fpucw.c: Include <stdio.h> for printf.
1162 2000-07-05 Greg McGary <greg@mcgary.org>
1164 * sysdeps/generic/bp-checks.h: New file.
1165 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
1166 with list of #include files.
1167 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
1168 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
1169 Don't generate BP thunk if `V' appears in signature.
1170 Generate thunks with complete bounds checks.
1171 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
1172 * sysdeps/unix/inet/syscalls.list: Likewise.
1173 * sysdeps/unix/mman/syscalls.list: Likewise.
1174 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1175 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1176 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1177 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
1179 2000-07-05 Ulrich Drepper <drepper@redhat.com>
1181 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
1182 result. Search first in /etc/mtab (proc/mounts would be stupid).
1183 If mount not in the file fall back on /proc.
1185 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
1186 string got copied in.
1187 Patch by Solar Designer <solar@false.com>.
1189 2000-07-05 Andreas Jaeger <aj@suse.de>
1191 * manual/install.texi (Installation): Update information about
1193 (Configuring and compiling): Update for glibc 2.2.
1195 2000-07-04 Andreas Jaeger <aj@suse.de>
1197 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
1198 (_FPU_IEEE): Likewise.
1200 * math/Makefile (tests): Add test-fpucw.
1202 * math/test-fpucw.c (main): New file.
1204 2000-07-05 Ulrich Drepper <drepper@redhat.com>
1206 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
1208 * locale/programs/ld-collate.c (collate_output): Also write out the
1209 collation sequence values and the wide character string for the
1210 collation symbol table.
1212 * posix/fnmatch.c: Include "../locale/elem-hash.h".
1213 * posix/fnmatch_loop.c: Implement collating symbol handling.
1214 * posix/tst-fnmatch.input: Add more tests, especially for collating
1217 * posix/regex.c: Fix comment.
1219 2000-07-05 Andreas Jaeger <aj@suse.de>
1221 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
1222 (_FPU_GETCW): Remove extra colon.
1223 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
1225 * posix/fnmatch_loop.c (FCT): Only declare len if
1226 !WIDE_CHAR_VERSION to silence GCC.
1228 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
1230 * sysdeps/generic/strchrnul.c: Likewise.
1231 * sysdeps/generic/strlen.c: Likewise.
1232 * sysdeps/generic/strchr.c: Likewise.
1233 * sysdeps/generic/memchr.c: Likewise.
1235 2000-07-04 Ulrich Drepper <drepper@redhat.com>
1237 * posix/fnmatch_loop.c: Implement equivalence class handling.
1238 * posix/tst-fnmatch.input: Add tests for equivalence class
1241 * posix/fnmatch_loop.c: Improve performance for single-byte
1242 character sets by not using btowc.
1244 * posix/tst-fnmatch.input: Add tests for locale dependent
1246 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
1248 * posix/tst-fnmatch.input: Add more test cases.
1250 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
1251 are not aligned to alignof(md5_uint32) do it before calling
1252 __md5_process_bytes.
1253 * crypt/md5.c: Make sure buffers are aligned.
1254 * crypt/md5.h: Likewise.
1255 Reported by Solar Designer <solar@false.com>.
1257 * crypt/Makefile: Add dependencies for test programs.
1259 * Rules: Define LC_ALL=C in environments of all programs we run.
1261 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
1263 2000-07-03 H.J. Lu <hjl@gnu.org>
1265 * locale/programs/ld-ctype.c (ctype_output): The size of iov
1266 is 2 + elem + offset, not 2 + elem + offset + 2.
1268 2000-07-04 Ulrich Drepper <drepper@redhat.com>
1270 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
1272 * posix/Makefile (tests): Add tst-fnmatch.
1273 (tst-fnmatch-ENV): Define.
1274 * posix/tst-fnmatch.c: New file.
1275 * posix/tst-fnmatch.sh: New file.
1277 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
1279 * locale/programs/charmap.c (charmap_read): Prepend
1280 the condition filename == NULL.
1282 2000-07-03 Greg McGary <greg@mcgary.org>
1284 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
1286 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
1287 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
1289 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
1290 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
1291 (FILEBUF_LITERAL): Add cast for CHAIN init.
1292 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
1293 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
1294 Revert type of `fp' to _IO_FILE*.
1295 (_IO_iter_file): Remove cast.
1296 (_IO_iter_next): Elide intermediate member reference.
1298 * sysdeps/powerpc/strchr.S: Check bounds.
1299 Wrap extern symbols in BP_SYM ().
1301 2000-07-03 Andreas Jaeger <aj@suse.de>
1303 * dlfcn/Makefile (generated): New.
1305 2000-07-03 Ulrich Drepper <drepper@redhat.com>
1307 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
1308 (__uflow): Likewise.
1309 (__underflow): Likewise.
1310 * libio/wgenops.c (__wunderflow): Likewise.
1311 * stdio-common/tst-unbputc.c: New file.
1312 * stdio-common/tst-unbputc.sh: New file.
1313 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
1315 * po/en_GB.po: New file.
1316 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
1318 2000-07-01 Andreas Jaeger <aj@suse.de>
1320 * intl/Makefile (generated-dirs): New.
1322 * elf/Makefile (generated): trusted-dirs.h is always generated,
1323 move out of build-shared condition.
1324 (generated): Merge the two entries for build-shared.
1326 2000-07-01 Ulrich Drepper <drepper@redhat.com>
1328 * debug/Makefile (distribute): Add xtrace.sh.
1330 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1332 * version.h (VERSION): Bump to 2.1.91.
1334 * configure.in: Update warning comment. glibc should not be
1337 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
1338 ioperm.c, sys/procfs.h, and sys/io.h.
1340 * sysdeps/powerpc/Dist: Add bp-asm.h.
1342 * assert/Depend: Add localedata.
1343 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
1344 (test-assert-perr-ENV): New. Define LANGUAGE=C.
1346 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
1347 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
1348 relocation address to prevent unaligned trap.
1349 Suggested by Richard Henderson <rth@cygnus.com>.
1351 2000-06-30 Jakub Jelinek <jakub@redhat.com>
1353 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
1354 if redirecting and either redirection is done using defines or
1357 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1359 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
1360 generated expressions.
1361 Patch by Darren McClelland <dmcclell@zetec.com>.
1363 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
1364 since zic uses setlocale and gettext but we cannot make it use the
1365 new locale data since zic calls a shell which might not use the
1368 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
1369 handling the internation currency symbol. POSIX says that the
1370 fourth character is used to separate the currency symbol from the
1371 value. Therefore it does not have to be printed. But we cannot
1372 remove the space if the currency symbol is printed before the
1373 number since this is what many locales expect.
1375 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
1376 whether this information is available.
1378 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
1379 buffers in case the translation is too large. Remember allocated
1380 memory blocks in a list.
1381 (free_mem): Free memory for translations.
1383 * intl/tst-gettext.c: Use correct locale. Improve error messages.
1385 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
1386 information is available set the string length to zero.
1388 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
1390 2000-06-30 Greg McGary <greg@mcgary.org>
1392 * sysdeps/powerpc/bp-asm.h: New file.
1393 * sysdeps/powerpc/__longjmp.S: Check bounds.
1394 Wrap extern symbols in BP_SYM ().
1395 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
1396 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
1397 * sysdeps/powerpc/setjmp.S: Likewise.
1398 * sysdeps/powerpc/add_n.S: Likewise.
1399 * sysdeps/powerpc/addmul_1.S: Likewise.
1400 * sysdeps/powerpc/lshift.S: Likewise.
1401 * sysdeps/powerpc/rshift.S: Likewise.
1402 * sysdeps/powerpc/mul_1.S: Likewise.
1403 * sysdeps/powerpc/sub_n.S: Likewise.
1404 * sysdeps/powerpc/submul_1.S: Likewise.
1405 * sysdeps/powerpc/strlen.S: Likewise.
1406 * sysdeps/powerpc/memset.S: Likewise.
1407 * sysdeps/powerpc/stpcpy.S: Likewise.
1408 * sysdeps/powerpc/strcmp.S: Likewise.
1409 * sysdeps/powerpc/strcpy.S: Likewise.
1410 * sysdeps/powerpc/elf/bzero.S: Likewise.
1412 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
1413 Line up operands column with tabs.
1415 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1417 * elf/Makefile (LDFLAGS-origtest): Actually add it.
1419 * sysdeps/ia64/htonl.S: New file.
1420 * sysdeps/ia64/htons.S: New file.
1421 * sysdeps/ia64/memcpy.S: Replace with version which does not use
1422 floating point registers.
1423 Patches by Dan Pop <Dan.Pop@cern.ch>.
1425 2000-06-30 Andreas Jaeger <aj@suse.de>
1427 * posix/Makefile (tests): tst-exec and tst-spawn only work with
1430 * io/Makefile (CFLAGS-test-lfs.c): New.
1431 (tests): Add test-lfs.
1433 * io/test-lfs.c: New file.
1435 2000-06-30 Jakub Jelinek <jakub@redhat.com>
1437 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
1440 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
1442 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
1444 2000-06-29 Jes Sorensen <jes@linuxcare.com>
1446 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
1447 alias to the fstatfs call.
1449 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
1450 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
1452 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
1453 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
1455 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
1456 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
1457 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
1458 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
1460 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
1461 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
1463 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
1464 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
1466 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
1467 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
1469 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
1471 2000-06-29 Andreas Jaeger <aj@suse.de>
1473 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
1475 (print_err_message): Likewise.
1476 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
1478 2000-06-29 Ulrich Drepper <drepper@redhat.com>
1480 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
1481 used as words is properly aligned.
1483 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
1486 2000-06-29 Greg McGary <greg@mcgary.org>
1488 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
1489 * sysdeps/unix/make-syscalls.sh: Handle signatures of
1490 length 7..9, just in case...
1491 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
1493 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
1494 (POP_ERRNO_LOCATION_RETURN): Fold insns.
1495 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
1496 (PUSH_SIGNAL_MASK): New macro.
1497 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
1498 LEAVE is unnecessary. Check bounds of jmp_buf.
1499 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
1500 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
1501 immediately before tail-call.
1502 * sysdeps/i386/setjmp.S: Likewise.
1503 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1504 * sysdeps/i386/bsd-setjmp.S: Likewise.
1506 2000-06-29 Jakub Jelinek <jakub@redhat.com>
1508 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
1510 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
1511 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
1512 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
1513 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1514 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
1515 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
1516 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
1517 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
1519 2000-06-29 Ulrich Drepper <drepper@redhat.com>
1521 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
1522 we later need to calling free().
1523 Patch by Matt Wilson <msw@redhat.com>.
1525 * stdio-common/tst-printf.c: Add test for above problem.
1527 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
1529 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
1530 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
1532 2000-06-28 Jes Sorensen <jes@linuxcare.com>
1534 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
1535 prototype for abs().
1536 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
1538 2000-06-23 Andreas Jaeger <aj@suse.de>
1540 * config.h.in: Don't use regparm with bounded pointers.
1542 2000-06-29 Ulrich Drepper <drepper@redhat.com>
1544 * stdlib/grouping.h: Correctly handle multibyte thousands
1545 separator and decimal point.
1546 * stdlib/stdtod.c: Likewise.
1547 * sysdeps/generic/strtol.c: Likewise.
1549 * locale/categories.def: Add entries for wide character decimal point
1550 and thousands separator in numeric and monetary category.
1552 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1554 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
1555 second definition and initialization of decimal.
1557 2000-06-28 Greg McGary <greg@mcgary.org>
1559 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
1561 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
1562 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
1564 (_IO_JUMPS): Don't cast THIS--expect arg to be a
1565 (struct _IO_FILE_plus *).
1566 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
1567 THIS, since _IO_JUMPS no longer does it implicitly.
1568 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
1569 arg type as (struct _IO_FILE_plus *).
1570 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
1571 arg as (_IO_strfile *).
1572 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
1573 Declare 1st arg as (_IO_strfile *).
1574 * libio/fileops.c (_IO_new_file_init): Declare
1575 arg type as (struct _IO_FILE_plus *).
1576 * libio/oldfileops.c (_IO_old_file_init): Likewise.
1577 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
1578 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
1579 Declare iteration pointer as (struct _IO_FILE_plus *).
1580 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
1581 (struct _IO_FILE_plus *).
1582 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
1583 * libio/oldstdfiles.c (_IO_list_all): Likewise.
1584 (_IO_check_libio): Set user-visible handles to
1585 (struct _IO_FILE_plus *).
1586 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
1587 to (struct _IO_FILE_plus *).
1589 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
1590 whose high bound includes vtable to all functions that will use
1591 vtable. For streambufs, pass pointer whose bounds include struct
1593 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
1594 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1595 * libio/iofopen.c (_IO_new_fopen): Likewise.
1596 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1597 * libio/iofopen64.c (_IO_fopen64): Likewise.
1598 * libio/iopopen.c (_IO_new_popen): Likewise.
1599 * libio/oldiopopen.c (_IO_old_popen): Likewise.
1600 * libio/memstream.c (open_memstream): Likewise.
1601 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
1602 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
1603 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1604 * libio/iofopncook.c (_IO_cookie_init): Likewise.
1605 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
1606 * libio/vasprintf.c (_IO_vasprintf): Likewise.
1607 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
1608 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
1609 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
1610 * stdlib/strfmon.c (__strfmon_l): Likewise.
1611 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
1612 (vfprintf): Qualify computed-goto targets as unbounded.
1614 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1616 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
1617 thousands separator correctly.
1619 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
1620 * stdio-common/vfwscanf.c: Likewise.
1622 2000-06-27 Jes Sorensen <jes@linuxcare.com>
1624 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
1625 count into signatures for most calls.
1627 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1629 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
1630 the generic parser now.
1632 2000-06-28 Jes Sorensen <jes@linuxcare.com>
1634 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
1635 table entries are 32 bit on the ia64 (as specified by the ABI),
1636 not 64 bit as on the Alpha.
1638 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
1639 change of objects to use 32 bit hash table indices (see above).
1641 2000-06-28 Jes Sorensen <jes@linuxcare.com>
1643 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
1644 prototype for abs().
1646 2000-06-28 Wolfram Gloger <wg@malloc.de>
1648 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
1649 fails, try mmap_chunk() as a last resort even though n_mmaps_max
1650 may have been reached.
1652 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1654 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
1655 symbols in multi-character weights correctly.
1657 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
1658 depending on whether the input string is empty or not.
1660 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
1661 given state and not avoiding this by modifying a local object.
1662 * wcsmbs/wcrtomb.c: Likewise.
1664 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
1665 object since some incomplete characters might be in there.
1667 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
1668 sequences with first byte 0x8e correctly.
1670 * iconvdata/jis0208.h: Remove redundant test.
1672 2000-06-27 Ulrich Drepper <drepper@redhat.com>
1674 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
1675 Add it where it is needed now.
1677 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
1678 the input charset into account when generating the hash table.
1679 (allocate_arrays): Correct setting default width. Not all empty slots
1680 in the table are filled, only those not covert explicitly by the
1681 locale description and in the charset.
1683 * wctype/towctrans.c (__towctrans): Be graceful and accept error
1684 return values from the wctrans function.
1686 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
1687 wide character version.
1688 For %C handling, test correct pointer variable for NULL.
1690 * wcsmbs/wctob.c: Handle WEOF special.
1692 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
1694 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
1695 always-true test to avoid warning.
1697 2000-06-27 Greg McGary <greg@mcgary.org>
1699 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
1700 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
1701 (symbol_version, default_symbol_version): Factor redundant
1702 definitions out of conditional.
1704 2000-06-27 Jakub Jelinek <jakub@redhat.com>
1706 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
1709 2000-06-26 Ulrich Drepper <drepper@redhat.com>
1711 * include/libc-symbols.h (symbol_version): Add extra level of
1713 (default_symbol_version): Likewise.
1715 2000-06-26 Greg McGary <greg@mcgary.org>
1717 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
1718 for BP return value & push implicit struct-return pointer to
1720 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1721 (SYSCALL_ERROR_HANDLER): Likewise.
1722 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
1723 (SYSCALL_ERROR_HANDLER): Likewise.
1725 * Makeconfig: Add missing comment.
1726 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
1727 BP-flavored startup object.
1728 ($(objpfx)b$(start-installed-name)): New rule.
1729 * include/libc-symbols.h (symbol_set_declare): Change type
1730 of `__start_##set' and `__stop_##set' to pointer-to-function.
1731 (symbol_set_declare): Change type of `set' to array of
1732 pointer-to-function.
1733 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
1734 pointer-to-function.
1736 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
1738 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
1739 Remove clock_* and timer_* entries.
1740 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
1741 arg-count with signatures.
1743 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
1744 Check bounds of arguments.
1745 * sysdeps/i386/addmul_1.S: Likewise.
1746 * sysdeps/i386/lshift.S: Likewise.
1747 * sysdeps/i386/mul_1.S: Likewise.
1748 * sysdeps/i386/rshift.S: Likewise.
1749 * sysdeps/i386/sub_n.S: Likewise.
1750 * sysdeps/i386/submul_1.S: Likewise.
1751 * sysdeps/i386/i586/add_n.S: Likewise.
1752 * sysdeps/i386/i586/addmul_1.S: Likewise.
1753 * sysdeps/i386/i586/lshift.S: Likewise.
1754 * sysdeps/i386/i586/rshift.S: Likewise.
1755 * sysdeps/i386/i586/sub_n.S: Likewise.
1756 * sysdeps/i386/i686/add_n.S: Likewise.
1758 * sysdeps/i386/memchr.S: Likewise.
1759 * sysdeps/i386/memcmp.S: Likewise.
1760 * sysdeps/i386/rawmemchr.S: Likewise.
1761 * sysdeps/i386/i586/bzero.S: Likewise.
1762 * sysdeps/i386/i586/memcpy.S: Likewise.
1763 * sysdeps/i386/i586/mempcpy.S: Likewise.
1764 * sysdeps/i386/i586/memset.S: Likewise.
1765 * sysdeps/i386/i686/bzero.S: Likewise.
1766 * sysdeps/i386/i686/memcpy.S: Likewise.
1767 * sysdeps/i386/i686/mempcpy.S: Likewise.
1768 * sysdeps/i386/i686/memset.S: Likewise.
1770 * sysdeps/i386/stpcpy.S: Likewise.
1771 * sysdeps/i386/stpncpy.S: Likewise.
1772 * sysdeps/i386/strchr.S: Likewise.
1773 * sysdeps/i386/strchrnul.S: Likewise.
1774 * sysdeps/i386/strcspn.S: Likewise.
1775 * sysdeps/i386/strpbrk.S: Likewise.
1776 * sysdeps/i386/strrchr.S: Likewise.
1777 * sysdeps/i386/strspn.S: Likewise.
1778 * sysdeps/i386/strtok.S: Likewise.
1779 * sysdeps/i386/strtok_r.S: Likewise.
1780 * sysdeps/i386/i486/strcat.S: Likewise.
1781 * sysdeps/i386/i486/strlen.S: Likewise.
1782 * sysdeps/i386/i586/strchr.S: Likewise.
1783 * sysdeps/i386/i586/strcpy.S: Likewise.
1784 * sysdeps/i386/i586/strlen.S: Likewise.
1785 * sysdeps/i386/i686/strcmp.S: Likewise.
1786 * sysdeps/i386/i686/strtok.S: Likewise.
1787 * sysdeps/i386/i686/strtok_r.S: Likewise.
1789 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
1790 * sysdeps/i386/fpu/fesetenv.c: Likewise.
1791 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
1792 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
1793 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1795 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
1796 * sysdeps/i386/mul_1.S: Likewise.
1797 * sysdeps/i386/submul_1.S: Likewise.
1798 * sysdeps/i386/i586/add_n.S: Likewise.
1799 * sysdeps/i386/i586/addmul_1.S: Likewise.
1800 * sysdeps/i386/i586/lshift.S: Likewise.
1801 * sysdeps/i386/i586/mul_1.S: Likewise.
1802 * sysdeps/i386/i586/rshift.S: Likewise.
1803 * sysdeps/i386/i586/sub_n.S: Likewise.
1804 * sysdeps/i386/i586/submul_1.S: Likewise.
1806 2000-06-26 Ulrich Drepper <drepper@redhat.com>
1808 * rt/Makefile (librt-routines): Add clock_nanosleep.
1809 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
1810 * sysdeps/generic/clock_nanosleep.c: New file.
1811 * sysdeps/unix/clock_nanosleep.c: New file.
1812 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
1813 * time/time.h: Declare clock_nanosleep.
1815 2000-06-26 Greg McGary <greg@mcgary.org>
1817 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
1818 INSN1, INSN2, TEXT, GLOBL): Remove macros.
1819 (ALIGN): Cleanup surrounding conditionals.
1821 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
1822 Call ENTER/LEAVE macros.
1823 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
1824 * sysdeps/i386/submul_1.S: Likewise.
1826 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
1827 syntax. Define & use symbolic argument stack offsets. Call
1829 * sysdeps/i386/i586/mul_1.S: Likewise.
1830 * sysdeps/i386/i586/submul_1.S: Likewise.
1832 2000-06-25 Greg McGary <greg@mcgary.org>
1834 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
1837 2000-06-25 Ulrich Drepper <drepper@redhat.com>
1839 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
1840 * iconvdata/gen-8bit-gap.sh: Likewise.
1841 * iconvdata/gen-8bit.sh: Likewise.
1843 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
1845 * locale/programs/ld-collate.c (collate_read): Don't actually read
1846 the copy locale if we are ignoring the content.
1848 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
1851 * locale/programs/ld-collate.c: Correct handling of different
1853 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
1854 as extra parameter from which to copy category information.
1856 (load_locale): Likewise.
1857 * locale/programs/localedef.h: Update prototypes of add_to_readlist
1859 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
1860 * locale/programs/locfile.h: Likewise.
1861 * locale/programs/locfile-kw.gperf: Add entry for script.
1862 * locale/programs/locfile-token.h: Add tok_script.
1864 * locale/programs/locale.c: Update copyright year.
1865 * locale/programs/localedef.c: Likewise.
1867 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
1869 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
1870 Jens Moeller <jens.moeller@waii.com>.
1872 2000-06-24 Ulrich Drepper <drepper@redhat.com>
1874 * locale/programs/ld-name.c (name_finish): Add missing format
1875 specifier to test for name_fmt.
1877 * locale/programs/ld-address.c (iso639): Correct length of string
1879 (iso3166): Likewise.
1881 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
1883 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
1886 * elf/elf.h (NT_PRFPXREG): Define.
1888 2000-06-23 Ulrich Drepper <drepper@redhat.com>
1890 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
1891 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
1893 2000-06-23 Andreas Schwab <schwab@suse.de>
1895 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
1898 2000-06-23 Andreas Jaeger <aj@suse.de>
1900 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
1902 * io/test-stat.c: Add copyright header, mention Maciej.
1904 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
1905 SYS_mincore, SYS_madvise): Added.
1907 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
1910 2000-06-22 Ulrich Drepper <drepper@redhat.com>
1912 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
1913 (CFLAGS-tst_putwc.c): New definition.
1914 * libio/tst_getwc.c: New file.
1915 * libio/tst_getwc.input: New file.
1916 * libio/tst_putwc.c: New file.
1918 * include/string.h: Add prototype for __strdup.
1920 2000-06-22 Greg McGary <greg@mcgary.org>
1922 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
1923 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
1926 2000-06-23 Jes Sorensen <jes@linuxcare.com>
1928 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
1930 2000-06-22 Jes Sorensen <jes@linuxcare.com>
1932 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
1934 2000-06-22 Jes Sorensen <jes@linuxcare.com>
1936 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
1937 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
1939 2000-06-22 Ulrich Drepper <drepper@redhat.com>
1941 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
1942 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
1944 * sysdeps/mach/hurd/bits/stat.h: Likewise.
1945 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1946 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
1947 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1948 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
1949 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
1950 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
1951 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
1952 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1953 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
1954 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
1955 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
1956 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
1957 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
1960 2000-06-22 Andreas Jaeger <aj@suse.de>
1962 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
1965 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
1967 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
1969 2000-06-21 Ulrich Drepper <drepper@redhat.com>
1971 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
1974 2000-06-21 Greg McGary <greg@mcgary.org>
1976 * Makerules (elide-routines.*, elide-bp-thunks):
1977 Define unconditionally.
1979 2000-06-21 Jes Sorensen <jes@linuxcare.com>
1981 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
1983 2000-06-21 Andreas Jaeger <aj@suse.de>
1985 * io/Makefile (tests): Add test-stat.
1986 (CFLAGS-test-stat.c): New.
1988 * io/test-stat.c: New file from Maciej W. Rozycki
1989 <macro@ds2.pg.gda.pl>.
1991 2000-06-21 Jes Sorensen <jes@linuxcare.com>
1993 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
1994 in __rlimit_resource to make them match the kernel order.
1995 rlim_t is always 64 bit, use __rlim64_t to declare it
1998 2000-05-04 Jes Sorensen <jes@linuxcare.com>
2000 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
2001 RLIM_INFINITY before defining it to avoid clash with kernel header
2003 2000-05-03 Jes Sorensen <jes@linuxcare.com>
2005 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
2007 2000-06-21 Ulrich Drepper <drepper@redhat.com>
2009 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
2011 2000-06-21 Andreas Jaeger <aj@suse.de>
2013 * stdio-common/temptest.c: Include <stdlib.h>.
2014 * stdio-common/tst-fileno.c: Likewise.
2015 * stdio-common/scanf4.c: Likewise.
2016 * stdio-common/scanf5.c: Likewise.
2017 * time/clocktest.c: Likewise.
2018 * posix/test-vfork.c: Likewise.
2019 * posix/globtest.c: Likewise.
2020 * io/test-utime.c: Likewise.
2021 * wctype/test_wcfuncs.c: Likewise.
2022 * crypt/cert.c: Likewise.
2024 * stdio-common/tst-printfsz.c: Include <string.h>.
2025 * libio/tst_swscanf.c: Likewise.
2026 * libio/tst_wscanf.c: Likewise.
2027 * posix/runtests.c: Likewise.
2028 * posix/tst-getaddrinfo.c: Likewise.
2029 * posix/wordexp-test.c: Likewise.
2030 * misc/tst-efgcvt.c: Likewise.
2032 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
2033 * nss/test-netdb.c: Likewise.
2035 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
2036 supported kernel for MIPS.
2038 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
2039 * rt/aio_suspend.c: Likewise.
2041 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2043 * math/libm-test.inc: Include <string.h>.
2045 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2047 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
2049 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2051 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
2052 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
2054 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
2056 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
2058 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2060 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
2062 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2064 * locale/programs/ld-collate.c (insert_value): Now take string and
2065 length instead of struct token* parameter. Adjust use of token.
2066 (handle_ellipsis): Likewise.
2067 (collate_read): Allow <Uxxxx> names and transform them into names
2068 to be passed to insert_value and handle_ellipsis.
2070 * locale/programs/ld-ctype.c (uninames): New array with names of
2071 digits in <Uxxxxxxxx> format.
2072 (ctype_finish): Correct search for space character value. Likewise
2073 for default outdigits values.
2075 2000-06-20 Greg McGary <greg@mcgary.org>
2077 * Makerules (objects): Add BP thunks.
2079 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2081 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
2082 in width definitions.
2084 2000-06-20 Andreas Jaeger <aj@suse.de>
2086 * sysdeps/mips/fpu/libm-test-ulps: New file.
2088 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
2091 * sysdeps/mips/fpu/feholdexcpt.c: New file.
2093 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
2095 2000-06-19 Ulrich Drepper <drepper@redhat.com>
2097 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
2098 change in gconv_builtin.h.
2100 * malloc/Makefile: Change all references to memprof into memusage.
2101 * malloc/memprof.c: Rename to...
2102 * malloc/memusage.c: ...this. New file.
2103 * malloc/memprof.sh: Rename to...
2104 * malloc/memusage.sh: ...this. New file.
2105 * malloc/memprofstat.c: Rename to...
2106 * malloc/memusagestat.c: ...this. New file.
2107 * sysdeps/alpha/memprof.h: Rename to..
2108 * sysdeps/alpha/memusage.h: ...this. New file.
2109 * sysdeps/arm/memprof.h: Rename to..
2110 * sysdeps/arm/memusage.h: ...this. New file.
2111 * sysdeps/generic/memprof.h: Rename to..
2112 * sysdeps/generic/memusage.h: ...this. New file.
2113 * sysdeps/i386/memprof.h: Rename to..
2114 * sysdeps/i386/memusage.h: ...this. New file.
2115 * sysdeps/ia64/memprof.h: Rename to..
2116 * sysdeps/ia64/memusage.h: ...this. New file.
2117 * sysdeps/m68k/memprof.h: Rename to..
2118 * sysdeps/m68k/memusage.h: ...this. New file.
2119 * sysdeps/mips/memprof.h: Rename to..
2120 * sysdeps/mips/memusage.h: ...this. New file.
2121 * sysdeps/powerpc/memprof.h: Rename to..
2122 * sysdeps/powerpc/memusage.h: ...this. New file.
2123 * sysdeps/sparc/memprof.h: Rename to..
2124 * sysdeps/sparc/memusage.h: ...this. New file.
2125 * sysdeps/sh/memprof.h: Rename to..
2126 * sysdeps/sh/memusage.h: ...this. New file.
2128 * elf/sprof.c (print_version): Update year.
2130 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
2131 table entry values. Use D_PTR.
2132 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
2133 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
2135 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2137 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
2138 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
2139 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
2140 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
2142 2000-05-05 Jes Sorensen <jes@linuxcare.com>
2144 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
2146 2000-06-16 Jes Sorensen <jes@linuxcare.com>
2148 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
2149 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
2150 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
2152 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
2154 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
2157 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
2158 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
2160 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
2163 2000-06-15 Jes Sorensen <jes@linuxcare.com>
2165 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
2167 2000-06-08 Jes Sorensen <jes@linuxcare.com>
2169 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
2171 2000-06-19 Ulrich Drepper <drepper@redhat.com>
2173 * iconv/gconv_int.h (strict gconv_module): Remove all members
2174 associated with regular expressions. Use a simple string as the
2176 * iconv/gconv_db.c: Remove code handling regular expressions.
2177 * iconv/gconv_conf.c: Likewise.
2178 * iconv/iconv_prog.c: Likewise.
2179 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
2181 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
2182 General namespace cleanup.
2183 (struct __gconv_trans_data): Add next field.
2184 (struct __gconv_step_data): Make __trans a pointer.
2185 * iconv/gconv_conf.c: Split out code to find gconv directories from
2186 __gconv_read_conf in new functions.
2187 * iconv/gconv_int.h: Define new data structure and declare new
2188 functions for handling of gconv directory list.
2189 * iconv/gconv_open.c: Allow more than one error handling step being
2190 used. Call function to load error handling module if it is none
2191 of the builtin transformations.
2192 * iconv/gconv_close.c: Add code to free transliteration data.
2193 * iconv/gconv_trans.c: Add functions to load and unload modules
2194 implementing transliteration etc.
2195 * iconv/skeleton.c: Call all context functions now that more than
2196 one module is allowed.
2197 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
2198 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
2199 where the full error handling using transliteration is needed.
2200 * iconvdata/8bit-gap.c: Likewise.
2201 * iconvdata/8bit-generic.c: Likewise.
2202 * iconvdata/ansi_x3.110.c: Likewise.
2203 * iconvdata/big5.c: Likewise.
2204 * iconvdata/big5hkscs.c: Likewise.
2205 * iconvdata/euc-cn.c: Likewise.
2206 * iconvdata/euc-jp.c: Likewise.
2207 * iconvdata/euc-kr.c: Likewise.
2208 * iconvdata/euc-tw.c: Likewise.
2209 * iconvdata/gbgbk.c: Likewise.
2210 * iconvdata/gbk.c: Likewise.
2211 * iconvdata/iso-2022-cn.c: Likewise.
2212 * iconvdata/iso-2022-jp.c: Likewise.
2213 * iconvdata/iso-2022-kr.c: Likewise.
2214 * iconvdata/iso646.c: Likewise.
2215 * iconvdata/iso8859-1.c: Likewise.
2216 * iconvdata/iso_6937-2.c: Likewise.
2217 * iconvdata/iso_6937.c: Likewise.
2218 * iconvdata/johab.c: Likewise.
2219 * iconvdata/sjis.c: Likewise.
2220 * iconvdata/t.61.c: Likewise.
2221 * iconvdata/uhc.c: Likewise.
2222 * iconvdata/unicode.c: Likewise.
2223 * iconvdata/utf-16.c: Likewise.
2224 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
2225 structure correctly after last change.
2226 * wcsmbs/btowc.c: Likewise.
2227 * wcsmbs/mbrtowc.c: Likewise.
2228 * wcsmbs/mbsnrtowcs.c: Likewise.
2229 * wcsmbs/mbsrtowcs.c: Likewise.
2230 * wcsmbs/wcrtomb.c: Likewise.
2231 * wcsmbs/wcsnrtombs.c: Likewise.
2232 * wcsmbs/wcsrtombs.c: Likewise.
2233 * wcsmbs/wctob.c: Likewise.
2235 * localedata/Makefile: Set -Wno-format for some files since gcc does
2236 not know all the format specifiers.
2238 2000-06-18 Ulrich Drepper <drepper@redhat.com>
2240 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
2242 * locale/lc-time.c (_nl_init_era_entries): Likewise.
2244 2000-06-18 Andreas Jaeger <aj@suse.de>
2246 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
2247 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
2249 2000-06-17 Ulrich Drepper <drepper@redhat.com>
2251 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
2253 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
2255 * locale/programs/ld-ctype.c (ctype_output): Really write out
2256 mboutdigits information.
2257 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
2258 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
2259 * localedata/tests/trans.def: Add outdigit information.
2261 * localedata/tst-mbswcs3.c: Remove comment.
2263 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
2264 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
2265 * libio/tst_wprintf.c (main): Add test for I flag.
2267 * iconv/gconv_trans.c: Implement handling if translit_ignore.
2268 * locale/langinfo.h: Add entries for translit_ignore information.
2269 * locale/categories.def: Add entries for new LC_CTYPE elements.
2270 * locale/C-ctype.c: Add initializers for new fields. Use NULL
2271 pointer instead of "" where possible.
2272 * locale/programs/ld-ctype.c: Write out translit_ignore information.
2273 * intl/Depend: Add localedata.
2274 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
2275 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
2277 2000-06-16 Ulrich Drepper <drepper@redhat.com>
2279 * locale/langinfo.h: Add entries for default_missing information.
2280 * locale/C-ctype.c: Add initializers for new fields.
2281 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
2283 * locale/categories.h: Add entries for all LC_CTYPE values.
2284 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
2287 * localedata/tst-trans.c: Write out an error message if class is
2290 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
2291 * iconv/gconv_open.c: Remove error handling specification from `from'
2293 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
2294 new parameter to always enable transliteration.
2295 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
2297 (struct locale_data): Add new members use_translit and options.
2298 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
2299 character set name contained modifier TRANSLIT.
2300 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
2302 (_nl_unload_locale): Free options string if necessary.
2303 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
2304 the locale names suggested this.
2305 * locale/C-address.c: Add two new initialilzers to adjust data
2306 structure for new format.
2307 * locale/C-collate.c: Likewise.
2308 * locale/C-ctype.c: Likewise.
2309 * locale/C-identification.c: Likewise.
2310 * locale/C-measurement.c: Likewise.
2311 * locale/C-messages.c: Likewise.
2312 * locale/C-monetary.c: Likewise.
2313 * locale/C-name.c: Likewise.
2314 * locale/C-numeric.c: Likewise.
2315 * locale/C-paper.c: Likewise.
2316 * locale/C-telephone.c: Likewise.
2317 * locale/C-time.c: Likewise.
2319 * locale/setlocale.c: Add some more __builtin_expect.
2321 2000-06-15 Ulrich Drepper <drepper@redhat.com>
2323 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
2325 (__gconv_init_fct): Remove two parameters.
2326 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
2327 gconv_transliterate. Remove two parameters.
2328 Change prototypes of builtin functions according to __gconv_fct change.
2329 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
2330 != NULL only during error handling. Stop in this case after the
2332 * iconv/gconv_trans.c: Replace with real implementation for
2333 __gconv_transliterate.
2334 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
2335 * iconv/gconv.c: Change calls to downstream functions once again.
2336 Use NULL for the fifth parameter instead of pointer to output buffer.
2337 * libio/iofwide.c: Likewise.
2338 * wcsmbs/btowc.c: Likewise.
2339 * wcsmbs/mbrtowc.c: Likewise.
2340 * wcsmbs/mbsnrtowcs.c: Likewise.
2341 * wcsmbs/mbsrtowcs.c: Likewise.
2342 * wcsmbs/wcrtomb.c: Likewise.
2343 * wcsmbs/wcsnrtombs.c: Likewise.
2344 * wcsmbs/wcsrtombs.c: Likewise.
2345 * wcsmbs/wctob.c: Likewise.
2346 * iconv/gconv_simple.c: Remove two parameters from error handling
2348 * iconvdata/8bit-gap.c: Likewise.
2349 * iconvdata/8bit-generic.c: Likewise.
2350 * iconvdata/ansi_x3.110.c: Likewise.
2351 * iconvdata/big5.c: Likewise.
2352 * iconvdata/big5hkscs.c: Likewise.
2353 * iconvdata/euc-cn.c: Likewise.
2354 * iconvdata/euc-jp.c: Likewise.
2355 * iconvdata/euc-kr.c: Likewise.
2356 * iconvdata/euc-tw.c: Likewise.
2357 * iconvdata/gbgbk.c: Likewise.
2358 * iconvdata/gbk.c: Likewise.
2359 * iconvdata/iso-2022-cn.c: Likewise.
2360 * iconvdata/iso-2022-jp.c: Likewise.
2361 * iconvdata/iso-2022-kr.c: Likewise.
2362 * iconvdata/iso646.c: Likewise.
2363 * iconvdata/iso8859-1.c: Likewise.
2364 * iconvdata/iso_6937-2.c: Likewise.
2365 * iconvdata/iso_6937.c: Likewise.
2366 * iconvdata/johab.c: Likewise.
2367 * iconvdata/sjis.c: Likewise.
2368 * iconvdata/t.61.c: Likewise.
2369 * iconvdata/uhc.c: Likewise.
2370 * iconvdata/unicode.c: Likewise.
2371 * iconvdata/utf-16.c: Likewise.
2373 2000-06-15 Greg McGary <greg@mcgary.org>
2375 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
2376 of callnum assignment. Tolerate callnum expressions containing
2379 2000-06-14 Ulrich Drepper <drepper@redhat.com>
2381 * login/Makefile (utmpd): Remove rule to build utmpd.
2383 * csu/Versions: Move libgcc frame handling functions from here...
2384 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
2385 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
2386 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
2387 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
2388 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
2389 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
2391 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
2393 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
2395 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
2397 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
2399 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
2401 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
2402 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
2403 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
2404 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
2406 2000-06-14 Jakub Jelinek <jakub@redhat.com>
2408 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
2409 defined, terminate quotes and read them after the comment char.
2410 * configure.in (HAVE_SECTION_QUOTES): Test whether
2411 __attribute__((section ("x"))) puts quotes around x or not.
2412 * config.h.in (HAVE_SECTION_QUOTES): Add.
2413 * configure: Rebuilt.
2415 2000-06-14 Andreas Jaeger <aj@suse.de>
2417 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
2418 depending on the configure option --sysconfdir.
2419 Closes PR libc/1762.
2420 Patch by Andreas Schwab <schwab@suse.de>.
2422 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
2424 Reported by Jim Pick <jim@jimpick.com>.
2426 2000-06-14 Ulrich Drepper <drepper@redhat.com>
2428 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
2429 crashing the application. Emit some simple error message.
2430 Reported by mju@panasas.com [PR libc/1769].
2432 2000-06-13 Ulrich Drepper <drepper@redhat.com>
2434 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
2436 * crypt/Makefile (distribute): Add md5.h.
2438 * Makefile (distribute): Add include/shlib-compat.h.
2440 * Make-dist: Search for tests also in sysdeps hierachy.
2442 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
2443 ufc.c, speeds.c, README.ufc-crypt, and Banner.
2445 * sysdeps/sparc/Subdirs: New file.
2447 * locale/Makefile (distribute): Add weightwc.h and
2448 programs/localedef.h.
2450 * time/Makefile (distribute): Add datemsk.
2452 * sysdeps/ia64/Dist: Add softpipe.h.
2454 * sysdeps/unix/sysv/aix/Dist: New file.
2456 * posix/setpgrp.c: Moved to...
2457 * sysdeps/generic/setpgrp.c: ...here. New file.
2458 * io/mknod.c: Moved to...
2459 * sysdeps/generic/mknod.c: ...here. New file.
2461 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
2463 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
2465 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
2467 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
2468 gprsave0.S, gprrest1.S, and gprrest0.S.
2470 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
2472 * posix/Makefile (routines): Add spawnattr_getsigmask,
2473 spawnattr_getschedpolicy, spawnattr_getschedparam,
2474 spawnattr_setsigmask, spawnattr_setschedpolicy, and
2475 spawnattr_setschedparam.
2476 * posix/Versions: Add posix_spawnattr_getschedpolicy,
2477 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
2478 posix_spawnattr_setschedparam.
2480 * posix/spawnattr_setschedparam.c: Fix typo.
2482 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
2485 * login/programs/utmpd.c: Removed.
2486 * login/programs/utmpd.h: Removed.
2487 * login/programs/utmpd-private.h: Removed.
2489 * Makefile (distribute): Add include/db_185.h and include/db.h.
2491 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
2494 * elf/Makefile (distribute): Add missing files.
2496 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
2497 * elf/eval.c: Moved to...
2498 * dlfcn/eval.c: ...here. New file.
2500 * Makefile (distribute): Also distribute ChangeLog.1?.
2502 * Make-dist (+tsrcs): Remove .args handling here as well.
2504 * rt/Makefile (tests): Add tst-timer.
2505 * sysdeps/generic/tst-timer.c: New file.
2507 * Makerules (sources): Don't add BP sources here.
2509 * login/Makefile (distribute): Remove xtmp.h.
2511 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
2512 is true. Reported by Bruno Haible <haible@ilog.fr>.
2514 2000-06-13 Andreas Jaeger <aj@suse.de>
2516 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
2517 Patch by Ralf Baechle <ralf@gnu.org>.
2519 2000-06-13 Ulrich Drepper <drepper@redhat.com>
2521 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
2522 for mincore syscall.
2524 * misc/sys/cdefs.h: Define __bounded and __unbounded if
2525 __BOUNDED_POINTERS__ is not defined.
2527 2000-06-07 Greg McGary <greg@mcgary.org>
2529 * sysdeps/generic/bp-sym.h: New file.
2530 * sysdeps/generic/bp-start.h: New file.
2531 * sysdeps/i386/elf/start.S: Designate BP symbols.
2532 * sysdeps/generic/libc-start.c: Wrap bounds around
2533 argv & envp and each of their string members.
2535 2000-06-07 Greg McGary <greg@mcgary.org>
2537 * sysdeps/unix/make-syscalls.sh: Add comments to
2538 output that aid debugging & comprehension.
2539 Map simple syscall signatures to number of args.
2540 Generate BP syscall thunk definitions.
2541 * sysdeps/generic/bp-thunks.h: New file.
2542 * sysdeps/unix/syscalls.list: Replace arg-count with
2543 simple return+arg signature.
2544 * sysdeps/unix/common/syscalls.list: Likewise.
2545 * sysdeps/unix/inet/syscalls.list: Likewise.
2546 * sysdeps/unix/mman/syscalls.list: Likewise.
2547 * sysdeps/unix/sysv/syscalls.list: Likewise.
2548 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2549 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2551 2000-06-07 Greg McGary <greg@mcgary.org>
2553 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
2554 for all files *.[cS].
2555 (CFLAGS-.ob): Don't optimize sibling calls.
2556 (bppfx): New variable.
2557 * Makerules (elide-bp-thunks): New variable.
2558 (elide-routines.*): Elide BP-* files for all but *.ob.
2559 (sources): Include bp-thunks.
2561 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2563 * iconv/gconv_simple.c: Remove unnecessary prototype.
2565 * iconv/gconv_trans.c: Pretty print.
2567 * elf/elf.h (R_SH_NUM): Got accidently dropped.
2569 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
2570 minimal kernel versions. Add information about IA-64 kernel.
2572 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
2573 specific minimal supported kernel versions to be specified.
2575 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
2576 step data structure.
2577 * wcsmbs/btowc.c: Likewise.
2578 * wcsmbs/mbrtowc.c: Likewise.
2579 * wcsmbs/mbsnrtowcs.c: Likewise.
2580 * wcsmbs/mbsrtowcs.c: Likewise.
2581 * wcsmbs/wcrtomb.c: Likewise.
2582 * wcsmbs/wcsnrtombs.c: Likewise.
2583 * wcsmbs/wcsrtombs.c: Likewise.
2584 * wcsmbs/wctob.c: Likewise.
2586 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
2587 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
2589 * shlib-versions: Earliest backward compatible version for SH is 2.2.
2591 * misc/sys/cdefs.h: Remove one more __P.
2593 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
2596 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
2597 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
2598 * sysdeps/sh/bits/setjmp.h: ...here. New file.
2600 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
2601 Yutaka Niibe <gniibe@chroot.org>
2603 * configure.in: Add machine sh3, sh4.
2604 * elf/elf.h: Add SH specific declarations of relocations.
2605 * shlib-versions: Add sh*-*-linux* cases.
2607 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2609 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
2610 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
2611 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
2612 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
2613 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
2614 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
2616 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
2617 instead of KERNEL_MATH_EMULATION.
2618 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
2619 KERNEL_MATH_EMULATION.
2621 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
2622 * sysdeps/sh/sh3/dl-machine.h: Moved to...
2623 * sysdeps/sh/dl-machine.h: ...here. New file.
2624 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
2625 and include generic SH version.
2626 * sysdeps/sh/sh3/bits/endian.h: Move to...
2627 * sysdeps/sh/bits/endian.h: ...here. New file.
2628 * sysdeps/sh/sh4/bits/endian.h: Removed.
2629 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
2630 * sysdeps/sh/bits/huge_val.h: ...here. New file.
2631 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
2633 * include/libc-symbols.h (link_warning): Work around a change in
2634 GAS which warns about changing section attributes.
2635 Proposed by Nick Clifton <nickc@redhat.com>.
2637 2000-06-12 H.J. Lu <hjl@gnu.org>
2639 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
2641 2000-06-11 H.J. Lu <hjl@gnu.org>
2643 * sysdeps/i386/fpu/Versions: New file.
2645 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2647 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
2649 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
2652 2000-06-12 Jes Sorensen <jes@linuxcare.com>
2654 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
2655 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
2656 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
2658 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
2659 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
2660 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
2662 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
2663 Yutaka Niibe <gniibe@chroot.org>
2665 * sysdeps/sh/Dist: New file.
2666 * sysdeps/sh/Implies: New file.
2667 * sysdeps/sh/elf/initfini.c: New file.
2668 * sysdeps/sh/gmp-mparam.h: New file.
2669 * sysdeps/sh/init-first.c: New file.
2670 * sysdeps/sh/machine-gmon.h: New file.
2671 * sysdeps/sh/memcpy.S: New file.
2672 * sysdeps/sh/memprof.h: New file.
2673 * sysdeps/sh/memset.S: New file.
2674 * sysdeps/sh/sh3/__longjmp.S: New file.
2675 * sysdeps/sh/sh3/bits/endian.h: New file.
2676 * sysdeps/sh/sh3/bits/huge_val.h: New file.
2677 * sysdeps/sh/sh3/bits/setjmp.h: New file.
2678 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
2679 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
2680 * sysdeps/sh/sh3/dl-machine.h: New file.
2681 * sysdeps/sh/sh3/setjmp.S: New file.
2682 * sysdeps/sh/sh4/__longjmp.S: New file.
2683 * sysdeps/sh/sh4/bits/endian.h: New file.
2684 * sysdeps/sh/sh4/bits/huge_val.h: New file.
2685 * sysdeps/sh/sh4/bits/setjmp.h: New file.
2686 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
2687 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
2688 * sysdeps/sh/sh4/dl-machine.h: New file.
2689 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
2690 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
2691 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
2692 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
2693 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
2694 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
2695 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
2696 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
2697 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
2698 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
2699 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
2700 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
2701 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
2702 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
2703 * sysdeps/sh/sh4/setjmp.S: New file.
2704 * sysdeps/sh/elf/start.S: New file.
2705 * sysdeps/sh/sys/ucontext.h: New file.
2706 * sysdeps/sh/strlen.S: New file.
2707 * sysdeps/sh/sysdep.h: New file.
2708 * sysdeps/unix/sh/sysdep.S: New file.
2709 * sysdeps/unix/sh/sysdep.h: New file.
2710 * sysdeps/unix/sysv/linux/sh/Dist: New file.
2711 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
2712 * sysdeps/unix/sysv/linux/sh/Versions: New file.
2713 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
2714 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
2715 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
2716 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
2717 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
2718 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
2719 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
2720 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
2721 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
2722 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
2723 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
2724 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
2725 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
2726 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
2727 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
2728 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
2729 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
2730 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
2731 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
2732 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
2733 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
2734 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
2735 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
2736 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
2737 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
2738 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
2739 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
2740 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
2741 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
2742 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
2743 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
2744 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
2745 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
2746 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
2747 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
2748 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
2749 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
2750 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
2751 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
2752 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
2753 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
2754 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
2755 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
2756 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
2757 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
2758 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
2759 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
2761 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2763 * Rules (%.out): Define GCONV_PATH in the environment.
2764 * assert/Depend: New file.
2765 * iconvdata/Depend: New file.
2766 * intl/Depend: New file.
2767 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
2768 * intl/tst-gettext.sh: Likewise.
2769 * iconv/Makefile (routines): Add gconv_trans.
2770 * iconv/gconv_trans.c: New file.
2771 * iconv/gconv.h (struct __gconv_trans_data): New type.
2772 (__gconv_fct): New parameter with starting position in output buffer.
2773 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
2774 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
2775 (struct __gconv_step): Add new member __trans.
2776 * iconv/gconv_int.h: Pretty print prototypes.
2777 (gconv_transliterate): New prototype.
2778 (__BUILTIN_TRANS): Update for new conversion function interface.
2779 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
2780 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
2781 in names, find appropriate function, and install in the conversion
2782 steps it can be used.
2783 * iconv/skeleton.c: Add additional parameter for beginning of output
2784 buffer. Change calls of downstream functions.
2785 * iconv/loop.c: Change loop function interface completely. Pass in
2786 step and step_data structure. Remove optimization for BODY with
2787 NEED_LENGTH_TEST == 0.
2788 * iconv/gconv_simple.c: Update interfaces of functions. Insert
2789 appropriate error handling code to use transliteration steps. Remove
2790 optimization for BODY with NEED_LENGTH_TEST == 0.
2791 * iconvdata/8bit-gap.c: Likewise.
2792 * iconvdata/8bit-generic.c: Likewise.
2793 * iconvdata/ansi_x3.110.c: Likewise.
2794 * iconvdata/big5.c: Likewise.
2795 * iconvdata/big5hkscs.c: Likewise.
2796 * iconvdata/euc-cn.c: Likewise.
2797 * iconvdata/euc-jp.c: Likewise.
2798 * iconvdata/euc-kr.c: Likewise.
2799 * iconvdata/euc-tw.c: Likewise.
2800 * iconvdata/gbgbk.c: Likewise.
2801 * iconvdata/gbk.c: Likewise.
2802 * iconvdata/iso-2022-cn.c: Likewise.
2803 * iconvdata/iso-2022-jp.c: Likewise.
2804 * iconvdata/iso-2022-kr.c: Likewise.
2805 * iconvdata/iso646.c: Likewise.
2806 * iconvdata/iso8859-1.c: Likewise.
2807 * iconvdata/iso_6937-2.c: Likewise.
2808 * iconvdata/iso_6937.c: Likewise.
2809 * iconvdata/johab.c: Likewise.
2810 * iconvdata/sjis.c: Likewise.
2811 * iconvdata/t.61.c: Likewise.
2812 * iconvdata/uhc.c: Likewise.
2813 * iconvdata/unicode.c: Likewise.
2814 * iconvdata/utf-16.c: Likewise.
2815 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
2817 * wcsmbs/btowc.c: Likewise.
2818 * wcsmbs/mbrtowc.c: Likewise.
2819 * wcsmbs/mbsnrtowcs.c: Likewise.
2820 * wcsmbs/mbsrtowcs.c: Likewise.
2821 * wcsmbs/wcrtomb.c: Likewise.
2822 * wcsmbs/wcsnrtombs.c: Likewise.
2823 * wcsmbs/wcsrtombs.c: Likewise.
2824 * wcsmbs/wctob.c: Likewise.
2826 2000-04-11 Geoff Keating <geoffk@cygnus.com>
2828 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
2829 other header files. Mention about 128-byte cache line sizes.
2830 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
2831 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
2832 for current calling sequence.
2833 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
2835 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
2836 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2838 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
2839 and setrlimit syscalls for backwards compatibility.
2841 2000-06-10 Ulrich Drepper <drepper@redhat.com>
2843 * iconv/skeleton.c: Rename converted written to correcter name
2845 * iconv/gconv.c: Rename converted variable to correcter name
2847 * iconv/gconv_int.h: Likewise.
2848 * iconv/gconv_simple.c: Likewise.
2849 * iconv/iconv.c: Likewise.
2850 * iconv/loop.c: Likewise.
2851 * iconvdata/8bit-gap.c: Likewise.
2852 * iconvdata/8bit-generic.c: Likewise.
2853 * iconvdata/ansi_x3.110.c: Likewise.
2854 * iconvdata/big5.c: Likewise.
2855 * iconvdata/big5hkscs.c: Likewise.
2856 * iconvdata/euc-cn.c: Likewise.
2857 * iconvdata/euc-jp.c: Likewise.
2858 * iconvdata/euc-kr.c: Likewise.
2859 * iconvdata/gbgbk.c: Likewise.
2860 * iconvdata/gbk.c: Likewise.
2861 * iconvdata/iso-2022-cn.c: Likewise.
2862 * iconvdata/iso-2022-jp.c: Likewise.
2863 * iconvdata/iso-2022-kr.c: Likewise.
2864 * iconvdata/iso646.c: Likewise.
2865 * iconvdata/iso8859-1.c: Likewise.
2866 * iconvdata/iso_6937-2.c: Likewise.
2867 * iconvdata/iso_6937.c: Likewise.
2868 * iconvdata/johab.c: Likewise.
2869 * iconvdata/sjis.c: Likewise.
2870 * iconvdata/t.61.c: Likewise.
2871 * iconvdata/uhc.c: Likewise.
2872 * iconvdata/unicode.c: Likewise.
2873 * iconvdata/utf-16.c: Likewise.
2875 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
2876 __cmsg_data field with __extension__.
2878 2000-06-10 David Mosberger <davidm@hpl.hp.com>
2880 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
2882 2000-06-10 Ulrich Drepper <drepper@redhat.com>
2884 * iconv/gconv_simple.c: Fix various small bugs in several
2887 * iconv/loop.c: Fix comment.
2889 2000-06-10 Jakub Jelinek <jakub@redhat.com>
2891 * elf/link.h: Remove libc internal declarations.
2892 * include/link.h: Move them here.
2894 2000-06-09 Ulrich Drepper <drepper@redhat.com>
2896 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
2897 Patch by Dan Pop <Dan.Pop@cern.ch>.
2899 Rewrite error message handling.
2900 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
2902 * elf/dl-error (struct catch): Add objname member.
2903 (_dl_signal_error): Take new parameter with object name. When
2904 passing message on simply store object name and duplicate error
2906 (_dl_catch_error): Take new parameter. Store object name in the
2908 * include/dlfcn.h: Adjust _dl_catch_error prototype.
2909 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
2910 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
2911 (dlerror): Add objname to asprintf() parameters.
2912 (_dl_error_run): Pass new parameter to _dl_catch_error.
2913 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
2914 * elf/dl-open.c (_dl_open): Likewise.
2915 * elf/rtld.c (dl_main): Likewise.
2916 * elf/dl-close.c: Mark error messages with N_().
2917 * elf/dl-deps.c: Likewise.
2918 * elf/dl-error.c: Likewise.
2919 * elf/dl-load.c: Likewise.
2920 * elf/dl-open.c: Likewise.
2921 * elf/dl-reloc.c: Likewise.
2922 * elf/dl-support.c: Likewise.
2923 * elf/dl-sym.c: Likewise.
2924 * elf/dl-version.c: Likewise.
2925 * elf/dl-lookup.c: Add comments about problems with error message
2927 * elf/dl-reloc.c: Likewise.
2928 * elf/dl-version.c: Likewise.
2930 2000-06-09 H.J. Lu <hjl@gnu.org>
2932 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
2935 * dlfcn/Makefile (distribute): Add failtestmod.c.
2936 (tests): Add failtest.
2937 Add rules to build and run failtest.
2938 * dlfcn/failtest.c: New file.
2939 * dlfcn/failtestmod.c: New file.
2941 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
2943 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
2944 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
2945 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
2946 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
2947 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
2949 2000-06-09 Jes Sorensen <jes@linuxcare.com>
2951 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
2952 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
2954 2000-06-09 Jes Sorensen <jes@linuxcare.com>
2955 Ulrich Drepper <drepper@redhat.com>
2957 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
2958 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
2959 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
2960 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
2961 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
2962 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
2964 2000-06-09 Ulrich Drepper <drepper@redhat.com>
2966 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
2967 to find correct mount point despite wrong information from the
2970 2000-06-09 Jes Sorensen <jes@linuxcare.com>
2972 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
2973 the address of a symbol so function pointers are handled properly.
2975 2000-06-08 Ulrich Drepper <drepper@redhat.com>
2977 * sysdeps/i386/Dist: Add bp-asm.h.
2979 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
2980 defaultdir variable instead of "/var/shm" everywhere.
2981 (defaultdir): Change to /dev/shm/.
2983 2000-06-08 Greg McGary <greg@mcgary.org>
2985 * sysdeps/i386/bp-asm.h: New file.
2986 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
2987 offsets. Add ENTER/LEAVE macros for optionally maintaining
2988 frame-pointer chain when debugging.
2989 * sysdeps/i386/add_n.S: Likewise.
2990 * sysdeps/i386/addmul_1.S: Likewise.
2991 * sysdeps/i386/lshift.S: Likewise.
2992 * sysdeps/i386/memchr.S: Likewise.
2993 * sysdeps/i386/memcmp.S: Likewise.
2994 * sysdeps/i386/mul_1.S: Likewise.
2995 * sysdeps/i386/rawmemchr.S: Likewise.
2996 * sysdeps/i386/rshift.S: Likewise.
2997 * sysdeps/i386/stpcpy.S: Likewise.
2998 * sysdeps/i386/stpncpy.S: Likewise.
2999 * sysdeps/i386/strchr.S: Likewise.
3000 * sysdeps/i386/strchrnul.S: Likewise.
3001 * sysdeps/i386/strcspn.S: Likewise.
3002 * sysdeps/i386/strpbrk.S: Likewise.
3003 * sysdeps/i386/strrchr.S: Likewise.
3004 * sysdeps/i386/strspn.S: Likewise.
3005 * sysdeps/i386/strtok.S: Likewise.
3006 * sysdeps/i386/sub_n.S: Likewise.
3007 * sysdeps/i386/submul_1.S: Likewise.
3008 * sysdeps/i386/elf/setjmp.S: Likewise.
3009 * sysdeps/i386/i486/strcat.S: Likewise.
3010 * sysdeps/i386/i486/strlen.S: Likewise.
3011 * sysdeps/i386/i586/add_n.S: Likewise.
3012 * sysdeps/i386/i586/lshift.S: Likewise.
3013 * sysdeps/i386/i586/memcpy.S: Likewise.
3014 * sysdeps/i386/i586/memset.S: Likewise.
3015 * sysdeps/i386/i586/rshift.S: Likewise.
3016 * sysdeps/i386/i586/strchr.S: Likewise.
3017 * sysdeps/i386/i586/strcpy.S: Likewise.
3018 * sysdeps/i386/i586/strlen.S: Likewise.
3019 * sysdeps/i386/i586/sub_n.S: Likewise.
3020 * sysdeps/i386/i686/add_n.S: Likewise.
3021 * sysdeps/i386/i686/memcpy.S: Likewise.
3022 * sysdeps/i386/i686/mempcpy.S: Likewise.
3023 * sysdeps/i386/i686/memset.S: Likewise.
3024 * sysdeps/i386/i686/strcmp.S: Likewise.
3026 2000-06-08 Ulrich Drepper <drepper@redhat.com>
3028 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
3030 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
3031 256 and don't use OPEN_MAX.
3033 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
3034 use it instead of LINK_MAX.
3035 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
3037 2000-06-08 Andreas Jaeger <aj@suse.de>
3039 * libio/genops.c (_IO_list_lock): Only compile body if we're
3041 (_IO_list_unlock): Likewise.
3042 (_IO_list_resetlock): Likewise.
3044 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3046 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
3047 unless user defined it.
3049 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
3050 if not defined by the user.
3052 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
3053 * libio/iofwrite.c (_IO_fwrite): Likewise.
3055 * time/time.h: Add missing __THROW for clock_getcpuclockid
3058 * elf/Makefile (distribute): Add dl-dtprocnum.h.
3059 * include/elf.h: Include also <dl-dtprocnum.h>.
3060 * elf/dl-deps.c: Likewise.
3061 * elf/dl-lookup.c: Likewise.
3062 * elf/dl-runtime.c: Likewise.
3063 * elf/dl-version.c: Likewise.
3064 * elf/do-rel.h: Likewise.
3065 * elf/dynamic-link.h: Likewise.
3066 * elf/link.h: Likewise.
3067 * elf/rtld.c: Likewise.
3068 * sysdeps/generic/dl-dtprocnum.h: New file.
3069 * sysdeps/ia64/dl-dtprocnum.h: New file.
3070 * sysdeps/mips/dl-dtprocnum.h: New file.
3071 * sysdeps/sparc/dl-dtprocnum.h: New file.
3073 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
3075 * elf/do-lookup.h: Add some __builtin_expect.
3077 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
3079 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
3080 (_dl_dynamic_weak): New variable.
3081 * elf/dl-support.c: Likewise.
3082 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
3083 * elf/do-lookup.h: If we find a weak definition treat it like a
3084 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
3085 case treat it like before.
3087 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
3089 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
3091 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
3092 using l_map_start and l_map_end.
3094 * elf/dl-version.c: Add __builtin_expect in many places.
3096 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
3099 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
3101 Lock for stdio stream list becomes global, for use in LinuxThreads.
3103 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
3104 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
3105 _IO_list_resetlock): New interface for iterating global list of
3106 streams without accessing the _IO_list_all global variable,
3107 and for manipulating the lock which protects this list.
3108 * libio/libioP.h: Likewise.
3109 * libio/Version: Add entries for the new functions.
3111 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
3112 pointer to _IO_FILE.
3114 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3116 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
3117 BIT() must actually be BITw().
3119 * locale/programs/ld-ctype.c: Handle SP and space consistently.
3121 * locale/programs/charmap.c: Allow string arguments for
3122 code_set_name and repertoiremap.
3124 2000-06-07 Andreas Jaeger <aj@suse.de>
3126 * elf/Makefile: Build ldconfig only when building shared libraries.
3128 2000-06-07 Jakub Jelinek <jakub@redhat.com>
3130 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
3132 (fdimf, __fdim, fdim): Likewise.
3134 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3136 * locale/findlocale.c: Add __builtin_expect in many places.
3137 * locale/loadlocale.c: Likewise.
3139 2000-06-06 Greg McGary <greg@mcgary.org>
3141 * sysdeps/mips/elf/start.S: Trim redundant code.
3143 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
3144 Use C comments throughout. Line up operands column with tabs.
3145 * sysdeps/powerpc/strchr.S: Likewise.
3146 * sysdeps/powerpc/strcmp.S: Likewise.
3147 * sysdeps/powerpc/strcpy.S: Likewise.
3148 * sysdeps/powerpc/strlen.S: Likewise.
3150 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
3151 Get low part of &__curbrk with @l.
3153 2000-06-06 Ulrich Drepper <drepper@redhat.com>
3155 * iconvdata/utf-16.c: Add __builtin_expect in many places.
3156 * iconvdata/unicode.c: Likewise.
3157 * iconvdata/uhc.c: Likewise.
3158 * iconvdata/t.61.c: Likewise.
3159 * iconvdata/sjis.c: Likewise.
3160 * iconvdata/johab.c: Likewise.
3161 * iconvdata/iso_6937.c: Likewise.
3162 * iconvdata/iso_6937-2.c: Likewise.
3163 * iconvdata/iso8859-1.c: Likewise.
3164 * iconvdata/iso646.c: Likewise.
3165 * iconvdata/iso-2022-kr.c: Likewise.
3166 * iconvdata/iso-2022-jp.c: Likewise.
3167 * iconvdata/iso-2022-cn.c: Likewise.
3168 * iconvdata/gbgbk.c: Likewise.
3169 * iconvdata/gbk.c: Likewise.
3170 * iconvdata/euc-kr.c: Likewise.
3171 * iconvdata/euc-jp.c: Likewise.
3172 * iconvdata/euc-cn.c: Likewise.
3174 2000-06-05 Ulrich Drepper <drepper@redhat.com>
3176 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
3177 * iconvdata/big5.c: Likewise.
3178 * iconvdata/ansi_x3.110.c: Likewise.
3179 * iconvdata/8bit-generic.c: Likewise.
3180 * iconvdata/8bit-gap.c: Likewise.
3181 * iconv/loop.c: Likewise.
3182 * iconv/gconv_db.c: Likewise.
3183 * iconv/gconv_dl.c: Likewise.
3184 * iconv/gconv_simple.c: Likewise.
3185 * iconv/skeleton.c: Likewise.
3187 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
3188 (struct __gconv_step_data): Rename __is_last to __flags.
3189 * iconv/gconv_close.c: Change all uses of __is_last.
3190 * iconv/skeleton.c: Likewise.
3191 * iconvdata/iso-2022-cn.c: Likewise.
3192 * iconvdata/iso-2022-jp.c: Likewise.
3193 * iconvdata/iso-2022-kr.c: Likewise.
3194 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
3195 Recognize IGNORE error handling, set flag, and remove from name.
3196 * iconv/loop.c (ignore_errors_p): Define.
3197 Add flags parameter to both functions.
3198 * iconv/skeleton.c: Pass flags to all conversion functions.
3199 * iconv/gconv_simple.c: Add flags parameter to all functions.
3200 Don't return error for invald error if ignore flag is set.
3201 (ucs4_internal_loop_single): Add missing pointer increment.
3202 (internal_ucs4le_loop_single): Likewise.
3203 * iconv/iconv_prog.c: Implement handling of -c parameter.
3204 * iconvdata/8bit-gap.c: Don't return error for invald error if
3206 * iconvdata/8bit-generic.c: Likewise.
3207 * iconvdata/ansi_x3.110.c: Likewise.
3208 * iconvdata/big5.c: Likewise.
3209 * iconvdata/big5hkscs.c: Likewise.
3210 * iconvdata/euc-cn.c: Likewise.
3211 * iconvdata/euc-jp.c: Likewise.
3212 * iconvdata/euc-kr.c: Likewise.
3213 * iconvdata/gbgbk.c: Likewise.
3214 * iconvdata/gbk.c: Likewise.
3215 * iconvdata/iso-2022-cn.c: Likewise.
3216 * iconvdata/iso-2022-jp.c: Likewise.
3217 * iconvdata/iso-2022-kr.c: Likewise.
3218 * iconvdata/iso646.c: Likewise.
3219 * iconvdata/iso8859-1.c: Likewise.
3220 * iconvdata/iso_6937-2.c: Likewise.
3221 * iconvdata/iso_6937.c: Likewise.
3222 * iconvdata/johab.c: Likewise.
3223 * iconvdata/sjis.c: Likewise.
3224 * iconvdata/t.61.c: Likewise.
3225 * iconvdata/uhc.c: Likewise.
3226 * iconvdata/unicode.c: Likewise.
3227 * iconvdata/utf-16.c: Likewise.
3228 * libio/fileops.c: Likewise.
3229 * libio/iofwide.c: Likewise.
3230 * wcsmbs/btowc.c: Likewise.
3231 * wcsmbs/mbrtowc.c: Likewise.
3232 * wcsmbs/mbsnrtowcs.c: Likewise.
3233 * wcsmbs/mbsrtowcs.c: Likewise.
3234 * wcsmbs/wcrtomb.c: Likewise.
3235 * wcsmbs/wcsnrtombs.c: Likewise.
3236 * wcsmbs/wcsrtombs.c: Likewise.
3237 * wcsmbs/wctob.c: Likewise.
3239 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
3242 2000-06-04 Ulrich Drepper <drepper@redhat.com>
3244 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
3245 counter for the object we are releasing, just decrement it.
3246 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
3248 2000-06-04 Jakub Jelinek <jakub@redhat.com>
3250 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
3253 2000-06-04 Ulrich Drepper <drepper@redhat.com>
3255 * iconvdata/big5hkscs.c: New file.
3256 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
3258 * iconvdata/gconv-modules: Add entry for new module.
3259 * iconvdata/Makefile (modules): Add BIG5HKSCS.
3260 (distribute): Add big5hkscs.c.
3262 2000-06-01 Jakub Jelinek <jakub@redhat.com>
3264 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
3265 inlines to match prototypes in mathcalls.h.
3266 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
3267 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
3268 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
3269 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3271 2000-06-03 Ulrich Drepper <drepper@redhat.com>
3273 * elf/elf.h (SHT_SUNW_move): Define.
3275 * elf/elf.h: Add more Solaris compatiblity definitions.
3277 2000-06-03 Andreas Jaeger <aj@suse.de>
3279 * sysdeps/powerpc/dl-start.S: Close open comment.
3281 2000-06-03 Jakub Jelinek <jakub@redhat.com>
3283 * inet/Versions: Fix typo in rresvport_af export.
3285 2000-06-02 Ulrich Drepper <drepper@redhat.com>
3287 * math/tgmath.h: Pretty print.
3289 2000-06-02 Andreas Jaeger <aj@suse.de>
3291 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
3292 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3294 2000-06-02 Ulrich Drepper <drepper@redhat.com>
3296 * elf/rtld.c (process_envvars): Test for = after variable name.
3298 2000-06-01 Ulrich Drepper <drepper@redhat.com>
3300 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
3301 have extra call to __gmon_start__, use the pointer we already have.
3303 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
3306 * sysdeps/i386/elf/setjmp.S: Work around change is recent
3307 binutils. gas now emits a jump through the PLT instead of a
3308 relative jump if the jump target is an exported symbol.
3310 2000-05-31 Ulrich Drepper <drepper@redhat.com>
3312 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
3314 2000-05-31 Andreas Jaeger <aj@suse.de>
3316 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
3319 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
3320 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3322 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
3324 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
3326 2000-05-30 Ulrich Drepper <drepper@redhat.com>
3328 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
3330 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
3331 * locale/localeconv.c: Make function versioned (with same definition).
3333 * elf/Makefile (modules-names): Strip before using it.
3335 2000-05-30 Andreas Jaeger <aj@suse.de>
3337 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
3338 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
3339 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
3340 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
3341 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
3342 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
3344 2000-05-29 Ulrich Drepper <drepper@redhat.com>
3346 * Makefile: Add GNU make magic.
3348 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
3350 * inet/rcmd.c: Remove __P. Remove unused variables.
3351 (iruserfopen): Make first parameter const.
3352 (ruserok_sa): Return result of ruserok2_sa.
3353 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
3354 * inet/rexec.c: Remove unused variables. Other small cleanups.
3355 * inet/ruserpass.c: Remove __P. Remove unused variables.
3356 (ruserpass): Check results of memory allocation.
3357 * include/netdb.h: Add prototype for ruserpass.
3359 2000-05-29 Andreas Jaeger <aj@suse.de>
3361 * elf/readlib.c (interpreters): Use LD_SO since this is supported
3364 2000-05-29 Jakub Jelinek <jakub@redhat.com>
3366 * inet/rcmd.c (rresvport_af): Use correct port number.
3368 2000-05-26 Andreas Schwab <schwab@suse.de>
3370 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
3371 entries in all-sonames.
3372 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
3373 preserving the old name if different for compatibility.
3375 2000-05-29 Ulrich Drepper <drepper@redhat.com>
3377 * posix/Makefile (tests): Add tst-spawn.
3378 (tst-spawn-ARGS): New variable.
3379 * posix/tst-spawn.c: New file.
3381 * posix/spawn_faction_addclose.c: Correctly account for new entry.
3382 * posix/spawn_faction_adddup2.c: Likewise.
3383 * posix/spawn_faction_addopen.c: Likewise.
3384 * posix/spawni.c: Correctly test for success of dup2 calls.
3386 * posix/tst-preadwrite.c: Check success of malloc call.
3388 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3390 * posix/Makefile (tests): Add tst-exec.
3391 (tst-exec-ARGS): New variable.
3392 * posix/tst-exec.c: New file.
3394 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
3396 2000-05-04 Andreas Jaeger <aj@suse.de>
3398 * string/string.h: Remove __strdup prototype, it's not needed in
3401 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3403 * posix/Makefile (tests): Add tst-fork.
3404 * posix/tst-fork.c: New file.
3406 * resolv/inet_pton.c: Loose __P.
3408 2000-05-21 Jakub Jelinek <jakub@redhat.com>
3410 * libio/libioP.h (_IO_CHECK_WIDE): Define.
3411 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
3412 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
3413 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
3414 _IO_CHECK_WIDE fails.
3416 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3418 * po/da.po: New file.
3420 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
3421 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
3423 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
3424 (Other iconv Implementations): Fix typo.
3425 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
3427 2000-05-27 Andreas Jaeger <aj@suse.de>
3429 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
3431 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
3432 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
3433 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3434 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3435 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
3436 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
3438 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
3439 endianness to decide how to pass arguments.
3440 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3442 * elf/vismain.c: Use test-skeleton interface.
3443 (TEST_FUNCTION): New macro.
3444 (do_test): Renamed from main.
3446 2000-05-27 Ulrich Drepper <drepper@redhat.com>
3448 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
3449 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
3451 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
3452 handling of AI_V4MAPPED flag.
3454 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
3455 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
3456 perform lookup for T_A type and tell getanswer_r to convert the
3457 result with new argument.
3458 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
3459 Don't convert addresses from IPv4 to IPv6 here.
3460 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
3461 IPv6 is wanted. Allow qtype and type from reply to disagree if
3462 IPv4 mapping has to be done. Perform mappings if required by the
3463 caller and not if RES_USE_INET6 bit in _res.options is set.
3464 Add several __builtin_expect.
3466 2000-05-26 Ulrich Drepper <drepper@redhat.com>
3468 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
3470 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
3473 * posix/tst-preadwrite.c: Allow parallel execution of
3474 tst-preadwrite and tst-preadwrite64.
3476 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
3477 * posix/tst-truncate.c: New file.
3478 * posix/tst-truncate64.c: New file.
3480 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
3483 * posix/Makefile (tests): Add tst-preadwrite64.
3484 * posix/tst-preadwrite.c: Alloc file being used also for testing
3485 pread64 and pwrite64.
3486 * posix/tst-preadwrite64.c: New file.
3488 2000-05-26 Andreas Jaeger <aj@suse.de>
3490 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
3491 of arguments dependend on endianness.
3492 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
3494 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
3496 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
3497 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
3498 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3499 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3501 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
3502 endianness to check how to pass argument.
3503 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3505 * elf/ldconfig.h: Update parameter list for process_elf_file.
3507 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
3508 Add parameter file_length and pass it ot process_elf*file.
3510 * sysdeps/generic/readelflib.c (check_ptr): New.
3511 (process_elf_file): Use check_ptr to check all accesses to the
3512 mmapped file. Add parameter file_length.
3514 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
3517 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
3518 Closes PR libc/1573, reported by Bradley White
3519 <bww@laurelnetworks.com>.
3521 2000-05-25 Ulrich Drepper <drepper@redhat.com>
3523 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
3524 __FAST_MATH__ is defined.
3526 2000-05-22 Andreas Jaeger <aj@suse.de>
3528 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
3529 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
3531 * manual/math.texi (FP Function Optimizations): Document gcc
3532 -ffast-math behaviour with mathinlines.
3534 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
3535 functions unless -ffast-math is given to gcc.
3537 2000-05-23 Jakub Jelinek <jakub@redhat.com>
3539 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
3540 __sincosl): Guard with __USE_GNU.
3542 2000-05-24 Ulrich Drepper <drepper@redhat.com>
3544 * csu/Makefile (routines): Add check_fds.
3545 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
3546 binaries. Add various __builtin_expect.
3547 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
3548 * sysdeps/generic/check_fds.c: ...here. New file.
3550 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
3551 binaries if file /etc/suid-debug is available.
3553 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
3554 and wcseqorder members.
3555 (struct locale_collate_t): Likewise.
3556 (collate_finish): Assign collation sequence value to each character.
3557 Create tables for output.
3558 (collate_output): Write out tables with collation sequence information.
3559 * locale/C-collate.c: Provide C locale data for collation sequence
3561 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
3562 _NL_COLLATE_COLLSEQWC.
3563 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
3564 _NL_COLLATE_COLLSEQWC.
3565 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
3566 include fnmatch_loop.c.
3567 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
3568 character is matched by range expression. Use collation sequence
3569 table. Outside glibc fall back on simple character value comparison.
3571 2000-05-24 Andreas Jaeger <aj@suse.de>
3573 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
3576 * intl/Makefile: Run gettext-test only if msgfmt is available.
3578 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
3579 Define it for newer kernels.
3581 2000-05-23 Ulrich Drepper <drepper@redhat.com>
3583 * elf/dl-sym.c: Minor cleanups.
3585 * configure.in: Add test for .protected.
3586 * config.make.in: Add have-protected variable.
3587 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
3588 (tests-vis-yes): Add vismain.
3589 (modules-names): Add $(modules-vis-$(have-protected)).
3590 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
3591 Add rules to generate and run vismain.
3592 * elf/vismain.c: New file.
3593 * elf/vismod1.c: New file.
3594 * elf/vismod2.c: New file.
3595 * elf/vismod3.c: New file.
3597 2000-05-23 Andreas Jaeger <aj@suse.de>
3599 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
3601 * manual/search.texi (Array Sort Function): Document that qsort is
3602 not necessarily in-place.
3604 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
3605 Closes PR libc/1731.
3607 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
3608 * dirent/scandir64.c: Likewise.
3609 * pwd/getpw.c: Likewise.
3610 * stdlib/bsearch.c (bsearch): Likewise.
3611 * stdlib/tst-strtoll.c: Likewise.
3612 * localedata/collate-test.c: Likewise.
3613 * localedata/xfrm-test.c: Likewise.
3614 * posix/bsd-getpgrp.c: Likewise.
3615 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
3616 * sysdeps/generic/bits/siginfo.h: Likewise.
3617 * sysdeps/generic/bits/sockaddr.h: Likewise.
3618 * sysdeps/generic/sys/swap.h: Likewise.
3619 * sysdeps/generic/sys/sysinfo.h: Likewise.
3620 * sysdeps/generic/vfork.c: Likewise.
3621 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
3622 * sysdeps/mach/hurd/fdopen.c: Likewise.
3623 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
3624 * sysdeps/unix/sysv/linux/poll.c: Likewise.
3625 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3626 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3627 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3628 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3629 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
3631 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
3632 * shadow/lckpwdf.c: Likewise.
3633 * stdlib/tst-strtol.c: Likewise.
3634 * sysdeps/generic/tcsetattr.c: Likewise.
3635 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3636 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3638 2000-05-22 Jakub Jelinek <jakub@redhat.com>
3640 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
3641 free it and set to (void *) -1.
3643 2000-05-22 Jakub Jelinek <jakub@redhat.com>
3645 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
3646 not the second character in the range.
3647 * stdio-common/tstscanf.c (main): Add testcase for the above.
3648 Reported by jik@kamens.brookline.ma.us.
3650 2000-05-21 H.J. Lu <hjl@gnu.org>
3652 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
3653 with noexec and noplt parameter.
3654 (do_lookup): Likewise.
3656 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
3657 do_lookup. Support STV_PROTECTED.
3658 (_dl_lookup_symbol_skip): Likewise.
3659 (_dl_lookup_versioned_symbol): Likewise.
3660 (_dl_lookup_versioned_symbol_skip): Likewise.
3662 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
3664 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
3666 2000-05-21 Jakub Jelinek <jakub@redhat.com>
3668 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
3669 * sysdeps/i386/bits/huge_val.h: Likewise.
3670 * sysdeps/ieee754/bits/huge_val.h: Likewise.
3671 * sysdeps/m68k/bits/huge_val.h: Likewise.
3672 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
3673 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
3675 2000-05-22 Andreas Jaeger <aj@suse.de>
3677 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
3680 2000-05-19 Andreas Jaeger <aj@suse.de>
3682 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
3683 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
3684 breaks compilation without linuxthreads.
3686 2000-05-21 Ulrich Drepper <drepper@redhat.com>
3688 * sysdeps/ia64/memccpy.S: New file.
3689 * sysdeps/ia64/memchr.S: New file.
3690 * sysdeps/ia64/memcmp.S: New file.
3691 * sysdeps/ia64/memcpy.S: New file.
3692 * sysdeps/ia64/memmove.S: New file.
3693 * sysdeps/ia64/memset.S: New file.
3694 * sysdeps/ia64/strcat.S: New file.
3695 * sysdeps/ia64/strchr.S: New file.
3696 * sysdeps/ia64/strcmp.S: New file.
3697 * sysdeps/ia64/strcpy.S: New file.
3698 * sysdeps/ia64/strlen.S: New file.
3699 * sysdeps/ia64/strncmp.S: New file.
3700 * sysdeps/ia64/strncpy.S: New file.
3701 * sysdeps/ia64/softpipe.h: New file.
3702 Patches by Dan Pop <Dan.Pop@cern.ch>.
3704 * manual/memory.texi: Document memory handling functions (mlock,
3705 munlock, mlockall, munlockall, brk, and sbrk)
3706 * manual/time.texi: Document timespec and friends.
3707 * manual/conf.texi: Fix references.
3708 * manual/ctype.texi: Likewise.
3709 * manual/errno.texi: Likewise.
3710 * manual/intro.texi: Likewise.
3711 * manual/locale.texi: Likewise.
3712 * manual/sysinfo.texi: Likewise.
3713 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
3715 2000-05-09 Jes Sorensen <jes@linuxcare.com>
3717 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
3718 * sysdeps/ia64/dl-lookupcfg.h: ...here.
3720 2000-05-21 Jakub Jelinek <jakub@redhat.com>
3722 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
3725 2000-05-21 Ulrich Drepper <drepper@redhat.com>
3727 * locale/locale.h (struct lconv): Add new elements from ISO C99.
3728 * locale/localeconv.c: Initialize new elements from ISO C99.
3729 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
3730 new standard elements.
3731 * locale/categories.def: Adjust accordingly.
3733 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
3734 * iconv/iconv.c: Likewise.
3735 * conform/data/iconv.h-data: Likewise.
3736 * iconv/iconv_prog.c (process_block): Remove const from second
3738 (main): Remove const from addr definition.
3739 * manual/charset.texi (Generic Conversion Interface): Remove from
3740 inbuf parameter of iconv.
3742 * intl/dcigettext.c: Fix typo in comment.
3744 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
3746 * resolv/res_libc.c (_res): Initialize _sock to -1.
3748 2000-05-18 Jakub Jelinek <jakub@redhat.com>
3750 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
3751 (fopencookie@@GLIBC_2.2): New.
3752 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
3753 (fopencookie@GLIBC_2.0): New.
3754 * libio/Versions: Add fopencookie to GLIBC_2.2.
3756 2000-05-18 Andreas Jaeger <aj@suse.de>
3758 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
3759 Closes PR libc/1731.
3761 * manual/arith.texi (Parsing of Integers): Fix typo.
3762 Closes PR libc/1744, reported by blp@gnu.org.
3764 2000-05-17 Jakub Jelinek <jakub@redhat.com>
3766 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
3767 __extension__ to hexadecimal floating constant notation.
3768 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
3770 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
3771 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
3773 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
3774 HUGE_VALL): Likewise.
3775 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
3776 HUGE_VALL): Likewise.
3777 (HUGE_VALL): Set to HUGE_VAL on sparc32.
3779 2000-05-17 Andreas Jaeger <aj@suse.de>
3781 * string/envz.h: Add pure attributes if possible.
3783 * string/argz.h: argz_count is a pure function.
3785 * string/strings.h: Add pure and const attributes if possible.
3787 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
3788 possibly searching through the whole memory.
3789 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
3791 2000-05-17 Jakub Jelinek <jakub@redhat.com>
3793 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
3795 (_dl_cache_check_flags): Likewise.
3796 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
3799 2000-05-17 Andreas Jaeger <aj@suse.de>
3801 * manual/creature.texi (Feature Test Macros): Remove paragraph
3802 since the description is wrong.
3803 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
3805 * scripts/config.sub: New version.
3806 * scripts/config.guess: Likewise.
3807 * manual/texinfo.tex: Likewise.
3809 * time/test_time.args: Removed.
3810 * time/Makefile (test_time-ARGS): Added contents here instead.
3812 * posix/tstgetopt.args: Removed.
3813 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
3815 * Rules: Allow arguments for test files to be specified in
3816 Makefile with testname-ARGS; remove rules with .args in it.
3818 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
3819 remove old bogus rule for opendir-tst1.args.
3821 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
3823 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
3824 into objdir. This allows a readonly sourcetree.
3825 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
3827 2000-05-16 Andreas Jaeger <aj@suse.de>,
3828 David Huggins-Daines <dhd@linuxcare.com>
3830 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
3831 cache_data in case of only new cache format correctly.
3833 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
3836 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
3837 struct cache_file_new.
3839 * elf/cache.c (save_cache): Fix str_offset if only new cache is
3842 * elf/cache.c (save_cache): Align struct new_file_cache.
3843 (print_cache): Likewise.
3845 2000-05-13 Jakub Jelinek <jakub@redhat.com>
3847 * elf/soinit.c (__libc_global_ctors): Move
3848 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
3849 * resolv/resolv.h (__res_state): Added __attribute__((const)).
3850 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
3851 variable, don't define it to __res_state call.
3853 2000-05-13 Andreas Jaeger <aj@suse.de>
3855 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
3857 (AF_PPPOX): Likewise.
3858 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
3859 (AF_PPPOX): Likewise.
3861 2000-05-12 Andreas Jaeger <aj@suse.de>
3863 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
3864 Reported by tmoestl@gmx.net, closes PR libc/1732.
3866 2000-05-11 Jan Hubicka <jh@suse.cz>
3868 * misc/sys/cdefs.h: Add support for pure attribute.
3870 * include/string.h: Add __attribute_pure__ to various functions.
3871 * string/string.h: Likewise.
3873 2000-05-10 Jakub Jelinek <jakub@redhat.com>
3875 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
3877 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3879 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
3881 2000-05-10 Jakub Jelinek <jakub@redhat.com>
3883 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
3884 at proper place. Compute the high nibble correctly.
3886 2000-05-09 Jakub Jelinek <jakub@redhat.com>
3888 * elf/ldconfig.c: Include elf.h.
3890 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
3891 (_dl_vsym): Likewise.
3892 Reported by Owen Taylor <otaylor@redhat.com>.
3894 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
3897 2000-05-08 Andreas Jaeger <aj@suse.de>
3899 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
3901 * intl/bindtextdom.c (set_binding_values): Add prototype.
3903 2000-05-08 Jakub Jelinek <jakub@redhat.com>
3905 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
3906 call to elf_machine_fixup_plt.
3907 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3908 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3910 2000-05-08 Jakub Jelinek <jakub@redhat.com>
3912 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
3913 they are not dlclose'd from underneath us.
3915 2000-05-08 Andreas Schwab <schwab@suse.de>
3917 * posix/execle.c: Fix size parameter of memcpy.
3919 2000-05-08 Andreas Schwab <schwab@suse.de>
3921 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
3922 getpagesize syscall if available.
3924 2000-05-08 Andreas Jaeger <aj@suse.de>
3926 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
3929 2000-05-08 Jakub Jelinek <jakub@redhat.com>
3931 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
3932 sizeof(struct link_map *) chunks, not in bytes.
3934 2000-05-07 Ulrich Drepper <drepper@redhat.com>
3936 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
3937 only needed for locale.
3938 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
3939 It's only needed for catgets.
3940 Patches by Greg McGary <gkm@eng.ascend.com>.
3942 2000-05-07 Mark Kettenis <kettenis@gnu.org>
3944 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
3945 Remove duplicate <errno.h> include. Remove inclusion of
3946 <libintl.h> and "nsswitch.h".
3947 (set_cloexec_flag): New function, broken out of dbopen.
3948 (dbopen): Changed return type to `enum
3949 nss_status'. Mostly rewritten to make sure that we do not report
3950 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
3951 (internal_setent): Change return type to nss_status.
3952 Document, and make sure that the function
3953 behaves accordingly. Make dynamically loading the database
3954 library really thread-safe and return NSS_STATUS_UNAVAIL if it
3956 (db_cursor): Return ENOMEM is memory allocation failed. Remove
3958 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
3960 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
3961 c_get function member.
3962 * nss/nss_db/nss_db.h: Add and tweak some comments.
3963 (DBT): Move typedef before NSS_DBC typedef.
3964 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
3966 2000-05-07 H.J. Lu <hjl@gnu.org>
3968 * csu/initfini.c: Moved to ....
3969 * sysdeps/generic/initfini.c: ...here.
3971 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
3973 2000-05-07 Ulrich Drepper <drepper@redhat.com>
3975 * manual/resource.texi: Document POSIX scheduling functions.
3976 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
3978 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
3979 reading anything. Reported by Andries.Brouwer@cwi.nl.
3981 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
3982 for x since promotion in comparison might leads to unexpected
3983 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
3985 * iconv/Makefile (tests): Add tst-iconv1.
3986 * iconv/tst-iconv1.c: New file.
3987 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
3988 empty input buffer over full output buffer.
3989 (ucs4_internal_loop): Likewise.
3990 (ucs4_internal_loop_unaligned): Likewise.
3991 (internal_ucs4le_loop): Likewise.
3992 (internal_ucs4le_loop_unaligned): Likewise.
3993 (ucs4le_internal_loop): Likewise.
3994 (ucs4le_internal_loop_unaligned): Likewise.
3995 Reported by yaoz@nih.gov.
3997 2000-05-06 Bruno Haible <haible@clisp.cons.org>
3999 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
4000 returned != __GCONV_OK, there is nothing to clean up.
4002 2000-05-06 Bruno Haible <haible@clisp.cons.org>
4004 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
4005 OUTPUT_CHARSET environment variables.
4007 2000-05-06 Andreas Jaeger <aj@suse.de>
4009 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
4010 (struct cache_file_new): New.
4011 (struct file_entry): New (moved from cache.c).
4012 (struct cache_file): New (moved from cache.c).
4014 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
4015 from _dl_load_cache_lookup.
4016 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
4017 the different cache formats.
4018 New variable cache_new for new format.
4020 * elf/ldconfig.h: Change according to changes in cache.c and
4021 ldconfig.c; remove cache_libcmp; add opt_format.
4023 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
4024 stuff that's defined in those headers.
4025 Add hwcap to struct lib_entry.
4026 (opt_format): New variable to select cache format.
4027 (options): Add format parameter.
4028 (is_hwcap): New function.
4029 (path_hwcap): New function.
4030 (parse_opt): Handle new format parameter.
4031 (search_dir): Handle hwcap, search also subdirectories with hwcap.
4033 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
4034 ldconfig is part of glibc.
4035 Include dl-cache.h and remove stuff that's defined there.
4036 (struct cache_entry): Add new member hwcap.
4037 (print_entry): Print hwcap, cleanup a bit.
4038 (print_cache): Print new and old formats.
4039 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
4040 (save_cache): Save new and old formats.
4041 (add_to_cache): Handle hwcap.
4043 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
4044 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
4045 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
4046 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
4047 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
4048 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
4050 2000-05-05 Bruno Haible <haible@clisp.cons.org>
4052 * intl/dcigettext.c (alignof): New macro.
4053 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
4054 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
4057 2000-05-05 Bruno Haible <haible@clisp.cons.org>
4059 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
4062 2000-05-06 Ulrich Drepper <drepper@redhat.com>
4064 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
4065 (mempcpy): Correct typo is parameter list.
4067 2000-05-06 Andreas Jaeger <aj@suse.de>
4069 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
4070 functions unless -ffast-math is given to gcc.
4072 2000-05-06 Ulrich Drepper <drepper@redhat.com>
4074 * po/ko.po: Update from translation team.
4076 2000-05-05 Ulrich Drepper <drepper@redhat.com>
4078 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
4079 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
4080 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
4081 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
4082 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
4083 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
4085 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
4086 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
4087 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
4089 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
4090 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
4091 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
4092 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
4094 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
4095 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
4097 2000-05-05 Jes Sorensen <jes@linuxcare.com>
4099 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
4100 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
4102 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
4103 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
4105 * sysdeps/ia64/Implies: New file.
4106 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
4107 * sysdeps/ia64/Makefile: New file.
4108 * sysdeps/ia64/gmp-mparam.h: New file,
4110 * sysdeps/ia64/elf/start.S: New file.
4112 * sysdeps/ia64/bits/fenv.h: New file.
4114 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
4116 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
4118 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
4120 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
4121 ia64 has 64 bit .hash entries just as the Alpha.
4123 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
4125 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
4127 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
4129 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
4130 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
4131 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
4132 * sysdeps/ia64/fpu/fegetenv.c: New file.
4133 * sysdeps/ia64/fpu/fegetexcept.c: New file.
4134 * sysdeps/ia64/fpu/fegetround.c: New file.
4135 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
4136 * sysdeps/ia64/fpu/fesetenv.c: New file.
4137 * sysdeps/ia64/fpu/fesetround.c: New file.
4138 * sysdeps/ia64/fpu/feupdateenv.c: New file.
4139 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
4140 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
4141 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
4142 * sysdeps/ia64/fpu/ftestexcept.c: New file.
4144 2000-05-05 Andreas Jaeger <aj@suse.de>
4146 * misc/tst-tsearch.c (main): Correct type for initstate argument.
4148 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
4149 (_dl_string_hwcap): New, does nothing.
4151 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
4152 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4153 (_dl_string_hwcap): New function, converts from string to hwcap
4155 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
4156 (_DL_HWCAP_COUNT): New.
4157 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4158 (_dl_string_hwcap): New function, converts from string to hwcap
4160 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
4161 (_DL_HWCAP_COUNT): New.
4162 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4163 (_dl_string_hwcap): New function, converts from string to hwcap
4166 2000-05-05 Ulrich Drepper <drepper@redhat.com>
4168 * elf/Makefile (distribute): Add dl-lookupcfg.h.
4169 * sysdeps/ia64/Dist: New file.
4171 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
4172 parameter to mprotect and for variable assignments.
4174 2000-05-03 Jes Sorensen <jes@linuxcare.com>
4176 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
4177 validity of map before dereferencing it.
4179 * elf/dl-reloc.c (RESOLVE_MAP): Define.
4181 2000-05-02 Jes Sorensen <jes@linuxcare.com>
4183 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
4184 lookup to the arguments to elf_machine_fixup_plt().
4186 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
4187 of the symbol being resolved to input argument list and make the
4188 function return the pointer to the reloc.
4190 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
4191 return valuie to lookup_t and return the value.
4192 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
4193 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
4194 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
4195 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
4196 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
4197 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
4199 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
4200 Make it an inline function returning value after calling
4201 __elf_machine_fixup_plt().
4203 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
4206 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
4207 obtain the symbol address.
4209 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
4210 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
4212 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
4213 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
4216 2000-04-28 Jes Sorensen <jes@linuxcare.com>
4218 * elf/dl-runtime.c (fixup): Use the portable macros to get the
4219 symbol address of an object.
4221 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
4222 the symbol address of an object.
4224 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
4225 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
4226 (_dl_lookup_symbol_skip): Likewise.
4227 (_dl_lookup_versioned_symbol): Likewise.
4228 (_dl_lookup_versioned_symbol_skip): Likewise.
4230 2000-04-27 Jes Sorensen <jes@linuxcare.com>
4232 * elf/rtld.c (_dl_start): Get the function pointer return address
4233 via _dl_start_address for architectures that need a function
4234 pointer descriptor rather than just a pointer (ia64).
4236 * sysdeps/generic/dl-lookupcfg.h: New file.
4237 * sysdeps/ia64/dl-lookupcfg.h: New file.
4238 * sysdeps/ia64/dl-machine.h: New file.
4239 * sysdeps/ia64/dl-symaddr.c: New file.
4240 * sysdeps/ia64/dl-fptr.c: New file.
4242 * elf/elf.h: Add IA-64 specific definitions.
4244 2000-05-04 Jakub Jelinek <jakub@redhat.com>
4246 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
4249 2000-05-04 Jakub Jelinek <jakub@redhat.com>
4251 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
4254 2000-04-11 Geoff Keating <geoffk@cygnus.com>
4256 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
4257 symbol. Call _dl_init rather than the old way.
4259 2000-05-04 Ulrich Drepper <drepper@redhat.com>
4261 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
4262 test for pointer in range of DSO address space.
4264 2000-05-04 Andreas Jaeger <aj@suse.de>
4266 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
4268 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4270 * locale/findlocale.c (_nl_find_locale): Add new parameter to
4271 calls of _nl_make_l10nflist.
4273 * libio/stdio.h: Make fseeko and ftello prototypes available is
4274 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
4276 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
4277 real unsetenv implementation from 1999-07-29 [PR libc/1714].
4279 2000-05-03 Bruno Haible <haible@clisp.cons.org>
4281 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
4282 before calling tfind.
4284 2000-03-05 Jakub Jelinek <jakub@redhat.com>
4286 * resolv/resolv.h (res_querydomain): Remove redefinition to
4287 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
4289 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4291 * po/gl.po: Update from translation team.
4293 * manual/intro.texi (Program Basics): Change section title.
4294 * manual/process.texi: Fix reference.
4295 (Executing a File): Add reference exec in other section.
4296 * manual/signal.texi: Fix reference.
4297 * manual/startup.texi: Document syscall function.
4298 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
4300 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4302 * intl/libintl.h (bind_textdomain_codeset): New declaration.
4303 * intl/bindtextdom.c (set_binding_values): New function.
4304 (bindtextdomain): Call it.
4305 (bind_textdomain_codeset): New function.
4306 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
4307 (free_mem): Free each binding's codeset.
4308 * intl/gettextP.h (struct binding): Add codeset field.
4309 (_nl_find_domain): Add domainbinding argument.
4310 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
4311 Pass it to _nl_make_l10nflist.
4312 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
4313 (_nl_make_l10nflist): Add domainbinding argument.
4314 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
4315 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
4316 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
4318 * manual/message.texi: New node "Charset conversion in gettext".
4320 2000-04-30 Bruno Haible <haible@clisp.cons.org>
4322 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
4323 appropriate. Handle possible __read error.
4325 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4327 * intl/gettextP.h (__builtin_expect): Define as empty if not a
4329 * intl/loadinfo.h (__builtin_expect): Likewise.
4330 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
4331 __builtin_expect where appropriate.
4332 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4333 * intl/localealias.c (extend_alias_table): Return an error indicator.
4334 (read_alias_file): Bail out if extend_alias_table fails.
4336 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4338 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
4339 * intl/localealias.c: Likewise.
4341 2000-05-01 Bruno Haible <haible@clisp.cons.org>
4343 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
4344 Initialize domain->plural and domain->nplurals even if there is no
4347 2000-05-01 Bruno Haible <haible@clisp.cons.org>
4349 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
4350 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
4351 In case of failure, goto converted.
4353 2000-05-01 Bruno Haible <haible@clisp.cons.org>
4355 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
4356 * iconv/gconv_int.h (norm_add_slashes): Move to here.
4357 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
4360 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4362 * intl/dcigettext.c (transcmp): Compare the domains as well.
4363 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
4365 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
4368 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4370 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
4371 Reported by Bruno Haible.
4373 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4375 * manual/arith.texi: Remove @w from @itemize.
4377 2000-05-02 Andreas Jaeger <aj@suse.de>
4379 * conform/data/tar.h-data: Add some checks for specific values.
4381 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
4384 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
4387 * conform/data/netinet/in.h-data: Add exact checks for the values
4388 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
4390 * conform/data/float.h-data: Add some minimal values.
4392 * conform/conformtest.pl: Test for macros with string constants,
4393 check for minimum and maximum values.
4394 Add limits.h to headers.
4396 * conform/data/cpio.h-data: Test for value of MAGIC.
4398 * conform/data/limits.h-data: New file.
4400 2000-04-30 Bruno Haible <haible@clisp.cons.org>
4402 * math/Makefile (headers): Add bits/fenvinline.h.
4404 2000-05-01 Ulrich Drepper <drepper@redhat.com>
4406 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
4407 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
4409 * posix/Versions: Change posix_spawnattr_getdefault and
4410 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
4411 and posix_spawnattr_setsigdefault respectively.
4412 * posix/spawn.h: Likewise.
4413 * posix/spawnattr_getdefault.h: Likewise.
4414 * posix/spawnattr_setdefault.h: Likewise.
4415 * conform/data/spawn.h-data: Likewise.
4417 2000-05-01 Andreas Jaeger <aj@suse.de>
4419 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
4421 2000-04-30 Ulrich Drepper <drepper@redhat.com>
4423 * manual/sysinfo.texi: Document getdomainname, setdomainname
4425 * manual/string.texi: Fix typo.
4426 * manual/terminal.texi: Document gtty and stty.
4427 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4429 2000-04-30 Andreas Jaeger <aj@suse.de>
4431 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
4432 accordance with Austin Draft.
4434 2000-04-30 Ulrich Drepper <drepper@redhat.com>
4436 * catgets/gencat.c (read_input_file): Use isblank and not isspace
4437 to recognize second character in comment line.
4439 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
4440 ENOBUFS if we are out of memory.
4442 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
4443 available if __USE_XOPEN2K.
4444 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
4445 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4446 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
4447 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
4448 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
4449 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4450 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
4451 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
4453 2000-04-29 Ulrich Drepper <drepper@redhat.com>
4455 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
4456 Recognize option -s, -c, and -l.
4458 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
4460 * nscd/nscd.c: Start new session for nscd, drop privilegs
4461 to configured user if requested and no -S parameter are used.
4462 * nscd/nscd.conf: Add new option "server-user".
4463 * nscd/nscd_conf.c: Add support for new "server-user" option.
4464 * nscd/nscd.h: Add declaration for server_user variable.
4465 Based on patch by Chris Wing <wingc@engin.umich.edu>
4467 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4469 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
4470 that changing the __restore and __restore_rt signal return code
4473 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4475 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
4478 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4480 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
4482 2000-04-29 Ulrich Drepper <drepper@redhat.com>
4484 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
4485 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
4487 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
4488 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
4489 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
4490 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
4491 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
4492 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
4493 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
4494 posix_fallocate, and posix_madvise.
4495 * conform/data/netdb.h-data: New file.
4496 * conform/data/pthread.h-data: Add pthread_barrier_t,
4497 pthread_barrierattr_t, pthread_barrier_destroy,
4498 pthread_barrier_init, pthread_barrier_wait,
4499 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
4500 pthread_barrierattr_init, pthread_barrierattr_setpshared,
4501 pthread_condattr_getclock, pthread_condattr_setclock,
4502 pthread_getcpuclockid, pthread_mutex_timedlock,
4503 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
4504 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
4505 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
4506 * conform/data/sched.h-data: Add sched_ss_low_priority,
4507 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
4509 * conform/data/semaphore.h-data: Add sem_timedwait.
4510 * conform/data/signal.h-data: Add SIGIO.
4511 * conform/data/spawn.h-data: New file.
4512 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
4513 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
4514 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
4515 Fix typo in gmtime_r definition.
4516 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
4517 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
4518 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
4519 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
4520 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
4521 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
4522 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
4523 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
4524 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
4525 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
4526 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
4527 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
4528 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
4529 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
4530 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
4531 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
4532 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
4533 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
4534 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
4535 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
4536 typo in off_t definition.
4537 * conform/data/net/if.h-data: New file.
4538 * conform/data/netinet/in.h-data: New file.
4539 * conform/data/netinet/tcp.h-data: New file.
4540 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
4541 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
4542 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
4543 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
4544 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
4545 and posix_typed_mem_open.
4546 * conform/data/sys/socket.h-data: New file.
4547 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
4548 * conform/data/sys/types.h-data: Add pthread_barrier_t,
4549 pthread_barrierattr_t, and pthread_spinlock_t.
4550 * conform/data/sys/un.h-data: New file.
4551 * conform/data/sys/utsname.h-data: New file.
4553 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
4555 * inet/gethstbyad.c (gethostbyname): Likewise.
4556 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
4557 * inet/getipnodebyad.c (getipnodebyad): Likewise.
4558 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
4559 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
4561 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
4562 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
4563 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
4564 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
4565 * resolv/gethnamaddr.c (gethostbyname): Likewise.
4566 * resolv/netdb.h (struct hostent): Fix type of h_length member.
4567 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
4568 and second parameter.
4570 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
4573 2000-04-29 Andreas Jaeger <aj@suse.de>
4575 * conform/data/arpa/inet.h-data: New file.
4577 2000-04-28 Geoff Clare <gwc@unisoft.com>
4579 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
4580 path passed to ftw() or nftw() is an empty string.
4581 Closes PR libc/1710.
4583 2000-04-27 Ulrich Drepper <drepper@redhat.com>
4585 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
4586 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
4587 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
4588 * localedata/tst-mbswcs4.c: New file.
4589 * localedata/tst-mbswcs5.c: New file.
4591 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
4592 == NULL. Little optimization.
4594 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
4595 DT_PREINIT_ARRAYSZ).
4596 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
4598 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
4599 overflows in conversion from ASCII.
4601 2000-04-26 Jakub Jelinek <jakub@redhat.com>
4603 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
4604 * Makerules (full_config_sysdirs): Likewise.
4605 * MakeTAGS (full_config_sysdirs): Likewise.
4607 2000-04-26 Jakub Jelinek <jakub@redhat.com>
4609 * .cvsignore: Remove linuxthreads.
4610 * po/.cvsignore: Remove *.pot.
4611 * posix/glob/.cvsignore: Removed.
4612 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
4614 2000-04-25 Andreas Jaeger <aj@suse.de>
4616 * conform/Makefile (distribute): Also distribute contents of
4619 * Makerules (no_deps): Remove abi-versions.h.
4621 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
4623 2000-04-25 Jakub Jelinek <jakub@redhat.com>
4625 * sysdeps/sparc/sparc64/elf/Dist: Remove.
4626 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
4627 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
4628 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
4629 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
4630 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
4633 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
4635 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
4637 2000-04-23 Bruno Haible <haible@clisp.cons.org>
4639 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
4640 * intl/l10nflist.c: Likewise.
4642 2000-04-23 Bruno Haible <haible@clisp.cons.org>
4644 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
4645 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
4646 * intl/textdomain.c [!_LIBC]: Likewise.
4647 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
4648 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
4649 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
4652 2000-04-23 Bruno Haible <haible@clisp.cons.org>
4654 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
4655 character set conversion also in the case the translation was found
4656 after a hash collision or through binary search. Store the maximum
4657 index together with the converted message. Use iconv() when available.
4658 In case of out of memory during conversion, return the unconverted
4659 translated string, not NULL.
4661 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
4663 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
4664 to avoid name clashes with the ia32 linker.
4666 2000-04-25 Jakub Jelinek <jakub@redhat.com>
4668 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
4671 2000-04-27 Ulrich Drepper <drepper@redhat.com>
4673 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
4674 strtoumax, strfry, and memfrob.
4675 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
4676 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4678 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
4679 if this function is available.
4681 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
4684 2000-04-27 Jakub Jelinek <jakub@redhat.com>
4686 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
4688 2000-04-27 Ulrich Drepper <drepper@redhat.com>
4690 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
4691 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
4692 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
4693 * localedata/tst-mbswcs3.c: New file.
4695 2000-04-26 Ulrich Drepper <drepper@redhat.com>
4697 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
4698 characters. Don't handle incomplete characters as errors.
4699 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
4700 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
4701 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
4702 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
4703 * localedata/tst-mbswcs2.c: New file.
4705 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
4706 stored character in state in UNPACK_BYTES macro.
4707 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
4708 test for available characters, handle result of BODY code correctly.
4709 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
4710 (distribute): Add tst-mbswcs.sh.
4711 Add rule to run tst-mbswcs.sh.
4712 * localedata/tst-mbswcs.sh: New file.
4713 * localedata/tst-mbswcs1.c: New file.
4715 2000-04-26 Jakub Jelinek <jakub@redhat.com>
4717 * nis/nis_callback.c (__nis_create_callback): Do failed memory
4718 allocation fixups centrally, fix __builtin_expect call, return NULL
4719 on failure, not NIS_NOMEMORY.
4721 2000-04-27 Bruno Haible <haible@clisp.cons.org>
4723 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
4725 * intl/loadinfo.h (internal_function): Define if not already defined.
4727 2000-04-27 Andreas Jaeger <aj@suse.de>
4729 * intl/libintl.h: Fix typo, reported by Bruno Haible
4730 <haible@clisp.cons.org>.
4732 2000-04-25 Ulrich Drepper <drepper@redhat.com>
4734 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
4735 setting the state to GMON_PROF_BUSY.
4737 2000-04-24 Ulrich Drepper <drepper@redhat.com>
4739 * elf/dl-profile.c (_dl_start_profile): define all variables which
4740 do not have to be global as local variables.
4742 * nis/nis_callback.c (__nis_create_callback): Partially undo last
4743 patch. Keep needed tests for failed memory allocation.
4745 * elf/dl-reloc.c (_dl_relocate_object): Add one more
4746 __builtin_expect saying that we don't normally expect to profile.
4748 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
4749 __builtin_expect where desirable.
4751 2000-04-23 Ulrich Drepper <drepper@redhat.com>
4753 * manual/Makefile (chapters): Add syslog.
4754 * manual/syslog.texi: New file.
4755 * manual/math.texi: Fix references.
4756 * manual/terminal.texi: Likewise.
4757 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4759 2000-04-18 Jakub Jelinek <jakub@redhat.com>
4761 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
4762 stdlib.h was not included or __USE_XOPEN not defined.
4764 2000-04-23 Ulrich Drepper <drepper@redhat.com>
4766 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
4767 Patch by Zack Weinberg <zack@wolery.cumb.org>.
4769 2000-04-22 Ulrich Drepper <drepper@redhat.com>
4771 * manual/examples/subopt.c (mount_opts): Add missing terminating
4773 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
4775 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
4776 * libio/ftello.c: Likewise.
4777 * libio/ftello64.c: Likewise.
4778 * libio/ioftell.c: Likewise.
4779 * sysdeps/generic/memrchr.c: Likewise.
4780 * sysdeps/posix/libc_fatal.c: Likewise.
4781 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
4782 * misc/fstab.c: Include <string.h> for strcmp prototype.
4783 * sysdeps/generic/ldsodefs.h: Likewise.
4784 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4785 Patch by Kurt Roeckx <Q@ping.be>.
4787 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
4788 Remove db-open. Change all uses.
4789 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
4791 2000-04-21 Jakub Jelinek <jakub@redhat.com>
4793 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
4794 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
4795 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
4796 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
4797 with .set noat/at to shut up warnings.
4798 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
4799 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
4800 compilation if __NR_pciconfig_iobase is not defined.
4801 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
4804 2000-04-21 Ulrich Drepper <drepper@redhat.com>
4806 * manual/sysinfo.texi: Fix typo.
4807 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
4808 Replace "high precision time" with "high accuracy clock".
4810 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
4812 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
4813 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
4815 * nis/nis_subr.c: Use __builtin_expect.
4816 * nis/ypclnt.c: Likewise.
4817 * nis/nis_getservlist.c: Likewise.
4818 * nis/nis_creategroup.c: Likewise.
4820 * nis/nis_callback.c (__nis_create_callback): Check result of
4821 memory allocation. Fix memory leaks. Use __builtin_expect.
4822 (__nis_destroy_callback): Fix memory leaks.
4824 2000-04-21 Andreas Jaeger <aj@suse.de>
4826 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
4827 * sysdeps/mips/mips64/add_n.S: Likewise.
4828 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
4829 * sysdeps/mips/mips64/lshift.S: Likewise.
4830 * sysdeps/mips/mips64/mul_1.S: Likewise.
4831 * sysdeps/mips/mips64/rshift.S: Likewise.
4832 * sysdeps/mips/mips64/setjmp.S: Likewise.
4833 * sysdeps/mips/mips64/sub_n.S: Likewise.
4834 * sysdeps/mips/mips64/submul_1.S: Likewise
4835 * sysdeps/unix/mips/sysdep.S: Likewise.
4837 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
4838 and update comment. The strtab from _dl_relocate_object can be
4841 2000-04-21 Ulrich Drepper <drepper@redhat.com>
4843 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
4844 * iconv/iconv_close.c (iconv_close): Likewise.
4845 * iconv/iconv_open.c (iconv_open): Likewise.
4847 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
4848 __builtin_expect where useful.
4850 * grp/initgroups.c (initgroups): Test for result of memory
4851 allocation and punt if it fails.
4853 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
4854 * grp/fgetgrent.c (fgetfrent): Likewise.
4855 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
4857 2000-04-21 Jakub Jelinek <jakub@redhat.com>
4859 * libio/vasprintf.c: Include string.h to get memcpy prototype.
4861 2000-04-20 Ulrich Drepper <drepper@redhat.com>
4863 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
4864 don't search for NUL byte to decrement counter.
4865 Reported by Ulrich.Brink@sap.com.
4867 * iconv/gconv_simple.c: Define separate functions to convert from
4868 UCS4/UCS4-LE to the internal encoding.
4869 * iconv/gconv_builtin.h: Use separate functions to convert from
4870 UCS4/UCS4-LE to the internal encoding.
4871 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
4872 __gconv_transform_ucs4le_internal.
4874 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
4875 output buffer overflow. Reported by Ulrich.Brink@sap.com.
4877 * iconv/skeleton.c: Add some more __builtin_expect.
4878 * iconv/loop.c: Likewise.
4880 2000-03-08 H.J. Lu <hjl@gnu.org>
4882 * posix/regex.c (regex_compile): Correctly handle "\{" when
4883 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
4885 2000-04-20 Ulrich Drepper <drepper@redhat.com>
4887 * manual/stdio.texi: Give advise about handling error when using
4889 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
4891 2000-04-19 Jakub Jelinek <jakub@redhat.com>
4893 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
4894 field to nelems * sizeof (uint32_t).
4895 * locale/programs/ld-address.c (address_output): Align word fields
4897 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4898 Don't restart idx pointers to idx end at the duo_int_curr_symbol
4900 Avoid giving arbitrary garbage in the crncystr field.
4901 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
4902 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
4904 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4905 Don't restart idx pointers to idx end at the decimal_point_wc field.
4906 * locale/programs/ld-time.c (time_output): week_1stday should be
4907 word, not byte. Align it properly.
4909 2000-04-19 H.J. Lu <hjl@gnu.org>
4911 * csu/gmon-start.c (_start): Declared as "extern void".
4914 2000-04-18 Andreas Jaeger <aj@suse.de>
4916 * manual/install.texi (Running make install): Don't mention utmpd
4919 2000-04-18 Andreas Jaeger <aj@suse.de>
4921 * linuxthreads/Versions: Use ld instead of ld.so.
4923 * elf/Makefile (ld-map): Use ld.map.
4925 * Versions.def: Use ld instead of ld.so.
4926 * elf/Versions: Likewise.
4927 * sysdeps/mach/hurd/Versions: Likewise.
4929 2000-04-20 Andreas Jaeger <aj@suse.de>
4931 * elf/rtld.c (print_statistics): Move ifndef further up.
4932 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
4933 (dl_main): Likewise.
4935 2000-04-18 Ulrich Drepper <drepper@redhat.com>
4937 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
4938 * gmon/Versions: Move moncontrol to GLIBC_2.2.
4940 * po/cs.po: Update from translation team.
4942 * sysdeps/generic/updwtmp.c: Remove daemon support.
4944 * login/Makefile (routines): Remove utmp_daemon.
4946 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
4947 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
4948 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
4949 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
4951 * elf/rtld.c: Display statitics option also if hp timing is not
4954 * login/programs/connection.c: Removed.
4955 * login/programs/database.c Removed.
4956 * login/programs/error.c: Removed.
4957 * login/programs/request.c: Removed.
4958 * login/programs/xtmp.c: Removed.
4959 * login/programs/xtmp.h: Removed.
4960 * login/Makefile: Remove rules for utmpd.
4961 * login/README.utmpd: Removed.
4962 * login/utmp_daemon.c: Removed.
4963 * login/getutent_r.c: Remove references to daemon functions.
4964 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
4967 2000-04-18 Andreas Jaeger <aj@suse.de>
4969 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
4970 2.2 for libnsl, libresolv, librt, libnss_*.
4972 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
4974 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
4976 2000-04-18 Ulrich Drepper <drepper@redhat.com>
4978 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
4979 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
4980 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
4981 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
4982 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
4983 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
4984 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
4985 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
4986 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
4987 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
4988 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
4989 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
4990 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
4992 * sysdeps/unix/sysv/aix/msync.c: New file.
4993 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
4994 * sysdeps/unix/sysv/aix/net/if.h: New file.
4995 * sysdeps/unix/sysv/aix/pipe.c: New file.
4996 * sysdeps/unix/sysv/aix/poll.c: New file.
4997 * sysdeps/unix/sysv/aix/rename.c: New file.
4998 * sysdeps/unix/sysv/aix/rmdir.c: New file.
4999 * sysdeps/unix/sysv/aix/select.c: New file.
5000 * sysdeps/unix/sysv/aix/semctl.c: New file.
5001 * sysdeps/unix/sysv/aix/semget.c: New file.
5002 * sysdeps/unix/sysv/aix/semop.c: New file.
5003 * sysdeps/unix/sysv/aix/sendto.c: New file.
5004 * sysdeps/unix/sysv/aix/setgroups.c: New file.
5005 * sysdeps/unix/sysv/aix/setpgid.c: New file.
5006 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
5007 * sysdeps/unix/sysv/aix/setpriority.c: New file.
5008 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
5009 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
5010 * sysdeps/unix/sysv/aix/setsid.c: New file.
5011 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
5012 * sysdeps/unix/sysv/aix/shmat.c: New file.
5013 * sysdeps/unix/sysv/aix/shmctl.c: New file.
5014 * sysdeps/unix/sysv/aix/shmdt.c: New file.
5015 * sysdeps/unix/sysv/aix/shmget.c: New file.
5016 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
5017 * sysdeps/unix/sysv/aix/sigstack.c: New file.
5018 * sysdeps/unix/sysv/aix/socket.c: New file.
5019 * sysdeps/unix/sysv/aix/socketpair.c: New file.
5020 * sysdeps/unix/sysv/aix/speed.c: New file.
5021 * sysdeps/unix/sysv/aix/symlink.c: New file.
5022 * sysdeps/unix/sysv/aix/sync.c: New file.
5023 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
5024 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
5025 * sysdeps/unix/sysv/aix/times.c: New file.
5026 * sysdeps/unix/sysv/aix/ulimit.c: New file.
5027 * sysdeps/unix/sysv/aix/umask.c: New file.
5028 * sysdeps/unix/sysv/aix/unlink.c: New file.
5029 * sysdeps/unix/sysv/aix/ustat.c: New file.
5030 * sysdeps/unix/sysv/aix/utimes.c: New file.
5032 2000-04-18 Andreas Jaeger <aj@suse.de>
5034 * manual/startup.texi (Environment Access): Fix putenv prototype
5035 according to recent changes.
5036 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
5039 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
5042 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5044 * posix/Makefile (tests): Add tst-getaddrinfo.
5045 * posix/tst-getaddrinfo.c: New file.
5047 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5049 * manual/sysinfo.texi: Document that umount2 is not widely available.
5051 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
5052 signal timing is not really implemented.
5054 2000-04-17 Andreas Jaeger <aj@suse.de>
5056 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
5058 2000-04-17 Jakub Jelinek <jakub@redhat.com>
5060 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
5063 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5065 * manual/intro.texi: Change reference from System Information to
5067 * manual/users.texi: Likewise.
5068 * manual/conf.texi: Likewise.
5069 * manual/sysinfo.texi: Document mount, umount, and umount2.
5070 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5072 2000-04-17 Jakub Jelinek <jakub@redhat.com>
5074 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
5075 Create wnumstr as well as numstr to support wide character output
5078 2000-04-15 Jakub Jelinek <jakub@redhat.com>
5080 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
5081 modification and move it...
5082 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
5083 Add -melf64_sparc switch to $(LD) on sparc64-linux.
5084 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
5085 switch to $(LD) on sparc-linux.
5087 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
5089 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
5090 and setresuid from sysdep_routines.
5092 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5094 * manual/Makefile (chapters): Add resource.
5096 * manual/time.texi: Move section on resources to...
5097 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
5099 * manual/setjmp.texi: Adjust back reference.
5100 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5102 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
5104 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
5105 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
5106 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
5107 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
5108 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
5109 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
5110 * sysdeps/unix/sysv/aix/close.c: Add copyright.
5111 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
5112 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
5113 * sysdeps/unix/sysv/aix/access.c: Add copyright.
5114 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
5115 * sysdeps/unix/sysv/aix/Implies: New file.
5116 * sysdeps/unix/sysv/aix/Versions: New file.
5117 * sysdeps/unix/sysv/aix/bind.c: New file.
5118 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
5119 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
5120 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
5121 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
5122 * sysdeps/unix/sysv/aix/chdir.c: New file.
5123 * sysdeps/unix/sysv/aix/chmod.c: New file.
5124 * sysdeps/unix/sysv/aix/chroot.c: New file.
5125 * sysdeps/unix/sysv/aix/creat.c: New file.
5126 * sysdeps/unix/sysv/aix/dl-close.c: New file.
5127 * sysdeps/unix/sysv/aix/dl-open.c: New file.
5128 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
5129 * sysdeps/unix/sysv/aix/fchdir.c: New file.
5130 * sysdeps/unix/sysv/aix/fchmod.c: New file.
5131 * sysdeps/unix/sysv/aix/getgroups.c: New file.
5132 * sysdeps/unix/sysv/aix/gethostname.c: New file.
5133 * sysdeps/unix/sysv/aix/getpriority.c: New file.
5134 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
5135 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
5136 * sysdeps/unix/sysv/aix/getrusage.c: New file.
5137 * sysdeps/unix/sysv/aix/link.c: New file.
5138 * sysdeps/unix/sysv/aix/madvise.c: New file.
5139 * sysdeps/unix/sysv/aix/mkdir.c: New file.
5140 * sysdeps/unix/sysv/aix/mknod.c: New file.
5141 * sysdeps/unix/sysv/aix/mprotect.c: New file.
5142 * sysdeps/unix/sysv/aix/msgctl.c: New file.
5143 * sysdeps/unix/sysv/aix/msgget.c: New file.
5144 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
5146 2000-04-17 Andreas Jaeger <aj@suse.de>
5148 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
5149 as suggested by Ulrich Drepper.
5150 (__dl_runtime_resolve): Remove unused variable, initialize sym
5152 (RTLD_START): Document OFFSET_GP_GOT.
5153 (OFFSET_GP_GOT): New magic value.
5154 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
5155 (elf_machine_got_rel): Only declare strtab if needed.
5156 (elf_machine_relplt): Removed, it's not needed.
5157 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
5159 * sysdeps/mips/add_n.S: Add newline at EOF.
5160 * sysdeps/mips/rshift.S: Likewise.
5161 * sysdeps/mips/mul_1.S: Likewise.
5162 * sysdeps/mips/lshift.S: Likewise.
5163 * sysdeps/mips/addmul_1.S: Likewise.
5165 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5167 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
5169 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
5170 * elf/dl-lookup.c: Likewise.
5171 * elf/dl-init.c (_dl_init): Likewise.
5172 * elf/dl-fini.c (_dl_fini): Likewise.
5173 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5174 * elf/dl-close.c (_dl_close): Likewise.
5175 * elf/rtld.c (_dl_start_final): Likewise.
5177 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
5179 2000-04-15 Ulrich Drepper <drepper@redhat.com>
5181 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
5182 only fall back on using Linux.
5184 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
5185 Before testing versions check that we actually loaded the object
5186 and whether we are in trace mode. If not loaded during tracing don't
5187 test versions in this object.
5188 (_dl_check_all_versions): Take new parameter and pass to
5189 _dl_check_map_versions.
5190 * sysdeps/generic/ldsodefs.h: Update prototypes for
5191 _dl_check_all_versions and _dl_check_map_versions.
5192 * elf/rtld.c (struct version_check_args): Add dotrace.
5193 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
5194 (dl_main): Pass info about trace mode to version_check_doit.
5195 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
5196 _dl_check_all_versions.
5198 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
5200 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5202 * manual/argp.texi: Document index parameter of argp_parse.
5204 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
5206 2000-04-14 Andreas Jaeger <aj@suse.de>
5208 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
5209 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
5211 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
5213 2000-04-15 Ulrich Drepper <drepper@redhat.com>
5215 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
5216 compat_symbol call for old adjtime.
5218 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
5219 function interface. Patch by Richard Henderson <rth@cygnus.com>.
5221 * posix/Makefile (headers): Add spawn.h.
5222 (distribute): Add spawn_int.h.
5223 (routines): Add spawn_faction_init, spawn_faction_destroy,
5224 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
5225 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
5226 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
5227 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
5228 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
5229 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
5230 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
5231 posix_spawnattr_init, posix_spawnattr_destroy,
5232 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
5233 posix_spawnattr_getflags, posix_spawnattr_setflags,
5234 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
5236 * posix/spawn.c: New file.
5237 * posix/spawn.h: New file.
5238 * posix/spawn_faction_addclose.c: New file.
5239 * posix/spawn_faction_adddup2.c: New file.
5240 * posix/spawn_faction_addopen.c: New file.
5241 * posix/spawn_faction_destroy.c: New file.
5242 * posix/spawn_faction_init.c: New file.
5243 * posix/spawn_int.h: New file.
5244 * posix/spawnattr_destroy.c: New file.
5245 * posix/spawnattr_getdefault.c: New file.
5246 * posix/spawnattr_getflags.c: New file.
5247 * posix/spawnattr_getpgroup.c: New file.
5248 * posix/spawnattr_getschedparam.c: New file.
5249 * posix/spawnattr_getschedpolicy.c: New file.
5250 * posix/spawnattr_getsigmask.c: New file.
5251 * posix/spawnattr_init.c: New file.
5252 * posix/spawnattr_setdefault.c: New file.
5253 * posix/spawnattr_setflags.c: New file.
5254 * posix/spawnattr_setpgroup.c: New file.
5255 * posix/spawnattr_setschedparam.c: New file.
5256 * posix/spawnattr_setschedpolicy.c: New file.
5257 * posix/spawnattr_setsigmask.c: New file.
5258 * posix/spawni.c: New file.
5259 * posix/spawnp.c: New file.
5261 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
5262 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
5264 2000-04-14 Ulrich Drepper <drepper@redhat.com>
5266 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
5267 * malloc/malloc.c: Implement posix_memalign for glibc.
5268 * include/stdlib.h: Add prototype for __posix_memalign.
5269 * stdlib/stdlib.h: Add prototype for posix_memalign.
5271 2000-04-14 Andreas Jaeger <aj@suse.de>
5273 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
5275 (elf_machine_got_rel): Cast sym correctly.
5277 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
5278 * sysdeps/mips/addmul_1.S: Likewise.
5279 * sysdeps/mips/lshift.S: Likewise.
5280 * sysdeps/mips/mul_1.S: Likewise.
5281 * sysdeps/mips/rshift.S: Likewise.
5282 * sysdeps/mips/sub_n.S: Likewise.
5283 * sysdeps/mips/submul_1.S: Likewise.
5285 * stdlib/stdlib.h: Fix typo in comment.
5287 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
5288 2.2 for libdl, ld and libm.
5290 * sysdeps/generic/madvise.c: Fix typos.
5292 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
5294 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
5296 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
5299 2000-04-14 Ulrich Drepper <drepper@redhat.com>
5301 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
5302 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
5303 Make old name weak alias.
5304 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
5305 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
5306 Make old name weak alias.
5307 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
5309 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
5310 posix_fallocate, and posix_fallocate64.
5311 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
5312 posix_fallocate, and posix_fallocate64.
5313 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
5314 posix_fallocate, and posix_fallocate64.
5315 * sysdeps/generic/fadvise.c: New file.
5316 * sysdeps/generic/fadvise64.c: New file.
5317 * sysdeps/generic/fallocate.c: New file.
5318 * sysdeps/generic/fallocate64.c: New file.
5319 * sysdeps/posix/fallocate.c: New file.
5320 * sysdeps/posix/fallocate64.c: New file.
5321 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
5322 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
5323 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
5324 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
5325 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
5326 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
5327 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
5328 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
5329 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5331 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
5332 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5334 2000-04-13 Ulrich Drepper <drepper@redhat.com>
5336 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
5337 * misc/sys/mman.h (posix_madvise): Add prototype.
5338 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
5339 old name and posix_madvise weak aliases.
5340 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5341 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
5342 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
5343 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
5344 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
5345 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5346 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5348 2000-04-13 Andreas Jaeger <aj@suse.de>
5350 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
5352 (elf_machine_got_rel): Only add runtime display if needed.
5353 (elf_machine_got_rel): Handle symbol versioning.
5355 2000-04-13 Andreas Jaeger <aj@suse.de>
5357 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
5359 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
5362 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
5363 with some applications.
5364 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
5366 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
5367 * sysdeps/mips/bsd-_setjmp.S: Likewise.
5368 * sysdeps/mips/setjmp.S: Likewise.
5370 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
5372 2000-04-13 Ulrich Drepper <drepper@redhat.com>
5374 * posix/globtest.sh: Work around inconsistency with expanding ~/
5375 in shell (PR libc/1690). Reported by patsmith@pobox.com.
5377 2000-04-12 Ulrich Drepper <drepper@redhat.com>
5379 * posix/getconf.c: Add support for many more POSIX options.
5380 * sysdeps/posix/sysconf.c: Likewise.
5381 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
5382 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
5384 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
5385 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
5386 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
5387 CLOCK_THREAD_CPUTIME_ID.
5388 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
5389 CLOCK_PROCESS_CPUTIME_ID.
5390 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
5391 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
5392 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
5393 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
5395 * malloc/Makefile (tests): Add tst-calloc.
5396 * malloc/tst-calloc.c: New file.
5398 * sysdeps/arm/libm-test-ulps: New file.
5400 * malloc/malloc.c: Undo all of today's changes.
5402 * locale/programs/locale.c (show_info): Don't try to look into
5403 data for LC_ALL (there is none).
5405 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
5406 avoid writing over boundary.
5407 Patch by Greg McGary <gkm@eng.ascend.com>.
5409 * sysdeps/arm/memprof.h: New file.
5411 2000-04-12 Andreas Jaeger <aj@suse.de>
5413 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
5415 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
5416 for memmem declaration.
5418 2000-04-12 Ulrich Drepper <drepper@redhat.com>
5420 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
5422 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5424 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
5426 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
5427 Patch by Bart Veer <bartv@redhat.com>.
5429 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
5432 2000-04-11 Andreas Jaeger <aj@suse.de>
5434 * sysdeps/mips/dl-machine.h: Update some comments.
5435 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
5437 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5439 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
5440 _POSIX_SHARED_MEMORY_OBJECTS.
5442 * rt/Makefile (tests): Add tst-shm.
5443 Add rules to generate tst-shm.
5444 * rt/tst-shm.c: New file.
5446 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
5449 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
5450 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
5451 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
5452 * sysdeps/generic/shm_open.c: New file.
5453 * sysdeps/generic/shm_unlink.c: New file.
5454 * sysdeps/unix/sysv/linux/shm_open.c: New file.
5455 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
5456 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
5457 __endmntent, __getmntent_r, __setmntent, and __statfs.
5459 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
5460 fragmentation by allocating new memory at the end instead of
5463 * posix/globtest.sh: Fix last change.
5465 2000-04-10 Philip Blundell <philb@gnu.org>
5467 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
5468 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
5469 IPV6_DROP_MEMBERSHIP.
5470 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
5473 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5475 * elf/readlib (process_file): Close streams in case of an error.
5477 2000-04-09 Andreas Jaeger <aj@suse.de>
5479 * elf/readlib.c (process_file): Check if file is big enough to
5480 contain aout and ELF headers.
5481 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
5483 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
5485 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
5487 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5489 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
5491 * rt/Makefile (tests): Add tst-clock.
5492 Add rules to build tst-clock.
5493 * rt/tst-clock.c: New file.
5494 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
5495 about initialization of nsec.
5496 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
5497 about initialization of freq. Set retval to zero if successful.
5498 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
5500 2000-04-10 Ulrich Drepper <drepper@redhat.com>
5502 * Versions.def (librt): Add GLIBC_2.2.
5503 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
5504 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
5505 timer_getoverr, timer_gettime, and timer_settime.
5506 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
5507 clock_settime, timer_create, timer_delete, timer_getoverrun,
5508 timer_gettime, and timer_settime.
5509 * sysdeps/generic/clock_getcpuclockid.c: New file.
5510 * sysdeps/generic/get_clockfreq.c: New file.
5511 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
5512 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
5513 * sysdeps/mach/hurd/i386/bits/time.h: New file.
5514 * sysdeps/unix/i386/i586/clock_getres.c: New file.
5515 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
5516 * sysdeps/unix/i386/i686/Implies: New file.
5517 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
5518 * time/Makefile (routines): Move clock_getres, clock_gettime,
5519 clock_settime, timer_create, timer_delete, timer_getoverr,
5520 timer_gettime, and timer_settime to rt/Makefile.
5521 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
5522 clock_settime, timer_create, timer_delete, timer_getoverrun,
5523 timer_gettime, and timer_settime.
5524 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
5526 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
5527 and not const as attribute name.
5529 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
5531 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
5533 2000-04-10 Andreas Schwab <schwab@suse.de>
5535 * posix/globtest.sh: Skip tests that depend on unreadable
5536 directories if run as root.
5538 2000-04-10 Ulrich Drepper <drepper@redhat.com>
5540 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
5541 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
5543 2000-04-09 Ulrich Drepper <drepper@redhat.com>
5545 * sysdeps/unix/clock_gettime.c: New file.
5546 * sysdeps/unix/clock_settime.c: New file.
5547 * sysdeps/posix/clock_getres.c: New file.
5549 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
5551 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
5552 lseek call be passing in a buffer which never allow a successful
5553 first getdents syscall if not at leas the initial entry can be
5554 stored in the user buffer.
5556 * localedata/Makefile: Add rules to clean up directories created by
5559 2000-04-09 Geoff Clare <gwc@unisoft.com>
5561 * localedata/tst-fmon.data: Added new tests for strfmon()
5562 using test locales with all combinations of cs_precedes,
5563 sign_posn and sep_by_space.
5564 * localedata/tst-fmon.sh: Updated to support the new tests.
5565 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
5566 the localedef source for the new strfmon() test locale.
5567 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
5568 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
5569 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
5570 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
5571 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
5572 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
5573 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
5574 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
5575 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
5576 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
5577 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
5578 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
5579 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
5580 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
5582 * stdlib/strfmon.c: Correct problems with missing or extra
5583 spaces for unusual combinations of sign_posn and sep_by_space.
5584 Improved left-precision alignment code.
5586 2000-04-07 Andreas Jaeger <aj@suse.de>
5588 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
5590 2000-04-10 Andreas Jaeger <aj@suse.de>
5592 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
5594 2000-04-09 Ulrich Drepper <drepper@redhat.com>
5596 Implement handling of restartable conversion functions according to
5598 * iconv/gconv.h (__gconv_fct): Add additional parameter.
5599 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
5600 * iconv/gconv.c: Pass additional parameter to conversion function.
5601 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
5602 (internal_ucs4le_loop_single): New function.
5603 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
5604 (__gconv_transform_internal_ascii): Likewise.
5605 (__gconv_transform_internal_utf8): Likewise.
5606 (__gconv_transform_utf8_internal): Likewise.
5607 (__gconv_transform_ucs2_internal): Likewise.
5608 (__gconv_transform_internal_ucs2): Likewise.
5609 (__gconv_transform_ucs2reverse_internal): Likewise.
5610 (__gconv_transform_internal_ucs2reverse): Likewise.
5611 (internal_ucs4le_loop_unaligned): Before return
5612 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
5613 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
5614 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
5615 * iconv/loop.c: Fit in definition of function to convert one character
5616 for processing of left-over bytes from the state object.
5617 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
5618 inend to match names in loop functions.
5619 (RESET_INPUT_BUFFER): Change apprpriately.
5620 (gconv): If needed, call function to process bytes from the state
5621 object. Similar at the end: store left over bytes if input is
5623 Take extra argument and add new argument to all calls of the
5624 conversion function.
5625 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
5626 information in the state object to not conflict with length count.
5627 * iconvdata/iso-2022-jp.c: Likewise.
5628 * iconvdata/iso-2022-kr.c: Likewise.
5629 * iconvdata/unicode.c: Adjust for change change in parameters of
5631 * iconvdata/utf-16.c: Likewise.
5632 * libio/iofwide.c: Add new parameter to all calls of conversion
5634 * wcsmbs/btowc.c: Likewise.
5635 * wcsmbs/mbrtowc.c: Likewise.
5636 * wcsmbs/mbsnrtowcs.c: Likewise.
5637 * wcsmbs/mbsrtowcs.c: Likewise.
5638 * wcsmbs/wcrtomb.c: Likewise.
5639 * wcsmbs/wcsnrtombs.c: Likewise.
5640 * wcsmbs/wcsrtombs.c: Likewise.
5641 * wcsmbs/wctob.c: Likewise.
5643 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
5646 2000-04-07 Andreas Jaeger <aj@suse.de>
5648 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
5651 2000-04-07 Ulrich Drepper <drepper@redhat.com>
5653 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
5654 element a union to allow byte access.
5655 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
5657 * iconvdata/iso-2022-jp.c: Likewise.
5658 * iconvdata/iso-2022-kr.c: Likewise.
5659 * wcsmbs/mbsinit.c: Likewise.
5660 * stdlib/mblen.c: Likewise.
5661 * stdio-common/printf-parse.h: Likewise.
5663 2000-04-06 Ulrich Drepper <drepper@redhat.com>
5665 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
5666 kernel does not allow relative seeks on descriptors associated
5667 with directories. Go back to get the position in the directory
5668 every time we enter the function. Return -1 and set errno if one
5669 entry could be read from the kernel but does not fit into the
5670 buffer passed in by the user.
5672 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
5673 Support ..(2).. ellipsis.
5674 (parse_charmap): Recognize ..(2).. etc and pass step down.
5675 Correctly generate names for UCS4 characters.
5677 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
5678 (ctype_finish): We know the wide character value for <SP>,
5680 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
5681 (charclass_ucs4_ellipsis): Likewise.
5682 (read_translit_ignore_entry): Store ellipsis step.
5683 (ctype_read): Recognize ..(2).. etc and pass step down.
5685 * locale/programs/linereader.c (lr_token): When seeing comment
5686 character ignore only rest of line in sources but stop at escaped
5688 Recognize ..(2).. and ....(2).....
5690 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
5691 and tok_ellipsis4_2.
5693 2000-04-06 Andreas Jaeger <aj@suse.de>
5695 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
5696 removed, remove it here also.
5697 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
5698 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
5699 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
5700 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
5702 2000-04-06 Jakub Jelinek <jakub@redhat.com>
5704 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
5705 include bits/sigcontext.h.
5706 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5708 2000-04-06 Ulrich Drepper <drepper@redhat.com>
5710 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
5711 collation symbol definition. Value in quivalence definition must
5712 be defined, don't check that it is not.
5714 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
5715 values as character names.
5717 * locale/programs/ld-ctype.c (get_character): Handle missing
5718 repertoire map correctly.
5720 2000-04-05 Cristian Gafton <gafton@redhat.com>
5722 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
5723 because it is used in generic code.
5724 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
5725 * wcsmbs/wcwidth.h: Declare __ctype32_b.
5726 * intl/gettext.c: Include <locale.h>.
5727 * intl/ngettext.c: Likewise.
5729 2000-04-05 Jakub Jelinek <jakub@redhat.com>
5731 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
5732 socklen_t type for size.
5733 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
5734 init function interface.
5735 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5736 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
5738 (__jmp_buf): Declare the whole type structure here, don't use
5741 2000-04-05 Ulrich Drepper <drepper@redhat.com>
5743 * iconv/skeleton.c (put16u): Fix typo.
5744 Reported by Bruno Haible <haible@ilog.fr>.
5746 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
5747 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
5748 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
5749 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
5750 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
5751 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
5753 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
5754 * Makefile (distribute): Add abi-versions.awk and
5756 Patches by Torsten Duwe <duwe@caldera.de>.
5758 2000-04-05 Andreas Schwab <schwab@suse.de>
5760 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
5762 2000-04-05 Andreas Schwab <schwab@suse.de>
5764 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
5765 entry point, used on Hurd.
5767 2000-04-04 Andreas Jaeger <aj@suse.de>
5769 * intl/Makefile: Only run the gettext test with shared libraries.
5771 2000-03-16 Mark Kettenis <kettenis@gnu.org>
5773 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
5774 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
5776 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
5778 * Makeconfig: Undo last change.
5779 * configure.in: If --disable-shared was given, don't set VERSIONING,
5780 don't define DO_VERSIONING, and don't give scare warning for no
5782 * configure: Regenerated.
5784 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
5786 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
5788 2000-04-04 Andreas Jaeger <aj@suse.de>
5790 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
5792 2000-04-04 Ulrich Drepper <drepper@redhat.com>
5794 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
5795 STV_HIDDEN and STV_INTERNAL during lookup.
5796 (profile_fixup): Likewise.
5797 * elf/dl-reloc.c (RESOLVE): Likewise.
5799 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
5800 unaligned so that it compiles for system which need unaligned
5803 2000-04-04 Andreas Schwab <schwab@suse.de>
5805 * elf/cache.c (print_entry): Only look at the type field when
5808 2000-04-04 Andreas Schwab <schwab@suse.de>
5810 * iconvdata/big5.c (BODY): Fix typo.
5812 2000-04-04 Andreas Schwab <schwab@suse.de>
5814 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
5815 function interface. Remove unused _dl_start_user entry point.
5817 2000-04-03 Andreas Jaeger <aj@suse.de>
5819 * include/arpa/inet.h (__inet_aton): Add protoype.
5821 2000-04-01 Andreas Jaeger <aj@suse.de>
5823 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
5825 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
5826 * sysdeps/mach/mips/thread_state.h: Likewise.
5828 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
5829 * sysdeps/generic/fegetenv.c: Likewise.
5830 * sysdeps/generic/fesetenv.c: Likewise.
5831 * sysdeps/generic/feupdateenv.c: Likewise.
5832 * sysdeps/generic/fraiseexcpt.c: Likewise.
5833 * sysdeps/generic/fsetexcptflg.c: Likewise.
5834 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
5835 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
5836 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
5837 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5839 2000-04-02 H.J. Lu <hjl@gnu.org>
5841 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
5843 2000-04-03 Ulrich Drepper <drepper@redhat.com>
5845 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
5846 (add_name_to_object): Add cast in malloc call.
5847 (fillin_rpath): Optimize loop to initialize ->status a bit.
5849 * sysdeps/i386/dl-machine.h: Undo last change.
5850 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
5851 Restore %edx register after call here.
5853 * sysdeps/arm/atomicity.h: New file.
5854 Contributed by Jesper Skov <jskov@redhat.com>.
5856 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
5858 * Makeconfig (preprocess-versions): Undo last change.
5859 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
5861 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
5862 here, before we might move the stack.
5863 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
5864 (init1): And not here.
5866 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
5867 change, to restore argc value in call-clobbered register after
5868 RTLD_START_SPECIAL_INIT, which will contain a call.
5870 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
5871 allocating and initializing L->l_initfini.
5873 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
5875 2000-04-03 Ulrich Drepper <drepper@redhat.com>
5877 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
5878 RUNPATH, RPATH, and LD_LIBRARY_PATH.
5879 (open_path): Change type of fourth parameter. Make pointer to array
5880 of pointers. Create variable dirs with original type.
5881 Track whether any directory for the object exists and if not,
5882 change *DIRSP to (void*) -1 to signal there is no such search path.
5883 (_dl_map_object): Change all calls of open_path.
5884 Rewrite decompose_rpath calls.
5886 2000-03-31 Andreas Schwab <schwab@suse.de>
5888 * string/strfry.c: Declare STATE as array of char instead of int
5889 and do not initialize it (done by initstate_r). Pass correct
5892 2000-04-03 Ulrich Drepper <drepper@redhat.com>
5894 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
5896 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
5897 instruction out of the code.
5899 2000-04-02 Ulrich Drepper <drepper@redhat.com>
5901 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
5902 element at this position.
5904 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
5905 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
5907 * elf/dl-lookup.c (add_dependency): New function.
5908 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
5909 dynamically loaded object.
5910 (_dl_lookup_symbol_skip): Likewise.
5911 (_dl_lookup_versioned_symbol): Likewise.
5912 (_dl_lookup_versioned_symbol_skip): Likewise.
5913 * elf/dl-open.c: Don't define _dl_load_lock here...
5914 * elf/rtld.c: ...but here...
5915 * elf/dl-support.c: ...and here.
5916 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
5918 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
5920 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
5922 * dlfcn/glrefmain.c: Add one more debug message.
5924 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
5926 * Makerules (sysd-versions): Use ( ) instead of { }.
5928 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
5929 optimize for the non-debugging case.
5930 * elf/dl-lookup.c: Likewise.
5931 * sysdeps/generic/libc-start.c: Likewise.
5933 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
5935 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
5936 (init1): Don't initialize __environ here, since init already does it.
5937 (first_init): New function, broken out of _init.
5938 (_hurd_stack_setup): Use it.
5939 [SHARED] (_dl_init_first): New function, renamed from old _init.
5940 (init1) [SHARED]: Don't call posixland_init here.
5941 (posixland_init): Take ENVP arg, so signature is usual for initializer.
5942 [SHARED] (_init): Define as alias for posixland_init.
5943 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
5944 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
5945 RTLD_START_SPECIAL_INIT before calling initializers.
5946 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
5947 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
5948 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
5949 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
5951 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
5952 since we define the function with the name `tmpfile'.
5954 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
5955 * hurd/Versions: Likewise.
5957 2000-04-02 Ulrich Drepper <drepper@redhat.com>
5959 * elf/dl-runtime.c (fixup): Fix typo in comment.
5961 * resolv/netdb.h (getnameinfo): All length parameters are of type
5963 * inet/getnameinfo.c: Likewise.
5965 2000-04-01 Ulrich Drepper <drepper@redhat.com>
5967 * posix/unistd.h (socklen_t): Define if it has not yet happened.
5968 (gethostname): Change type of second parameter to socklen_t.
5969 * include/unistd.h (__gethostname): Change type of second
5970 parameter to socklen_t.
5971 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
5972 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
5973 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
5974 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
5976 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
5977 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
5978 Allow definition elsewhere.
5979 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
5980 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5981 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5982 * sysdeps/generic/bits/types.h: Define __socklen_t.
5983 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
5984 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
5985 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5986 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5987 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5988 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5989 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5991 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
5992 (inet_lnaof): Likewise.
5993 (inet_netof): Likewise.
5994 (inet_network): Likewise.
5995 (inet_aton): Likewise.
5996 (inet_makeaddr): Change parameter types to in_addr_t.
5997 (inet_neta): Likewise.
5998 (inet_ntop): Change type of last parameter to socklen_t.
5999 (inet_aton): Only make available if __USE_MISC.
6000 (inet_neta): Likewise.
6001 (inet_net_ntop): Likewise.
6002 (inet_net_pton): Likewise.
6003 (inet_nsap_ntoa): Likewise.
6005 * inet/in.h: Define in_port_t type.
6006 Define in_addr_t type.
6007 (struct in_addr): Use in_addr_t in definition.
6008 (IN_CLASSA): Use cast to in_addr_t.
6009 (IN_CLASSB): Likewise.
6010 (IN_CLASSC): Likewise.
6011 (IN_CLASSD): Likewise.
6012 (IN_EXPERIMENTAL): Likewise.
6013 (IN_BADCLASS): Likewise.
6014 (INADDR_ANY): Likewise.
6015 (INADDR_BROADCAST): Likewise.
6016 (INADDR_NONE): Likewise.
6017 (INADDR_LOOPBACK): Likewise.
6018 (INADDR_UNSPEC_GROUP): Likewise.
6019 (INADDR_ALLHOSTS_GROUP): Likewise.
6020 (INADDR_ALLRTRS_GROUP): Likewise.
6021 (INADDR_MAX_LOCAL_GROUP): Likewise.
6022 (struct sockaddr_in): Use in_port_t for sin_port element.
6023 (struct sockaddr_in6): Use in_port_t for sin6_port element.
6024 Use uint8_t instead of u_int8_t.
6026 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
6027 Call __inet_aton instead of inet_aton.
6028 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
6030 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
6031 (innetgr): Likewise.
6032 (struct addrinfo): Use socklen_t for ai_addrlen element.
6034 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
6035 IPV6_RECVERR): New defines.
6037 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
6038 * inet/getnetbyad.c: Likewise.
6039 * inet/getnetbyad_r.c: Likewise.
6040 * nis/nss_nis/nis-network.c: Likewise.
6041 * nis/nssplus_nis/nisplus-network.c: Likewise.
6042 * nss/nss_files/files-network.c: Likewise.
6043 * resolv/netdb.h: Define uint32_t if not already happened.
6044 Include bits/netdb.h. Remove definition of struct netent.
6045 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
6046 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
6047 * sysdeps/generic/bits/netdb.h: New file.
6048 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
6050 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
6051 (tests): Add glrefmain.
6052 Add rules to build modules and run tests. Ignore result of glrefmain
6053 for now since it fails.
6054 * dlfcn/glrefmain.c: New file.
6055 * dlfcn/glreflib1.c: New file.
6056 * dlfcn/glreflib2.c: New file.
6058 * test-skeleton.c: Include <string.h> for strsignal prototype.
6060 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
6063 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
6064 former init-first.h. Initialize __libc_multiple_libcs.
6066 2000-03-31 Ulrich Drepper <drepper@redhat.com>
6068 * iconv/skeleton.c: Define access macros with u suffix. Adjust
6069 #if expression for use of unaligned function to the one used in
6070 the definition of these functions.
6071 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
6072 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
6073 (internal_ucs4le_loop_unaligned): New function.
6075 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
6077 (module-names): Add dep1, dep2, dep3, and dep4.
6078 Add dependencies for dep* modules and order.
6079 Define rule for order.out which checks the result.
6080 * elf/dep1.c: New file.
6081 * elf/dep2.c: New file.
6082 * elf/dep3.c: New file.
6083 * elf/dep4.c: New file.
6084 * elf/order.c: New file.
6086 * elf/dl-init.c: Fix typo in comment.
6088 2000-03-31 Andreas Jaeger <aj@suse.de>
6090 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
6091 init function interface.
6092 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
6094 2000-03-31 Andreas Jaeger <aj@suse.de>
6096 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
6097 * sysdeps/mips/fpu/fegetenv.c: Likewise.
6098 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
6099 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
6100 * sysdeps/mips/fpu/fesetenv.c: Likewise.
6102 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
6103 anymore, update comment.
6105 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6107 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
6108 SHLIB_COMPAT - the struct is always needed.
6110 2000-03-31 Ulrich Drepper <drepper@redhat.com>
6112 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
6113 * elf/dl-support.c: Define _dl_starting_up.
6115 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6117 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
6118 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
6120 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
6122 * elf/Makefile (dl-routines): Remove preinit.
6123 * elf/Versions: Remove _dl_preinit.
6124 * elf/dl-preinit.c: Removed. Move content into...
6125 * elf/dl-init.c: ...here.
6126 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
6128 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
6131 2000-03-29 Geoff Clare <gwc@unisoft.com>
6133 * stdlib/strfmon.c: Corrected problems with the code that
6134 sets default values for [np]_sep_by_space and
6135 [np]_sign_posn; also the new positive/negative alignment
6136 code from the previous patch was not quite right for
6139 * localedata/tst-fmon.data: Changes corresponding to the
6140 two sets of fixes made to stdlib/strfmon.c.
6142 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
6144 * malloc/malloc.c: Declare bit flags UL so that they will not
6145 default to int size when being inverted.
6147 2000-03-29 Andreas Jaeger <aj@suse.de>
6149 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
6150 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
6152 2000-03-29 Andreas Jaeger <aj@suse.de>,
6153 Ralf Baechle <ralf@uni-koblenz.de>
6155 * Makeconfig: Introduce new variable SHARED to mark code used in
6157 * elf/dl-close.c: Use it instead of PIC.
6158 * elf/dl-load.c: Likewise.
6159 * elf/dl-open.c: Likewise.
6160 * hurd/geteuids.c: Likewise.
6161 * include/libc-symbols.h: Likewise.
6162 * include/shlib-compat.h: Likewise.
6163 * libio/freopen.c: Likewise.
6164 * linuxthreads/cancel.c: Likewise.
6165 * linuxthreads/pthread.c: Likewise.
6166 * linuxthreads/wrapsyscall.c: Likewise.
6167 * nss/nsswitch.c: Likewise.
6168 * stdio-common/vfprintf.c: Likewise.
6169 * sysdeps/arm/init-first.c: Likewise.
6170 * sysdeps/i386/init-first.c: Likewise
6171 * sysdeps/generic/init-first.c: Likewise.
6172 * sysdeps/generic/libc-start.c: Likewise.
6173 * sysdeps/mips/init-first.c: Likewise.
6174 * sysdeps/powerpc/elf/libc-start.c: Likewise.
6175 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
6176 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
6177 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
6178 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6180 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
6182 2000-03-29 Andreas Jaeger <aj@suse.de>
6184 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
6185 Use D_PTR to access relocated entries in l_info.
6186 (elf_machine_rela): Likewise.
6188 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
6190 (elf_machine_rela): Likewise.
6192 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
6194 (__elf_machine_fixup_plt): Likewise.
6195 (__process_machine_rela): Likewise.
6197 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
6198 (elf_machine_rela): Likewise.
6200 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
6201 (elf_machine_rel): Likewise.
6203 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
6204 (elf_machine_fixup_plt): Likewise.
6205 (elf_machine_rela): Likewise.
6207 2000-03-29 Andreas Jaeger <aj@suse.de>
6209 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
6210 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6211 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6212 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
6213 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
6214 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
6215 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
6216 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
6217 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6218 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
6219 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
6220 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
6221 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
6222 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
6223 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6225 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
6226 macros, remove K&R prototypes.
6228 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6230 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
6231 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
6234 2000-03-30 Andreas Jaeger <aj@suse.de>
6236 * misc/sys/cdefs.h: Remove K&R support.
6238 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6240 * iconv/skeleton.c: Avoid compiling unaligned versions in some
6242 * iconv/loop.c: Likewise.
6244 2000-03-29 Bruno Haible <haible@clisp.cons.org>
6246 * iconv/loop.c (put16): Remove __const. Fix access index.
6247 (put32): Remove __const. Use uint32_t instead of uint16_t.
6248 * iconv/skeleton.c: Likewise.
6250 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
6252 * mach/Versions (libc: GLIBC_2.0)
6253 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
6254 __vm_allocate on this.
6255 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
6256 mutex- and spinlock-related symbols on this.
6257 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
6258 New version set. Lock-related symbols go here instead in this case.
6259 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
6260 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
6261 cthread_getspecific, cthread_setspecific, __libc_getspecific.
6263 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
6264 Put them here instead.
6265 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
6266 New version set. Those cthreads symbols go here instead in this case.
6267 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
6269 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6271 * elf/dl-init.c (_dl_init): We don't need to call constructors
6272 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
6274 Implement dynamic determination of constructor/destructor order in
6276 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
6277 (GLIBC_2.2): Add _dl_init.
6278 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
6279 r_duplist is not anymore allocated separately. l_initfini is and
6280 therefore free it if necessary.
6281 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
6282 malloc block. Otherwise allocate l_initfini list only.
6283 Put dependencies for the object in l_initfini list.
6284 Sort dependencies for the object to be loaded topologically.
6285 * elf/dl-fini.c: Before running the destructors sort the topologically.
6286 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
6287 call constructors instead of iterating over the pointers. Get list of
6288 objects for which to run constructors from l_initfini element. Accept
6289 argc, argv, and env as parameters and pass them to the constructors.
6290 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
6291 with size of dynamic section.
6292 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
6293 _dl_init_next and calling constructors ourself.
6294 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
6295 Take argc, argv, and env as parameters and pass them to the
6296 constructors. Rewrite to call all constructors and not iterate over
6298 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
6299 precompute l_initcount and l_preinitcount.
6300 * elf/link.h (struct link_map): Add l_ldnum member.
6301 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
6302 l_initcount, and l_preinitcount. Add l_initfini.
6303 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
6305 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
6307 * sysdeps/unix/sysv/linux/init-first.h: Removed.
6308 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
6309 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
6310 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
6311 conventions now match.
6313 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
6314 effect for shared objects. Don't emit message and call only for
6317 2000-03-29 Ulrich Drepper <drepper@redhat.com>
6319 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
6320 CSA_Z243.4-1985-1..UCS2.
6321 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
6324 2000-03-29 Andreas Jaeger <aj@suse.de>
6326 * include/unistd.h: Remove duplicate entry for __rmdir.
6327 Remove declaration of __mkdir since __mkdir is declared in
6330 * manual/creature.texi (Feature Test Macros): Fix typo, reported
6331 by Michael Deutschmann <michael@talamasca.ocis.net>.
6333 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
6334 * sysdeps/mips/fpu/fegetenv.c: Likewise.
6335 * sysdeps/mips/fpu/fesetenv.c: Likewise.
6336 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
6337 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
6339 2000-03-28 Andreas Jaeger <aj@suse.de>
6341 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
6342 declaration, the prototype is defined via bits/mathcalls.h.
6343 (__sincosf): Likewise.
6344 (__sincosl): Likewise.
6348 (__finite): Likewise.
6349 (__inline_mathcodeNP): New macro without prototype
6351 (__inline_mathcodeNP2): Likewise.
6352 (__inline_mathcodeNP3): Likewise.
6353 (__inline_mathcodeNP_): Likewise.
6354 (__inline_mathcodeNP2_): Likewise.
6355 (__inline_mathcodeNP3_): Likewise.
6356 (__inline_mathopNP): Likewise.
6357 (__inline_mathop_declNP): Likewise.
6358 (__inline_mathop_declNP_): Likewise.
6359 (__inline_mathcode_): Use __inline_mathcodeNP_.
6360 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
6361 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
6362 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
6363 (__expm1l): Don't define prototype, the prototype is defined via
6369 (__atan2l): Likewise.
6374 (__fabsl): Likewise.
6392 (__sqrtl): Likewise.
6402 2000-03-28 Ulrich Drepper <drepper@redhat.com>
6404 * Makerules: If make variable md5 is defined to yes after
6405 generating dependencies generate MD5 sum for the object.
6407 * iconv/gconv_builtin.h: Fix length in transformation definition
6410 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
6412 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
6413 allow as well reading from/writing to unaligned addresses on machines
6414 which don't support this in hardware. Use FCTNAME macro to define
6415 function name. Include the file a second time for platforms which
6416 need special unaligned handling.
6417 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
6418 to access potentially unaligned addresses. These macros are intended
6419 to be used only outside the loops.
6420 (unaligned): New definition. In case the machine can handle unaligned
6421 access define as zero. Otherwise as a variable which is initialized
6422 as nonzero in case the buffer passed in at runtime is unaligned with
6423 respect to the character set encoding involved.
6424 Call aligned or unaligned looop functions according to unaligned
6426 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
6427 of direct casting pointer to potentially handle unaligned memory
6429 * iconvdata/8bit-generic.c: Likewise.
6430 * iconvdata/ansi_x3.110.c: Likewise.
6431 * iconvdata/big5.c: Likewise.
6432 * iconvdata/euc-cn.c: Likewise.
6433 * iconvdata/euc-jp.c: Likewise.
6434 * iconvdata/euc-kr.c: Likewise.
6435 * iconvdata/euc-tw.c: Likewise.
6436 * iconvdata/gbk.c: Likewise.
6437 * iconvdata/iso-2022-cn.c: Likewise.
6438 * iconvdata/iso-2022-jp.c: Likewise.
6439 * iconvdata/iso-2022-kr.c: Likewise.
6440 * iconvdata/iso646.c: Likewise.
6441 * iconvdata/iso_6937-2.c: Likewise.
6442 * iconvdata/iso_6937.c: Likewise.
6443 * iconvdata/johab.c: Likewise.
6444 * iconvdata/sjis.c: Likewise.
6445 * iconvdata/t.61.c: Likewise.
6446 * iconvdata/uhc.c: Likewise.
6447 * iconvdata/unicode.c: Likewise.
6448 * iconvdata/utf-16.c: Likewise.
6450 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
6453 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
6454 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
6456 * malloc/mcheck.h (mcheck_check_all): Declare.
6458 * stdio-common/Makefile (tests): Add tst-obprintf.
6460 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
6462 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
6463 Declare pthread_sigmask.
6465 * csu/version.c: Add 2000 to copyright years.
6466 Remove Emacs local variables section.
6468 2000-03-23 Bruno Haible <haible@clisp.cons.org>
6470 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
6471 __gconv_transform_internal_ucs2little): Remove declarations.
6472 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
6473 __gconv_transform_internal_ucs2): Never need to bswap_16.
6474 (__gconv_transform_ucs2reverse_internal,
6475 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
6477 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
6479 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
6480 obsoleting version not being defined at all, in which case the
6481 result is always true.
6483 * Makeconfig (preprocess-versions): New canned sequence for running
6484 cpp on shlib-versions and the like.
6485 (soversions.i): Use it.
6486 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
6487 Versions.def and Versions files.
6489 2000-03-27 Ulrich Drepper <drepper@redhat.com>
6491 * stdio-common/tst-obprintf.c (main): Add another check to see
6492 obstack_printf handling all possible beginnings of the block
6493 inside an obstack chunk.
6495 * locale/programs/localedef.c: Use __malloc_initialize_hook to
6496 install mcheck handler.
6498 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
6501 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
6503 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
6505 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
6506 on [HAVE_ELF && DO_VERSIONING].
6508 2000-03-27 Ulrich Drepper <drepper@redhat.com>
6510 * stdio-common/tst-obprintf.c: New file.
6512 2000-03-26 Ulrich Drepper <drepper@redhat.com>
6514 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
6515 _IO_OVERFLOW directly instead through __overflow.
6517 * locale/programs/localedef.c (construct_output_path): If path
6518 contains a / compute the end of the directory name correctly.
6520 * include/features.h: Undef and document __USE_XOPEN2K.
6522 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
6523 whenever a function is called. Initiated by calling mcheck_pedantic
6525 * malloc/mcheck.h: Declare mcheck_pedantic.
6526 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
6527 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
6530 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
6532 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
6533 * dlfcn/dlopenold.c: Likewise.
6534 * nss/getXXbyYY_r.c: Likewise.
6535 * nss/getXXent_r.c: Likewise.
6536 * hurd/hurdinit.c: Likewise.
6537 * hurd/compat-20.c: Likewise.
6538 * libio/oldiofopen.c: Likewise.
6539 * libio/oldiofclose.c: Likewise.
6540 * libio/oldiofdopen.c: Likewise.
6541 * libio/oldfileops.c: Likewise.
6542 * libio/oldstdfiles.c: Likewise.
6543 * libio/oldiofsetpos.c: Likewise.
6544 * libio/oldiofgetpos.c: Likewise.
6545 * libio/oldiofgetpos64.c: Likewise.
6546 * libio/oldiofsetpos64.c: Likewise.
6547 * libio/oldiopopen.c: Likewise.
6548 * libio/oldpclose.c: Likewise.
6549 * libio/oldtmpfile.c: Likewise.
6550 * libio/freopen.c (freopen): Likewise.
6551 * libio/iofclose.c (_IO_new_fclose): Likewise.
6553 * sysdeps/mach/sys/reboot.h: Include <features.h>.
6554 (reboot): Declare it.
6556 * libio/Makefile (headers): Add bits/stdio-lock.h here.
6558 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
6560 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
6562 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
6563 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
6564 We need this for the sbrk decl, which can be included without Unix98.
6566 2000-03-20 Richard Henderson <rth@cygnus.com>
6568 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
6569 argument to yperr2nss is an int, not size_t.
6570 * posix/regex.c (print_partial_compiled_pattern): Cast all
6571 ptrdiff_t to long for printing.
6572 (print_compiled_pattern): Use Z for printing size_t.
6573 * posix/testfnm.c (tests): Avoid trigraphs.
6574 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
6575 Use a C comment, not an assembly comment.
6577 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
6578 of __ASSUME_32BITUIDS.
6580 2000-03-26 Ulrich Drepper <drepper@redhat.com>
6582 * libio/iofopncook.c: Remove K&R prototypes.
6584 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
6586 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
6587 an initial value of 1024 instead of RLIM_INFINITY.
6589 * Versions.def (libmachuser, libhurduser): Remove these sections,
6590 since these libraries do not presently use symbol versions.
6592 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
6593 is RLIM_INFINITY, return -1 instead.
6595 2000-03-24 Andreas Jaeger <aj@suse.de>
6597 * Makefile (postclean): Added soversions.i.
6599 2000-03-24 Scott Bambrough <scottb@netwinder.org>
6601 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
6602 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
6603 and _FPU_IEEE. Change _FPU_RESERVED.
6605 2000-03-24 Scott Bambrough <scottb@netwinder.org>
6607 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
6609 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
6611 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
6612 (gaih_inet): Remove unused duplicate variable.
6614 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
6615 Don't use __libc_sa_len, which only exists for Linux. Just handle
6616 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
6617 only flavors supported by this function anyway.
6619 2000-03-24 Geoff Clare <gwc@unisoft.com>
6621 * stdlib/strfmon.c: Corrected problems with missing signs and
6622 missing or extra spaces; allow for sign strings longer than
6623 one character; add padding to ensure positive and negative
6624 formats are aligned when a left precision is used.
6626 2000-03-26 Ulrich Drepper <drepper@redhat.com>
6628 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
6629 Patch by John Mizel <John.Mizel@msdw.com>.
6631 2000-03-25 Ulrich Drepper <drepper@redhat.com>
6633 * manual/install.texi: Remove references to crypt add-on.
6635 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
6637 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
6638 section while taking the _hurd_rlimit_lock.
6639 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
6641 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
6643 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
6646 * sysdeps/mach/hurd/if_index.c: New file.
6648 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
6649 * sysdeps/gnu/net/if.h: here.
6650 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
6651 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
6652 * sysdeps/generic/net/if.h: New file. Declares just the standard
6653 functions and `struct if_nameindex' type.
6654 * socket/Makefile (headers): Add net/if.h here.
6655 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
6656 * sysdeps/mach/hurd/Dist: Remove it here.
6657 * sysdeps/unix/sysv/linux/Dist: And here.
6658 * sysdeps/generic/if_index.c: Include <net/if.h>.
6660 2000-03-24 Andreas Jaeger <aj@suse.de>
6662 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
6663 access relocated entries in l_info.
6664 (elf_machine_got_rel): Likewise.
6665 (elf_machine_runtime_setup): Likewise.
6666 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
6667 (elf_machine_runtime_setup): Likewise.
6668 (__dl_runtime_resolve): Likewise.
6670 2000-03-23 Ulrich Drepper <drepper@redhat.com>
6672 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
6673 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
6674 according to RFC 2553.
6675 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
6676 * inet/getnameinfo.c: Likewise.
6677 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
6679 2000-03-23 Bruno Haible <haible@clisp.cons.org>
6681 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
6682 Remove no-op pointer increment.
6684 2000-03-23 Andreas Jaeger <aj@suse.de>
6686 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
6687 follow change for libio.h from 2000-03-10.
6689 2000-03-23 Andreas Jaeger <aj@suse.de>
6691 * elf/dl-addr.c: Adjust include paths for ldsodefs location
6693 * elf/dl-debug.c: Likewise.
6694 * elf/dl-deps.c: Likewise.
6695 * elf/dl-error.c: Likewise.
6696 * elf/dl-fini.c: Likewise.
6697 * elf/dl-init.c: Likewise.
6698 * elf/dl-load.c: Likewise.
6699 * elf/dl-lookup.c: Likewise.
6700 * elf/dl-minimal.c: Likewise.
6701 * elf/dl-object.c: Likewise.
6702 * elf/dl-open.c: Likewise.
6703 * elf/dl-preinit.c: Likewise.
6704 * elf/dl-profile.c: Likewise.
6705 * elf/dl-profstub.c: Likewise.
6706 * elf/dl-reloc.c: Likewise.
6707 * elf/dl-runtime.c: Likewise.
6708 * elf/dl-support.c: Likewise.
6709 * elf/dl-symbol.c: Likewise.
6710 * elf/dl-version.c: Likewise.
6711 * elf/rtld.c: Likewise.
6712 * elf/sprof.c: Likewise.
6713 * sysdeps/generic/dl-cache.c: Likewise.
6714 * sysdeps/generic/dl-origin.c: Likewise.
6715 * sysdeps/generic/dl-sysdep.c: Likewise.
6716 * sysdeps/generic/elf/backtracesyms.c: Likewise.
6717 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6718 * sysdeps/generic/libc-start.c: Likewise.
6719 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6720 * sysdeps/powerpc/dl-machine.c: Likewise.
6721 * sysdeps/powerpc/elf/libc-start.c: Likewise.
6722 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6723 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6724 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
6726 * elf/ldsodefs.h: Move file to ...
6727 * sysdeps/generic/ldsodefs.h: ... here.
6729 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
6731 * sysdeps/mips/elf/ldsodefs.h: New file.
6733 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
6735 (_dl_check_map_versions): Likewise.
6736 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6737 * elf/dl-load.c (_dl_init_paths): Likewise.
6738 (_dl_map_object): Likewise.
6739 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
6740 (elf_get_dynamic_info): Likewise.
6741 * elf/do-lookup.h (FCT): Likewise.
6742 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
6743 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6744 * elf/dl-addr.c (_dl_addr): Likewise.
6745 * elf/dl-runtime.c (profile_fixup): Likewise.
6747 * elf/dl-init.c (_dl_init_next): Likewise.
6748 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
6749 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
6750 (DISTINGUISH_LIB_VERSIONS): Likewise.
6751 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
6752 (elf_machine_rel): Likewise.
6754 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
6755 for writable dynamic section.
6757 2000-03-22 Ulrich Drepper <drepper@redhat.com>
6759 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
6760 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
6762 2000-03-22 Andreas Jaeger <aj@suse.de>
6764 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
6765 from latest Linux kernel.
6767 2000-03-21 Andreas Jaeger <aj@suse.de>
6769 * Versions.def: Add version 2.1.4.
6771 2000-03-21 Ulrich Drepper <drepper@redhat.com>
6773 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
6774 * libio/oldiofopen.c: Likewise.
6775 * libio/oldiofclose.c: Likewise.
6776 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
6778 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
6780 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
6781 indicating the first version set to obsolete the conditionalized code.
6782 (compat_symbol): New macro.
6783 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
6784 rhs be the ABI_* macro for the subsuming version. Assign increasing
6785 integer values to the ABI_* macros for supported versions.
6786 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
6787 compat_symbol macro.
6789 2000-03-21 Ulrich Drepper <drepper@redhat.com>
6791 * nscd/connections.c (nscd_run): Pretty print.
6792 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
6794 * manual/charset.texi: Fix typos. Rephrase.
6795 * manual/process.texi: Likewise.
6796 * manual/signal.texi: Likewise.
6797 Patches by Mike Coleman <mkc@kc.net>.
6799 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
6801 * libio/iofdopen.c: Likewise.
6802 * libio/iofgetpos.c: Likewise.
6803 * libio/iofgetpos64.c: Likewise.
6804 * libio/iofopen.c: Likewise.
6805 * libio/iofsetpos.c: Likewise.
6806 * libio/iofsetpos64.c: Likewise.
6807 * libio/iopopen.c: Likewise.
6808 * libio/oldiofopen.c: Likewise.
6809 * libio/pclose.c: Likewise.
6810 * sysdeps/gnu/siglist.c: Likewise.
6811 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
6813 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
6814 chance to expand VERSION_##lib##_##version.
6816 * libio/fileops.c: Use new macros from shlib-compat.h to define
6818 * libio/iofclose.c: Likewise.
6819 * libio/oldiofclose.c: Likewise.
6820 Patch by Roland McGrath <roland@frob.com>.
6822 2000-03-21 Jakub Jelinek <jakub@redhat.com>
6824 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
6825 Lay out struct sigcontext according to what really gets passed on
6827 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
6828 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
6829 (prgregset_t, prfpregset_t): Define to elf_* types.
6830 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
6831 Define to correct value.
6832 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
6834 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
6836 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
6838 * scripts/firstversions.awk: Allow multiple version sets in the
6839 "earliest version" specification, meaning that version sets in the
6840 gaps between listed versions should be folded into the earliest later
6841 version that is explicitly listed.
6842 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
6843 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
6845 2000-03-21 Ulrich Drepper <drepper@redhat.com>
6847 * iconv/gconv_builtin.c: Include <endian.h>.
6848 * iconv/gconv_builtin.h: Add UCS-BE aliases.
6849 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
6850 according to current platform.
6851 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
6852 __gconv_transform_internal_ucs2reverse, and
6853 __gconv_transform_internal_ucs4le.
6854 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
6855 __gconv_transform_ucs2reverse_internal and
6856 __gconv_transform_internal_ucs2reverse.
6857 * iconvdata/Makefile (modules): Add UNICODE.
6858 (distribute): Add unicode.c.
6859 * iconvdata/gconv-modules: Add definitions for UNICODE module.
6860 * iconvdata/unicode.c: New file.
6862 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
6863 determine byte order of input and convert accordingly.
6865 * iconvdata/utf-16.c (gconv_init): Fix typo.
6867 2000-03-20 Ulrich Drepper <drepper@redhat.com>
6869 * iconvdata/gconv-modules: Fix typo.
6871 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
6874 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
6876 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
6878 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
6880 2000-03-20 Ulrich Drepper <drepper@redhat.com>
6882 * misc/Makefile (routines): Add mincore.
6884 2000-03-20 Andreas Jaeger <aj@suse.de>
6886 * sysdeps/generic/mincore.c: New stub file.
6888 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
6889 from latest Linux kernel.
6891 2000-03-20 Ulrich Drepper <drepper@redhat.com>
6893 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
6894 _SC_GETPW_R_SIZE_MAX.
6896 2000-03-20 Richard Henderson <rth@cygnus.com>
6898 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
6901 2000-03-20 Richard Henderson <rth@cygnus.com>
6903 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
6904 of arithmetic instructions.
6906 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
6907 with the fpcr. Protect from INV exception.
6908 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
6909 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
6910 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
6912 * sysdeps/alpha/fpu/s_copysign.c: New.
6913 * sysdeps/alpha/fpu/s_copysignf.c: New.
6914 * sysdeps/alpha/fpu/s_fabs.c: New.
6915 * sysdeps/alpha/fpu/s_fabsf.c: New.
6916 * sysdeps/alpha/fpu/s_rint.c: New.
6917 * sysdeps/alpha/fpu/s_rintf.c: New.
6919 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
6921 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
6923 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
6924 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
6925 Use physical addresses not KSEG addresses.
6926 (io_system): Add PYXIS.
6927 (io): Remove hae.reg, sys, hae_shift.
6928 (stb_mb, stw_mb, stl_mb, __sethae): New.
6929 (inline_outb, inline_outw, inline_outl): Don't set hae.
6930 (inline_inb, inline_inw, inline_inl): Likewise.
6931 (dense_sethae): New null function.
6932 (struct cpuinfo_data): New.
6933 (process_cpuinfo): Use local and stack variables, not static.
6934 Move readlink check here from init_iosys.
6935 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
6937 (_hae_shift): Calculate it here.
6938 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
6939 add pciconfig_iobase.
6941 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
6943 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
6944 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
6946 * scripts/versions.awk: Fixed version renaming code to distinguish
6949 2000-03-19 Ulrich Drepper <drepper@redhat.com>
6951 * include/stdlib.h: Add prototype for __cxa_atexit.
6953 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
6954 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
6956 2000-03-17 Cristian Gafton <gafton@redhat.com>
6958 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
6959 existing rtld-installed-name.
6960 ($(rtld-installed-name)): Request libc-$(version) be installed too.
6961 replace existing rtld-installed-name using $(symbolic-link-prog).
6963 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
6965 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
6966 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
6967 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
6970 2000-03-19 Ulrich Drepper <drepper@redhat.com>
6972 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
6973 glob64. Since there is no glob64 in the LFS proposal applications
6974 can assume that glob handles LFS situations. glob64 is only needed
6975 if alternative filesystem functions are used.
6977 2000-03-19 Geoff Clare <gwc@unisoft.com>
6979 * sysdeps/generic/glob.c: Correct gl_pathc value returned
6980 when GLOB_DOOFFS is set; correct handling of patterns
6981 containing escaped wildcards (and no unescaped ones);
6982 GLOB_ERR flag was being ignored in some situations.
6984 * posix/globtest.c, posix/globtest.sh: Updated to include
6985 tests for the problems fixed by the above changes to glob.c.
6987 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
6989 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
6991 * Makeconfig (soversion.i): Use only first match for each lib.
6993 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
6995 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
6996 rather than $(sysd-dirs-done) to protect these rules.
6998 * Makerules (version-renames.def): Target removed.
6999 (Versions.all): Depend on soversions.i directly and parse it.
7001 * Makeconfig (soversions.i): New target, input-reading parts of
7002 soversions.mk generation moved here; result is a canonicalized
7003 list "LIB VERSION [SET]" for this configuration.
7004 (soversions.mk): Use that as input. Don't emit map-firstversions.
7005 * Makerules (version-renames.def): New target, generated from
7006 soversions.i with contents that was in $(map-firstversions).
7007 (Versions.all): Don't depend on soversions.mk, depend on
7008 version-renames.def instead; just cat it into the input.
7010 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
7011 for $(map-firstversions), which better handles it being empty.
7013 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
7014 supported version for libc 0.2.90.libio to GLIBC_2.2.
7016 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
7017 and use it to emit new variable `map-firstversions'.
7018 * scripts/firstversions.awk: New file.
7019 * Makerules (Versions.all): Use scripts/firstversions.awk and
7020 the $(map-firstversions) value to generate a modified versions list
7021 that includes renames in "A = B" syntax for each version set earlier
7022 than the "earliest symbol version" named in shlib-versions.
7023 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
7024 rename version set A to B in the output to the intermediate file.
7025 * scripts/abi-versions.awk: New file.
7026 * Makerules (abi-versions.h): New target, generated by that script.
7027 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
7028 * include/shlib-compat.h: New file, uses that generated header.
7030 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
7032 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
7033 after stripping # comments, and then run it through cpp.
7034 This allows things like "%ifdef FOO" based on config.h settings.
7035 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
7037 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
7038 and other errors that indicate a pseudo-receive happened, grok through
7039 the message buffer for port rights that need references fixed up.
7041 2000-03-16 Andreas Jaeger <aj@suse.de>
7043 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
7045 * sysdeps/unix/sysv/linux/madvise.c: Remove.
7047 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
7048 from latest Linux kernel.
7049 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
7051 * misc/sys/mman.h: Add prototype for mincore.
7053 2000-03-17 Ulrich Drepper <drepper@redhat.com>
7055 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
7056 entry for GLIBC_2.0 version of setrlimit.
7057 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7059 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
7061 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
7062 * nis/nss_compat/compat-initgroups.c: Likewise.
7063 * nis/nss_nis/nis-initgroups.c: Likewise.
7064 * nis/nss_nis/nis-netgrp.c: Likewise.
7065 * nis/nss_nis/nis-proto.c: Likewise.
7066 * nis/nss_nis/nis-rpc.c: Likewise.
7067 * nis/nss_nis/nis-service.c: Likewise.
7068 * nis/ypclnt.c: Likewise.
7070 2000-03-16 Andreas Jaeger <aj@suse.de>
7072 * manual/Makefile: MAKEINFO is set to `:' from configure if it
7073 doesn't exist, correct checks. Fixes PR libc/1649.
7075 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
7077 * nscd/hstcache.c: Restore correct UID.
7078 * nscd/pwdcache.c: Likewise.
7079 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
7081 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
7083 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
7084 macros for register names, in line with 2000-03-14 linux change.
7086 * sysdeps/mach/sched_yield.c: New file.
7088 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
7090 * sysdeps/generic/lockfile.c: Include <stdio.h>
7091 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
7092 case <libio.h> defined them.
7093 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
7095 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
7096 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
7098 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
7099 for more pleasing parse error.
7101 2000-03-16 Ulrich Drepper <drepper@redhat.com>
7103 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
7105 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7107 * elf/Makefile: Add rules to compile and run constload1 test.
7108 * elf/constload1.c: New file.
7109 * elf/constload2.c: New file.
7110 * elf/constload3.c: New file.
7112 2000-03-15 Ulrich Drepper <drepper@redhat.com>
7114 * sysdeps/posix/open64.c: Make __open64 weak alias.
7115 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
7116 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7117 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
7118 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7119 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
7120 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
7121 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7122 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
7123 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7124 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
7126 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7128 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
7129 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
7131 2000-03-16 Mark Kettenis <kettenis@gnu.org>
7133 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
7134 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
7136 2000-03-08 Andreas Jaeger <aj@suse.de>
7138 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
7140 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7142 * timezone/africa: Update from tzdata2000d.
7143 * timezone/asia: Likewise.
7144 * timezone/australasia: Likewise.
7145 * timezone/europe: Likewise.
7146 * timezone/northamerica: Likewise.
7147 * timezone/southamerica: Likewise.
7149 * po/fr.po: Update from translation team.
7150 * po/de.po: Likewise.
7152 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
7153 last parameter. Move code to add map to global scope from here...
7154 * elf/dl-open.c (dl_open_worker): ...here.
7155 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
7156 * elf/rtld.c: Adjust call to _dl_map_object_deps.
7158 * locale/programs/ld-collate.c (collate_read): Fix warning.
7160 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
7161 values and macros for register names.
7163 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
7164 returned by seek cookie function is -1.
7166 2000-03-14 Andreas Jaeger <aj@suse.de>
7168 * locale/localeconv.c (localeconv): Fix typo.
7169 Reported by Andre Charbonneau <andrec@corel.com>.
7171 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7173 * iconv/skeleton.c: Increment __invocation_counter in inner loop
7174 since modules depend on it counting the number of times the conversion
7175 function got called.
7177 * iconv/gconv_open.c: Optimize loop to setup step data structure.
7179 * iconv/gconv.h: Pretty print.
7181 2000-03-04 Ulrich Drepper <drepper@redhat.com>
7183 * posix/wordexp-test.c: Correct one of the tests added in the last
7184 change. Really get the root passwd entry to check again ~root.
7186 2000-03-10 Andreas Jaeger <aj@suse.de>
7188 * manual/filesys.texi (Working Directory): Fix last patch.
7189 Patch by Martin Buchholz <martin@xemacs.org>.
7191 2000-03-10 Andreas Jaeger <aj@suse.de>
7193 * manual/creature.texi (Feature Test Macros): Fix language.
7195 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
7197 * mach/devstream.c (devstream_write, devstream_read): New functions.
7198 (input, output): Functions removed.
7199 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
7200 using only the vanilla fopencookie interface.
7202 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
7203 as macro for __io_functions.
7204 (funcsio): Use cookie_io_functions_t type name.
7205 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
7207 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
7209 (fopencookie): Use it.
7210 * libio/libio.h: Declare _IO_cookie_init.
7211 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
7214 * libio/libio.h (__io_seek_fn): Fix second argument type
7215 to be a pointer, in line with the manual and the old stdio.
7216 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
7218 * sysdeps/generic/bits/stdio-lock.h: New file.
7219 This is a stub with #error, but that's better than no file at all.
7221 2000-03-09 Martin Buchholz <martin@xemacs.org>
7223 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
7224 * manual/message.texi (Using gettextized software): Doc Fixes.
7225 * manual/message.texi (Message Translation): Doc Fixes.
7226 * manual/filesys.texi (File Size): Doc Fixes.
7227 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
7228 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
7229 * iconv/gconv_db.c (find_derivation): Doc Fixes.
7230 * manual/install.texi: Doc Fixes.
7231 * manual/search.texi (Hash Search Function): Doc Fixes.
7232 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
7233 * FAQ.in: Doc Fixes.
7234 * config.h.in: Doc Fixes.
7235 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
7236 Doc Fixes. `allows to' is not correct English.
7238 * elf/rtld.c: Doc fixes.
7239 * manual/creature.texi (Feature Test Macros): Doc fixes.
7240 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
7242 * manual/filesys.texi (Working Directory): Check for ERANGE to
7245 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
7247 * string/argz-stringify.c (__argz_stringify): Fix loop termination
7248 conditions so as not to clobber the final '\0' when there is only one
7249 element in the vector.
7251 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
7253 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
7254 broken by 2000-02-27 change.
7256 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
7258 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
7260 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
7261 argument type, for 2000-02-22 change in signal/signal.h declaration.
7263 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
7265 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
7266 to getdirentries64 (no __), since the Linux implementation
7267 has no __ name, and there is no declaration for the __ name.
7269 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
7271 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
7272 sed regexp so as not to break directory names including /../ within.
7274 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
7275 The sysdeps/generic file is right for BSD. This file was in fact the
7276 Hurd file, but the only difference was the WNOREAP flag that was never
7277 actually implemented or used anywhere.
7279 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
7280 since AC_PATH_PROG already does it for us.
7281 (PERL): Rewrite check added in 2000-02-29 change for syntactic
7282 correctness and sh portability. I replaced the broken check
7283 with a more sensible implementation of the apparently intended
7284 semantics, which might still be questionable. Using expr causes
7285 a non-numeric value for `perl -V:apiversion` to be accepted,
7286 refusing to use only a perl that reports a number less than 5;
7287 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
7288 * configure: Regenerated.
7290 2000-03-08 Andreas Jaeger <aj@suse.de>
7292 * manual/crypt.texi: Fix paths.
7294 2000-03-07 Andreas Jaeger <aj@suse.de>
7296 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
7298 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
7301 2000-03-06 Andreas Jaeger <aj@suse.de>
7303 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
7304 in __sgn1l, otherwise g++ fails to parse this.
7305 Reported by Sean Chen <sean.chen@turbolinux.com>.
7307 2000-03-03 Geoff Keating <geoffk@cygnus.com>
7309 * configure.in: Compute sizeof-long-double.
7310 * configure: Regenerated.
7311 * config.make.in: Make sizeof-long-double available to sub-makes.
7313 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
7315 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
7318 2000-03-03 Geoff Keating <geoffk@cygnus.com>
7320 * Makeconfig (rpath-dirs): Add crypt.
7321 (all-subdirs): Remove md5crypt.
7322 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
7323 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
7324 * sysdeps/generic/crypt-entry.c: Delete.
7325 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
7326 * sysdeps/generic/crypt.h: Delete.
7327 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
7328 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
7329 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
7330 * sysdeps/generic/des_impl.c: Delete.
7331 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
7332 * crypt/sysdeps: Delete.
7333 * crypt/crypt_util.c: Don't use `patchlevel.h'.
7334 * md5-crypt/Versions: Move to crypt/.
7335 * md5-crypt/md5-crypt.c: Move to crypt/.
7336 * md5-crypt/md5.c: Move to crypt/.
7337 * md5-crypt/md5c-test.c: Move to crypt/.
7338 * md5-crypt/md5test.c: Move to crypt/.
7339 * md5-crypt: Delete.
7340 * crypt/Makefile: Adjust for new structure.
7342 2000-03-03 Paul Eggert <eggert@twinsun.com>
7344 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
7345 define to 1 if not defined.
7347 2000-03-03 Andreas Jaeger <aj@suse.de>
7349 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
7351 2000-03-03 Andreas Jaeger <aj@suse.de>
7353 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
7355 (xdr_int64_t): Correctly handle lower half.
7356 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
7358 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
7360 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
7363 2000-03-02 Andreas Jaeger <aj@suse.de>
7365 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
7368 2000-03-02 Andreas Jaeger <aj@suse.de>
7370 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
7372 2000-03-01 Andreas Jaeger <aj@suse.de>
7374 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
7375 (tests): Added tst-getdate.
7377 * time/tst-getdate.c: New file.
7379 * time/datemsk: New file, needed for tst-getdate.
7381 2000-02-29 Cristian Gafton <gafton@redhat.com>
7383 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
7385 2000-02-17 H.J. Lu <hjl@gnu.org>
7387 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
7389 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
7391 (svcudp_recv): Set up message with the new "xp_pad" field for
7393 (svcudp_reply): Support IP_PKTINFO if available.
7395 2000-03-01 Andreas Jaeger <aj@suse.de>
7397 * time/getdate.c (check_mday): Fix check for february.
7398 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
7399 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
7401 2000-03-02 Andreas Jaeger <aj@suse.de>
7403 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
7404 g++ fails to parse this.
7405 Reported by Sean Chen <sean.chen@turbolinux.com>.
7407 2000-02-28 Ulrich Drepper <drepper@redhat.com>
7409 * io/creat.c: Moved to...
7410 * sysdeps/generic/creat.c: ...here.
7411 * io/creat64.c: Moved to...
7412 * sysdeps/generic/creat64.c: ...here.
7413 * io/lockf.c: Moved to...
7414 * sysdeps/generic/lockf.c: ...here.
7416 * crypt/crypt.texi: Moved to...
7417 * manual/crypt.texi: ...here.
7418 * crypt/examples/genpass.c: Moved to...
7419 * manual/examples/genpass.c: ...here.
7420 * crypt/examples/mygenpass.c: Moved to...
7421 * manual/examples/mygenpass.c: ...here.
7422 * crypt/examples/testpass.c: Moved to...
7423 * manual/examples/testpass.c: ...here.
7425 * manual/Makefile (chapters): Add crypt.
7426 * manual/conf.texi: Add usual header for not-last chapter.
7427 * manual/crypt.texi: Add special header for last chapter.
7429 2000-02-28 Geoff Keating <geoffk@cygnus.com>
7431 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
7432 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
7433 complain if there is no crypt add-on.
7434 * crypt/configure: Removed.
7436 * crypt/crypt.texi: Update documentation of US export restrictions
7437 to match the 14 Jan 2000 regulations.
7439 2000-02-28 Geoff Keating <geoffk@cygnus.com>
7441 * crypt: New subdirectory, merged in from the crypt add-on.
7443 2000-02-28 Ulrich Drepper <drepper@redhat.com>
7445 * include/unistd.h: Add __rmdir and __mkdir prototypes.
7448 See ChangeLog.10 for earlier changes.