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