1 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3 * posix/fnmatch_loop.c: Fixes for use outside glibc.
4 Patch by MacGyver <macgyver@tos.net>.
6 2000-07-26 Andreas Jaeger <aj@suse.de>
8 * rt/tst-aio4.c: New file, slighlty modified version of tst-aio2.
9 * rt/tst-aio5.c: New file, slighlty modified version of tst-aio2.
10 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
12 * rt/tst-aio.c (test_file): Fix typo.
13 * rt/tst-aio64.c (test_file): Likewise.
15 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
16 * rt/Makefile: Add rules to build and run tst-aio3.
18 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
19 it's not needed and confuses only.
21 2000-07-26 Ulrich Drepper <drepper@redhat.com>
23 * resolv/res_init.c: Add support for nameserver communication with
25 * resolv/res_send.c: Likewise.
26 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
28 Patch by <venaas@nvg.ntnu.no>.
30 2000-07-25 Bruno Haible <haible@clisp.cons.org>
32 * locale/programs/ld-ctype.c (wctype_table_get): New function.
33 (wcwidth_table_get): New function.
34 (wcwidth_table_add): Call it.
35 (wctrans_table_get): New function.
36 (wctrans_table_add): Call it.
38 2000-07-25 Ulrich Drepper <drepper@redhat.com>
40 * rt/lio_listio.c (lio_listio): Always disable individual
42 * rt/Makefile: Add rules to build and run tst-aio2.
43 * rt/tst-aio2.c: New file.
45 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
46 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
48 2000-07-25 Mark Kettenis <kettenis@gnu.org>
50 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
51 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
52 leading and trailing spaces from host, user and domain name.
54 2000-07-25 Jes Sorensen <jes@linuxcare.com>
56 * csu/defs.awk: Add support for need_endp.
58 2000-07-25 Mark Kettenis <kettenis@gnu.org>
60 * resolv/resolv.h: Remove __P from res_send_qhook and
61 res_send_rhook typedefs.
63 2000-07-25 Bruno Haible <haible@clisp.cons.org>
65 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
67 2000-07-25 Ulrich Drepper <drepper@redhat.com>
69 * iconv/gconv_builtin.h: Add WCHAR_T alias.
71 2000-07-25 Mark Kettenis <kettenis@gnu.org>
73 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
74 calling thread, set the cancellation flag and return success
77 2000-07-25 Ulrich Drepper <drepper@redhat.com>
79 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
80 * libio/tst-widetext.c: New file.
81 * libio/tst-widetext.input: New file.
83 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
85 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
86 empty external buffer correctly.
88 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
90 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
91 __STRING(entry) and not #entry.
92 (_RTLD_EPILOGUE): Likewise.
93 * sysdeps/mips/mips64/dl-machine.h: Likewise.
95 2000-07-25 Andreas Jaeger <aj@suse.de>
97 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
98 according to changes in test program, run also with static only
100 ($(objpfx)tst-printf.out): Likewise.
102 * stdio-common/tst-unbputc.sh: Likewise.
103 * stdio-common/tst-printf.sh: Likewise.
105 2000-07-25 Ulrich Drepper <drepper@redhat.com>
107 * libio/wfileops.c (_IO_wdo_write): Correct return value.
109 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
112 * libio/fileops.c: Pretty print.
114 2000-07-23 Bruno Haible <haible@clisp.cons.org>
116 * wctype/wchar-lookup.h: New file.
117 * wctype/iswctype.c: Include "wchar-lookup.h".
118 (__iswctype): Support alternate locale format with 3-level tables.
119 * wctype/iswctype_l.c (__iswctype_l): Likewise.
120 * wctype/towctrans.c (__towctrans): Likewise.
121 * wctype/towctrans_l.c (__towctrans_l): Likewise.
122 * wctype/wcfuncs.c: Include "wchar-lookup.h".
123 (__ctype32_wctype, __ctype32_wctrans): Declare external.
124 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
125 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
126 __iswxdigit, towlower, towupper): Support alternate locale format
128 * wctype/wcextra.c (iswblank): Likewise.
129 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
130 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
131 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
132 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
133 format with 3-level tables.
134 * wctype/wcextra_l.c (__iswblank_l): Likewise.
135 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
136 format, return a 3-level table pointer.
137 * wctype/wctype_l.c (__wctype_l): Likewise.
138 * wctype/wctrans.c (wctrans): Likewise.
139 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
140 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
141 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
142 (iswctype): Remove macro definition.
143 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
144 (internal_wcwidth): Support alternate locale format with 3-level
146 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
148 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
149 Define them as being type "word".
150 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
151 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
152 __ctype32_width): New exported variables.
153 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
154 alternate locale format. Don't initialize __ctype_names and
155 __ctype_width in the alternate locale format.
156 * locale/programs/localedef.h (oldstyle_tables): New declaration.
157 * locale/programs/localedef.c (oldstyle_tables): New variable.
158 (OPT_OLDSTYLE): New macro.
159 (options): Add --old-style option.
160 (parse_opt): Handle --old-style option.
161 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
162 map_offset, class_3level, map_3level, width_3level members.
163 (ctype_output): Support for alternate locale format: Computation of
164 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
165 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
166 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
167 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
168 now contain both class and map tables.
169 (struct wctype_table): New type.
170 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
172 (struct wcwidth_table): New type.
173 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
175 (struct wctrans_table): New type.
176 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
178 (allocate_arrays): Support for alternate locale format: Set
179 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
180 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
181 to the first 256 characters. Compute ctype->map_3level. Set
182 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
183 instead of ctype->width.
185 2000-07-24 Ulrich Drepper <drepper@redhat.com>
187 * libio/iogetwline.c (_IO_getwline_info): Use wide character
190 2000-07-24 Jakub Jelinek <jakub@redhat.com>
192 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
193 in wide characters, not bytes.
194 * libio/tst_putwc.c (do_test): Add test for writing lots of data
197 2000-07-22 Bruno Haible <haible@clisp.cons.org>
199 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
200 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
201 LC_MEASUREMENT, LC_IDENTIFICATION.
203 * locale/xlocale.h (struct __locale_struct): Increase size of
205 * locale/duplocale.c (__duplocale): Copy newly added categories as
207 * locale/freelocale.c (__freelocale): Free newly added categories.
208 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
209 If a base is given, use it, don't simply return it.
211 2000-07-22 Bruno Haible <haible@clisp.cons.org>
213 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
214 variables, copied_key and copied_salt, instead of boolean variables.
216 2000-07-24 Andreas Jaeger <aj@suse.de>
218 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
221 * grp/initgroups.c (initgroups_dyn_function): Renamed from
222 initgroups_function, adopted prototype for change from 2000-07-23.
223 (initgroups): Follow type change.
225 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
226 & PAGE_MASK case, reformat.
228 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
229 from stdin and setup environment.
231 2000-07-24 Andreas Schwab <schwab@suse.de>
233 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
235 2000-07-23 Ulrich Drepper <drepper@redhat.com>
237 * string/endian.h: Explain the _*_ENDIAN constant values a bit
238 more. Patch by scarlet@mit.edu [PR libc/1799].
240 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
243 * argp/argp-parse.c (parser_finalize): Reverse order in which
244 parsers are run for ARGP_KEY_END. [PR libc/1755].
246 * grp/initgroups.c (initgroups): Don't limit the possible number
247 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
248 the setgroups call while the call fails and descrease the number
249 of groups each round.
250 The name of the initgroups function in the NSS modules changed.
251 (compat_call): Adapt for dynamic resizing.
252 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
253 Implement dynamic resizing.
254 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
256 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
257 * hesiod/Versions: Change exported interface name.
258 * nis/Versions: Change exported interface name.
260 2000-07-23 Ulrich Drepper <drepper@redhat.com>
262 * locale/iso-639.def: Some errors corrected.
263 Patch by Keld Simonsen.
265 * include/limits.h: Update non-gcc portion.
266 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
268 2000-07-22 Mark Kettenis <kettenis@gnu.org>
270 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
271 program's data space, reallocate only the space that was just
272 deallocated to release its backing space.
274 2000-07-23 Ulrich Drepper <drepper@redhat.com>
276 * stdio-common/vfprintf.c (process_string_arg): For wide character
277 version, handle precision also correctly.
279 * nss/nss_files/files-hosts.c: Correct problem with three or more
280 entries with the same name.
282 * nss/nss_files/files-hosts.c: Implement multi handling.
283 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
285 2000-07-22 Ulrich Drepper <drepper@redhat.com>
287 * nss/nss_files/files-parse.c: Don't pollute namespace by using
290 * grp/Makefile: Change Makefiles and tests to run only when necessary.
291 * malloc/Makefile: Likewise.
292 * malloc/tst-mtrace.sh: Likewise.
293 * posix/Makefile: Likewise.
294 * posix/globtest.sh: Likewise.
295 * posix/wordexp-tst.sh: Likewise.
296 * string/Makefile: Likewise.
298 2000-07-22 Mark Kettenis <kettenis@gnu.org>
300 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
301 size instead of LC_ALL to take into account the new locale
304 2000-07-22 Ulrich Drepper <drepper@redhat.com>
306 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
307 remainders of hash table.
308 * locale/categories.def: Remove remainders of transliteration
310 * locale/langinfo.h: Likewise.
311 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
312 transliteration tables.
314 * locale/gen-translit.pl: New file.
315 * locale/C-translit.h.in: New file.
316 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
317 data pointers with data from this file.
318 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
320 Add rule to generate C-translit.h.
321 * intl/tst-translit.c (main): Update for now performed
324 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
325 (it's no input error).
326 * stdio-common/tstscanf.c: Add test case for format %f with input --.
327 * stdio-common/scanf12.c: Correct expected result for first scanf.
329 * stdio-common/vfprintf.c (process_string_arg): Correct handling
330 of multibyte character strings in %s format with precision.
332 2000-07-21 Ulrich Drepper <drepper@redhat.com>
334 * locale/programs/ld-collate.c (collate_read): Allow collating
335 symbols and elements be named in reorder-after instructions.
336 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
338 * locale/programs/ld-collate.c (handle_ellipsis): Test for
339 duplication with generated name, not the name of the first
341 Patch by Yong Li <yong.li@asu.edu>.
343 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
344 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
346 2000-07-21 Wolfram Gloger <wg@malloc.de>
348 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
349 allocations only if a non-main arena cannot be extended.
351 2000-07-21 Ulrich Drepper <drepper@redhat.com>
353 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
354 in DF_1_NODEFLIB handling.
356 2000-07-21 Andreas Jaeger <aj@suse.de>
358 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
361 * libio/fwide.c: Include <wchar.h> for prototype.
363 2000-07-21 Greg McGary <greg@mcgary.org>
365 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
366 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
367 Define in terms of chunk_at_offset.
368 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
369 (next_bin, prev_bin): offset by size of real array elements.
370 (chunk_align): Make `m' a scalar, since that's how it's used.
372 2000-07-21 Greg McGary <greg@mcgary.org>
374 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
376 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
377 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
378 Wrap bounds around argv & envp and each of their string members.
379 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
380 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
381 symbol in BP_SYM (). Discard bounds of address arg.
382 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
383 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
384 Discard bounds on address arg, add bounds to return value.
386 2000-07-20 Ulrich Drepper <drepper@redhat.com>
388 * elf/Makefile (tests): Add filter. Add rules to generate filter.
389 * elf/filter.c: New file.
390 * elf/filtmod1.c: New file.
391 * elf/filtmod2.c: New file.
393 * elf/rtld.c: Define _dl_bind_not variable.
394 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
395 * elf/dl-support.c: Likewise.
396 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
397 * elf/dl-runtime.c (fixup): Don't remember looked up value if
399 (profile_fixup): Likewise.
401 * libio/Makefile (routines): Add fwide.
402 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
403 fwide now. Internal calls to _IO_fwide must do locking themselves
404 or don't need locking.
405 * libio/fwide.c: New file.
407 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
409 * elf/Makefile: Add no modules for nodelete test.
410 * elf/nodelmod3.c: New file.
411 * elf/nodelmod4.c: New file.
412 * elf/nodelete.c: Also test case where dependency of dlopen() object
415 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
416 * elf/nodlopen.c: New file.
417 * elf/nodlopenmod.c: New file.
418 * include/dlfcn.h: Define __RTLD_DLOPEN.
419 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
420 and this is a dlopen() call, do not load the binary.
421 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
422 * dlfcn/dlopenold.c: Likewise.
423 * configure.in: Add test for -z nodelete option.
424 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
426 2000-07-20 Mark Kettenis <kettenis@gnu.org>
428 Make Hesiod NSS module thread-safe.
430 * hesiod/README.hesiod: Update.
432 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
433 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
434 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
435 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
437 * hesiod/nss_hesiod/hesiod-init.c: New file.
438 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
439 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
440 * hesiod/nss_hesiod/nss_hesiod.h: New file.
441 * hesiod/nss_hesiod/hesiod-service.c
442 (_nss_hesiod_getservbyport_r): New function. Provide support for
443 looking up services by port number.
444 * hesiod/nss_hesiod/hesiod-proto.c: New file.
446 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
447 * hesiod/hesiod.h: Likewise.
448 * hesiod/hesiod_p.h: Likewise.
450 2000-07-20 Mark Kettenis <kettenis@gnu.org>
452 Fix problems with `struct __res_state' getting too big.
453 * resolv/resolv.h (struct __sockaddr_in): New definition.
454 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
455 the private parts of the structure to save some space.
456 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
457 (struct sockaddr_in *) in call to sock_eq.
458 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
460 2000-07-20 Ulrich Drepper <drepper@redhat.com>
462 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
463 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
465 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
466 to _dl_map_object. Return immediately if no object loaded.
467 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
468 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
469 if it exists into l_flags_1 word.
470 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
471 it to determine whether loading is wanted or not.
472 (_dl_map_object): Likewise.
473 Call _dl_map_object_from_fd with new parameter.
474 * sysdeps/generic/ldsodefs.h: Update prototype.
475 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
476 * elf/rtld.c: Likewise.
477 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
478 * elf/Makefile (tests): Add noload. Add rules to generate noload.
479 * elf/noload.c: New file.
480 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
481 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
482 * sysdeps/mips/bits/dlfcn.h: Likewise.
483 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
484 (tests-nodelete-yes): Define.
485 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
486 Add rules to build nodelete and modules.
487 * elf/nodelete.c: New file.
488 * elf/nodelmod1.c: New file.
489 * elf/nodelmod2.c: New file.
490 * configure.in: Add test for -z nodelete option.
491 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
493 * libio/Makefile (tests): Add tst_wprintf2.
494 (tst_wprintf2-ARGS): Define.
495 * libio/tst_wprintf2.c: New file.
496 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
498 * libio/wfiledoalloc.c: Only allocate external buffer if this
501 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
502 something in the buffer. gconv call can write up to end of the
503 buffer, not only _IO_write_end.
504 (_IO_wfile_overflow): Allocate also external buffer.
506 2000-07-19 Ulrich Drepper <drepper@redhat.com>
508 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
509 strings with precision in vfwprintf correctly.
510 * stdio-common/vfprintf.c: Fix completely broken handling of
511 unbuffered wide character streams.
512 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
514 * resolv/Makefile (distribute): Add README.
516 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
518 2000-07-18 Mark Kettenis <kettenis@gnu.org>
520 Update resolver code to BIND 8.2.3-T5B.
522 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
524 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
525 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
527 * resolv/Banner: BIND-8.2.3-T5B.
529 * resolv/base64.c: Update from BIND 8.2.3-T5B.
530 * resolv/herror.c: Likewise.
531 * resolv/inet_addr.c: Likewise.
532 * resolv/inet_net_ntop.c: Likewise.
533 * resolv/inet_net_pton.c: Likewise.
534 * resolv/inet_neta.c: Likewise.
535 * resolv/inet_ntop.c: Likewise.
536 * resolv/nsap_addr.c: Likewise.
537 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
538 IPv6 addresses (ISC bug #520).
540 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
541 * resolv/ns_parse.c: Likewise.
542 * resolv/ns_netint.c: Likewise.
543 * resolv/ns_samedomain.c: Likewise.
544 * resolv/ns_ttl.c: Likewise.
545 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
546 RCS ID in object file.
548 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
549 * resolv/res_mkquery.c: Likewise.
550 * resolv/res_query.c: Likewise.
551 * resolv/res_init.c: Likewise.
552 (res_setoptions): Mark internal.
553 * resolv/res_send.c: Likewise.
554 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
555 by using poll instead.
556 * resolv/res_comp.c: Likewise.
557 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
558 weak alias for __dn_expand.
559 * resolv/res_data.c: Likewise.
560 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
561 in _res.options. Avoids a potential security risk by avoiding a
563 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
564 res_mkquery, res_query, res_querydomain adn res_search weak
565 aliases for __res_mkquery, __res_query, __res_querydomain and
567 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
568 instead to avoid close(0).
569 (res_init): Always use the static resolver context.
570 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
571 alias for __res_init.
573 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
574 RES_SET_H_ERRNO and accompanying comment to...
575 * include/resolv.h: ... here.
577 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
578 * resolv/arpa/nameser_compat.h: Likewise.
580 2000-07-18 Ulrich Drepper <drepper@redhat.com>
582 * nss/makedb.c (main): Compare result of load_db with
583 NSS_STATUS_SUCCESS and not 0.
584 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
586 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
588 2000-07-18 Greg McGary <greg@mcgary.org>
590 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
591 (EXTEND_BUFFER): Use it.
593 2000-07-18 Ulrich Drepper <drepper@redhat.com>
595 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
596 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
597 __builtin_return_address.
598 * dlfcn/dlopenold.c: Likewise.
599 * dlfcn/dlsym.c: Likewise.
600 * dlfcn/dlvsym.c: Likewise.
601 * elf/dl-profstub.c: Likewise.
602 * malloc/malloc.c: Likewise.
603 * sysdeps/generic/machine-gmon.h: Likewise.
604 Based on a patch by schwidefsky@de.ibm.com.
606 2000-07-18 Andreas Jaeger <aj@suse.de>
608 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
609 NULL to elf_machine_fixup_plt t argument to silence GCC.
611 * include/string.h: Add prototype for __memchr.
613 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
615 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
618 2000-07-18 Ulrich Drepper <drepper@redhat.com>
620 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
622 * locale/C-ctype.c: Add initializers for gap elements.
623 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
626 2000-07-16 Ulrich Drepper <drepper@redhat.com>
628 * nscd/nscd.c (print_version): Update copyright year.
630 2000-07-17 Greg McGary <greg@mcgary.org>
632 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
633 keyletters F, I, S, W. Remove unused keyletter V. Surround
634 signature argnames with angle-brackets for use as word delimiters,
635 and to induce syntax errors for any args not handled. Split
636 multi-echo echoes and comment each stage.
637 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
638 * sysdeps/unix/inet/syscalls.list: Likewise.
639 * sysdeps/unix/mman/syscalls.list: Likewise.
640 * sysdeps/unix/syscalls.list: Likewise.
641 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
642 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
643 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
644 * sysdeps/unix/sysv/syscalls.list: Likewise.
645 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
647 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
648 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
649 qualifiers. Don't check NULL-terminator of argv & envp.
650 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
651 unbounded pointer type in word-size assertion.
652 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
653 cases to stifle warnings.
655 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
657 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
659 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
660 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
663 * Makerules (o-objects): Supplement with $(o-objects$o).
664 * string/Makefile (o-objects.ob): Add variable to pull
665 unbounded versions of memcpy, memset and memchr into libc_b.
667 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
668 rather than non-existent __ubp_memchr.
669 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
670 (_CHECK_STRING, _CHECK_N): New macros.
671 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
672 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
673 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
674 Add weak alias "memchr".
675 * sysdeps/generic/memchr.c: Likewise.
676 * sysdeps/i386/memchr.S: Likewise.
677 * sysdeps/ia64/memchr.S: Likewise.
678 * sysdeps/m68k/memchr.S: Likewise.
679 * sysdeps/sparc/sparc32/memchr.S: Likewise.
680 * sysdeps/sparc/sparc64/memchr.S: Likewise.
681 * sysdeps/vax/memchr.s: Likewise.
683 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
685 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
686 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
687 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
688 __BOUNDED_POINTERS__.
689 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
690 for __BOUNDED_POINTERS__.
692 2000-07-17 Bruno Haible <haible@clisp.cons.org>
694 * iconv/gconv_open.c (__gconv_open): Initialize the __data
695 field of struct __gconv_trans_data differently. Don't pass NULL to
696 trans_init_fct. Simplify list append operation.
698 2000-07-14 Bruno Haible <haible@clisp.cons.org>
700 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
701 not only those having tsearch.
703 2000-07-17 Ulrich Drepper <drepper@redhat.com>
705 * locale/langinfo.h: Add placeholder values in enum for removed
708 2000-07-17 Jakub Jelinek <jakub@redhat.com>
710 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
711 chain if the PHDR check fails.
713 2000-07-17 Mark Kettenis <kettenis@gnu.org>
715 * nss/getent.c (print_hosts): Make sure we always print a space
716 between numeric addresses and hostnames.
718 2000-07-17 Wolfram Gloger <wg@malloc.de>
720 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
721 i.e. if n_mmaps_max>0.
723 2000-07-16 Mark Kettenis <kettenis@gnu.org>
725 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
726 values to remove possible clash with other AI_* constants.
727 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
728 hexadecimal constants to stress the fact they're in fact
731 2000-07-15 Mark Kettenis <kettenis@gnu.org>
733 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
734 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
737 2000-07-16 Ulrich Drepper <drepper@redhat.com>
739 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
740 parameters of memset calls to avoid warnings.
742 2000-07-15 Ulrich Drepper <drepper@redhat.com>
744 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
747 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
748 Patch by Greg McGary <greg@mcgary.org>.
750 * io/Makefile (tests): Add tst-getcwd.
751 * io/tst-getcwd.c: New file.
753 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
755 2000-07-15 Jakub Jelinek <jakub@redhat.com>
757 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
760 2000-07-13 Jakub Jelinek <jakub@redhat.com>
762 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
763 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
765 2000-07-12 H.J. Lu <hjl@gnu.org>
767 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
769 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
770 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
771 (sysdep-routines): Add clone2.
772 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
774 2000-07-13 Jes Sorensen <jes@linuxcare.com>
776 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
777 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
779 2000-06-05 David Mosberger <davidm@hpl.hp.com>
781 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
782 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
783 Change type of si_band from "int" to "long".
784 (si_imm) [USE_GNU]: Define
785 (si_isr) [USE_GNU]: Ditto.
786 (ILL_BREAK) [USE_GNU]: Ditto.
787 (FPE_DECOVF) [USE_GNU]: Ditto.
788 (FPE_DECDIV) [USE_GNU]: Ditto.
789 (FPE_DECERR) [USE_GNU]: Ditto.
790 (FPE_INVASC) [USE_GNU]: Ditto.
791 (FPE_INVDEC) [USE_GNU]: Ditto.
792 (TRAP_BRANCH) [USE_GNU]: Ditto.
793 (TRAP_HWBKPT) [USE_GNU]: Ditto.
795 2000-07-06 Jes Sorensen <jes@linuxcare.com>
797 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
798 bits/sigcontext as struct mcontext does not depend on it.
800 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
802 2000-07-04 Jes Sorensen <jes@linuxcare.com>
804 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
806 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
808 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
810 2000-06-22 Jes Sorensen <jes@linuxcare.com>
812 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
814 2000-07-15 Ulrich Drepper <drepper@redhat.com>
816 * intl/Makefile (test-srcs): Add tst-translit.
818 Add rules to build and run tst-translit.
819 * intl/tst-translit.c: New file.
820 * intl/tst-translit.sh: New file.
821 * intl/translit.po: New file.
823 2000-07-14 Ulrich Drepper <drepper@redhat.com>
825 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
826 transliteration function did its job, continue, don't stop.
828 * iconvdata/iso646.c: Little optimizations in body for conversion
831 2000-07-14 Mark Kettenis <kettenis@gnu.org>
833 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
835 2000-07-14 Mark Kettenis <kettenis@gnu.org>
837 * configure.in: Check for pwd binary.
838 * config.make.in: Add PWD_P to be subsituted.
839 * Makerules: Use $(PWD_P) instead of /bin/pwd.
841 2000-07-14 Ulrich Drepper <drepper@redhat.com>
843 * iconvdata/Makefile (modules): Add GB18030.
844 (distribute): Add gb18030.c.
845 * iconvdata/gconv-modules: Add entries for GB18030 module.
846 * iconvdata/gb18030.c: New file.
847 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
850 2000-07-13 Andreas Jaeger <aj@suse.de>
852 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
855 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
856 * inet/getnetgrent.c (free_mem): Likewise.
857 * misc/mntent.c (free_mem): Likewise.
858 * nss/getXXbyYY.c (free_mem): Likewise.
859 * nss/getXXent.c (free_mem): Likewise.
860 * pwd/fgetpwent.c (free_mem): Likewise.
861 * shadow/fgetspent.c (free_mem): Likewise.
863 2000-07-14 Ulrich Drepper <drepper@redhat.com>
865 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
866 64-bit architecture correctly [PR libc/1794].
868 2000-07-13 Ulrich Drepper <drepper@redhat.com>
870 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
871 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
872 report that we are out of memory.
873 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
874 * elf/dl-libc.c (dlerror_run): Likewise.
875 * elf/dl-open.c (_dl_open): Likewise.
876 * elf/rtld.c (dl_main): Likewise.
877 * elf/dl-error.c: Define _dl_out_of_memory.
878 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
880 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
883 * dlfcn/dlerror.c (free_key_mem): Also free error string.
885 * iconv/loop.c: Fix comment.
887 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
889 2000-07-13 Andreas Jaeger <aj@suse.de>
891 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
892 getcwd (NULL, size) with size > 0.
893 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
895 2000-07-13 Andreas Jaeger <aj@suse.de>
897 * posix/Makefile: Remove build rules for libposix.
899 2000-07-13 Andreas Schwab <schwab@suse.de>
901 * sysdeps/generic/glob.c (glob): Fix memory leak.
902 [SHELL]: Remove reference to undefined variable `files'.
905 2000-07-13 Andreas Jaeger <aj@suse.de>
907 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
910 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
911 memory if it was allocated.
913 2000-07-12 Ulrich Drepper <drepper@redhat.com>
915 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
918 * iconv/gconv_open.c (__gconv_open): Reapply
919 2000-07-12 Bruno Haible <haible@clisp.cons.org>
921 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
923 * iconv/gconv_open.c: Undo last two changes for now. They break
926 2000-07-12 Andreas Jaeger <aj@suse.de>
928 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
930 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
931 (CFLAGS-dl-cache.c): Likewise.
932 (CFLAGS-ldconfig.c): Added, passes directory locations.
934 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
936 * elf/ldconfig.c (LD_SO_CONF): Likewise.
937 (main): Use configured LIBDIR and SLIBDIR.
939 2000-07-11 Jakub Jelinek <jakub@redhat.com>
941 * math/bits/cmathcalls.h (cimag): Add __THROW.
942 (creal, conj): Likewise.
943 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
946 2000-07-12 H.J. Lu <hjl@gnu.org>
948 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
949 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
951 2000-07-12 Ulrich Drepper <drepper@redhat.com>
953 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
956 2000-07-12 Bruno Haible <haible@clisp.cons.org>
958 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
960 2000-07-12 Bruno Haible <haible@clisp.cons.org>
962 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
965 2000-07-12 Bruno Haible <haible@clisp.cons.org>
967 * iconv/gconv_open.c (__gconv_open): Initialize
968 result->__steps[cnt].__data.
970 2000-07-12 Mark Kettenis <kettenis@gnu.org>
972 * nss/getent.c (services_keys): Pass port number in network byte
973 order in call to getservbyport.
975 2000-07-11 Andreas Jaeger <aj@suse.de>
977 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
979 * intl/Makefile (do-gettext-test): Likewise.
980 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
982 2000-07-11 Andreas Schwab <schwab@suse.de>
984 * Makeconfig (run-program-prefix): New rule.
985 (built-program-cmd): Use run-program-prefix.
987 2000-07-12 Ulrich Drepper <drepper@redhat.com>
989 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
990 and NOEXPR unconditionally available.
992 2000-07-12 Greg McGary <greg@mcgary.org>
994 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
995 * sysdeps/posix/open64.c: Likewise.
996 * sysdeps/generic/fegetenv.c: Likewise.
997 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
998 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
999 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1000 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
1001 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
1002 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
1004 2000-07-11 Greg McGary <greg@mcgary.org>
1006 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
1007 Add extra level of macro expansion.
1008 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
1009 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
1010 is available at the time `select' prototype is declared.
1011 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
1012 Collect non-versioned weak aliases. Consider only non-versioned
1013 aliases for the user-visible systemcall name. Do checks inline with
1014 call to primitive system call.
1015 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
1016 stand-alone bounds checks to suppress unused value warnings.
1017 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1019 2000-07-10 Mark Kettenis <kettenis@gnu.org>
1021 * sysdeps/mach/hurd/check_fds.c: New file. Implements
1022 file descriptor checking in SUID programs for the Hurd.
1024 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
1025 res_hostalias instead of __hostalias for thread-safety.
1027 2000-07-09 Mark Kettenis <kettenis@gnu.org>
1029 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
1030 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
1032 2000-07-10 Ulrich Drepper <drepper@redhat.com>
1034 * include/features.h: Include ISO C99 features if the compiler used
1035 is an ISO C99 compiler.
1036 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1038 2000-07-08 Mark Kettenis <kettenis@gnu.org>
1040 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
1042 2000-07-10 Andreas Jaeger <aj@suse.de>
1044 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
1045 it's overridden by libpthreads.
1046 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1047 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1048 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1049 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1050 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1052 * malloc/Makefile: Run tst-mtrace only with shared libs.
1054 * stdio-common/Makefile: Run unbputc and tst-printf tests only
1057 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1059 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
1060 that gpreg really points to the GOT section of the calling object.
1061 Scan all PT_LOAD segments of objects for stub_pc, instead of only
1062 checking a start address of first one.
1064 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
1067 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
1069 2000-07-10 Andreas Jaeger <aj@suse.de>
1071 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
1072 (string_alias->strong_alias).
1074 2000-07-08 Mark Kettenis <kettenis@gnu.org>
1076 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
1078 2000-07-07 Greg McGary <greg@mcgary.org>
1080 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
1081 have no names without leading underscores.
1083 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1085 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
1088 * stdio-common/Makefile (tests): Remove tst-printf here...
1089 (tests-srcs): ...and add it here.
1090 (distribute): Add tst-unbputc.sh and tst-printf.sh.
1091 Add rules to run tst-printf.sh.
1092 * stdio-common/tst-printf.c: Move code around so that there is really
1093 no further output where it's stated.
1094 * stdio-common/tst-printf.sh: New file.
1096 2000-07-07 Mark Kettenis <kettenis@gnu.org>
1098 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
1099 (do_write): Renamed from pwrite.
1100 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
1101 `struct _IO_cookie_file'.
1103 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1105 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
1107 * malloc/tst-mtrace.sh: Run mtrace script.
1109 2000-07-07 Greg McGary <greg@mcgary.org>
1111 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
1112 Move all three components of a bounded pointer.
1114 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1116 * locale/programs/locale.c (write_locales): Don't simply add all
1117 directories found in the subdir, test whether at least the
1118 LC_CTYPE file is in there.
1120 2000-07-06 Ulrich Drepper <drepper@redhat.com>
1122 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
1123 * iconvdata/euc-kr.c: Likewise.
1125 * stdio-common/vfprintf.c (process_string_arg): Check result of
1126 wcrtomb call and bail out if it failed.
1128 * malloc/Makefile (test-srcs): Add tst-mtrace.
1129 (distribute): Add tst-mtrace.sh.
1130 Add rule to run tst-mtrace.sh.
1131 * malloc/tst-mtrace.c: New file.
1132 * malloc/tst-mtrace.sh: New file.
1134 * include/signal.h: Declare __libc_sigaction.
1135 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
1136 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
1137 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1138 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1139 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1140 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1141 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1143 * configure.in: Fix CFLAGS-memprofstat.c definition after
1145 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
1147 2000-07-06 Jakub Jelinek <jakub@redhat.com>
1149 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
1150 instead of NULL to elf_machine_fixup_plt t argument.
1151 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1152 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
1155 2000-07-06 Andreas Jaeger <aj@suse.de>
1157 * crypt/Makefile (LDLIBS-cert): Removed.
1158 (LDLIBS-md5c-test): Removed.
1159 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
1160 ($(objpfx)md5c-test): Likewise for md5c-test.out.
1162 2000-07-06 Andreas Jaeger <aj@suse.de>
1164 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
1165 of the proc system is "proc".
1167 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
1168 thread library for static programs.
1170 2000-07-06 Greg McGary <greg@mcgary.org>
1172 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
1174 * sysdeps/generic/strcpy.c: Add bounds checks.
1175 * sysdeps/unix/fxstat.c: Likewise.
1176 * sysdeps/unix/xstat.c: Likewise.
1177 * sysdeps/unix/common/lxstat.c: Likewise.
1178 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1179 * sysdeps/unix/sysv/linux/execve.c: Likewise.
1180 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
1181 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1182 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1183 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1184 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1185 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1186 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1187 * sysdeps/unix/sysv/linux/poll.c: Likewise.
1188 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1189 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1190 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
1191 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1192 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1193 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1194 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1195 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1196 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1197 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1198 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1199 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1200 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1201 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
1202 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1203 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
1204 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1205 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
1206 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1207 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1208 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1209 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
1210 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1211 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1212 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1213 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1214 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1215 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
1216 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1217 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1218 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1219 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1220 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1221 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1222 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
1223 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
1224 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1225 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
1226 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
1227 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
1228 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
1229 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
1230 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1231 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1232 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1233 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1234 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
1235 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
1236 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
1237 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
1238 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1239 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
1240 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
1241 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
1243 * string/endian.h (__LONG_LONG_PAIR): New macro.
1244 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
1245 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1246 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1247 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1248 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1249 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1250 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
1251 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1252 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1253 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1254 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1255 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
1257 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
1259 2000-07-06 Andreas Jaeger <aj@suse.de>
1261 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
1264 * math/test-fpucw.c: Include <stdio.h> for printf.
1266 2000-07-05 Greg McGary <greg@mcgary.org>
1268 * sysdeps/generic/bp-checks.h: New file.
1269 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
1270 with list of #include files.
1271 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
1272 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
1273 Don't generate BP thunk if `V' appears in signature.
1274 Generate thunks with complete bounds checks.
1275 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
1276 * sysdeps/unix/inet/syscalls.list: Likewise.
1277 * sysdeps/unix/mman/syscalls.list: Likewise.
1278 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1279 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1280 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1281 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
1283 2000-07-05 Ulrich Drepper <drepper@redhat.com>
1285 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
1286 result. Search first in /etc/mtab (proc/mounts would be stupid).
1287 If mount not in the file fall back on /proc.
1289 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
1290 string got copied in.
1291 Patch by Solar Designer <solar@false.com>.
1293 2000-07-05 Andreas Jaeger <aj@suse.de>
1295 * manual/install.texi (Installation): Update information about
1297 (Configuring and compiling): Update for glibc 2.2.
1299 2000-07-04 Andreas Jaeger <aj@suse.de>
1301 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
1302 (_FPU_IEEE): Likewise.
1304 * math/Makefile (tests): Add test-fpucw.
1306 * math/test-fpucw.c (main): New file.
1308 2000-07-05 Ulrich Drepper <drepper@redhat.com>
1310 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
1312 * locale/programs/ld-collate.c (collate_output): Also write out the
1313 collation sequence values and the wide character string for the
1314 collation symbol table.
1316 * posix/fnmatch.c: Include "../locale/elem-hash.h".
1317 * posix/fnmatch_loop.c: Implement collating symbol handling.
1318 * posix/tst-fnmatch.input: Add more tests, especially for collating
1321 * posix/regex.c: Fix comment.
1323 2000-07-05 Andreas Jaeger <aj@suse.de>
1325 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
1326 (_FPU_GETCW): Remove extra colon.
1327 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
1329 * posix/fnmatch_loop.c (FCT): Only declare len if
1330 !WIDE_CHAR_VERSION to silence GCC.
1332 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
1334 * sysdeps/generic/strchrnul.c: Likewise.
1335 * sysdeps/generic/strlen.c: Likewise.
1336 * sysdeps/generic/strchr.c: Likewise.
1337 * sysdeps/generic/memchr.c: Likewise.
1339 2000-07-04 Ulrich Drepper <drepper@redhat.com>
1341 * posix/fnmatch_loop.c: Implement equivalence class handling.
1342 * posix/tst-fnmatch.input: Add tests for equivalence class
1345 * posix/fnmatch_loop.c: Improve performance for single-byte
1346 character sets by not using btowc.
1348 * posix/tst-fnmatch.input: Add tests for locale dependent
1350 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
1352 * posix/tst-fnmatch.input: Add more test cases.
1354 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
1355 are not aligned to alignof(md5_uint32) do it before calling
1356 __md5_process_bytes.
1357 * crypt/md5.c: Make sure buffers are aligned.
1358 * crypt/md5.h: Likewise.
1359 Reported by Solar Designer <solar@false.com>.
1361 * crypt/Makefile: Add dependencies for test programs.
1363 * Rules: Define LC_ALL=C in environments of all programs we run.
1365 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
1367 2000-07-03 H.J. Lu <hjl@gnu.org>
1369 * locale/programs/ld-ctype.c (ctype_output): The size of iov
1370 is 2 + elem + offset, not 2 + elem + offset + 2.
1372 2000-07-04 Ulrich Drepper <drepper@redhat.com>
1374 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
1376 * posix/Makefile (tests): Add tst-fnmatch.
1377 (tst-fnmatch-ENV): Define.
1378 * posix/tst-fnmatch.c: New file.
1379 * posix/tst-fnmatch.sh: New file.
1381 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
1383 * locale/programs/charmap.c (charmap_read): Prepend
1384 the condition filename == NULL.
1386 2000-07-03 Greg McGary <greg@mcgary.org>
1388 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
1390 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
1391 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
1393 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
1394 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
1395 (FILEBUF_LITERAL): Add cast for CHAIN init.
1396 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
1397 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
1398 Revert type of `fp' to _IO_FILE*.
1399 (_IO_iter_file): Remove cast.
1400 (_IO_iter_next): Elide intermediate member reference.
1402 * sysdeps/powerpc/strchr.S: Check bounds.
1403 Wrap extern symbols in BP_SYM ().
1405 2000-07-03 Andreas Jaeger <aj@suse.de>
1407 * dlfcn/Makefile (generated): New.
1409 2000-07-03 Ulrich Drepper <drepper@redhat.com>
1411 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
1412 (__uflow): Likewise.
1413 (__underflow): Likewise.
1414 * libio/wgenops.c (__wunderflow): Likewise.
1415 * stdio-common/tst-unbputc.c: New file.
1416 * stdio-common/tst-unbputc.sh: New file.
1417 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
1419 * po/en_GB.po: New file.
1420 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
1422 2000-07-01 Andreas Jaeger <aj@suse.de>
1424 * intl/Makefile (generated-dirs): New.
1426 * elf/Makefile (generated): trusted-dirs.h is always generated,
1427 move out of build-shared condition.
1428 (generated): Merge the two entries for build-shared.
1430 2000-07-01 Ulrich Drepper <drepper@redhat.com>
1432 * debug/Makefile (distribute): Add xtrace.sh.
1434 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1436 * version.h (VERSION): Bump to 2.1.91.
1438 * configure.in: Update warning comment. glibc should not be
1441 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
1442 ioperm.c, sys/procfs.h, and sys/io.h.
1444 * sysdeps/powerpc/Dist: Add bp-asm.h.
1446 * assert/Depend: Add localedata.
1447 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
1448 (test-assert-perr-ENV): New. Define LANGUAGE=C.
1450 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
1451 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
1452 relocation address to prevent unaligned trap.
1453 Suggested by Richard Henderson <rth@cygnus.com>.
1455 2000-06-30 Jakub Jelinek <jakub@redhat.com>
1457 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
1458 if redirecting and either redirection is done using defines or
1461 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1463 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
1464 generated expressions.
1465 Patch by Darren McClelland <dmcclell@zetec.com>.
1467 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
1468 since zic uses setlocale and gettext but we cannot make it use the
1469 new locale data since zic calls a shell which might not use the
1472 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
1473 handling the internation currency symbol. POSIX says that the
1474 fourth character is used to separate the currency symbol from the
1475 value. Therefore it does not have to be printed. But we cannot
1476 remove the space if the currency symbol is printed before the
1477 number since this is what many locales expect.
1479 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
1480 whether this information is available.
1482 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
1483 buffers in case the translation is too large. Remember allocated
1484 memory blocks in a list.
1485 (free_mem): Free memory for translations.
1487 * intl/tst-gettext.c: Use correct locale. Improve error messages.
1489 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
1490 information is available set the string length to zero.
1492 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
1494 2000-06-30 Greg McGary <greg@mcgary.org>
1496 * sysdeps/powerpc/bp-asm.h: New file.
1497 * sysdeps/powerpc/__longjmp.S: Check bounds.
1498 Wrap extern symbols in BP_SYM ().
1499 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
1500 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
1501 * sysdeps/powerpc/setjmp.S: Likewise.
1502 * sysdeps/powerpc/add_n.S: Likewise.
1503 * sysdeps/powerpc/addmul_1.S: Likewise.
1504 * sysdeps/powerpc/lshift.S: Likewise.
1505 * sysdeps/powerpc/rshift.S: Likewise.
1506 * sysdeps/powerpc/mul_1.S: Likewise.
1507 * sysdeps/powerpc/sub_n.S: Likewise.
1508 * sysdeps/powerpc/submul_1.S: Likewise.
1509 * sysdeps/powerpc/strlen.S: Likewise.
1510 * sysdeps/powerpc/memset.S: Likewise.
1511 * sysdeps/powerpc/stpcpy.S: Likewise.
1512 * sysdeps/powerpc/strcmp.S: Likewise.
1513 * sysdeps/powerpc/strcpy.S: Likewise.
1514 * sysdeps/powerpc/elf/bzero.S: Likewise.
1516 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
1517 Line up operands column with tabs.
1519 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1521 * elf/Makefile (LDFLAGS-origtest): Actually add it.
1523 * sysdeps/ia64/htonl.S: New file.
1524 * sysdeps/ia64/htons.S: New file.
1525 * sysdeps/ia64/memcpy.S: Replace with version which does not use
1526 floating point registers.
1527 Patches by Dan Pop <Dan.Pop@cern.ch>.
1529 2000-06-30 Andreas Jaeger <aj@suse.de>
1531 * posix/Makefile (tests): tst-exec and tst-spawn only work with
1534 * io/Makefile (CFLAGS-test-lfs.c): New.
1535 (tests): Add test-lfs.
1537 * io/test-lfs.c: New file.
1539 2000-06-30 Jakub Jelinek <jakub@redhat.com>
1541 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
1544 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
1546 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
1548 2000-06-29 Jes Sorensen <jes@linuxcare.com>
1550 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
1551 alias to the fstatfs call.
1553 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
1554 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
1556 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
1557 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
1559 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
1560 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
1561 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
1562 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
1564 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
1565 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
1567 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
1568 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
1570 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
1571 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
1573 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
1575 2000-06-29 Andreas Jaeger <aj@suse.de>
1577 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
1579 (print_err_message): Likewise.
1580 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
1582 2000-06-29 Ulrich Drepper <drepper@redhat.com>
1584 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
1585 used as words is properly aligned.
1587 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
1590 2000-06-29 Greg McGary <greg@mcgary.org>
1592 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
1593 * sysdeps/unix/make-syscalls.sh: Handle signatures of
1594 length 7..9, just in case...
1595 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
1597 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
1598 (POP_ERRNO_LOCATION_RETURN): Fold insns.
1599 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
1600 (PUSH_SIGNAL_MASK): New macro.
1601 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
1602 LEAVE is unnecessary. Check bounds of jmp_buf.
1603 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
1604 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
1605 immediately before tail-call.
1606 * sysdeps/i386/setjmp.S: Likewise.
1607 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1608 * sysdeps/i386/bsd-setjmp.S: Likewise.
1610 2000-06-29 Jakub Jelinek <jakub@redhat.com>
1612 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
1614 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
1615 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
1616 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
1617 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1618 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
1619 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
1620 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
1621 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
1623 2000-06-29 Ulrich Drepper <drepper@redhat.com>
1625 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
1626 we later need to calling free().
1627 Patch by Matt Wilson <msw@redhat.com>.
1629 * stdio-common/tst-printf.c: Add test for above problem.
1631 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
1633 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
1634 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
1636 2000-06-28 Jes Sorensen <jes@linuxcare.com>
1638 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
1639 prototype for abs().
1640 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
1642 2000-06-23 Andreas Jaeger <aj@suse.de>
1644 * config.h.in: Don't use regparm with bounded pointers.
1646 2000-06-29 Ulrich Drepper <drepper@redhat.com>
1648 * stdlib/grouping.h: Correctly handle multibyte thousands
1649 separator and decimal point.
1650 * stdlib/stdtod.c: Likewise.
1651 * sysdeps/generic/strtol.c: Likewise.
1653 * locale/categories.def: Add entries for wide character decimal point
1654 and thousands separator in numeric and monetary category.
1656 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1658 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
1659 second definition and initialization of decimal.
1661 2000-06-28 Greg McGary <greg@mcgary.org>
1663 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
1665 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
1666 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
1668 (_IO_JUMPS): Don't cast THIS--expect arg to be a
1669 (struct _IO_FILE_plus *).
1670 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
1671 THIS, since _IO_JUMPS no longer does it implicitly.
1672 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
1673 arg type as (struct _IO_FILE_plus *).
1674 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
1675 arg as (_IO_strfile *).
1676 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
1677 Declare 1st arg as (_IO_strfile *).
1678 * libio/fileops.c (_IO_new_file_init): Declare
1679 arg type as (struct _IO_FILE_plus *).
1680 * libio/oldfileops.c (_IO_old_file_init): Likewise.
1681 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
1682 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
1683 Declare iteration pointer as (struct _IO_FILE_plus *).
1684 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
1685 (struct _IO_FILE_plus *).
1686 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
1687 * libio/oldstdfiles.c (_IO_list_all): Likewise.
1688 (_IO_check_libio): Set user-visible handles to
1689 (struct _IO_FILE_plus *).
1690 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
1691 to (struct _IO_FILE_plus *).
1693 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
1694 whose high bound includes vtable to all functions that will use
1695 vtable. For streambufs, pass pointer whose bounds include struct
1697 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
1698 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1699 * libio/iofopen.c (_IO_new_fopen): Likewise.
1700 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1701 * libio/iofopen64.c (_IO_fopen64): Likewise.
1702 * libio/iopopen.c (_IO_new_popen): Likewise.
1703 * libio/oldiopopen.c (_IO_old_popen): Likewise.
1704 * libio/memstream.c (open_memstream): Likewise.
1705 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
1706 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
1707 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1708 * libio/iofopncook.c (_IO_cookie_init): Likewise.
1709 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
1710 * libio/vasprintf.c (_IO_vasprintf): Likewise.
1711 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
1712 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
1713 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
1714 * stdlib/strfmon.c (__strfmon_l): Likewise.
1715 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
1716 (vfprintf): Qualify computed-goto targets as unbounded.
1718 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1720 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
1721 thousands separator correctly.
1723 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
1724 * stdio-common/vfwscanf.c: Likewise.
1726 2000-06-27 Jes Sorensen <jes@linuxcare.com>
1728 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
1729 count into signatures for most calls.
1731 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1733 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
1734 the generic parser now.
1736 2000-06-28 Jes Sorensen <jes@linuxcare.com>
1738 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
1739 table entries are 32 bit on the ia64 (as specified by the ABI),
1740 not 64 bit as on the Alpha.
1742 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
1743 change of objects to use 32 bit hash table indices (see above).
1745 2000-06-28 Jes Sorensen <jes@linuxcare.com>
1747 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
1748 prototype for abs().
1750 2000-06-28 Wolfram Gloger <wg@malloc.de>
1752 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
1753 fails, try mmap_chunk() as a last resort even though n_mmaps_max
1754 may have been reached.
1756 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1758 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
1759 symbols in multi-character weights correctly.
1761 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
1762 depending on whether the input string is empty or not.
1764 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
1765 given state and not avoiding this by modifying a local object.
1766 * wcsmbs/wcrtomb.c: Likewise.
1768 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
1769 object since some incomplete characters might be in there.
1771 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
1772 sequences with first byte 0x8e correctly.
1774 * iconvdata/jis0208.h: Remove redundant test.
1776 2000-06-27 Ulrich Drepper <drepper@redhat.com>
1778 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
1779 Add it where it is needed now.
1781 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
1782 the input charset into account when generating the hash table.
1783 (allocate_arrays): Correct setting default width. Not all empty slots
1784 in the table are filled, only those not covert explicitly by the
1785 locale description and in the charset.
1787 * wctype/towctrans.c (__towctrans): Be graceful and accept error
1788 return values from the wctrans function.
1790 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
1791 wide character version.
1792 For %C handling, test correct pointer variable for NULL.
1794 * wcsmbs/wctob.c: Handle WEOF special.
1796 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
1798 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
1799 always-true test to avoid warning.
1801 2000-06-27 Greg McGary <greg@mcgary.org>
1803 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
1804 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
1805 (symbol_version, default_symbol_version): Factor redundant
1806 definitions out of conditional.
1808 2000-06-27 Jakub Jelinek <jakub@redhat.com>
1810 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
1813 2000-06-26 Ulrich Drepper <drepper@redhat.com>
1815 * include/libc-symbols.h (symbol_version): Add extra level of
1817 (default_symbol_version): Likewise.
1819 2000-06-26 Greg McGary <greg@mcgary.org>
1821 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
1822 for BP return value & push implicit struct-return pointer to
1824 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1825 (SYSCALL_ERROR_HANDLER): Likewise.
1826 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
1827 (SYSCALL_ERROR_HANDLER): Likewise.
1829 * Makeconfig: Add missing comment.
1830 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
1831 BP-flavored startup object.
1832 ($(objpfx)b$(start-installed-name)): New rule.
1833 * include/libc-symbols.h (symbol_set_declare): Change type
1834 of `__start_##set' and `__stop_##set' to pointer-to-function.
1835 (symbol_set_declare): Change type of `set' to array of
1836 pointer-to-function.
1837 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
1838 pointer-to-function.
1840 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
1842 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
1843 Remove clock_* and timer_* entries.
1844 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
1845 arg-count with signatures.
1847 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
1848 Check bounds of arguments.
1849 * sysdeps/i386/addmul_1.S: Likewise.
1850 * sysdeps/i386/lshift.S: Likewise.
1851 * sysdeps/i386/mul_1.S: Likewise.
1852 * sysdeps/i386/rshift.S: Likewise.
1853 * sysdeps/i386/sub_n.S: Likewise.
1854 * sysdeps/i386/submul_1.S: Likewise.
1855 * sysdeps/i386/i586/add_n.S: Likewise.
1856 * sysdeps/i386/i586/addmul_1.S: Likewise.
1857 * sysdeps/i386/i586/lshift.S: Likewise.
1858 * sysdeps/i386/i586/rshift.S: Likewise.
1859 * sysdeps/i386/i586/sub_n.S: Likewise.
1860 * sysdeps/i386/i686/add_n.S: Likewise.
1862 * sysdeps/i386/memchr.S: Likewise.
1863 * sysdeps/i386/memcmp.S: Likewise.
1864 * sysdeps/i386/rawmemchr.S: Likewise.
1865 * sysdeps/i386/i586/bzero.S: Likewise.
1866 * sysdeps/i386/i586/memcpy.S: Likewise.
1867 * sysdeps/i386/i586/mempcpy.S: Likewise.
1868 * sysdeps/i386/i586/memset.S: Likewise.
1869 * sysdeps/i386/i686/bzero.S: Likewise.
1870 * sysdeps/i386/i686/memcpy.S: Likewise.
1871 * sysdeps/i386/i686/mempcpy.S: Likewise.
1872 * sysdeps/i386/i686/memset.S: Likewise.
1874 * sysdeps/i386/stpcpy.S: Likewise.
1875 * sysdeps/i386/stpncpy.S: Likewise.
1876 * sysdeps/i386/strchr.S: Likewise.
1877 * sysdeps/i386/strchrnul.S: Likewise.
1878 * sysdeps/i386/strcspn.S: Likewise.
1879 * sysdeps/i386/strpbrk.S: Likewise.
1880 * sysdeps/i386/strrchr.S: Likewise.
1881 * sysdeps/i386/strspn.S: Likewise.
1882 * sysdeps/i386/strtok.S: Likewise.
1883 * sysdeps/i386/strtok_r.S: Likewise.
1884 * sysdeps/i386/i486/strcat.S: Likewise.
1885 * sysdeps/i386/i486/strlen.S: Likewise.
1886 * sysdeps/i386/i586/strchr.S: Likewise.
1887 * sysdeps/i386/i586/strcpy.S: Likewise.
1888 * sysdeps/i386/i586/strlen.S: Likewise.
1889 * sysdeps/i386/i686/strcmp.S: Likewise.
1890 * sysdeps/i386/i686/strtok.S: Likewise.
1891 * sysdeps/i386/i686/strtok_r.S: Likewise.
1893 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
1894 * sysdeps/i386/fpu/fesetenv.c: Likewise.
1895 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
1896 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
1897 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1899 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
1900 * sysdeps/i386/mul_1.S: Likewise.
1901 * sysdeps/i386/submul_1.S: Likewise.
1902 * sysdeps/i386/i586/add_n.S: Likewise.
1903 * sysdeps/i386/i586/addmul_1.S: Likewise.
1904 * sysdeps/i386/i586/lshift.S: Likewise.
1905 * sysdeps/i386/i586/mul_1.S: Likewise.
1906 * sysdeps/i386/i586/rshift.S: Likewise.
1907 * sysdeps/i386/i586/sub_n.S: Likewise.
1908 * sysdeps/i386/i586/submul_1.S: Likewise.
1910 2000-06-26 Ulrich Drepper <drepper@redhat.com>
1912 * rt/Makefile (librt-routines): Add clock_nanosleep.
1913 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
1914 * sysdeps/generic/clock_nanosleep.c: New file.
1915 * sysdeps/unix/clock_nanosleep.c: New file.
1916 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
1917 * time/time.h: Declare clock_nanosleep.
1919 2000-06-26 Greg McGary <greg@mcgary.org>
1921 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
1922 INSN1, INSN2, TEXT, GLOBL): Remove macros.
1923 (ALIGN): Cleanup surrounding conditionals.
1925 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
1926 Call ENTER/LEAVE macros.
1927 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
1928 * sysdeps/i386/submul_1.S: Likewise.
1930 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
1931 syntax. Define & use symbolic argument stack offsets. Call
1933 * sysdeps/i386/i586/mul_1.S: Likewise.
1934 * sysdeps/i386/i586/submul_1.S: Likewise.
1936 2000-06-25 Greg McGary <greg@mcgary.org>
1938 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
1941 2000-06-25 Ulrich Drepper <drepper@redhat.com>
1943 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
1944 * iconvdata/gen-8bit-gap.sh: Likewise.
1945 * iconvdata/gen-8bit.sh: Likewise.
1947 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
1949 * locale/programs/ld-collate.c (collate_read): Don't actually read
1950 the copy locale if we are ignoring the content.
1952 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
1955 * locale/programs/ld-collate.c: Correct handling of different
1957 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
1958 as extra parameter from which to copy category information.
1960 (load_locale): Likewise.
1961 * locale/programs/localedef.h: Update prototypes of add_to_readlist
1963 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
1964 * locale/programs/locfile.h: Likewise.
1965 * locale/programs/locfile-kw.gperf: Add entry for script.
1966 * locale/programs/locfile-token.h: Add tok_script.
1968 * locale/programs/locale.c: Update copyright year.
1969 * locale/programs/localedef.c: Likewise.
1971 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
1973 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
1974 Jens Moeller <jens.moeller@waii.com>.
1976 2000-06-24 Ulrich Drepper <drepper@redhat.com>
1978 * locale/programs/ld-name.c (name_finish): Add missing format
1979 specifier to test for name_fmt.
1981 * locale/programs/ld-address.c (iso639): Correct length of string
1983 (iso3166): Likewise.
1985 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
1987 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
1990 * elf/elf.h (NT_PRFPXREG): Define.
1992 2000-06-23 Ulrich Drepper <drepper@redhat.com>
1994 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
1995 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
1997 2000-06-23 Andreas Schwab <schwab@suse.de>
1999 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
2002 2000-06-23 Andreas Jaeger <aj@suse.de>
2004 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
2006 * io/test-stat.c: Add copyright header, mention Maciej.
2008 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
2009 SYS_mincore, SYS_madvise): Added.
2011 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
2014 2000-06-22 Ulrich Drepper <drepper@redhat.com>
2016 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
2017 (CFLAGS-tst_putwc.c): New definition.
2018 * libio/tst_getwc.c: New file.
2019 * libio/tst_getwc.input: New file.
2020 * libio/tst_putwc.c: New file.
2022 * include/string.h: Add prototype for __strdup.
2024 2000-06-22 Greg McGary <greg@mcgary.org>
2026 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
2027 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
2030 2000-06-23 Jes Sorensen <jes@linuxcare.com>
2032 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
2034 2000-06-22 Jes Sorensen <jes@linuxcare.com>
2036 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
2038 2000-06-22 Jes Sorensen <jes@linuxcare.com>
2040 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
2041 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
2043 2000-06-22 Ulrich Drepper <drepper@redhat.com>
2045 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
2046 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
2048 * sysdeps/mach/hurd/bits/stat.h: Likewise.
2049 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2050 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
2051 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2052 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
2053 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
2054 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2055 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
2056 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2057 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2058 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
2059 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
2060 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
2061 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
2064 2000-06-22 Andreas Jaeger <aj@suse.de>
2066 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
2069 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
2071 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
2073 2000-06-21 Ulrich Drepper <drepper@redhat.com>
2075 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
2078 2000-06-21 Greg McGary <greg@mcgary.org>
2080 * Makerules (elide-routines.*, elide-bp-thunks):
2081 Define unconditionally.
2083 2000-06-21 Jes Sorensen <jes@linuxcare.com>
2085 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
2087 2000-06-21 Andreas Jaeger <aj@suse.de>
2089 * io/Makefile (tests): Add test-stat.
2090 (CFLAGS-test-stat.c): New.
2092 * io/test-stat.c: New file from Maciej W. Rozycki
2093 <macro@ds2.pg.gda.pl>.
2095 2000-06-21 Jes Sorensen <jes@linuxcare.com>
2097 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
2098 in __rlimit_resource to make them match the kernel order.
2099 rlim_t is always 64 bit, use __rlim64_t to declare it
2102 2000-05-04 Jes Sorensen <jes@linuxcare.com>
2104 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
2105 RLIM_INFINITY before defining it to avoid clash with kernel header
2107 2000-05-03 Jes Sorensen <jes@linuxcare.com>
2109 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
2111 2000-06-21 Ulrich Drepper <drepper@redhat.com>
2113 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
2115 2000-06-21 Andreas Jaeger <aj@suse.de>
2117 * stdio-common/temptest.c: Include <stdlib.h>.
2118 * stdio-common/tst-fileno.c: Likewise.
2119 * stdio-common/scanf4.c: Likewise.
2120 * stdio-common/scanf5.c: Likewise.
2121 * time/clocktest.c: Likewise.
2122 * posix/test-vfork.c: Likewise.
2123 * posix/globtest.c: Likewise.
2124 * io/test-utime.c: Likewise.
2125 * wctype/test_wcfuncs.c: Likewise.
2126 * crypt/cert.c: Likewise.
2128 * stdio-common/tst-printfsz.c: Include <string.h>.
2129 * libio/tst_swscanf.c: Likewise.
2130 * libio/tst_wscanf.c: Likewise.
2131 * posix/runtests.c: Likewise.
2132 * posix/tst-getaddrinfo.c: Likewise.
2133 * posix/wordexp-test.c: Likewise.
2134 * misc/tst-efgcvt.c: Likewise.
2136 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
2137 * nss/test-netdb.c: Likewise.
2139 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
2140 supported kernel for MIPS.
2142 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
2143 * rt/aio_suspend.c: Likewise.
2145 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2147 * math/libm-test.inc: Include <string.h>.
2149 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2151 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
2153 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2155 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
2156 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
2158 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
2160 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
2162 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2164 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
2166 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2168 * locale/programs/ld-collate.c (insert_value): Now take string and
2169 length instead of struct token* parameter. Adjust use of token.
2170 (handle_ellipsis): Likewise.
2171 (collate_read): Allow <Uxxxx> names and transform them into names
2172 to be passed to insert_value and handle_ellipsis.
2174 * locale/programs/ld-ctype.c (uninames): New array with names of
2175 digits in <Uxxxxxxxx> format.
2176 (ctype_finish): Correct search for space character value. Likewise
2177 for default outdigits values.
2179 2000-06-20 Greg McGary <greg@mcgary.org>
2181 * Makerules (objects): Add BP thunks.
2183 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2185 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
2186 in width definitions.
2188 2000-06-20 Andreas Jaeger <aj@suse.de>
2190 * sysdeps/mips/fpu/libm-test-ulps: New file.
2192 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
2195 * sysdeps/mips/fpu/feholdexcpt.c: New file.
2197 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
2199 2000-06-19 Ulrich Drepper <drepper@redhat.com>
2201 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
2202 change in gconv_builtin.h.
2204 * malloc/Makefile: Change all references to memprof into memusage.
2205 * malloc/memprof.c: Rename to...
2206 * malloc/memusage.c: ...this. New file.
2207 * malloc/memprof.sh: Rename to...
2208 * malloc/memusage.sh: ...this. New file.
2209 * malloc/memprofstat.c: Rename to...
2210 * malloc/memusagestat.c: ...this. New file.
2211 * sysdeps/alpha/memprof.h: Rename to..
2212 * sysdeps/alpha/memusage.h: ...this. New file.
2213 * sysdeps/arm/memprof.h: Rename to..
2214 * sysdeps/arm/memusage.h: ...this. New file.
2215 * sysdeps/generic/memprof.h: Rename to..
2216 * sysdeps/generic/memusage.h: ...this. New file.
2217 * sysdeps/i386/memprof.h: Rename to..
2218 * sysdeps/i386/memusage.h: ...this. New file.
2219 * sysdeps/ia64/memprof.h: Rename to..
2220 * sysdeps/ia64/memusage.h: ...this. New file.
2221 * sysdeps/m68k/memprof.h: Rename to..
2222 * sysdeps/m68k/memusage.h: ...this. New file.
2223 * sysdeps/mips/memprof.h: Rename to..
2224 * sysdeps/mips/memusage.h: ...this. New file.
2225 * sysdeps/powerpc/memprof.h: Rename to..
2226 * sysdeps/powerpc/memusage.h: ...this. New file.
2227 * sysdeps/sparc/memprof.h: Rename to..
2228 * sysdeps/sparc/memusage.h: ...this. New file.
2229 * sysdeps/sh/memprof.h: Rename to..
2230 * sysdeps/sh/memusage.h: ...this. New file.
2232 * elf/sprof.c (print_version): Update year.
2234 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
2235 table entry values. Use D_PTR.
2236 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
2237 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
2239 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2241 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
2242 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
2243 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
2244 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
2246 2000-05-05 Jes Sorensen <jes@linuxcare.com>
2248 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
2250 2000-06-16 Jes Sorensen <jes@linuxcare.com>
2252 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
2253 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
2254 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
2256 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
2258 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
2261 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
2262 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
2264 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
2267 2000-06-15 Jes Sorensen <jes@linuxcare.com>
2269 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
2271 2000-06-08 Jes Sorensen <jes@linuxcare.com>
2273 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
2275 2000-06-19 Ulrich Drepper <drepper@redhat.com>
2277 * iconv/gconv_int.h (strict gconv_module): Remove all members
2278 associated with regular expressions. Use a simple string as the
2280 * iconv/gconv_db.c: Remove code handling regular expressions.
2281 * iconv/gconv_conf.c: Likewise.
2282 * iconv/iconv_prog.c: Likewise.
2283 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
2285 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
2286 General namespace cleanup.
2287 (struct __gconv_trans_data): Add next field.
2288 (struct __gconv_step_data): Make __trans a pointer.
2289 * iconv/gconv_conf.c: Split out code to find gconv directories from
2290 __gconv_read_conf in new functions.
2291 * iconv/gconv_int.h: Define new data structure and declare new
2292 functions for handling of gconv directory list.
2293 * iconv/gconv_open.c: Allow more than one error handling step being
2294 used. Call function to load error handling module if it is none
2295 of the builtin transformations.
2296 * iconv/gconv_close.c: Add code to free transliteration data.
2297 * iconv/gconv_trans.c: Add functions to load and unload modules
2298 implementing transliteration etc.
2299 * iconv/skeleton.c: Call all context functions now that more than
2300 one module is allowed.
2301 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
2302 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
2303 where the full error handling using transliteration is needed.
2304 * iconvdata/8bit-gap.c: Likewise.
2305 * iconvdata/8bit-generic.c: Likewise.
2306 * iconvdata/ansi_x3.110.c: Likewise.
2307 * iconvdata/big5.c: Likewise.
2308 * iconvdata/big5hkscs.c: Likewise.
2309 * iconvdata/euc-cn.c: Likewise.
2310 * iconvdata/euc-jp.c: Likewise.
2311 * iconvdata/euc-kr.c: Likewise.
2312 * iconvdata/euc-tw.c: Likewise.
2313 * iconvdata/gbgbk.c: Likewise.
2314 * iconvdata/gbk.c: Likewise.
2315 * iconvdata/iso-2022-cn.c: Likewise.
2316 * iconvdata/iso-2022-jp.c: Likewise.
2317 * iconvdata/iso-2022-kr.c: Likewise.
2318 * iconvdata/iso646.c: Likewise.
2319 * iconvdata/iso8859-1.c: Likewise.
2320 * iconvdata/iso_6937-2.c: Likewise.
2321 * iconvdata/iso_6937.c: Likewise.
2322 * iconvdata/johab.c: Likewise.
2323 * iconvdata/sjis.c: Likewise.
2324 * iconvdata/t.61.c: Likewise.
2325 * iconvdata/uhc.c: Likewise.
2326 * iconvdata/unicode.c: Likewise.
2327 * iconvdata/utf-16.c: Likewise.
2328 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
2329 structure correctly after last change.
2330 * wcsmbs/btowc.c: Likewise.
2331 * wcsmbs/mbrtowc.c: Likewise.
2332 * wcsmbs/mbsnrtowcs.c: Likewise.
2333 * wcsmbs/mbsrtowcs.c: Likewise.
2334 * wcsmbs/wcrtomb.c: Likewise.
2335 * wcsmbs/wcsnrtombs.c: Likewise.
2336 * wcsmbs/wcsrtombs.c: Likewise.
2337 * wcsmbs/wctob.c: Likewise.
2339 * localedata/Makefile: Set -Wno-format for some files since gcc does
2340 not know all the format specifiers.
2342 2000-06-18 Ulrich Drepper <drepper@redhat.com>
2344 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
2346 * locale/lc-time.c (_nl_init_era_entries): Likewise.
2348 2000-06-18 Andreas Jaeger <aj@suse.de>
2350 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
2351 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
2353 2000-06-17 Ulrich Drepper <drepper@redhat.com>
2355 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
2357 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
2359 * locale/programs/ld-ctype.c (ctype_output): Really write out
2360 mboutdigits information.
2361 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
2362 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
2363 * localedata/tests/trans.def: Add outdigit information.
2365 * localedata/tst-mbswcs3.c: Remove comment.
2367 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
2368 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
2369 * libio/tst_wprintf.c (main): Add test for I flag.
2371 * iconv/gconv_trans.c: Implement handling if translit_ignore.
2372 * locale/langinfo.h: Add entries for translit_ignore information.
2373 * locale/categories.def: Add entries for new LC_CTYPE elements.
2374 * locale/C-ctype.c: Add initializers for new fields. Use NULL
2375 pointer instead of "" where possible.
2376 * locale/programs/ld-ctype.c: Write out translit_ignore information.
2377 * intl/Depend: Add localedata.
2378 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
2379 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
2381 2000-06-16 Ulrich Drepper <drepper@redhat.com>
2383 * locale/langinfo.h: Add entries for default_missing information.
2384 * locale/C-ctype.c: Add initializers for new fields.
2385 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
2387 * locale/categories.h: Add entries for all LC_CTYPE values.
2388 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
2391 * localedata/tst-trans.c: Write out an error message if class is
2394 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
2395 * iconv/gconv_open.c: Remove error handling specification from `from'
2397 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
2398 new parameter to always enable transliteration.
2399 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
2401 (struct locale_data): Add new members use_translit and options.
2402 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
2403 character set name contained modifier TRANSLIT.
2404 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
2406 (_nl_unload_locale): Free options string if necessary.
2407 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
2408 the locale names suggested this.
2409 * locale/C-address.c: Add two new initialilzers to adjust data
2410 structure for new format.
2411 * locale/C-collate.c: Likewise.
2412 * locale/C-ctype.c: Likewise.
2413 * locale/C-identification.c: Likewise.
2414 * locale/C-measurement.c: Likewise.
2415 * locale/C-messages.c: Likewise.
2416 * locale/C-monetary.c: Likewise.
2417 * locale/C-name.c: Likewise.
2418 * locale/C-numeric.c: Likewise.
2419 * locale/C-paper.c: Likewise.
2420 * locale/C-telephone.c: Likewise.
2421 * locale/C-time.c: Likewise.
2423 * locale/setlocale.c: Add some more __builtin_expect.
2425 2000-06-15 Ulrich Drepper <drepper@redhat.com>
2427 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
2429 (__gconv_init_fct): Remove two parameters.
2430 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
2431 gconv_transliterate. Remove two parameters.
2432 Change prototypes of builtin functions according to __gconv_fct change.
2433 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
2434 != NULL only during error handling. Stop in this case after the
2436 * iconv/gconv_trans.c: Replace with real implementation for
2437 __gconv_transliterate.
2438 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
2439 * iconv/gconv.c: Change calls to downstream functions once again.
2440 Use NULL for the fifth parameter instead of pointer to output buffer.
2441 * libio/iofwide.c: Likewise.
2442 * wcsmbs/btowc.c: Likewise.
2443 * wcsmbs/mbrtowc.c: Likewise.
2444 * wcsmbs/mbsnrtowcs.c: Likewise.
2445 * wcsmbs/mbsrtowcs.c: Likewise.
2446 * wcsmbs/wcrtomb.c: Likewise.
2447 * wcsmbs/wcsnrtombs.c: Likewise.
2448 * wcsmbs/wcsrtombs.c: Likewise.
2449 * wcsmbs/wctob.c: Likewise.
2450 * iconv/gconv_simple.c: Remove two parameters from error handling
2452 * iconvdata/8bit-gap.c: Likewise.
2453 * iconvdata/8bit-generic.c: Likewise.
2454 * iconvdata/ansi_x3.110.c: Likewise.
2455 * iconvdata/big5.c: Likewise.
2456 * iconvdata/big5hkscs.c: Likewise.
2457 * iconvdata/euc-cn.c: Likewise.
2458 * iconvdata/euc-jp.c: Likewise.
2459 * iconvdata/euc-kr.c: Likewise.
2460 * iconvdata/euc-tw.c: Likewise.
2461 * iconvdata/gbgbk.c: Likewise.
2462 * iconvdata/gbk.c: Likewise.
2463 * iconvdata/iso-2022-cn.c: Likewise.
2464 * iconvdata/iso-2022-jp.c: Likewise.
2465 * iconvdata/iso-2022-kr.c: Likewise.
2466 * iconvdata/iso646.c: Likewise.
2467 * iconvdata/iso8859-1.c: Likewise.
2468 * iconvdata/iso_6937-2.c: Likewise.
2469 * iconvdata/iso_6937.c: Likewise.
2470 * iconvdata/johab.c: Likewise.
2471 * iconvdata/sjis.c: Likewise.
2472 * iconvdata/t.61.c: Likewise.
2473 * iconvdata/uhc.c: Likewise.
2474 * iconvdata/unicode.c: Likewise.
2475 * iconvdata/utf-16.c: Likewise.
2477 2000-06-15 Greg McGary <greg@mcgary.org>
2479 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
2480 of callnum assignment. Tolerate callnum expressions containing
2483 2000-06-14 Ulrich Drepper <drepper@redhat.com>
2485 * login/Makefile (utmpd): Remove rule to build utmpd.
2487 * csu/Versions: Move libgcc frame handling functions from here...
2488 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
2489 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
2490 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
2491 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
2492 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
2493 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
2495 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
2497 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
2499 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
2501 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
2503 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
2505 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
2506 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
2507 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
2508 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
2510 2000-06-14 Jakub Jelinek <jakub@redhat.com>
2512 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
2513 defined, terminate quotes and read them after the comment char.
2514 * configure.in (HAVE_SECTION_QUOTES): Test whether
2515 __attribute__((section ("x"))) puts quotes around x or not.
2516 * config.h.in (HAVE_SECTION_QUOTES): Add.
2517 * configure: Rebuilt.
2519 2000-06-14 Andreas Jaeger <aj@suse.de>
2521 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
2522 depending on the configure option --sysconfdir.
2523 Closes PR libc/1762.
2524 Patch by Andreas Schwab <schwab@suse.de>.
2526 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
2528 Reported by Jim Pick <jim@jimpick.com>.
2530 2000-06-14 Ulrich Drepper <drepper@redhat.com>
2532 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
2533 crashing the application. Emit some simple error message.
2534 Reported by mju@panasas.com [PR libc/1769].
2536 2000-06-13 Ulrich Drepper <drepper@redhat.com>
2538 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
2540 * crypt/Makefile (distribute): Add md5.h.
2542 * Makefile (distribute): Add include/shlib-compat.h.
2544 * Make-dist: Search for tests also in sysdeps hierachy.
2546 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
2547 ufc.c, speeds.c, README.ufc-crypt, and Banner.
2549 * sysdeps/sparc/Subdirs: New file.
2551 * locale/Makefile (distribute): Add weightwc.h and
2552 programs/localedef.h.
2554 * time/Makefile (distribute): Add datemsk.
2556 * sysdeps/ia64/Dist: Add softpipe.h.
2558 * sysdeps/unix/sysv/aix/Dist: New file.
2560 * posix/setpgrp.c: Moved to...
2561 * sysdeps/generic/setpgrp.c: ...here. New file.
2562 * io/mknod.c: Moved to...
2563 * sysdeps/generic/mknod.c: ...here. New file.
2565 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
2567 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
2569 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
2571 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
2572 gprsave0.S, gprrest1.S, and gprrest0.S.
2574 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
2576 * posix/Makefile (routines): Add spawnattr_getsigmask,
2577 spawnattr_getschedpolicy, spawnattr_getschedparam,
2578 spawnattr_setsigmask, spawnattr_setschedpolicy, and
2579 spawnattr_setschedparam.
2580 * posix/Versions: Add posix_spawnattr_getschedpolicy,
2581 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
2582 posix_spawnattr_setschedparam.
2584 * posix/spawnattr_setschedparam.c: Fix typo.
2586 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
2589 * login/programs/utmpd.c: Removed.
2590 * login/programs/utmpd.h: Removed.
2591 * login/programs/utmpd-private.h: Removed.
2593 * Makefile (distribute): Add include/db_185.h and include/db.h.
2595 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
2598 * elf/Makefile (distribute): Add missing files.
2600 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
2601 * elf/eval.c: Moved to...
2602 * dlfcn/eval.c: ...here. New file.
2604 * Makefile (distribute): Also distribute ChangeLog.1?.
2606 * Make-dist (+tsrcs): Remove .args handling here as well.
2608 * rt/Makefile (tests): Add tst-timer.
2609 * sysdeps/generic/tst-timer.c: New file.
2611 * Makerules (sources): Don't add BP sources here.
2613 * login/Makefile (distribute): Remove xtmp.h.
2615 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
2616 is true. Reported by Bruno Haible <haible@ilog.fr>.
2618 2000-06-13 Andreas Jaeger <aj@suse.de>
2620 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
2621 Patch by Ralf Baechle <ralf@gnu.org>.
2623 2000-06-13 Ulrich Drepper <drepper@redhat.com>
2625 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
2626 for mincore syscall.
2628 * misc/sys/cdefs.h: Define __bounded and __unbounded if
2629 __BOUNDED_POINTERS__ is not defined.
2631 2000-06-07 Greg McGary <greg@mcgary.org>
2633 * sysdeps/generic/bp-sym.h: New file.
2634 * sysdeps/generic/bp-start.h: New file.
2635 * sysdeps/i386/elf/start.S: Designate BP symbols.
2636 * sysdeps/generic/libc-start.c: Wrap bounds around
2637 argv & envp and each of their string members.
2639 2000-06-07 Greg McGary <greg@mcgary.org>
2641 * sysdeps/unix/make-syscalls.sh: Add comments to
2642 output that aid debugging & comprehension.
2643 Map simple syscall signatures to number of args.
2644 Generate BP syscall thunk definitions.
2645 * sysdeps/generic/bp-thunks.h: New file.
2646 * sysdeps/unix/syscalls.list: Replace arg-count with
2647 simple return+arg signature.
2648 * sysdeps/unix/common/syscalls.list: Likewise.
2649 * sysdeps/unix/inet/syscalls.list: Likewise.
2650 * sysdeps/unix/mman/syscalls.list: Likewise.
2651 * sysdeps/unix/sysv/syscalls.list: Likewise.
2652 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2653 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2655 2000-06-07 Greg McGary <greg@mcgary.org>
2657 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
2658 for all files *.[cS].
2659 (CFLAGS-.ob): Don't optimize sibling calls.
2660 (bppfx): New variable.
2661 * Makerules (elide-bp-thunks): New variable.
2662 (elide-routines.*): Elide BP-* files for all but *.ob.
2663 (sources): Include bp-thunks.
2665 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2667 * iconv/gconv_simple.c: Remove unnecessary prototype.
2669 * iconv/gconv_trans.c: Pretty print.
2671 * elf/elf.h (R_SH_NUM): Got accidently dropped.
2673 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
2674 minimal kernel versions. Add information about IA-64 kernel.
2676 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
2677 specific minimal supported kernel versions to be specified.
2679 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
2680 step data structure.
2681 * wcsmbs/btowc.c: Likewise.
2682 * wcsmbs/mbrtowc.c: Likewise.
2683 * wcsmbs/mbsnrtowcs.c: Likewise.
2684 * wcsmbs/mbsrtowcs.c: Likewise.
2685 * wcsmbs/wcrtomb.c: Likewise.
2686 * wcsmbs/wcsnrtombs.c: Likewise.
2687 * wcsmbs/wcsrtombs.c: Likewise.
2688 * wcsmbs/wctob.c: Likewise.
2690 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
2691 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
2693 * shlib-versions: Earliest backward compatible version for SH is 2.2.
2695 * misc/sys/cdefs.h: Remove one more __P.
2697 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
2700 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
2701 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
2702 * sysdeps/sh/bits/setjmp.h: ...here. New file.
2704 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
2705 Yutaka Niibe <gniibe@chroot.org>
2707 * configure.in: Add machine sh3, sh4.
2708 * elf/elf.h: Add SH specific declarations of relocations.
2709 * shlib-versions: Add sh*-*-linux* cases.
2711 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2713 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
2714 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
2715 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
2716 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
2717 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
2718 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
2720 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
2721 instead of KERNEL_MATH_EMULATION.
2722 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
2723 KERNEL_MATH_EMULATION.
2725 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
2726 * sysdeps/sh/sh3/dl-machine.h: Moved to...
2727 * sysdeps/sh/dl-machine.h: ...here. New file.
2728 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
2729 and include generic SH version.
2730 * sysdeps/sh/sh3/bits/endian.h: Move to...
2731 * sysdeps/sh/bits/endian.h: ...here. New file.
2732 * sysdeps/sh/sh4/bits/endian.h: Removed.
2733 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
2734 * sysdeps/sh/bits/huge_val.h: ...here. New file.
2735 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
2737 * include/libc-symbols.h (link_warning): Work around a change in
2738 GAS which warns about changing section attributes.
2739 Proposed by Nick Clifton <nickc@redhat.com>.
2741 2000-06-12 H.J. Lu <hjl@gnu.org>
2743 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
2745 2000-06-11 H.J. Lu <hjl@gnu.org>
2747 * sysdeps/i386/fpu/Versions: New file.
2749 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2751 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
2753 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
2756 2000-06-12 Jes Sorensen <jes@linuxcare.com>
2758 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
2759 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
2760 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
2762 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
2763 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
2764 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
2766 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
2767 Yutaka Niibe <gniibe@chroot.org>
2769 * sysdeps/sh/Dist: New file.
2770 * sysdeps/sh/Implies: New file.
2771 * sysdeps/sh/elf/initfini.c: New file.
2772 * sysdeps/sh/gmp-mparam.h: New file.
2773 * sysdeps/sh/init-first.c: New file.
2774 * sysdeps/sh/machine-gmon.h: New file.
2775 * sysdeps/sh/memcpy.S: New file.
2776 * sysdeps/sh/memprof.h: New file.
2777 * sysdeps/sh/memset.S: New file.
2778 * sysdeps/sh/sh3/__longjmp.S: New file.
2779 * sysdeps/sh/sh3/bits/endian.h: New file.
2780 * sysdeps/sh/sh3/bits/huge_val.h: New file.
2781 * sysdeps/sh/sh3/bits/setjmp.h: New file.
2782 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
2783 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
2784 * sysdeps/sh/sh3/dl-machine.h: New file.
2785 * sysdeps/sh/sh3/setjmp.S: New file.
2786 * sysdeps/sh/sh4/__longjmp.S: New file.
2787 * sysdeps/sh/sh4/bits/endian.h: New file.
2788 * sysdeps/sh/sh4/bits/huge_val.h: New file.
2789 * sysdeps/sh/sh4/bits/setjmp.h: New file.
2790 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
2791 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
2792 * sysdeps/sh/sh4/dl-machine.h: New file.
2793 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
2794 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
2795 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
2796 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
2797 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
2798 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
2799 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
2800 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
2801 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
2802 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
2803 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
2804 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
2805 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
2806 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
2807 * sysdeps/sh/sh4/setjmp.S: New file.
2808 * sysdeps/sh/elf/start.S: New file.
2809 * sysdeps/sh/sys/ucontext.h: New file.
2810 * sysdeps/sh/strlen.S: New file.
2811 * sysdeps/sh/sysdep.h: New file.
2812 * sysdeps/unix/sh/sysdep.S: New file.
2813 * sysdeps/unix/sh/sysdep.h: New file.
2814 * sysdeps/unix/sysv/linux/sh/Dist: New file.
2815 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
2816 * sysdeps/unix/sysv/linux/sh/Versions: New file.
2817 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
2818 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
2819 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
2820 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
2821 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
2822 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
2823 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
2824 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
2825 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
2826 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
2827 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
2828 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
2829 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
2830 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
2831 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
2832 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
2833 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
2834 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
2835 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
2836 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
2837 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
2838 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
2839 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
2840 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
2841 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
2842 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
2843 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
2844 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
2845 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
2846 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
2847 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
2848 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
2849 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
2850 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
2851 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
2852 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
2853 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
2854 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
2855 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
2856 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
2857 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
2858 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
2859 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
2860 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
2861 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
2862 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
2863 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
2865 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2867 * Rules (%.out): Define GCONV_PATH in the environment.
2868 * assert/Depend: New file.
2869 * iconvdata/Depend: New file.
2870 * intl/Depend: New file.
2871 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
2872 * intl/tst-gettext.sh: Likewise.
2873 * iconv/Makefile (routines): Add gconv_trans.
2874 * iconv/gconv_trans.c: New file.
2875 * iconv/gconv.h (struct __gconv_trans_data): New type.
2876 (__gconv_fct): New parameter with starting position in output buffer.
2877 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
2878 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
2879 (struct __gconv_step): Add new member __trans.
2880 * iconv/gconv_int.h: Pretty print prototypes.
2881 (gconv_transliterate): New prototype.
2882 (__BUILTIN_TRANS): Update for new conversion function interface.
2883 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
2884 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
2885 in names, find appropriate function, and install in the conversion
2886 steps it can be used.
2887 * iconv/skeleton.c: Add additional parameter for beginning of output
2888 buffer. Change calls of downstream functions.
2889 * iconv/loop.c: Change loop function interface completely. Pass in
2890 step and step_data structure. Remove optimization for BODY with
2891 NEED_LENGTH_TEST == 0.
2892 * iconv/gconv_simple.c: Update interfaces of functions. Insert
2893 appropriate error handling code to use transliteration steps. Remove
2894 optimization for BODY with NEED_LENGTH_TEST == 0.
2895 * iconvdata/8bit-gap.c: Likewise.
2896 * iconvdata/8bit-generic.c: Likewise.
2897 * iconvdata/ansi_x3.110.c: Likewise.
2898 * iconvdata/big5.c: Likewise.
2899 * iconvdata/big5hkscs.c: Likewise.
2900 * iconvdata/euc-cn.c: Likewise.
2901 * iconvdata/euc-jp.c: Likewise.
2902 * iconvdata/euc-kr.c: Likewise.
2903 * iconvdata/euc-tw.c: Likewise.
2904 * iconvdata/gbgbk.c: Likewise.
2905 * iconvdata/gbk.c: Likewise.
2906 * iconvdata/iso-2022-cn.c: Likewise.
2907 * iconvdata/iso-2022-jp.c: Likewise.
2908 * iconvdata/iso-2022-kr.c: Likewise.
2909 * iconvdata/iso646.c: Likewise.
2910 * iconvdata/iso8859-1.c: Likewise.
2911 * iconvdata/iso_6937-2.c: Likewise.
2912 * iconvdata/iso_6937.c: Likewise.
2913 * iconvdata/johab.c: Likewise.
2914 * iconvdata/sjis.c: Likewise.
2915 * iconvdata/t.61.c: Likewise.
2916 * iconvdata/uhc.c: Likewise.
2917 * iconvdata/unicode.c: Likewise.
2918 * iconvdata/utf-16.c: Likewise.
2919 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
2921 * wcsmbs/btowc.c: Likewise.
2922 * wcsmbs/mbrtowc.c: Likewise.
2923 * wcsmbs/mbsnrtowcs.c: Likewise.
2924 * wcsmbs/mbsrtowcs.c: Likewise.
2925 * wcsmbs/wcrtomb.c: Likewise.
2926 * wcsmbs/wcsnrtombs.c: Likewise.
2927 * wcsmbs/wcsrtombs.c: Likewise.
2928 * wcsmbs/wctob.c: Likewise.
2930 2000-04-11 Geoff Keating <geoffk@cygnus.com>
2932 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
2933 other header files. Mention about 128-byte cache line sizes.
2934 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
2935 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
2936 for current calling sequence.
2937 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
2939 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
2940 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2942 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
2943 and setrlimit syscalls for backwards compatibility.
2945 2000-06-10 Ulrich Drepper <drepper@redhat.com>
2947 * iconv/skeleton.c: Rename converted written to correcter name
2949 * iconv/gconv.c: Rename converted variable to correcter name
2951 * iconv/gconv_int.h: Likewise.
2952 * iconv/gconv_simple.c: Likewise.
2953 * iconv/iconv.c: Likewise.
2954 * iconv/loop.c: Likewise.
2955 * iconvdata/8bit-gap.c: Likewise.
2956 * iconvdata/8bit-generic.c: Likewise.
2957 * iconvdata/ansi_x3.110.c: Likewise.
2958 * iconvdata/big5.c: Likewise.
2959 * iconvdata/big5hkscs.c: Likewise.
2960 * iconvdata/euc-cn.c: Likewise.
2961 * iconvdata/euc-jp.c: Likewise.
2962 * iconvdata/euc-kr.c: Likewise.
2963 * iconvdata/gbgbk.c: Likewise.
2964 * iconvdata/gbk.c: Likewise.
2965 * iconvdata/iso-2022-cn.c: Likewise.
2966 * iconvdata/iso-2022-jp.c: Likewise.
2967 * iconvdata/iso-2022-kr.c: Likewise.
2968 * iconvdata/iso646.c: Likewise.
2969 * iconvdata/iso8859-1.c: Likewise.
2970 * iconvdata/iso_6937-2.c: Likewise.
2971 * iconvdata/iso_6937.c: Likewise.
2972 * iconvdata/johab.c: Likewise.
2973 * iconvdata/sjis.c: Likewise.
2974 * iconvdata/t.61.c: Likewise.
2975 * iconvdata/uhc.c: Likewise.
2976 * iconvdata/unicode.c: Likewise.
2977 * iconvdata/utf-16.c: Likewise.
2979 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
2980 __cmsg_data field with __extension__.
2982 2000-06-10 David Mosberger <davidm@hpl.hp.com>
2984 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
2986 2000-06-10 Ulrich Drepper <drepper@redhat.com>
2988 * iconv/gconv_simple.c: Fix various small bugs in several
2991 * iconv/loop.c: Fix comment.
2993 2000-06-10 Jakub Jelinek <jakub@redhat.com>
2995 * elf/link.h: Remove libc internal declarations.
2996 * include/link.h: Move them here.
2998 2000-06-09 Ulrich Drepper <drepper@redhat.com>
3000 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
3001 Patch by Dan Pop <Dan.Pop@cern.ch>.
3003 Rewrite error message handling.
3004 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
3006 * elf/dl-error (struct catch): Add objname member.
3007 (_dl_signal_error): Take new parameter with object name. When
3008 passing message on simply store object name and duplicate error
3010 (_dl_catch_error): Take new parameter. Store object name in the
3012 * include/dlfcn.h: Adjust _dl_catch_error prototype.
3013 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
3014 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
3015 (dlerror): Add objname to asprintf() parameters.
3016 (_dl_error_run): Pass new parameter to _dl_catch_error.
3017 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
3018 * elf/dl-open.c (_dl_open): Likewise.
3019 * elf/rtld.c (dl_main): Likewise.
3020 * elf/dl-close.c: Mark error messages with N_().
3021 * elf/dl-deps.c: Likewise.
3022 * elf/dl-error.c: Likewise.
3023 * elf/dl-load.c: Likewise.
3024 * elf/dl-open.c: Likewise.
3025 * elf/dl-reloc.c: Likewise.
3026 * elf/dl-support.c: Likewise.
3027 * elf/dl-sym.c: Likewise.
3028 * elf/dl-version.c: Likewise.
3029 * elf/dl-lookup.c: Add comments about problems with error message
3031 * elf/dl-reloc.c: Likewise.
3032 * elf/dl-version.c: Likewise.
3034 2000-06-09 H.J. Lu <hjl@gnu.org>
3036 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
3039 * dlfcn/Makefile (distribute): Add failtestmod.c.
3040 (tests): Add failtest.
3041 Add rules to build and run failtest.
3042 * dlfcn/failtest.c: New file.
3043 * dlfcn/failtestmod.c: New file.
3045 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
3047 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
3048 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
3049 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
3050 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
3051 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
3053 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3055 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
3056 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
3058 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3059 Ulrich Drepper <drepper@redhat.com>
3061 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
3062 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
3063 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
3064 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
3065 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
3066 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
3068 2000-06-09 Ulrich Drepper <drepper@redhat.com>
3070 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
3071 to find correct mount point despite wrong information from the
3074 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3076 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
3077 the address of a symbol so function pointers are handled properly.
3079 2000-06-08 Ulrich Drepper <drepper@redhat.com>
3081 * sysdeps/i386/Dist: Add bp-asm.h.
3083 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
3084 defaultdir variable instead of "/var/shm" everywhere.
3085 (defaultdir): Change to /dev/shm/.
3087 2000-06-08 Greg McGary <greg@mcgary.org>
3089 * sysdeps/i386/bp-asm.h: New file.
3090 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
3091 offsets. Add ENTER/LEAVE macros for optionally maintaining
3092 frame-pointer chain when debugging.
3093 * sysdeps/i386/add_n.S: Likewise.
3094 * sysdeps/i386/addmul_1.S: Likewise.
3095 * sysdeps/i386/lshift.S: Likewise.
3096 * sysdeps/i386/memchr.S: Likewise.
3097 * sysdeps/i386/memcmp.S: Likewise.
3098 * sysdeps/i386/mul_1.S: Likewise.
3099 * sysdeps/i386/rawmemchr.S: Likewise.
3100 * sysdeps/i386/rshift.S: Likewise.
3101 * sysdeps/i386/stpcpy.S: Likewise.
3102 * sysdeps/i386/stpncpy.S: Likewise.
3103 * sysdeps/i386/strchr.S: Likewise.
3104 * sysdeps/i386/strchrnul.S: Likewise.
3105 * sysdeps/i386/strcspn.S: Likewise.
3106 * sysdeps/i386/strpbrk.S: Likewise.
3107 * sysdeps/i386/strrchr.S: Likewise.
3108 * sysdeps/i386/strspn.S: Likewise.
3109 * sysdeps/i386/strtok.S: Likewise.
3110 * sysdeps/i386/sub_n.S: Likewise.
3111 * sysdeps/i386/submul_1.S: Likewise.
3112 * sysdeps/i386/elf/setjmp.S: Likewise.
3113 * sysdeps/i386/i486/strcat.S: Likewise.
3114 * sysdeps/i386/i486/strlen.S: Likewise.
3115 * sysdeps/i386/i586/add_n.S: Likewise.
3116 * sysdeps/i386/i586/lshift.S: Likewise.
3117 * sysdeps/i386/i586/memcpy.S: Likewise.
3118 * sysdeps/i386/i586/memset.S: Likewise.
3119 * sysdeps/i386/i586/rshift.S: Likewise.
3120 * sysdeps/i386/i586/strchr.S: Likewise.
3121 * sysdeps/i386/i586/strcpy.S: Likewise.
3122 * sysdeps/i386/i586/strlen.S: Likewise.
3123 * sysdeps/i386/i586/sub_n.S: Likewise.
3124 * sysdeps/i386/i686/add_n.S: Likewise.
3125 * sysdeps/i386/i686/memcpy.S: Likewise.
3126 * sysdeps/i386/i686/mempcpy.S: Likewise.
3127 * sysdeps/i386/i686/memset.S: Likewise.
3128 * sysdeps/i386/i686/strcmp.S: Likewise.
3130 2000-06-08 Ulrich Drepper <drepper@redhat.com>
3132 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
3134 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
3135 256 and don't use OPEN_MAX.
3137 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
3138 use it instead of LINK_MAX.
3139 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
3141 2000-06-08 Andreas Jaeger <aj@suse.de>
3143 * libio/genops.c (_IO_list_lock): Only compile body if we're
3145 (_IO_list_unlock): Likewise.
3146 (_IO_list_resetlock): Likewise.
3148 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3150 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
3151 unless user defined it.
3153 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
3154 if not defined by the user.
3156 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
3157 * libio/iofwrite.c (_IO_fwrite): Likewise.
3159 * time/time.h: Add missing __THROW for clock_getcpuclockid
3162 * elf/Makefile (distribute): Add dl-dtprocnum.h.
3163 * include/elf.h: Include also <dl-dtprocnum.h>.
3164 * elf/dl-deps.c: Likewise.
3165 * elf/dl-lookup.c: Likewise.
3166 * elf/dl-runtime.c: Likewise.
3167 * elf/dl-version.c: Likewise.
3168 * elf/do-rel.h: Likewise.
3169 * elf/dynamic-link.h: Likewise.
3170 * elf/link.h: Likewise.
3171 * elf/rtld.c: Likewise.
3172 * sysdeps/generic/dl-dtprocnum.h: New file.
3173 * sysdeps/ia64/dl-dtprocnum.h: New file.
3174 * sysdeps/mips/dl-dtprocnum.h: New file.
3175 * sysdeps/sparc/dl-dtprocnum.h: New file.
3177 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
3179 * elf/do-lookup.h: Add some __builtin_expect.
3181 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
3183 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
3184 (_dl_dynamic_weak): New variable.
3185 * elf/dl-support.c: Likewise.
3186 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
3187 * elf/do-lookup.h: If we find a weak definition treat it like a
3188 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
3189 case treat it like before.
3191 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
3193 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
3195 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
3196 using l_map_start and l_map_end.
3198 * elf/dl-version.c: Add __builtin_expect in many places.
3200 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
3203 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
3205 Lock for stdio stream list becomes global, for use in LinuxThreads.
3207 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
3208 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
3209 _IO_list_resetlock): New interface for iterating global list of
3210 streams without accessing the _IO_list_all global variable,
3211 and for manipulating the lock which protects this list.
3212 * libio/libioP.h: Likewise.
3213 * libio/Version: Add entries for the new functions.
3215 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
3216 pointer to _IO_FILE.
3218 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3220 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
3221 BIT() must actually be BITw().
3223 * locale/programs/ld-ctype.c: Handle SP and space consistently.
3225 * locale/programs/charmap.c: Allow string arguments for
3226 code_set_name and repertoiremap.
3228 2000-06-07 Andreas Jaeger <aj@suse.de>
3230 * elf/Makefile: Build ldconfig only when building shared libraries.
3232 2000-06-07 Jakub Jelinek <jakub@redhat.com>
3234 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
3236 (fdimf, __fdim, fdim): Likewise.
3238 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3240 * locale/findlocale.c: Add __builtin_expect in many places.
3241 * locale/loadlocale.c: Likewise.
3243 2000-06-06 Greg McGary <greg@mcgary.org>
3245 * sysdeps/mips/elf/start.S: Trim redundant code.
3247 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
3248 Use C comments throughout. Line up operands column with tabs.
3249 * sysdeps/powerpc/strchr.S: Likewise.
3250 * sysdeps/powerpc/strcmp.S: Likewise.
3251 * sysdeps/powerpc/strcpy.S: Likewise.
3252 * sysdeps/powerpc/strlen.S: Likewise.
3254 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
3255 Get low part of &__curbrk with @l.
3257 2000-06-06 Ulrich Drepper <drepper@redhat.com>
3259 * iconvdata/utf-16.c: Add __builtin_expect in many places.
3260 * iconvdata/unicode.c: Likewise.
3261 * iconvdata/uhc.c: Likewise.
3262 * iconvdata/t.61.c: Likewise.
3263 * iconvdata/sjis.c: Likewise.
3264 * iconvdata/johab.c: Likewise.
3265 * iconvdata/iso_6937.c: Likewise.
3266 * iconvdata/iso_6937-2.c: Likewise.
3267 * iconvdata/iso8859-1.c: Likewise.
3268 * iconvdata/iso646.c: Likewise.
3269 * iconvdata/iso-2022-kr.c: Likewise.
3270 * iconvdata/iso-2022-jp.c: Likewise.
3271 * iconvdata/iso-2022-cn.c: Likewise.
3272 * iconvdata/gbgbk.c: Likewise.
3273 * iconvdata/gbk.c: Likewise.
3274 * iconvdata/euc-kr.c: Likewise.
3275 * iconvdata/euc-jp.c: Likewise.
3276 * iconvdata/euc-cn.c: Likewise.
3278 2000-06-05 Ulrich Drepper <drepper@redhat.com>
3280 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
3281 * iconvdata/big5.c: Likewise.
3282 * iconvdata/ansi_x3.110.c: Likewise.
3283 * iconvdata/8bit-generic.c: Likewise.
3284 * iconvdata/8bit-gap.c: Likewise.
3285 * iconv/loop.c: Likewise.
3286 * iconv/gconv_db.c: Likewise.
3287 * iconv/gconv_dl.c: Likewise.
3288 * iconv/gconv_simple.c: Likewise.
3289 * iconv/skeleton.c: Likewise.
3291 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
3292 (struct __gconv_step_data): Rename __is_last to __flags.
3293 * iconv/gconv_close.c: Change all uses of __is_last.
3294 * iconv/skeleton.c: Likewise.
3295 * iconvdata/iso-2022-cn.c: Likewise.
3296 * iconvdata/iso-2022-jp.c: Likewise.
3297 * iconvdata/iso-2022-kr.c: Likewise.
3298 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
3299 Recognize IGNORE error handling, set flag, and remove from name.
3300 * iconv/loop.c (ignore_errors_p): Define.
3301 Add flags parameter to both functions.
3302 * iconv/skeleton.c: Pass flags to all conversion functions.
3303 * iconv/gconv_simple.c: Add flags parameter to all functions.
3304 Don't return error for invald error if ignore flag is set.
3305 (ucs4_internal_loop_single): Add missing pointer increment.
3306 (internal_ucs4le_loop_single): Likewise.
3307 * iconv/iconv_prog.c: Implement handling of -c parameter.
3308 * iconvdata/8bit-gap.c: Don't return error for invald error if
3310 * iconvdata/8bit-generic.c: Likewise.
3311 * iconvdata/ansi_x3.110.c: Likewise.
3312 * iconvdata/big5.c: Likewise.
3313 * iconvdata/big5hkscs.c: Likewise.
3314 * iconvdata/euc-cn.c: Likewise.
3315 * iconvdata/euc-jp.c: Likewise.
3316 * iconvdata/euc-kr.c: Likewise.
3317 * iconvdata/gbgbk.c: Likewise.
3318 * iconvdata/gbk.c: Likewise.
3319 * iconvdata/iso-2022-cn.c: Likewise.
3320 * iconvdata/iso-2022-jp.c: Likewise.
3321 * iconvdata/iso-2022-kr.c: Likewise.
3322 * iconvdata/iso646.c: Likewise.
3323 * iconvdata/iso8859-1.c: Likewise.
3324 * iconvdata/iso_6937-2.c: Likewise.
3325 * iconvdata/iso_6937.c: Likewise.
3326 * iconvdata/johab.c: Likewise.
3327 * iconvdata/sjis.c: Likewise.
3328 * iconvdata/t.61.c: Likewise.
3329 * iconvdata/uhc.c: Likewise.
3330 * iconvdata/unicode.c: Likewise.
3331 * iconvdata/utf-16.c: Likewise.
3332 * libio/fileops.c: Likewise.
3333 * libio/iofwide.c: Likewise.
3334 * wcsmbs/btowc.c: Likewise.
3335 * wcsmbs/mbrtowc.c: Likewise.
3336 * wcsmbs/mbsnrtowcs.c: Likewise.
3337 * wcsmbs/mbsrtowcs.c: Likewise.
3338 * wcsmbs/wcrtomb.c: Likewise.
3339 * wcsmbs/wcsnrtombs.c: Likewise.
3340 * wcsmbs/wcsrtombs.c: Likewise.
3341 * wcsmbs/wctob.c: Likewise.
3343 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
3346 2000-06-04 Ulrich Drepper <drepper@redhat.com>
3348 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
3349 counter for the object we are releasing, just decrement it.
3350 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
3352 2000-06-04 Jakub Jelinek <jakub@redhat.com>
3354 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
3357 2000-06-04 Ulrich Drepper <drepper@redhat.com>
3359 * iconvdata/big5hkscs.c: New file.
3360 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
3362 * iconvdata/gconv-modules: Add entry for new module.
3363 * iconvdata/Makefile (modules): Add BIG5HKSCS.
3364 (distribute): Add big5hkscs.c.
3366 2000-06-01 Jakub Jelinek <jakub@redhat.com>
3368 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
3369 inlines to match prototypes in mathcalls.h.
3370 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
3371 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
3372 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
3373 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3375 2000-06-03 Ulrich Drepper <drepper@redhat.com>
3377 * elf/elf.h (SHT_SUNW_move): Define.
3379 * elf/elf.h: Add more Solaris compatiblity definitions.
3381 2000-06-03 Andreas Jaeger <aj@suse.de>
3383 * sysdeps/powerpc/dl-start.S: Close open comment.
3385 2000-06-03 Jakub Jelinek <jakub@redhat.com>
3387 * inet/Versions: Fix typo in rresvport_af export.
3389 2000-06-02 Ulrich Drepper <drepper@redhat.com>
3391 * math/tgmath.h: Pretty print.
3393 2000-06-02 Andreas Jaeger <aj@suse.de>
3395 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
3396 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3398 2000-06-02 Ulrich Drepper <drepper@redhat.com>
3400 * elf/rtld.c (process_envvars): Test for = after variable name.
3402 2000-06-01 Ulrich Drepper <drepper@redhat.com>
3404 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
3405 have extra call to __gmon_start__, use the pointer we already have.
3407 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
3410 * sysdeps/i386/elf/setjmp.S: Work around change is recent
3411 binutils. gas now emits a jump through the PLT instead of a
3412 relative jump if the jump target is an exported symbol.
3414 2000-05-31 Ulrich Drepper <drepper@redhat.com>
3416 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
3418 2000-05-31 Andreas Jaeger <aj@suse.de>
3420 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
3423 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
3424 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3426 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
3428 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
3430 2000-05-30 Ulrich Drepper <drepper@redhat.com>
3432 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
3434 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
3435 * locale/localeconv.c: Make function versioned (with same definition).
3437 * elf/Makefile (modules-names): Strip before using it.
3439 2000-05-30 Andreas Jaeger <aj@suse.de>
3441 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
3442 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
3443 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
3444 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
3445 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
3446 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
3448 2000-05-29 Ulrich Drepper <drepper@redhat.com>
3450 * Makefile: Add GNU make magic.
3452 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
3454 * inet/rcmd.c: Remove __P. Remove unused variables.
3455 (iruserfopen): Make first parameter const.
3456 (ruserok_sa): Return result of ruserok2_sa.
3457 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
3458 * inet/rexec.c: Remove unused variables. Other small cleanups.
3459 * inet/ruserpass.c: Remove __P. Remove unused variables.
3460 (ruserpass): Check results of memory allocation.
3461 * include/netdb.h: Add prototype for ruserpass.
3463 2000-05-29 Andreas Jaeger <aj@suse.de>
3465 * elf/readlib.c (interpreters): Use LD_SO since this is supported
3468 2000-05-29 Jakub Jelinek <jakub@redhat.com>
3470 * inet/rcmd.c (rresvport_af): Use correct port number.
3472 2000-05-26 Andreas Schwab <schwab@suse.de>
3474 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
3475 entries in all-sonames.
3476 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
3477 preserving the old name if different for compatibility.
3479 2000-05-29 Ulrich Drepper <drepper@redhat.com>
3481 * posix/Makefile (tests): Add tst-spawn.
3482 (tst-spawn-ARGS): New variable.
3483 * posix/tst-spawn.c: New file.
3485 * posix/spawn_faction_addclose.c: Correctly account for new entry.
3486 * posix/spawn_faction_adddup2.c: Likewise.
3487 * posix/spawn_faction_addopen.c: Likewise.
3488 * posix/spawni.c: Correctly test for success of dup2 calls.
3490 * posix/tst-preadwrite.c: Check success of malloc call.
3492 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3494 * posix/Makefile (tests): Add tst-exec.
3495 (tst-exec-ARGS): New variable.
3496 * posix/tst-exec.c: New file.
3498 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
3500 2000-05-04 Andreas Jaeger <aj@suse.de>
3502 * string/string.h: Remove __strdup prototype, it's not needed in
3505 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3507 * posix/Makefile (tests): Add tst-fork.
3508 * posix/tst-fork.c: New file.
3510 * resolv/inet_pton.c: Loose __P.
3512 2000-05-21 Jakub Jelinek <jakub@redhat.com>
3514 * libio/libioP.h (_IO_CHECK_WIDE): Define.
3515 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
3516 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
3517 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
3518 _IO_CHECK_WIDE fails.
3520 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3522 * po/da.po: New file.
3524 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
3525 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
3527 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
3528 (Other iconv Implementations): Fix typo.
3529 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
3531 2000-05-27 Andreas Jaeger <aj@suse.de>
3533 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
3535 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
3536 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
3537 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3538 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3539 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
3540 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
3542 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
3543 endianness to decide how to pass arguments.
3544 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3546 * elf/vismain.c: Use test-skeleton interface.
3547 (TEST_FUNCTION): New macro.
3548 (do_test): Renamed from main.
3550 2000-05-27 Ulrich Drepper <drepper@redhat.com>
3552 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
3553 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
3555 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
3556 handling of AI_V4MAPPED flag.
3558 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
3559 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
3560 perform lookup for T_A type and tell getanswer_r to convert the
3561 result with new argument.
3562 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
3563 Don't convert addresses from IPv4 to IPv6 here.
3564 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
3565 IPv6 is wanted. Allow qtype and type from reply to disagree if
3566 IPv4 mapping has to be done. Perform mappings if required by the
3567 caller and not if RES_USE_INET6 bit in _res.options is set.
3568 Add several __builtin_expect.
3570 2000-05-26 Ulrich Drepper <drepper@redhat.com>
3572 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
3574 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
3577 * posix/tst-preadwrite.c: Allow parallel execution of
3578 tst-preadwrite and tst-preadwrite64.
3580 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
3581 * posix/tst-truncate.c: New file.
3582 * posix/tst-truncate64.c: New file.
3584 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
3587 * posix/Makefile (tests): Add tst-preadwrite64.
3588 * posix/tst-preadwrite.c: Alloc file being used also for testing
3589 pread64 and pwrite64.
3590 * posix/tst-preadwrite64.c: New file.
3592 2000-05-26 Andreas Jaeger <aj@suse.de>
3594 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
3595 of arguments dependend on endianness.
3596 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
3598 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
3600 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
3601 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
3602 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3603 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3605 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
3606 endianness to check how to pass argument.
3607 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3609 * elf/ldconfig.h: Update parameter list for process_elf_file.
3611 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
3612 Add parameter file_length and pass it ot process_elf*file.
3614 * sysdeps/generic/readelflib.c (check_ptr): New.
3615 (process_elf_file): Use check_ptr to check all accesses to the
3616 mmapped file. Add parameter file_length.
3618 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
3621 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
3622 Closes PR libc/1573, reported by Bradley White
3623 <bww@laurelnetworks.com>.
3625 2000-05-25 Ulrich Drepper <drepper@redhat.com>
3627 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
3628 __FAST_MATH__ is defined.
3630 2000-05-22 Andreas Jaeger <aj@suse.de>
3632 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
3633 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
3635 * manual/math.texi (FP Function Optimizations): Document gcc
3636 -ffast-math behaviour with mathinlines.
3638 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
3639 functions unless -ffast-math is given to gcc.
3641 2000-05-23 Jakub Jelinek <jakub@redhat.com>
3643 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
3644 __sincosl): Guard with __USE_GNU.
3646 2000-05-24 Ulrich Drepper <drepper@redhat.com>
3648 * csu/Makefile (routines): Add check_fds.
3649 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
3650 binaries. Add various __builtin_expect.
3651 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
3652 * sysdeps/generic/check_fds.c: ...here. New file.
3654 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
3655 binaries if file /etc/suid-debug is available.
3657 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
3658 and wcseqorder members.
3659 (struct locale_collate_t): Likewise.
3660 (collate_finish): Assign collation sequence value to each character.
3661 Create tables for output.
3662 (collate_output): Write out tables with collation sequence information.
3663 * locale/C-collate.c: Provide C locale data for collation sequence
3665 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
3666 _NL_COLLATE_COLLSEQWC.
3667 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
3668 _NL_COLLATE_COLLSEQWC.
3669 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
3670 include fnmatch_loop.c.
3671 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
3672 character is matched by range expression. Use collation sequence
3673 table. Outside glibc fall back on simple character value comparison.
3675 2000-05-24 Andreas Jaeger <aj@suse.de>
3677 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
3680 * intl/Makefile: Run gettext-test only if msgfmt is available.
3682 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
3683 Define it for newer kernels.
3685 2000-05-23 Ulrich Drepper <drepper@redhat.com>
3687 * elf/dl-sym.c: Minor cleanups.
3689 * configure.in: Add test for .protected.
3690 * config.make.in: Add have-protected variable.
3691 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
3692 (tests-vis-yes): Add vismain.
3693 (modules-names): Add $(modules-vis-$(have-protected)).
3694 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
3695 Add rules to generate and run vismain.
3696 * elf/vismain.c: New file.
3697 * elf/vismod1.c: New file.
3698 * elf/vismod2.c: New file.
3699 * elf/vismod3.c: New file.
3701 2000-05-23 Andreas Jaeger <aj@suse.de>
3703 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
3705 * manual/search.texi (Array Sort Function): Document that qsort is
3706 not necessarily in-place.
3708 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
3709 Closes PR libc/1731.
3711 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
3712 * dirent/scandir64.c: Likewise.
3713 * pwd/getpw.c: Likewise.
3714 * stdlib/bsearch.c (bsearch): Likewise.
3715 * stdlib/tst-strtoll.c: Likewise.
3716 * localedata/collate-test.c: Likewise.
3717 * localedata/xfrm-test.c: Likewise.
3718 * posix/bsd-getpgrp.c: Likewise.
3719 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
3720 * sysdeps/generic/bits/siginfo.h: Likewise.
3721 * sysdeps/generic/bits/sockaddr.h: Likewise.
3722 * sysdeps/generic/sys/swap.h: Likewise.
3723 * sysdeps/generic/sys/sysinfo.h: Likewise.
3724 * sysdeps/generic/vfork.c: Likewise.
3725 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
3726 * sysdeps/mach/hurd/fdopen.c: Likewise.
3727 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
3728 * sysdeps/unix/sysv/linux/poll.c: Likewise.
3729 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3730 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3731 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3732 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3733 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
3735 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
3736 * shadow/lckpwdf.c: Likewise.
3737 * stdlib/tst-strtol.c: Likewise.
3738 * sysdeps/generic/tcsetattr.c: Likewise.
3739 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3740 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3742 2000-05-22 Jakub Jelinek <jakub@redhat.com>
3744 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
3745 free it and set to (void *) -1.
3747 2000-05-22 Jakub Jelinek <jakub@redhat.com>
3749 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
3750 not the second character in the range.
3751 * stdio-common/tstscanf.c (main): Add testcase for the above.
3752 Reported by jik@kamens.brookline.ma.us.
3754 2000-05-21 H.J. Lu <hjl@gnu.org>
3756 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
3757 with noexec and noplt parameter.
3758 (do_lookup): Likewise.
3760 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
3761 do_lookup. Support STV_PROTECTED.
3762 (_dl_lookup_symbol_skip): Likewise.
3763 (_dl_lookup_versioned_symbol): Likewise.
3764 (_dl_lookup_versioned_symbol_skip): Likewise.
3766 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
3768 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
3770 2000-05-21 Jakub Jelinek <jakub@redhat.com>
3772 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
3773 * sysdeps/i386/bits/huge_val.h: Likewise.
3774 * sysdeps/ieee754/bits/huge_val.h: Likewise.
3775 * sysdeps/m68k/bits/huge_val.h: Likewise.
3776 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
3777 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
3779 2000-05-22 Andreas Jaeger <aj@suse.de>
3781 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
3784 2000-05-19 Andreas Jaeger <aj@suse.de>
3786 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
3787 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
3788 breaks compilation without linuxthreads.
3790 2000-05-21 Ulrich Drepper <drepper@redhat.com>
3792 * sysdeps/ia64/memccpy.S: New file.
3793 * sysdeps/ia64/memchr.S: New file.
3794 * sysdeps/ia64/memcmp.S: New file.
3795 * sysdeps/ia64/memcpy.S: New file.
3796 * sysdeps/ia64/memmove.S: New file.
3797 * sysdeps/ia64/memset.S: New file.
3798 * sysdeps/ia64/strcat.S: New file.
3799 * sysdeps/ia64/strchr.S: New file.
3800 * sysdeps/ia64/strcmp.S: New file.
3801 * sysdeps/ia64/strcpy.S: New file.
3802 * sysdeps/ia64/strlen.S: New file.
3803 * sysdeps/ia64/strncmp.S: New file.
3804 * sysdeps/ia64/strncpy.S: New file.
3805 * sysdeps/ia64/softpipe.h: New file.
3806 Patches by Dan Pop <Dan.Pop@cern.ch>.
3808 * manual/memory.texi: Document memory handling functions (mlock,
3809 munlock, mlockall, munlockall, brk, and sbrk)
3810 * manual/time.texi: Document timespec and friends.
3811 * manual/conf.texi: Fix references.
3812 * manual/ctype.texi: Likewise.
3813 * manual/errno.texi: Likewise.
3814 * manual/intro.texi: Likewise.
3815 * manual/locale.texi: Likewise.
3816 * manual/sysinfo.texi: Likewise.
3817 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
3819 2000-05-09 Jes Sorensen <jes@linuxcare.com>
3821 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
3822 * sysdeps/ia64/dl-lookupcfg.h: ...here.
3824 2000-05-21 Jakub Jelinek <jakub@redhat.com>
3826 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
3829 2000-05-21 Ulrich Drepper <drepper@redhat.com>
3831 * locale/locale.h (struct lconv): Add new elements from ISO C99.
3832 * locale/localeconv.c: Initialize new elements from ISO C99.
3833 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
3834 new standard elements.
3835 * locale/categories.def: Adjust accordingly.
3837 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
3838 * iconv/iconv.c: Likewise.
3839 * conform/data/iconv.h-data: Likewise.
3840 * iconv/iconv_prog.c (process_block): Remove const from second
3842 (main): Remove const from addr definition.
3843 * manual/charset.texi (Generic Conversion Interface): Remove from
3844 inbuf parameter of iconv.
3846 * intl/dcigettext.c: Fix typo in comment.
3848 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
3850 * resolv/res_libc.c (_res): Initialize _sock to -1.
3852 2000-05-18 Jakub Jelinek <jakub@redhat.com>
3854 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
3855 (fopencookie@@GLIBC_2.2): New.
3856 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
3857 (fopencookie@GLIBC_2.0): New.
3858 * libio/Versions: Add fopencookie to GLIBC_2.2.
3860 2000-05-18 Andreas Jaeger <aj@suse.de>
3862 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
3863 Closes PR libc/1731.
3865 * manual/arith.texi (Parsing of Integers): Fix typo.
3866 Closes PR libc/1744, reported by blp@gnu.org.
3868 2000-05-17 Jakub Jelinek <jakub@redhat.com>
3870 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
3871 __extension__ to hexadecimal floating constant notation.
3872 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
3874 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
3875 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
3877 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
3878 HUGE_VALL): Likewise.
3879 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
3880 HUGE_VALL): Likewise.
3881 (HUGE_VALL): Set to HUGE_VAL on sparc32.
3883 2000-05-17 Andreas Jaeger <aj@suse.de>
3885 * string/envz.h: Add pure attributes if possible.
3887 * string/argz.h: argz_count is a pure function.
3889 * string/strings.h: Add pure and const attributes if possible.
3891 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
3892 possibly searching through the whole memory.
3893 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
3895 2000-05-17 Jakub Jelinek <jakub@redhat.com>
3897 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
3899 (_dl_cache_check_flags): Likewise.
3900 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
3903 2000-05-17 Andreas Jaeger <aj@suse.de>
3905 * manual/creature.texi (Feature Test Macros): Remove paragraph
3906 since the description is wrong.
3907 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
3909 * scripts/config.sub: New version.
3910 * scripts/config.guess: Likewise.
3911 * manual/texinfo.tex: Likewise.
3913 * time/test_time.args: Removed.
3914 * time/Makefile (test_time-ARGS): Added contents here instead.
3916 * posix/tstgetopt.args: Removed.
3917 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
3919 * Rules: Allow arguments for test files to be specified in
3920 Makefile with testname-ARGS; remove rules with .args in it.
3922 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
3923 remove old bogus rule for opendir-tst1.args.
3925 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
3927 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
3928 into objdir. This allows a readonly sourcetree.
3929 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
3931 2000-05-16 Andreas Jaeger <aj@suse.de>,
3932 David Huggins-Daines <dhd@linuxcare.com>
3934 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
3935 cache_data in case of only new cache format correctly.
3937 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
3940 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
3941 struct cache_file_new.
3943 * elf/cache.c (save_cache): Fix str_offset if only new cache is
3946 * elf/cache.c (save_cache): Align struct new_file_cache.
3947 (print_cache): Likewise.
3949 2000-05-13 Jakub Jelinek <jakub@redhat.com>
3951 * elf/soinit.c (__libc_global_ctors): Move
3952 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
3953 * resolv/resolv.h (__res_state): Added __attribute__((const)).
3954 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
3955 variable, don't define it to __res_state call.
3957 2000-05-13 Andreas Jaeger <aj@suse.de>
3959 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
3961 (AF_PPPOX): Likewise.
3962 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
3963 (AF_PPPOX): Likewise.
3965 2000-05-12 Andreas Jaeger <aj@suse.de>
3967 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
3968 Reported by tmoestl@gmx.net, closes PR libc/1732.
3970 2000-05-11 Jan Hubicka <jh@suse.cz>
3972 * misc/sys/cdefs.h: Add support for pure attribute.
3974 * include/string.h: Add __attribute_pure__ to various functions.
3975 * string/string.h: Likewise.
3977 2000-05-10 Jakub Jelinek <jakub@redhat.com>
3979 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
3981 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3983 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
3985 2000-05-10 Jakub Jelinek <jakub@redhat.com>
3987 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
3988 at proper place. Compute the high nibble correctly.
3990 2000-05-09 Jakub Jelinek <jakub@redhat.com>
3992 * elf/ldconfig.c: Include elf.h.
3994 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
3995 (_dl_vsym): Likewise.
3996 Reported by Owen Taylor <otaylor@redhat.com>.
3998 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
4001 2000-05-08 Andreas Jaeger <aj@suse.de>
4003 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
4005 * intl/bindtextdom.c (set_binding_values): Add prototype.
4007 2000-05-08 Jakub Jelinek <jakub@redhat.com>
4009 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
4010 call to elf_machine_fixup_plt.
4011 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4012 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4014 2000-05-08 Jakub Jelinek <jakub@redhat.com>
4016 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
4017 they are not dlclose'd from underneath us.
4019 2000-05-08 Andreas Schwab <schwab@suse.de>
4021 * posix/execle.c: Fix size parameter of memcpy.
4023 2000-05-08 Andreas Schwab <schwab@suse.de>
4025 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
4026 getpagesize syscall if available.
4028 2000-05-08 Andreas Jaeger <aj@suse.de>
4030 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
4033 2000-05-08 Jakub Jelinek <jakub@redhat.com>
4035 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
4036 sizeof(struct link_map *) chunks, not in bytes.
4038 2000-05-07 Ulrich Drepper <drepper@redhat.com>
4040 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
4041 only needed for locale.
4042 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
4043 It's only needed for catgets.
4044 Patches by Greg McGary <gkm@eng.ascend.com>.
4046 2000-05-07 Mark Kettenis <kettenis@gnu.org>
4048 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
4049 Remove duplicate <errno.h> include. Remove inclusion of
4050 <libintl.h> and "nsswitch.h".
4051 (set_cloexec_flag): New function, broken out of dbopen.
4052 (dbopen): Changed return type to `enum
4053 nss_status'. Mostly rewritten to make sure that we do not report
4054 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
4055 (internal_setent): Change return type to nss_status.
4056 Document, and make sure that the function
4057 behaves accordingly. Make dynamically loading the database
4058 library really thread-safe and return NSS_STATUS_UNAVAIL if it
4060 (db_cursor): Return ENOMEM is memory allocation failed. Remove
4062 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
4064 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
4065 c_get function member.
4066 * nss/nss_db/nss_db.h: Add and tweak some comments.
4067 (DBT): Move typedef before NSS_DBC typedef.
4068 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
4070 2000-05-07 H.J. Lu <hjl@gnu.org>
4072 * csu/initfini.c: Moved to ....
4073 * sysdeps/generic/initfini.c: ...here.
4075 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
4077 2000-05-07 Ulrich Drepper <drepper@redhat.com>
4079 * manual/resource.texi: Document POSIX scheduling functions.
4080 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4082 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
4083 reading anything. Reported by Andries.Brouwer@cwi.nl.
4085 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
4086 for x since promotion in comparison might leads to unexpected
4087 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
4089 * iconv/Makefile (tests): Add tst-iconv1.
4090 * iconv/tst-iconv1.c: New file.
4091 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
4092 empty input buffer over full output buffer.
4093 (ucs4_internal_loop): Likewise.
4094 (ucs4_internal_loop_unaligned): Likewise.
4095 (internal_ucs4le_loop): Likewise.
4096 (internal_ucs4le_loop_unaligned): Likewise.
4097 (ucs4le_internal_loop): Likewise.
4098 (ucs4le_internal_loop_unaligned): Likewise.
4099 Reported by yaoz@nih.gov.
4101 2000-05-06 Bruno Haible <haible@clisp.cons.org>
4103 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
4104 returned != __GCONV_OK, there is nothing to clean up.
4106 2000-05-06 Bruno Haible <haible@clisp.cons.org>
4108 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
4109 OUTPUT_CHARSET environment variables.
4111 2000-05-06 Andreas Jaeger <aj@suse.de>
4113 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
4114 (struct cache_file_new): New.
4115 (struct file_entry): New (moved from cache.c).
4116 (struct cache_file): New (moved from cache.c).
4118 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
4119 from _dl_load_cache_lookup.
4120 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
4121 the different cache formats.
4122 New variable cache_new for new format.
4124 * elf/ldconfig.h: Change according to changes in cache.c and
4125 ldconfig.c; remove cache_libcmp; add opt_format.
4127 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
4128 stuff that's defined in those headers.
4129 Add hwcap to struct lib_entry.
4130 (opt_format): New variable to select cache format.
4131 (options): Add format parameter.
4132 (is_hwcap): New function.
4133 (path_hwcap): New function.
4134 (parse_opt): Handle new format parameter.
4135 (search_dir): Handle hwcap, search also subdirectories with hwcap.
4137 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
4138 ldconfig is part of glibc.
4139 Include dl-cache.h and remove stuff that's defined there.
4140 (struct cache_entry): Add new member hwcap.
4141 (print_entry): Print hwcap, cleanup a bit.
4142 (print_cache): Print new and old formats.
4143 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
4144 (save_cache): Save new and old formats.
4145 (add_to_cache): Handle hwcap.
4147 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
4148 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
4149 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
4150 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
4151 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
4152 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
4154 2000-05-05 Bruno Haible <haible@clisp.cons.org>
4156 * intl/dcigettext.c (alignof): New macro.
4157 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
4158 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
4161 2000-05-05 Bruno Haible <haible@clisp.cons.org>
4163 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
4166 2000-05-06 Ulrich Drepper <drepper@redhat.com>
4168 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
4169 (mempcpy): Correct typo is parameter list.
4171 2000-05-06 Andreas Jaeger <aj@suse.de>
4173 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
4174 functions unless -ffast-math is given to gcc.
4176 2000-05-06 Ulrich Drepper <drepper@redhat.com>
4178 * po/ko.po: Update from translation team.
4180 2000-05-05 Ulrich Drepper <drepper@redhat.com>
4182 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
4183 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
4184 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
4185 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
4186 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
4187 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
4189 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
4190 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
4191 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
4193 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
4194 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
4195 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
4196 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
4198 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
4199 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
4201 2000-05-05 Jes Sorensen <jes@linuxcare.com>
4203 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
4204 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
4206 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
4207 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
4209 * sysdeps/ia64/Implies: New file.
4210 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
4211 * sysdeps/ia64/Makefile: New file.
4212 * sysdeps/ia64/gmp-mparam.h: New file,
4214 * sysdeps/ia64/elf/start.S: New file.
4216 * sysdeps/ia64/bits/fenv.h: New file.
4218 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
4220 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
4222 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
4224 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
4225 ia64 has 64 bit .hash entries just as the Alpha.
4227 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
4229 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
4231 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
4233 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
4234 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
4235 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
4236 * sysdeps/ia64/fpu/fegetenv.c: New file.
4237 * sysdeps/ia64/fpu/fegetexcept.c: New file.
4238 * sysdeps/ia64/fpu/fegetround.c: New file.
4239 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
4240 * sysdeps/ia64/fpu/fesetenv.c: New file.
4241 * sysdeps/ia64/fpu/fesetround.c: New file.
4242 * sysdeps/ia64/fpu/feupdateenv.c: New file.
4243 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
4244 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
4245 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
4246 * sysdeps/ia64/fpu/ftestexcept.c: New file.
4248 2000-05-05 Andreas Jaeger <aj@suse.de>
4250 * misc/tst-tsearch.c (main): Correct type for initstate argument.
4252 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
4253 (_dl_string_hwcap): New, does nothing.
4255 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
4256 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4257 (_dl_string_hwcap): New function, converts from string to hwcap
4259 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
4260 (_DL_HWCAP_COUNT): New.
4261 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4262 (_dl_string_hwcap): New function, converts from string to hwcap
4264 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
4265 (_DL_HWCAP_COUNT): New.
4266 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4267 (_dl_string_hwcap): New function, converts from string to hwcap
4270 2000-05-05 Ulrich Drepper <drepper@redhat.com>
4272 * elf/Makefile (distribute): Add dl-lookupcfg.h.
4273 * sysdeps/ia64/Dist: New file.
4275 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
4276 parameter to mprotect and for variable assignments.
4278 2000-05-03 Jes Sorensen <jes@linuxcare.com>
4280 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
4281 validity of map before dereferencing it.
4283 * elf/dl-reloc.c (RESOLVE_MAP): Define.
4285 2000-05-02 Jes Sorensen <jes@linuxcare.com>
4287 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
4288 lookup to the arguments to elf_machine_fixup_plt().
4290 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
4291 of the symbol being resolved to input argument list and make the
4292 function return the pointer to the reloc.
4294 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
4295 return valuie to lookup_t and return the value.
4296 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
4297 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
4298 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
4299 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
4300 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
4301 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
4303 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
4304 Make it an inline function returning value after calling
4305 __elf_machine_fixup_plt().
4307 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
4310 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
4311 obtain the symbol address.
4313 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
4314 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
4316 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
4317 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
4320 2000-04-28 Jes Sorensen <jes@linuxcare.com>
4322 * elf/dl-runtime.c (fixup): Use the portable macros to get the
4323 symbol address of an object.
4325 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
4326 the symbol address of an object.
4328 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
4329 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
4330 (_dl_lookup_symbol_skip): Likewise.
4331 (_dl_lookup_versioned_symbol): Likewise.
4332 (_dl_lookup_versioned_symbol_skip): Likewise.
4334 2000-04-27 Jes Sorensen <jes@linuxcare.com>
4336 * elf/rtld.c (_dl_start): Get the function pointer return address
4337 via _dl_start_address for architectures that need a function
4338 pointer descriptor rather than just a pointer (ia64).
4340 * sysdeps/generic/dl-lookupcfg.h: New file.
4341 * sysdeps/ia64/dl-lookupcfg.h: New file.
4342 * sysdeps/ia64/dl-machine.h: New file.
4343 * sysdeps/ia64/dl-symaddr.c: New file.
4344 * sysdeps/ia64/dl-fptr.c: New file.
4346 * elf/elf.h: Add IA-64 specific definitions.
4348 2000-05-04 Jakub Jelinek <jakub@redhat.com>
4350 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
4353 2000-05-04 Jakub Jelinek <jakub@redhat.com>
4355 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
4358 2000-04-11 Geoff Keating <geoffk@cygnus.com>
4360 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
4361 symbol. Call _dl_init rather than the old way.
4363 2000-05-04 Ulrich Drepper <drepper@redhat.com>
4365 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
4366 test for pointer in range of DSO address space.
4368 2000-05-04 Andreas Jaeger <aj@suse.de>
4370 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
4372 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4374 * locale/findlocale.c (_nl_find_locale): Add new parameter to
4375 calls of _nl_make_l10nflist.
4377 * libio/stdio.h: Make fseeko and ftello prototypes available is
4378 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
4380 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
4381 real unsetenv implementation from 1999-07-29 [PR libc/1714].
4383 2000-05-03 Bruno Haible <haible@clisp.cons.org>
4385 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
4386 before calling tfind.
4388 2000-03-05 Jakub Jelinek <jakub@redhat.com>
4390 * resolv/resolv.h (res_querydomain): Remove redefinition to
4391 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
4393 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4395 * po/gl.po: Update from translation team.
4397 * manual/intro.texi (Program Basics): Change section title.
4398 * manual/process.texi: Fix reference.
4399 (Executing a File): Add reference exec in other section.
4400 * manual/signal.texi: Fix reference.
4401 * manual/startup.texi: Document syscall function.
4402 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
4404 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4406 * intl/libintl.h (bind_textdomain_codeset): New declaration.
4407 * intl/bindtextdom.c (set_binding_values): New function.
4408 (bindtextdomain): Call it.
4409 (bind_textdomain_codeset): New function.
4410 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
4411 (free_mem): Free each binding's codeset.
4412 * intl/gettextP.h (struct binding): Add codeset field.
4413 (_nl_find_domain): Add domainbinding argument.
4414 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
4415 Pass it to _nl_make_l10nflist.
4416 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
4417 (_nl_make_l10nflist): Add domainbinding argument.
4418 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
4419 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
4420 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
4422 * manual/message.texi: New node "Charset conversion in gettext".
4424 2000-04-30 Bruno Haible <haible@clisp.cons.org>
4426 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
4427 appropriate. Handle possible __read error.
4429 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4431 * intl/gettextP.h (__builtin_expect): Define as empty if not a
4433 * intl/loadinfo.h (__builtin_expect): Likewise.
4434 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
4435 __builtin_expect where appropriate.
4436 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4437 * intl/localealias.c (extend_alias_table): Return an error indicator.
4438 (read_alias_file): Bail out if extend_alias_table fails.
4440 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4442 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
4443 * intl/localealias.c: Likewise.
4445 2000-05-01 Bruno Haible <haible@clisp.cons.org>
4447 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
4448 Initialize domain->plural and domain->nplurals even if there is no
4451 2000-05-01 Bruno Haible <haible@clisp.cons.org>
4453 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
4454 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
4455 In case of failure, goto converted.
4457 2000-05-01 Bruno Haible <haible@clisp.cons.org>
4459 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
4460 * iconv/gconv_int.h (norm_add_slashes): Move to here.
4461 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
4464 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4466 * intl/dcigettext.c (transcmp): Compare the domains as well.
4467 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
4469 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
4472 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4474 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
4475 Reported by Bruno Haible.
4477 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4479 * manual/arith.texi: Remove @w from @itemize.
4481 2000-05-02 Andreas Jaeger <aj@suse.de>
4483 * conform/data/tar.h-data: Add some checks for specific values.
4485 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
4488 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
4491 * conform/data/netinet/in.h-data: Add exact checks for the values
4492 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
4494 * conform/data/float.h-data: Add some minimal values.
4496 * conform/conformtest.pl: Test for macros with string constants,
4497 check for minimum and maximum values.
4498 Add limits.h to headers.
4500 * conform/data/cpio.h-data: Test for value of MAGIC.
4502 * conform/data/limits.h-data: New file.
4504 2000-04-30 Bruno Haible <haible@clisp.cons.org>
4506 * math/Makefile (headers): Add bits/fenvinline.h.
4508 2000-05-01 Ulrich Drepper <drepper@redhat.com>
4510 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
4511 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
4513 * posix/Versions: Change posix_spawnattr_getdefault and
4514 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
4515 and posix_spawnattr_setsigdefault respectively.
4516 * posix/spawn.h: Likewise.
4517 * posix/spawnattr_getdefault.h: Likewise.
4518 * posix/spawnattr_setdefault.h: Likewise.
4519 * conform/data/spawn.h-data: Likewise.
4521 2000-05-01 Andreas Jaeger <aj@suse.de>
4523 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
4525 2000-04-30 Ulrich Drepper <drepper@redhat.com>
4527 * manual/sysinfo.texi: Document getdomainname, setdomainname
4529 * manual/string.texi: Fix typo.
4530 * manual/terminal.texi: Document gtty and stty.
4531 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4533 2000-04-30 Andreas Jaeger <aj@suse.de>
4535 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
4536 accordance with Austin Draft.
4538 2000-04-30 Ulrich Drepper <drepper@redhat.com>
4540 * catgets/gencat.c (read_input_file): Use isblank and not isspace
4541 to recognize second character in comment line.
4543 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
4544 ENOBUFS if we are out of memory.
4546 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
4547 available if __USE_XOPEN2K.
4548 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
4549 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4550 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
4551 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
4552 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
4553 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4554 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
4555 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
4557 2000-04-29 Ulrich Drepper <drepper@redhat.com>
4559 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
4560 Recognize option -s, -c, and -l.
4562 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
4564 * nscd/nscd.c: Start new session for nscd, drop privilegs
4565 to configured user if requested and no -S parameter are used.
4566 * nscd/nscd.conf: Add new option "server-user".
4567 * nscd/nscd_conf.c: Add support for new "server-user" option.
4568 * nscd/nscd.h: Add declaration for server_user variable.
4569 Based on patch by Chris Wing <wingc@engin.umich.edu>
4571 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4573 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
4574 that changing the __restore and __restore_rt signal return code
4577 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4579 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
4582 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4584 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
4586 2000-04-29 Ulrich Drepper <drepper@redhat.com>
4588 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
4589 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
4591 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
4592 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
4593 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
4594 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
4595 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
4596 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
4597 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
4598 posix_fallocate, and posix_madvise.
4599 * conform/data/netdb.h-data: New file.
4600 * conform/data/pthread.h-data: Add pthread_barrier_t,
4601 pthread_barrierattr_t, pthread_barrier_destroy,
4602 pthread_barrier_init, pthread_barrier_wait,
4603 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
4604 pthread_barrierattr_init, pthread_barrierattr_setpshared,
4605 pthread_condattr_getclock, pthread_condattr_setclock,
4606 pthread_getcpuclockid, pthread_mutex_timedlock,
4607 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
4608 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
4609 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
4610 * conform/data/sched.h-data: Add sched_ss_low_priority,
4611 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
4613 * conform/data/semaphore.h-data: Add sem_timedwait.
4614 * conform/data/signal.h-data: Add SIGIO.
4615 * conform/data/spawn.h-data: New file.
4616 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
4617 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
4618 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
4619 Fix typo in gmtime_r definition.
4620 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
4621 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
4622 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
4623 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
4624 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
4625 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
4626 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
4627 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
4628 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
4629 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
4630 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
4631 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
4632 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
4633 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
4634 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
4635 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
4636 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
4637 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
4638 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
4639 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
4640 typo in off_t definition.
4641 * conform/data/net/if.h-data: New file.
4642 * conform/data/netinet/in.h-data: New file.
4643 * conform/data/netinet/tcp.h-data: New file.
4644 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
4645 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
4646 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
4647 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
4648 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
4649 and posix_typed_mem_open.
4650 * conform/data/sys/socket.h-data: New file.
4651 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
4652 * conform/data/sys/types.h-data: Add pthread_barrier_t,
4653 pthread_barrierattr_t, and pthread_spinlock_t.
4654 * conform/data/sys/un.h-data: New file.
4655 * conform/data/sys/utsname.h-data: New file.
4657 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
4659 * inet/gethstbyad.c (gethostbyname): Likewise.
4660 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
4661 * inet/getipnodebyad.c (getipnodebyad): Likewise.
4662 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
4663 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
4665 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
4666 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
4667 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
4668 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
4669 * resolv/gethnamaddr.c (gethostbyname): Likewise.
4670 * resolv/netdb.h (struct hostent): Fix type of h_length member.
4671 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
4672 and second parameter.
4674 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
4677 2000-04-29 Andreas Jaeger <aj@suse.de>
4679 * conform/data/arpa/inet.h-data: New file.
4681 2000-04-28 Geoff Clare <gwc@unisoft.com>
4683 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
4684 path passed to ftw() or nftw() is an empty string.
4685 Closes PR libc/1710.
4687 2000-04-27 Ulrich Drepper <drepper@redhat.com>
4689 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
4690 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
4691 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
4692 * localedata/tst-mbswcs4.c: New file.
4693 * localedata/tst-mbswcs5.c: New file.
4695 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
4696 == NULL. Little optimization.
4698 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
4699 DT_PREINIT_ARRAYSZ).
4700 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
4702 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
4703 overflows in conversion from ASCII.
4705 2000-04-26 Jakub Jelinek <jakub@redhat.com>
4707 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
4708 * Makerules (full_config_sysdirs): Likewise.
4709 * MakeTAGS (full_config_sysdirs): Likewise.
4711 2000-04-26 Jakub Jelinek <jakub@redhat.com>
4713 * .cvsignore: Remove linuxthreads.
4714 * po/.cvsignore: Remove *.pot.
4715 * posix/glob/.cvsignore: Removed.
4716 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
4718 2000-04-25 Andreas Jaeger <aj@suse.de>
4720 * conform/Makefile (distribute): Also distribute contents of
4723 * Makerules (no_deps): Remove abi-versions.h.
4725 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
4727 2000-04-25 Jakub Jelinek <jakub@redhat.com>
4729 * sysdeps/sparc/sparc64/elf/Dist: Remove.
4730 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
4731 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
4732 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
4733 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
4734 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
4737 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
4739 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
4741 2000-04-23 Bruno Haible <haible@clisp.cons.org>
4743 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
4744 * intl/l10nflist.c: Likewise.
4746 2000-04-23 Bruno Haible <haible@clisp.cons.org>
4748 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
4749 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
4750 * intl/textdomain.c [!_LIBC]: Likewise.
4751 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
4752 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
4753 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
4756 2000-04-23 Bruno Haible <haible@clisp.cons.org>
4758 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
4759 character set conversion also in the case the translation was found
4760 after a hash collision or through binary search. Store the maximum
4761 index together with the converted message. Use iconv() when available.
4762 In case of out of memory during conversion, return the unconverted
4763 translated string, not NULL.
4765 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
4767 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
4768 to avoid name clashes with the ia32 linker.
4770 2000-04-25 Jakub Jelinek <jakub@redhat.com>
4772 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
4775 2000-04-27 Ulrich Drepper <drepper@redhat.com>
4777 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
4778 strtoumax, strfry, and memfrob.
4779 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
4780 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4782 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
4783 if this function is available.
4785 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
4788 2000-04-27 Jakub Jelinek <jakub@redhat.com>
4790 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
4792 2000-04-27 Ulrich Drepper <drepper@redhat.com>
4794 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
4795 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
4796 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
4797 * localedata/tst-mbswcs3.c: New file.
4799 2000-04-26 Ulrich Drepper <drepper@redhat.com>
4801 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
4802 characters. Don't handle incomplete characters as errors.
4803 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
4804 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
4805 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
4806 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
4807 * localedata/tst-mbswcs2.c: New file.
4809 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
4810 stored character in state in UNPACK_BYTES macro.
4811 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
4812 test for available characters, handle result of BODY code correctly.
4813 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
4814 (distribute): Add tst-mbswcs.sh.
4815 Add rule to run tst-mbswcs.sh.
4816 * localedata/tst-mbswcs.sh: New file.
4817 * localedata/tst-mbswcs1.c: New file.
4819 2000-04-26 Jakub Jelinek <jakub@redhat.com>
4821 * nis/nis_callback.c (__nis_create_callback): Do failed memory
4822 allocation fixups centrally, fix __builtin_expect call, return NULL
4823 on failure, not NIS_NOMEMORY.
4825 2000-04-27 Bruno Haible <haible@clisp.cons.org>
4827 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
4829 * intl/loadinfo.h (internal_function): Define if not already defined.
4831 2000-04-27 Andreas Jaeger <aj@suse.de>
4833 * intl/libintl.h: Fix typo, reported by Bruno Haible
4834 <haible@clisp.cons.org>.
4836 2000-04-25 Ulrich Drepper <drepper@redhat.com>
4838 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
4839 setting the state to GMON_PROF_BUSY.
4841 2000-04-24 Ulrich Drepper <drepper@redhat.com>
4843 * elf/dl-profile.c (_dl_start_profile): define all variables which
4844 do not have to be global as local variables.
4846 * nis/nis_callback.c (__nis_create_callback): Partially undo last
4847 patch. Keep needed tests for failed memory allocation.
4849 * elf/dl-reloc.c (_dl_relocate_object): Add one more
4850 __builtin_expect saying that we don't normally expect to profile.
4852 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
4853 __builtin_expect where desirable.
4855 2000-04-23 Ulrich Drepper <drepper@redhat.com>
4857 * manual/Makefile (chapters): Add syslog.
4858 * manual/syslog.texi: New file.
4859 * manual/math.texi: Fix references.
4860 * manual/terminal.texi: Likewise.
4861 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4863 2000-04-18 Jakub Jelinek <jakub@redhat.com>
4865 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
4866 stdlib.h was not included or __USE_XOPEN not defined.
4868 2000-04-23 Ulrich Drepper <drepper@redhat.com>
4870 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
4871 Patch by Zack Weinberg <zack@wolery.cumb.org>.
4873 2000-04-22 Ulrich Drepper <drepper@redhat.com>
4875 * manual/examples/subopt.c (mount_opts): Add missing terminating
4877 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
4879 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
4880 * libio/ftello.c: Likewise.
4881 * libio/ftello64.c: Likewise.
4882 * libio/ioftell.c: Likewise.
4883 * sysdeps/generic/memrchr.c: Likewise.
4884 * sysdeps/posix/libc_fatal.c: Likewise.
4885 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
4886 * misc/fstab.c: Include <string.h> for strcmp prototype.
4887 * sysdeps/generic/ldsodefs.h: Likewise.
4888 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4889 Patch by Kurt Roeckx <Q@ping.be>.
4891 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
4892 Remove db-open. Change all uses.
4893 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
4895 2000-04-21 Jakub Jelinek <jakub@redhat.com>
4897 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
4898 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
4899 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
4900 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
4901 with .set noat/at to shut up warnings.
4902 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
4903 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
4904 compilation if __NR_pciconfig_iobase is not defined.
4905 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
4908 2000-04-21 Ulrich Drepper <drepper@redhat.com>
4910 * manual/sysinfo.texi: Fix typo.
4911 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
4912 Replace "high precision time" with "high accuracy clock".
4914 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
4916 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
4917 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
4919 * nis/nis_subr.c: Use __builtin_expect.
4920 * nis/ypclnt.c: Likewise.
4921 * nis/nis_getservlist.c: Likewise.
4922 * nis/nis_creategroup.c: Likewise.
4924 * nis/nis_callback.c (__nis_create_callback): Check result of
4925 memory allocation. Fix memory leaks. Use __builtin_expect.
4926 (__nis_destroy_callback): Fix memory leaks.
4928 2000-04-21 Andreas Jaeger <aj@suse.de>
4930 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
4931 * sysdeps/mips/mips64/add_n.S: Likewise.
4932 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
4933 * sysdeps/mips/mips64/lshift.S: Likewise.
4934 * sysdeps/mips/mips64/mul_1.S: Likewise.
4935 * sysdeps/mips/mips64/rshift.S: Likewise.
4936 * sysdeps/mips/mips64/setjmp.S: Likewise.
4937 * sysdeps/mips/mips64/sub_n.S: Likewise.
4938 * sysdeps/mips/mips64/submul_1.S: Likewise
4939 * sysdeps/unix/mips/sysdep.S: Likewise.
4941 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
4942 and update comment. The strtab from _dl_relocate_object can be
4945 2000-04-21 Ulrich Drepper <drepper@redhat.com>
4947 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
4948 * iconv/iconv_close.c (iconv_close): Likewise.
4949 * iconv/iconv_open.c (iconv_open): Likewise.
4951 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
4952 __builtin_expect where useful.
4954 * grp/initgroups.c (initgroups): Test for result of memory
4955 allocation and punt if it fails.
4957 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
4958 * grp/fgetgrent.c (fgetfrent): Likewise.
4959 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
4961 2000-04-21 Jakub Jelinek <jakub@redhat.com>
4963 * libio/vasprintf.c: Include string.h to get memcpy prototype.
4965 2000-04-20 Ulrich Drepper <drepper@redhat.com>
4967 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
4968 don't search for NUL byte to decrement counter.
4969 Reported by Ulrich.Brink@sap.com.
4971 * iconv/gconv_simple.c: Define separate functions to convert from
4972 UCS4/UCS4-LE to the internal encoding.
4973 * iconv/gconv_builtin.h: Use separate functions to convert from
4974 UCS4/UCS4-LE to the internal encoding.
4975 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
4976 __gconv_transform_ucs4le_internal.
4978 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
4979 output buffer overflow. Reported by Ulrich.Brink@sap.com.
4981 * iconv/skeleton.c: Add some more __builtin_expect.
4982 * iconv/loop.c: Likewise.
4984 2000-03-08 H.J. Lu <hjl@gnu.org>
4986 * posix/regex.c (regex_compile): Correctly handle "\{" when
4987 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
4989 2000-04-20 Ulrich Drepper <drepper@redhat.com>
4991 * manual/stdio.texi: Give advise about handling error when using
4993 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
4995 2000-04-19 Jakub Jelinek <jakub@redhat.com>
4997 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
4998 field to nelems * sizeof (uint32_t).
4999 * locale/programs/ld-address.c (address_output): Align word fields
5001 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5002 Don't restart idx pointers to idx end at the duo_int_curr_symbol
5004 Avoid giving arbitrary garbage in the crncystr field.
5005 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
5006 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
5008 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5009 Don't restart idx pointers to idx end at the decimal_point_wc field.
5010 * locale/programs/ld-time.c (time_output): week_1stday should be
5011 word, not byte. Align it properly.
5013 2000-04-19 H.J. Lu <hjl@gnu.org>
5015 * csu/gmon-start.c (_start): Declared as "extern void".
5018 2000-04-18 Andreas Jaeger <aj@suse.de>
5020 * manual/install.texi (Running make install): Don't mention utmpd
5023 2000-04-18 Andreas Jaeger <aj@suse.de>
5025 * linuxthreads/Versions: Use ld instead of ld.so.
5027 * elf/Makefile (ld-map): Use ld.map.
5029 * Versions.def: Use ld instead of ld.so.
5030 * elf/Versions: Likewise.
5031 * sysdeps/mach/hurd/Versions: Likewise.
5033 2000-04-20 Andreas Jaeger <aj@suse.de>
5035 * elf/rtld.c (print_statistics): Move ifndef further up.
5036 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
5037 (dl_main): Likewise.
5039 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5041 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
5042 * gmon/Versions: Move moncontrol to GLIBC_2.2.
5044 * po/cs.po: Update from translation team.
5046 * sysdeps/generic/updwtmp.c: Remove daemon support.
5048 * login/Makefile (routines): Remove utmp_daemon.
5050 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
5051 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
5052 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
5053 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
5055 * elf/rtld.c: Display statitics option also if hp timing is not
5058 * login/programs/connection.c: Removed.
5059 * login/programs/database.c Removed.
5060 * login/programs/error.c: Removed.
5061 * login/programs/request.c: Removed.
5062 * login/programs/xtmp.c: Removed.
5063 * login/programs/xtmp.h: Removed.
5064 * login/Makefile: Remove rules for utmpd.
5065 * login/README.utmpd: Removed.
5066 * login/utmp_daemon.c: Removed.
5067 * login/getutent_r.c: Remove references to daemon functions.
5068 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
5071 2000-04-18 Andreas Jaeger <aj@suse.de>
5073 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
5074 2.2 for libnsl, libresolv, librt, libnss_*.
5076 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
5078 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
5080 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5082 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
5083 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
5084 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
5085 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
5086 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
5087 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
5088 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
5089 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
5090 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
5091 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
5092 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
5093 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
5094 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
5096 * sysdeps/unix/sysv/aix/msync.c: New file.
5097 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
5098 * sysdeps/unix/sysv/aix/net/if.h: New file.
5099 * sysdeps/unix/sysv/aix/pipe.c: New file.
5100 * sysdeps/unix/sysv/aix/poll.c: New file.
5101 * sysdeps/unix/sysv/aix/rename.c: New file.
5102 * sysdeps/unix/sysv/aix/rmdir.c: New file.
5103 * sysdeps/unix/sysv/aix/select.c: New file.
5104 * sysdeps/unix/sysv/aix/semctl.c: New file.
5105 * sysdeps/unix/sysv/aix/semget.c: New file.
5106 * sysdeps/unix/sysv/aix/semop.c: New file.
5107 * sysdeps/unix/sysv/aix/sendto.c: New file.
5108 * sysdeps/unix/sysv/aix/setgroups.c: New file.
5109 * sysdeps/unix/sysv/aix/setpgid.c: New file.
5110 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
5111 * sysdeps/unix/sysv/aix/setpriority.c: New file.
5112 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
5113 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
5114 * sysdeps/unix/sysv/aix/setsid.c: New file.
5115 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
5116 * sysdeps/unix/sysv/aix/shmat.c: New file.
5117 * sysdeps/unix/sysv/aix/shmctl.c: New file.
5118 * sysdeps/unix/sysv/aix/shmdt.c: New file.
5119 * sysdeps/unix/sysv/aix/shmget.c: New file.
5120 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
5121 * sysdeps/unix/sysv/aix/sigstack.c: New file.
5122 * sysdeps/unix/sysv/aix/socket.c: New file.
5123 * sysdeps/unix/sysv/aix/socketpair.c: New file.
5124 * sysdeps/unix/sysv/aix/speed.c: New file.
5125 * sysdeps/unix/sysv/aix/symlink.c: New file.
5126 * sysdeps/unix/sysv/aix/sync.c: New file.
5127 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
5128 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
5129 * sysdeps/unix/sysv/aix/times.c: New file.
5130 * sysdeps/unix/sysv/aix/ulimit.c: New file.
5131 * sysdeps/unix/sysv/aix/umask.c: New file.
5132 * sysdeps/unix/sysv/aix/unlink.c: New file.
5133 * sysdeps/unix/sysv/aix/ustat.c: New file.
5134 * sysdeps/unix/sysv/aix/utimes.c: New file.
5136 2000-04-18 Andreas Jaeger <aj@suse.de>
5138 * manual/startup.texi (Environment Access): Fix putenv prototype
5139 according to recent changes.
5140 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
5143 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
5146 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5148 * posix/Makefile (tests): Add tst-getaddrinfo.
5149 * posix/tst-getaddrinfo.c: New file.
5151 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5153 * manual/sysinfo.texi: Document that umount2 is not widely available.
5155 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
5156 signal timing is not really implemented.
5158 2000-04-17 Andreas Jaeger <aj@suse.de>
5160 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
5162 2000-04-17 Jakub Jelinek <jakub@redhat.com>
5164 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
5167 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5169 * manual/intro.texi: Change reference from System Information to
5171 * manual/users.texi: Likewise.
5172 * manual/conf.texi: Likewise.
5173 * manual/sysinfo.texi: Document mount, umount, and umount2.
5174 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5176 2000-04-17 Jakub Jelinek <jakub@redhat.com>
5178 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
5179 Create wnumstr as well as numstr to support wide character output
5182 2000-04-15 Jakub Jelinek <jakub@redhat.com>
5184 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
5185 modification and move it...
5186 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
5187 Add -melf64_sparc switch to $(LD) on sparc64-linux.
5188 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
5189 switch to $(LD) on sparc-linux.
5191 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
5193 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
5194 and setresuid from sysdep_routines.
5196 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5198 * manual/Makefile (chapters): Add resource.
5200 * manual/time.texi: Move section on resources to...
5201 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
5203 * manual/setjmp.texi: Adjust back reference.
5204 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5206 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
5208 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
5209 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
5210 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
5211 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
5212 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
5213 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
5214 * sysdeps/unix/sysv/aix/close.c: Add copyright.
5215 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
5216 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
5217 * sysdeps/unix/sysv/aix/access.c: Add copyright.
5218 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
5219 * sysdeps/unix/sysv/aix/Implies: New file.
5220 * sysdeps/unix/sysv/aix/Versions: New file.
5221 * sysdeps/unix/sysv/aix/bind.c: New file.
5222 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
5223 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
5224 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
5225 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
5226 * sysdeps/unix/sysv/aix/chdir.c: New file.
5227 * sysdeps/unix/sysv/aix/chmod.c: New file.
5228 * sysdeps/unix/sysv/aix/chroot.c: New file.
5229 * sysdeps/unix/sysv/aix/creat.c: New file.
5230 * sysdeps/unix/sysv/aix/dl-close.c: New file.
5231 * sysdeps/unix/sysv/aix/dl-open.c: New file.
5232 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
5233 * sysdeps/unix/sysv/aix/fchdir.c: New file.
5234 * sysdeps/unix/sysv/aix/fchmod.c: New file.
5235 * sysdeps/unix/sysv/aix/getgroups.c: New file.
5236 * sysdeps/unix/sysv/aix/gethostname.c: New file.
5237 * sysdeps/unix/sysv/aix/getpriority.c: New file.
5238 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
5239 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
5240 * sysdeps/unix/sysv/aix/getrusage.c: New file.
5241 * sysdeps/unix/sysv/aix/link.c: New file.
5242 * sysdeps/unix/sysv/aix/madvise.c: New file.
5243 * sysdeps/unix/sysv/aix/mkdir.c: New file.
5244 * sysdeps/unix/sysv/aix/mknod.c: New file.
5245 * sysdeps/unix/sysv/aix/mprotect.c: New file.
5246 * sysdeps/unix/sysv/aix/msgctl.c: New file.
5247 * sysdeps/unix/sysv/aix/msgget.c: New file.
5248 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
5250 2000-04-17 Andreas Jaeger <aj@suse.de>
5252 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
5253 as suggested by Ulrich Drepper.
5254 (__dl_runtime_resolve): Remove unused variable, initialize sym
5256 (RTLD_START): Document OFFSET_GP_GOT.
5257 (OFFSET_GP_GOT): New magic value.
5258 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
5259 (elf_machine_got_rel): Only declare strtab if needed.
5260 (elf_machine_relplt): Removed, it's not needed.
5261 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
5263 * sysdeps/mips/add_n.S: Add newline at EOF.
5264 * sysdeps/mips/rshift.S: Likewise.
5265 * sysdeps/mips/mul_1.S: Likewise.
5266 * sysdeps/mips/lshift.S: Likewise.
5267 * sysdeps/mips/addmul_1.S: Likewise.
5269 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5271 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
5273 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
5274 * elf/dl-lookup.c: Likewise.
5275 * elf/dl-init.c (_dl_init): Likewise.
5276 * elf/dl-fini.c (_dl_fini): Likewise.
5277 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5278 * elf/dl-close.c (_dl_close): Likewise.
5279 * elf/rtld.c (_dl_start_final): Likewise.
5281 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
5283 2000-04-15 Ulrich Drepper <drepper@redhat.com>
5285 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
5286 only fall back on using Linux.
5288 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
5289 Before testing versions check that we actually loaded the object
5290 and whether we are in trace mode. If not loaded during tracing don't
5291 test versions in this object.
5292 (_dl_check_all_versions): Take new parameter and pass to
5293 _dl_check_map_versions.
5294 * sysdeps/generic/ldsodefs.h: Update prototypes for
5295 _dl_check_all_versions and _dl_check_map_versions.
5296 * elf/rtld.c (struct version_check_args): Add dotrace.
5297 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
5298 (dl_main): Pass info about trace mode to version_check_doit.
5299 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
5300 _dl_check_all_versions.
5302 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
5304 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5306 * manual/argp.texi: Document index parameter of argp_parse.
5308 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
5310 2000-04-14 Andreas Jaeger <aj@suse.de>
5312 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
5313 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
5315 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
5317 2000-04-15 Ulrich Drepper <drepper@redhat.com>
5319 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
5320 compat_symbol call for old adjtime.
5322 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
5323 function interface. Patch by Richard Henderson <rth@cygnus.com>.
5325 * posix/Makefile (headers): Add spawn.h.
5326 (distribute): Add spawn_int.h.
5327 (routines): Add spawn_faction_init, spawn_faction_destroy,
5328 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
5329 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
5330 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
5331 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
5332 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
5333 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
5334 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
5335 posix_spawnattr_init, posix_spawnattr_destroy,
5336 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
5337 posix_spawnattr_getflags, posix_spawnattr_setflags,
5338 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
5340 * posix/spawn.c: New file.
5341 * posix/spawn.h: New file.
5342 * posix/spawn_faction_addclose.c: New file.
5343 * posix/spawn_faction_adddup2.c: New file.
5344 * posix/spawn_faction_addopen.c: New file.
5345 * posix/spawn_faction_destroy.c: New file.
5346 * posix/spawn_faction_init.c: New file.
5347 * posix/spawn_int.h: New file.
5348 * posix/spawnattr_destroy.c: New file.
5349 * posix/spawnattr_getdefault.c: New file.
5350 * posix/spawnattr_getflags.c: New file.
5351 * posix/spawnattr_getpgroup.c: New file.
5352 * posix/spawnattr_getschedparam.c: New file.
5353 * posix/spawnattr_getschedpolicy.c: New file.
5354 * posix/spawnattr_getsigmask.c: New file.
5355 * posix/spawnattr_init.c: New file.
5356 * posix/spawnattr_setdefault.c: New file.
5357 * posix/spawnattr_setflags.c: New file.
5358 * posix/spawnattr_setpgroup.c: New file.
5359 * posix/spawnattr_setschedparam.c: New file.
5360 * posix/spawnattr_setschedpolicy.c: New file.
5361 * posix/spawnattr_setsigmask.c: New file.
5362 * posix/spawni.c: New file.
5363 * posix/spawnp.c: New file.
5365 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
5366 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
5368 2000-04-14 Ulrich Drepper <drepper@redhat.com>
5370 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
5371 * malloc/malloc.c: Implement posix_memalign for glibc.
5372 * include/stdlib.h: Add prototype for __posix_memalign.
5373 * stdlib/stdlib.h: Add prototype for posix_memalign.
5375 2000-04-14 Andreas Jaeger <aj@suse.de>
5377 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
5379 (elf_machine_got_rel): Cast sym correctly.
5381 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
5382 * sysdeps/mips/addmul_1.S: Likewise.
5383 * sysdeps/mips/lshift.S: Likewise.
5384 * sysdeps/mips/mul_1.S: Likewise.
5385 * sysdeps/mips/rshift.S: Likewise.
5386 * sysdeps/mips/sub_n.S: Likewise.
5387 * sysdeps/mips/submul_1.S: Likewise.
5389 * stdlib/stdlib.h: Fix typo in comment.
5391 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
5392 2.2 for libdl, ld and libm.
5394 * sysdeps/generic/madvise.c: Fix typos.
5396 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
5398 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
5400 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
5403 2000-04-14 Ulrich Drepper <drepper@redhat.com>
5405 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
5406 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
5407 Make old name weak alias.
5408 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
5409 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
5410 Make old name weak alias.
5411 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
5413 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
5414 posix_fallocate, and posix_fallocate64.
5415 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
5416 posix_fallocate, and posix_fallocate64.
5417 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
5418 posix_fallocate, and posix_fallocate64.
5419 * sysdeps/generic/fadvise.c: New file.
5420 * sysdeps/generic/fadvise64.c: New file.
5421 * sysdeps/generic/fallocate.c: New file.
5422 * sysdeps/generic/fallocate64.c: New file.
5423 * sysdeps/posix/fallocate.c: New file.
5424 * sysdeps/posix/fallocate64.c: New file.
5425 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
5426 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
5427 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
5428 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
5429 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
5430 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
5431 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
5432 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
5433 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5435 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
5436 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5438 2000-04-13 Ulrich Drepper <drepper@redhat.com>
5440 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
5441 * misc/sys/mman.h (posix_madvise): Add prototype.
5442 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
5443 old name and posix_madvise weak aliases.
5444 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5445 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
5446 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
5447 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
5448 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
5449 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5450 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5452 2000-04-13 Andreas Jaeger <aj@suse.de>
5454 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
5456 (elf_machine_got_rel): Only add runtime display if needed.
5457 (elf_machine_got_rel): Handle symbol versioning.
5459 2000-04-13 Andreas Jaeger <aj@suse.de>
5461 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
5463 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
5466 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
5467 with some applications.
5468 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
5470 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
5471 * sysdeps/mips/bsd-_setjmp.S: Likewise.
5472 * sysdeps/mips/setjmp.S: Likewise.
5474 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
5476 2000-04-13 Ulrich Drepper <drepper@redhat.com>
5478 * posix/globtest.sh: Work around inconsistency with expanding ~/
5479 in shell (PR libc/1690). Reported by patsmith@pobox.com.
5481 2000-04-12 Ulrich Drepper <drepper@redhat.com>
5483 * posix/getconf.c: Add support for many more POSIX options.
5484 * sysdeps/posix/sysconf.c: Likewise.
5485 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
5486 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
5488 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
5489 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
5490 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
5491 CLOCK_THREAD_CPUTIME_ID.
5492 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
5493 CLOCK_PROCESS_CPUTIME_ID.
5494 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
5495 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
5496 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
5497 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
5499 * malloc/Makefile (tests): Add tst-calloc.
5500 * malloc/tst-calloc.c: New file.
5502 * sysdeps/arm/libm-test-ulps: New file.
5504 * malloc/malloc.c: Undo all of today's changes.
5506 * locale/programs/locale.c (show_info): Don't try to look into
5507 data for LC_ALL (there is none).
5509 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
5510 avoid writing over boundary.
5511 Patch by Greg McGary <gkm@eng.ascend.com>.
5513 * sysdeps/arm/memprof.h: New file.
5515 2000-04-12 Andreas Jaeger <aj@suse.de>
5517 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
5519 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
5520 for memmem declaration.
5522 2000-04-12 Ulrich Drepper <drepper@redhat.com>
5524 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
5526 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5528 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
5530 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
5531 Patch by Bart Veer <bartv@redhat.com>.
5533 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
5536 2000-04-11 Andreas Jaeger <aj@suse.de>
5538 * sysdeps/mips/dl-machine.h: Update some comments.
5539 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
5541 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5543 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
5544 _POSIX_SHARED_MEMORY_OBJECTS.
5546 * rt/Makefile (tests): Add tst-shm.
5547 Add rules to generate tst-shm.
5548 * rt/tst-shm.c: New file.
5550 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
5553 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
5554 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
5555 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
5556 * sysdeps/generic/shm_open.c: New file.
5557 * sysdeps/generic/shm_unlink.c: New file.
5558 * sysdeps/unix/sysv/linux/shm_open.c: New file.
5559 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
5560 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
5561 __endmntent, __getmntent_r, __setmntent, and __statfs.
5563 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
5564 fragmentation by allocating new memory at the end instead of
5567 * posix/globtest.sh: Fix last change.
5569 2000-04-10 Philip Blundell <philb@gnu.org>
5571 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
5572 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
5573 IPV6_DROP_MEMBERSHIP.
5574 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
5577 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5579 * elf/readlib (process_file): Close streams in case of an error.
5581 2000-04-09 Andreas Jaeger <aj@suse.de>
5583 * elf/readlib.c (process_file): Check if file is big enough to
5584 contain aout and ELF headers.
5585 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
5587 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
5589 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
5591 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5593 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
5595 * rt/Makefile (tests): Add tst-clock.
5596 Add rules to build tst-clock.
5597 * rt/tst-clock.c: New file.
5598 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
5599 about initialization of nsec.
5600 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
5601 about initialization of freq. Set retval to zero if successful.
5602 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
5604 2000-04-10 Ulrich Drepper <drepper@redhat.com>
5606 * Versions.def (librt): Add GLIBC_2.2.
5607 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
5608 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
5609 timer_getoverr, timer_gettime, and timer_settime.
5610 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
5611 clock_settime, timer_create, timer_delete, timer_getoverrun,
5612 timer_gettime, and timer_settime.
5613 * sysdeps/generic/clock_getcpuclockid.c: New file.
5614 * sysdeps/generic/get_clockfreq.c: New file.
5615 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
5616 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
5617 * sysdeps/mach/hurd/i386/bits/time.h: New file.
5618 * sysdeps/unix/i386/i586/clock_getres.c: New file.
5619 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
5620 * sysdeps/unix/i386/i686/Implies: New file.
5621 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
5622 * time/Makefile (routines): Move clock_getres, clock_gettime,
5623 clock_settime, timer_create, timer_delete, timer_getoverr,
5624 timer_gettime, and timer_settime to rt/Makefile.
5625 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
5626 clock_settime, timer_create, timer_delete, timer_getoverrun,
5627 timer_gettime, and timer_settime.
5628 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
5630 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
5631 and not const as attribute name.
5633 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
5635 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
5637 2000-04-10 Andreas Schwab <schwab@suse.de>
5639 * posix/globtest.sh: Skip tests that depend on unreadable
5640 directories if run as root.
5642 2000-04-10 Ulrich Drepper <drepper@redhat.com>
5644 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
5645 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
5647 2000-04-09 Ulrich Drepper <drepper@redhat.com>
5649 * sysdeps/unix/clock_gettime.c: New file.
5650 * sysdeps/unix/clock_settime.c: New file.
5651 * sysdeps/posix/clock_getres.c: New file.
5653 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
5655 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
5656 lseek call be passing in a buffer which never allow a successful
5657 first getdents syscall if not at leas the initial entry can be
5658 stored in the user buffer.
5660 * localedata/Makefile: Add rules to clean up directories created by
5663 2000-04-09 Geoff Clare <gwc@unisoft.com>
5665 * localedata/tst-fmon.data: Added new tests for strfmon()
5666 using test locales with all combinations of cs_precedes,
5667 sign_posn and sep_by_space.
5668 * localedata/tst-fmon.sh: Updated to support the new tests.
5669 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
5670 the localedef source for the new strfmon() test locale.
5671 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
5672 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
5673 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
5674 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
5675 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
5676 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
5677 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
5678 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
5679 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
5680 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
5681 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
5682 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
5683 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
5684 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
5686 * stdlib/strfmon.c: Correct problems with missing or extra
5687 spaces for unusual combinations of sign_posn and sep_by_space.
5688 Improved left-precision alignment code.
5690 2000-04-07 Andreas Jaeger <aj@suse.de>
5692 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
5694 2000-04-10 Andreas Jaeger <aj@suse.de>
5696 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
5698 2000-04-09 Ulrich Drepper <drepper@redhat.com>
5700 Implement handling of restartable conversion functions according to
5702 * iconv/gconv.h (__gconv_fct): Add additional parameter.
5703 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
5704 * iconv/gconv.c: Pass additional parameter to conversion function.
5705 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
5706 (internal_ucs4le_loop_single): New function.
5707 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
5708 (__gconv_transform_internal_ascii): Likewise.
5709 (__gconv_transform_internal_utf8): Likewise.
5710 (__gconv_transform_utf8_internal): Likewise.
5711 (__gconv_transform_ucs2_internal): Likewise.
5712 (__gconv_transform_internal_ucs2): Likewise.
5713 (__gconv_transform_ucs2reverse_internal): Likewise.
5714 (__gconv_transform_internal_ucs2reverse): Likewise.
5715 (internal_ucs4le_loop_unaligned): Before return
5716 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
5717 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
5718 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
5719 * iconv/loop.c: Fit in definition of function to convert one character
5720 for processing of left-over bytes from the state object.
5721 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
5722 inend to match names in loop functions.
5723 (RESET_INPUT_BUFFER): Change apprpriately.
5724 (gconv): If needed, call function to process bytes from the state
5725 object. Similar at the end: store left over bytes if input is
5727 Take extra argument and add new argument to all calls of the
5728 conversion function.
5729 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
5730 information in the state object to not conflict with length count.
5731 * iconvdata/iso-2022-jp.c: Likewise.
5732 * iconvdata/iso-2022-kr.c: Likewise.
5733 * iconvdata/unicode.c: Adjust for change change in parameters of
5735 * iconvdata/utf-16.c: Likewise.
5736 * libio/iofwide.c: Add new parameter to all calls of conversion
5738 * wcsmbs/btowc.c: Likewise.
5739 * wcsmbs/mbrtowc.c: Likewise.
5740 * wcsmbs/mbsnrtowcs.c: Likewise.
5741 * wcsmbs/mbsrtowcs.c: Likewise.
5742 * wcsmbs/wcrtomb.c: Likewise.
5743 * wcsmbs/wcsnrtombs.c: Likewise.
5744 * wcsmbs/wcsrtombs.c: Likewise.
5745 * wcsmbs/wctob.c: Likewise.
5747 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
5750 2000-04-07 Andreas Jaeger <aj@suse.de>
5752 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
5755 2000-04-07 Ulrich Drepper <drepper@redhat.com>
5757 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
5758 element a union to allow byte access.
5759 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
5761 * iconvdata/iso-2022-jp.c: Likewise.
5762 * iconvdata/iso-2022-kr.c: Likewise.
5763 * wcsmbs/mbsinit.c: Likewise.
5764 * stdlib/mblen.c: Likewise.
5765 * stdio-common/printf-parse.h: Likewise.
5767 2000-04-06 Ulrich Drepper <drepper@redhat.com>
5769 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
5770 kernel does not allow relative seeks on descriptors associated
5771 with directories. Go back to get the position in the directory
5772 every time we enter the function. Return -1 and set errno if one
5773 entry could be read from the kernel but does not fit into the
5774 buffer passed in by the user.
5776 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
5777 Support ..(2).. ellipsis.
5778 (parse_charmap): Recognize ..(2).. etc and pass step down.
5779 Correctly generate names for UCS4 characters.
5781 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
5782 (ctype_finish): We know the wide character value for <SP>,
5784 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
5785 (charclass_ucs4_ellipsis): Likewise.
5786 (read_translit_ignore_entry): Store ellipsis step.
5787 (ctype_read): Recognize ..(2).. etc and pass step down.
5789 * locale/programs/linereader.c (lr_token): When seeing comment
5790 character ignore only rest of line in sources but stop at escaped
5792 Recognize ..(2).. and ....(2).....
5794 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
5795 and tok_ellipsis4_2.
5797 2000-04-06 Andreas Jaeger <aj@suse.de>
5799 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
5800 removed, remove it here also.
5801 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
5802 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
5803 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
5804 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
5806 2000-04-06 Jakub Jelinek <jakub@redhat.com>
5808 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
5809 include bits/sigcontext.h.
5810 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5812 2000-04-06 Ulrich Drepper <drepper@redhat.com>
5814 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
5815 collation symbol definition. Value in quivalence definition must
5816 be defined, don't check that it is not.
5818 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
5819 values as character names.
5821 * locale/programs/ld-ctype.c (get_character): Handle missing
5822 repertoire map correctly.
5824 2000-04-05 Cristian Gafton <gafton@redhat.com>
5826 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
5827 because it is used in generic code.
5828 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
5829 * wcsmbs/wcwidth.h: Declare __ctype32_b.
5830 * intl/gettext.c: Include <locale.h>.
5831 * intl/ngettext.c: Likewise.
5833 2000-04-05 Jakub Jelinek <jakub@redhat.com>
5835 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
5836 socklen_t type for size.
5837 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
5838 init function interface.
5839 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5840 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
5842 (__jmp_buf): Declare the whole type structure here, don't use
5845 2000-04-05 Ulrich Drepper <drepper@redhat.com>
5847 * iconv/skeleton.c (put16u): Fix typo.
5848 Reported by Bruno Haible <haible@ilog.fr>.
5850 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
5851 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
5852 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
5853 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
5854 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
5855 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
5857 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
5858 * Makefile (distribute): Add abi-versions.awk and
5860 Patches by Torsten Duwe <duwe@caldera.de>.
5862 2000-04-05 Andreas Schwab <schwab@suse.de>
5864 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
5866 2000-04-05 Andreas Schwab <schwab@suse.de>
5868 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
5869 entry point, used on Hurd.
5871 2000-04-04 Andreas Jaeger <aj@suse.de>
5873 * intl/Makefile: Only run the gettext test with shared libraries.
5875 2000-03-16 Mark Kettenis <kettenis@gnu.org>
5877 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
5878 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
5880 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
5882 * Makeconfig: Undo last change.
5883 * configure.in: If --disable-shared was given, don't set VERSIONING,
5884 don't define DO_VERSIONING, and don't give scare warning for no
5886 * configure: Regenerated.
5888 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
5890 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
5892 2000-04-04 Andreas Jaeger <aj@suse.de>
5894 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
5896 2000-04-04 Ulrich Drepper <drepper@redhat.com>
5898 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
5899 STV_HIDDEN and STV_INTERNAL during lookup.
5900 (profile_fixup): Likewise.
5901 * elf/dl-reloc.c (RESOLVE): Likewise.
5903 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
5904 unaligned so that it compiles for system which need unaligned
5907 2000-04-04 Andreas Schwab <schwab@suse.de>
5909 * elf/cache.c (print_entry): Only look at the type field when
5912 2000-04-04 Andreas Schwab <schwab@suse.de>
5914 * iconvdata/big5.c (BODY): Fix typo.
5916 2000-04-04 Andreas Schwab <schwab@suse.de>
5918 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
5919 function interface. Remove unused _dl_start_user entry point.
5921 2000-04-03 Andreas Jaeger <aj@suse.de>
5923 * include/arpa/inet.h (__inet_aton): Add protoype.
5925 2000-04-01 Andreas Jaeger <aj@suse.de>
5927 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
5929 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
5930 * sysdeps/mach/mips/thread_state.h: Likewise.
5932 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
5933 * sysdeps/generic/fegetenv.c: Likewise.
5934 * sysdeps/generic/fesetenv.c: Likewise.
5935 * sysdeps/generic/feupdateenv.c: Likewise.
5936 * sysdeps/generic/fraiseexcpt.c: Likewise.
5937 * sysdeps/generic/fsetexcptflg.c: Likewise.
5938 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
5939 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
5940 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
5941 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5943 2000-04-02 H.J. Lu <hjl@gnu.org>
5945 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
5947 2000-04-03 Ulrich Drepper <drepper@redhat.com>
5949 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
5950 (add_name_to_object): Add cast in malloc call.
5951 (fillin_rpath): Optimize loop to initialize ->status a bit.
5953 * sysdeps/i386/dl-machine.h: Undo last change.
5954 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
5955 Restore %edx register after call here.
5957 * sysdeps/arm/atomicity.h: New file.
5958 Contributed by Jesper Skov <jskov@redhat.com>.
5960 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
5962 * Makeconfig (preprocess-versions): Undo last change.
5963 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
5965 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
5966 here, before we might move the stack.
5967 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
5968 (init1): And not here.
5970 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
5971 change, to restore argc value in call-clobbered register after
5972 RTLD_START_SPECIAL_INIT, which will contain a call.
5974 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
5975 allocating and initializing L->l_initfini.
5977 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
5979 2000-04-03 Ulrich Drepper <drepper@redhat.com>
5981 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
5982 RUNPATH, RPATH, and LD_LIBRARY_PATH.
5983 (open_path): Change type of fourth parameter. Make pointer to array
5984 of pointers. Create variable dirs with original type.
5985 Track whether any directory for the object exists and if not,
5986 change *DIRSP to (void*) -1 to signal there is no such search path.
5987 (_dl_map_object): Change all calls of open_path.
5988 Rewrite decompose_rpath calls.
5990 2000-03-31 Andreas Schwab <schwab@suse.de>
5992 * string/strfry.c: Declare STATE as array of char instead of int
5993 and do not initialize it (done by initstate_r). Pass correct
5996 2000-04-03 Ulrich Drepper <drepper@redhat.com>
5998 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
6000 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
6001 instruction out of the code.
6003 2000-04-02 Ulrich Drepper <drepper@redhat.com>
6005 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
6006 element at this position.
6008 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
6009 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
6011 * elf/dl-lookup.c (add_dependency): New function.
6012 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
6013 dynamically loaded object.
6014 (_dl_lookup_symbol_skip): Likewise.
6015 (_dl_lookup_versioned_symbol): Likewise.
6016 (_dl_lookup_versioned_symbol_skip): Likewise.
6017 * elf/dl-open.c: Don't define _dl_load_lock here...
6018 * elf/rtld.c: ...but here...
6019 * elf/dl-support.c: ...and here.
6020 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
6022 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
6024 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
6026 * dlfcn/glrefmain.c: Add one more debug message.
6028 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
6030 * Makerules (sysd-versions): Use ( ) instead of { }.
6032 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
6033 optimize for the non-debugging case.
6034 * elf/dl-lookup.c: Likewise.
6035 * sysdeps/generic/libc-start.c: Likewise.
6037 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
6039 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
6040 (init1): Don't initialize __environ here, since init already does it.
6041 (first_init): New function, broken out of _init.
6042 (_hurd_stack_setup): Use it.
6043 [SHARED] (_dl_init_first): New function, renamed from old _init.
6044 (init1) [SHARED]: Don't call posixland_init here.
6045 (posixland_init): Take ENVP arg, so signature is usual for initializer.
6046 [SHARED] (_init): Define as alias for posixland_init.
6047 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
6048 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
6049 RTLD_START_SPECIAL_INIT before calling initializers.
6050 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
6051 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
6052 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
6053 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
6055 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
6056 since we define the function with the name `tmpfile'.
6058 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
6059 * hurd/Versions: Likewise.
6061 2000-04-02 Ulrich Drepper <drepper@redhat.com>
6063 * elf/dl-runtime.c (fixup): Fix typo in comment.
6065 * resolv/netdb.h (getnameinfo): All length parameters are of type
6067 * inet/getnameinfo.c: Likewise.
6069 2000-04-01 Ulrich Drepper <drepper@redhat.com>
6071 * posix/unistd.h (socklen_t): Define if it has not yet happened.
6072 (gethostname): Change type of second parameter to socklen_t.
6073 * include/unistd.h (__gethostname): Change type of second
6074 parameter to socklen_t.
6075 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
6076 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
6077 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
6078 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
6080 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
6081 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
6082 Allow definition elsewhere.
6083 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
6084 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6085 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
6086 * sysdeps/generic/bits/types.h: Define __socklen_t.
6087 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
6088 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
6089 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6090 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6091 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6092 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6093 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6095 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
6096 (inet_lnaof): Likewise.
6097 (inet_netof): Likewise.
6098 (inet_network): Likewise.
6099 (inet_aton): Likewise.
6100 (inet_makeaddr): Change parameter types to in_addr_t.
6101 (inet_neta): Likewise.
6102 (inet_ntop): Change type of last parameter to socklen_t.
6103 (inet_aton): Only make available if __USE_MISC.
6104 (inet_neta): Likewise.
6105 (inet_net_ntop): Likewise.
6106 (inet_net_pton): Likewise.
6107 (inet_nsap_ntoa): Likewise.
6109 * inet/in.h: Define in_port_t type.
6110 Define in_addr_t type.
6111 (struct in_addr): Use in_addr_t in definition.
6112 (IN_CLASSA): Use cast to in_addr_t.
6113 (IN_CLASSB): Likewise.
6114 (IN_CLASSC): Likewise.
6115 (IN_CLASSD): Likewise.
6116 (IN_EXPERIMENTAL): Likewise.
6117 (IN_BADCLASS): Likewise.
6118 (INADDR_ANY): Likewise.
6119 (INADDR_BROADCAST): Likewise.
6120 (INADDR_NONE): Likewise.
6121 (INADDR_LOOPBACK): Likewise.
6122 (INADDR_UNSPEC_GROUP): Likewise.
6123 (INADDR_ALLHOSTS_GROUP): Likewise.
6124 (INADDR_ALLRTRS_GROUP): Likewise.
6125 (INADDR_MAX_LOCAL_GROUP): Likewise.
6126 (struct sockaddr_in): Use in_port_t for sin_port element.
6127 (struct sockaddr_in6): Use in_port_t for sin6_port element.
6128 Use uint8_t instead of u_int8_t.
6130 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
6131 Call __inet_aton instead of inet_aton.
6132 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
6134 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
6135 (innetgr): Likewise.
6136 (struct addrinfo): Use socklen_t for ai_addrlen element.
6138 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
6139 IPV6_RECVERR): New defines.
6141 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
6142 * inet/getnetbyad.c: Likewise.
6143 * inet/getnetbyad_r.c: Likewise.
6144 * nis/nss_nis/nis-network.c: Likewise.
6145 * nis/nssplus_nis/nisplus-network.c: Likewise.
6146 * nss/nss_files/files-network.c: Likewise.
6147 * resolv/netdb.h: Define uint32_t if not already happened.
6148 Include bits/netdb.h. Remove definition of struct netent.
6149 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
6150 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
6151 * sysdeps/generic/bits/netdb.h: New file.
6152 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
6154 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
6155 (tests): Add glrefmain.
6156 Add rules to build modules and run tests. Ignore result of glrefmain
6157 for now since it fails.
6158 * dlfcn/glrefmain.c: New file.
6159 * dlfcn/glreflib1.c: New file.
6160 * dlfcn/glreflib2.c: New file.
6162 * test-skeleton.c: Include <string.h> for strsignal prototype.
6164 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
6167 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
6168 former init-first.h. Initialize __libc_multiple_libcs.
6170 2000-03-31 Ulrich Drepper <drepper@redhat.com>
6172 * iconv/skeleton.c: Define access macros with u suffix. Adjust
6173 #if expression for use of unaligned function to the one used in
6174 the definition of these functions.
6175 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
6176 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
6177 (internal_ucs4le_loop_unaligned): New function.
6179 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
6181 (module-names): Add dep1, dep2, dep3, and dep4.
6182 Add dependencies for dep* modules and order.
6183 Define rule for order.out which checks the result.
6184 * elf/dep1.c: New file.
6185 * elf/dep2.c: New file.
6186 * elf/dep3.c: New file.
6187 * elf/dep4.c: New file.
6188 * elf/order.c: New file.
6190 * elf/dl-init.c: Fix typo in comment.
6192 2000-03-31 Andreas Jaeger <aj@suse.de>
6194 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
6195 init function interface.
6196 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
6198 2000-03-31 Andreas Jaeger <aj@suse.de>
6200 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
6201 * sysdeps/mips/fpu/fegetenv.c: Likewise.
6202 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
6203 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
6204 * sysdeps/mips/fpu/fesetenv.c: Likewise.
6206 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
6207 anymore, update comment.
6209 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6211 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
6212 SHLIB_COMPAT - the struct is always needed.
6214 2000-03-31 Ulrich Drepper <drepper@redhat.com>
6216 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
6217 * elf/dl-support.c: Define _dl_starting_up.
6219 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6221 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
6222 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
6224 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
6226 * elf/Makefile (dl-routines): Remove preinit.
6227 * elf/Versions: Remove _dl_preinit.
6228 * elf/dl-preinit.c: Removed. Move content into...
6229 * elf/dl-init.c: ...here.
6230 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
6232 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
6235 2000-03-29 Geoff Clare <gwc@unisoft.com>
6237 * stdlib/strfmon.c: Corrected problems with the code that
6238 sets default values for [np]_sep_by_space and
6239 [np]_sign_posn; also the new positive/negative alignment
6240 code from the previous patch was not quite right for
6243 * localedata/tst-fmon.data: Changes corresponding to the
6244 two sets of fixes made to stdlib/strfmon.c.
6246 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
6248 * malloc/malloc.c: Declare bit flags UL so that they will not
6249 default to int size when being inverted.
6251 2000-03-29 Andreas Jaeger <aj@suse.de>
6253 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
6254 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
6256 2000-03-29 Andreas Jaeger <aj@suse.de>,
6257 Ralf Baechle <ralf@uni-koblenz.de>
6259 * Makeconfig: Introduce new variable SHARED to mark code used in
6261 * elf/dl-close.c: Use it instead of PIC.
6262 * elf/dl-load.c: Likewise.
6263 * elf/dl-open.c: Likewise.
6264 * hurd/geteuids.c: Likewise.
6265 * include/libc-symbols.h: Likewise.
6266 * include/shlib-compat.h: Likewise.
6267 * libio/freopen.c: Likewise.
6268 * linuxthreads/cancel.c: Likewise.
6269 * linuxthreads/pthread.c: Likewise.
6270 * linuxthreads/wrapsyscall.c: Likewise.
6271 * nss/nsswitch.c: Likewise.
6272 * stdio-common/vfprintf.c: Likewise.
6273 * sysdeps/arm/init-first.c: Likewise.
6274 * sysdeps/i386/init-first.c: Likewise
6275 * sysdeps/generic/init-first.c: Likewise.
6276 * sysdeps/generic/libc-start.c: Likewise.
6277 * sysdeps/mips/init-first.c: Likewise.
6278 * sysdeps/powerpc/elf/libc-start.c: Likewise.
6279 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
6280 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
6281 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
6282 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6284 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
6286 2000-03-29 Andreas Jaeger <aj@suse.de>
6288 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
6289 Use D_PTR to access relocated entries in l_info.
6290 (elf_machine_rela): Likewise.
6292 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
6294 (elf_machine_rela): Likewise.
6296 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
6298 (__elf_machine_fixup_plt): Likewise.
6299 (__process_machine_rela): Likewise.
6301 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
6302 (elf_machine_rela): Likewise.
6304 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
6305 (elf_machine_rel): Likewise.
6307 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
6308 (elf_machine_fixup_plt): Likewise.
6309 (elf_machine_rela): Likewise.
6311 2000-03-29 Andreas Jaeger <aj@suse.de>
6313 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
6314 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6315 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6316 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
6317 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
6318 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
6319 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
6320 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
6321 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6322 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
6323 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
6324 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
6325 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
6326 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
6327 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6329 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
6330 macros, remove K&R prototypes.
6332 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6334 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
6335 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
6338 2000-03-30 Andreas Jaeger <aj@suse.de>
6340 * misc/sys/cdefs.h: Remove K&R support.
6342 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6344 * iconv/skeleton.c: Avoid compiling unaligned versions in some
6346 * iconv/loop.c: Likewise.
6348 2000-03-29 Bruno Haible <haible@clisp.cons.org>
6350 * iconv/loop.c (put16): Remove __const. Fix access index.
6351 (put32): Remove __const. Use uint32_t instead of uint16_t.
6352 * iconv/skeleton.c: Likewise.
6354 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
6356 * mach/Versions (libc: GLIBC_2.0)
6357 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
6358 __vm_allocate on this.
6359 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
6360 mutex- and spinlock-related symbols on this.
6361 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
6362 New version set. Lock-related symbols go here instead in this case.
6363 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
6364 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
6365 cthread_getspecific, cthread_setspecific, __libc_getspecific.
6367 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
6368 Put them here instead.
6369 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
6370 New version set. Those cthreads symbols go here instead in this case.
6371 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
6373 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6375 * elf/dl-init.c (_dl_init): We don't need to call constructors
6376 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
6378 Implement dynamic determination of constructor/destructor order in
6380 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
6381 (GLIBC_2.2): Add _dl_init.
6382 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
6383 r_duplist is not anymore allocated separately. l_initfini is and
6384 therefore free it if necessary.
6385 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
6386 malloc block. Otherwise allocate l_initfini list only.
6387 Put dependencies for the object in l_initfini list.
6388 Sort dependencies for the object to be loaded topologically.
6389 * elf/dl-fini.c: Before running the destructors sort the topologically.
6390 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
6391 call constructors instead of iterating over the pointers. Get list of
6392 objects for which to run constructors from l_initfini element. Accept
6393 argc, argv, and env as parameters and pass them to the constructors.
6394 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
6395 with size of dynamic section.
6396 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
6397 _dl_init_next and calling constructors ourself.
6398 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
6399 Take argc, argv, and env as parameters and pass them to the
6400 constructors. Rewrite to call all constructors and not iterate over
6402 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
6403 precompute l_initcount and l_preinitcount.
6404 * elf/link.h (struct link_map): Add l_ldnum member.
6405 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
6406 l_initcount, and l_preinitcount. Add l_initfini.
6407 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
6409 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
6411 * sysdeps/unix/sysv/linux/init-first.h: Removed.
6412 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
6413 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
6414 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
6415 conventions now match.
6417 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
6418 effect for shared objects. Don't emit message and call only for
6421 2000-03-29 Ulrich Drepper <drepper@redhat.com>
6423 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
6424 CSA_Z243.4-1985-1..UCS2.
6425 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
6428 2000-03-29 Andreas Jaeger <aj@suse.de>
6430 * include/unistd.h: Remove duplicate entry for __rmdir.
6431 Remove declaration of __mkdir since __mkdir is declared in
6434 * manual/creature.texi (Feature Test Macros): Fix typo, reported
6435 by Michael Deutschmann <michael@talamasca.ocis.net>.
6437 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
6438 * sysdeps/mips/fpu/fegetenv.c: Likewise.
6439 * sysdeps/mips/fpu/fesetenv.c: Likewise.
6440 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
6441 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
6443 2000-03-28 Andreas Jaeger <aj@suse.de>
6445 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
6446 declaration, the prototype is defined via bits/mathcalls.h.
6447 (__sincosf): Likewise.
6448 (__sincosl): Likewise.
6452 (__finite): Likewise.
6453 (__inline_mathcodeNP): New macro without prototype
6455 (__inline_mathcodeNP2): Likewise.
6456 (__inline_mathcodeNP3): Likewise.
6457 (__inline_mathcodeNP_): Likewise.
6458 (__inline_mathcodeNP2_): Likewise.
6459 (__inline_mathcodeNP3_): Likewise.
6460 (__inline_mathopNP): Likewise.
6461 (__inline_mathop_declNP): Likewise.
6462 (__inline_mathop_declNP_): Likewise.
6463 (__inline_mathcode_): Use __inline_mathcodeNP_.
6464 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
6465 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
6466 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
6467 (__expm1l): Don't define prototype, the prototype is defined via
6473 (__atan2l): Likewise.
6478 (__fabsl): Likewise.
6496 (__sqrtl): Likewise.
6506 2000-03-28 Ulrich Drepper <drepper@redhat.com>
6508 * Makerules: If make variable md5 is defined to yes after
6509 generating dependencies generate MD5 sum for the object.
6511 * iconv/gconv_builtin.h: Fix length in transformation definition
6514 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
6516 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
6517 allow as well reading from/writing to unaligned addresses on machines
6518 which don't support this in hardware. Use FCTNAME macro to define
6519 function name. Include the file a second time for platforms which
6520 need special unaligned handling.
6521 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
6522 to access potentially unaligned addresses. These macros are intended
6523 to be used only outside the loops.
6524 (unaligned): New definition. In case the machine can handle unaligned
6525 access define as zero. Otherwise as a variable which is initialized
6526 as nonzero in case the buffer passed in at runtime is unaligned with
6527 respect to the character set encoding involved.
6528 Call aligned or unaligned looop functions according to unaligned
6530 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
6531 of direct casting pointer to potentially handle unaligned memory
6533 * iconvdata/8bit-generic.c: Likewise.
6534 * iconvdata/ansi_x3.110.c: Likewise.
6535 * iconvdata/big5.c: Likewise.
6536 * iconvdata/euc-cn.c: Likewise.
6537 * iconvdata/euc-jp.c: Likewise.
6538 * iconvdata/euc-kr.c: Likewise.
6539 * iconvdata/euc-tw.c: Likewise.
6540 * iconvdata/gbk.c: Likewise.
6541 * iconvdata/iso-2022-cn.c: Likewise.
6542 * iconvdata/iso-2022-jp.c: Likewise.
6543 * iconvdata/iso-2022-kr.c: Likewise.
6544 * iconvdata/iso646.c: Likewise.
6545 * iconvdata/iso_6937-2.c: Likewise.
6546 * iconvdata/iso_6937.c: Likewise.
6547 * iconvdata/johab.c: Likewise.
6548 * iconvdata/sjis.c: Likewise.
6549 * iconvdata/t.61.c: Likewise.
6550 * iconvdata/uhc.c: Likewise.
6551 * iconvdata/unicode.c: Likewise.
6552 * iconvdata/utf-16.c: Likewise.
6554 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
6557 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
6558 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
6560 * malloc/mcheck.h (mcheck_check_all): Declare.
6562 * stdio-common/Makefile (tests): Add tst-obprintf.
6564 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
6566 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
6567 Declare pthread_sigmask.
6569 * csu/version.c: Add 2000 to copyright years.
6570 Remove Emacs local variables section.
6572 2000-03-23 Bruno Haible <haible@clisp.cons.org>
6574 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
6575 __gconv_transform_internal_ucs2little): Remove declarations.
6576 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
6577 __gconv_transform_internal_ucs2): Never need to bswap_16.
6578 (__gconv_transform_ucs2reverse_internal,
6579 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
6581 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
6583 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
6584 obsoleting version not being defined at all, in which case the
6585 result is always true.
6587 * Makeconfig (preprocess-versions): New canned sequence for running
6588 cpp on shlib-versions and the like.
6589 (soversions.i): Use it.
6590 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
6591 Versions.def and Versions files.
6593 2000-03-27 Ulrich Drepper <drepper@redhat.com>
6595 * stdio-common/tst-obprintf.c (main): Add another check to see
6596 obstack_printf handling all possible beginnings of the block
6597 inside an obstack chunk.
6599 * locale/programs/localedef.c: Use __malloc_initialize_hook to
6600 install mcheck handler.
6602 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
6605 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
6607 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
6609 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
6610 on [HAVE_ELF && DO_VERSIONING].
6612 2000-03-27 Ulrich Drepper <drepper@redhat.com>
6614 * stdio-common/tst-obprintf.c: New file.
6616 2000-03-26 Ulrich Drepper <drepper@redhat.com>
6618 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
6619 _IO_OVERFLOW directly instead through __overflow.
6621 * locale/programs/localedef.c (construct_output_path): If path
6622 contains a / compute the end of the directory name correctly.
6624 * include/features.h: Undef and document __USE_XOPEN2K.
6626 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
6627 whenever a function is called. Initiated by calling mcheck_pedantic
6629 * malloc/mcheck.h: Declare mcheck_pedantic.
6630 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
6631 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
6634 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
6636 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
6637 * dlfcn/dlopenold.c: Likewise.
6638 * nss/getXXbyYY_r.c: Likewise.
6639 * nss/getXXent_r.c: Likewise.
6640 * hurd/hurdinit.c: Likewise.
6641 * hurd/compat-20.c: Likewise.
6642 * libio/oldiofopen.c: Likewise.
6643 * libio/oldiofclose.c: Likewise.
6644 * libio/oldiofdopen.c: Likewise.
6645 * libio/oldfileops.c: Likewise.
6646 * libio/oldstdfiles.c: Likewise.
6647 * libio/oldiofsetpos.c: Likewise.
6648 * libio/oldiofgetpos.c: Likewise.
6649 * libio/oldiofgetpos64.c: Likewise.
6650 * libio/oldiofsetpos64.c: Likewise.
6651 * libio/oldiopopen.c: Likewise.
6652 * libio/oldpclose.c: Likewise.
6653 * libio/oldtmpfile.c: Likewise.
6654 * libio/freopen.c (freopen): Likewise.
6655 * libio/iofclose.c (_IO_new_fclose): Likewise.
6657 * sysdeps/mach/sys/reboot.h: Include <features.h>.
6658 (reboot): Declare it.
6660 * libio/Makefile (headers): Add bits/stdio-lock.h here.
6662 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
6664 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
6666 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
6667 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
6668 We need this for the sbrk decl, which can be included without Unix98.
6670 2000-03-20 Richard Henderson <rth@cygnus.com>
6672 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
6673 argument to yperr2nss is an int, not size_t.
6674 * posix/regex.c (print_partial_compiled_pattern): Cast all
6675 ptrdiff_t to long for printing.
6676 (print_compiled_pattern): Use Z for printing size_t.
6677 * posix/testfnm.c (tests): Avoid trigraphs.
6678 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
6679 Use a C comment, not an assembly comment.
6681 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
6682 of __ASSUME_32BITUIDS.
6684 2000-03-26 Ulrich Drepper <drepper@redhat.com>
6686 * libio/iofopncook.c: Remove K&R prototypes.
6688 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
6690 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
6691 an initial value of 1024 instead of RLIM_INFINITY.
6693 * Versions.def (libmachuser, libhurduser): Remove these sections,
6694 since these libraries do not presently use symbol versions.
6696 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
6697 is RLIM_INFINITY, return -1 instead.
6699 2000-03-24 Andreas Jaeger <aj@suse.de>
6701 * Makefile (postclean): Added soversions.i.
6703 2000-03-24 Scott Bambrough <scottb@netwinder.org>
6705 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
6706 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
6707 and _FPU_IEEE. Change _FPU_RESERVED.
6709 2000-03-24 Scott Bambrough <scottb@netwinder.org>
6711 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
6713 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
6715 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
6716 (gaih_inet): Remove unused duplicate variable.
6718 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
6719 Don't use __libc_sa_len, which only exists for Linux. Just handle
6720 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
6721 only flavors supported by this function anyway.
6723 2000-03-24 Geoff Clare <gwc@unisoft.com>
6725 * stdlib/strfmon.c: Corrected problems with missing signs and
6726 missing or extra spaces; allow for sign strings longer than
6727 one character; add padding to ensure positive and negative
6728 formats are aligned when a left precision is used.
6730 2000-03-26 Ulrich Drepper <drepper@redhat.com>
6732 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
6733 Patch by John Mizel <John.Mizel@msdw.com>.
6735 2000-03-25 Ulrich Drepper <drepper@redhat.com>
6737 * manual/install.texi: Remove references to crypt add-on.
6739 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
6741 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
6742 section while taking the _hurd_rlimit_lock.
6743 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
6745 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
6747 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
6750 * sysdeps/mach/hurd/if_index.c: New file.
6752 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
6753 * sysdeps/gnu/net/if.h: here.
6754 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
6755 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
6756 * sysdeps/generic/net/if.h: New file. Declares just the standard
6757 functions and `struct if_nameindex' type.
6758 * socket/Makefile (headers): Add net/if.h here.
6759 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
6760 * sysdeps/mach/hurd/Dist: Remove it here.
6761 * sysdeps/unix/sysv/linux/Dist: And here.
6762 * sysdeps/generic/if_index.c: Include <net/if.h>.
6764 2000-03-24 Andreas Jaeger <aj@suse.de>
6766 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
6767 access relocated entries in l_info.
6768 (elf_machine_got_rel): Likewise.
6769 (elf_machine_runtime_setup): Likewise.
6770 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
6771 (elf_machine_runtime_setup): Likewise.
6772 (__dl_runtime_resolve): Likewise.
6774 2000-03-23 Ulrich Drepper <drepper@redhat.com>
6776 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
6777 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
6778 according to RFC 2553.
6779 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
6780 * inet/getnameinfo.c: Likewise.
6781 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
6783 2000-03-23 Bruno Haible <haible@clisp.cons.org>
6785 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
6786 Remove no-op pointer increment.
6788 2000-03-23 Andreas Jaeger <aj@suse.de>
6790 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
6791 follow change for libio.h from 2000-03-10.
6793 2000-03-23 Andreas Jaeger <aj@suse.de>
6795 * elf/dl-addr.c: Adjust include paths for ldsodefs location
6797 * elf/dl-debug.c: Likewise.
6798 * elf/dl-deps.c: Likewise.
6799 * elf/dl-error.c: Likewise.
6800 * elf/dl-fini.c: Likewise.
6801 * elf/dl-init.c: Likewise.
6802 * elf/dl-load.c: Likewise.
6803 * elf/dl-lookup.c: Likewise.
6804 * elf/dl-minimal.c: Likewise.
6805 * elf/dl-object.c: Likewise.
6806 * elf/dl-open.c: Likewise.
6807 * elf/dl-preinit.c: Likewise.
6808 * elf/dl-profile.c: Likewise.
6809 * elf/dl-profstub.c: Likewise.
6810 * elf/dl-reloc.c: Likewise.
6811 * elf/dl-runtime.c: Likewise.
6812 * elf/dl-support.c: Likewise.
6813 * elf/dl-symbol.c: Likewise.
6814 * elf/dl-version.c: Likewise.
6815 * elf/rtld.c: Likewise.
6816 * elf/sprof.c: Likewise.
6817 * sysdeps/generic/dl-cache.c: Likewise.
6818 * sysdeps/generic/dl-origin.c: Likewise.
6819 * sysdeps/generic/dl-sysdep.c: Likewise.
6820 * sysdeps/generic/elf/backtracesyms.c: Likewise.
6821 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6822 * sysdeps/generic/libc-start.c: Likewise.
6823 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6824 * sysdeps/powerpc/dl-machine.c: Likewise.
6825 * sysdeps/powerpc/elf/libc-start.c: Likewise.
6826 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6827 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6828 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
6830 * elf/ldsodefs.h: Move file to ...
6831 * sysdeps/generic/ldsodefs.h: ... here.
6833 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
6835 * sysdeps/mips/elf/ldsodefs.h: New file.
6837 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
6839 (_dl_check_map_versions): Likewise.
6840 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6841 * elf/dl-load.c (_dl_init_paths): Likewise.
6842 (_dl_map_object): Likewise.
6843 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
6844 (elf_get_dynamic_info): Likewise.
6845 * elf/do-lookup.h (FCT): Likewise.
6846 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
6847 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6848 * elf/dl-addr.c (_dl_addr): Likewise.
6849 * elf/dl-runtime.c (profile_fixup): Likewise.
6851 * elf/dl-init.c (_dl_init_next): Likewise.
6852 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
6853 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
6854 (DISTINGUISH_LIB_VERSIONS): Likewise.
6855 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
6856 (elf_machine_rel): Likewise.
6858 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
6859 for writable dynamic section.
6861 2000-03-22 Ulrich Drepper <drepper@redhat.com>
6863 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
6864 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
6866 2000-03-22 Andreas Jaeger <aj@suse.de>
6868 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
6869 from latest Linux kernel.
6871 2000-03-21 Andreas Jaeger <aj@suse.de>
6873 * Versions.def: Add version 2.1.4.
6875 2000-03-21 Ulrich Drepper <drepper@redhat.com>
6877 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
6878 * libio/oldiofopen.c: Likewise.
6879 * libio/oldiofclose.c: Likewise.
6880 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
6882 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
6884 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
6885 indicating the first version set to obsolete the conditionalized code.
6886 (compat_symbol): New macro.
6887 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
6888 rhs be the ABI_* macro for the subsuming version. Assign increasing
6889 integer values to the ABI_* macros for supported versions.
6890 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
6891 compat_symbol macro.
6893 2000-03-21 Ulrich Drepper <drepper@redhat.com>
6895 * nscd/connections.c (nscd_run): Pretty print.
6896 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
6898 * manual/charset.texi: Fix typos. Rephrase.
6899 * manual/process.texi: Likewise.
6900 * manual/signal.texi: Likewise.
6901 Patches by Mike Coleman <mkc@kc.net>.
6903 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
6905 * libio/iofdopen.c: Likewise.
6906 * libio/iofgetpos.c: Likewise.
6907 * libio/iofgetpos64.c: Likewise.
6908 * libio/iofopen.c: Likewise.
6909 * libio/iofsetpos.c: Likewise.
6910 * libio/iofsetpos64.c: Likewise.
6911 * libio/iopopen.c: Likewise.
6912 * libio/oldiofopen.c: Likewise.
6913 * libio/pclose.c: Likewise.
6914 * sysdeps/gnu/siglist.c: Likewise.
6915 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
6917 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
6918 chance to expand VERSION_##lib##_##version.
6920 * libio/fileops.c: Use new macros from shlib-compat.h to define
6922 * libio/iofclose.c: Likewise.
6923 * libio/oldiofclose.c: Likewise.
6924 Patch by Roland McGrath <roland@frob.com>.
6926 2000-03-21 Jakub Jelinek <jakub@redhat.com>
6928 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
6929 Lay out struct sigcontext according to what really gets passed on
6931 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
6932 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
6933 (prgregset_t, prfpregset_t): Define to elf_* types.
6934 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
6935 Define to correct value.
6936 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
6938 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
6940 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
6942 * scripts/firstversions.awk: Allow multiple version sets in the
6943 "earliest version" specification, meaning that version sets in the
6944 gaps between listed versions should be folded into the earliest later
6945 version that is explicitly listed.
6946 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
6947 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
6949 2000-03-21 Ulrich Drepper <drepper@redhat.com>
6951 * iconv/gconv_builtin.c: Include <endian.h>.
6952 * iconv/gconv_builtin.h: Add UCS-BE aliases.
6953 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
6954 according to current platform.
6955 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
6956 __gconv_transform_internal_ucs2reverse, and
6957 __gconv_transform_internal_ucs4le.
6958 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
6959 __gconv_transform_ucs2reverse_internal and
6960 __gconv_transform_internal_ucs2reverse.
6961 * iconvdata/Makefile (modules): Add UNICODE.
6962 (distribute): Add unicode.c.
6963 * iconvdata/gconv-modules: Add definitions for UNICODE module.
6964 * iconvdata/unicode.c: New file.
6966 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
6967 determine byte order of input and convert accordingly.
6969 * iconvdata/utf-16.c (gconv_init): Fix typo.
6971 2000-03-20 Ulrich Drepper <drepper@redhat.com>
6973 * iconvdata/gconv-modules: Fix typo.
6975 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
6978 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
6980 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
6982 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
6984 2000-03-20 Ulrich Drepper <drepper@redhat.com>
6986 * misc/Makefile (routines): Add mincore.
6988 2000-03-20 Andreas Jaeger <aj@suse.de>
6990 * sysdeps/generic/mincore.c: New stub file.
6992 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
6993 from latest Linux kernel.
6995 2000-03-20 Ulrich Drepper <drepper@redhat.com>
6997 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
6998 _SC_GETPW_R_SIZE_MAX.
7000 2000-03-20 Richard Henderson <rth@cygnus.com>
7002 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
7005 2000-03-20 Richard Henderson <rth@cygnus.com>
7007 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
7008 of arithmetic instructions.
7010 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
7011 with the fpcr. Protect from INV exception.
7012 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
7013 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
7014 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
7016 * sysdeps/alpha/fpu/s_copysign.c: New.
7017 * sysdeps/alpha/fpu/s_copysignf.c: New.
7018 * sysdeps/alpha/fpu/s_fabs.c: New.
7019 * sysdeps/alpha/fpu/s_fabsf.c: New.
7020 * sysdeps/alpha/fpu/s_rint.c: New.
7021 * sysdeps/alpha/fpu/s_rintf.c: New.
7023 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
7025 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
7027 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
7028 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
7029 Use physical addresses not KSEG addresses.
7030 (io_system): Add PYXIS.
7031 (io): Remove hae.reg, sys, hae_shift.
7032 (stb_mb, stw_mb, stl_mb, __sethae): New.
7033 (inline_outb, inline_outw, inline_outl): Don't set hae.
7034 (inline_inb, inline_inw, inline_inl): Likewise.
7035 (dense_sethae): New null function.
7036 (struct cpuinfo_data): New.
7037 (process_cpuinfo): Use local and stack variables, not static.
7038 Move readlink check here from init_iosys.
7039 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
7041 (_hae_shift): Calculate it here.
7042 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
7043 add pciconfig_iobase.
7045 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
7047 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
7048 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
7050 * scripts/versions.awk: Fixed version renaming code to distinguish
7053 2000-03-19 Ulrich Drepper <drepper@redhat.com>
7055 * include/stdlib.h: Add prototype for __cxa_atexit.
7057 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
7058 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
7060 2000-03-17 Cristian Gafton <gafton@redhat.com>
7062 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
7063 existing rtld-installed-name.
7064 ($(rtld-installed-name)): Request libc-$(version) be installed too.
7065 replace existing rtld-installed-name using $(symbolic-link-prog).
7067 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
7069 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
7070 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
7071 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
7074 2000-03-19 Ulrich Drepper <drepper@redhat.com>
7076 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
7077 glob64. Since there is no glob64 in the LFS proposal applications
7078 can assume that glob handles LFS situations. glob64 is only needed
7079 if alternative filesystem functions are used.
7081 2000-03-19 Geoff Clare <gwc@unisoft.com>
7083 * sysdeps/generic/glob.c: Correct gl_pathc value returned
7084 when GLOB_DOOFFS is set; correct handling of patterns
7085 containing escaped wildcards (and no unescaped ones);
7086 GLOB_ERR flag was being ignored in some situations.
7088 * posix/globtest.c, posix/globtest.sh: Updated to include
7089 tests for the problems fixed by the above changes to glob.c.
7091 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
7093 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
7095 * Makeconfig (soversion.i): Use only first match for each lib.
7097 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
7099 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
7100 rather than $(sysd-dirs-done) to protect these rules.
7102 * Makerules (version-renames.def): Target removed.
7103 (Versions.all): Depend on soversions.i directly and parse it.
7105 * Makeconfig (soversions.i): New target, input-reading parts of
7106 soversions.mk generation moved here; result is a canonicalized
7107 list "LIB VERSION [SET]" for this configuration.
7108 (soversions.mk): Use that as input. Don't emit map-firstversions.
7109 * Makerules (version-renames.def): New target, generated from
7110 soversions.i with contents that was in $(map-firstversions).
7111 (Versions.all): Don't depend on soversions.mk, depend on
7112 version-renames.def instead; just cat it into the input.
7114 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
7115 for $(map-firstversions), which better handles it being empty.
7117 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
7118 supported version for libc 0.2.90.libio to GLIBC_2.2.
7120 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
7121 and use it to emit new variable `map-firstversions'.
7122 * scripts/firstversions.awk: New file.
7123 * Makerules (Versions.all): Use scripts/firstversions.awk and
7124 the $(map-firstversions) value to generate a modified versions list
7125 that includes renames in "A = B" syntax for each version set earlier
7126 than the "earliest symbol version" named in shlib-versions.
7127 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
7128 rename version set A to B in the output to the intermediate file.
7129 * scripts/abi-versions.awk: New file.
7130 * Makerules (abi-versions.h): New target, generated by that script.
7131 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
7132 * include/shlib-compat.h: New file, uses that generated header.
7134 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
7136 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
7137 after stripping # comments, and then run it through cpp.
7138 This allows things like "%ifdef FOO" based on config.h settings.
7139 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
7141 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
7142 and other errors that indicate a pseudo-receive happened, grok through
7143 the message buffer for port rights that need references fixed up.
7145 2000-03-16 Andreas Jaeger <aj@suse.de>
7147 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
7149 * sysdeps/unix/sysv/linux/madvise.c: Remove.
7151 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
7152 from latest Linux kernel.
7153 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
7155 * misc/sys/mman.h: Add prototype for mincore.
7157 2000-03-17 Ulrich Drepper <drepper@redhat.com>
7159 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
7160 entry for GLIBC_2.0 version of setrlimit.
7161 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7163 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
7165 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
7166 * nis/nss_compat/compat-initgroups.c: Likewise.
7167 * nis/nss_nis/nis-initgroups.c: Likewise.
7168 * nis/nss_nis/nis-netgrp.c: Likewise.
7169 * nis/nss_nis/nis-proto.c: Likewise.
7170 * nis/nss_nis/nis-rpc.c: Likewise.
7171 * nis/nss_nis/nis-service.c: Likewise.
7172 * nis/ypclnt.c: Likewise.
7174 2000-03-16 Andreas Jaeger <aj@suse.de>
7176 * manual/Makefile: MAKEINFO is set to `:' from configure if it
7177 doesn't exist, correct checks. Fixes PR libc/1649.
7179 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
7181 * nscd/hstcache.c: Restore correct UID.
7182 * nscd/pwdcache.c: Likewise.
7183 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
7185 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
7187 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
7188 macros for register names, in line with 2000-03-14 linux change.
7190 * sysdeps/mach/sched_yield.c: New file.
7192 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
7194 * sysdeps/generic/lockfile.c: Include <stdio.h>
7195 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
7196 case <libio.h> defined them.
7197 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
7199 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
7200 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
7202 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
7203 for more pleasing parse error.
7205 2000-03-16 Ulrich Drepper <drepper@redhat.com>
7207 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
7209 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7211 * elf/Makefile: Add rules to compile and run constload1 test.
7212 * elf/constload1.c: New file.
7213 * elf/constload2.c: New file.
7214 * elf/constload3.c: New file.
7216 2000-03-15 Ulrich Drepper <drepper@redhat.com>
7218 * sysdeps/posix/open64.c: Make __open64 weak alias.
7219 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
7220 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7221 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
7222 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7223 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
7224 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
7225 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7226 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
7227 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7228 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
7230 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7232 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
7233 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
7235 2000-03-16 Mark Kettenis <kettenis@gnu.org>
7237 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
7238 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
7240 2000-03-08 Andreas Jaeger <aj@suse.de>
7242 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
7244 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7246 * timezone/africa: Update from tzdata2000d.
7247 * timezone/asia: Likewise.
7248 * timezone/australasia: Likewise.
7249 * timezone/europe: Likewise.
7250 * timezone/northamerica: Likewise.
7251 * timezone/southamerica: Likewise.
7253 * po/fr.po: Update from translation team.
7254 * po/de.po: Likewise.
7256 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
7257 last parameter. Move code to add map to global scope from here...
7258 * elf/dl-open.c (dl_open_worker): ...here.
7259 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
7260 * elf/rtld.c: Adjust call to _dl_map_object_deps.
7262 * locale/programs/ld-collate.c (collate_read): Fix warning.
7264 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
7265 values and macros for register names.
7267 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
7268 returned by seek cookie function is -1.
7270 2000-03-14 Andreas Jaeger <aj@suse.de>
7272 * locale/localeconv.c (localeconv): Fix typo.
7273 Reported by Andre Charbonneau <andrec@corel.com>.
7275 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7277 * iconv/skeleton.c: Increment __invocation_counter in inner loop
7278 since modules depend on it counting the number of times the conversion
7279 function got called.
7281 * iconv/gconv_open.c: Optimize loop to setup step data structure.
7283 * iconv/gconv.h: Pretty print.
7285 2000-03-04 Ulrich Drepper <drepper@redhat.com>
7287 * posix/wordexp-test.c: Correct one of the tests added in the last
7288 change. Really get the root passwd entry to check again ~root.
7290 2000-03-10 Andreas Jaeger <aj@suse.de>
7292 * manual/filesys.texi (Working Directory): Fix last patch.
7293 Patch by Martin Buchholz <martin@xemacs.org>.
7295 2000-03-10 Andreas Jaeger <aj@suse.de>
7297 * manual/creature.texi (Feature Test Macros): Fix language.
7299 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
7301 * mach/devstream.c (devstream_write, devstream_read): New functions.
7302 (input, output): Functions removed.
7303 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
7304 using only the vanilla fopencookie interface.
7306 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
7307 as macro for __io_functions.
7308 (funcsio): Use cookie_io_functions_t type name.
7309 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
7311 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
7313 (fopencookie): Use it.
7314 * libio/libio.h: Declare _IO_cookie_init.
7315 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
7318 * libio/libio.h (__io_seek_fn): Fix second argument type
7319 to be a pointer, in line with the manual and the old stdio.
7320 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
7322 * sysdeps/generic/bits/stdio-lock.h: New file.
7323 This is a stub with #error, but that's better than no file at all.
7325 2000-03-09 Martin Buchholz <martin@xemacs.org>
7327 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
7328 * manual/message.texi (Using gettextized software): Doc Fixes.
7329 * manual/message.texi (Message Translation): Doc Fixes.
7330 * manual/filesys.texi (File Size): Doc Fixes.
7331 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
7332 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
7333 * iconv/gconv_db.c (find_derivation): Doc Fixes.
7334 * manual/install.texi: Doc Fixes.
7335 * manual/search.texi (Hash Search Function): Doc Fixes.
7336 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
7337 * FAQ.in: Doc Fixes.
7338 * config.h.in: Doc Fixes.
7339 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
7340 Doc Fixes. `allows to' is not correct English.
7342 * elf/rtld.c: Doc fixes.
7343 * manual/creature.texi (Feature Test Macros): Doc fixes.
7344 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
7346 * manual/filesys.texi (Working Directory): Check for ERANGE to
7349 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
7351 * string/argz-stringify.c (__argz_stringify): Fix loop termination
7352 conditions so as not to clobber the final '\0' when there is only one
7353 element in the vector.
7355 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
7357 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
7358 broken by 2000-02-27 change.
7360 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
7362 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
7364 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
7365 argument type, for 2000-02-22 change in signal/signal.h declaration.
7367 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
7369 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
7370 to getdirentries64 (no __), since the Linux implementation
7371 has no __ name, and there is no declaration for the __ name.
7373 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
7375 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
7376 sed regexp so as not to break directory names including /../ within.
7378 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
7379 The sysdeps/generic file is right for BSD. This file was in fact the
7380 Hurd file, but the only difference was the WNOREAP flag that was never
7381 actually implemented or used anywhere.
7383 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
7384 since AC_PATH_PROG already does it for us.
7385 (PERL): Rewrite check added in 2000-02-29 change for syntactic
7386 correctness and sh portability. I replaced the broken check
7387 with a more sensible implementation of the apparently intended
7388 semantics, which might still be questionable. Using expr causes
7389 a non-numeric value for `perl -V:apiversion` to be accepted,
7390 refusing to use only a perl that reports a number less than 5;
7391 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
7392 * configure: Regenerated.
7394 2000-03-08 Andreas Jaeger <aj@suse.de>
7396 * manual/crypt.texi: Fix paths.
7398 2000-03-07 Andreas Jaeger <aj@suse.de>
7400 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
7402 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
7405 2000-03-06 Andreas Jaeger <aj@suse.de>
7407 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
7408 in __sgn1l, otherwise g++ fails to parse this.
7409 Reported by Sean Chen <sean.chen@turbolinux.com>.
7411 2000-03-03 Geoff Keating <geoffk@cygnus.com>
7413 * configure.in: Compute sizeof-long-double.
7414 * configure: Regenerated.
7415 * config.make.in: Make sizeof-long-double available to sub-makes.
7417 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
7419 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
7422 2000-03-03 Geoff Keating <geoffk@cygnus.com>
7424 * Makeconfig (rpath-dirs): Add crypt.
7425 (all-subdirs): Remove md5crypt.
7426 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
7427 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
7428 * sysdeps/generic/crypt-entry.c: Delete.
7429 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
7430 * sysdeps/generic/crypt.h: Delete.
7431 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
7432 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
7433 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
7434 * sysdeps/generic/des_impl.c: Delete.
7435 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
7436 * crypt/sysdeps: Delete.
7437 * crypt/crypt_util.c: Don't use `patchlevel.h'.
7438 * md5-crypt/Versions: Move to crypt/.
7439 * md5-crypt/md5-crypt.c: Move to crypt/.
7440 * md5-crypt/md5.c: Move to crypt/.
7441 * md5-crypt/md5c-test.c: Move to crypt/.
7442 * md5-crypt/md5test.c: Move to crypt/.
7443 * md5-crypt: Delete.
7444 * crypt/Makefile: Adjust for new structure.
7446 2000-03-03 Paul Eggert <eggert@twinsun.com>
7448 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
7449 define to 1 if not defined.
7451 2000-03-03 Andreas Jaeger <aj@suse.de>
7453 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
7455 2000-03-03 Andreas Jaeger <aj@suse.de>
7457 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
7459 (xdr_int64_t): Correctly handle lower half.
7460 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
7462 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
7464 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
7467 2000-03-02 Andreas Jaeger <aj@suse.de>
7469 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
7472 2000-03-02 Andreas Jaeger <aj@suse.de>
7474 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
7476 2000-03-01 Andreas Jaeger <aj@suse.de>
7478 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
7479 (tests): Added tst-getdate.
7481 * time/tst-getdate.c: New file.
7483 * time/datemsk: New file, needed for tst-getdate.
7485 2000-02-29 Cristian Gafton <gafton@redhat.com>
7487 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
7489 2000-02-17 H.J. Lu <hjl@gnu.org>
7491 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
7493 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
7495 (svcudp_recv): Set up message with the new "xp_pad" field for
7497 (svcudp_reply): Support IP_PKTINFO if available.
7499 2000-03-01 Andreas Jaeger <aj@suse.de>
7501 * time/getdate.c (check_mday): Fix check for february.
7502 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
7503 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
7505 2000-03-02 Andreas Jaeger <aj@suse.de>
7507 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
7508 g++ fails to parse this.
7509 Reported by Sean Chen <sean.chen@turbolinux.com>.
7511 2000-02-28 Ulrich Drepper <drepper@redhat.com>
7513 * io/creat.c: Moved to...
7514 * sysdeps/generic/creat.c: ...here.
7515 * io/creat64.c: Moved to...
7516 * sysdeps/generic/creat64.c: ...here.
7517 * io/lockf.c: Moved to...
7518 * sysdeps/generic/lockf.c: ...here.
7520 * crypt/crypt.texi: Moved to...
7521 * manual/crypt.texi: ...here.
7522 * crypt/examples/genpass.c: Moved to...
7523 * manual/examples/genpass.c: ...here.
7524 * crypt/examples/mygenpass.c: Moved to...
7525 * manual/examples/mygenpass.c: ...here.
7526 * crypt/examples/testpass.c: Moved to...
7527 * manual/examples/testpass.c: ...here.
7529 * manual/Makefile (chapters): Add crypt.
7530 * manual/conf.texi: Add usual header for not-last chapter.
7531 * manual/crypt.texi: Add special header for last chapter.
7533 2000-02-28 Geoff Keating <geoffk@cygnus.com>
7535 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
7536 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
7537 complain if there is no crypt add-on.
7538 * crypt/configure: Removed.
7540 * crypt/crypt.texi: Update documentation of US export restrictions
7541 to match the 14 Jan 2000 regulations.
7543 2000-02-28 Geoff Keating <geoffk@cygnus.com>
7545 * crypt: New subdirectory, merged in from the crypt add-on.
7547 2000-02-28 Ulrich Drepper <drepper@redhat.com>
7549 * include/unistd.h: Add __rmdir and __mkdir prototypes.
7552 See ChangeLog.10 for earlier changes.