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