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