1 2000-07-24 Ulrich Drepper <drepper@redhat.com>
3 * libio/iogetwline.c (_IO_getwline_info): Use wide character
6 2000-07-24 Jakub Jelinek <jakub@redhat.com>
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
13 2000-07-22 Bruno Haible <haible@clisp.cons.org>
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.
19 * locale/xlocale.h (struct __locale_struct): Increase size of
21 * locale/duplocale.c (__duplocale): Copy newly added categories as
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.
27 2000-07-22 Bruno Haible <haible@clisp.cons.org>
29 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
30 variables, copied_key and copied_salt, instead of boolean variables.
32 2000-07-24 Andreas Jaeger <aj@suse.de>
34 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
35 & PAGE_MASK case, reformat.
37 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
38 from stdin and setup environment.
40 2000-07-24 Andreas Schwab <schwab@suse.de>
42 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
44 2000-07-23 Ulrich Drepper <drepper@redhat.com>
46 * string/endian.h: Explain the _*_ENDIAN constant values a bit
47 more. Patch by scarlet@mit.edu [PR libc/1799].
49 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
52 * argp/argp-parse.c (parser_finalize): Reverse order in which
53 parsers are run for ARGP_KEY_END. [PR libc/1755].
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
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):
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.
69 2000-07-23 Ulrich Drepper <drepper@redhat.com>
71 * locale/iso-639.def: Some errors corrected.
72 Patch by Keld Simonsen.
74 * include/limits.h: Update non-gcc portion.
75 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
77 2000-07-22 Mark Kettenis <kettenis@gnu.org>
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.
83 2000-07-23 Ulrich Drepper <drepper@redhat.com>
85 * stdio-common/vfprintf.c (process_string_arg): For wide character
86 version, handle precision also correctly.
88 * nss/nss_files/files-hosts.c: Correct problem with three or more
89 entries with the same name.
91 * nss/nss_files/files-hosts.c: Implement multi handling.
92 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
94 2000-07-22 Ulrich Drepper <drepper@redhat.com>
96 * nss/nss_files/files-parse.c: Don't pollute namespace by using
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.
107 2000-07-22 Mark Kettenis <kettenis@gnu.org>
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
113 2000-07-22 Ulrich Drepper <drepper@redhat.com>
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
119 * locale/langinfo.h: Likewise.
120 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
121 transliteration tables.
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,
129 Add rule to generate C-translit.h.
130 * intl/tst-translit.c (main): Update for now performed
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.
138 * stdio-common/vfprintf.c (process_string_arg): Correct handling
139 of multibyte character strings in %s format with precision.
141 2000-07-21 Ulrich Drepper <drepper@redhat.com>
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>.
147 * locale/programs/ld-collate.c (handle_ellipsis): Test for
148 duplication with generated name, not the name of the first
150 Patch by Yong Li <yong.li@asu.edu>.
152 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
153 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
155 2000-07-21 Wolfram Gloger <wg@malloc.de>
157 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
158 allocations only if a non-main arena cannot be extended.
160 2000-07-21 Ulrich Drepper <drepper@redhat.com>
162 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
163 in DF_1_NODEFLIB handling.
165 2000-07-21 Andreas Jaeger <aj@suse.de>
167 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
170 * libio/fwide.c: Include <wchar.h> for prototype.
172 2000-07-21 Greg McGary <greg@mcgary.org>
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.
181 2000-07-21 Greg McGary <greg@mcgary.org>
183 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
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.
195 2000-07-20 Ulrich Drepper <drepper@redhat.com>
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.
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
208 (profile_fixup): Likewise.
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.
216 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
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
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.
235 2000-07-20 Mark Kettenis <kettenis@gnu.org>
237 Make Hesiod NSS module thread-safe.
239 * hesiod/README.hesiod: Update.
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
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.
255 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
256 * hesiod/hesiod.h: Likewise.
257 * hesiod/hesiod_p.h: Likewise.
259 2000-07-20 Mark Kettenis <kettenis@gnu.org>
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].
269 2000-07-20 Ulrich Drepper <drepper@redhat.com>
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
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.
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>.
307 * libio/wfiledoalloc.c: Only allocate external buffer if this
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.
315 2000-07-19 Ulrich Drepper <drepper@redhat.com>
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>.
323 * resolv/Makefile (distribute): Add README.
325 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
327 2000-07-18 Mark Kettenis <kettenis@gnu.org>
329 Update resolver code to BIND 8.2.3-T5B.
331 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
333 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
334 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
336 * resolv/Banner: BIND-8.2.3-T5B.
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).
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.
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
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
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.
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.
386 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
387 * resolv/arpa/nameser_compat.h: Likewise.
389 2000-07-18 Ulrich Drepper <drepper@redhat.com>
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>.
395 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
397 2000-07-18 Greg McGary <greg@mcgary.org>
399 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
400 (EXTEND_BUFFER): Use it.
402 2000-07-18 Ulrich Drepper <drepper@redhat.com>
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.
415 2000-07-18 Andreas Jaeger <aj@suse.de>
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.
420 * include/string.h: Add prototype for __memchr.
422 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
424 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
427 2000-07-18 Ulrich Drepper <drepper@redhat.com>
429 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
431 * locale/C-ctype.c: Add initializers for gap elements.
432 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
435 2000-07-16 Ulrich Drepper <drepper@redhat.com>
437 * nscd/nscd.c (print_version): Update copyright year.
439 2000-07-17 Greg McGary <greg@mcgary.org>
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
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.
464 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
466 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
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
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.
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.
492 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
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__.
501 2000-07-17 Bruno Haible <haible@clisp.cons.org>
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.
507 2000-07-14 Bruno Haible <haible@clisp.cons.org>
509 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
510 not only those having tsearch.
512 2000-07-17 Ulrich Drepper <drepper@redhat.com>
514 * locale/langinfo.h: Add placeholder values in enum for removed
517 2000-07-17 Jakub Jelinek <jakub@redhat.com>
519 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
520 chain if the PHDR check fails.
522 2000-07-17 Mark Kettenis <kettenis@gnu.org>
524 * nss/getent.c (print_hosts): Make sure we always print a space
525 between numeric addresses and hostnames.
527 2000-07-17 Wolfram Gloger <wg@malloc.de>
529 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
530 i.e. if n_mmaps_max>0.
532 2000-07-16 Mark Kettenis <kettenis@gnu.org>
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
540 2000-07-15 Mark Kettenis <kettenis@gnu.org>
542 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
543 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
546 2000-07-16 Ulrich Drepper <drepper@redhat.com>
548 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
549 parameters of memset calls to avoid warnings.
551 2000-07-15 Ulrich Drepper <drepper@redhat.com>
553 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
556 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
557 Patch by Greg McGary <greg@mcgary.org>.
559 * io/Makefile (tests): Add tst-getcwd.
560 * io/tst-getcwd.c: New file.
562 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
564 2000-07-15 Jakub Jelinek <jakub@redhat.com>
566 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
569 2000-07-13 Jakub Jelinek <jakub@redhat.com>
571 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
572 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
574 2000-07-12 H.J. Lu <hjl@gnu.org>
576 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
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.
583 2000-07-13 Jes Sorensen <jes@linuxcare.com>
585 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
586 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
588 2000-06-05 David Mosberger <davidm@hpl.hp.com>
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.
604 2000-07-06 Jes Sorensen <jes@linuxcare.com>
606 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
607 bits/sigcontext as struct mcontext does not depend on it.
609 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
611 2000-07-04 Jes Sorensen <jes@linuxcare.com>
613 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
615 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
617 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
619 2000-06-22 Jes Sorensen <jes@linuxcare.com>
621 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
623 2000-07-15 Ulrich Drepper <drepper@redhat.com>
625 * intl/Makefile (test-srcs): Add tst-translit.
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.
632 2000-07-14 Ulrich Drepper <drepper@redhat.com>
634 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
635 transliteration function did its job, continue, don't stop.
637 * iconvdata/iso646.c: Little optimizations in body for conversion
640 2000-07-14 Mark Kettenis <kettenis@gnu.org>
642 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
644 2000-07-14 Mark Kettenis <kettenis@gnu.org>
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.
650 2000-07-14 Ulrich Drepper <drepper@redhat.com>
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>
659 2000-07-13 Andreas Jaeger <aj@suse.de>
661 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
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.
672 2000-07-14 Ulrich Drepper <drepper@redhat.com>
674 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
675 64-bit architecture correctly [PR libc/1794].
677 2000-07-13 Ulrich Drepper <drepper@redhat.com>
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
689 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
692 * dlfcn/dlerror.c (free_key_mem): Also free error string.
694 * iconv/loop.c: Fix comment.
696 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
698 2000-07-13 Andreas Jaeger <aj@suse.de>
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>.
704 2000-07-13 Andreas Jaeger <aj@suse.de>
706 * posix/Makefile: Remove build rules for libposix.
708 2000-07-13 Andreas Schwab <schwab@suse.de>
710 * sysdeps/generic/glob.c (glob): Fix memory leak.
711 [SHELL]: Remove reference to undefined variable `files'.
714 2000-07-13 Andreas Jaeger <aj@suse.de>
716 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
719 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
720 memory if it was allocated.
722 2000-07-12 Ulrich Drepper <drepper@redhat.com>
724 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
727 * iconv/gconv_open.c (__gconv_open): Reapply
728 2000-07-12 Bruno Haible <haible@clisp.cons.org>
730 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
732 * iconv/gconv_open.c: Undo last two changes for now. They break
735 2000-07-12 Andreas Jaeger <aj@suse.de>
737 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
739 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
740 (CFLAGS-dl-cache.c): Likewise.
741 (CFLAGS-ldconfig.c): Added, passes directory locations.
743 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
745 * elf/ldconfig.c (LD_SO_CONF): Likewise.
746 (main): Use configured LIBDIR and SLIBDIR.
748 2000-07-11 Jakub Jelinek <jakub@redhat.com>
750 * math/bits/cmathcalls.h (cimag): Add __THROW.
751 (creal, conj): Likewise.
752 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
755 2000-07-12 H.J. Lu <hjl@gnu.org>
757 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
758 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
760 2000-07-12 Ulrich Drepper <drepper@redhat.com>
762 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
765 2000-07-12 Bruno Haible <haible@clisp.cons.org>
767 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
769 2000-07-12 Bruno Haible <haible@clisp.cons.org>
771 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
774 2000-07-12 Bruno Haible <haible@clisp.cons.org>
776 * iconv/gconv_open.c (__gconv_open): Initialize
777 result->__steps[cnt].__data.
779 2000-07-12 Mark Kettenis <kettenis@gnu.org>
781 * nss/getent.c (services_keys): Pass port number in network byte
782 order in call to getservbyport.
784 2000-07-11 Andreas Jaeger <aj@suse.de>
786 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
788 * intl/Makefile (do-gettext-test): Likewise.
789 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
791 2000-07-11 Andreas Schwab <schwab@suse.de>
793 * Makeconfig (run-program-prefix): New rule.
794 (built-program-cmd): Use run-program-prefix.
796 2000-07-12 Ulrich Drepper <drepper@redhat.com>
798 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
799 and NOEXPR unconditionally available.
801 2000-07-12 Greg McGary <greg@mcgary.org>
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.
813 2000-07-11 Greg McGary <greg@mcgary.org>
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.
828 2000-07-10 Mark Kettenis <kettenis@gnu.org>
830 * sysdeps/mach/hurd/check_fds.c: New file. Implements
831 file descriptor checking in SUID programs for the Hurd.
833 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
834 res_hostalias instead of __hostalias for thread-safety.
836 2000-07-09 Mark Kettenis <kettenis@gnu.org>
838 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
839 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
841 2000-07-10 Ulrich Drepper <drepper@redhat.com>
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>.
847 2000-07-08 Mark Kettenis <kettenis@gnu.org>
849 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
851 2000-07-10 Andreas Jaeger <aj@suse.de>
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.
861 * malloc/Makefile: Run tst-mtrace only with shared libs.
863 * stdio-common/Makefile: Run unbputc and tst-printf tests only
866 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
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.
873 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
876 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
878 2000-07-10 Andreas Jaeger <aj@suse.de>
880 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
881 (string_alias->strong_alias).
883 2000-07-08 Mark Kettenis <kettenis@gnu.org>
885 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
887 2000-07-07 Greg McGary <greg@mcgary.org>
889 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
890 have no names without leading underscores.
892 2000-07-07 Ulrich Drepper <drepper@redhat.com>
894 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
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.
905 2000-07-07 Mark Kettenis <kettenis@gnu.org>
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'.
912 2000-07-07 Ulrich Drepper <drepper@redhat.com>
914 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
916 * malloc/tst-mtrace.sh: Run mtrace script.
918 2000-07-07 Greg McGary <greg@mcgary.org>
920 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
921 Move all three components of a bounded pointer.
923 2000-07-07 Ulrich Drepper <drepper@redhat.com>
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.
929 2000-07-06 Ulrich Drepper <drepper@redhat.com>
931 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
932 * iconvdata/euc-kr.c: Likewise.
934 * stdio-common/vfprintf.c (process_string_arg): Check result of
935 wcrtomb call and bail out if it failed.
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.
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.
952 * configure.in: Fix CFLAGS-memprofstat.c definition after
954 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
956 2000-07-06 Jakub Jelinek <jakub@redhat.com>
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
964 2000-07-06 Andreas Jaeger <aj@suse.de>
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.
971 2000-07-06 Andreas Jaeger <aj@suse.de>
973 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
974 of the proc system is "proc".
976 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
977 thread library for static programs.
979 2000-07-06 Greg McGary <greg@mcgary.org>
981 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
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.
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.
1066 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
1068 2000-07-06 Andreas Jaeger <aj@suse.de>
1070 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
1073 * math/test-fpucw.c: Include <stdio.h> for printf.
1075 2000-07-05 Greg McGary <greg@mcgary.org>
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.
1092 2000-07-05 Ulrich Drepper <drepper@redhat.com>
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.
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>.
1102 2000-07-05 Andreas Jaeger <aj@suse.de>
1104 * manual/install.texi (Installation): Update information about
1106 (Configuring and compiling): Update for glibc 2.2.
1108 2000-07-04 Andreas Jaeger <aj@suse.de>
1110 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
1111 (_FPU_IEEE): Likewise.
1113 * math/Makefile (tests): Add test-fpucw.
1115 * math/test-fpucw.c (main): New file.
1117 2000-07-05 Ulrich Drepper <drepper@redhat.com>
1119 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
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.
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
1130 * posix/regex.c: Fix comment.
1132 2000-07-05 Andreas Jaeger <aj@suse.de>
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>.
1138 * posix/fnmatch_loop.c (FCT): Only declare len if
1139 !WIDE_CHAR_VERSION to silence GCC.
1141 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
1143 * sysdeps/generic/strchrnul.c: Likewise.
1144 * sysdeps/generic/strlen.c: Likewise.
1145 * sysdeps/generic/strchr.c: Likewise.
1146 * sysdeps/generic/memchr.c: Likewise.
1148 2000-07-04 Ulrich Drepper <drepper@redhat.com>
1150 * posix/fnmatch_loop.c: Implement equivalence class handling.
1151 * posix/tst-fnmatch.input: Add tests for equivalence class
1154 * posix/fnmatch_loop.c: Improve performance for single-byte
1155 character sets by not using btowc.
1157 * posix/tst-fnmatch.input: Add tests for locale dependent
1159 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
1161 * posix/tst-fnmatch.input: Add more test cases.
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>.
1170 * crypt/Makefile: Add dependencies for test programs.
1172 * Rules: Define LC_ALL=C in environments of all programs we run.
1174 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
1176 2000-07-03 H.J. Lu <hjl@gnu.org>
1178 * locale/programs/ld-ctype.c (ctype_output): The size of iov
1179 is 2 + elem + offset, not 2 + elem + offset + 2.
1181 2000-07-04 Ulrich Drepper <drepper@redhat.com>
1183 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
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.
1190 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
1192 * locale/programs/charmap.c (charmap_read): Prepend
1193 the condition filename == NULL.
1195 2000-07-03 Greg McGary <greg@mcgary.org>
1197 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
1199 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
1200 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
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.
1211 * sysdeps/powerpc/strchr.S: Check bounds.
1212 Wrap extern symbols in BP_SYM ().
1214 2000-07-03 Andreas Jaeger <aj@suse.de>
1216 * dlfcn/Makefile (generated): New.
1218 2000-07-03 Ulrich Drepper <drepper@redhat.com>
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.
1228 * po/en_GB.po: New file.
1229 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
1231 2000-07-01 Andreas Jaeger <aj@suse.de>
1233 * intl/Makefile (generated-dirs): New.
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.
1239 2000-07-01 Ulrich Drepper <drepper@redhat.com>
1241 * debug/Makefile (distribute): Add xtrace.sh.
1243 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1245 * version.h (VERSION): Bump to 2.1.91.
1247 * configure.in: Update warning comment. glibc should not be
1250 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
1251 ioperm.c, sys/procfs.h, and sys/io.h.
1253 * sysdeps/powerpc/Dist: Add bp-asm.h.
1255 * assert/Depend: Add localedata.
1256 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
1257 (test-assert-perr-ENV): New. Define LANGUAGE=C.
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>.
1264 2000-06-30 Jakub Jelinek <jakub@redhat.com>
1266 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
1267 if redirecting and either redirection is done using defines or
1270 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1272 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
1273 generated expressions.
1274 Patch by Darren McClelland <dmcclell@zetec.com>.
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
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.
1288 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
1289 whether this information is available.
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.
1296 * intl/tst-gettext.c: Use correct locale. Improve error messages.
1298 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
1299 information is available set the string length to zero.
1301 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
1303 2000-06-30 Greg McGary <greg@mcgary.org>
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.
1325 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
1326 Line up operands column with tabs.
1328 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1330 * elf/Makefile (LDFLAGS-origtest): Actually add it.
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>.
1338 2000-06-30 Andreas Jaeger <aj@suse.de>
1340 * posix/Makefile (tests): tst-exec and tst-spawn only work with
1343 * io/Makefile (CFLAGS-test-lfs.c): New.
1344 (tests): Add test-lfs.
1346 * io/test-lfs.c: New file.
1348 2000-06-30 Jakub Jelinek <jakub@redhat.com>
1350 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
1353 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
1355 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
1357 2000-06-29 Jes Sorensen <jes@linuxcare.com>
1359 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
1360 alias to the fstatfs call.
1362 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
1363 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
1365 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
1366 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
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.
1373 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
1374 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
1376 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
1377 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
1379 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
1380 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
1382 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
1384 2000-06-29 Andreas Jaeger <aj@suse.de>
1386 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
1388 (print_err_message): Likewise.
1389 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
1391 2000-06-29 Ulrich Drepper <drepper@redhat.com>
1393 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
1394 used as words is properly aligned.
1396 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
1399 2000-06-29 Greg McGary <greg@mcgary.org>
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.
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.
1419 2000-06-29 Jakub Jelinek <jakub@redhat.com>
1421 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
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.
1432 2000-06-29 Ulrich Drepper <drepper@redhat.com>
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>.
1438 * stdio-common/tst-printf.c: Add test for above problem.
1440 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
1442 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
1443 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
1445 2000-06-28 Jes Sorensen <jes@linuxcare.com>
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.
1451 2000-06-23 Andreas Jaeger <aj@suse.de>
1453 * config.h.in: Don't use regparm with bounded pointers.
1455 2000-06-29 Ulrich Drepper <drepper@redhat.com>
1457 * stdlib/grouping.h: Correctly handle multibyte thousands
1458 separator and decimal point.
1459 * stdlib/stdtod.c: Likewise.
1460 * sysdeps/generic/strtol.c: Likewise.
1462 * locale/categories.def: Add entries for wide character decimal point
1463 and thousands separator in numeric and monetary category.
1465 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1467 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
1468 second definition and initialization of decimal.
1470 2000-06-28 Greg McGary <greg@mcgary.org>
1472 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
1474 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
1475 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
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 *).
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
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.
1527 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1529 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
1530 thousands separator correctly.
1532 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
1533 * stdio-common/vfwscanf.c: Likewise.
1535 2000-06-27 Jes Sorensen <jes@linuxcare.com>
1537 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
1538 count into signatures for most calls.
1540 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1542 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
1543 the generic parser now.
1545 2000-06-28 Jes Sorensen <jes@linuxcare.com>
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.
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).
1554 2000-06-28 Jes Sorensen <jes@linuxcare.com>
1556 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
1557 prototype for abs().
1559 2000-06-28 Wolfram Gloger <wg@malloc.de>
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.
1565 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1567 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
1568 symbols in multi-character weights correctly.
1570 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
1571 depending on whether the input string is empty or not.
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.
1577 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
1578 object since some incomplete characters might be in there.
1580 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
1581 sequences with first byte 0x8e correctly.
1583 * iconvdata/jis0208.h: Remove redundant test.
1585 2000-06-27 Ulrich Drepper <drepper@redhat.com>
1587 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
1588 Add it where it is needed now.
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.
1596 * wctype/towctrans.c (__towctrans): Be graceful and accept error
1597 return values from the wctrans function.
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.
1603 * wcsmbs/wctob.c: Handle WEOF special.
1605 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
1607 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
1608 always-true test to avoid warning.
1610 2000-06-27 Greg McGary <greg@mcgary.org>
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.
1617 2000-06-27 Jakub Jelinek <jakub@redhat.com>
1619 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
1622 2000-06-26 Ulrich Drepper <drepper@redhat.com>
1624 * include/libc-symbols.h (symbol_version): Add extra level of
1626 (default_symbol_version): Likewise.
1628 2000-06-26 Greg McGary <greg@mcgary.org>
1630 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
1631 for BP return value & push implicit struct-return pointer to
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.
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.
1649 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
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.
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.
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.
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.
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.
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.
1719 2000-06-26 Ulrich Drepper <drepper@redhat.com>
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.
1728 2000-06-26 Greg McGary <greg@mcgary.org>
1730 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
1731 INSN1, INSN2, TEXT, GLOBL): Remove macros.
1732 (ALIGN): Cleanup surrounding conditionals.
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.
1739 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
1740 syntax. Define & use symbolic argument stack offsets. Call
1742 * sysdeps/i386/i586/mul_1.S: Likewise.
1743 * sysdeps/i386/i586/submul_1.S: Likewise.
1745 2000-06-25 Greg McGary <greg@mcgary.org>
1747 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
1750 2000-06-25 Ulrich Drepper <drepper@redhat.com>
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.
1756 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
1758 * locale/programs/ld-collate.c (collate_read): Don't actually read
1759 the copy locale if we are ignoring the content.
1761 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
1764 * locale/programs/ld-collate.c: Correct handling of different
1766 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
1767 as extra parameter from which to copy category information.
1769 (load_locale): Likewise.
1770 * locale/programs/localedef.h: Update prototypes of add_to_readlist
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.
1777 * locale/programs/locale.c: Update copyright year.
1778 * locale/programs/localedef.c: Likewise.
1780 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
1782 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
1783 Jens Moeller <jens.moeller@waii.com>.
1785 2000-06-24 Ulrich Drepper <drepper@redhat.com>
1787 * locale/programs/ld-name.c (name_finish): Add missing format
1788 specifier to test for name_fmt.
1790 * locale/programs/ld-address.c (iso639): Correct length of string
1792 (iso3166): Likewise.
1794 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
1796 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
1799 * elf/elf.h (NT_PRFPXREG): Define.
1801 2000-06-23 Ulrich Drepper <drepper@redhat.com>
1803 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
1804 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
1806 2000-06-23 Andreas Schwab <schwab@suse.de>
1808 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
1811 2000-06-23 Andreas Jaeger <aj@suse.de>
1813 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
1815 * io/test-stat.c: Add copyright header, mention Maciej.
1817 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
1818 SYS_mincore, SYS_madvise): Added.
1820 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
1823 2000-06-22 Ulrich Drepper <drepper@redhat.com>
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.
1831 * include/string.h: Add prototype for __strdup.
1833 2000-06-22 Greg McGary <greg@mcgary.org>
1835 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
1836 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
1839 2000-06-23 Jes Sorensen <jes@linuxcare.com>
1841 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
1843 2000-06-22 Jes Sorensen <jes@linuxcare.com>
1845 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
1847 2000-06-22 Jes Sorensen <jes@linuxcare.com>
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.
1852 2000-06-22 Ulrich Drepper <drepper@redhat.com>
1854 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
1855 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
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
1873 2000-06-22 Andreas Jaeger <aj@suse.de>
1875 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
1878 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
1880 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
1882 2000-06-21 Ulrich Drepper <drepper@redhat.com>
1884 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
1887 2000-06-21 Greg McGary <greg@mcgary.org>
1889 * Makerules (elide-routines.*, elide-bp-thunks):
1890 Define unconditionally.
1892 2000-06-21 Jes Sorensen <jes@linuxcare.com>
1894 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
1896 2000-06-21 Andreas Jaeger <aj@suse.de>
1898 * io/Makefile (tests): Add test-stat.
1899 (CFLAGS-test-stat.c): New.
1901 * io/test-stat.c: New file from Maciej W. Rozycki
1902 <macro@ds2.pg.gda.pl>.
1904 2000-06-21 Jes Sorensen <jes@linuxcare.com>
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
1911 2000-05-04 Jes Sorensen <jes@linuxcare.com>
1913 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
1914 RLIM_INFINITY before defining it to avoid clash with kernel header
1916 2000-05-03 Jes Sorensen <jes@linuxcare.com>
1918 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
1920 2000-06-21 Ulrich Drepper <drepper@redhat.com>
1922 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
1924 2000-06-21 Andreas Jaeger <aj@suse.de>
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.
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.
1945 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
1946 * nss/test-netdb.c: Likewise.
1948 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
1949 supported kernel for MIPS.
1951 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
1952 * rt/aio_suspend.c: Likewise.
1954 2000-06-20 Ulrich Drepper <drepper@redhat.com>
1956 * math/libm-test.inc: Include <string.h>.
1958 2000-06-20 Jes Sorensen <jes@linuxcare.com>
1960 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
1962 2000-06-20 Jes Sorensen <jes@linuxcare.com>
1964 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
1965 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
1967 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
1969 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
1971 2000-06-20 Jes Sorensen <jes@linuxcare.com>
1973 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
1975 2000-06-20 Ulrich Drepper <drepper@redhat.com>
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.
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.
1988 2000-06-20 Greg McGary <greg@mcgary.org>
1990 * Makerules (objects): Add BP thunks.
1992 2000-06-20 Ulrich Drepper <drepper@redhat.com>
1994 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
1995 in width definitions.
1997 2000-06-20 Andreas Jaeger <aj@suse.de>
1999 * sysdeps/mips/fpu/libm-test-ulps: New file.
2001 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
2004 * sysdeps/mips/fpu/feholdexcpt.c: New file.
2006 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
2008 2000-06-19 Ulrich Drepper <drepper@redhat.com>
2010 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
2011 change in gconv_builtin.h.
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.
2041 * elf/sprof.c (print_version): Update year.
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>.
2048 2000-06-20 Jes Sorensen <jes@linuxcare.com>
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.
2055 2000-05-05 Jes Sorensen <jes@linuxcare.com>
2057 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
2059 2000-06-16 Jes Sorensen <jes@linuxcare.com>
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.
2065 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
2067 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
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
2073 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
2076 2000-06-15 Jes Sorensen <jes@linuxcare.com>
2078 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
2080 2000-06-08 Jes Sorensen <jes@linuxcare.com>
2082 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
2084 2000-06-19 Ulrich Drepper <drepper@redhat.com>
2086 * iconv/gconv_int.h (strict gconv_module): Remove all members
2087 associated with regular expressions. Use a simple string as the
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.
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.
2148 * localedata/Makefile: Set -Wno-format for some files since gcc does
2149 not know all the format specifiers.
2151 2000-06-18 Ulrich Drepper <drepper@redhat.com>
2153 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
2155 * locale/lc-time.c (_nl_init_era_entries): Likewise.
2157 2000-06-18 Andreas Jaeger <aj@suse.de>
2159 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
2160 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
2162 2000-06-17 Ulrich Drepper <drepper@redhat.com>
2164 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
2166 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
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.
2174 * localedata/tst-mbswcs3.c: Remove comment.
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.
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.
2190 2000-06-16 Ulrich Drepper <drepper@redhat.com>
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
2196 * locale/categories.h: Add entries for all LC_CTYPE values.
2197 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
2200 * localedata/tst-trans.c: Write out an error message if class is
2203 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
2204 * iconv/gconv_open.c: Remove error handling specification from `from'
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
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
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.
2232 * locale/setlocale.c: Add some more __builtin_expect.
2234 2000-06-15 Ulrich Drepper <drepper@redhat.com>
2236 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
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
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
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.
2286 2000-06-15 Greg McGary <greg@mcgary.org>
2288 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
2289 of callnum assignment. Tolerate callnum expressions containing
2292 2000-06-14 Ulrich Drepper <drepper@redhat.com>
2294 * login/Makefile (utmpd): Remove rule to build utmpd.
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.
2304 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
2306 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
2308 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
2310 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
2312 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
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.
2319 2000-06-14 Jakub Jelinek <jakub@redhat.com>
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.
2328 2000-06-14 Andreas Jaeger <aj@suse.de>
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>.
2335 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
2337 Reported by Jim Pick <jim@jimpick.com>.
2339 2000-06-14 Ulrich Drepper <drepper@redhat.com>
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].
2345 2000-06-13 Ulrich Drepper <drepper@redhat.com>
2347 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
2349 * crypt/Makefile (distribute): Add md5.h.
2351 * Makefile (distribute): Add include/shlib-compat.h.
2353 * Make-dist: Search for tests also in sysdeps hierachy.
2355 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
2356 ufc.c, speeds.c, README.ufc-crypt, and Banner.
2358 * sysdeps/sparc/Subdirs: New file.
2360 * locale/Makefile (distribute): Add weightwc.h and
2361 programs/localedef.h.
2363 * time/Makefile (distribute): Add datemsk.
2365 * sysdeps/ia64/Dist: Add softpipe.h.
2367 * sysdeps/unix/sysv/aix/Dist: New file.
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.
2374 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
2376 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
2378 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
2380 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
2381 gprsave0.S, gprrest1.S, and gprrest0.S.
2383 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
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.
2393 * posix/spawnattr_setschedparam.c: Fix typo.
2395 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
2398 * login/programs/utmpd.c: Removed.
2399 * login/programs/utmpd.h: Removed.
2400 * login/programs/utmpd-private.h: Removed.
2402 * Makefile (distribute): Add include/db_185.h and include/db.h.
2404 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
2407 * elf/Makefile (distribute): Add missing files.
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.
2413 * Makefile (distribute): Also distribute ChangeLog.1?.
2415 * Make-dist (+tsrcs): Remove .args handling here as well.
2417 * rt/Makefile (tests): Add tst-timer.
2418 * sysdeps/generic/tst-timer.c: New file.
2420 * Makerules (sources): Don't add BP sources here.
2422 * login/Makefile (distribute): Remove xtmp.h.
2424 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
2425 is true. Reported by Bruno Haible <haible@ilog.fr>.
2427 2000-06-13 Andreas Jaeger <aj@suse.de>
2429 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
2430 Patch by Ralf Baechle <ralf@gnu.org>.
2432 2000-06-13 Ulrich Drepper <drepper@redhat.com>
2434 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
2435 for mincore syscall.
2437 * misc/sys/cdefs.h: Define __bounded and __unbounded if
2438 __BOUNDED_POINTERS__ is not defined.
2440 2000-06-07 Greg McGary <greg@mcgary.org>
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.
2448 2000-06-07 Greg McGary <greg@mcgary.org>
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.
2464 2000-06-07 Greg McGary <greg@mcgary.org>
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.
2474 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2476 * iconv/gconv_simple.c: Remove unnecessary prototype.
2478 * iconv/gconv_trans.c: Pretty print.
2480 * elf/elf.h (R_SH_NUM): Got accidently dropped.
2482 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
2483 minimal kernel versions. Add information about IA-64 kernel.
2485 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
2486 specific minimal supported kernel versions to be specified.
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.
2499 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
2500 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
2502 * shlib-versions: Earliest backward compatible version for SH is 2.2.
2504 * misc/sys/cdefs.h: Remove one more __P.
2506 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
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.
2513 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
2514 Yutaka Niibe <gniibe@chroot.org>
2516 * configure.in: Add machine sh3, sh4.
2517 * elf/elf.h: Add SH specific declarations of relocations.
2518 * shlib-versions: Add sh*-*-linux* cases.
2520 2000-06-12 Ulrich Drepper <drepper@redhat.com>
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.
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.
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.
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>.
2550 2000-06-12 H.J. Lu <hjl@gnu.org>
2552 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
2554 2000-06-11 H.J. Lu <hjl@gnu.org>
2556 * sysdeps/i386/fpu/Versions: New file.
2558 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2560 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
2562 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
2565 2000-06-12 Jes Sorensen <jes@linuxcare.com>
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.
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.
2575 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
2576 Yutaka Niibe <gniibe@chroot.org>
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.
2674 2000-06-12 Ulrich Drepper <drepper@redhat.com>
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
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.
2739 2000-04-11 Geoff Keating <geoffk@cygnus.com>
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.
2748 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
2749 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2751 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
2752 and setrlimit syscalls for backwards compatibility.
2754 2000-06-10 Ulrich Drepper <drepper@redhat.com>
2756 * iconv/skeleton.c: Rename converted written to correcter name
2758 * iconv/gconv.c: Rename converted variable to correcter name
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.
2788 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
2789 __cmsg_data field with __extension__.
2791 2000-06-10 David Mosberger <davidm@hpl.hp.com>
2793 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
2795 2000-06-10 Ulrich Drepper <drepper@redhat.com>
2797 * iconv/gconv_simple.c: Fix various small bugs in several
2800 * iconv/loop.c: Fix comment.
2802 2000-06-10 Jakub Jelinek <jakub@redhat.com>
2804 * elf/link.h: Remove libc internal declarations.
2805 * include/link.h: Move them here.
2807 2000-06-09 Ulrich Drepper <drepper@redhat.com>
2809 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
2810 Patch by Dan Pop <Dan.Pop@cern.ch>.
2812 Rewrite error message handling.
2813 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
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
2819 (_dl_catch_error): Take new parameter. Store object name in the
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
2840 * elf/dl-reloc.c: Likewise.
2841 * elf/dl-version.c: Likewise.
2843 2000-06-09 H.J. Lu <hjl@gnu.org>
2845 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
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.
2854 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
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
2862 2000-06-09 Jes Sorensen <jes@linuxcare.com>
2864 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
2865 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
2867 2000-06-09 Jes Sorensen <jes@linuxcare.com>
2868 Ulrich Drepper <drepper@redhat.com>
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.
2877 2000-06-09 Ulrich Drepper <drepper@redhat.com>
2879 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
2880 to find correct mount point despite wrong information from the
2883 2000-06-09 Jes Sorensen <jes@linuxcare.com>
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.
2888 2000-06-08 Ulrich Drepper <drepper@redhat.com>
2890 * sysdeps/i386/Dist: Add bp-asm.h.
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/.
2896 2000-06-08 Greg McGary <greg@mcgary.org>
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.
2939 2000-06-08 Ulrich Drepper <drepper@redhat.com>
2941 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
2943 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
2944 256 and don't use OPEN_MAX.
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.
2950 2000-06-08 Andreas Jaeger <aj@suse.de>
2952 * libio/genops.c (_IO_list_lock): Only compile body if we're
2954 (_IO_list_unlock): Likewise.
2955 (_IO_list_resetlock): Likewise.
2957 2000-06-07 Ulrich Drepper <drepper@redhat.com>
2959 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
2960 unless user defined it.
2962 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
2963 if not defined by the user.
2965 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
2966 * libio/iofwrite.c (_IO_fwrite): Likewise.
2968 * time/time.h: Add missing __THROW for clock_getcpuclockid
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.
2986 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
2988 * elf/do-lookup.h: Add some __builtin_expect.
2990 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
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.
3000 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
3002 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
3004 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
3005 using l_map_start and l_map_end.
3007 * elf/dl-version.c: Add __builtin_expect in many places.
3009 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
3012 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
3014 Lock for stdio stream list becomes global, for use in LinuxThreads.
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.
3024 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
3025 pointer to _IO_FILE.
3027 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3029 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
3030 BIT() must actually be BITw().
3032 * locale/programs/ld-ctype.c: Handle SP and space consistently.
3034 * locale/programs/charmap.c: Allow string arguments for
3035 code_set_name and repertoiremap.
3037 2000-06-07 Andreas Jaeger <aj@suse.de>
3039 * elf/Makefile: Build ldconfig only when building shared libraries.
3041 2000-06-07 Jakub Jelinek <jakub@redhat.com>
3043 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
3045 (fdimf, __fdim, fdim): Likewise.
3047 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3049 * locale/findlocale.c: Add __builtin_expect in many places.
3050 * locale/loadlocale.c: Likewise.
3052 2000-06-06 Greg McGary <greg@mcgary.org>
3054 * sysdeps/mips/elf/start.S: Trim redundant code.
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.
3063 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
3064 Get low part of &__curbrk with @l.
3066 2000-06-06 Ulrich Drepper <drepper@redhat.com>
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.
3087 2000-06-05 Ulrich Drepper <drepper@redhat.com>
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.
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
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.
3152 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
3155 2000-06-04 Ulrich Drepper <drepper@redhat.com>
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>.
3161 2000-06-04 Jakub Jelinek <jakub@redhat.com>
3163 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
3166 2000-06-04 Ulrich Drepper <drepper@redhat.com>
3168 * iconvdata/big5hkscs.c: New file.
3169 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
3171 * iconvdata/gconv-modules: Add entry for new module.
3172 * iconvdata/Makefile (modules): Add BIG5HKSCS.
3173 (distribute): Add big5hkscs.c.
3175 2000-06-01 Jakub Jelinek <jakub@redhat.com>
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.
3184 2000-06-03 Ulrich Drepper <drepper@redhat.com>
3186 * elf/elf.h (SHT_SUNW_move): Define.
3188 * elf/elf.h: Add more Solaris compatiblity definitions.
3190 2000-06-03 Andreas Jaeger <aj@suse.de>
3192 * sysdeps/powerpc/dl-start.S: Close open comment.
3194 2000-06-03 Jakub Jelinek <jakub@redhat.com>
3196 * inet/Versions: Fix typo in rresvport_af export.
3198 2000-06-02 Ulrich Drepper <drepper@redhat.com>
3200 * math/tgmath.h: Pretty print.
3202 2000-06-02 Andreas Jaeger <aj@suse.de>
3204 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
3205 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3207 2000-06-02 Ulrich Drepper <drepper@redhat.com>
3209 * elf/rtld.c (process_envvars): Test for = after variable name.
3211 2000-06-01 Ulrich Drepper <drepper@redhat.com>
3213 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
3214 have extra call to __gmon_start__, use the pointer we already have.
3216 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
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.
3223 2000-05-31 Ulrich Drepper <drepper@redhat.com>
3225 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
3227 2000-05-31 Andreas Jaeger <aj@suse.de>
3229 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
3232 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
3233 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3235 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
3237 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
3239 2000-05-30 Ulrich Drepper <drepper@redhat.com>
3241 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
3243 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
3244 * locale/localeconv.c: Make function versioned (with same definition).
3246 * elf/Makefile (modules-names): Strip before using it.
3248 2000-05-30 Andreas Jaeger <aj@suse.de>
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.
3257 2000-05-29 Ulrich Drepper <drepper@redhat.com>
3259 * Makefile: Add GNU make magic.
3261 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
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.
3272 2000-05-29 Andreas Jaeger <aj@suse.de>
3274 * elf/readlib.c (interpreters): Use LD_SO since this is supported
3277 2000-05-29 Jakub Jelinek <jakub@redhat.com>
3279 * inet/rcmd.c (rresvport_af): Use correct port number.
3281 2000-05-26 Andreas Schwab <schwab@suse.de>
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.
3288 2000-05-29 Ulrich Drepper <drepper@redhat.com>
3290 * posix/Makefile (tests): Add tst-spawn.
3291 (tst-spawn-ARGS): New variable.
3292 * posix/tst-spawn.c: New file.
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.
3299 * posix/tst-preadwrite.c: Check success of malloc call.
3301 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3303 * posix/Makefile (tests): Add tst-exec.
3304 (tst-exec-ARGS): New variable.
3305 * posix/tst-exec.c: New file.
3307 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
3309 2000-05-04 Andreas Jaeger <aj@suse.de>
3311 * string/string.h: Remove __strdup prototype, it's not needed in
3314 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3316 * posix/Makefile (tests): Add tst-fork.
3317 * posix/tst-fork.c: New file.
3319 * resolv/inet_pton.c: Loose __P.
3321 2000-05-21 Jakub Jelinek <jakub@redhat.com>
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.
3329 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3331 * po/da.po: New file.
3333 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
3334 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
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>.
3340 2000-05-27 Andreas Jaeger <aj@suse.de>
3342 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
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.
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.
3355 * elf/vismain.c: Use test-skeleton interface.
3356 (TEST_FUNCTION): New macro.
3357 (do_test): Renamed from main.
3359 2000-05-27 Ulrich Drepper <drepper@redhat.com>
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.
3364 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
3365 handling of AI_V4MAPPED flag.
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.
3379 2000-05-26 Ulrich Drepper <drepper@redhat.com>
3381 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
3383 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
3386 * posix/tst-preadwrite.c: Allow parallel execution of
3387 tst-preadwrite and tst-preadwrite64.
3389 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
3390 * posix/tst-truncate.c: New file.
3391 * posix/tst-truncate64.c: New file.
3393 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
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.
3401 2000-05-26 Andreas Jaeger <aj@suse.de>
3403 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
3404 of arguments dependend on endianness.
3405 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
3407 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
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.
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.
3418 * elf/ldconfig.h: Update parameter list for process_elf_file.
3420 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
3421 Add parameter file_length and pass it ot process_elf*file.
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.
3427 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
3430 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
3431 Closes PR libc/1573, reported by Bradley White
3432 <bww@laurelnetworks.com>.
3434 2000-05-25 Ulrich Drepper <drepper@redhat.com>
3436 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
3437 __FAST_MATH__ is defined.
3439 2000-05-22 Andreas Jaeger <aj@suse.de>
3441 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
3442 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
3444 * manual/math.texi (FP Function Optimizations): Document gcc
3445 -ffast-math behaviour with mathinlines.
3447 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
3448 functions unless -ffast-math is given to gcc.
3450 2000-05-23 Jakub Jelinek <jakub@redhat.com>
3452 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
3453 __sincosl): Guard with __USE_GNU.
3455 2000-05-24 Ulrich Drepper <drepper@redhat.com>
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.
3463 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
3464 binaries if file /etc/suid-debug is available.
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
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.
3484 2000-05-24 Andreas Jaeger <aj@suse.de>
3486 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
3489 * intl/Makefile: Run gettext-test only if msgfmt is available.
3491 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
3492 Define it for newer kernels.
3494 2000-05-23 Ulrich Drepper <drepper@redhat.com>
3496 * elf/dl-sym.c: Minor cleanups.
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.
3510 2000-05-23 Andreas Jaeger <aj@suse.de>
3512 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
3514 * manual/search.texi (Array Sort Function): Document that qsort is
3515 not necessarily in-place.
3517 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
3518 Closes PR libc/1731.
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.
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.
3551 2000-05-22 Jakub Jelinek <jakub@redhat.com>
3553 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
3554 free it and set to (void *) -1.
3556 2000-05-22 Jakub Jelinek <jakub@redhat.com>
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.
3563 2000-05-21 H.J. Lu <hjl@gnu.org>
3565 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
3566 with noexec and noplt parameter.
3567 (do_lookup): Likewise.
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.
3575 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
3577 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
3579 2000-05-21 Jakub Jelinek <jakub@redhat.com>
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.
3588 2000-05-22 Andreas Jaeger <aj@suse.de>
3590 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
3593 2000-05-19 Andreas Jaeger <aj@suse.de>
3595 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
3596 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
3597 breaks compilation without linuxthreads.
3599 2000-05-21 Ulrich Drepper <drepper@redhat.com>
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>.
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>.
3628 2000-05-09 Jes Sorensen <jes@linuxcare.com>
3630 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
3631 * sysdeps/ia64/dl-lookupcfg.h: ...here.
3633 2000-05-21 Jakub Jelinek <jakub@redhat.com>
3635 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
3638 2000-05-21 Ulrich Drepper <drepper@redhat.com>
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.
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
3651 (main): Remove const from addr definition.
3652 * manual/charset.texi (Generic Conversion Interface): Remove from
3653 inbuf parameter of iconv.
3655 * intl/dcigettext.c: Fix typo in comment.
3657 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
3659 * resolv/res_libc.c (_res): Initialize _sock to -1.
3661 2000-05-18 Jakub Jelinek <jakub@redhat.com>
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.
3669 2000-05-18 Andreas Jaeger <aj@suse.de>
3671 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
3672 Closes PR libc/1731.
3674 * manual/arith.texi (Parsing of Integers): Fix typo.
3675 Closes PR libc/1744, reported by blp@gnu.org.
3677 2000-05-17 Jakub Jelinek <jakub@redhat.com>
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):
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):
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.
3692 2000-05-17 Andreas Jaeger <aj@suse.de>
3694 * string/envz.h: Add pure attributes if possible.
3696 * string/argz.h: argz_count is a pure function.
3698 * string/strings.h: Add pure and const attributes if possible.
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>.
3704 2000-05-17 Jakub Jelinek <jakub@redhat.com>
3706 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
3708 (_dl_cache_check_flags): Likewise.
3709 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
3712 2000-05-17 Andreas Jaeger <aj@suse.de>
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>.
3718 * scripts/config.sub: New version.
3719 * scripts/config.guess: Likewise.
3720 * manual/texinfo.tex: Likewise.
3722 * time/test_time.args: Removed.
3723 * time/Makefile (test_time-ARGS): Added contents here instead.
3725 * posix/tstgetopt.args: Removed.
3726 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
3728 * Rules: Allow arguments for test files to be specified in
3729 Makefile with testname-ARGS; remove rules with .args in it.
3731 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
3732 remove old bogus rule for opendir-tst1.args.
3734 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
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.
3740 2000-05-16 Andreas Jaeger <aj@suse.de>,
3741 David Huggins-Daines <dhd@linuxcare.com>
3743 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
3744 cache_data in case of only new cache format correctly.
3746 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
3749 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
3750 struct cache_file_new.
3752 * elf/cache.c (save_cache): Fix str_offset if only new cache is
3755 * elf/cache.c (save_cache): Align struct new_file_cache.
3756 (print_cache): Likewise.
3758 2000-05-13 Jakub Jelinek <jakub@redhat.com>
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.
3766 2000-05-13 Andreas Jaeger <aj@suse.de>
3768 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
3770 (AF_PPPOX): Likewise.
3771 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
3772 (AF_PPPOX): Likewise.
3774 2000-05-12 Andreas Jaeger <aj@suse.de>
3776 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
3777 Reported by tmoestl@gmx.net, closes PR libc/1732.
3779 2000-05-11 Jan Hubicka <jh@suse.cz>
3781 * misc/sys/cdefs.h: Add support for pure attribute.
3783 * include/string.h: Add __attribute_pure__ to various functions.
3784 * string/string.h: Likewise.
3786 2000-05-10 Jakub Jelinek <jakub@redhat.com>
3788 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
3790 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3792 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
3794 2000-05-10 Jakub Jelinek <jakub@redhat.com>
3796 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
3797 at proper place. Compute the high nibble correctly.
3799 2000-05-09 Jakub Jelinek <jakub@redhat.com>
3801 * elf/ldconfig.c: Include elf.h.
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>.
3807 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
3810 2000-05-08 Andreas Jaeger <aj@suse.de>
3812 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
3814 * intl/bindtextdom.c (set_binding_values): Add prototype.
3816 2000-05-08 Jakub Jelinek <jakub@redhat.com>
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.
3823 2000-05-08 Jakub Jelinek <jakub@redhat.com>
3825 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
3826 they are not dlclose'd from underneath us.
3828 2000-05-08 Andreas Schwab <schwab@suse.de>
3830 * posix/execle.c: Fix size parameter of memcpy.
3832 2000-05-08 Andreas Schwab <schwab@suse.de>
3834 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
3835 getpagesize syscall if available.
3837 2000-05-08 Andreas Jaeger <aj@suse.de>
3839 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
3842 2000-05-08 Jakub Jelinek <jakub@redhat.com>
3844 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
3845 sizeof(struct link_map *) chunks, not in bytes.
3847 2000-05-07 Ulrich Drepper <drepper@redhat.com>
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>.
3855 2000-05-07 Mark Kettenis <kettenis@gnu.org>
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
3869 (db_cursor): Return ENOMEM is memory allocation failed. Remove
3871 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
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.
3879 2000-05-07 H.J. Lu <hjl@gnu.org>
3881 * csu/initfini.c: Moved to ....
3882 * sysdeps/generic/initfini.c: ...here.
3884 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
3886 2000-05-07 Ulrich Drepper <drepper@redhat.com>
3888 * manual/resource.texi: Document POSIX scheduling functions.
3889 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
3891 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
3892 reading anything. Reported by Andries.Brouwer@cwi.nl.
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>.
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.
3910 2000-05-06 Bruno Haible <haible@clisp.cons.org>
3912 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
3913 returned != __GCONV_OK, there is nothing to clean up.
3915 2000-05-06 Bruno Haible <haible@clisp.cons.org>
3917 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
3918 OUTPUT_CHARSET environment variables.
3920 2000-05-06 Andreas Jaeger <aj@suse.de>
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).
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.
3933 * elf/ldconfig.h: Change according to changes in cache.c and
3934 ldconfig.c; remove cache_libcmp; add opt_format.
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.
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.
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.
3963 2000-05-05 Bruno Haible <haible@clisp.cons.org>
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
3970 2000-05-05 Bruno Haible <haible@clisp.cons.org>
3972 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
3975 2000-05-06 Ulrich Drepper <drepper@redhat.com>
3977 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
3978 (mempcpy): Correct typo is parameter list.
3980 2000-05-06 Andreas Jaeger <aj@suse.de>
3982 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
3983 functions unless -ffast-math is given to gcc.
3985 2000-05-06 Ulrich Drepper <drepper@redhat.com>
3987 * po/ko.po: Update from translation team.
3989 2000-05-05 Ulrich Drepper <drepper@redhat.com>
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.
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.
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.
4007 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
4008 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
4010 2000-05-05 Jes Sorensen <jes@linuxcare.com>
4012 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
4013 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
4015 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
4016 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
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,
4023 * sysdeps/ia64/elf/start.S: New file.
4025 * sysdeps/ia64/bits/fenv.h: New file.
4027 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
4029 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
4031 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
4033 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
4034 ia64 has 64 bit .hash entries just as the Alpha.
4036 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
4038 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
4040 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
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.
4057 2000-05-05 Andreas Jaeger <aj@suse.de>
4059 * misc/tst-tsearch.c (main): Correct type for initstate argument.
4061 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
4062 (_dl_string_hwcap): New, does nothing.
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
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
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
4079 2000-05-05 Ulrich Drepper <drepper@redhat.com>
4081 * elf/Makefile (distribute): Add dl-lookupcfg.h.
4082 * sysdeps/ia64/Dist: New file.
4084 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
4085 parameter to mprotect and for variable assignments.
4087 2000-05-03 Jes Sorensen <jes@linuxcare.com>
4089 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
4090 validity of map before dereferencing it.
4092 * elf/dl-reloc.c (RESOLVE_MAP): Define.
4094 2000-05-02 Jes Sorensen <jes@linuxcare.com>
4096 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
4097 lookup to the arguments to elf_machine_fixup_plt().
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.
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.
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().
4116 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
4119 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
4120 obtain the symbol address.
4122 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
4123 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
4125 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
4126 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
4129 2000-04-28 Jes Sorensen <jes@linuxcare.com>
4131 * elf/dl-runtime.c (fixup): Use the portable macros to get the
4132 symbol address of an object.
4134 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
4135 the symbol address of an object.
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.
4143 2000-04-27 Jes Sorensen <jes@linuxcare.com>
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).
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.
4155 * elf/elf.h: Add IA-64 specific definitions.
4157 2000-05-04 Jakub Jelinek <jakub@redhat.com>
4159 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
4162 2000-05-04 Jakub Jelinek <jakub@redhat.com>
4164 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
4167 2000-04-11 Geoff Keating <geoffk@cygnus.com>
4169 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
4170 symbol. Call _dl_init rather than the old way.
4172 2000-05-04 Ulrich Drepper <drepper@redhat.com>
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.
4177 2000-05-04 Andreas Jaeger <aj@suse.de>
4179 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
4181 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4183 * locale/findlocale.c (_nl_find_locale): Add new parameter to
4184 calls of _nl_make_l10nflist.
4186 * libio/stdio.h: Make fseeko and ftello prototypes available is
4187 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
4189 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
4190 real unsetenv implementation from 1999-07-29 [PR libc/1714].
4192 2000-05-03 Bruno Haible <haible@clisp.cons.org>
4194 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
4195 before calling tfind.
4197 2000-03-05 Jakub Jelinek <jakub@redhat.com>
4199 * resolv/resolv.h (res_querydomain): Remove redefinition to
4200 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
4202 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4204 * po/gl.po: Update from translation team.
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>.
4213 2000-04-29 Bruno Haible <haible@clisp.cons.org>
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
4231 * manual/message.texi: New node "Charset conversion in gettext".
4233 2000-04-30 Bruno Haible <haible@clisp.cons.org>
4235 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
4236 appropriate. Handle possible __read error.
4238 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4240 * intl/gettextP.h (__builtin_expect): Define as empty if not a
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.
4249 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4251 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
4252 * intl/localealias.c: Likewise.
4254 2000-05-01 Bruno Haible <haible@clisp.cons.org>
4256 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
4257 Initialize domain->plural and domain->nplurals even if there is no
4260 2000-05-01 Bruno Haible <haible@clisp.cons.org>
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.
4266 2000-05-01 Bruno Haible <haible@clisp.cons.org>
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
4273 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4275 * intl/dcigettext.c (transcmp): Compare the domains as well.
4276 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
4278 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
4281 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4283 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
4284 Reported by Bruno Haible.
4286 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4288 * manual/arith.texi: Remove @w from @itemize.
4290 2000-05-02 Andreas Jaeger <aj@suse.de>
4292 * conform/data/tar.h-data: Add some checks for specific values.
4294 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
4297 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
4300 * conform/data/netinet/in.h-data: Add exact checks for the values
4301 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
4303 * conform/data/float.h-data: Add some minimal values.
4305 * conform/conformtest.pl: Test for macros with string constants,
4306 check for minimum and maximum values.
4307 Add limits.h to headers.
4309 * conform/data/cpio.h-data: Test for value of MAGIC.
4311 * conform/data/limits.h-data: New file.
4313 2000-04-30 Bruno Haible <haible@clisp.cons.org>
4315 * math/Makefile (headers): Add bits/fenvinline.h.
4317 2000-05-01 Ulrich Drepper <drepper@redhat.com>
4319 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
4320 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
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.
4330 2000-05-01 Andreas Jaeger <aj@suse.de>
4332 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
4334 2000-04-30 Ulrich Drepper <drepper@redhat.com>
4336 * manual/sysinfo.texi: Document getdomainname, setdomainname
4338 * manual/string.texi: Fix typo.
4339 * manual/terminal.texi: Document gtty and stty.
4340 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4342 2000-04-30 Andreas Jaeger <aj@suse.de>
4344 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
4345 accordance with Austin Draft.
4347 2000-04-30 Ulrich Drepper <drepper@redhat.com>
4349 * catgets/gencat.c (read_input_file): Use isblank and not isspace
4350 to recognize second character in comment line.
4352 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
4353 ENOBUFS if we are out of memory.
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.
4366 2000-04-29 Ulrich Drepper <drepper@redhat.com>
4368 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
4369 Recognize option -s, -c, and -l.
4371 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
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>
4380 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4382 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
4383 that changing the __restore and __restore_rt signal return code
4386 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4388 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
4391 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4393 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
4395 2000-04-29 Ulrich Drepper <drepper@redhat.com>
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
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
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.
4466 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
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):
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.
4483 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
4486 2000-04-29 Andreas Jaeger <aj@suse.de>
4488 * conform/data/arpa/inet.h-data: New file.
4490 2000-04-28 Geoff Clare <gwc@unisoft.com>
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.
4496 2000-04-27 Ulrich Drepper <drepper@redhat.com>
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.
4504 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
4505 == NULL. Little optimization.
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>.
4511 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
4512 overflows in conversion from ASCII.
4514 2000-04-26 Jakub Jelinek <jakub@redhat.com>
4516 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
4517 * Makerules (full_config_sysdirs): Likewise.
4518 * MakeTAGS (full_config_sysdirs): Likewise.
4520 2000-04-26 Jakub Jelinek <jakub@redhat.com>
4522 * .cvsignore: Remove linuxthreads.
4523 * po/.cvsignore: Remove *.pot.
4524 * posix/glob/.cvsignore: Removed.
4525 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
4527 2000-04-25 Andreas Jaeger <aj@suse.de>
4529 * conform/Makefile (distribute): Also distribute contents of
4532 * Makerules (no_deps): Remove abi-versions.h.
4534 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
4536 2000-04-25 Jakub Jelinek <jakub@redhat.com>
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
4546 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
4548 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
4550 2000-04-23 Bruno Haible <haible@clisp.cons.org>
4552 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
4553 * intl/l10nflist.c: Likewise.
4555 2000-04-23 Bruno Haible <haible@clisp.cons.org>
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
4565 2000-04-23 Bruno Haible <haible@clisp.cons.org>
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.
4574 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
4576 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
4577 to avoid name clashes with the ia32 linker.
4579 2000-04-25 Jakub Jelinek <jakub@redhat.com>
4581 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
4584 2000-04-27 Ulrich Drepper <drepper@redhat.com>
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>.
4591 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
4592 if this function is available.
4594 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
4597 2000-04-27 Jakub Jelinek <jakub@redhat.com>
4599 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
4601 2000-04-27 Ulrich Drepper <drepper@redhat.com>
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.
4608 2000-04-26 Ulrich Drepper <drepper@redhat.com>
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.
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.
4628 2000-04-26 Jakub Jelinek <jakub@redhat.com>
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.
4634 2000-04-27 Bruno Haible <haible@clisp.cons.org>
4636 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
4638 * intl/loadinfo.h (internal_function): Define if not already defined.
4640 2000-04-27 Andreas Jaeger <aj@suse.de>
4642 * intl/libintl.h: Fix typo, reported by Bruno Haible
4643 <haible@clisp.cons.org>.
4645 2000-04-25 Ulrich Drepper <drepper@redhat.com>
4647 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
4648 setting the state to GMON_PROF_BUSY.
4650 2000-04-24 Ulrich Drepper <drepper@redhat.com>
4652 * elf/dl-profile.c (_dl_start_profile): define all variables which
4653 do not have to be global as local variables.
4655 * nis/nis_callback.c (__nis_create_callback): Partially undo last
4656 patch. Keep needed tests for failed memory allocation.
4658 * elf/dl-reloc.c (_dl_relocate_object): Add one more
4659 __builtin_expect saying that we don't normally expect to profile.
4661 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
4662 __builtin_expect where desirable.
4664 2000-04-23 Ulrich Drepper <drepper@redhat.com>
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>.
4672 2000-04-18 Jakub Jelinek <jakub@redhat.com>
4674 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
4675 stdlib.h was not included or __USE_XOPEN not defined.
4677 2000-04-23 Ulrich Drepper <drepper@redhat.com>
4679 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
4680 Patch by Zack Weinberg <zack@wolery.cumb.org>.
4682 2000-04-22 Ulrich Drepper <drepper@redhat.com>
4684 * manual/examples/subopt.c (mount_opts): Add missing terminating
4686 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
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>.
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.
4704 2000-04-21 Jakub Jelinek <jakub@redhat.com>
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):
4717 2000-04-21 Ulrich Drepper <drepper@redhat.com>
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".
4723 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
4725 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
4726 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
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.
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.
4737 2000-04-21 Andreas Jaeger <aj@suse.de>
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.
4750 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
4751 and update comment. The strtab from _dl_relocate_object can be
4754 2000-04-21 Ulrich Drepper <drepper@redhat.com>
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.
4760 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
4761 __builtin_expect where useful.
4763 * grp/initgroups.c (initgroups): Test for result of memory
4764 allocation and punt if it fails.
4766 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
4767 * grp/fgetgrent.c (fgetfrent): Likewise.
4768 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
4770 2000-04-21 Jakub Jelinek <jakub@redhat.com>
4772 * libio/vasprintf.c: Include string.h to get memcpy prototype.
4774 2000-04-20 Ulrich Drepper <drepper@redhat.com>
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.
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.
4787 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
4788 output buffer overflow. Reported by Ulrich.Brink@sap.com.
4790 * iconv/skeleton.c: Add some more __builtin_expect.
4791 * iconv/loop.c: Likewise.
4793 2000-03-08 H.J. Lu <hjl@gnu.org>
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.
4798 2000-04-20 Ulrich Drepper <drepper@redhat.com>
4800 * manual/stdio.texi: Give advise about handling error when using
4802 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
4804 2000-04-19 Jakub Jelinek <jakub@redhat.com>
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
4810 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4811 Don't restart idx pointers to idx end at the duo_int_curr_symbol
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
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.
4822 2000-04-19 H.J. Lu <hjl@gnu.org>
4824 * csu/gmon-start.c (_start): Declared as "extern void".
4827 2000-04-18 Andreas Jaeger <aj@suse.de>
4829 * manual/install.texi (Running make install): Don't mention utmpd
4832 2000-04-18 Andreas Jaeger <aj@suse.de>
4834 * linuxthreads/Versions: Use ld instead of ld.so.
4836 * elf/Makefile (ld-map): Use ld.map.
4838 * Versions.def: Use ld instead of ld.so.
4839 * elf/Versions: Likewise.
4840 * sysdeps/mach/hurd/Versions: Likewise.
4842 2000-04-20 Andreas Jaeger <aj@suse.de>
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.
4848 2000-04-18 Ulrich Drepper <drepper@redhat.com>
4850 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
4851 * gmon/Versions: Move moncontrol to GLIBC_2.2.
4853 * po/cs.po: Update from translation team.
4855 * sysdeps/generic/updwtmp.c: Remove daemon support.
4857 * login/Makefile (routines): Remove utmp_daemon.
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.
4864 * elf/rtld.c: Display statitics option also if hp timing is not
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
4880 2000-04-18 Andreas Jaeger <aj@suse.de>
4882 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
4883 2.2 for libnsl, libresolv, librt, libnss_*.
4885 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
4887 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
4889 2000-04-18 Ulrich Drepper <drepper@redhat.com>
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
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.
4945 2000-04-18 Andreas Jaeger <aj@suse.de>
4947 * manual/startup.texi (Environment Access): Fix putenv prototype
4948 according to recent changes.
4949 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
4952 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
4955 2000-04-18 Ulrich Drepper <drepper@redhat.com>
4957 * posix/Makefile (tests): Add tst-getaddrinfo.
4958 * posix/tst-getaddrinfo.c: New file.
4960 2000-04-17 Ulrich Drepper <drepper@redhat.com>
4962 * manual/sysinfo.texi: Document that umount2 is not widely available.
4964 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
4965 signal timing is not really implemented.
4967 2000-04-17 Andreas Jaeger <aj@suse.de>
4969 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
4971 2000-04-17 Jakub Jelinek <jakub@redhat.com>
4973 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
4976 2000-04-17 Ulrich Drepper <drepper@redhat.com>
4978 * manual/intro.texi: Change reference from System Information to
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>.
4985 2000-04-17 Jakub Jelinek <jakub@redhat.com>
4987 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
4988 Create wnumstr as well as numstr to support wide character output
4991 2000-04-15 Jakub Jelinek <jakub@redhat.com>
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.
5000 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
5002 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
5003 and setresuid from sysdep_routines.
5005 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5007 * manual/Makefile (chapters): Add resource.
5009 * manual/time.texi: Move section on resources to...
5010 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
5012 * manual/setjmp.texi: Adjust back reference.
5013 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5015 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
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.
5059 2000-04-17 Andreas Jaeger <aj@suse.de>
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
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.
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.
5078 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5080 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
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.
5090 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
5092 2000-04-15 Ulrich Drepper <drepper@redhat.com>
5094 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
5095 only fall back on using Linux.
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.
5111 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
5113 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5115 * manual/argp.texi: Document index parameter of argp_parse.
5117 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
5119 2000-04-14 Andreas Jaeger <aj@suse.de>
5121 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
5122 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
5124 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
5126 2000-04-15 Ulrich Drepper <drepper@redhat.com>
5128 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
5129 compat_symbol call for old adjtime.
5131 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
5132 function interface. Patch by Richard Henderson <rth@cygnus.com>.
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,
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.
5174 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
5175 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
5177 2000-04-14 Ulrich Drepper <drepper@redhat.com>
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.
5184 2000-04-14 Andreas Jaeger <aj@suse.de>
5186 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
5188 (elf_machine_got_rel): Cast sym correctly.
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.
5198 * stdlib/stdlib.h: Fix typo in comment.
5200 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
5201 2.2 for libdl, ld and libm.
5203 * sysdeps/generic/madvise.c: Fix typos.
5205 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
5207 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
5209 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
5212 2000-04-14 Ulrich Drepper <drepper@redhat.com>
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.
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.
5244 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
5245 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5247 2000-04-13 Ulrich Drepper <drepper@redhat.com>
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.
5261 2000-04-13 Andreas Jaeger <aj@suse.de>
5263 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
5265 (elf_machine_got_rel): Only add runtime display if needed.
5266 (elf_machine_got_rel): Handle symbol versioning.
5268 2000-04-13 Andreas Jaeger <aj@suse.de>
5270 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
5272 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
5275 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
5276 with some applications.
5277 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
5279 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
5280 * sysdeps/mips/bsd-_setjmp.S: Likewise.
5281 * sysdeps/mips/setjmp.S: Likewise.
5283 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
5285 2000-04-13 Ulrich Drepper <drepper@redhat.com>
5287 * posix/globtest.sh: Work around inconsistency with expanding ~/
5288 in shell (PR libc/1690). Reported by patsmith@pobox.com.
5290 2000-04-12 Ulrich Drepper <drepper@redhat.com>
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
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.
5308 * malloc/Makefile (tests): Add tst-calloc.
5309 * malloc/tst-calloc.c: New file.
5311 * sysdeps/arm/libm-test-ulps: New file.
5313 * malloc/malloc.c: Undo all of today's changes.
5315 * locale/programs/locale.c (show_info): Don't try to look into
5316 data for LC_ALL (there is none).
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>.
5322 * sysdeps/arm/memprof.h: New file.
5324 2000-04-12 Andreas Jaeger <aj@suse.de>
5326 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
5328 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
5329 for memmem declaration.
5331 2000-04-12 Ulrich Drepper <drepper@redhat.com>
5333 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
5335 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5337 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
5339 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
5340 Patch by Bart Veer <bartv@redhat.com>.
5342 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
5345 2000-04-11 Andreas Jaeger <aj@suse.de>
5347 * sysdeps/mips/dl-machine.h: Update some comments.
5348 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
5350 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5352 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
5353 _POSIX_SHARED_MEMORY_OBJECTS.
5355 * rt/Makefile (tests): Add tst-shm.
5356 Add rules to generate tst-shm.
5357 * rt/tst-shm.c: New file.
5359 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
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.
5372 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
5373 fragmentation by allocating new memory at the end instead of
5376 * posix/globtest.sh: Fix last change.
5378 2000-04-10 Philip Blundell <philb@gnu.org>
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):
5386 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5388 * elf/readlib (process_file): Close streams in case of an error.
5390 2000-04-09 Andreas Jaeger <aj@suse.de>
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>.
5396 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
5398 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
5400 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5402 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
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.
5413 2000-04-10 Ulrich Drepper <drepper@redhat.com>
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.
5439 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
5440 and not const as attribute name.
5442 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
5444 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
5446 2000-04-10 Andreas Schwab <schwab@suse.de>
5448 * posix/globtest.sh: Skip tests that depend on unreadable
5449 directories if run as root.
5451 2000-04-10 Ulrich Drepper <drepper@redhat.com>
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>.
5456 2000-04-09 Ulrich Drepper <drepper@redhat.com>
5458 * sysdeps/unix/clock_gettime.c: New file.
5459 * sysdeps/unix/clock_settime.c: New file.
5460 * sysdeps/posix/clock_getres.c: New file.
5462 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
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.
5469 * localedata/Makefile: Add rules to clean up directories created by
5472 2000-04-09 Geoff Clare <gwc@unisoft.com>
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.
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.
5499 2000-04-07 Andreas Jaeger <aj@suse.de>
5501 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
5503 2000-04-10 Andreas Jaeger <aj@suse.de>
5505 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
5507 2000-04-09 Ulrich Drepper <drepper@redhat.com>
5509 Implement handling of restartable conversion functions according to
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
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
5544 * iconvdata/utf-16.c: Likewise.
5545 * libio/iofwide.c: Add new parameter to all calls of conversion
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.
5556 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
5559 2000-04-07 Andreas Jaeger <aj@suse.de>
5561 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
5564 2000-04-07 Ulrich Drepper <drepper@redhat.com>
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
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.
5576 2000-04-06 Ulrich Drepper <drepper@redhat.com>
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.
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.
5590 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
5591 (ctype_finish): We know the wide character value for <SP>,
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.
5598 * locale/programs/linereader.c (lr_token): When seeing comment
5599 character ignore only rest of line in sources but stop at escaped
5601 Recognize ..(2).. and ....(2).....
5603 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
5604 and tok_ellipsis4_2.
5606 2000-04-06 Andreas Jaeger <aj@suse.de>
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.
5615 2000-04-06 Jakub Jelinek <jakub@redhat.com>
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.
5621 2000-04-06 Ulrich Drepper <drepper@redhat.com>
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.
5627 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
5628 values as character names.
5630 * locale/programs/ld-ctype.c (get_character): Handle missing
5631 repertoire map correctly.
5633 2000-04-05 Cristian Gafton <gafton@redhat.com>
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.
5642 2000-04-05 Jakub Jelinek <jakub@redhat.com>
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
5651 (__jmp_buf): Declare the whole type structure here, don't use
5654 2000-04-05 Ulrich Drepper <drepper@redhat.com>
5656 * iconv/skeleton.c (put16u): Fix typo.
5657 Reported by Bruno Haible <haible@ilog.fr>.
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.
5666 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
5667 * Makefile (distribute): Add abi-versions.awk and
5669 Patches by Torsten Duwe <duwe@caldera.de>.
5671 2000-04-05 Andreas Schwab <schwab@suse.de>
5673 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
5675 2000-04-05 Andreas Schwab <schwab@suse.de>
5677 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
5678 entry point, used on Hurd.
5680 2000-04-04 Andreas Jaeger <aj@suse.de>
5682 * intl/Makefile: Only run the gettext test with shared libraries.
5684 2000-03-16 Mark Kettenis <kettenis@gnu.org>
5686 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
5687 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
5689 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
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
5695 * configure: Regenerated.
5697 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
5699 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
5701 2000-04-04 Andreas Jaeger <aj@suse.de>
5703 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
5705 2000-04-04 Ulrich Drepper <drepper@redhat.com>
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.
5712 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
5713 unaligned so that it compiles for system which need unaligned
5716 2000-04-04 Andreas Schwab <schwab@suse.de>
5718 * elf/cache.c (print_entry): Only look at the type field when
5721 2000-04-04 Andreas Schwab <schwab@suse.de>
5723 * iconvdata/big5.c (BODY): Fix typo.
5725 2000-04-04 Andreas Schwab <schwab@suse.de>
5727 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
5728 function interface. Remove unused _dl_start_user entry point.
5730 2000-04-03 Andreas Jaeger <aj@suse.de>
5732 * include/arpa/inet.h (__inet_aton): Add protoype.
5734 2000-04-01 Andreas Jaeger <aj@suse.de>
5736 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
5738 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
5739 * sysdeps/mach/mips/thread_state.h: Likewise.
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.
5752 2000-04-02 H.J. Lu <hjl@gnu.org>
5754 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
5756 2000-04-03 Ulrich Drepper <drepper@redhat.com>
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.
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.
5766 * sysdeps/arm/atomicity.h: New file.
5767 Contributed by Jesper Skov <jskov@redhat.com>.
5769 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
5771 * Makeconfig (preprocess-versions): Undo last change.
5772 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
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.
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.
5783 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
5784 allocating and initializing L->l_initfini.
5786 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
5788 2000-04-03 Ulrich Drepper <drepper@redhat.com>
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.
5799 2000-03-31 Andreas Schwab <schwab@suse.de>
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
5805 2000-04-03 Ulrich Drepper <drepper@redhat.com>
5807 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
5809 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
5810 instruction out of the code.
5812 2000-04-02 Ulrich Drepper <drepper@redhat.com>
5814 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
5815 element at this position.
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
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
5831 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
5833 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
5835 * dlfcn/glrefmain.c: Add one more debug message.
5837 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
5839 * Makerules (sysd-versions): Use ( ) instead of { }.
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.
5846 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
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.
5864 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
5865 since we define the function with the name `tmpfile'.
5867 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
5868 * hurd/Versions: Likewise.
5870 2000-04-02 Ulrich Drepper <drepper@redhat.com>
5872 * elf/dl-runtime.c (fixup): Fix typo in comment.
5874 * resolv/netdb.h (getnameinfo): All length parameters are of type
5876 * inet/getnameinfo.c: Likewise.
5878 2000-04-01 Ulrich Drepper <drepper@redhat.com>
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):
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.
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.
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.
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.
5943 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
5944 (innetgr): Likewise.
5945 (struct addrinfo): Use socklen_t for ai_addrlen element.
5947 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
5948 IPV6_RECVERR): New defines.
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.
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.
5971 * test-skeleton.c: Include <string.h> for strsignal prototype.
5973 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
5976 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
5977 former init-first.h. Initialize __libc_multiple_libcs.
5979 2000-03-31 Ulrich Drepper <drepper@redhat.com>
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.
5988 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
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.
5999 * elf/dl-init.c: Fix typo in comment.
6001 2000-03-31 Andreas Jaeger <aj@suse.de>
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.
6007 2000-03-31 Andreas Jaeger <aj@suse.de>
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.
6015 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
6016 anymore, update comment.
6018 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6020 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
6021 SHLIB_COMPAT - the struct is always needed.
6023 2000-03-31 Ulrich Drepper <drepper@redhat.com>
6025 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
6026 * elf/dl-support.c: Define _dl_starting_up.
6028 2000-03-30 Ulrich Drepper <drepper@redhat.com>
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.
6033 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
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.
6041 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
6044 2000-03-29 Geoff Clare <gwc@unisoft.com>
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
6052 * localedata/tst-fmon.data: Changes corresponding to the
6053 two sets of fixes made to stdlib/strfmon.c.
6055 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
6057 * malloc/malloc.c: Declare bit flags UL so that they will not
6058 default to int size when being inverted.
6060 2000-03-29 Andreas Jaeger <aj@suse.de>
6062 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
6063 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
6065 2000-03-29 Andreas Jaeger <aj@suse.de>,
6066 Ralf Baechle <ralf@uni-koblenz.de>
6068 * Makeconfig: Introduce new variable SHARED to mark code used in
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.
6093 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
6095 2000-03-29 Andreas Jaeger <aj@suse.de>
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.
6101 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
6103 (elf_machine_rela): Likewise.
6105 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
6107 (__elf_machine_fixup_plt): Likewise.
6108 (__process_machine_rela): Likewise.
6110 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
6111 (elf_machine_rela): Likewise.
6113 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
6114 (elf_machine_rel): Likewise.
6116 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
6117 (elf_machine_fixup_plt): Likewise.
6118 (elf_machine_rela): Likewise.
6120 2000-03-29 Andreas Jaeger <aj@suse.de>
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.
6138 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
6139 macros, remove K&R prototypes.
6141 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6143 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
6144 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
6147 2000-03-30 Andreas Jaeger <aj@suse.de>
6149 * misc/sys/cdefs.h: Remove K&R support.
6151 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6153 * iconv/skeleton.c: Avoid compiling unaligned versions in some
6155 * iconv/loop.c: Likewise.
6157 2000-03-29 Bruno Haible <haible@clisp.cons.org>
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.
6163 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
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.
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.
6182 2000-03-30 Ulrich Drepper <drepper@redhat.com>
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.
6187 Implement dynamic determination of constructor/destructor order in
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
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
6218 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
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.
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
6230 2000-03-29 Ulrich Drepper <drepper@redhat.com>
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
6237 2000-03-29 Andreas Jaeger <aj@suse.de>
6239 * include/unistd.h: Remove duplicate entry for __rmdir.
6240 Remove declaration of __mkdir since __mkdir is declared in
6243 * manual/creature.texi (Feature Test Macros): Fix typo, reported
6244 by Michael Deutschmann <michael@talamasca.ocis.net>.
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.
6252 2000-03-28 Andreas Jaeger <aj@suse.de>
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.
6261 (__finite): Likewise.
6262 (__inline_mathcodeNP): New macro without prototype
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
6282 (__atan2l): Likewise.
6287 (__fabsl): Likewise.
6305 (__sqrtl): Likewise.
6315 2000-03-28 Ulrich Drepper <drepper@redhat.com>
6317 * Makerules: If make variable md5 is defined to yes after
6318 generating dependencies generate MD5 sum for the object.
6320 * iconv/gconv_builtin.h: Fix length in transformation definition
6323 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
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
6339 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
6340 of direct casting pointer to potentially handle unaligned memory
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.
6363 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
6366 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
6367 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
6369 * malloc/mcheck.h (mcheck_check_all): Declare.
6371 * stdio-common/Makefile (tests): Add tst-obprintf.
6373 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
6375 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
6376 Declare pthread_sigmask.
6378 * csu/version.c: Add 2000 to copyright years.
6379 Remove Emacs local variables section.
6381 2000-03-23 Bruno Haible <haible@clisp.cons.org>
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.
6390 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
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.
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.
6402 2000-03-27 Ulrich Drepper <drepper@redhat.com>
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.
6408 * locale/programs/localedef.c: Use __malloc_initialize_hook to
6409 install mcheck handler.
6411 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
6414 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
6416 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
6418 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
6419 on [HAVE_ELF && DO_VERSIONING].
6421 2000-03-27 Ulrich Drepper <drepper@redhat.com>
6423 * stdio-common/tst-obprintf.c: New file.
6425 2000-03-26 Ulrich Drepper <drepper@redhat.com>
6427 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
6428 _IO_OVERFLOW directly instead through __overflow.
6430 * locale/programs/localedef.c (construct_output_path): If path
6431 contains a / compute the end of the directory name correctly.
6433 * include/features.h: Undef and document __USE_XOPEN2K.
6435 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
6436 whenever a function is called. Initiated by calling mcheck_pedantic
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
6443 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
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.
6466 * sysdeps/mach/sys/reboot.h: Include <features.h>.
6467 (reboot): Declare it.
6469 * libio/Makefile (headers): Add bits/stdio-lock.h here.
6471 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
6473 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
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.
6479 2000-03-20 Richard Henderson <rth@cygnus.com>
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.
6490 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
6491 of __ASSUME_32BITUIDS.
6493 2000-03-26 Ulrich Drepper <drepper@redhat.com>
6495 * libio/iofopncook.c: Remove K&R prototypes.
6497 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
6499 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
6500 an initial value of 1024 instead of RLIM_INFINITY.
6502 * Versions.def (libmachuser, libhurduser): Remove these sections,
6503 since these libraries do not presently use symbol versions.
6505 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
6506 is RLIM_INFINITY, return -1 instead.
6508 2000-03-24 Andreas Jaeger <aj@suse.de>
6510 * Makefile (postclean): Added soversions.i.
6512 2000-03-24 Scott Bambrough <scottb@netwinder.org>
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.
6518 2000-03-24 Scott Bambrough <scottb@netwinder.org>
6520 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
6522 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
6524 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
6525 (gaih_inet): Remove unused duplicate variable.
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.
6532 2000-03-24 Geoff Clare <gwc@unisoft.com>
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.
6539 2000-03-26 Ulrich Drepper <drepper@redhat.com>
6541 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
6542 Patch by John Mizel <John.Mizel@msdw.com>.
6544 2000-03-25 Ulrich Drepper <drepper@redhat.com>
6546 * manual/install.texi: Remove references to crypt add-on.
6548 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
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.
6554 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
6556 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
6559 * sysdeps/mach/hurd/if_index.c: New file.
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>.
6573 2000-03-24 Andreas Jaeger <aj@suse.de>
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.
6583 2000-03-23 Ulrich Drepper <drepper@redhat.com>
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>.
6592 2000-03-23 Bruno Haible <haible@clisp.cons.org>
6594 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
6595 Remove no-op pointer increment.
6597 2000-03-23 Andreas Jaeger <aj@suse.de>
6599 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
6600 follow change for libio.h from 2000-03-10.
6602 2000-03-23 Andreas Jaeger <aj@suse.de>
6604 * elf/dl-addr.c: Adjust include paths for ldsodefs location
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.
6639 * elf/ldsodefs.h: Move file to ...
6640 * sysdeps/generic/ldsodefs.h: ... here.
6642 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
6644 * sysdeps/mips/elf/ldsodefs.h: New file.
6646 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
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.
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.
6667 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
6668 for writable dynamic section.
6670 2000-03-22 Ulrich Drepper <drepper@redhat.com>
6672 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
6673 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
6675 2000-03-22 Andreas Jaeger <aj@suse.de>
6677 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
6678 from latest Linux kernel.
6680 2000-03-21 Andreas Jaeger <aj@suse.de>
6682 * Versions.def: Add version 2.1.4.
6684 2000-03-21 Ulrich Drepper <drepper@redhat.com>
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.
6691 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
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.
6702 2000-03-21 Ulrich Drepper <drepper@redhat.com>
6704 * nscd/connections.c (nscd_run): Pretty print.
6705 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
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>.
6712 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
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.
6726 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
6727 chance to expand VERSION_##lib##_##version.
6729 * libio/fileops.c: Use new macros from shlib-compat.h to define
6731 * libio/iofclose.c: Likewise.
6732 * libio/oldiofclose.c: Likewise.
6733 Patch by Roland McGrath <roland@frob.com>.
6735 2000-03-21 Jakub Jelinek <jakub@redhat.com>
6737 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
6738 Lay out struct sigcontext according to what really gets passed on
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
6747 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
6749 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
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.
6758 2000-03-21 Ulrich Drepper <drepper@redhat.com>
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.
6775 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
6776 determine byte order of input and convert accordingly.
6778 * iconvdata/utf-16.c (gconv_init): Fix typo.
6780 2000-03-20 Ulrich Drepper <drepper@redhat.com>
6782 * iconvdata/gconv-modules: Fix typo.
6784 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
6787 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
6789 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
6791 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
6793 2000-03-20 Ulrich Drepper <drepper@redhat.com>
6795 * misc/Makefile (routines): Add mincore.
6797 2000-03-20 Andreas Jaeger <aj@suse.de>
6799 * sysdeps/generic/mincore.c: New stub file.
6801 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
6802 from latest Linux kernel.
6804 2000-03-20 Ulrich Drepper <drepper@redhat.com>
6806 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
6807 _SC_GETPW_R_SIZE_MAX.
6809 2000-03-20 Richard Henderson <rth@cygnus.com>
6811 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
6814 2000-03-20 Richard Henderson <rth@cygnus.com>
6816 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
6817 of arithmetic instructions.
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.
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.
6832 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
6834 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
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.
6850 (_hae_shift): Calculate it here.
6851 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
6852 add pciconfig_iobase.
6854 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
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.
6859 * scripts/versions.awk: Fixed version renaming code to distinguish
6862 2000-03-19 Ulrich Drepper <drepper@redhat.com>
6864 * include/stdlib.h: Add prototype for __cxa_atexit.
6866 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
6867 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
6869 2000-03-17 Cristian Gafton <gafton@redhat.com>
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).
6876 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
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
6883 2000-03-19 Ulrich Drepper <drepper@redhat.com>
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.
6890 2000-03-19 Geoff Clare <gwc@unisoft.com>
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.
6897 * posix/globtest.c, posix/globtest.sh: Updated to include
6898 tests for the problems fixed by the above changes to glob.c.
6900 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
6902 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
6904 * Makeconfig (soversion.i): Use only first match for each lib.
6906 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
6908 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
6909 rather than $(sysd-dirs-done) to protect these rules.
6911 * Makerules (version-renames.def): Target removed.
6912 (Versions.all): Depend on soversions.i directly and parse it.
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.
6923 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
6924 for $(map-firstversions), which better handles it being empty.
6926 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
6927 supported version for libc 0.2.90.libio to GLIBC_2.2.
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.
6943 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
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
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.
6954 2000-03-16 Andreas Jaeger <aj@suse.de>
6956 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
6958 * sysdeps/unix/sysv/linux/madvise.c: Remove.
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.
6964 * misc/sys/mman.h: Add prototype for mincore.
6966 2000-03-17 Ulrich Drepper <drepper@redhat.com>
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>.
6972 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
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.
6983 2000-03-16 Andreas Jaeger <aj@suse.de>
6985 * manual/Makefile: MAKEINFO is set to `:' from configure if it
6986 doesn't exist, correct checks. Fixes PR libc/1649.
6988 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
6990 * nscd/hstcache.c: Restore correct UID.
6991 * nscd/pwdcache.c: Likewise.
6992 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
6994 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
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.
6999 * sysdeps/mach/sched_yield.c: New file.
7001 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
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
7008 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
7009 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
7011 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
7012 for more pleasing parse error.
7014 2000-03-16 Ulrich Drepper <drepper@redhat.com>
7016 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
7018 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
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.
7025 2000-03-15 Ulrich Drepper <drepper@redhat.com>
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.
7039 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7041 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
7042 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
7044 2000-03-16 Mark Kettenis <kettenis@gnu.org>
7046 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
7047 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
7049 2000-03-08 Andreas Jaeger <aj@suse.de>
7051 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
7053 2000-03-14 Ulrich Drepper <drepper@redhat.com>
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.
7062 * po/fr.po: Update from translation team.
7063 * po/de.po: Likewise.
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.
7071 * locale/programs/ld-collate.c (collate_read): Fix warning.
7073 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
7074 values and macros for register names.
7076 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
7077 returned by seek cookie function is -1.
7079 2000-03-14 Andreas Jaeger <aj@suse.de>
7081 * locale/localeconv.c (localeconv): Fix typo.
7082 Reported by Andre Charbonneau <andrec@corel.com>.
7084 2000-03-14 Ulrich Drepper <drepper@redhat.com>
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.
7090 * iconv/gconv_open.c: Optimize loop to setup step data structure.
7092 * iconv/gconv.h: Pretty print.
7094 2000-03-04 Ulrich Drepper <drepper@redhat.com>
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.
7099 2000-03-10 Andreas Jaeger <aj@suse.de>
7101 * manual/filesys.texi (Working Directory): Fix last patch.
7102 Patch by Martin Buchholz <martin@xemacs.org>.
7104 2000-03-10 Andreas Jaeger <aj@suse.de>
7106 * manual/creature.texi (Feature Test Macros): Fix language.
7108 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
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.
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.
7120 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
7122 (fopencookie): Use it.
7123 * libio/libio.h: Declare _IO_cookie_init.
7124 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
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.
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.
7134 2000-03-09 Martin Buchholz <martin@xemacs.org>
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.
7151 * elf/rtld.c: Doc fixes.
7152 * manual/creature.texi (Feature Test Macros): Doc fixes.
7153 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
7155 * manual/filesys.texi (Working Directory): Check for ERANGE to
7158 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
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.
7164 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
7166 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
7167 broken by 2000-02-27 change.
7169 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
7171 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
7173 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
7174 argument type, for 2000-02-22 change in signal/signal.h declaration.
7176 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
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.
7182 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
7184 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
7185 sed regexp so as not to break directory names including /../ within.
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.
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.
7203 2000-03-08 Andreas Jaeger <aj@suse.de>
7205 * manual/crypt.texi: Fix paths.
7207 2000-03-07 Andreas Jaeger <aj@suse.de>
7209 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
7211 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
7214 2000-03-06 Andreas Jaeger <aj@suse.de>
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>.
7220 2000-03-03 Geoff Keating <geoffk@cygnus.com>
7222 * configure.in: Compute sizeof-long-double.
7223 * configure: Regenerated.
7224 * config.make.in: Make sizeof-long-double available to sub-makes.
7226 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
7228 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
7231 2000-03-03 Geoff Keating <geoffk@cygnus.com>
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.
7255 2000-03-03 Paul Eggert <eggert@twinsun.com>
7257 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
7258 define to 1 if not defined.
7260 2000-03-03 Andreas Jaeger <aj@suse.de>
7262 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
7264 2000-03-03 Andreas Jaeger <aj@suse.de>
7266 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
7268 (xdr_int64_t): Correctly handle lower half.
7269 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
7271 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
7273 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
7276 2000-03-02 Andreas Jaeger <aj@suse.de>
7278 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
7281 2000-03-02 Andreas Jaeger <aj@suse.de>
7283 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
7285 2000-03-01 Andreas Jaeger <aj@suse.de>
7287 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
7288 (tests): Added tst-getdate.
7290 * time/tst-getdate.c: New file.
7292 * time/datemsk: New file, needed for tst-getdate.
7294 2000-02-29 Cristian Gafton <gafton@redhat.com>
7296 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
7298 2000-02-17 H.J. Lu <hjl@gnu.org>
7300 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
7302 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
7304 (svcudp_recv): Set up message with the new "xp_pad" field for
7306 (svcudp_reply): Support IP_PKTINFO if available.
7308 2000-03-01 Andreas Jaeger <aj@suse.de>
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.
7314 2000-03-02 Andreas Jaeger <aj@suse.de>
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>.
7320 2000-02-28 Ulrich Drepper <drepper@redhat.com>
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.
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.
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.
7342 2000-02-28 Geoff Keating <geoffk@cygnus.com>
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.
7349 * crypt/crypt.texi: Update documentation of US export restrictions
7350 to match the 14 Jan 2000 regulations.
7352 2000-02-28 Geoff Keating <geoffk@cygnus.com>
7354 * crypt: New subdirectory, merged in from the crypt add-on.
7356 2000-02-28 Ulrich Drepper <drepper@redhat.com>
7358 * include/unistd.h: Add __rmdir and __mkdir prototypes.
7361 See ChangeLog.10 for earlier changes.