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