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