1 2000-07-20 Ulrich Drepper <drepper@redhat.com>
3 * elf/rtld.c: Define _dl_bind_not variable.
4 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
5 * elf/dl-support.c: Likewise.
6 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
7 * elf/dl-runtime.c (fixup): Don't remember looked up value if
9 (profile_fixup): Likewise.
11 * libio/Makefile (routines): Add fwide.
12 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
13 fwide now. Internal calls to _IO_fwide must do locking themselves
14 or don't need locking.
15 * libio/fwide.c: New file.
17 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
19 * elf/Makefile: Add no modules for nodelete test.
20 * elf/nodelmod3.c: New file.
21 * elf/nodelmod4.c: New file.
22 * elf/nodelete.c: Also test case where dependency of dlopen() object
25 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
26 * elf/nodlopen.c: New file.
27 * elf/nodlopenmod.c: New file.
28 * include/dlfcn.h: Define __RTLD_DLOPEN.
29 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
30 and this is a dlopen() call, do not load the binary.
31 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
32 * dlfcn/dlopenold.c: Likewise.
33 * configure.in: Add test for -z nodelete option.
34 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
36 2000-07-20 Mark Kettenis <kettenis@gnu.org>
38 Make Hesiod NSS module thread-safe.
40 * hesiod/README.hesiod: Update.
42 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
43 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
44 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
45 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
47 * hesiod/nss_hesiod/hesiod-init.c: New file.
48 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
49 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
50 * hesiod/nss_hesiod/nss_hesiod.h: New file.
51 * hesiod/nss_hesiod/hesiod-service.c
52 (_nss_hesiod_getservbyport_r): New function. Provide support for
53 looking up services by port number.
54 * hesiod/nss_hesiod/hesiod-proto.c: New file.
56 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
57 * hesiod/hesiod.h: Likewise.
58 * hesiod/hesiod_p.h: Likewise.
60 2000-07-20 Mark Kettenis <kettenis@gnu.org>
62 Fix problems with `struct __res_state' getting too big.
63 * resolv/resolv.h (struct __sockaddr_in): New definition.
64 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
65 the private parts of the structure to save some space.
66 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
67 (struct sockaddr_in *) in call to sock_eq.
68 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
70 2000-07-20 Ulrich Drepper <drepper@redhat.com>
72 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
73 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
75 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
76 to _dl_map_object. Return immediately if no object loaded.
77 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
78 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
79 if it exists into l_flags_1 word.
80 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
81 it to determine whether loading is wanted or not.
82 (_dl_map_object): Likewise.
83 Call _dl_map_object_from_fd with new parameter.
84 * sysdeps/generic/ldsodefs.h: Update prototype.
85 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
86 * elf/rtld.c: Likewise.
87 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
88 * elf/Makefile (tests): Add noload. Add rules to generate noload.
89 * elf/noload.c: New file.
90 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
91 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
92 * sysdeps/mips/bits/dlfcn.h: Likewise.
93 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
94 (tests-nodelete-yes): Define.
95 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
96 Add rules to build nodelete and modules.
97 * elf/nodelete.c: New file.
98 * elf/nodelmod1.c: New file.
99 * elf/nodelmod2.c: New file.
100 * configure.in: Add test for -z nodelete option.
101 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
103 * libio/Makefile (tests): Add tst_wprintf2.
104 (tst_wprintf2-ARGS): Define.
105 * libio/tst_wprintf2.c: New file.
106 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
108 * libio/wfiledoalloc.c: Only allocate external buffer if this
111 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
112 something in the buffer. gconv call can write up to end of the
113 buffer, not only _IO_write_end.
114 (_IO_wfile_overflow): Allocate also external buffer.
116 2000-07-19 Ulrich Drepper <drepper@redhat.com>
118 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
119 strings with precision in vfwprintf correctly.
120 * stdio-common/vfprintf.c: Fix completely broken handling of
121 unbuffered wide character streams.
122 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
124 * resolv/Makefile (distribute): Add README.
126 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
128 2000-07-18 Mark Kettenis <kettenis@gnu.org>
130 Update resolver code to BIND 8.2.3-T5B.
132 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
134 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
135 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
137 * resolv/Banner: BIND-8.2.3-T5B.
139 * resolv/base64.c: Update from BIND 8.2.3-T5B.
140 * resolv/herror.c: Likewise.
141 * resolv/inet_addr.c: Likewise.
142 * resolv/inet_net_ntop.c: Likewise.
143 * resolv/inet_net_pton.c: Likewise.
144 * resolv/inet_neta.c: Likewise.
145 * resolv/inet_ntop.c: Likewise.
146 * resolv/nsap_addr.c: Likewise.
147 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
148 IPv6 addresses (ISC bug #520).
150 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
151 * resolv/ns_parse.c: Likewise.
152 * resolv/ns_netint.c: Likewise.
153 * resolv/ns_samedomain.c: Likewise.
154 * resolv/ns_ttl.c: Likewise.
155 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
156 RCS ID in object file.
158 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
159 * resolv/res_mkquery.c: Likewise.
160 * resolv/res_query.c: Likewise.
161 * resolv/res_init.c: Likewise.
162 (res_setoptions): Mark internal.
163 * resolv/res_send.c: Likewise.
164 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
165 by using poll instead.
166 * resolv/res_comp.c: Likewise.
167 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
168 weak alias for __dn_expand.
169 * resolv/res_data.c: Likewise.
170 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
171 in _res.options. Avoids a potential security risk by avoiding a
173 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
174 res_mkquery, res_query, res_querydomain adn res_search weak
175 aliases for __res_mkquery, __res_query, __res_querydomain and
177 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
178 instead to avoid close(0).
179 (res_init): Always use the static resolver context.
180 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
181 alias for __res_init.
183 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
184 RES_SET_H_ERRNO and accompanying comment to...
185 * include/resolv.h: ... here.
187 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
188 * resolv/arpa/nameser_compat.h: Likewise.
190 2000-07-18 Ulrich Drepper <drepper@redhat.com>
192 * nss/makedb.c (main): Compare result of load_db with
193 NSS_STATUS_SUCCESS and not 0.
194 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
196 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
198 2000-07-18 Greg McGary <greg@mcgary.org>
200 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
201 (EXTEND_BUFFER): Use it.
203 2000-07-18 Ulrich Drepper <drepper@redhat.com>
205 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
206 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
207 __builtin_return_address.
208 * dlfcn/dlopenold.c: Likewise.
209 * dlfcn/dlsym.c: Likewise.
210 * dlfcn/dlvsym.c: Likewise.
211 * elf/dl-profstub.c: Likewise.
212 * malloc/malloc.c: Likewise.
213 * sysdeps/generic/machine-gmon.h: Likewise.
214 Based on a patch by schwidefsky@de.ibm.com.
216 2000-07-18 Andreas Jaeger <aj@suse.de>
218 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
219 NULL to elf_machine_fixup_plt t argument to silence GCC.
221 * include/string.h: Add prototype for __memchr.
223 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
225 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
228 2000-07-18 Ulrich Drepper <drepper@redhat.com>
230 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
232 * locale/C-ctype.c: Add initializers for gap elements.
233 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
236 2000-07-16 Ulrich Drepper <drepper@redhat.com>
238 * nscd/nscd.c (print_version): Update copyright year.
240 2000-07-17 Greg McGary <greg@mcgary.org>
242 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
243 keyletters F, I, S, W. Remove unused keyletter V. Surround
244 signature argnames with angle-brackets for use as word delimiters,
245 and to induce syntax errors for any args not handled. Split
246 multi-echo echoes and comment each stage.
247 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
248 * sysdeps/unix/inet/syscalls.list: Likewise.
249 * sysdeps/unix/mman/syscalls.list: Likewise.
250 * sysdeps/unix/syscalls.list: Likewise.
251 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
252 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
253 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
254 * sysdeps/unix/sysv/syscalls.list: Likewise.
255 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
257 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
258 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
259 qualifiers. Don't check NULL-terminator of argv & envp.
260 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
261 unbounded pointer type in word-size assertion.
262 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
263 cases to stifle warnings.
265 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
267 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
269 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
270 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
273 * Makerules (o-objects): Supplement with $(o-objects$o).
274 * string/Makefile (o-objects.ob): Add variable to pull
275 unbounded versions of memcpy, memset and memchr into libc_b.
277 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
278 rather than non-existent __ubp_memchr.
279 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
280 (_CHECK_STRING, _CHECK_N): New macros.
281 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
282 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
283 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
284 Add weak alias "memchr".
285 * sysdeps/generic/memchr.c: Likewise.
286 * sysdeps/i386/memchr.S: Likewise.
287 * sysdeps/ia64/memchr.S: Likewise.
288 * sysdeps/m68k/memchr.S: Likewise.
289 * sysdeps/sparc/sparc32/memchr.S: Likewise.
290 * sysdeps/sparc/sparc64/memchr.S: Likewise.
291 * sysdeps/vax/memchr.s: Likewise.
293 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
295 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
296 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
297 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
298 __BOUNDED_POINTERS__.
299 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
300 for __BOUNDED_POINTERS__.
302 2000-07-17 Bruno Haible <haible@clisp.cons.org>
304 * iconv/gconv_open.c (__gconv_open): Initialize the __data
305 field of struct __gconv_trans_data differently. Don't pass NULL to
306 trans_init_fct. Simplify list append operation.
308 2000-07-14 Bruno Haible <haible@clisp.cons.org>
310 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
311 not only those having tsearch.
313 2000-07-17 Ulrich Drepper <drepper@redhat.com>
315 * locale/langinfo.h: Add placeholder values in enum for removed
318 2000-07-17 Jakub Jelinek <jakub@redhat.com>
320 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
321 chain if the PHDR check fails.
323 2000-07-17 Mark Kettenis <kettenis@gnu.org>
325 * nss/getent.c (print_hosts): Make sure we always print a space
326 between numeric addresses and hostnames.
328 2000-07-17 Wolfram Gloger <wg@malloc.de>
330 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
331 i.e. if n_mmaps_max>0.
333 2000-07-16 Mark Kettenis <kettenis@gnu.org>
335 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
336 values to remove possible clash with other AI_* constants.
337 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
338 hexadecimal constants to stress the fact they're in fact
341 2000-07-15 Mark Kettenis <kettenis@gnu.org>
343 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
344 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
347 2000-07-16 Ulrich Drepper <drepper@redhat.com>
349 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
350 parameters of memset calls to avoid warnings.
352 2000-07-15 Ulrich Drepper <drepper@redhat.com>
354 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
357 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
358 Patch by Greg McGary <greg@mcgary.org>.
360 * io/Makefile (tests): Add tst-getcwd.
361 * io/tst-getcwd.c: New file.
363 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
365 2000-07-15 Jakub Jelinek <jakub@redhat.com>
367 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
370 2000-07-13 Jakub Jelinek <jakub@redhat.com>
372 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
373 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
375 2000-07-12 H.J. Lu <hjl@gnu.org>
377 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
379 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
380 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
381 (sysdep-routines): Add clone2.
382 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
384 2000-07-13 Jes Sorensen <jes@linuxcare.com>
386 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
387 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
389 2000-06-05 David Mosberger <davidm@hpl.hp.com>
391 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
392 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
393 Change type of si_band from "int" to "long".
394 (si_imm) [USE_GNU]: Define
395 (si_isr) [USE_GNU]: Ditto.
396 (ILL_BREAK) [USE_GNU]: Ditto.
397 (FPE_DECOVF) [USE_GNU]: Ditto.
398 (FPE_DECDIV) [USE_GNU]: Ditto.
399 (FPE_DECERR) [USE_GNU]: Ditto.
400 (FPE_INVASC) [USE_GNU]: Ditto.
401 (FPE_INVDEC) [USE_GNU]: Ditto.
402 (TRAP_BRANCH) [USE_GNU]: Ditto.
403 (TRAP_HWBKPT) [USE_GNU]: Ditto.
405 2000-07-06 Jes Sorensen <jes@linuxcare.com>
407 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
408 bits/sigcontext as struct mcontext does not depend on it.
410 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
412 2000-07-04 Jes Sorensen <jes@linuxcare.com>
414 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
416 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
418 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
420 2000-06-22 Jes Sorensen <jes@linuxcare.com>
422 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
424 2000-07-15 Ulrich Drepper <drepper@redhat.com>
426 * intl/Makefile (test-srcs): Add tst-translit.
428 Add rules to build and run tst-translit.
429 * intl/tst-translit.c: New file.
430 * intl/tst-translit.sh: New file.
431 * intl/translit.po: New file.
433 2000-07-14 Ulrich Drepper <drepper@redhat.com>
435 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
436 transliteration function did its job, continue, don't stop.
438 * iconvdata/iso646.c: Little optimizations in body for conversion
441 2000-07-14 Mark Kettenis <kettenis@gnu.org>
443 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
445 2000-07-14 Mark Kettenis <kettenis@gnu.org>
447 * configure.in: Check for pwd binary.
448 * config.make.in: Add PWD_P to be subsituted.
449 * Makerules: Use $(PWD_P) instead of /bin/pwd.
451 2000-07-14 Ulrich Drepper <drepper@redhat.com>
453 * iconvdata/Makefile (modules): Add GB18030.
454 (distribute): Add gb18030.c.
455 * iconvdata/gconv-modules: Add entries for GB18030 module.
456 * iconvdata/gb18030.c: New file.
457 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
460 2000-07-13 Andreas Jaeger <aj@suse.de>
462 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
465 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
466 * inet/getnetgrent.c (free_mem): Likewise.
467 * misc/mntent.c (free_mem): Likewise.
468 * nss/getXXbyYY.c (free_mem): Likewise.
469 * nss/getXXent.c (free_mem): Likewise.
470 * pwd/fgetpwent.c (free_mem): Likewise.
471 * shadow/fgetspent.c (free_mem): Likewise.
473 2000-07-14 Ulrich Drepper <drepper@redhat.com>
475 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
476 64-bit architecture correctly [PR libc/1794].
478 2000-07-13 Ulrich Drepper <drepper@redhat.com>
480 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
481 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
482 report that we are out of memory.
483 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
484 * elf/dl-libc.c (dlerror_run): Likewise.
485 * elf/dl-open.c (_dl_open): Likewise.
486 * elf/rtld.c (dl_main): Likewise.
487 * elf/dl-error.c: Define _dl_out_of_memory.
488 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
490 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
493 * dlfcn/dlerror.c (free_key_mem): Also free error string.
495 * iconv/loop.c: Fix comment.
497 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
499 2000-07-13 Andreas Jaeger <aj@suse.de>
501 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
502 getcwd (NULL, size) with size > 0.
503 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
505 2000-07-13 Andreas Jaeger <aj@suse.de>
507 * posix/Makefile: Remove build rules for libposix.
509 2000-07-13 Andreas Schwab <schwab@suse.de>
511 * sysdeps/generic/glob.c (glob): Fix memory leak.
512 [SHELL]: Remove reference to undefined variable `files'.
515 2000-07-13 Andreas Jaeger <aj@suse.de>
517 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
520 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
521 memory if it was allocated.
523 2000-07-12 Ulrich Drepper <drepper@redhat.com>
525 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
528 * iconv/gconv_open.c (__gconv_open): Reapply
529 2000-07-12 Bruno Haible <haible@clisp.cons.org>
531 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
533 * iconv/gconv_open.c: Undo last two changes for now. They break
536 2000-07-12 Andreas Jaeger <aj@suse.de>
538 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
540 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
541 (CFLAGS-dl-cache.c): Likewise.
542 (CFLAGS-ldconfig.c): Added, passes directory locations.
544 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
546 * elf/ldconfig.c (LD_SO_CONF): Likewise.
547 (main): Use configured LIBDIR and SLIBDIR.
549 2000-07-11 Jakub Jelinek <jakub@redhat.com>
551 * math/bits/cmathcalls.h (cimag): Add __THROW.
552 (creal, conj): Likewise.
553 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
556 2000-07-12 H.J. Lu <hjl@gnu.org>
558 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
559 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
561 2000-07-12 Ulrich Drepper <drepper@redhat.com>
563 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
566 2000-07-12 Bruno Haible <haible@clisp.cons.org>
568 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
570 2000-07-12 Bruno Haible <haible@clisp.cons.org>
572 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
575 2000-07-12 Bruno Haible <haible@clisp.cons.org>
577 * iconv/gconv_open.c (__gconv_open): Initialize
578 result->__steps[cnt].__data.
580 2000-07-12 Mark Kettenis <kettenis@gnu.org>
582 * nss/getent.c (services_keys): Pass port number in network byte
583 order in call to getservbyport.
585 2000-07-11 Andreas Jaeger <aj@suse.de>
587 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
589 * intl/Makefile (do-gettext-test): Likewise.
590 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
592 2000-07-11 Andreas Schwab <schwab@suse.de>
594 * Makeconfig (run-program-prefix): New rule.
595 (built-program-cmd): Use run-program-prefix.
597 2000-07-12 Ulrich Drepper <drepper@redhat.com>
599 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
600 and NOEXPR unconditionally available.
602 2000-07-12 Greg McGary <greg@mcgary.org>
604 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
605 * sysdeps/posix/open64.c: Likewise.
606 * sysdeps/generic/fegetenv.c: Likewise.
607 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
608 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
609 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
610 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
611 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
612 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
614 2000-07-11 Greg McGary <greg@mcgary.org>
616 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
617 Add extra level of macro expansion.
618 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
619 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
620 is available at the time `select' prototype is declared.
621 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
622 Collect non-versioned weak aliases. Consider only non-versioned
623 aliases for the user-visible systemcall name. Do checks inline with
624 call to primitive system call.
625 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
626 stand-alone bounds checks to suppress unused value warnings.
627 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
629 2000-07-10 Mark Kettenis <kettenis@gnu.org>
631 * sysdeps/mach/hurd/check_fds.c: New file. Implements
632 file descriptor checking in SUID programs for the Hurd.
634 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
635 res_hostalias instead of __hostalias for thread-safety.
637 2000-07-09 Mark Kettenis <kettenis@gnu.org>
639 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
640 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
642 2000-07-10 Ulrich Drepper <drepper@redhat.com>
644 * include/features.h: Include ISO C99 features if the compiler used
645 is an ISO C99 compiler.
646 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
648 2000-07-08 Mark Kettenis <kettenis@gnu.org>
650 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
652 2000-07-10 Andreas Jaeger <aj@suse.de>
654 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
655 it's overridden by libpthreads.
656 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
657 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
658 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
659 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
660 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
662 * malloc/Makefile: Run tst-mtrace only with shared libs.
664 * stdio-common/Makefile: Run unbputc and tst-printf tests only
667 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
669 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
670 that gpreg really points to the GOT section of the calling object.
671 Scan all PT_LOAD segments of objects for stub_pc, instead of only
672 checking a start address of first one.
674 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
677 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
679 2000-07-10 Andreas Jaeger <aj@suse.de>
681 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
682 (string_alias->strong_alias).
684 2000-07-08 Mark Kettenis <kettenis@gnu.org>
686 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
688 2000-07-07 Greg McGary <greg@mcgary.org>
690 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
691 have no names without leading underscores.
693 2000-07-07 Ulrich Drepper <drepper@redhat.com>
695 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
698 * stdio-common/Makefile (tests): Remove tst-printf here...
699 (tests-srcs): ...and add it here.
700 (distribute): Add tst-unbputc.sh and tst-printf.sh.
701 Add rules to run tst-printf.sh.
702 * stdio-common/tst-printf.c: Move code around so that there is really
703 no further output where it's stated.
704 * stdio-common/tst-printf.sh: New file.
706 2000-07-07 Mark Kettenis <kettenis@gnu.org>
708 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
709 (do_write): Renamed from pwrite.
710 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
711 `struct _IO_cookie_file'.
713 2000-07-07 Ulrich Drepper <drepper@redhat.com>
715 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
717 * malloc/tst-mtrace.sh: Run mtrace script.
719 2000-07-07 Greg McGary <greg@mcgary.org>
721 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
722 Move all three components of a bounded pointer.
724 2000-07-07 Ulrich Drepper <drepper@redhat.com>
726 * locale/programs/locale.c (write_locales): Don't simply add all
727 directories found in the subdir, test whether at least the
728 LC_CTYPE file is in there.
730 2000-07-06 Ulrich Drepper <drepper@redhat.com>
732 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
733 * iconvdata/euc-kr.c: Likewise.
735 * stdio-common/vfprintf.c (process_string_arg): Check result of
736 wcrtomb call and bail out if it failed.
738 * malloc/Makefile (test-srcs): Add tst-mtrace.
739 (distribute): Add tst-mtrace.sh.
740 Add rule to run tst-mtrace.sh.
741 * malloc/tst-mtrace.c: New file.
742 * malloc/tst-mtrace.sh: New file.
744 * include/signal.h: Declare __libc_sigaction.
745 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
746 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
747 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
748 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
749 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
750 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
751 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
753 * configure.in: Fix CFLAGS-memprofstat.c definition after
755 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
757 2000-07-06 Jakub Jelinek <jakub@redhat.com>
759 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
760 instead of NULL to elf_machine_fixup_plt t argument.
761 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
762 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
765 2000-07-06 Andreas Jaeger <aj@suse.de>
767 * crypt/Makefile (LDLIBS-cert): Removed.
768 (LDLIBS-md5c-test): Removed.
769 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
770 ($(objpfx)md5c-test): Likewise for md5c-test.out.
772 2000-07-06 Andreas Jaeger <aj@suse.de>
774 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
775 of the proc system is "proc".
777 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
778 thread library for static programs.
780 2000-07-06 Greg McGary <greg@mcgary.org>
782 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
784 * sysdeps/generic/strcpy.c: Add bounds checks.
785 * sysdeps/unix/fxstat.c: Likewise.
786 * sysdeps/unix/xstat.c: Likewise.
787 * sysdeps/unix/common/lxstat.c: Likewise.
788 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
789 * sysdeps/unix/sysv/linux/execve.c: Likewise.
790 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
791 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
792 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
793 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
794 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
795 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
796 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
797 * sysdeps/unix/sysv/linux/poll.c: Likewise.
798 * sysdeps/unix/sysv/linux/pread.c: Likewise.
799 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
800 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
801 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
802 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
803 * sysdeps/unix/sysv/linux/readv.c: Likewise.
804 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
805 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
806 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
807 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
808 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
809 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
810 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
811 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
812 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
813 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
814 * sysdeps/unix/sysv/linux/writev.c: Likewise.
815 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
816 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
817 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
818 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
819 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
820 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
821 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
822 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
823 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
824 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
825 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
826 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
827 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
828 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
829 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
830 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
831 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
832 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
833 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
834 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
835 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
836 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
837 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
838 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
839 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
840 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
841 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
842 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
843 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
844 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
845 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
846 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
847 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
848 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
849 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
850 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
851 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
853 * string/endian.h (__LONG_LONG_PAIR): New macro.
854 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
855 * sysdeps/unix/sysv/linux/pread.c: Likewise.
856 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
857 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
858 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
859 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
860 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
861 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
862 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
863 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
864 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
865 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
867 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
869 2000-07-06 Andreas Jaeger <aj@suse.de>
871 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
874 * math/test-fpucw.c: Include <stdio.h> for printf.
876 2000-07-05 Greg McGary <greg@mcgary.org>
878 * sysdeps/generic/bp-checks.h: New file.
879 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
880 with list of #include files.
881 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
882 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
883 Don't generate BP thunk if `V' appears in signature.
884 Generate thunks with complete bounds checks.
885 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
886 * sysdeps/unix/inet/syscalls.list: Likewise.
887 * sysdeps/unix/mman/syscalls.list: Likewise.
888 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
889 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
890 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
891 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
893 2000-07-05 Ulrich Drepper <drepper@redhat.com>
895 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
896 result. Search first in /etc/mtab (proc/mounts would be stupid).
897 If mount not in the file fall back on /proc.
899 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
900 string got copied in.
901 Patch by Solar Designer <solar@false.com>.
903 2000-07-05 Andreas Jaeger <aj@suse.de>
905 * manual/install.texi (Installation): Update information about
907 (Configuring and compiling): Update for glibc 2.2.
909 2000-07-04 Andreas Jaeger <aj@suse.de>
911 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
912 (_FPU_IEEE): Likewise.
914 * math/Makefile (tests): Add test-fpucw.
916 * math/test-fpucw.c (main): New file.
918 2000-07-05 Ulrich Drepper <drepper@redhat.com>
920 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
922 * locale/programs/ld-collate.c (collate_output): Also write out the
923 collation sequence values and the wide character string for the
924 collation symbol table.
926 * posix/fnmatch.c: Include "../locale/elem-hash.h".
927 * posix/fnmatch_loop.c: Implement collating symbol handling.
928 * posix/tst-fnmatch.input: Add more tests, especially for collating
931 * posix/regex.c: Fix comment.
933 2000-07-05 Andreas Jaeger <aj@suse.de>
935 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
936 (_FPU_GETCW): Remove extra colon.
937 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
939 * posix/fnmatch_loop.c (FCT): Only declare len if
940 !WIDE_CHAR_VERSION to silence GCC.
942 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
944 * sysdeps/generic/strchrnul.c: Likewise.
945 * sysdeps/generic/strlen.c: Likewise.
946 * sysdeps/generic/strchr.c: Likewise.
947 * sysdeps/generic/memchr.c: Likewise.
949 2000-07-04 Ulrich Drepper <drepper@redhat.com>
951 * posix/fnmatch_loop.c: Implement equivalence class handling.
952 * posix/tst-fnmatch.input: Add tests for equivalence class
955 * posix/fnmatch_loop.c: Improve performance for single-byte
956 character sets by not using btowc.
958 * posix/tst-fnmatch.input: Add tests for locale dependent
960 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
962 * posix/tst-fnmatch.input: Add more test cases.
964 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
965 are not aligned to alignof(md5_uint32) do it before calling
967 * crypt/md5.c: Make sure buffers are aligned.
968 * crypt/md5.h: Likewise.
969 Reported by Solar Designer <solar@false.com>.
971 * crypt/Makefile: Add dependencies for test programs.
973 * Rules: Define LC_ALL=C in environments of all programs we run.
975 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
977 2000-07-03 H.J. Lu <hjl@gnu.org>
979 * locale/programs/ld-ctype.c (ctype_output): The size of iov
980 is 2 + elem + offset, not 2 + elem + offset + 2.
982 2000-07-04 Ulrich Drepper <drepper@redhat.com>
984 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
986 * posix/Makefile (tests): Add tst-fnmatch.
987 (tst-fnmatch-ENV): Define.
988 * posix/tst-fnmatch.c: New file.
989 * posix/tst-fnmatch.sh: New file.
991 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
993 * locale/programs/charmap.c (charmap_read): Prepend
994 the condition filename == NULL.
996 2000-07-03 Greg McGary <greg@mcgary.org>
998 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
1000 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
1001 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
1003 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
1004 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
1005 (FILEBUF_LITERAL): Add cast for CHAIN init.
1006 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
1007 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
1008 Revert type of `fp' to _IO_FILE*.
1009 (_IO_iter_file): Remove cast.
1010 (_IO_iter_next): Elide intermediate member reference.
1012 * sysdeps/powerpc/strchr.S: Check bounds.
1013 Wrap extern symbols in BP_SYM ().
1015 2000-07-03 Andreas Jaeger <aj@suse.de>
1017 * dlfcn/Makefile (generated): New.
1019 2000-07-03 Ulrich Drepper <drepper@redhat.com>
1021 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
1022 (__uflow): Likewise.
1023 (__underflow): Likewise.
1024 * libio/wgenops.c (__wunderflow): Likewise.
1025 * stdio-common/tst-unbputc.c: New file.
1026 * stdio-common/tst-unbputc.sh: New file.
1027 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
1029 * po/en_GB.po: New file.
1030 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
1032 2000-07-01 Andreas Jaeger <aj@suse.de>
1034 * intl/Makefile (generated-dirs): New.
1036 * elf/Makefile (generated): trusted-dirs.h is always generated,
1037 move out of build-shared condition.
1038 (generated): Merge the two entries for build-shared.
1040 2000-07-01 Ulrich Drepper <drepper@redhat.com>
1042 * debug/Makefile (distribute): Add xtrace.sh.
1044 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1046 * version.h (VERSION): Bump to 2.1.91.
1048 * configure.in: Update warning comment. glibc should not be
1051 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
1052 ioperm.c, sys/procfs.h, and sys/io.h.
1054 * sysdeps/powerpc/Dist: Add bp-asm.h.
1056 * assert/Depend: Add localedata.
1057 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
1058 (test-assert-perr-ENV): New. Define LANGUAGE=C.
1060 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
1061 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
1062 relocation address to prevent unaligned trap.
1063 Suggested by Richard Henderson <rth@cygnus.com>.
1065 2000-06-30 Jakub Jelinek <jakub@redhat.com>
1067 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
1068 if redirecting and either redirection is done using defines or
1071 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1073 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
1074 generated expressions.
1075 Patch by Darren McClelland <dmcclell@zetec.com>.
1077 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
1078 since zic uses setlocale and gettext but we cannot make it use the
1079 new locale data since zic calls a shell which might not use the
1082 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
1083 handling the internation currency symbol. POSIX says that the
1084 fourth character is used to separate the currency symbol from the
1085 value. Therefore it does not have to be printed. But we cannot
1086 remove the space if the currency symbol is printed before the
1087 number since this is what many locales expect.
1089 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
1090 whether this information is available.
1092 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
1093 buffers in case the translation is too large. Remember allocated
1094 memory blocks in a list.
1095 (free_mem): Free memory for translations.
1097 * intl/tst-gettext.c: Use correct locale. Improve error messages.
1099 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
1100 information is available set the string length to zero.
1102 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
1104 2000-06-30 Greg McGary <greg@mcgary.org>
1106 * sysdeps/powerpc/bp-asm.h: New file.
1107 * sysdeps/powerpc/__longjmp.S: Check bounds.
1108 Wrap extern symbols in BP_SYM ().
1109 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
1110 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
1111 * sysdeps/powerpc/setjmp.S: Likewise.
1112 * sysdeps/powerpc/add_n.S: Likewise.
1113 * sysdeps/powerpc/addmul_1.S: Likewise.
1114 * sysdeps/powerpc/lshift.S: Likewise.
1115 * sysdeps/powerpc/rshift.S: Likewise.
1116 * sysdeps/powerpc/mul_1.S: Likewise.
1117 * sysdeps/powerpc/sub_n.S: Likewise.
1118 * sysdeps/powerpc/submul_1.S: Likewise.
1119 * sysdeps/powerpc/strlen.S: Likewise.
1120 * sysdeps/powerpc/memset.S: Likewise.
1121 * sysdeps/powerpc/stpcpy.S: Likewise.
1122 * sysdeps/powerpc/strcmp.S: Likewise.
1123 * sysdeps/powerpc/strcpy.S: Likewise.
1124 * sysdeps/powerpc/elf/bzero.S: Likewise.
1126 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
1127 Line up operands column with tabs.
1129 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1131 * elf/Makefile (LDFLAGS-origtest): Actually add it.
1133 * sysdeps/ia64/htonl.S: New file.
1134 * sysdeps/ia64/htons.S: New file.
1135 * sysdeps/ia64/memcpy.S: Replace with version which does not use
1136 floating point registers.
1137 Patches by Dan Pop <Dan.Pop@cern.ch>.
1139 2000-06-30 Andreas Jaeger <aj@suse.de>
1141 * posix/Makefile (tests): tst-exec and tst-spawn only work with
1144 * io/Makefile (CFLAGS-test-lfs.c): New.
1145 (tests): Add test-lfs.
1147 * io/test-lfs.c: New file.
1149 2000-06-30 Jakub Jelinek <jakub@redhat.com>
1151 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
1154 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
1156 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
1158 2000-06-29 Jes Sorensen <jes@linuxcare.com>
1160 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
1161 alias to the fstatfs call.
1163 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
1164 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
1166 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
1167 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
1169 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
1170 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
1171 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
1172 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
1174 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
1175 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
1177 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
1178 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
1180 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
1181 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
1183 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
1185 2000-06-29 Andreas Jaeger <aj@suse.de>
1187 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
1189 (print_err_message): Likewise.
1190 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
1192 2000-06-29 Ulrich Drepper <drepper@redhat.com>
1194 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
1195 used as words is properly aligned.
1197 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
1200 2000-06-29 Greg McGary <greg@mcgary.org>
1202 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
1203 * sysdeps/unix/make-syscalls.sh: Handle signatures of
1204 length 7..9, just in case...
1205 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
1207 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
1208 (POP_ERRNO_LOCATION_RETURN): Fold insns.
1209 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
1210 (PUSH_SIGNAL_MASK): New macro.
1211 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
1212 LEAVE is unnecessary. Check bounds of jmp_buf.
1213 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
1214 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
1215 immediately before tail-call.
1216 * sysdeps/i386/setjmp.S: Likewise.
1217 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1218 * sysdeps/i386/bsd-setjmp.S: Likewise.
1220 2000-06-29 Jakub Jelinek <jakub@redhat.com>
1222 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
1224 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
1225 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
1226 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
1227 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1228 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
1229 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
1230 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
1231 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
1233 2000-06-29 Ulrich Drepper <drepper@redhat.com>
1235 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
1236 we later need to calling free().
1237 Patch by Matt Wilson <msw@redhat.com>.
1239 * stdio-common/tst-printf.c: Add test for above problem.
1241 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
1243 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
1244 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
1246 2000-06-28 Jes Sorensen <jes@linuxcare.com>
1248 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
1249 prototype for abs().
1250 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
1252 2000-06-23 Andreas Jaeger <aj@suse.de>
1254 * config.h.in: Don't use regparm with bounded pointers.
1256 2000-06-29 Ulrich Drepper <drepper@redhat.com>
1258 * stdlib/grouping.h: Correctly handle multibyte thousands
1259 separator and decimal point.
1260 * stdlib/stdtod.c: Likewise.
1261 * sysdeps/generic/strtol.c: Likewise.
1263 * locale/categories.def: Add entries for wide character decimal point
1264 and thousands separator in numeric and monetary category.
1266 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1268 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
1269 second definition and initialization of decimal.
1271 2000-06-28 Greg McGary <greg@mcgary.org>
1273 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
1275 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
1276 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
1278 (_IO_JUMPS): Don't cast THIS--expect arg to be a
1279 (struct _IO_FILE_plus *).
1280 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
1281 THIS, since _IO_JUMPS no longer does it implicitly.
1282 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
1283 arg type as (struct _IO_FILE_plus *).
1284 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
1285 arg as (_IO_strfile *).
1286 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
1287 Declare 1st arg as (_IO_strfile *).
1288 * libio/fileops.c (_IO_new_file_init): Declare
1289 arg type as (struct _IO_FILE_plus *).
1290 * libio/oldfileops.c (_IO_old_file_init): Likewise.
1291 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
1292 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
1293 Declare iteration pointer as (struct _IO_FILE_plus *).
1294 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
1295 (struct _IO_FILE_plus *).
1296 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
1297 * libio/oldstdfiles.c (_IO_list_all): Likewise.
1298 (_IO_check_libio): Set user-visible handles to
1299 (struct _IO_FILE_plus *).
1300 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
1301 to (struct _IO_FILE_plus *).
1303 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
1304 whose high bound includes vtable to all functions that will use
1305 vtable. For streambufs, pass pointer whose bounds include struct
1307 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
1308 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1309 * libio/iofopen.c (_IO_new_fopen): Likewise.
1310 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1311 * libio/iofopen64.c (_IO_fopen64): Likewise.
1312 * libio/iopopen.c (_IO_new_popen): Likewise.
1313 * libio/oldiopopen.c (_IO_old_popen): Likewise.
1314 * libio/memstream.c (open_memstream): Likewise.
1315 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
1316 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
1317 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1318 * libio/iofopncook.c (_IO_cookie_init): Likewise.
1319 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
1320 * libio/vasprintf.c (_IO_vasprintf): Likewise.
1321 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
1322 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
1323 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
1324 * stdlib/strfmon.c (__strfmon_l): Likewise.
1325 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
1326 (vfprintf): Qualify computed-goto targets as unbounded.
1328 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1330 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
1331 thousands separator correctly.
1333 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
1334 * stdio-common/vfwscanf.c: Likewise.
1336 2000-06-27 Jes Sorensen <jes@linuxcare.com>
1338 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
1339 count into signatures for most calls.
1341 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1343 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
1344 the generic parser now.
1346 2000-06-28 Jes Sorensen <jes@linuxcare.com>
1348 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
1349 table entries are 32 bit on the ia64 (as specified by the ABI),
1350 not 64 bit as on the Alpha.
1352 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
1353 change of objects to use 32 bit hash table indices (see above).
1355 2000-06-28 Jes Sorensen <jes@linuxcare.com>
1357 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
1358 prototype for abs().
1360 2000-06-28 Wolfram Gloger <wg@malloc.de>
1362 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
1363 fails, try mmap_chunk() as a last resort even though n_mmaps_max
1364 may have been reached.
1366 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1368 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
1369 symbols in multi-character weights correctly.
1371 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
1372 depending on whether the input string is empty or not.
1374 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
1375 given state and not avoiding this by modifying a local object.
1376 * wcsmbs/wcrtomb.c: Likewise.
1378 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
1379 object since some incomplete characters might be in there.
1381 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
1382 sequences with first byte 0x8e correctly.
1384 * iconvdata/jis0208.h: Remove redundant test.
1386 2000-06-27 Ulrich Drepper <drepper@redhat.com>
1388 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
1389 Add it where it is needed now.
1391 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
1392 the input charset into account when generating the hash table.
1393 (allocate_arrays): Correct setting default width. Not all empty slots
1394 in the table are filled, only those not covert explicitly by the
1395 locale description and in the charset.
1397 * wctype/towctrans.c (__towctrans): Be graceful and accept error
1398 return values from the wctrans function.
1400 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
1401 wide character version.
1402 For %C handling, test correct pointer variable for NULL.
1404 * wcsmbs/wctob.c: Handle WEOF special.
1406 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
1408 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
1409 always-true test to avoid warning.
1411 2000-06-27 Greg McGary <greg@mcgary.org>
1413 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
1414 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
1415 (symbol_version, default_symbol_version): Factor redundant
1416 definitions out of conditional.
1418 2000-06-27 Jakub Jelinek <jakub@redhat.com>
1420 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
1423 2000-06-26 Ulrich Drepper <drepper@redhat.com>
1425 * include/libc-symbols.h (symbol_version): Add extra level of
1427 (default_symbol_version): Likewise.
1429 2000-06-26 Greg McGary <greg@mcgary.org>
1431 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
1432 for BP return value & push implicit struct-return pointer to
1434 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1435 (SYSCALL_ERROR_HANDLER): Likewise.
1436 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
1437 (SYSCALL_ERROR_HANDLER): Likewise.
1439 * Makeconfig: Add missing comment.
1440 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
1441 BP-flavored startup object.
1442 ($(objpfx)b$(start-installed-name)): New rule.
1443 * include/libc-symbols.h (symbol_set_declare): Change type
1444 of `__start_##set' and `__stop_##set' to pointer-to-function.
1445 (symbol_set_declare): Change type of `set' to array of
1446 pointer-to-function.
1447 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
1448 pointer-to-function.
1450 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
1452 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
1453 Remove clock_* and timer_* entries.
1454 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
1455 arg-count with signatures.
1457 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
1458 Check bounds of arguments.
1459 * sysdeps/i386/addmul_1.S: Likewise.
1460 * sysdeps/i386/lshift.S: Likewise.
1461 * sysdeps/i386/mul_1.S: Likewise.
1462 * sysdeps/i386/rshift.S: Likewise.
1463 * sysdeps/i386/sub_n.S: Likewise.
1464 * sysdeps/i386/submul_1.S: Likewise.
1465 * sysdeps/i386/i586/add_n.S: Likewise.
1466 * sysdeps/i386/i586/addmul_1.S: Likewise.
1467 * sysdeps/i386/i586/lshift.S: Likewise.
1468 * sysdeps/i386/i586/rshift.S: Likewise.
1469 * sysdeps/i386/i586/sub_n.S: Likewise.
1470 * sysdeps/i386/i686/add_n.S: Likewise.
1472 * sysdeps/i386/memchr.S: Likewise.
1473 * sysdeps/i386/memcmp.S: Likewise.
1474 * sysdeps/i386/rawmemchr.S: Likewise.
1475 * sysdeps/i386/i586/bzero.S: Likewise.
1476 * sysdeps/i386/i586/memcpy.S: Likewise.
1477 * sysdeps/i386/i586/mempcpy.S: Likewise.
1478 * sysdeps/i386/i586/memset.S: Likewise.
1479 * sysdeps/i386/i686/bzero.S: Likewise.
1480 * sysdeps/i386/i686/memcpy.S: Likewise.
1481 * sysdeps/i386/i686/mempcpy.S: Likewise.
1482 * sysdeps/i386/i686/memset.S: Likewise.
1484 * sysdeps/i386/stpcpy.S: Likewise.
1485 * sysdeps/i386/stpncpy.S: Likewise.
1486 * sysdeps/i386/strchr.S: Likewise.
1487 * sysdeps/i386/strchrnul.S: Likewise.
1488 * sysdeps/i386/strcspn.S: Likewise.
1489 * sysdeps/i386/strpbrk.S: Likewise.
1490 * sysdeps/i386/strrchr.S: Likewise.
1491 * sysdeps/i386/strspn.S: Likewise.
1492 * sysdeps/i386/strtok.S: Likewise.
1493 * sysdeps/i386/strtok_r.S: Likewise.
1494 * sysdeps/i386/i486/strcat.S: Likewise.
1495 * sysdeps/i386/i486/strlen.S: Likewise.
1496 * sysdeps/i386/i586/strchr.S: Likewise.
1497 * sysdeps/i386/i586/strcpy.S: Likewise.
1498 * sysdeps/i386/i586/strlen.S: Likewise.
1499 * sysdeps/i386/i686/strcmp.S: Likewise.
1500 * sysdeps/i386/i686/strtok.S: Likewise.
1501 * sysdeps/i386/i686/strtok_r.S: Likewise.
1503 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
1504 * sysdeps/i386/fpu/fesetenv.c: Likewise.
1505 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
1506 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
1507 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1509 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
1510 * sysdeps/i386/mul_1.S: Likewise.
1511 * sysdeps/i386/submul_1.S: Likewise.
1512 * sysdeps/i386/i586/add_n.S: Likewise.
1513 * sysdeps/i386/i586/addmul_1.S: Likewise.
1514 * sysdeps/i386/i586/lshift.S: Likewise.
1515 * sysdeps/i386/i586/mul_1.S: Likewise.
1516 * sysdeps/i386/i586/rshift.S: Likewise.
1517 * sysdeps/i386/i586/sub_n.S: Likewise.
1518 * sysdeps/i386/i586/submul_1.S: Likewise.
1520 2000-06-26 Ulrich Drepper <drepper@redhat.com>
1522 * rt/Makefile (librt-routines): Add clock_nanosleep.
1523 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
1524 * sysdeps/generic/clock_nanosleep.c: New file.
1525 * sysdeps/unix/clock_nanosleep.c: New file.
1526 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
1527 * time/time.h: Declare clock_nanosleep.
1529 2000-06-26 Greg McGary <greg@mcgary.org>
1531 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
1532 INSN1, INSN2, TEXT, GLOBL): Remove macros.
1533 (ALIGN): Cleanup surrounding conditionals.
1535 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
1536 Call ENTER/LEAVE macros.
1537 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
1538 * sysdeps/i386/submul_1.S: Likewise.
1540 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
1541 syntax. Define & use symbolic argument stack offsets. Call
1543 * sysdeps/i386/i586/mul_1.S: Likewise.
1544 * sysdeps/i386/i586/submul_1.S: Likewise.
1546 2000-06-25 Greg McGary <greg@mcgary.org>
1548 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
1551 2000-06-25 Ulrich Drepper <drepper@redhat.com>
1553 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
1554 * iconvdata/gen-8bit-gap.sh: Likewise.
1555 * iconvdata/gen-8bit.sh: Likewise.
1557 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
1559 * locale/programs/ld-collate.c (collate_read): Don't actually read
1560 the copy locale if we are ignoring the content.
1562 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
1565 * locale/programs/ld-collate.c: Correct handling of different
1567 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
1568 as extra parameter from which to copy category information.
1570 (load_locale): Likewise.
1571 * locale/programs/localedef.h: Update prototypes of add_to_readlist
1573 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
1574 * locale/programs/locfile.h: Likewise.
1575 * locale/programs/locfile-kw.gperf: Add entry for script.
1576 * locale/programs/locfile-token.h: Add tok_script.
1578 * locale/programs/locale.c: Update copyright year.
1579 * locale/programs/localedef.c: Likewise.
1581 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
1583 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
1584 Jens Moeller <jens.moeller@waii.com>.
1586 2000-06-24 Ulrich Drepper <drepper@redhat.com>
1588 * locale/programs/ld-name.c (name_finish): Add missing format
1589 specifier to test for name_fmt.
1591 * locale/programs/ld-address.c (iso639): Correct length of string
1593 (iso3166): Likewise.
1595 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
1597 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
1600 * elf/elf.h (NT_PRFPXREG): Define.
1602 2000-06-23 Ulrich Drepper <drepper@redhat.com>
1604 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
1605 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
1607 2000-06-23 Andreas Schwab <schwab@suse.de>
1609 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
1612 2000-06-23 Andreas Jaeger <aj@suse.de>
1614 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
1616 * io/test-stat.c: Add copyright header, mention Maciej.
1618 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
1619 SYS_mincore, SYS_madvise): Added.
1621 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
1624 2000-06-22 Ulrich Drepper <drepper@redhat.com>
1626 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
1627 (CFLAGS-tst_putwc.c): New definition.
1628 * libio/tst_getwc.c: New file.
1629 * libio/tst_getwc.input: New file.
1630 * libio/tst_putwc.c: New file.
1632 * include/string.h: Add prototype for __strdup.
1634 2000-06-22 Greg McGary <greg@mcgary.org>
1636 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
1637 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
1640 2000-06-23 Jes Sorensen <jes@linuxcare.com>
1642 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
1644 2000-06-22 Jes Sorensen <jes@linuxcare.com>
1646 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
1648 2000-06-22 Jes Sorensen <jes@linuxcare.com>
1650 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
1651 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
1653 2000-06-22 Ulrich Drepper <drepper@redhat.com>
1655 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
1656 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
1658 * sysdeps/mach/hurd/bits/stat.h: Likewise.
1659 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1660 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
1661 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1662 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
1663 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
1664 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
1665 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
1666 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1667 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
1668 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
1669 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
1670 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
1671 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
1674 2000-06-22 Andreas Jaeger <aj@suse.de>
1676 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
1679 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
1681 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
1683 2000-06-21 Ulrich Drepper <drepper@redhat.com>
1685 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
1688 2000-06-21 Greg McGary <greg@mcgary.org>
1690 * Makerules (elide-routines.*, elide-bp-thunks):
1691 Define unconditionally.
1693 2000-06-21 Jes Sorensen <jes@linuxcare.com>
1695 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
1697 2000-06-21 Andreas Jaeger <aj@suse.de>
1699 * io/Makefile (tests): Add test-stat.
1700 (CFLAGS-test-stat.c): New.
1702 * io/test-stat.c: New file from Maciej W. Rozycki
1703 <macro@ds2.pg.gda.pl>.
1705 2000-06-21 Jes Sorensen <jes@linuxcare.com>
1707 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
1708 in __rlimit_resource to make them match the kernel order.
1709 rlim_t is always 64 bit, use __rlim64_t to declare it
1712 2000-05-04 Jes Sorensen <jes@linuxcare.com>
1714 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
1715 RLIM_INFINITY before defining it to avoid clash with kernel header
1717 2000-05-03 Jes Sorensen <jes@linuxcare.com>
1719 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
1721 2000-06-21 Ulrich Drepper <drepper@redhat.com>
1723 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
1725 2000-06-21 Andreas Jaeger <aj@suse.de>
1727 * stdio-common/temptest.c: Include <stdlib.h>.
1728 * stdio-common/tst-fileno.c: Likewise.
1729 * stdio-common/scanf4.c: Likewise.
1730 * stdio-common/scanf5.c: Likewise.
1731 * time/clocktest.c: Likewise.
1732 * posix/test-vfork.c: Likewise.
1733 * posix/globtest.c: Likewise.
1734 * io/test-utime.c: Likewise.
1735 * wctype/test_wcfuncs.c: Likewise.
1736 * crypt/cert.c: Likewise.
1738 * stdio-common/tst-printfsz.c: Include <string.h>.
1739 * libio/tst_swscanf.c: Likewise.
1740 * libio/tst_wscanf.c: Likewise.
1741 * posix/runtests.c: Likewise.
1742 * posix/tst-getaddrinfo.c: Likewise.
1743 * posix/wordexp-test.c: Likewise.
1744 * misc/tst-efgcvt.c: Likewise.
1746 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
1747 * nss/test-netdb.c: Likewise.
1749 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
1750 supported kernel for MIPS.
1752 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
1753 * rt/aio_suspend.c: Likewise.
1755 2000-06-20 Ulrich Drepper <drepper@redhat.com>
1757 * math/libm-test.inc: Include <string.h>.
1759 2000-06-20 Jes Sorensen <jes@linuxcare.com>
1761 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
1763 2000-06-20 Jes Sorensen <jes@linuxcare.com>
1765 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
1766 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
1768 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
1770 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
1772 2000-06-20 Jes Sorensen <jes@linuxcare.com>
1774 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
1776 2000-06-20 Ulrich Drepper <drepper@redhat.com>
1778 * locale/programs/ld-collate.c (insert_value): Now take string and
1779 length instead of struct token* parameter. Adjust use of token.
1780 (handle_ellipsis): Likewise.
1781 (collate_read): Allow <Uxxxx> names and transform them into names
1782 to be passed to insert_value and handle_ellipsis.
1784 * locale/programs/ld-ctype.c (uninames): New array with names of
1785 digits in <Uxxxxxxxx> format.
1786 (ctype_finish): Correct search for space character value. Likewise
1787 for default outdigits values.
1789 2000-06-20 Greg McGary <greg@mcgary.org>
1791 * Makerules (objects): Add BP thunks.
1793 2000-06-20 Ulrich Drepper <drepper@redhat.com>
1795 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
1796 in width definitions.
1798 2000-06-20 Andreas Jaeger <aj@suse.de>
1800 * sysdeps/mips/fpu/libm-test-ulps: New file.
1802 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
1805 * sysdeps/mips/fpu/feholdexcpt.c: New file.
1807 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
1809 2000-06-19 Ulrich Drepper <drepper@redhat.com>
1811 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
1812 change in gconv_builtin.h.
1814 * malloc/Makefile: Change all references to memprof into memusage.
1815 * malloc/memprof.c: Rename to...
1816 * malloc/memusage.c: ...this. New file.
1817 * malloc/memprof.sh: Rename to...
1818 * malloc/memusage.sh: ...this. New file.
1819 * malloc/memprofstat.c: Rename to...
1820 * malloc/memusagestat.c: ...this. New file.
1821 * sysdeps/alpha/memprof.h: Rename to..
1822 * sysdeps/alpha/memusage.h: ...this. New file.
1823 * sysdeps/arm/memprof.h: Rename to..
1824 * sysdeps/arm/memusage.h: ...this. New file.
1825 * sysdeps/generic/memprof.h: Rename to..
1826 * sysdeps/generic/memusage.h: ...this. New file.
1827 * sysdeps/i386/memprof.h: Rename to..
1828 * sysdeps/i386/memusage.h: ...this. New file.
1829 * sysdeps/ia64/memprof.h: Rename to..
1830 * sysdeps/ia64/memusage.h: ...this. New file.
1831 * sysdeps/m68k/memprof.h: Rename to..
1832 * sysdeps/m68k/memusage.h: ...this. New file.
1833 * sysdeps/mips/memprof.h: Rename to..
1834 * sysdeps/mips/memusage.h: ...this. New file.
1835 * sysdeps/powerpc/memprof.h: Rename to..
1836 * sysdeps/powerpc/memusage.h: ...this. New file.
1837 * sysdeps/sparc/memprof.h: Rename to..
1838 * sysdeps/sparc/memusage.h: ...this. New file.
1839 * sysdeps/sh/memprof.h: Rename to..
1840 * sysdeps/sh/memusage.h: ...this. New file.
1842 * elf/sprof.c (print_version): Update year.
1844 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
1845 table entry values. Use D_PTR.
1846 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
1847 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
1849 2000-06-20 Jes Sorensen <jes@linuxcare.com>
1851 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
1852 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
1853 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
1854 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
1856 2000-05-05 Jes Sorensen <jes@linuxcare.com>
1858 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
1860 2000-06-16 Jes Sorensen <jes@linuxcare.com>
1862 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
1863 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
1864 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
1866 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
1868 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
1871 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
1872 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
1874 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
1877 2000-06-15 Jes Sorensen <jes@linuxcare.com>
1879 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
1881 2000-06-08 Jes Sorensen <jes@linuxcare.com>
1883 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
1885 2000-06-19 Ulrich Drepper <drepper@redhat.com>
1887 * iconv/gconv_int.h (strict gconv_module): Remove all members
1888 associated with regular expressions. Use a simple string as the
1890 * iconv/gconv_db.c: Remove code handling regular expressions.
1891 * iconv/gconv_conf.c: Likewise.
1892 * iconv/iconv_prog.c: Likewise.
1893 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
1895 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
1896 General namespace cleanup.
1897 (struct __gconv_trans_data): Add next field.
1898 (struct __gconv_step_data): Make __trans a pointer.
1899 * iconv/gconv_conf.c: Split out code to find gconv directories from
1900 __gconv_read_conf in new functions.
1901 * iconv/gconv_int.h: Define new data structure and declare new
1902 functions for handling of gconv directory list.
1903 * iconv/gconv_open.c: Allow more than one error handling step being
1904 used. Call function to load error handling module if it is none
1905 of the builtin transformations.
1906 * iconv/gconv_close.c: Add code to free transliteration data.
1907 * iconv/gconv_trans.c: Add functions to load and unload modules
1908 implementing transliteration etc.
1909 * iconv/skeleton.c: Call all context functions now that more than
1910 one module is allowed.
1911 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
1912 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
1913 where the full error handling using transliteration is needed.
1914 * iconvdata/8bit-gap.c: Likewise.
1915 * iconvdata/8bit-generic.c: Likewise.
1916 * iconvdata/ansi_x3.110.c: Likewise.
1917 * iconvdata/big5.c: Likewise.
1918 * iconvdata/big5hkscs.c: Likewise.
1919 * iconvdata/euc-cn.c: Likewise.
1920 * iconvdata/euc-jp.c: Likewise.
1921 * iconvdata/euc-kr.c: Likewise.
1922 * iconvdata/euc-tw.c: Likewise.
1923 * iconvdata/gbgbk.c: Likewise.
1924 * iconvdata/gbk.c: Likewise.
1925 * iconvdata/iso-2022-cn.c: Likewise.
1926 * iconvdata/iso-2022-jp.c: Likewise.
1927 * iconvdata/iso-2022-kr.c: Likewise.
1928 * iconvdata/iso646.c: Likewise.
1929 * iconvdata/iso8859-1.c: Likewise.
1930 * iconvdata/iso_6937-2.c: Likewise.
1931 * iconvdata/iso_6937.c: Likewise.
1932 * iconvdata/johab.c: Likewise.
1933 * iconvdata/sjis.c: Likewise.
1934 * iconvdata/t.61.c: Likewise.
1935 * iconvdata/uhc.c: Likewise.
1936 * iconvdata/unicode.c: Likewise.
1937 * iconvdata/utf-16.c: Likewise.
1938 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
1939 structure correctly after last change.
1940 * wcsmbs/btowc.c: Likewise.
1941 * wcsmbs/mbrtowc.c: Likewise.
1942 * wcsmbs/mbsnrtowcs.c: Likewise.
1943 * wcsmbs/mbsrtowcs.c: Likewise.
1944 * wcsmbs/wcrtomb.c: Likewise.
1945 * wcsmbs/wcsnrtombs.c: Likewise.
1946 * wcsmbs/wcsrtombs.c: Likewise.
1947 * wcsmbs/wctob.c: Likewise.
1949 * localedata/Makefile: Set -Wno-format for some files since gcc does
1950 not know all the format specifiers.
1952 2000-06-18 Ulrich Drepper <drepper@redhat.com>
1954 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
1956 * locale/lc-time.c (_nl_init_era_entries): Likewise.
1958 2000-06-18 Andreas Jaeger <aj@suse.de>
1960 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
1961 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
1963 2000-06-17 Ulrich Drepper <drepper@redhat.com>
1965 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
1967 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
1969 * locale/programs/ld-ctype.c (ctype_output): Really write out
1970 mboutdigits information.
1971 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
1972 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
1973 * localedata/tests/trans.def: Add outdigit information.
1975 * localedata/tst-mbswcs3.c: Remove comment.
1977 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
1978 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
1979 * libio/tst_wprintf.c (main): Add test for I flag.
1981 * iconv/gconv_trans.c: Implement handling if translit_ignore.
1982 * locale/langinfo.h: Add entries for translit_ignore information.
1983 * locale/categories.def: Add entries for new LC_CTYPE elements.
1984 * locale/C-ctype.c: Add initializers for new fields. Use NULL
1985 pointer instead of "" where possible.
1986 * locale/programs/ld-ctype.c: Write out translit_ignore information.
1987 * intl/Depend: Add localedata.
1988 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
1989 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
1991 2000-06-16 Ulrich Drepper <drepper@redhat.com>
1993 * locale/langinfo.h: Add entries for default_missing information.
1994 * locale/C-ctype.c: Add initializers for new fields.
1995 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
1997 * locale/categories.h: Add entries for all LC_CTYPE values.
1998 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
2001 * localedata/tst-trans.c: Write out an error message if class is
2004 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
2005 * iconv/gconv_open.c: Remove error handling specification from `from'
2007 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
2008 new parameter to always enable transliteration.
2009 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
2011 (struct locale_data): Add new members use_translit and options.
2012 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
2013 character set name contained modifier TRANSLIT.
2014 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
2016 (_nl_unload_locale): Free options string if necessary.
2017 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
2018 the locale names suggested this.
2019 * locale/C-address.c: Add two new initialilzers to adjust data
2020 structure for new format.
2021 * locale/C-collate.c: Likewise.
2022 * locale/C-ctype.c: Likewise.
2023 * locale/C-identification.c: Likewise.
2024 * locale/C-measurement.c: Likewise.
2025 * locale/C-messages.c: Likewise.
2026 * locale/C-monetary.c: Likewise.
2027 * locale/C-name.c: Likewise.
2028 * locale/C-numeric.c: Likewise.
2029 * locale/C-paper.c: Likewise.
2030 * locale/C-telephone.c: Likewise.
2031 * locale/C-time.c: Likewise.
2033 * locale/setlocale.c: Add some more __builtin_expect.
2035 2000-06-15 Ulrich Drepper <drepper@redhat.com>
2037 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
2039 (__gconv_init_fct): Remove two parameters.
2040 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
2041 gconv_transliterate. Remove two parameters.
2042 Change prototypes of builtin functions according to __gconv_fct change.
2043 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
2044 != NULL only during error handling. Stop in this case after the
2046 * iconv/gconv_trans.c: Replace with real implementation for
2047 __gconv_transliterate.
2048 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
2049 * iconv/gconv.c: Change calls to downstream functions once again.
2050 Use NULL for the fifth parameter instead of pointer to output buffer.
2051 * libio/iofwide.c: Likewise.
2052 * wcsmbs/btowc.c: Likewise.
2053 * wcsmbs/mbrtowc.c: Likewise.
2054 * wcsmbs/mbsnrtowcs.c: Likewise.
2055 * wcsmbs/mbsrtowcs.c: Likewise.
2056 * wcsmbs/wcrtomb.c: Likewise.
2057 * wcsmbs/wcsnrtombs.c: Likewise.
2058 * wcsmbs/wcsrtombs.c: Likewise.
2059 * wcsmbs/wctob.c: Likewise.
2060 * iconv/gconv_simple.c: Remove two parameters from error handling
2062 * iconvdata/8bit-gap.c: Likewise.
2063 * iconvdata/8bit-generic.c: Likewise.
2064 * iconvdata/ansi_x3.110.c: Likewise.
2065 * iconvdata/big5.c: Likewise.
2066 * iconvdata/big5hkscs.c: Likewise.
2067 * iconvdata/euc-cn.c: Likewise.
2068 * iconvdata/euc-jp.c: Likewise.
2069 * iconvdata/euc-kr.c: Likewise.
2070 * iconvdata/euc-tw.c: Likewise.
2071 * iconvdata/gbgbk.c: Likewise.
2072 * iconvdata/gbk.c: Likewise.
2073 * iconvdata/iso-2022-cn.c: Likewise.
2074 * iconvdata/iso-2022-jp.c: Likewise.
2075 * iconvdata/iso-2022-kr.c: Likewise.
2076 * iconvdata/iso646.c: Likewise.
2077 * iconvdata/iso8859-1.c: Likewise.
2078 * iconvdata/iso_6937-2.c: Likewise.
2079 * iconvdata/iso_6937.c: Likewise.
2080 * iconvdata/johab.c: Likewise.
2081 * iconvdata/sjis.c: Likewise.
2082 * iconvdata/t.61.c: Likewise.
2083 * iconvdata/uhc.c: Likewise.
2084 * iconvdata/unicode.c: Likewise.
2085 * iconvdata/utf-16.c: Likewise.
2087 2000-06-15 Greg McGary <greg@mcgary.org>
2089 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
2090 of callnum assignment. Tolerate callnum expressions containing
2093 2000-06-14 Ulrich Drepper <drepper@redhat.com>
2095 * login/Makefile (utmpd): Remove rule to build utmpd.
2097 * csu/Versions: Move libgcc frame handling functions from here...
2098 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
2099 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
2100 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
2101 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
2102 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
2103 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
2105 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
2107 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
2109 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
2111 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
2113 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
2115 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
2116 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
2117 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
2118 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
2120 2000-06-14 Jakub Jelinek <jakub@redhat.com>
2122 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
2123 defined, terminate quotes and read them after the comment char.
2124 * configure.in (HAVE_SECTION_QUOTES): Test whether
2125 __attribute__((section ("x"))) puts quotes around x or not.
2126 * config.h.in (HAVE_SECTION_QUOTES): Add.
2127 * configure: Rebuilt.
2129 2000-06-14 Andreas Jaeger <aj@suse.de>
2131 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
2132 depending on the configure option --sysconfdir.
2133 Closes PR libc/1762.
2134 Patch by Andreas Schwab <schwab@suse.de>.
2136 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
2138 Reported by Jim Pick <jim@jimpick.com>.
2140 2000-06-14 Ulrich Drepper <drepper@redhat.com>
2142 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
2143 crashing the application. Emit some simple error message.
2144 Reported by mju@panasas.com [PR libc/1769].
2146 2000-06-13 Ulrich Drepper <drepper@redhat.com>
2148 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
2150 * crypt/Makefile (distribute): Add md5.h.
2152 * Makefile (distribute): Add include/shlib-compat.h.
2154 * Make-dist: Search for tests also in sysdeps hierachy.
2156 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
2157 ufc.c, speeds.c, README.ufc-crypt, and Banner.
2159 * sysdeps/sparc/Subdirs: New file.
2161 * locale/Makefile (distribute): Add weightwc.h and
2162 programs/localedef.h.
2164 * time/Makefile (distribute): Add datemsk.
2166 * sysdeps/ia64/Dist: Add softpipe.h.
2168 * sysdeps/unix/sysv/aix/Dist: New file.
2170 * posix/setpgrp.c: Moved to...
2171 * sysdeps/generic/setpgrp.c: ...here. New file.
2172 * io/mknod.c: Moved to...
2173 * sysdeps/generic/mknod.c: ...here. New file.
2175 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
2177 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
2179 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
2181 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
2182 gprsave0.S, gprrest1.S, and gprrest0.S.
2184 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
2186 * posix/Makefile (routines): Add spawnattr_getsigmask,
2187 spawnattr_getschedpolicy, spawnattr_getschedparam,
2188 spawnattr_setsigmask, spawnattr_setschedpolicy, and
2189 spawnattr_setschedparam.
2190 * posix/Versions: Add posix_spawnattr_getschedpolicy,
2191 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
2192 posix_spawnattr_setschedparam.
2194 * posix/spawnattr_setschedparam.c: Fix typo.
2196 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
2199 * login/programs/utmpd.c: Removed.
2200 * login/programs/utmpd.h: Removed.
2201 * login/programs/utmpd-private.h: Removed.
2203 * Makefile (distribute): Add include/db_185.h and include/db.h.
2205 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
2208 * elf/Makefile (distribute): Add missing files.
2210 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
2211 * elf/eval.c: Moved to...
2212 * dlfcn/eval.c: ...here. New file.
2214 * Makefile (distribute): Also distribute ChangeLog.1?.
2216 * Make-dist (+tsrcs): Remove .args handling here as well.
2218 * rt/Makefile (tests): Add tst-timer.
2219 * sysdeps/generic/tst-timer.c: New file.
2221 * Makerules (sources): Don't add BP sources here.
2223 * login/Makefile (distribute): Remove xtmp.h.
2225 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
2226 is true. Reported by Bruno Haible <haible@ilog.fr>.
2228 2000-06-13 Andreas Jaeger <aj@suse.de>
2230 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
2231 Patch by Ralf Baechle <ralf@gnu.org>.
2233 2000-06-13 Ulrich Drepper <drepper@redhat.com>
2235 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
2236 for mincore syscall.
2238 * misc/sys/cdefs.h: Define __bounded and __unbounded if
2239 __BOUNDED_POINTERS__ is not defined.
2241 2000-06-07 Greg McGary <greg@mcgary.org>
2243 * sysdeps/generic/bp-sym.h: New file.
2244 * sysdeps/generic/bp-start.h: New file.
2245 * sysdeps/i386/elf/start.S: Designate BP symbols.
2246 * sysdeps/generic/libc-start.c: Wrap bounds around
2247 argv & envp and each of their string members.
2249 2000-06-07 Greg McGary <greg@mcgary.org>
2251 * sysdeps/unix/make-syscalls.sh: Add comments to
2252 output that aid debugging & comprehension.
2253 Map simple syscall signatures to number of args.
2254 Generate BP syscall thunk definitions.
2255 * sysdeps/generic/bp-thunks.h: New file.
2256 * sysdeps/unix/syscalls.list: Replace arg-count with
2257 simple return+arg signature.
2258 * sysdeps/unix/common/syscalls.list: Likewise.
2259 * sysdeps/unix/inet/syscalls.list: Likewise.
2260 * sysdeps/unix/mman/syscalls.list: Likewise.
2261 * sysdeps/unix/sysv/syscalls.list: Likewise.
2262 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2263 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2265 2000-06-07 Greg McGary <greg@mcgary.org>
2267 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
2268 for all files *.[cS].
2269 (CFLAGS-.ob): Don't optimize sibling calls.
2270 (bppfx): New variable.
2271 * Makerules (elide-bp-thunks): New variable.
2272 (elide-routines.*): Elide BP-* files for all but *.ob.
2273 (sources): Include bp-thunks.
2275 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2277 * iconv/gconv_simple.c: Remove unnecessary prototype.
2279 * iconv/gconv_trans.c: Pretty print.
2281 * elf/elf.h (R_SH_NUM): Got accidently dropped.
2283 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
2284 minimal kernel versions. Add information about IA-64 kernel.
2286 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
2287 specific minimal supported kernel versions to be specified.
2289 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
2290 step data structure.
2291 * wcsmbs/btowc.c: Likewise.
2292 * wcsmbs/mbrtowc.c: Likewise.
2293 * wcsmbs/mbsnrtowcs.c: Likewise.
2294 * wcsmbs/mbsrtowcs.c: Likewise.
2295 * wcsmbs/wcrtomb.c: Likewise.
2296 * wcsmbs/wcsnrtombs.c: Likewise.
2297 * wcsmbs/wcsrtombs.c: Likewise.
2298 * wcsmbs/wctob.c: Likewise.
2300 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
2301 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
2303 * shlib-versions: Earliest backward compatible version for SH is 2.2.
2305 * misc/sys/cdefs.h: Remove one more __P.
2307 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
2310 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
2311 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
2312 * sysdeps/sh/bits/setjmp.h: ...here. New file.
2314 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
2315 Yutaka Niibe <gniibe@chroot.org>
2317 * configure.in: Add machine sh3, sh4.
2318 * elf/elf.h: Add SH specific declarations of relocations.
2319 * shlib-versions: Add sh*-*-linux* cases.
2321 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2323 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
2324 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
2325 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
2326 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
2327 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
2328 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
2330 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
2331 instead of KERNEL_MATH_EMULATION.
2332 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
2333 KERNEL_MATH_EMULATION.
2335 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
2336 * sysdeps/sh/sh3/dl-machine.h: Moved to...
2337 * sysdeps/sh/dl-machine.h: ...here. New file.
2338 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
2339 and include generic SH version.
2340 * sysdeps/sh/sh3/bits/endian.h: Move to...
2341 * sysdeps/sh/bits/endian.h: ...here. New file.
2342 * sysdeps/sh/sh4/bits/endian.h: Removed.
2343 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
2344 * sysdeps/sh/bits/huge_val.h: ...here. New file.
2345 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
2347 * include/libc-symbols.h (link_warning): Work around a change in
2348 GAS which warns about changing section attributes.
2349 Proposed by Nick Clifton <nickc@redhat.com>.
2351 2000-06-12 H.J. Lu <hjl@gnu.org>
2353 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
2355 2000-06-11 H.J. Lu <hjl@gnu.org>
2357 * sysdeps/i386/fpu/Versions: New file.
2359 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2361 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
2363 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
2366 2000-06-12 Jes Sorensen <jes@linuxcare.com>
2368 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
2369 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
2370 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
2372 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
2373 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
2374 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
2376 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
2377 Yutaka Niibe <gniibe@chroot.org>
2379 * sysdeps/sh/Dist: New file.
2380 * sysdeps/sh/Implies: New file.
2381 * sysdeps/sh/elf/initfini.c: New file.
2382 * sysdeps/sh/gmp-mparam.h: New file.
2383 * sysdeps/sh/init-first.c: New file.
2384 * sysdeps/sh/machine-gmon.h: New file.
2385 * sysdeps/sh/memcpy.S: New file.
2386 * sysdeps/sh/memprof.h: New file.
2387 * sysdeps/sh/memset.S: New file.
2388 * sysdeps/sh/sh3/__longjmp.S: New file.
2389 * sysdeps/sh/sh3/bits/endian.h: New file.
2390 * sysdeps/sh/sh3/bits/huge_val.h: New file.
2391 * sysdeps/sh/sh3/bits/setjmp.h: New file.
2392 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
2393 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
2394 * sysdeps/sh/sh3/dl-machine.h: New file.
2395 * sysdeps/sh/sh3/setjmp.S: New file.
2396 * sysdeps/sh/sh4/__longjmp.S: New file.
2397 * sysdeps/sh/sh4/bits/endian.h: New file.
2398 * sysdeps/sh/sh4/bits/huge_val.h: New file.
2399 * sysdeps/sh/sh4/bits/setjmp.h: New file.
2400 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
2401 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
2402 * sysdeps/sh/sh4/dl-machine.h: New file.
2403 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
2404 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
2405 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
2406 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
2407 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
2408 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
2409 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
2410 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
2411 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
2412 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
2413 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
2414 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
2415 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
2416 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
2417 * sysdeps/sh/sh4/setjmp.S: New file.
2418 * sysdeps/sh/elf/start.S: New file.
2419 * sysdeps/sh/sys/ucontext.h: New file.
2420 * sysdeps/sh/strlen.S: New file.
2421 * sysdeps/sh/sysdep.h: New file.
2422 * sysdeps/unix/sh/sysdep.S: New file.
2423 * sysdeps/unix/sh/sysdep.h: New file.
2424 * sysdeps/unix/sysv/linux/sh/Dist: New file.
2425 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
2426 * sysdeps/unix/sysv/linux/sh/Versions: New file.
2427 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
2428 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
2429 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
2430 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
2431 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
2432 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
2433 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
2434 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
2435 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
2436 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
2437 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
2438 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
2439 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
2440 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
2441 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
2442 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
2443 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
2444 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
2445 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
2446 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
2447 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
2448 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
2449 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
2450 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
2451 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
2452 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
2453 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
2454 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
2455 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
2456 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
2457 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
2458 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
2459 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
2460 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
2461 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
2462 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
2463 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
2464 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
2465 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
2466 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
2467 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
2468 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
2469 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
2470 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
2471 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
2472 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
2473 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
2475 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2477 * Rules (%.out): Define GCONV_PATH in the environment.
2478 * assert/Depend: New file.
2479 * iconvdata/Depend: New file.
2480 * intl/Depend: New file.
2481 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
2482 * intl/tst-gettext.sh: Likewise.
2483 * iconv/Makefile (routines): Add gconv_trans.
2484 * iconv/gconv_trans.c: New file.
2485 * iconv/gconv.h (struct __gconv_trans_data): New type.
2486 (__gconv_fct): New parameter with starting position in output buffer.
2487 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
2488 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
2489 (struct __gconv_step): Add new member __trans.
2490 * iconv/gconv_int.h: Pretty print prototypes.
2491 (gconv_transliterate): New prototype.
2492 (__BUILTIN_TRANS): Update for new conversion function interface.
2493 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
2494 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
2495 in names, find appropriate function, and install in the conversion
2496 steps it can be used.
2497 * iconv/skeleton.c: Add additional parameter for beginning of output
2498 buffer. Change calls of downstream functions.
2499 * iconv/loop.c: Change loop function interface completely. Pass in
2500 step and step_data structure. Remove optimization for BODY with
2501 NEED_LENGTH_TEST == 0.
2502 * iconv/gconv_simple.c: Update interfaces of functions. Insert
2503 appropriate error handling code to use transliteration steps. Remove
2504 optimization for BODY with NEED_LENGTH_TEST == 0.
2505 * iconvdata/8bit-gap.c: Likewise.
2506 * iconvdata/8bit-generic.c: Likewise.
2507 * iconvdata/ansi_x3.110.c: Likewise.
2508 * iconvdata/big5.c: Likewise.
2509 * iconvdata/big5hkscs.c: Likewise.
2510 * iconvdata/euc-cn.c: Likewise.
2511 * iconvdata/euc-jp.c: Likewise.
2512 * iconvdata/euc-kr.c: Likewise.
2513 * iconvdata/euc-tw.c: Likewise.
2514 * iconvdata/gbgbk.c: Likewise.
2515 * iconvdata/gbk.c: Likewise.
2516 * iconvdata/iso-2022-cn.c: Likewise.
2517 * iconvdata/iso-2022-jp.c: Likewise.
2518 * iconvdata/iso-2022-kr.c: Likewise.
2519 * iconvdata/iso646.c: Likewise.
2520 * iconvdata/iso8859-1.c: Likewise.
2521 * iconvdata/iso_6937-2.c: Likewise.
2522 * iconvdata/iso_6937.c: Likewise.
2523 * iconvdata/johab.c: Likewise.
2524 * iconvdata/sjis.c: Likewise.
2525 * iconvdata/t.61.c: Likewise.
2526 * iconvdata/uhc.c: Likewise.
2527 * iconvdata/unicode.c: Likewise.
2528 * iconvdata/utf-16.c: Likewise.
2529 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
2531 * wcsmbs/btowc.c: Likewise.
2532 * wcsmbs/mbrtowc.c: Likewise.
2533 * wcsmbs/mbsnrtowcs.c: Likewise.
2534 * wcsmbs/mbsrtowcs.c: Likewise.
2535 * wcsmbs/wcrtomb.c: Likewise.
2536 * wcsmbs/wcsnrtombs.c: Likewise.
2537 * wcsmbs/wcsrtombs.c: Likewise.
2538 * wcsmbs/wctob.c: Likewise.
2540 2000-04-11 Geoff Keating <geoffk@cygnus.com>
2542 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
2543 other header files. Mention about 128-byte cache line sizes.
2544 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
2545 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
2546 for current calling sequence.
2547 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
2549 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
2550 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2552 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
2553 and setrlimit syscalls for backwards compatibility.
2555 2000-06-10 Ulrich Drepper <drepper@redhat.com>
2557 * iconv/skeleton.c: Rename converted written to correcter name
2559 * iconv/gconv.c: Rename converted variable to correcter name
2561 * iconv/gconv_int.h: Likewise.
2562 * iconv/gconv_simple.c: Likewise.
2563 * iconv/iconv.c: Likewise.
2564 * iconv/loop.c: Likewise.
2565 * iconvdata/8bit-gap.c: Likewise.
2566 * iconvdata/8bit-generic.c: Likewise.
2567 * iconvdata/ansi_x3.110.c: Likewise.
2568 * iconvdata/big5.c: Likewise.
2569 * iconvdata/big5hkscs.c: Likewise.
2570 * iconvdata/euc-cn.c: Likewise.
2571 * iconvdata/euc-jp.c: Likewise.
2572 * iconvdata/euc-kr.c: Likewise.
2573 * iconvdata/gbgbk.c: Likewise.
2574 * iconvdata/gbk.c: Likewise.
2575 * iconvdata/iso-2022-cn.c: Likewise.
2576 * iconvdata/iso-2022-jp.c: Likewise.
2577 * iconvdata/iso-2022-kr.c: Likewise.
2578 * iconvdata/iso646.c: Likewise.
2579 * iconvdata/iso8859-1.c: Likewise.
2580 * iconvdata/iso_6937-2.c: Likewise.
2581 * iconvdata/iso_6937.c: Likewise.
2582 * iconvdata/johab.c: Likewise.
2583 * iconvdata/sjis.c: Likewise.
2584 * iconvdata/t.61.c: Likewise.
2585 * iconvdata/uhc.c: Likewise.
2586 * iconvdata/unicode.c: Likewise.
2587 * iconvdata/utf-16.c: Likewise.
2589 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
2590 __cmsg_data field with __extension__.
2592 2000-06-10 David Mosberger <davidm@hpl.hp.com>
2594 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
2596 2000-06-10 Ulrich Drepper <drepper@redhat.com>
2598 * iconv/gconv_simple.c: Fix various small bugs in several
2601 * iconv/loop.c: Fix comment.
2603 2000-06-10 Jakub Jelinek <jakub@redhat.com>
2605 * elf/link.h: Remove libc internal declarations.
2606 * include/link.h: Move them here.
2608 2000-06-09 Ulrich Drepper <drepper@redhat.com>
2610 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
2611 Patch by Dan Pop <Dan.Pop@cern.ch>.
2613 Rewrite error message handling.
2614 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
2616 * elf/dl-error (struct catch): Add objname member.
2617 (_dl_signal_error): Take new parameter with object name. When
2618 passing message on simply store object name and duplicate error
2620 (_dl_catch_error): Take new parameter. Store object name in the
2622 * include/dlfcn.h: Adjust _dl_catch_error prototype.
2623 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
2624 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
2625 (dlerror): Add objname to asprintf() parameters.
2626 (_dl_error_run): Pass new parameter to _dl_catch_error.
2627 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
2628 * elf/dl-open.c (_dl_open): Likewise.
2629 * elf/rtld.c (dl_main): Likewise.
2630 * elf/dl-close.c: Mark error messages with N_().
2631 * elf/dl-deps.c: Likewise.
2632 * elf/dl-error.c: Likewise.
2633 * elf/dl-load.c: Likewise.
2634 * elf/dl-open.c: Likewise.
2635 * elf/dl-reloc.c: Likewise.
2636 * elf/dl-support.c: Likewise.
2637 * elf/dl-sym.c: Likewise.
2638 * elf/dl-version.c: Likewise.
2639 * elf/dl-lookup.c: Add comments about problems with error message
2641 * elf/dl-reloc.c: Likewise.
2642 * elf/dl-version.c: Likewise.
2644 2000-06-09 H.J. Lu <hjl@gnu.org>
2646 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
2649 * dlfcn/Makefile (distribute): Add failtestmod.c.
2650 (tests): Add failtest.
2651 Add rules to build and run failtest.
2652 * dlfcn/failtest.c: New file.
2653 * dlfcn/failtestmod.c: New file.
2655 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
2657 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
2658 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
2659 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
2660 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
2661 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
2663 2000-06-09 Jes Sorensen <jes@linuxcare.com>
2665 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
2666 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
2668 2000-06-09 Jes Sorensen <jes@linuxcare.com>
2669 Ulrich Drepper <drepper@redhat.com>
2671 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
2672 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
2673 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
2674 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
2675 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
2676 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
2678 2000-06-09 Ulrich Drepper <drepper@redhat.com>
2680 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
2681 to find correct mount point despite wrong information from the
2684 2000-06-09 Jes Sorensen <jes@linuxcare.com>
2686 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
2687 the address of a symbol so function pointers are handled properly.
2689 2000-06-08 Ulrich Drepper <drepper@redhat.com>
2691 * sysdeps/i386/Dist: Add bp-asm.h.
2693 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
2694 defaultdir variable instead of "/var/shm" everywhere.
2695 (defaultdir): Change to /dev/shm/.
2697 2000-06-08 Greg McGary <greg@mcgary.org>
2699 * sysdeps/i386/bp-asm.h: New file.
2700 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
2701 offsets. Add ENTER/LEAVE macros for optionally maintaining
2702 frame-pointer chain when debugging.
2703 * sysdeps/i386/add_n.S: Likewise.
2704 * sysdeps/i386/addmul_1.S: Likewise.
2705 * sysdeps/i386/lshift.S: Likewise.
2706 * sysdeps/i386/memchr.S: Likewise.
2707 * sysdeps/i386/memcmp.S: Likewise.
2708 * sysdeps/i386/mul_1.S: Likewise.
2709 * sysdeps/i386/rawmemchr.S: Likewise.
2710 * sysdeps/i386/rshift.S: Likewise.
2711 * sysdeps/i386/stpcpy.S: Likewise.
2712 * sysdeps/i386/stpncpy.S: Likewise.
2713 * sysdeps/i386/strchr.S: Likewise.
2714 * sysdeps/i386/strchrnul.S: Likewise.
2715 * sysdeps/i386/strcspn.S: Likewise.
2716 * sysdeps/i386/strpbrk.S: Likewise.
2717 * sysdeps/i386/strrchr.S: Likewise.
2718 * sysdeps/i386/strspn.S: Likewise.
2719 * sysdeps/i386/strtok.S: Likewise.
2720 * sysdeps/i386/sub_n.S: Likewise.
2721 * sysdeps/i386/submul_1.S: Likewise.
2722 * sysdeps/i386/elf/setjmp.S: Likewise.
2723 * sysdeps/i386/i486/strcat.S: Likewise.
2724 * sysdeps/i386/i486/strlen.S: Likewise.
2725 * sysdeps/i386/i586/add_n.S: Likewise.
2726 * sysdeps/i386/i586/lshift.S: Likewise.
2727 * sysdeps/i386/i586/memcpy.S: Likewise.
2728 * sysdeps/i386/i586/memset.S: Likewise.
2729 * sysdeps/i386/i586/rshift.S: Likewise.
2730 * sysdeps/i386/i586/strchr.S: Likewise.
2731 * sysdeps/i386/i586/strcpy.S: Likewise.
2732 * sysdeps/i386/i586/strlen.S: Likewise.
2733 * sysdeps/i386/i586/sub_n.S: Likewise.
2734 * sysdeps/i386/i686/add_n.S: Likewise.
2735 * sysdeps/i386/i686/memcpy.S: Likewise.
2736 * sysdeps/i386/i686/mempcpy.S: Likewise.
2737 * sysdeps/i386/i686/memset.S: Likewise.
2738 * sysdeps/i386/i686/strcmp.S: Likewise.
2740 2000-06-08 Ulrich Drepper <drepper@redhat.com>
2742 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
2744 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
2745 256 and don't use OPEN_MAX.
2747 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
2748 use it instead of LINK_MAX.
2749 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
2751 2000-06-08 Andreas Jaeger <aj@suse.de>
2753 * libio/genops.c (_IO_list_lock): Only compile body if we're
2755 (_IO_list_unlock): Likewise.
2756 (_IO_list_resetlock): Likewise.
2758 2000-06-07 Ulrich Drepper <drepper@redhat.com>
2760 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
2761 unless user defined it.
2763 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
2764 if not defined by the user.
2766 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
2767 * libio/iofwrite.c (_IO_fwrite): Likewise.
2769 * time/time.h: Add missing __THROW for clock_getcpuclockid
2772 * elf/Makefile (distribute): Add dl-dtprocnum.h.
2773 * include/elf.h: Include also <dl-dtprocnum.h>.
2774 * elf/dl-deps.c: Likewise.
2775 * elf/dl-lookup.c: Likewise.
2776 * elf/dl-runtime.c: Likewise.
2777 * elf/dl-version.c: Likewise.
2778 * elf/do-rel.h: Likewise.
2779 * elf/dynamic-link.h: Likewise.
2780 * elf/link.h: Likewise.
2781 * elf/rtld.c: Likewise.
2782 * sysdeps/generic/dl-dtprocnum.h: New file.
2783 * sysdeps/ia64/dl-dtprocnum.h: New file.
2784 * sysdeps/mips/dl-dtprocnum.h: New file.
2785 * sysdeps/sparc/dl-dtprocnum.h: New file.
2787 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
2789 * elf/do-lookup.h: Add some __builtin_expect.
2791 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
2793 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
2794 (_dl_dynamic_weak): New variable.
2795 * elf/dl-support.c: Likewise.
2796 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
2797 * elf/do-lookup.h: If we find a weak definition treat it like a
2798 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
2799 case treat it like before.
2801 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
2803 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
2805 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
2806 using l_map_start and l_map_end.
2808 * elf/dl-version.c: Add __builtin_expect in many places.
2810 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
2813 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
2815 Lock for stdio stream list becomes global, for use in LinuxThreads.
2817 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
2818 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
2819 _IO_list_resetlock): New interface for iterating global list of
2820 streams without accessing the _IO_list_all global variable,
2821 and for manipulating the lock which protects this list.
2822 * libio/libioP.h: Likewise.
2823 * libio/Version: Add entries for the new functions.
2825 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
2826 pointer to _IO_FILE.
2828 2000-06-07 Ulrich Drepper <drepper@redhat.com>
2830 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
2831 BIT() must actually be BITw().
2833 * locale/programs/ld-ctype.c: Handle SP and space consistently.
2835 * locale/programs/charmap.c: Allow string arguments for
2836 code_set_name and repertoiremap.
2838 2000-06-07 Andreas Jaeger <aj@suse.de>
2840 * elf/Makefile: Build ldconfig only when building shared libraries.
2842 2000-06-07 Jakub Jelinek <jakub@redhat.com>
2844 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
2846 (fdimf, __fdim, fdim): Likewise.
2848 2000-06-07 Ulrich Drepper <drepper@redhat.com>
2850 * locale/findlocale.c: Add __builtin_expect in many places.
2851 * locale/loadlocale.c: Likewise.
2853 2000-06-06 Greg McGary <greg@mcgary.org>
2855 * sysdeps/mips/elf/start.S: Trim redundant code.
2857 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
2858 Use C comments throughout. Line up operands column with tabs.
2859 * sysdeps/powerpc/strchr.S: Likewise.
2860 * sysdeps/powerpc/strcmp.S: Likewise.
2861 * sysdeps/powerpc/strcpy.S: Likewise.
2862 * sysdeps/powerpc/strlen.S: Likewise.
2864 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
2865 Get low part of &__curbrk with @l.
2867 2000-06-06 Ulrich Drepper <drepper@redhat.com>
2869 * iconvdata/utf-16.c: Add __builtin_expect in many places.
2870 * iconvdata/unicode.c: Likewise.
2871 * iconvdata/uhc.c: Likewise.
2872 * iconvdata/t.61.c: Likewise.
2873 * iconvdata/sjis.c: Likewise.
2874 * iconvdata/johab.c: Likewise.
2875 * iconvdata/iso_6937.c: Likewise.
2876 * iconvdata/iso_6937-2.c: Likewise.
2877 * iconvdata/iso8859-1.c: Likewise.
2878 * iconvdata/iso646.c: Likewise.
2879 * iconvdata/iso-2022-kr.c: Likewise.
2880 * iconvdata/iso-2022-jp.c: Likewise.
2881 * iconvdata/iso-2022-cn.c: Likewise.
2882 * iconvdata/gbgbk.c: Likewise.
2883 * iconvdata/gbk.c: Likewise.
2884 * iconvdata/euc-kr.c: Likewise.
2885 * iconvdata/euc-jp.c: Likewise.
2886 * iconvdata/euc-cn.c: Likewise.
2888 2000-06-05 Ulrich Drepper <drepper@redhat.com>
2890 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
2891 * iconvdata/big5.c: Likewise.
2892 * iconvdata/ansi_x3.110.c: Likewise.
2893 * iconvdata/8bit-generic.c: Likewise.
2894 * iconvdata/8bit-gap.c: Likewise.
2895 * iconv/loop.c: Likewise.
2896 * iconv/gconv_db.c: Likewise.
2897 * iconv/gconv_dl.c: Likewise.
2898 * iconv/gconv_simple.c: Likewise.
2899 * iconv/skeleton.c: Likewise.
2901 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
2902 (struct __gconv_step_data): Rename __is_last to __flags.
2903 * iconv/gconv_close.c: Change all uses of __is_last.
2904 * iconv/skeleton.c: Likewise.
2905 * iconvdata/iso-2022-cn.c: Likewise.
2906 * iconvdata/iso-2022-jp.c: Likewise.
2907 * iconvdata/iso-2022-kr.c: Likewise.
2908 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
2909 Recognize IGNORE error handling, set flag, and remove from name.
2910 * iconv/loop.c (ignore_errors_p): Define.
2911 Add flags parameter to both functions.
2912 * iconv/skeleton.c: Pass flags to all conversion functions.
2913 * iconv/gconv_simple.c: Add flags parameter to all functions.
2914 Don't return error for invald error if ignore flag is set.
2915 (ucs4_internal_loop_single): Add missing pointer increment.
2916 (internal_ucs4le_loop_single): Likewise.
2917 * iconv/iconv_prog.c: Implement handling of -c parameter.
2918 * iconvdata/8bit-gap.c: Don't return error for invald error if
2920 * iconvdata/8bit-generic.c: Likewise.
2921 * iconvdata/ansi_x3.110.c: Likewise.
2922 * iconvdata/big5.c: Likewise.
2923 * iconvdata/big5hkscs.c: Likewise.
2924 * iconvdata/euc-cn.c: Likewise.
2925 * iconvdata/euc-jp.c: Likewise.
2926 * iconvdata/euc-kr.c: Likewise.
2927 * iconvdata/gbgbk.c: Likewise.
2928 * iconvdata/gbk.c: Likewise.
2929 * iconvdata/iso-2022-cn.c: Likewise.
2930 * iconvdata/iso-2022-jp.c: Likewise.
2931 * iconvdata/iso-2022-kr.c: Likewise.
2932 * iconvdata/iso646.c: Likewise.
2933 * iconvdata/iso8859-1.c: Likewise.
2934 * iconvdata/iso_6937-2.c: Likewise.
2935 * iconvdata/iso_6937.c: Likewise.
2936 * iconvdata/johab.c: Likewise.
2937 * iconvdata/sjis.c: Likewise.
2938 * iconvdata/t.61.c: Likewise.
2939 * iconvdata/uhc.c: Likewise.
2940 * iconvdata/unicode.c: Likewise.
2941 * iconvdata/utf-16.c: Likewise.
2942 * libio/fileops.c: Likewise.
2943 * libio/iofwide.c: Likewise.
2944 * wcsmbs/btowc.c: Likewise.
2945 * wcsmbs/mbrtowc.c: Likewise.
2946 * wcsmbs/mbsnrtowcs.c: Likewise.
2947 * wcsmbs/mbsrtowcs.c: Likewise.
2948 * wcsmbs/wcrtomb.c: Likewise.
2949 * wcsmbs/wcsnrtombs.c: Likewise.
2950 * wcsmbs/wcsrtombs.c: Likewise.
2951 * wcsmbs/wctob.c: Likewise.
2953 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
2956 2000-06-04 Ulrich Drepper <drepper@redhat.com>
2958 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
2959 counter for the object we are releasing, just decrement it.
2960 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
2962 2000-06-04 Jakub Jelinek <jakub@redhat.com>
2964 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
2967 2000-06-04 Ulrich Drepper <drepper@redhat.com>
2969 * iconvdata/big5hkscs.c: New file.
2970 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
2972 * iconvdata/gconv-modules: Add entry for new module.
2973 * iconvdata/Makefile (modules): Add BIG5HKSCS.
2974 (distribute): Add big5hkscs.c.
2976 2000-06-01 Jakub Jelinek <jakub@redhat.com>
2978 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
2979 inlines to match prototypes in mathcalls.h.
2980 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
2981 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
2982 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
2983 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2985 2000-06-03 Ulrich Drepper <drepper@redhat.com>
2987 * elf/elf.h (SHT_SUNW_move): Define.
2989 * elf/elf.h: Add more Solaris compatiblity definitions.
2991 2000-06-03 Andreas Jaeger <aj@suse.de>
2993 * sysdeps/powerpc/dl-start.S: Close open comment.
2995 2000-06-03 Jakub Jelinek <jakub@redhat.com>
2997 * inet/Versions: Fix typo in rresvport_af export.
2999 2000-06-02 Ulrich Drepper <drepper@redhat.com>
3001 * math/tgmath.h: Pretty print.
3003 2000-06-02 Andreas Jaeger <aj@suse.de>
3005 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
3006 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3008 2000-06-02 Ulrich Drepper <drepper@redhat.com>
3010 * elf/rtld.c (process_envvars): Test for = after variable name.
3012 2000-06-01 Ulrich Drepper <drepper@redhat.com>
3014 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
3015 have extra call to __gmon_start__, use the pointer we already have.
3017 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
3020 * sysdeps/i386/elf/setjmp.S: Work around change is recent
3021 binutils. gas now emits a jump through the PLT instead of a
3022 relative jump if the jump target is an exported symbol.
3024 2000-05-31 Ulrich Drepper <drepper@redhat.com>
3026 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
3028 2000-05-31 Andreas Jaeger <aj@suse.de>
3030 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
3033 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
3034 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3036 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
3038 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
3040 2000-05-30 Ulrich Drepper <drepper@redhat.com>
3042 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
3044 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
3045 * locale/localeconv.c: Make function versioned (with same definition).
3047 * elf/Makefile (modules-names): Strip before using it.
3049 2000-05-30 Andreas Jaeger <aj@suse.de>
3051 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
3052 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
3053 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
3054 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
3055 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
3056 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
3058 2000-05-29 Ulrich Drepper <drepper@redhat.com>
3060 * Makefile: Add GNU make magic.
3062 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
3064 * inet/rcmd.c: Remove __P. Remove unused variables.
3065 (iruserfopen): Make first parameter const.
3066 (ruserok_sa): Return result of ruserok2_sa.
3067 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
3068 * inet/rexec.c: Remove unused variables. Other small cleanups.
3069 * inet/ruserpass.c: Remove __P. Remove unused variables.
3070 (ruserpass): Check results of memory allocation.
3071 * include/netdb.h: Add prototype for ruserpass.
3073 2000-05-29 Andreas Jaeger <aj@suse.de>
3075 * elf/readlib.c (interpreters): Use LD_SO since this is supported
3078 2000-05-29 Jakub Jelinek <jakub@redhat.com>
3080 * inet/rcmd.c (rresvport_af): Use correct port number.
3082 2000-05-26 Andreas Schwab <schwab@suse.de>
3084 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
3085 entries in all-sonames.
3086 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
3087 preserving the old name if different for compatibility.
3089 2000-05-29 Ulrich Drepper <drepper@redhat.com>
3091 * posix/Makefile (tests): Add tst-spawn.
3092 (tst-spawn-ARGS): New variable.
3093 * posix/tst-spawn.c: New file.
3095 * posix/spawn_faction_addclose.c: Correctly account for new entry.
3096 * posix/spawn_faction_adddup2.c: Likewise.
3097 * posix/spawn_faction_addopen.c: Likewise.
3098 * posix/spawni.c: Correctly test for success of dup2 calls.
3100 * posix/tst-preadwrite.c: Check success of malloc call.
3102 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3104 * posix/Makefile (tests): Add tst-exec.
3105 (tst-exec-ARGS): New variable.
3106 * posix/tst-exec.c: New file.
3108 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
3110 2000-05-04 Andreas Jaeger <aj@suse.de>
3112 * string/string.h: Remove __strdup prototype, it's not needed in
3115 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3117 * posix/Makefile (tests): Add tst-fork.
3118 * posix/tst-fork.c: New file.
3120 * resolv/inet_pton.c: Loose __P.
3122 2000-05-21 Jakub Jelinek <jakub@redhat.com>
3124 * libio/libioP.h (_IO_CHECK_WIDE): Define.
3125 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
3126 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
3127 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
3128 _IO_CHECK_WIDE fails.
3130 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3132 * po/da.po: New file.
3134 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
3135 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
3137 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
3138 (Other iconv Implementations): Fix typo.
3139 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
3141 2000-05-27 Andreas Jaeger <aj@suse.de>
3143 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
3145 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
3146 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
3147 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3148 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3149 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
3150 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
3152 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
3153 endianness to decide how to pass arguments.
3154 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3156 * elf/vismain.c: Use test-skeleton interface.
3157 (TEST_FUNCTION): New macro.
3158 (do_test): Renamed from main.
3160 2000-05-27 Ulrich Drepper <drepper@redhat.com>
3162 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
3163 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
3165 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
3166 handling of AI_V4MAPPED flag.
3168 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
3169 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
3170 perform lookup for T_A type and tell getanswer_r to convert the
3171 result with new argument.
3172 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
3173 Don't convert addresses from IPv4 to IPv6 here.
3174 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
3175 IPv6 is wanted. Allow qtype and type from reply to disagree if
3176 IPv4 mapping has to be done. Perform mappings if required by the
3177 caller and not if RES_USE_INET6 bit in _res.options is set.
3178 Add several __builtin_expect.
3180 2000-05-26 Ulrich Drepper <drepper@redhat.com>
3182 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
3184 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
3187 * posix/tst-preadwrite.c: Allow parallel execution of
3188 tst-preadwrite and tst-preadwrite64.
3190 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
3191 * posix/tst-truncate.c: New file.
3192 * posix/tst-truncate64.c: New file.
3194 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
3197 * posix/Makefile (tests): Add tst-preadwrite64.
3198 * posix/tst-preadwrite.c: Alloc file being used also for testing
3199 pread64 and pwrite64.
3200 * posix/tst-preadwrite64.c: New file.
3202 2000-05-26 Andreas Jaeger <aj@suse.de>
3204 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
3205 of arguments dependend on endianness.
3206 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
3208 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
3210 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
3211 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
3212 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3213 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3215 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
3216 endianness to check how to pass argument.
3217 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3219 * elf/ldconfig.h: Update parameter list for process_elf_file.
3221 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
3222 Add parameter file_length and pass it ot process_elf*file.
3224 * sysdeps/generic/readelflib.c (check_ptr): New.
3225 (process_elf_file): Use check_ptr to check all accesses to the
3226 mmapped file. Add parameter file_length.
3228 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
3231 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
3232 Closes PR libc/1573, reported by Bradley White
3233 <bww@laurelnetworks.com>.
3235 2000-05-25 Ulrich Drepper <drepper@redhat.com>
3237 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
3238 __FAST_MATH__ is defined.
3240 2000-05-22 Andreas Jaeger <aj@suse.de>
3242 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
3243 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
3245 * manual/math.texi (FP Function Optimizations): Document gcc
3246 -ffast-math behaviour with mathinlines.
3248 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
3249 functions unless -ffast-math is given to gcc.
3251 2000-05-23 Jakub Jelinek <jakub@redhat.com>
3253 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
3254 __sincosl): Guard with __USE_GNU.
3256 2000-05-24 Ulrich Drepper <drepper@redhat.com>
3258 * csu/Makefile (routines): Add check_fds.
3259 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
3260 binaries. Add various __builtin_expect.
3261 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
3262 * sysdeps/generic/check_fds.c: ...here. New file.
3264 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
3265 binaries if file /etc/suid-debug is available.
3267 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
3268 and wcseqorder members.
3269 (struct locale_collate_t): Likewise.
3270 (collate_finish): Assign collation sequence value to each character.
3271 Create tables for output.
3272 (collate_output): Write out tables with collation sequence information.
3273 * locale/C-collate.c: Provide C locale data for collation sequence
3275 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
3276 _NL_COLLATE_COLLSEQWC.
3277 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
3278 _NL_COLLATE_COLLSEQWC.
3279 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
3280 include fnmatch_loop.c.
3281 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
3282 character is matched by range expression. Use collation sequence
3283 table. Outside glibc fall back on simple character value comparison.
3285 2000-05-24 Andreas Jaeger <aj@suse.de>
3287 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
3290 * intl/Makefile: Run gettext-test only if msgfmt is available.
3292 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
3293 Define it for newer kernels.
3295 2000-05-23 Ulrich Drepper <drepper@redhat.com>
3297 * elf/dl-sym.c: Minor cleanups.
3299 * configure.in: Add test for .protected.
3300 * config.make.in: Add have-protected variable.
3301 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
3302 (tests-vis-yes): Add vismain.
3303 (modules-names): Add $(modules-vis-$(have-protected)).
3304 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
3305 Add rules to generate and run vismain.
3306 * elf/vismain.c: New file.
3307 * elf/vismod1.c: New file.
3308 * elf/vismod2.c: New file.
3309 * elf/vismod3.c: New file.
3311 2000-05-23 Andreas Jaeger <aj@suse.de>
3313 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
3315 * manual/search.texi (Array Sort Function): Document that qsort is
3316 not necessarily in-place.
3318 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
3319 Closes PR libc/1731.
3321 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
3322 * dirent/scandir64.c: Likewise.
3323 * pwd/getpw.c: Likewise.
3324 * stdlib/bsearch.c (bsearch): Likewise.
3325 * stdlib/tst-strtoll.c: Likewise.
3326 * localedata/collate-test.c: Likewise.
3327 * localedata/xfrm-test.c: Likewise.
3328 * posix/bsd-getpgrp.c: Likewise.
3329 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
3330 * sysdeps/generic/bits/siginfo.h: Likewise.
3331 * sysdeps/generic/bits/sockaddr.h: Likewise.
3332 * sysdeps/generic/sys/swap.h: Likewise.
3333 * sysdeps/generic/sys/sysinfo.h: Likewise.
3334 * sysdeps/generic/vfork.c: Likewise.
3335 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
3336 * sysdeps/mach/hurd/fdopen.c: Likewise.
3337 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
3338 * sysdeps/unix/sysv/linux/poll.c: Likewise.
3339 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3340 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3341 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3342 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3343 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
3345 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
3346 * shadow/lckpwdf.c: Likewise.
3347 * stdlib/tst-strtol.c: Likewise.
3348 * sysdeps/generic/tcsetattr.c: Likewise.
3349 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3350 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3352 2000-05-22 Jakub Jelinek <jakub@redhat.com>
3354 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
3355 free it and set to (void *) -1.
3357 2000-05-22 Jakub Jelinek <jakub@redhat.com>
3359 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
3360 not the second character in the range.
3361 * stdio-common/tstscanf.c (main): Add testcase for the above.
3362 Reported by jik@kamens.brookline.ma.us.
3364 2000-05-21 H.J. Lu <hjl@gnu.org>
3366 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
3367 with noexec and noplt parameter.
3368 (do_lookup): Likewise.
3370 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
3371 do_lookup. Support STV_PROTECTED.
3372 (_dl_lookup_symbol_skip): Likewise.
3373 (_dl_lookup_versioned_symbol): Likewise.
3374 (_dl_lookup_versioned_symbol_skip): Likewise.
3376 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
3378 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
3380 2000-05-21 Jakub Jelinek <jakub@redhat.com>
3382 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
3383 * sysdeps/i386/bits/huge_val.h: Likewise.
3384 * sysdeps/ieee754/bits/huge_val.h: Likewise.
3385 * sysdeps/m68k/bits/huge_val.h: Likewise.
3386 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
3387 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
3389 2000-05-22 Andreas Jaeger <aj@suse.de>
3391 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
3394 2000-05-19 Andreas Jaeger <aj@suse.de>
3396 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
3397 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
3398 breaks compilation without linuxthreads.
3400 2000-05-21 Ulrich Drepper <drepper@redhat.com>
3402 * sysdeps/ia64/memccpy.S: New file.
3403 * sysdeps/ia64/memchr.S: New file.
3404 * sysdeps/ia64/memcmp.S: New file.
3405 * sysdeps/ia64/memcpy.S: New file.
3406 * sysdeps/ia64/memmove.S: New file.
3407 * sysdeps/ia64/memset.S: New file.
3408 * sysdeps/ia64/strcat.S: New file.
3409 * sysdeps/ia64/strchr.S: New file.
3410 * sysdeps/ia64/strcmp.S: New file.
3411 * sysdeps/ia64/strcpy.S: New file.
3412 * sysdeps/ia64/strlen.S: New file.
3413 * sysdeps/ia64/strncmp.S: New file.
3414 * sysdeps/ia64/strncpy.S: New file.
3415 * sysdeps/ia64/softpipe.h: New file.
3416 Patches by Dan Pop <Dan.Pop@cern.ch>.
3418 * manual/memory.texi: Document memory handling functions (mlock,
3419 munlock, mlockall, munlockall, brk, and sbrk)
3420 * manual/time.texi: Document timespec and friends.
3421 * manual/conf.texi: Fix references.
3422 * manual/ctype.texi: Likewise.
3423 * manual/errno.texi: Likewise.
3424 * manual/intro.texi: Likewise.
3425 * manual/locale.texi: Likewise.
3426 * manual/sysinfo.texi: Likewise.
3427 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
3429 2000-05-09 Jes Sorensen <jes@linuxcare.com>
3431 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
3432 * sysdeps/ia64/dl-lookupcfg.h: ...here.
3434 2000-05-21 Jakub Jelinek <jakub@redhat.com>
3436 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
3439 2000-05-21 Ulrich Drepper <drepper@redhat.com>
3441 * locale/locale.h (struct lconv): Add new elements from ISO C99.
3442 * locale/localeconv.c: Initialize new elements from ISO C99.
3443 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
3444 new standard elements.
3445 * locale/categories.def: Adjust accordingly.
3447 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
3448 * iconv/iconv.c: Likewise.
3449 * conform/data/iconv.h-data: Likewise.
3450 * iconv/iconv_prog.c (process_block): Remove const from second
3452 (main): Remove const from addr definition.
3453 * manual/charset.texi (Generic Conversion Interface): Remove from
3454 inbuf parameter of iconv.
3456 * intl/dcigettext.c: Fix typo in comment.
3458 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
3460 * resolv/res_libc.c (_res): Initialize _sock to -1.
3462 2000-05-18 Jakub Jelinek <jakub@redhat.com>
3464 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
3465 (fopencookie@@GLIBC_2.2): New.
3466 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
3467 (fopencookie@GLIBC_2.0): New.
3468 * libio/Versions: Add fopencookie to GLIBC_2.2.
3470 2000-05-18 Andreas Jaeger <aj@suse.de>
3472 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
3473 Closes PR libc/1731.
3475 * manual/arith.texi (Parsing of Integers): Fix typo.
3476 Closes PR libc/1744, reported by blp@gnu.org.
3478 2000-05-17 Jakub Jelinek <jakub@redhat.com>
3480 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
3481 __extension__ to hexadecimal floating constant notation.
3482 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
3484 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
3485 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
3487 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
3488 HUGE_VALL): Likewise.
3489 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
3490 HUGE_VALL): Likewise.
3491 (HUGE_VALL): Set to HUGE_VAL on sparc32.
3493 2000-05-17 Andreas Jaeger <aj@suse.de>
3495 * string/envz.h: Add pure attributes if possible.
3497 * string/argz.h: argz_count is a pure function.
3499 * string/strings.h: Add pure and const attributes if possible.
3501 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
3502 possibly searching through the whole memory.
3503 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
3505 2000-05-17 Jakub Jelinek <jakub@redhat.com>
3507 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
3509 (_dl_cache_check_flags): Likewise.
3510 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
3513 2000-05-17 Andreas Jaeger <aj@suse.de>
3515 * manual/creature.texi (Feature Test Macros): Remove paragraph
3516 since the description is wrong.
3517 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
3519 * scripts/config.sub: New version.
3520 * scripts/config.guess: Likewise.
3521 * manual/texinfo.tex: Likewise.
3523 * time/test_time.args: Removed.
3524 * time/Makefile (test_time-ARGS): Added contents here instead.
3526 * posix/tstgetopt.args: Removed.
3527 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
3529 * Rules: Allow arguments for test files to be specified in
3530 Makefile with testname-ARGS; remove rules with .args in it.
3532 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
3533 remove old bogus rule for opendir-tst1.args.
3535 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
3537 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
3538 into objdir. This allows a readonly sourcetree.
3539 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
3541 2000-05-16 Andreas Jaeger <aj@suse.de>,
3542 David Huggins-Daines <dhd@linuxcare.com>
3544 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
3545 cache_data in case of only new cache format correctly.
3547 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
3550 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
3551 struct cache_file_new.
3553 * elf/cache.c (save_cache): Fix str_offset if only new cache is
3556 * elf/cache.c (save_cache): Align struct new_file_cache.
3557 (print_cache): Likewise.
3559 2000-05-13 Jakub Jelinek <jakub@redhat.com>
3561 * elf/soinit.c (__libc_global_ctors): Move
3562 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
3563 * resolv/resolv.h (__res_state): Added __attribute__((const)).
3564 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
3565 variable, don't define it to __res_state call.
3567 2000-05-13 Andreas Jaeger <aj@suse.de>
3569 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
3571 (AF_PPPOX): Likewise.
3572 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
3573 (AF_PPPOX): Likewise.
3575 2000-05-12 Andreas Jaeger <aj@suse.de>
3577 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
3578 Reported by tmoestl@gmx.net, closes PR libc/1732.
3580 2000-05-11 Jan Hubicka <jh@suse.cz>
3582 * misc/sys/cdefs.h: Add support for pure attribute.
3584 * include/string.h: Add __attribute_pure__ to various functions.
3585 * string/string.h: Likewise.
3587 2000-05-10 Jakub Jelinek <jakub@redhat.com>
3589 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
3591 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3593 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
3595 2000-05-10 Jakub Jelinek <jakub@redhat.com>
3597 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
3598 at proper place. Compute the high nibble correctly.
3600 2000-05-09 Jakub Jelinek <jakub@redhat.com>
3602 * elf/ldconfig.c: Include elf.h.
3604 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
3605 (_dl_vsym): Likewise.
3606 Reported by Owen Taylor <otaylor@redhat.com>.
3608 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
3611 2000-05-08 Andreas Jaeger <aj@suse.de>
3613 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
3615 * intl/bindtextdom.c (set_binding_values): Add prototype.
3617 2000-05-08 Jakub Jelinek <jakub@redhat.com>
3619 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
3620 call to elf_machine_fixup_plt.
3621 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3622 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3624 2000-05-08 Jakub Jelinek <jakub@redhat.com>
3626 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
3627 they are not dlclose'd from underneath us.
3629 2000-05-08 Andreas Schwab <schwab@suse.de>
3631 * posix/execle.c: Fix size parameter of memcpy.
3633 2000-05-08 Andreas Schwab <schwab@suse.de>
3635 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
3636 getpagesize syscall if available.
3638 2000-05-08 Andreas Jaeger <aj@suse.de>
3640 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
3643 2000-05-08 Jakub Jelinek <jakub@redhat.com>
3645 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
3646 sizeof(struct link_map *) chunks, not in bytes.
3648 2000-05-07 Ulrich Drepper <drepper@redhat.com>
3650 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
3651 only needed for locale.
3652 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
3653 It's only needed for catgets.
3654 Patches by Greg McGary <gkm@eng.ascend.com>.
3656 2000-05-07 Mark Kettenis <kettenis@gnu.org>
3658 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
3659 Remove duplicate <errno.h> include. Remove inclusion of
3660 <libintl.h> and "nsswitch.h".
3661 (set_cloexec_flag): New function, broken out of dbopen.
3662 (dbopen): Changed return type to `enum
3663 nss_status'. Mostly rewritten to make sure that we do not report
3664 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
3665 (internal_setent): Change return type to nss_status.
3666 Document, and make sure that the function
3667 behaves accordingly. Make dynamically loading the database
3668 library really thread-safe and return NSS_STATUS_UNAVAIL if it
3670 (db_cursor): Return ENOMEM is memory allocation failed. Remove
3672 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
3674 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
3675 c_get function member.
3676 * nss/nss_db/nss_db.h: Add and tweak some comments.
3677 (DBT): Move typedef before NSS_DBC typedef.
3678 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
3680 2000-05-07 H.J. Lu <hjl@gnu.org>
3682 * csu/initfini.c: Moved to ....
3683 * sysdeps/generic/initfini.c: ...here.
3685 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
3687 2000-05-07 Ulrich Drepper <drepper@redhat.com>
3689 * manual/resource.texi: Document POSIX scheduling functions.
3690 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
3692 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
3693 reading anything. Reported by Andries.Brouwer@cwi.nl.
3695 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
3696 for x since promotion in comparison might leads to unexpected
3697 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
3699 * iconv/Makefile (tests): Add tst-iconv1.
3700 * iconv/tst-iconv1.c: New file.
3701 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
3702 empty input buffer over full output buffer.
3703 (ucs4_internal_loop): Likewise.
3704 (ucs4_internal_loop_unaligned): Likewise.
3705 (internal_ucs4le_loop): Likewise.
3706 (internal_ucs4le_loop_unaligned): Likewise.
3707 (ucs4le_internal_loop): Likewise.
3708 (ucs4le_internal_loop_unaligned): Likewise.
3709 Reported by yaoz@nih.gov.
3711 2000-05-06 Bruno Haible <haible@clisp.cons.org>
3713 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
3714 returned != __GCONV_OK, there is nothing to clean up.
3716 2000-05-06 Bruno Haible <haible@clisp.cons.org>
3718 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
3719 OUTPUT_CHARSET environment variables.
3721 2000-05-06 Andreas Jaeger <aj@suse.de>
3723 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
3724 (struct cache_file_new): New.
3725 (struct file_entry): New (moved from cache.c).
3726 (struct cache_file): New (moved from cache.c).
3728 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
3729 from _dl_load_cache_lookup.
3730 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
3731 the different cache formats.
3732 New variable cache_new for new format.
3734 * elf/ldconfig.h: Change according to changes in cache.c and
3735 ldconfig.c; remove cache_libcmp; add opt_format.
3737 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
3738 stuff that's defined in those headers.
3739 Add hwcap to struct lib_entry.
3740 (opt_format): New variable to select cache format.
3741 (options): Add format parameter.
3742 (is_hwcap): New function.
3743 (path_hwcap): New function.
3744 (parse_opt): Handle new format parameter.
3745 (search_dir): Handle hwcap, search also subdirectories with hwcap.
3747 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
3748 ldconfig is part of glibc.
3749 Include dl-cache.h and remove stuff that's defined there.
3750 (struct cache_entry): Add new member hwcap.
3751 (print_entry): Print hwcap, cleanup a bit.
3752 (print_cache): Print new and old formats.
3753 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
3754 (save_cache): Save new and old formats.
3755 (add_to_cache): Handle hwcap.
3757 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
3758 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
3759 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
3760 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
3761 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
3762 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
3764 2000-05-05 Bruno Haible <haible@clisp.cons.org>
3766 * intl/dcigettext.c (alignof): New macro.
3767 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
3768 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
3771 2000-05-05 Bruno Haible <haible@clisp.cons.org>
3773 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
3776 2000-05-06 Ulrich Drepper <drepper@redhat.com>
3778 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
3779 (mempcpy): Correct typo is parameter list.
3781 2000-05-06 Andreas Jaeger <aj@suse.de>
3783 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
3784 functions unless -ffast-math is given to gcc.
3786 2000-05-06 Ulrich Drepper <drepper@redhat.com>
3788 * po/ko.po: Update from translation team.
3790 2000-05-05 Ulrich Drepper <drepper@redhat.com>
3792 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
3793 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
3794 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
3795 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
3796 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
3797 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
3799 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
3800 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
3801 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
3803 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
3804 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
3805 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
3806 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
3808 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
3809 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
3811 2000-05-05 Jes Sorensen <jes@linuxcare.com>
3813 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
3814 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
3816 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
3817 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
3819 * sysdeps/ia64/Implies: New file.
3820 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
3821 * sysdeps/ia64/Makefile: New file.
3822 * sysdeps/ia64/gmp-mparam.h: New file,
3824 * sysdeps/ia64/elf/start.S: New file.
3826 * sysdeps/ia64/bits/fenv.h: New file.
3828 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
3830 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
3832 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
3834 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
3835 ia64 has 64 bit .hash entries just as the Alpha.
3837 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
3839 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
3841 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
3843 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
3844 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
3845 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
3846 * sysdeps/ia64/fpu/fegetenv.c: New file.
3847 * sysdeps/ia64/fpu/fegetexcept.c: New file.
3848 * sysdeps/ia64/fpu/fegetround.c: New file.
3849 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
3850 * sysdeps/ia64/fpu/fesetenv.c: New file.
3851 * sysdeps/ia64/fpu/fesetround.c: New file.
3852 * sysdeps/ia64/fpu/feupdateenv.c: New file.
3853 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
3854 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
3855 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
3856 * sysdeps/ia64/fpu/ftestexcept.c: New file.
3858 2000-05-05 Andreas Jaeger <aj@suse.de>
3860 * misc/tst-tsearch.c (main): Correct type for initstate argument.
3862 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
3863 (_dl_string_hwcap): New, does nothing.
3865 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
3866 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
3867 (_dl_string_hwcap): New function, converts from string to hwcap
3869 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
3870 (_DL_HWCAP_COUNT): New.
3871 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
3872 (_dl_string_hwcap): New function, converts from string to hwcap
3874 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
3875 (_DL_HWCAP_COUNT): New.
3876 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
3877 (_dl_string_hwcap): New function, converts from string to hwcap
3880 2000-05-05 Ulrich Drepper <drepper@redhat.com>
3882 * elf/Makefile (distribute): Add dl-lookupcfg.h.
3883 * sysdeps/ia64/Dist: New file.
3885 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
3886 parameter to mprotect and for variable assignments.
3888 2000-05-03 Jes Sorensen <jes@linuxcare.com>
3890 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
3891 validity of map before dereferencing it.
3893 * elf/dl-reloc.c (RESOLVE_MAP): Define.
3895 2000-05-02 Jes Sorensen <jes@linuxcare.com>
3897 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
3898 lookup to the arguments to elf_machine_fixup_plt().
3900 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
3901 of the symbol being resolved to input argument list and make the
3902 function return the pointer to the reloc.
3904 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
3905 return valuie to lookup_t and return the value.
3906 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
3907 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
3908 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
3909 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
3910 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
3911 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
3913 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
3914 Make it an inline function returning value after calling
3915 __elf_machine_fixup_plt().
3917 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
3920 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
3921 obtain the symbol address.
3923 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
3924 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
3926 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
3927 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
3930 2000-04-28 Jes Sorensen <jes@linuxcare.com>
3932 * elf/dl-runtime.c (fixup): Use the portable macros to get the
3933 symbol address of an object.
3935 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
3936 the symbol address of an object.
3938 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
3939 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
3940 (_dl_lookup_symbol_skip): Likewise.
3941 (_dl_lookup_versioned_symbol): Likewise.
3942 (_dl_lookup_versioned_symbol_skip): Likewise.
3944 2000-04-27 Jes Sorensen <jes@linuxcare.com>
3946 * elf/rtld.c (_dl_start): Get the function pointer return address
3947 via _dl_start_address for architectures that need a function
3948 pointer descriptor rather than just a pointer (ia64).
3950 * sysdeps/generic/dl-lookupcfg.h: New file.
3951 * sysdeps/ia64/dl-lookupcfg.h: New file.
3952 * sysdeps/ia64/dl-machine.h: New file.
3953 * sysdeps/ia64/dl-symaddr.c: New file.
3954 * sysdeps/ia64/dl-fptr.c: New file.
3956 * elf/elf.h: Add IA-64 specific definitions.
3958 2000-05-04 Jakub Jelinek <jakub@redhat.com>
3960 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
3963 2000-05-04 Jakub Jelinek <jakub@redhat.com>
3965 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
3968 2000-04-11 Geoff Keating <geoffk@cygnus.com>
3970 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
3971 symbol. Call _dl_init rather than the old way.
3973 2000-05-04 Ulrich Drepper <drepper@redhat.com>
3975 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
3976 test for pointer in range of DSO address space.
3978 2000-05-04 Andreas Jaeger <aj@suse.de>
3980 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
3982 2000-05-03 Ulrich Drepper <drepper@redhat.com>
3984 * locale/findlocale.c (_nl_find_locale): Add new parameter to
3985 calls of _nl_make_l10nflist.
3987 * libio/stdio.h: Make fseeko and ftello prototypes available is
3988 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
3990 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
3991 real unsetenv implementation from 1999-07-29 [PR libc/1714].
3993 2000-05-03 Bruno Haible <haible@clisp.cons.org>
3995 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
3996 before calling tfind.
3998 2000-03-05 Jakub Jelinek <jakub@redhat.com>
4000 * resolv/resolv.h (res_querydomain): Remove redefinition to
4001 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
4003 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4005 * po/gl.po: Update from translation team.
4007 * manual/intro.texi (Program Basics): Change section title.
4008 * manual/process.texi: Fix reference.
4009 (Executing a File): Add reference exec in other section.
4010 * manual/signal.texi: Fix reference.
4011 * manual/startup.texi: Document syscall function.
4012 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
4014 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4016 * intl/libintl.h (bind_textdomain_codeset): New declaration.
4017 * intl/bindtextdom.c (set_binding_values): New function.
4018 (bindtextdomain): Call it.
4019 (bind_textdomain_codeset): New function.
4020 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
4021 (free_mem): Free each binding's codeset.
4022 * intl/gettextP.h (struct binding): Add codeset field.
4023 (_nl_find_domain): Add domainbinding argument.
4024 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
4025 Pass it to _nl_make_l10nflist.
4026 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
4027 (_nl_make_l10nflist): Add domainbinding argument.
4028 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
4029 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
4030 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
4032 * manual/message.texi: New node "Charset conversion in gettext".
4034 2000-04-30 Bruno Haible <haible@clisp.cons.org>
4036 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
4037 appropriate. Handle possible __read error.
4039 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4041 * intl/gettextP.h (__builtin_expect): Define as empty if not a
4043 * intl/loadinfo.h (__builtin_expect): Likewise.
4044 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
4045 __builtin_expect where appropriate.
4046 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4047 * intl/localealias.c (extend_alias_table): Return an error indicator.
4048 (read_alias_file): Bail out if extend_alias_table fails.
4050 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4052 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
4053 * intl/localealias.c: Likewise.
4055 2000-05-01 Bruno Haible <haible@clisp.cons.org>
4057 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
4058 Initialize domain->plural and domain->nplurals even if there is no
4061 2000-05-01 Bruno Haible <haible@clisp.cons.org>
4063 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
4064 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
4065 In case of failure, goto converted.
4067 2000-05-01 Bruno Haible <haible@clisp.cons.org>
4069 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
4070 * iconv/gconv_int.h (norm_add_slashes): Move to here.
4071 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
4074 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4076 * intl/dcigettext.c (transcmp): Compare the domains as well.
4077 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
4079 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
4082 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4084 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
4085 Reported by Bruno Haible.
4087 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4089 * manual/arith.texi: Remove @w from @itemize.
4091 2000-05-02 Andreas Jaeger <aj@suse.de>
4093 * conform/data/tar.h-data: Add some checks for specific values.
4095 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
4098 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
4101 * conform/data/netinet/in.h-data: Add exact checks for the values
4102 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
4104 * conform/data/float.h-data: Add some minimal values.
4106 * conform/conformtest.pl: Test for macros with string constants,
4107 check for minimum and maximum values.
4108 Add limits.h to headers.
4110 * conform/data/cpio.h-data: Test for value of MAGIC.
4112 * conform/data/limits.h-data: New file.
4114 2000-04-30 Bruno Haible <haible@clisp.cons.org>
4116 * math/Makefile (headers): Add bits/fenvinline.h.
4118 2000-05-01 Ulrich Drepper <drepper@redhat.com>
4120 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
4121 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
4123 * posix/Versions: Change posix_spawnattr_getdefault and
4124 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
4125 and posix_spawnattr_setsigdefault respectively.
4126 * posix/spawn.h: Likewise.
4127 * posix/spawnattr_getdefault.h: Likewise.
4128 * posix/spawnattr_setdefault.h: Likewise.
4129 * conform/data/spawn.h-data: Likewise.
4131 2000-05-01 Andreas Jaeger <aj@suse.de>
4133 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
4135 2000-04-30 Ulrich Drepper <drepper@redhat.com>
4137 * manual/sysinfo.texi: Document getdomainname, setdomainname
4139 * manual/string.texi: Fix typo.
4140 * manual/terminal.texi: Document gtty and stty.
4141 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4143 2000-04-30 Andreas Jaeger <aj@suse.de>
4145 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
4146 accordance with Austin Draft.
4148 2000-04-30 Ulrich Drepper <drepper@redhat.com>
4150 * catgets/gencat.c (read_input_file): Use isblank and not isspace
4151 to recognize second character in comment line.
4153 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
4154 ENOBUFS if we are out of memory.
4156 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
4157 available if __USE_XOPEN2K.
4158 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
4159 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4160 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
4161 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
4162 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
4163 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4164 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
4165 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
4167 2000-04-29 Ulrich Drepper <drepper@redhat.com>
4169 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
4170 Recognize option -s, -c, and -l.
4172 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
4174 * nscd/nscd.c: Start new session for nscd, drop privilegs
4175 to configured user if requested and no -S parameter are used.
4176 * nscd/nscd.conf: Add new option "server-user".
4177 * nscd/nscd_conf.c: Add support for new "server-user" option.
4178 * nscd/nscd.h: Add declaration for server_user variable.
4179 Based on patch by Chris Wing <wingc@engin.umich.edu>
4181 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4183 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
4184 that changing the __restore and __restore_rt signal return code
4187 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4189 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
4192 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4194 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
4196 2000-04-29 Ulrich Drepper <drepper@redhat.com>
4198 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
4199 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
4201 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
4202 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
4203 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
4204 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
4205 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
4206 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
4207 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
4208 posix_fallocate, and posix_madvise.
4209 * conform/data/netdb.h-data: New file.
4210 * conform/data/pthread.h-data: Add pthread_barrier_t,
4211 pthread_barrierattr_t, pthread_barrier_destroy,
4212 pthread_barrier_init, pthread_barrier_wait,
4213 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
4214 pthread_barrierattr_init, pthread_barrierattr_setpshared,
4215 pthread_condattr_getclock, pthread_condattr_setclock,
4216 pthread_getcpuclockid, pthread_mutex_timedlock,
4217 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
4218 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
4219 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
4220 * conform/data/sched.h-data: Add sched_ss_low_priority,
4221 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
4223 * conform/data/semaphore.h-data: Add sem_timedwait.
4224 * conform/data/signal.h-data: Add SIGIO.
4225 * conform/data/spawn.h-data: New file.
4226 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
4227 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
4228 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
4229 Fix typo in gmtime_r definition.
4230 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
4231 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
4232 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
4233 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
4234 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
4235 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
4236 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
4237 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
4238 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
4239 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
4240 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
4241 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
4242 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
4243 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
4244 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
4245 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
4246 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
4247 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
4248 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
4249 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
4250 typo in off_t definition.
4251 * conform/data/net/if.h-data: New file.
4252 * conform/data/netinet/in.h-data: New file.
4253 * conform/data/netinet/tcp.h-data: New file.
4254 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
4255 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
4256 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
4257 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
4258 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
4259 and posix_typed_mem_open.
4260 * conform/data/sys/socket.h-data: New file.
4261 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
4262 * conform/data/sys/types.h-data: Add pthread_barrier_t,
4263 pthread_barrierattr_t, and pthread_spinlock_t.
4264 * conform/data/sys/un.h-data: New file.
4265 * conform/data/sys/utsname.h-data: New file.
4267 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
4269 * inet/gethstbyad.c (gethostbyname): Likewise.
4270 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
4271 * inet/getipnodebyad.c (getipnodebyad): Likewise.
4272 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
4273 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
4275 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
4276 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
4277 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
4278 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
4279 * resolv/gethnamaddr.c (gethostbyname): Likewise.
4280 * resolv/netdb.h (struct hostent): Fix type of h_length member.
4281 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
4282 and second parameter.
4284 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
4287 2000-04-29 Andreas Jaeger <aj@suse.de>
4289 * conform/data/arpa/inet.h-data: New file.
4291 2000-04-28 Geoff Clare <gwc@unisoft.com>
4293 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
4294 path passed to ftw() or nftw() is an empty string.
4295 Closes PR libc/1710.
4297 2000-04-27 Ulrich Drepper <drepper@redhat.com>
4299 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
4300 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
4301 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
4302 * localedata/tst-mbswcs4.c: New file.
4303 * localedata/tst-mbswcs5.c: New file.
4305 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
4306 == NULL. Little optimization.
4308 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
4309 DT_PREINIT_ARRAYSZ).
4310 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
4312 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
4313 overflows in conversion from ASCII.
4315 2000-04-26 Jakub Jelinek <jakub@redhat.com>
4317 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
4318 * Makerules (full_config_sysdirs): Likewise.
4319 * MakeTAGS (full_config_sysdirs): Likewise.
4321 2000-04-26 Jakub Jelinek <jakub@redhat.com>
4323 * .cvsignore: Remove linuxthreads.
4324 * po/.cvsignore: Remove *.pot.
4325 * posix/glob/.cvsignore: Removed.
4326 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
4328 2000-04-25 Andreas Jaeger <aj@suse.de>
4330 * conform/Makefile (distribute): Also distribute contents of
4333 * Makerules (no_deps): Remove abi-versions.h.
4335 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
4337 2000-04-25 Jakub Jelinek <jakub@redhat.com>
4339 * sysdeps/sparc/sparc64/elf/Dist: Remove.
4340 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
4341 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
4342 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
4343 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
4344 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
4347 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
4349 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
4351 2000-04-23 Bruno Haible <haible@clisp.cons.org>
4353 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
4354 * intl/l10nflist.c: Likewise.
4356 2000-04-23 Bruno Haible <haible@clisp.cons.org>
4358 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
4359 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
4360 * intl/textdomain.c [!_LIBC]: Likewise.
4361 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
4362 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
4363 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
4366 2000-04-23 Bruno Haible <haible@clisp.cons.org>
4368 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
4369 character set conversion also in the case the translation was found
4370 after a hash collision or through binary search. Store the maximum
4371 index together with the converted message. Use iconv() when available.
4372 In case of out of memory during conversion, return the unconverted
4373 translated string, not NULL.
4375 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
4377 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
4378 to avoid name clashes with the ia32 linker.
4380 2000-04-25 Jakub Jelinek <jakub@redhat.com>
4382 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
4385 2000-04-27 Ulrich Drepper <drepper@redhat.com>
4387 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
4388 strtoumax, strfry, and memfrob.
4389 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
4390 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4392 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
4393 if this function is available.
4395 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
4398 2000-04-27 Jakub Jelinek <jakub@redhat.com>
4400 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
4402 2000-04-27 Ulrich Drepper <drepper@redhat.com>
4404 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
4405 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
4406 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
4407 * localedata/tst-mbswcs3.c: New file.
4409 2000-04-26 Ulrich Drepper <drepper@redhat.com>
4411 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
4412 characters. Don't handle incomplete characters as errors.
4413 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
4414 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
4415 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
4416 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
4417 * localedata/tst-mbswcs2.c: New file.
4419 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
4420 stored character in state in UNPACK_BYTES macro.
4421 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
4422 test for available characters, handle result of BODY code correctly.
4423 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
4424 (distribute): Add tst-mbswcs.sh.
4425 Add rule to run tst-mbswcs.sh.
4426 * localedata/tst-mbswcs.sh: New file.
4427 * localedata/tst-mbswcs1.c: New file.
4429 2000-04-26 Jakub Jelinek <jakub@redhat.com>
4431 * nis/nis_callback.c (__nis_create_callback): Do failed memory
4432 allocation fixups centrally, fix __builtin_expect call, return NULL
4433 on failure, not NIS_NOMEMORY.
4435 2000-04-27 Bruno Haible <haible@clisp.cons.org>
4437 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
4439 * intl/loadinfo.h (internal_function): Define if not already defined.
4441 2000-04-27 Andreas Jaeger <aj@suse.de>
4443 * intl/libintl.h: Fix typo, reported by Bruno Haible
4444 <haible@clisp.cons.org>.
4446 2000-04-25 Ulrich Drepper <drepper@redhat.com>
4448 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
4449 setting the state to GMON_PROF_BUSY.
4451 2000-04-24 Ulrich Drepper <drepper@redhat.com>
4453 * elf/dl-profile.c (_dl_start_profile): define all variables which
4454 do not have to be global as local variables.
4456 * nis/nis_callback.c (__nis_create_callback): Partially undo last
4457 patch. Keep needed tests for failed memory allocation.
4459 * elf/dl-reloc.c (_dl_relocate_object): Add one more
4460 __builtin_expect saying that we don't normally expect to profile.
4462 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
4463 __builtin_expect where desirable.
4465 2000-04-23 Ulrich Drepper <drepper@redhat.com>
4467 * manual/Makefile (chapters): Add syslog.
4468 * manual/syslog.texi: New file.
4469 * manual/math.texi: Fix references.
4470 * manual/terminal.texi: Likewise.
4471 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4473 2000-04-18 Jakub Jelinek <jakub@redhat.com>
4475 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
4476 stdlib.h was not included or __USE_XOPEN not defined.
4478 2000-04-23 Ulrich Drepper <drepper@redhat.com>
4480 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
4481 Patch by Zack Weinberg <zack@wolery.cumb.org>.
4483 2000-04-22 Ulrich Drepper <drepper@redhat.com>
4485 * manual/examples/subopt.c (mount_opts): Add missing terminating
4487 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
4489 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
4490 * libio/ftello.c: Likewise.
4491 * libio/ftello64.c: Likewise.
4492 * libio/ioftell.c: Likewise.
4493 * sysdeps/generic/memrchr.c: Likewise.
4494 * sysdeps/posix/libc_fatal.c: Likewise.
4495 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
4496 * misc/fstab.c: Include <string.h> for strcmp prototype.
4497 * sysdeps/generic/ldsodefs.h: Likewise.
4498 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4499 Patch by Kurt Roeckx <Q@ping.be>.
4501 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
4502 Remove db-open. Change all uses.
4503 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
4505 2000-04-21 Jakub Jelinek <jakub@redhat.com>
4507 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
4508 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
4509 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
4510 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
4511 with .set noat/at to shut up warnings.
4512 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
4513 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
4514 compilation if __NR_pciconfig_iobase is not defined.
4515 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
4518 2000-04-21 Ulrich Drepper <drepper@redhat.com>
4520 * manual/sysinfo.texi: Fix typo.
4521 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
4522 Replace "high precision time" with "high accuracy clock".
4524 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
4526 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
4527 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
4529 * nis/nis_subr.c: Use __builtin_expect.
4530 * nis/ypclnt.c: Likewise.
4531 * nis/nis_getservlist.c: Likewise.
4532 * nis/nis_creategroup.c: Likewise.
4534 * nis/nis_callback.c (__nis_create_callback): Check result of
4535 memory allocation. Fix memory leaks. Use __builtin_expect.
4536 (__nis_destroy_callback): Fix memory leaks.
4538 2000-04-21 Andreas Jaeger <aj@suse.de>
4540 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
4541 * sysdeps/mips/mips64/add_n.S: Likewise.
4542 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
4543 * sysdeps/mips/mips64/lshift.S: Likewise.
4544 * sysdeps/mips/mips64/mul_1.S: Likewise.
4545 * sysdeps/mips/mips64/rshift.S: Likewise.
4546 * sysdeps/mips/mips64/setjmp.S: Likewise.
4547 * sysdeps/mips/mips64/sub_n.S: Likewise.
4548 * sysdeps/mips/mips64/submul_1.S: Likewise
4549 * sysdeps/unix/mips/sysdep.S: Likewise.
4551 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
4552 and update comment. The strtab from _dl_relocate_object can be
4555 2000-04-21 Ulrich Drepper <drepper@redhat.com>
4557 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
4558 * iconv/iconv_close.c (iconv_close): Likewise.
4559 * iconv/iconv_open.c (iconv_open): Likewise.
4561 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
4562 __builtin_expect where useful.
4564 * grp/initgroups.c (initgroups): Test for result of memory
4565 allocation and punt if it fails.
4567 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
4568 * grp/fgetgrent.c (fgetfrent): Likewise.
4569 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
4571 2000-04-21 Jakub Jelinek <jakub@redhat.com>
4573 * libio/vasprintf.c: Include string.h to get memcpy prototype.
4575 2000-04-20 Ulrich Drepper <drepper@redhat.com>
4577 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
4578 don't search for NUL byte to decrement counter.
4579 Reported by Ulrich.Brink@sap.com.
4581 * iconv/gconv_simple.c: Define separate functions to convert from
4582 UCS4/UCS4-LE to the internal encoding.
4583 * iconv/gconv_builtin.h: Use separate functions to convert from
4584 UCS4/UCS4-LE to the internal encoding.
4585 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
4586 __gconv_transform_ucs4le_internal.
4588 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
4589 output buffer overflow. Reported by Ulrich.Brink@sap.com.
4591 * iconv/skeleton.c: Add some more __builtin_expect.
4592 * iconv/loop.c: Likewise.
4594 2000-03-08 H.J. Lu <hjl@gnu.org>
4596 * posix/regex.c (regex_compile): Correctly handle "\{" when
4597 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
4599 2000-04-20 Ulrich Drepper <drepper@redhat.com>
4601 * manual/stdio.texi: Give advise about handling error when using
4603 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
4605 2000-04-19 Jakub Jelinek <jakub@redhat.com>
4607 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
4608 field to nelems * sizeof (uint32_t).
4609 * locale/programs/ld-address.c (address_output): Align word fields
4611 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4612 Don't restart idx pointers to idx end at the duo_int_curr_symbol
4614 Avoid giving arbitrary garbage in the crncystr field.
4615 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
4616 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
4618 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4619 Don't restart idx pointers to idx end at the decimal_point_wc field.
4620 * locale/programs/ld-time.c (time_output): week_1stday should be
4621 word, not byte. Align it properly.
4623 2000-04-19 H.J. Lu <hjl@gnu.org>
4625 * csu/gmon-start.c (_start): Declared as "extern void".
4628 2000-04-18 Andreas Jaeger <aj@suse.de>
4630 * manual/install.texi (Running make install): Don't mention utmpd
4633 2000-04-18 Andreas Jaeger <aj@suse.de>
4635 * linuxthreads/Versions: Use ld instead of ld.so.
4637 * elf/Makefile (ld-map): Use ld.map.
4639 * Versions.def: Use ld instead of ld.so.
4640 * elf/Versions: Likewise.
4641 * sysdeps/mach/hurd/Versions: Likewise.
4643 2000-04-20 Andreas Jaeger <aj@suse.de>
4645 * elf/rtld.c (print_statistics): Move ifndef further up.
4646 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
4647 (dl_main): Likewise.
4649 2000-04-18 Ulrich Drepper <drepper@redhat.com>
4651 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
4652 * gmon/Versions: Move moncontrol to GLIBC_2.2.
4654 * po/cs.po: Update from translation team.
4656 * sysdeps/generic/updwtmp.c: Remove daemon support.
4658 * login/Makefile (routines): Remove utmp_daemon.
4660 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
4661 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
4662 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
4663 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
4665 * elf/rtld.c: Display statitics option also if hp timing is not
4668 * login/programs/connection.c: Removed.
4669 * login/programs/database.c Removed.
4670 * login/programs/error.c: Removed.
4671 * login/programs/request.c: Removed.
4672 * login/programs/xtmp.c: Removed.
4673 * login/programs/xtmp.h: Removed.
4674 * login/Makefile: Remove rules for utmpd.
4675 * login/README.utmpd: Removed.
4676 * login/utmp_daemon.c: Removed.
4677 * login/getutent_r.c: Remove references to daemon functions.
4678 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
4681 2000-04-18 Andreas Jaeger <aj@suse.de>
4683 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
4684 2.2 for libnsl, libresolv, librt, libnss_*.
4686 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
4688 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
4690 2000-04-18 Ulrich Drepper <drepper@redhat.com>
4692 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
4693 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
4694 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
4695 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
4696 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
4697 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
4698 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
4699 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
4700 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
4701 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
4702 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
4703 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
4704 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
4706 * sysdeps/unix/sysv/aix/msync.c: New file.
4707 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
4708 * sysdeps/unix/sysv/aix/net/if.h: New file.
4709 * sysdeps/unix/sysv/aix/pipe.c: New file.
4710 * sysdeps/unix/sysv/aix/poll.c: New file.
4711 * sysdeps/unix/sysv/aix/rename.c: New file.
4712 * sysdeps/unix/sysv/aix/rmdir.c: New file.
4713 * sysdeps/unix/sysv/aix/select.c: New file.
4714 * sysdeps/unix/sysv/aix/semctl.c: New file.
4715 * sysdeps/unix/sysv/aix/semget.c: New file.
4716 * sysdeps/unix/sysv/aix/semop.c: New file.
4717 * sysdeps/unix/sysv/aix/sendto.c: New file.
4718 * sysdeps/unix/sysv/aix/setgroups.c: New file.
4719 * sysdeps/unix/sysv/aix/setpgid.c: New file.
4720 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
4721 * sysdeps/unix/sysv/aix/setpriority.c: New file.
4722 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
4723 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
4724 * sysdeps/unix/sysv/aix/setsid.c: New file.
4725 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
4726 * sysdeps/unix/sysv/aix/shmat.c: New file.
4727 * sysdeps/unix/sysv/aix/shmctl.c: New file.
4728 * sysdeps/unix/sysv/aix/shmdt.c: New file.
4729 * sysdeps/unix/sysv/aix/shmget.c: New file.
4730 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
4731 * sysdeps/unix/sysv/aix/sigstack.c: New file.
4732 * sysdeps/unix/sysv/aix/socket.c: New file.
4733 * sysdeps/unix/sysv/aix/socketpair.c: New file.
4734 * sysdeps/unix/sysv/aix/speed.c: New file.
4735 * sysdeps/unix/sysv/aix/symlink.c: New file.
4736 * sysdeps/unix/sysv/aix/sync.c: New file.
4737 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
4738 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
4739 * sysdeps/unix/sysv/aix/times.c: New file.
4740 * sysdeps/unix/sysv/aix/ulimit.c: New file.
4741 * sysdeps/unix/sysv/aix/umask.c: New file.
4742 * sysdeps/unix/sysv/aix/unlink.c: New file.
4743 * sysdeps/unix/sysv/aix/ustat.c: New file.
4744 * sysdeps/unix/sysv/aix/utimes.c: New file.
4746 2000-04-18 Andreas Jaeger <aj@suse.de>
4748 * manual/startup.texi (Environment Access): Fix putenv prototype
4749 according to recent changes.
4750 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
4753 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
4756 2000-04-18 Ulrich Drepper <drepper@redhat.com>
4758 * posix/Makefile (tests): Add tst-getaddrinfo.
4759 * posix/tst-getaddrinfo.c: New file.
4761 2000-04-17 Ulrich Drepper <drepper@redhat.com>
4763 * manual/sysinfo.texi: Document that umount2 is not widely available.
4765 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
4766 signal timing is not really implemented.
4768 2000-04-17 Andreas Jaeger <aj@suse.de>
4770 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
4772 2000-04-17 Jakub Jelinek <jakub@redhat.com>
4774 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
4777 2000-04-17 Ulrich Drepper <drepper@redhat.com>
4779 * manual/intro.texi: Change reference from System Information to
4781 * manual/users.texi: Likewise.
4782 * manual/conf.texi: Likewise.
4783 * manual/sysinfo.texi: Document mount, umount, and umount2.
4784 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4786 2000-04-17 Jakub Jelinek <jakub@redhat.com>
4788 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
4789 Create wnumstr as well as numstr to support wide character output
4792 2000-04-15 Jakub Jelinek <jakub@redhat.com>
4794 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
4795 modification and move it...
4796 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
4797 Add -melf64_sparc switch to $(LD) on sparc64-linux.
4798 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
4799 switch to $(LD) on sparc-linux.
4801 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
4803 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
4804 and setresuid from sysdep_routines.
4806 2000-04-17 Ulrich Drepper <drepper@redhat.com>
4808 * manual/Makefile (chapters): Add resource.
4810 * manual/time.texi: Move section on resources to...
4811 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
4813 * manual/setjmp.texi: Adjust back reference.
4814 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4816 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
4818 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
4819 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
4820 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
4821 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
4822 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
4823 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
4824 * sysdeps/unix/sysv/aix/close.c: Add copyright.
4825 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
4826 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
4827 * sysdeps/unix/sysv/aix/access.c: Add copyright.
4828 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
4829 * sysdeps/unix/sysv/aix/Implies: New file.
4830 * sysdeps/unix/sysv/aix/Versions: New file.
4831 * sysdeps/unix/sysv/aix/bind.c: New file.
4832 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
4833 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
4834 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
4835 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
4836 * sysdeps/unix/sysv/aix/chdir.c: New file.
4837 * sysdeps/unix/sysv/aix/chmod.c: New file.
4838 * sysdeps/unix/sysv/aix/chroot.c: New file.
4839 * sysdeps/unix/sysv/aix/creat.c: New file.
4840 * sysdeps/unix/sysv/aix/dl-close.c: New file.
4841 * sysdeps/unix/sysv/aix/dl-open.c: New file.
4842 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
4843 * sysdeps/unix/sysv/aix/fchdir.c: New file.
4844 * sysdeps/unix/sysv/aix/fchmod.c: New file.
4845 * sysdeps/unix/sysv/aix/getgroups.c: New file.
4846 * sysdeps/unix/sysv/aix/gethostname.c: New file.
4847 * sysdeps/unix/sysv/aix/getpriority.c: New file.
4848 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
4849 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
4850 * sysdeps/unix/sysv/aix/getrusage.c: New file.
4851 * sysdeps/unix/sysv/aix/link.c: New file.
4852 * sysdeps/unix/sysv/aix/madvise.c: New file.
4853 * sysdeps/unix/sysv/aix/mkdir.c: New file.
4854 * sysdeps/unix/sysv/aix/mknod.c: New file.
4855 * sysdeps/unix/sysv/aix/mprotect.c: New file.
4856 * sysdeps/unix/sysv/aix/msgctl.c: New file.
4857 * sysdeps/unix/sysv/aix/msgget.c: New file.
4858 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
4860 2000-04-17 Andreas Jaeger <aj@suse.de>
4862 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
4863 as suggested by Ulrich Drepper.
4864 (__dl_runtime_resolve): Remove unused variable, initialize sym
4866 (RTLD_START): Document OFFSET_GP_GOT.
4867 (OFFSET_GP_GOT): New magic value.
4868 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
4869 (elf_machine_got_rel): Only declare strtab if needed.
4870 (elf_machine_relplt): Removed, it's not needed.
4871 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
4873 * sysdeps/mips/add_n.S: Add newline at EOF.
4874 * sysdeps/mips/rshift.S: Likewise.
4875 * sysdeps/mips/mul_1.S: Likewise.
4876 * sysdeps/mips/lshift.S: Likewise.
4877 * sysdeps/mips/addmul_1.S: Likewise.
4879 2000-04-17 Ulrich Drepper <drepper@redhat.com>
4881 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
4883 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
4884 * elf/dl-lookup.c: Likewise.
4885 * elf/dl-init.c (_dl_init): Likewise.
4886 * elf/dl-fini.c (_dl_fini): Likewise.
4887 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4888 * elf/dl-close.c (_dl_close): Likewise.
4889 * elf/rtld.c (_dl_start_final): Likewise.
4891 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
4893 2000-04-15 Ulrich Drepper <drepper@redhat.com>
4895 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
4896 only fall back on using Linux.
4898 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
4899 Before testing versions check that we actually loaded the object
4900 and whether we are in trace mode. If not loaded during tracing don't
4901 test versions in this object.
4902 (_dl_check_all_versions): Take new parameter and pass to
4903 _dl_check_map_versions.
4904 * sysdeps/generic/ldsodefs.h: Update prototypes for
4905 _dl_check_all_versions and _dl_check_map_versions.
4906 * elf/rtld.c (struct version_check_args): Add dotrace.
4907 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
4908 (dl_main): Pass info about trace mode to version_check_doit.
4909 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
4910 _dl_check_all_versions.
4912 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
4914 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4916 * manual/argp.texi: Document index parameter of argp_parse.
4918 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
4920 2000-04-14 Andreas Jaeger <aj@suse.de>
4922 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
4923 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
4925 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
4927 2000-04-15 Ulrich Drepper <drepper@redhat.com>
4929 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
4930 compat_symbol call for old adjtime.
4932 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
4933 function interface. Patch by Richard Henderson <rth@cygnus.com>.
4935 * posix/Makefile (headers): Add spawn.h.
4936 (distribute): Add spawn_int.h.
4937 (routines): Add spawn_faction_init, spawn_faction_destroy,
4938 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
4939 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
4940 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
4941 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
4942 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
4943 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
4944 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
4945 posix_spawnattr_init, posix_spawnattr_destroy,
4946 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
4947 posix_spawnattr_getflags, posix_spawnattr_setflags,
4948 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
4950 * posix/spawn.c: New file.
4951 * posix/spawn.h: New file.
4952 * posix/spawn_faction_addclose.c: New file.
4953 * posix/spawn_faction_adddup2.c: New file.
4954 * posix/spawn_faction_addopen.c: New file.
4955 * posix/spawn_faction_destroy.c: New file.
4956 * posix/spawn_faction_init.c: New file.
4957 * posix/spawn_int.h: New file.
4958 * posix/spawnattr_destroy.c: New file.
4959 * posix/spawnattr_getdefault.c: New file.
4960 * posix/spawnattr_getflags.c: New file.
4961 * posix/spawnattr_getpgroup.c: New file.
4962 * posix/spawnattr_getschedparam.c: New file.
4963 * posix/spawnattr_getschedpolicy.c: New file.
4964 * posix/spawnattr_getsigmask.c: New file.
4965 * posix/spawnattr_init.c: New file.
4966 * posix/spawnattr_setdefault.c: New file.
4967 * posix/spawnattr_setflags.c: New file.
4968 * posix/spawnattr_setpgroup.c: New file.
4969 * posix/spawnattr_setschedparam.c: New file.
4970 * posix/spawnattr_setschedpolicy.c: New file.
4971 * posix/spawnattr_setsigmask.c: New file.
4972 * posix/spawni.c: New file.
4973 * posix/spawnp.c: New file.
4975 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
4976 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
4978 2000-04-14 Ulrich Drepper <drepper@redhat.com>
4980 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
4981 * malloc/malloc.c: Implement posix_memalign for glibc.
4982 * include/stdlib.h: Add prototype for __posix_memalign.
4983 * stdlib/stdlib.h: Add prototype for posix_memalign.
4985 2000-04-14 Andreas Jaeger <aj@suse.de>
4987 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
4989 (elf_machine_got_rel): Cast sym correctly.
4991 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
4992 * sysdeps/mips/addmul_1.S: Likewise.
4993 * sysdeps/mips/lshift.S: Likewise.
4994 * sysdeps/mips/mul_1.S: Likewise.
4995 * sysdeps/mips/rshift.S: Likewise.
4996 * sysdeps/mips/sub_n.S: Likewise.
4997 * sysdeps/mips/submul_1.S: Likewise.
4999 * stdlib/stdlib.h: Fix typo in comment.
5001 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
5002 2.2 for libdl, ld and libm.
5004 * sysdeps/generic/madvise.c: Fix typos.
5006 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
5008 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
5010 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
5013 2000-04-14 Ulrich Drepper <drepper@redhat.com>
5015 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
5016 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
5017 Make old name weak alias.
5018 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
5019 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
5020 Make old name weak alias.
5021 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
5023 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
5024 posix_fallocate, and posix_fallocate64.
5025 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
5026 posix_fallocate, and posix_fallocate64.
5027 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
5028 posix_fallocate, and posix_fallocate64.
5029 * sysdeps/generic/fadvise.c: New file.
5030 * sysdeps/generic/fadvise64.c: New file.
5031 * sysdeps/generic/fallocate.c: New file.
5032 * sysdeps/generic/fallocate64.c: New file.
5033 * sysdeps/posix/fallocate.c: New file.
5034 * sysdeps/posix/fallocate64.c: New file.
5035 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
5036 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
5037 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
5038 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
5039 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
5040 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
5041 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
5042 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
5043 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5045 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
5046 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5048 2000-04-13 Ulrich Drepper <drepper@redhat.com>
5050 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
5051 * misc/sys/mman.h (posix_madvise): Add prototype.
5052 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
5053 old name and posix_madvise weak aliases.
5054 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5055 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
5056 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
5057 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
5058 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
5059 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5060 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5062 2000-04-13 Andreas Jaeger <aj@suse.de>
5064 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
5066 (elf_machine_got_rel): Only add runtime display if needed.
5067 (elf_machine_got_rel): Handle symbol versioning.
5069 2000-04-13 Andreas Jaeger <aj@suse.de>
5071 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
5073 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
5076 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
5077 with some applications.
5078 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
5080 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
5081 * sysdeps/mips/bsd-_setjmp.S: Likewise.
5082 * sysdeps/mips/setjmp.S: Likewise.
5084 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
5086 2000-04-13 Ulrich Drepper <drepper@redhat.com>
5088 * posix/globtest.sh: Work around inconsistency with expanding ~/
5089 in shell (PR libc/1690). Reported by patsmith@pobox.com.
5091 2000-04-12 Ulrich Drepper <drepper@redhat.com>
5093 * posix/getconf.c: Add support for many more POSIX options.
5094 * sysdeps/posix/sysconf.c: Likewise.
5095 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
5096 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
5098 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
5099 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
5100 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
5101 CLOCK_THREAD_CPUTIME_ID.
5102 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
5103 CLOCK_PROCESS_CPUTIME_ID.
5104 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
5105 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
5106 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
5107 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
5109 * malloc/Makefile (tests): Add tst-calloc.
5110 * malloc/tst-calloc.c: New file.
5112 * sysdeps/arm/libm-test-ulps: New file.
5114 * malloc/malloc.c: Undo all of today's changes.
5116 * locale/programs/locale.c (show_info): Don't try to look into
5117 data for LC_ALL (there is none).
5119 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
5120 avoid writing over boundary.
5121 Patch by Greg McGary <gkm@eng.ascend.com>.
5123 * sysdeps/arm/memprof.h: New file.
5125 2000-04-12 Andreas Jaeger <aj@suse.de>
5127 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
5129 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
5130 for memmem declaration.
5132 2000-04-12 Ulrich Drepper <drepper@redhat.com>
5134 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
5136 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5138 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
5140 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
5141 Patch by Bart Veer <bartv@redhat.com>.
5143 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
5146 2000-04-11 Andreas Jaeger <aj@suse.de>
5148 * sysdeps/mips/dl-machine.h: Update some comments.
5149 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
5151 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5153 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
5154 _POSIX_SHARED_MEMORY_OBJECTS.
5156 * rt/Makefile (tests): Add tst-shm.
5157 Add rules to generate tst-shm.
5158 * rt/tst-shm.c: New file.
5160 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
5163 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
5164 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
5165 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
5166 * sysdeps/generic/shm_open.c: New file.
5167 * sysdeps/generic/shm_unlink.c: New file.
5168 * sysdeps/unix/sysv/linux/shm_open.c: New file.
5169 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
5170 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
5171 __endmntent, __getmntent_r, __setmntent, and __statfs.
5173 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
5174 fragmentation by allocating new memory at the end instead of
5177 * posix/globtest.sh: Fix last change.
5179 2000-04-10 Philip Blundell <philb@gnu.org>
5181 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
5182 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
5183 IPV6_DROP_MEMBERSHIP.
5184 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
5187 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5189 * elf/readlib (process_file): Close streams in case of an error.
5191 2000-04-09 Andreas Jaeger <aj@suse.de>
5193 * elf/readlib.c (process_file): Check if file is big enough to
5194 contain aout and ELF headers.
5195 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
5197 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
5199 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
5201 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5203 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
5205 * rt/Makefile (tests): Add tst-clock.
5206 Add rules to build tst-clock.
5207 * rt/tst-clock.c: New file.
5208 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
5209 about initialization of nsec.
5210 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
5211 about initialization of freq. Set retval to zero if successful.
5212 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
5214 2000-04-10 Ulrich Drepper <drepper@redhat.com>
5216 * Versions.def (librt): Add GLIBC_2.2.
5217 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
5218 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
5219 timer_getoverr, timer_gettime, and timer_settime.
5220 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
5221 clock_settime, timer_create, timer_delete, timer_getoverrun,
5222 timer_gettime, and timer_settime.
5223 * sysdeps/generic/clock_getcpuclockid.c: New file.
5224 * sysdeps/generic/get_clockfreq.c: New file.
5225 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
5226 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
5227 * sysdeps/mach/hurd/i386/bits/time.h: New file.
5228 * sysdeps/unix/i386/i586/clock_getres.c: New file.
5229 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
5230 * sysdeps/unix/i386/i686/Implies: New file.
5231 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
5232 * time/Makefile (routines): Move clock_getres, clock_gettime,
5233 clock_settime, timer_create, timer_delete, timer_getoverr,
5234 timer_gettime, and timer_settime to rt/Makefile.
5235 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
5236 clock_settime, timer_create, timer_delete, timer_getoverrun,
5237 timer_gettime, and timer_settime.
5238 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
5240 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
5241 and not const as attribute name.
5243 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
5245 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
5247 2000-04-10 Andreas Schwab <schwab@suse.de>
5249 * posix/globtest.sh: Skip tests that depend on unreadable
5250 directories if run as root.
5252 2000-04-10 Ulrich Drepper <drepper@redhat.com>
5254 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
5255 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
5257 2000-04-09 Ulrich Drepper <drepper@redhat.com>
5259 * sysdeps/unix/clock_gettime.c: New file.
5260 * sysdeps/unix/clock_settime.c: New file.
5261 * sysdeps/posix/clock_getres.c: New file.
5263 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
5265 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
5266 lseek call be passing in a buffer which never allow a successful
5267 first getdents syscall if not at leas the initial entry can be
5268 stored in the user buffer.
5270 * localedata/Makefile: Add rules to clean up directories created by
5273 2000-04-09 Geoff Clare <gwc@unisoft.com>
5275 * localedata/tst-fmon.data: Added new tests for strfmon()
5276 using test locales with all combinations of cs_precedes,
5277 sign_posn and sep_by_space.
5278 * localedata/tst-fmon.sh: Updated to support the new tests.
5279 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
5280 the localedef source for the new strfmon() test locale.
5281 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
5282 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
5283 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
5284 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
5285 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
5286 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
5287 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
5288 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
5289 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
5290 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
5291 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
5292 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
5293 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
5294 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
5296 * stdlib/strfmon.c: Correct problems with missing or extra
5297 spaces for unusual combinations of sign_posn and sep_by_space.
5298 Improved left-precision alignment code.
5300 2000-04-07 Andreas Jaeger <aj@suse.de>
5302 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
5304 2000-04-10 Andreas Jaeger <aj@suse.de>
5306 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
5308 2000-04-09 Ulrich Drepper <drepper@redhat.com>
5310 Implement handling of restartable conversion functions according to
5312 * iconv/gconv.h (__gconv_fct): Add additional parameter.
5313 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
5314 * iconv/gconv.c: Pass additional parameter to conversion function.
5315 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
5316 (internal_ucs4le_loop_single): New function.
5317 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
5318 (__gconv_transform_internal_ascii): Likewise.
5319 (__gconv_transform_internal_utf8): Likewise.
5320 (__gconv_transform_utf8_internal): Likewise.
5321 (__gconv_transform_ucs2_internal): Likewise.
5322 (__gconv_transform_internal_ucs2): Likewise.
5323 (__gconv_transform_ucs2reverse_internal): Likewise.
5324 (__gconv_transform_internal_ucs2reverse): Likewise.
5325 (internal_ucs4le_loop_unaligned): Before return
5326 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
5327 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
5328 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
5329 * iconv/loop.c: Fit in definition of function to convert one character
5330 for processing of left-over bytes from the state object.
5331 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
5332 inend to match names in loop functions.
5333 (RESET_INPUT_BUFFER): Change apprpriately.
5334 (gconv): If needed, call function to process bytes from the state
5335 object. Similar at the end: store left over bytes if input is
5337 Take extra argument and add new argument to all calls of the
5338 conversion function.
5339 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
5340 information in the state object to not conflict with length count.
5341 * iconvdata/iso-2022-jp.c: Likewise.
5342 * iconvdata/iso-2022-kr.c: Likewise.
5343 * iconvdata/unicode.c: Adjust for change change in parameters of
5345 * iconvdata/utf-16.c: Likewise.
5346 * libio/iofwide.c: Add new parameter to all calls of conversion
5348 * wcsmbs/btowc.c: Likewise.
5349 * wcsmbs/mbrtowc.c: Likewise.
5350 * wcsmbs/mbsnrtowcs.c: Likewise.
5351 * wcsmbs/mbsrtowcs.c: Likewise.
5352 * wcsmbs/wcrtomb.c: Likewise.
5353 * wcsmbs/wcsnrtombs.c: Likewise.
5354 * wcsmbs/wcsrtombs.c: Likewise.
5355 * wcsmbs/wctob.c: Likewise.
5357 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
5360 2000-04-07 Andreas Jaeger <aj@suse.de>
5362 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
5365 2000-04-07 Ulrich Drepper <drepper@redhat.com>
5367 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
5368 element a union to allow byte access.
5369 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
5371 * iconvdata/iso-2022-jp.c: Likewise.
5372 * iconvdata/iso-2022-kr.c: Likewise.
5373 * wcsmbs/mbsinit.c: Likewise.
5374 * stdlib/mblen.c: Likewise.
5375 * stdio-common/printf-parse.h: Likewise.
5377 2000-04-06 Ulrich Drepper <drepper@redhat.com>
5379 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
5380 kernel does not allow relative seeks on descriptors associated
5381 with directories. Go back to get the position in the directory
5382 every time we enter the function. Return -1 and set errno if one
5383 entry could be read from the kernel but does not fit into the
5384 buffer passed in by the user.
5386 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
5387 Support ..(2).. ellipsis.
5388 (parse_charmap): Recognize ..(2).. etc and pass step down.
5389 Correctly generate names for UCS4 characters.
5391 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
5392 (ctype_finish): We know the wide character value for <SP>,
5394 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
5395 (charclass_ucs4_ellipsis): Likewise.
5396 (read_translit_ignore_entry): Store ellipsis step.
5397 (ctype_read): Recognize ..(2).. etc and pass step down.
5399 * locale/programs/linereader.c (lr_token): When seeing comment
5400 character ignore only rest of line in sources but stop at escaped
5402 Recognize ..(2).. and ....(2).....
5404 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
5405 and tok_ellipsis4_2.
5407 2000-04-06 Andreas Jaeger <aj@suse.de>
5409 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
5410 removed, remove it here also.
5411 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
5412 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
5413 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
5414 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
5416 2000-04-06 Jakub Jelinek <jakub@redhat.com>
5418 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
5419 include bits/sigcontext.h.
5420 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5422 2000-04-06 Ulrich Drepper <drepper@redhat.com>
5424 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
5425 collation symbol definition. Value in quivalence definition must
5426 be defined, don't check that it is not.
5428 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
5429 values as character names.
5431 * locale/programs/ld-ctype.c (get_character): Handle missing
5432 repertoire map correctly.
5434 2000-04-05 Cristian Gafton <gafton@redhat.com>
5436 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
5437 because it is used in generic code.
5438 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
5439 * wcsmbs/wcwidth.h: Declare __ctype32_b.
5440 * intl/gettext.c: Include <locale.h>.
5441 * intl/ngettext.c: Likewise.
5443 2000-04-05 Jakub Jelinek <jakub@redhat.com>
5445 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
5446 socklen_t type for size.
5447 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
5448 init function interface.
5449 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5450 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
5452 (__jmp_buf): Declare the whole type structure here, don't use
5455 2000-04-05 Ulrich Drepper <drepper@redhat.com>
5457 * iconv/skeleton.c (put16u): Fix typo.
5458 Reported by Bruno Haible <haible@ilog.fr>.
5460 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
5461 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
5462 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
5463 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
5464 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
5465 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
5467 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
5468 * Makefile (distribute): Add abi-versions.awk and
5470 Patches by Torsten Duwe <duwe@caldera.de>.
5472 2000-04-05 Andreas Schwab <schwab@suse.de>
5474 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
5476 2000-04-05 Andreas Schwab <schwab@suse.de>
5478 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
5479 entry point, used on Hurd.
5481 2000-04-04 Andreas Jaeger <aj@suse.de>
5483 * intl/Makefile: Only run the gettext test with shared libraries.
5485 2000-03-16 Mark Kettenis <kettenis@gnu.org>
5487 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
5488 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
5490 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
5492 * Makeconfig: Undo last change.
5493 * configure.in: If --disable-shared was given, don't set VERSIONING,
5494 don't define DO_VERSIONING, and don't give scare warning for no
5496 * configure: Regenerated.
5498 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
5500 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
5502 2000-04-04 Andreas Jaeger <aj@suse.de>
5504 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
5506 2000-04-04 Ulrich Drepper <drepper@redhat.com>
5508 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
5509 STV_HIDDEN and STV_INTERNAL during lookup.
5510 (profile_fixup): Likewise.
5511 * elf/dl-reloc.c (RESOLVE): Likewise.
5513 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
5514 unaligned so that it compiles for system which need unaligned
5517 2000-04-04 Andreas Schwab <schwab@suse.de>
5519 * elf/cache.c (print_entry): Only look at the type field when
5522 2000-04-04 Andreas Schwab <schwab@suse.de>
5524 * iconvdata/big5.c (BODY): Fix typo.
5526 2000-04-04 Andreas Schwab <schwab@suse.de>
5528 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
5529 function interface. Remove unused _dl_start_user entry point.
5531 2000-04-03 Andreas Jaeger <aj@suse.de>
5533 * include/arpa/inet.h (__inet_aton): Add protoype.
5535 2000-04-01 Andreas Jaeger <aj@suse.de>
5537 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
5539 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
5540 * sysdeps/mach/mips/thread_state.h: Likewise.
5542 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
5543 * sysdeps/generic/fegetenv.c: Likewise.
5544 * sysdeps/generic/fesetenv.c: Likewise.
5545 * sysdeps/generic/feupdateenv.c: Likewise.
5546 * sysdeps/generic/fraiseexcpt.c: Likewise.
5547 * sysdeps/generic/fsetexcptflg.c: Likewise.
5548 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
5549 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
5550 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
5551 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5553 2000-04-02 H.J. Lu <hjl@gnu.org>
5555 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
5557 2000-04-03 Ulrich Drepper <drepper@redhat.com>
5559 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
5560 (add_name_to_object): Add cast in malloc call.
5561 (fillin_rpath): Optimize loop to initialize ->status a bit.
5563 * sysdeps/i386/dl-machine.h: Undo last change.
5564 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
5565 Restore %edx register after call here.
5567 * sysdeps/arm/atomicity.h: New file.
5568 Contributed by Jesper Skov <jskov@redhat.com>.
5570 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
5572 * Makeconfig (preprocess-versions): Undo last change.
5573 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
5575 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
5576 here, before we might move the stack.
5577 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
5578 (init1): And not here.
5580 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
5581 change, to restore argc value in call-clobbered register after
5582 RTLD_START_SPECIAL_INIT, which will contain a call.
5584 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
5585 allocating and initializing L->l_initfini.
5587 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
5589 2000-04-03 Ulrich Drepper <drepper@redhat.com>
5591 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
5592 RUNPATH, RPATH, and LD_LIBRARY_PATH.
5593 (open_path): Change type of fourth parameter. Make pointer to array
5594 of pointers. Create variable dirs with original type.
5595 Track whether any directory for the object exists and if not,
5596 change *DIRSP to (void*) -1 to signal there is no such search path.
5597 (_dl_map_object): Change all calls of open_path.
5598 Rewrite decompose_rpath calls.
5600 2000-03-31 Andreas Schwab <schwab@suse.de>
5602 * string/strfry.c: Declare STATE as array of char instead of int
5603 and do not initialize it (done by initstate_r). Pass correct
5606 2000-04-03 Ulrich Drepper <drepper@redhat.com>
5608 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
5610 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
5611 instruction out of the code.
5613 2000-04-02 Ulrich Drepper <drepper@redhat.com>
5615 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
5616 element at this position.
5618 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
5619 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
5621 * elf/dl-lookup.c (add_dependency): New function.
5622 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
5623 dynamically loaded object.
5624 (_dl_lookup_symbol_skip): Likewise.
5625 (_dl_lookup_versioned_symbol): Likewise.
5626 (_dl_lookup_versioned_symbol_skip): Likewise.
5627 * elf/dl-open.c: Don't define _dl_load_lock here...
5628 * elf/rtld.c: ...but here...
5629 * elf/dl-support.c: ...and here.
5630 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
5632 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
5634 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
5636 * dlfcn/glrefmain.c: Add one more debug message.
5638 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
5640 * Makerules (sysd-versions): Use ( ) instead of { }.
5642 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
5643 optimize for the non-debugging case.
5644 * elf/dl-lookup.c: Likewise.
5645 * sysdeps/generic/libc-start.c: Likewise.
5647 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
5649 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
5650 (init1): Don't initialize __environ here, since init already does it.
5651 (first_init): New function, broken out of _init.
5652 (_hurd_stack_setup): Use it.
5653 [SHARED] (_dl_init_first): New function, renamed from old _init.
5654 (init1) [SHARED]: Don't call posixland_init here.
5655 (posixland_init): Take ENVP arg, so signature is usual for initializer.
5656 [SHARED] (_init): Define as alias for posixland_init.
5657 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
5658 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
5659 RTLD_START_SPECIAL_INIT before calling initializers.
5660 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
5661 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
5662 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
5663 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
5665 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
5666 since we define the function with the name `tmpfile'.
5668 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
5669 * hurd/Versions: Likewise.
5671 2000-04-02 Ulrich Drepper <drepper@redhat.com>
5673 * elf/dl-runtime.c (fixup): Fix typo in comment.
5675 * resolv/netdb.h (getnameinfo): All length parameters are of type
5677 * inet/getnameinfo.c: Likewise.
5679 2000-04-01 Ulrich Drepper <drepper@redhat.com>
5681 * posix/unistd.h (socklen_t): Define if it has not yet happened.
5682 (gethostname): Change type of second parameter to socklen_t.
5683 * include/unistd.h (__gethostname): Change type of second
5684 parameter to socklen_t.
5685 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
5686 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
5687 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
5688 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
5690 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
5691 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
5692 Allow definition elsewhere.
5693 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
5694 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5695 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5696 * sysdeps/generic/bits/types.h: Define __socklen_t.
5697 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
5698 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
5699 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5700 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5701 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5702 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5703 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5705 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
5706 (inet_lnaof): Likewise.
5707 (inet_netof): Likewise.
5708 (inet_network): Likewise.
5709 (inet_aton): Likewise.
5710 (inet_makeaddr): Change parameter types to in_addr_t.
5711 (inet_neta): Likewise.
5712 (inet_ntop): Change type of last parameter to socklen_t.
5713 (inet_aton): Only make available if __USE_MISC.
5714 (inet_neta): Likewise.
5715 (inet_net_ntop): Likewise.
5716 (inet_net_pton): Likewise.
5717 (inet_nsap_ntoa): Likewise.
5719 * inet/in.h: Define in_port_t type.
5720 Define in_addr_t type.
5721 (struct in_addr): Use in_addr_t in definition.
5722 (IN_CLASSA): Use cast to in_addr_t.
5723 (IN_CLASSB): Likewise.
5724 (IN_CLASSC): Likewise.
5725 (IN_CLASSD): Likewise.
5726 (IN_EXPERIMENTAL): Likewise.
5727 (IN_BADCLASS): Likewise.
5728 (INADDR_ANY): Likewise.
5729 (INADDR_BROADCAST): Likewise.
5730 (INADDR_NONE): Likewise.
5731 (INADDR_LOOPBACK): Likewise.
5732 (INADDR_UNSPEC_GROUP): Likewise.
5733 (INADDR_ALLHOSTS_GROUP): Likewise.
5734 (INADDR_ALLRTRS_GROUP): Likewise.
5735 (INADDR_MAX_LOCAL_GROUP): Likewise.
5736 (struct sockaddr_in): Use in_port_t for sin_port element.
5737 (struct sockaddr_in6): Use in_port_t for sin6_port element.
5738 Use uint8_t instead of u_int8_t.
5740 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
5741 Call __inet_aton instead of inet_aton.
5742 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
5744 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
5745 (innetgr): Likewise.
5746 (struct addrinfo): Use socklen_t for ai_addrlen element.
5748 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
5749 IPV6_RECVERR): New defines.
5751 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
5752 * inet/getnetbyad.c: Likewise.
5753 * inet/getnetbyad_r.c: Likewise.
5754 * nis/nss_nis/nis-network.c: Likewise.
5755 * nis/nssplus_nis/nisplus-network.c: Likewise.
5756 * nss/nss_files/files-network.c: Likewise.
5757 * resolv/netdb.h: Define uint32_t if not already happened.
5758 Include bits/netdb.h. Remove definition of struct netent.
5759 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
5760 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
5761 * sysdeps/generic/bits/netdb.h: New file.
5762 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
5764 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
5765 (tests): Add glrefmain.
5766 Add rules to build modules and run tests. Ignore result of glrefmain
5767 for now since it fails.
5768 * dlfcn/glrefmain.c: New file.
5769 * dlfcn/glreflib1.c: New file.
5770 * dlfcn/glreflib2.c: New file.
5772 * test-skeleton.c: Include <string.h> for strsignal prototype.
5774 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
5777 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
5778 former init-first.h. Initialize __libc_multiple_libcs.
5780 2000-03-31 Ulrich Drepper <drepper@redhat.com>
5782 * iconv/skeleton.c: Define access macros with u suffix. Adjust
5783 #if expression for use of unaligned function to the one used in
5784 the definition of these functions.
5785 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
5786 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
5787 (internal_ucs4le_loop_unaligned): New function.
5789 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
5791 (module-names): Add dep1, dep2, dep3, and dep4.
5792 Add dependencies for dep* modules and order.
5793 Define rule for order.out which checks the result.
5794 * elf/dep1.c: New file.
5795 * elf/dep2.c: New file.
5796 * elf/dep3.c: New file.
5797 * elf/dep4.c: New file.
5798 * elf/order.c: New file.
5800 * elf/dl-init.c: Fix typo in comment.
5802 2000-03-31 Andreas Jaeger <aj@suse.de>
5804 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
5805 init function interface.
5806 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
5808 2000-03-31 Andreas Jaeger <aj@suse.de>
5810 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
5811 * sysdeps/mips/fpu/fegetenv.c: Likewise.
5812 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
5813 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
5814 * sysdeps/mips/fpu/fesetenv.c: Likewise.
5816 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
5817 anymore, update comment.
5819 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5821 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
5822 SHLIB_COMPAT - the struct is always needed.
5824 2000-03-31 Ulrich Drepper <drepper@redhat.com>
5826 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
5827 * elf/dl-support.c: Define _dl_starting_up.
5829 2000-03-30 Ulrich Drepper <drepper@redhat.com>
5831 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
5832 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
5834 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
5836 * elf/Makefile (dl-routines): Remove preinit.
5837 * elf/Versions: Remove _dl_preinit.
5838 * elf/dl-preinit.c: Removed. Move content into...
5839 * elf/dl-init.c: ...here.
5840 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
5842 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
5845 2000-03-29 Geoff Clare <gwc@unisoft.com>
5847 * stdlib/strfmon.c: Corrected problems with the code that
5848 sets default values for [np]_sep_by_space and
5849 [np]_sign_posn; also the new positive/negative alignment
5850 code from the previous patch was not quite right for
5853 * localedata/tst-fmon.data: Changes corresponding to the
5854 two sets of fixes made to stdlib/strfmon.c.
5856 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
5858 * malloc/malloc.c: Declare bit flags UL so that they will not
5859 default to int size when being inverted.
5861 2000-03-29 Andreas Jaeger <aj@suse.de>
5863 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
5864 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
5866 2000-03-29 Andreas Jaeger <aj@suse.de>,
5867 Ralf Baechle <ralf@uni-koblenz.de>
5869 * Makeconfig: Introduce new variable SHARED to mark code used in
5871 * elf/dl-close.c: Use it instead of PIC.
5872 * elf/dl-load.c: Likewise.
5873 * elf/dl-open.c: Likewise.
5874 * hurd/geteuids.c: Likewise.
5875 * include/libc-symbols.h: Likewise.
5876 * include/shlib-compat.h: Likewise.
5877 * libio/freopen.c: Likewise.
5878 * linuxthreads/cancel.c: Likewise.
5879 * linuxthreads/pthread.c: Likewise.
5880 * linuxthreads/wrapsyscall.c: Likewise.
5881 * nss/nsswitch.c: Likewise.
5882 * stdio-common/vfprintf.c: Likewise.
5883 * sysdeps/arm/init-first.c: Likewise.
5884 * sysdeps/i386/init-first.c: Likewise
5885 * sysdeps/generic/init-first.c: Likewise.
5886 * sysdeps/generic/libc-start.c: Likewise.
5887 * sysdeps/mips/init-first.c: Likewise.
5888 * sysdeps/powerpc/elf/libc-start.c: Likewise.
5889 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
5890 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
5891 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
5892 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5894 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
5896 2000-03-29 Andreas Jaeger <aj@suse.de>
5898 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
5899 Use D_PTR to access relocated entries in l_info.
5900 (elf_machine_rela): Likewise.
5902 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
5904 (elf_machine_rela): Likewise.
5906 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
5908 (__elf_machine_fixup_plt): Likewise.
5909 (__process_machine_rela): Likewise.
5911 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
5912 (elf_machine_rela): Likewise.
5914 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
5915 (elf_machine_rel): Likewise.
5917 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
5918 (elf_machine_fixup_plt): Likewise.
5919 (elf_machine_rela): Likewise.
5921 2000-03-29 Andreas Jaeger <aj@suse.de>
5923 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
5924 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5925 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5926 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
5927 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
5928 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
5929 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
5930 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
5931 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5932 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
5933 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
5934 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
5935 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
5936 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
5937 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5939 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
5940 macros, remove K&R prototypes.
5942 2000-03-30 Ulrich Drepper <drepper@redhat.com>
5944 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
5945 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
5948 2000-03-30 Andreas Jaeger <aj@suse.de>
5950 * misc/sys/cdefs.h: Remove K&R support.
5952 2000-03-30 Ulrich Drepper <drepper@redhat.com>
5954 * iconv/skeleton.c: Avoid compiling unaligned versions in some
5956 * iconv/loop.c: Likewise.
5958 2000-03-29 Bruno Haible <haible@clisp.cons.org>
5960 * iconv/loop.c (put16): Remove __const. Fix access index.
5961 (put32): Remove __const. Use uint32_t instead of uint16_t.
5962 * iconv/skeleton.c: Likewise.
5964 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
5966 * mach/Versions (libc: GLIBC_2.0)
5967 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
5968 __vm_allocate on this.
5969 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
5970 mutex- and spinlock-related symbols on this.
5971 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
5972 New version set. Lock-related symbols go here instead in this case.
5973 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
5974 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
5975 cthread_getspecific, cthread_setspecific, __libc_getspecific.
5977 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
5978 Put them here instead.
5979 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
5980 New version set. Those cthreads symbols go here instead in this case.
5981 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
5983 2000-03-30 Ulrich Drepper <drepper@redhat.com>
5985 * elf/dl-init.c (_dl_init): We don't need to call constructors
5986 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
5988 Implement dynamic determination of constructor/destructor order in
5990 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
5991 (GLIBC_2.2): Add _dl_init.
5992 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
5993 r_duplist is not anymore allocated separately. l_initfini is and
5994 therefore free it if necessary.
5995 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
5996 malloc block. Otherwise allocate l_initfini list only.
5997 Put dependencies for the object in l_initfini list.
5998 Sort dependencies for the object to be loaded topologically.
5999 * elf/dl-fini.c: Before running the destructors sort the topologically.
6000 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
6001 call constructors instead of iterating over the pointers. Get list of
6002 objects for which to run constructors from l_initfini element. Accept
6003 argc, argv, and env as parameters and pass them to the constructors.
6004 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
6005 with size of dynamic section.
6006 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
6007 _dl_init_next and calling constructors ourself.
6008 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
6009 Take argc, argv, and env as parameters and pass them to the
6010 constructors. Rewrite to call all constructors and not iterate over
6012 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
6013 precompute l_initcount and l_preinitcount.
6014 * elf/link.h (struct link_map): Add l_ldnum member.
6015 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
6016 l_initcount, and l_preinitcount. Add l_initfini.
6017 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
6019 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
6021 * sysdeps/unix/sysv/linux/init-first.h: Removed.
6022 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
6023 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
6024 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
6025 conventions now match.
6027 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
6028 effect for shared objects. Don't emit message and call only for
6031 2000-03-29 Ulrich Drepper <drepper@redhat.com>
6033 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
6034 CSA_Z243.4-1985-1..UCS2.
6035 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
6038 2000-03-29 Andreas Jaeger <aj@suse.de>
6040 * include/unistd.h: Remove duplicate entry for __rmdir.
6041 Remove declaration of __mkdir since __mkdir is declared in
6044 * manual/creature.texi (Feature Test Macros): Fix typo, reported
6045 by Michael Deutschmann <michael@talamasca.ocis.net>.
6047 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
6048 * sysdeps/mips/fpu/fegetenv.c: Likewise.
6049 * sysdeps/mips/fpu/fesetenv.c: Likewise.
6050 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
6051 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
6053 2000-03-28 Andreas Jaeger <aj@suse.de>
6055 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
6056 declaration, the prototype is defined via bits/mathcalls.h.
6057 (__sincosf): Likewise.
6058 (__sincosl): Likewise.
6062 (__finite): Likewise.
6063 (__inline_mathcodeNP): New macro without prototype
6065 (__inline_mathcodeNP2): Likewise.
6066 (__inline_mathcodeNP3): Likewise.
6067 (__inline_mathcodeNP_): Likewise.
6068 (__inline_mathcodeNP2_): Likewise.
6069 (__inline_mathcodeNP3_): Likewise.
6070 (__inline_mathopNP): Likewise.
6071 (__inline_mathop_declNP): Likewise.
6072 (__inline_mathop_declNP_): Likewise.
6073 (__inline_mathcode_): Use __inline_mathcodeNP_.
6074 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
6075 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
6076 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
6077 (__expm1l): Don't define prototype, the prototype is defined via
6083 (__atan2l): Likewise.
6088 (__fabsl): Likewise.
6106 (__sqrtl): Likewise.
6116 2000-03-28 Ulrich Drepper <drepper@redhat.com>
6118 * Makerules: If make variable md5 is defined to yes after
6119 generating dependencies generate MD5 sum for the object.
6121 * iconv/gconv_builtin.h: Fix length in transformation definition
6124 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
6126 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
6127 allow as well reading from/writing to unaligned addresses on machines
6128 which don't support this in hardware. Use FCTNAME macro to define
6129 function name. Include the file a second time for platforms which
6130 need special unaligned handling.
6131 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
6132 to access potentially unaligned addresses. These macros are intended
6133 to be used only outside the loops.
6134 (unaligned): New definition. In case the machine can handle unaligned
6135 access define as zero. Otherwise as a variable which is initialized
6136 as nonzero in case the buffer passed in at runtime is unaligned with
6137 respect to the character set encoding involved.
6138 Call aligned or unaligned looop functions according to unaligned
6140 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
6141 of direct casting pointer to potentially handle unaligned memory
6143 * iconvdata/8bit-generic.c: Likewise.
6144 * iconvdata/ansi_x3.110.c: Likewise.
6145 * iconvdata/big5.c: Likewise.
6146 * iconvdata/euc-cn.c: Likewise.
6147 * iconvdata/euc-jp.c: Likewise.
6148 * iconvdata/euc-kr.c: Likewise.
6149 * iconvdata/euc-tw.c: Likewise.
6150 * iconvdata/gbk.c: Likewise.
6151 * iconvdata/iso-2022-cn.c: Likewise.
6152 * iconvdata/iso-2022-jp.c: Likewise.
6153 * iconvdata/iso-2022-kr.c: Likewise.
6154 * iconvdata/iso646.c: Likewise.
6155 * iconvdata/iso_6937-2.c: Likewise.
6156 * iconvdata/iso_6937.c: Likewise.
6157 * iconvdata/johab.c: Likewise.
6158 * iconvdata/sjis.c: Likewise.
6159 * iconvdata/t.61.c: Likewise.
6160 * iconvdata/uhc.c: Likewise.
6161 * iconvdata/unicode.c: Likewise.
6162 * iconvdata/utf-16.c: Likewise.
6164 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
6167 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
6168 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
6170 * malloc/mcheck.h (mcheck_check_all): Declare.
6172 * stdio-common/Makefile (tests): Add tst-obprintf.
6174 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
6176 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
6177 Declare pthread_sigmask.
6179 * csu/version.c: Add 2000 to copyright years.
6180 Remove Emacs local variables section.
6182 2000-03-23 Bruno Haible <haible@clisp.cons.org>
6184 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
6185 __gconv_transform_internal_ucs2little): Remove declarations.
6186 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
6187 __gconv_transform_internal_ucs2): Never need to bswap_16.
6188 (__gconv_transform_ucs2reverse_internal,
6189 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
6191 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
6193 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
6194 obsoleting version not being defined at all, in which case the
6195 result is always true.
6197 * Makeconfig (preprocess-versions): New canned sequence for running
6198 cpp on shlib-versions and the like.
6199 (soversions.i): Use it.
6200 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
6201 Versions.def and Versions files.
6203 2000-03-27 Ulrich Drepper <drepper@redhat.com>
6205 * stdio-common/tst-obprintf.c (main): Add another check to see
6206 obstack_printf handling all possible beginnings of the block
6207 inside an obstack chunk.
6209 * locale/programs/localedef.c: Use __malloc_initialize_hook to
6210 install mcheck handler.
6212 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
6215 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
6217 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
6219 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
6220 on [HAVE_ELF && DO_VERSIONING].
6222 2000-03-27 Ulrich Drepper <drepper@redhat.com>
6224 * stdio-common/tst-obprintf.c: New file.
6226 2000-03-26 Ulrich Drepper <drepper@redhat.com>
6228 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
6229 _IO_OVERFLOW directly instead through __overflow.
6231 * locale/programs/localedef.c (construct_output_path): If path
6232 contains a / compute the end of the directory name correctly.
6234 * include/features.h: Undef and document __USE_XOPEN2K.
6236 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
6237 whenever a function is called. Initiated by calling mcheck_pedantic
6239 * malloc/mcheck.h: Declare mcheck_pedantic.
6240 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
6241 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
6244 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
6246 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
6247 * dlfcn/dlopenold.c: Likewise.
6248 * nss/getXXbyYY_r.c: Likewise.
6249 * nss/getXXent_r.c: Likewise.
6250 * hurd/hurdinit.c: Likewise.
6251 * hurd/compat-20.c: Likewise.
6252 * libio/oldiofopen.c: Likewise.
6253 * libio/oldiofclose.c: Likewise.
6254 * libio/oldiofdopen.c: Likewise.
6255 * libio/oldfileops.c: Likewise.
6256 * libio/oldstdfiles.c: Likewise.
6257 * libio/oldiofsetpos.c: Likewise.
6258 * libio/oldiofgetpos.c: Likewise.
6259 * libio/oldiofgetpos64.c: Likewise.
6260 * libio/oldiofsetpos64.c: Likewise.
6261 * libio/oldiopopen.c: Likewise.
6262 * libio/oldpclose.c: Likewise.
6263 * libio/oldtmpfile.c: Likewise.
6264 * libio/freopen.c (freopen): Likewise.
6265 * libio/iofclose.c (_IO_new_fclose): Likewise.
6267 * sysdeps/mach/sys/reboot.h: Include <features.h>.
6268 (reboot): Declare it.
6270 * libio/Makefile (headers): Add bits/stdio-lock.h here.
6272 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
6274 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
6276 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
6277 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
6278 We need this for the sbrk decl, which can be included without Unix98.
6280 2000-03-20 Richard Henderson <rth@cygnus.com>
6282 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
6283 argument to yperr2nss is an int, not size_t.
6284 * posix/regex.c (print_partial_compiled_pattern): Cast all
6285 ptrdiff_t to long for printing.
6286 (print_compiled_pattern): Use Z for printing size_t.
6287 * posix/testfnm.c (tests): Avoid trigraphs.
6288 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
6289 Use a C comment, not an assembly comment.
6291 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
6292 of __ASSUME_32BITUIDS.
6294 2000-03-26 Ulrich Drepper <drepper@redhat.com>
6296 * libio/iofopncook.c: Remove K&R prototypes.
6298 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
6300 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
6301 an initial value of 1024 instead of RLIM_INFINITY.
6303 * Versions.def (libmachuser, libhurduser): Remove these sections,
6304 since these libraries do not presently use symbol versions.
6306 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
6307 is RLIM_INFINITY, return -1 instead.
6309 2000-03-24 Andreas Jaeger <aj@suse.de>
6311 * Makefile (postclean): Added soversions.i.
6313 2000-03-24 Scott Bambrough <scottb@netwinder.org>
6315 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
6316 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
6317 and _FPU_IEEE. Change _FPU_RESERVED.
6319 2000-03-24 Scott Bambrough <scottb@netwinder.org>
6321 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
6323 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
6325 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
6326 (gaih_inet): Remove unused duplicate variable.
6328 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
6329 Don't use __libc_sa_len, which only exists for Linux. Just handle
6330 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
6331 only flavors supported by this function anyway.
6333 2000-03-24 Geoff Clare <gwc@unisoft.com>
6335 * stdlib/strfmon.c: Corrected problems with missing signs and
6336 missing or extra spaces; allow for sign strings longer than
6337 one character; add padding to ensure positive and negative
6338 formats are aligned when a left precision is used.
6340 2000-03-26 Ulrich Drepper <drepper@redhat.com>
6342 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
6343 Patch by John Mizel <John.Mizel@msdw.com>.
6345 2000-03-25 Ulrich Drepper <drepper@redhat.com>
6347 * manual/install.texi: Remove references to crypt add-on.
6349 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
6351 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
6352 section while taking the _hurd_rlimit_lock.
6353 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
6355 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
6357 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
6360 * sysdeps/mach/hurd/if_index.c: New file.
6362 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
6363 * sysdeps/gnu/net/if.h: here.
6364 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
6365 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
6366 * sysdeps/generic/net/if.h: New file. Declares just the standard
6367 functions and `struct if_nameindex' type.
6368 * socket/Makefile (headers): Add net/if.h here.
6369 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
6370 * sysdeps/mach/hurd/Dist: Remove it here.
6371 * sysdeps/unix/sysv/linux/Dist: And here.
6372 * sysdeps/generic/if_index.c: Include <net/if.h>.
6374 2000-03-24 Andreas Jaeger <aj@suse.de>
6376 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
6377 access relocated entries in l_info.
6378 (elf_machine_got_rel): Likewise.
6379 (elf_machine_runtime_setup): Likewise.
6380 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
6381 (elf_machine_runtime_setup): Likewise.
6382 (__dl_runtime_resolve): Likewise.
6384 2000-03-23 Ulrich Drepper <drepper@redhat.com>
6386 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
6387 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
6388 according to RFC 2553.
6389 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
6390 * inet/getnameinfo.c: Likewise.
6391 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
6393 2000-03-23 Bruno Haible <haible@clisp.cons.org>
6395 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
6396 Remove no-op pointer increment.
6398 2000-03-23 Andreas Jaeger <aj@suse.de>
6400 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
6401 follow change for libio.h from 2000-03-10.
6403 2000-03-23 Andreas Jaeger <aj@suse.de>
6405 * elf/dl-addr.c: Adjust include paths for ldsodefs location
6407 * elf/dl-debug.c: Likewise.
6408 * elf/dl-deps.c: Likewise.
6409 * elf/dl-error.c: Likewise.
6410 * elf/dl-fini.c: Likewise.
6411 * elf/dl-init.c: Likewise.
6412 * elf/dl-load.c: Likewise.
6413 * elf/dl-lookup.c: Likewise.
6414 * elf/dl-minimal.c: Likewise.
6415 * elf/dl-object.c: Likewise.
6416 * elf/dl-open.c: Likewise.
6417 * elf/dl-preinit.c: Likewise.
6418 * elf/dl-profile.c: Likewise.
6419 * elf/dl-profstub.c: Likewise.
6420 * elf/dl-reloc.c: Likewise.
6421 * elf/dl-runtime.c: Likewise.
6422 * elf/dl-support.c: Likewise.
6423 * elf/dl-symbol.c: Likewise.
6424 * elf/dl-version.c: Likewise.
6425 * elf/rtld.c: Likewise.
6426 * elf/sprof.c: Likewise.
6427 * sysdeps/generic/dl-cache.c: Likewise.
6428 * sysdeps/generic/dl-origin.c: Likewise.
6429 * sysdeps/generic/dl-sysdep.c: Likewise.
6430 * sysdeps/generic/elf/backtracesyms.c: Likewise.
6431 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6432 * sysdeps/generic/libc-start.c: Likewise.
6433 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6434 * sysdeps/powerpc/dl-machine.c: Likewise.
6435 * sysdeps/powerpc/elf/libc-start.c: Likewise.
6436 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6437 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6438 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
6440 * elf/ldsodefs.h: Move file to ...
6441 * sysdeps/generic/ldsodefs.h: ... here.
6443 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
6445 * sysdeps/mips/elf/ldsodefs.h: New file.
6447 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
6449 (_dl_check_map_versions): Likewise.
6450 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6451 * elf/dl-load.c (_dl_init_paths): Likewise.
6452 (_dl_map_object): Likewise.
6453 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
6454 (elf_get_dynamic_info): Likewise.
6455 * elf/do-lookup.h (FCT): Likewise.
6456 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
6457 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6458 * elf/dl-addr.c (_dl_addr): Likewise.
6459 * elf/dl-runtime.c (profile_fixup): Likewise.
6461 * elf/dl-init.c (_dl_init_next): Likewise.
6462 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
6463 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
6464 (DISTINGUISH_LIB_VERSIONS): Likewise.
6465 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
6466 (elf_machine_rel): Likewise.
6468 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
6469 for writable dynamic section.
6471 2000-03-22 Ulrich Drepper <drepper@redhat.com>
6473 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
6474 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
6476 2000-03-22 Andreas Jaeger <aj@suse.de>
6478 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
6479 from latest Linux kernel.
6481 2000-03-21 Andreas Jaeger <aj@suse.de>
6483 * Versions.def: Add version 2.1.4.
6485 2000-03-21 Ulrich Drepper <drepper@redhat.com>
6487 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
6488 * libio/oldiofopen.c: Likewise.
6489 * libio/oldiofclose.c: Likewise.
6490 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
6492 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
6494 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
6495 indicating the first version set to obsolete the conditionalized code.
6496 (compat_symbol): New macro.
6497 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
6498 rhs be the ABI_* macro for the subsuming version. Assign increasing
6499 integer values to the ABI_* macros for supported versions.
6500 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
6501 compat_symbol macro.
6503 2000-03-21 Ulrich Drepper <drepper@redhat.com>
6505 * nscd/connections.c (nscd_run): Pretty print.
6506 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
6508 * manual/charset.texi: Fix typos. Rephrase.
6509 * manual/process.texi: Likewise.
6510 * manual/signal.texi: Likewise.
6511 Patches by Mike Coleman <mkc@kc.net>.
6513 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
6515 * libio/iofdopen.c: Likewise.
6516 * libio/iofgetpos.c: Likewise.
6517 * libio/iofgetpos64.c: Likewise.
6518 * libio/iofopen.c: Likewise.
6519 * libio/iofsetpos.c: Likewise.
6520 * libio/iofsetpos64.c: Likewise.
6521 * libio/iopopen.c: Likewise.
6522 * libio/oldiofopen.c: Likewise.
6523 * libio/pclose.c: Likewise.
6524 * sysdeps/gnu/siglist.c: Likewise.
6525 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
6527 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
6528 chance to expand VERSION_##lib##_##version.
6530 * libio/fileops.c: Use new macros from shlib-compat.h to define
6532 * libio/iofclose.c: Likewise.
6533 * libio/oldiofclose.c: Likewise.
6534 Patch by Roland McGrath <roland@frob.com>.
6536 2000-03-21 Jakub Jelinek <jakub@redhat.com>
6538 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
6539 Lay out struct sigcontext according to what really gets passed on
6541 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
6542 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
6543 (prgregset_t, prfpregset_t): Define to elf_* types.
6544 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
6545 Define to correct value.
6546 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
6548 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
6550 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
6552 * scripts/firstversions.awk: Allow multiple version sets in the
6553 "earliest version" specification, meaning that version sets in the
6554 gaps between listed versions should be folded into the earliest later
6555 version that is explicitly listed.
6556 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
6557 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
6559 2000-03-21 Ulrich Drepper <drepper@redhat.com>
6561 * iconv/gconv_builtin.c: Include <endian.h>.
6562 * iconv/gconv_builtin.h: Add UCS-BE aliases.
6563 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
6564 according to current platform.
6565 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
6566 __gconv_transform_internal_ucs2reverse, and
6567 __gconv_transform_internal_ucs4le.
6568 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
6569 __gconv_transform_ucs2reverse_internal and
6570 __gconv_transform_internal_ucs2reverse.
6571 * iconvdata/Makefile (modules): Add UNICODE.
6572 (distribute): Add unicode.c.
6573 * iconvdata/gconv-modules: Add definitions for UNICODE module.
6574 * iconvdata/unicode.c: New file.
6576 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
6577 determine byte order of input and convert accordingly.
6579 * iconvdata/utf-16.c (gconv_init): Fix typo.
6581 2000-03-20 Ulrich Drepper <drepper@redhat.com>
6583 * iconvdata/gconv-modules: Fix typo.
6585 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
6588 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
6590 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
6592 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
6594 2000-03-20 Ulrich Drepper <drepper@redhat.com>
6596 * misc/Makefile (routines): Add mincore.
6598 2000-03-20 Andreas Jaeger <aj@suse.de>
6600 * sysdeps/generic/mincore.c: New stub file.
6602 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
6603 from latest Linux kernel.
6605 2000-03-20 Ulrich Drepper <drepper@redhat.com>
6607 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
6608 _SC_GETPW_R_SIZE_MAX.
6610 2000-03-20 Richard Henderson <rth@cygnus.com>
6612 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
6615 2000-03-20 Richard Henderson <rth@cygnus.com>
6617 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
6618 of arithmetic instructions.
6620 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
6621 with the fpcr. Protect from INV exception.
6622 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
6623 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
6624 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
6626 * sysdeps/alpha/fpu/s_copysign.c: New.
6627 * sysdeps/alpha/fpu/s_copysignf.c: New.
6628 * sysdeps/alpha/fpu/s_fabs.c: New.
6629 * sysdeps/alpha/fpu/s_fabsf.c: New.
6630 * sysdeps/alpha/fpu/s_rint.c: New.
6631 * sysdeps/alpha/fpu/s_rintf.c: New.
6633 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
6635 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
6637 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
6638 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
6639 Use physical addresses not KSEG addresses.
6640 (io_system): Add PYXIS.
6641 (io): Remove hae.reg, sys, hae_shift.
6642 (stb_mb, stw_mb, stl_mb, __sethae): New.
6643 (inline_outb, inline_outw, inline_outl): Don't set hae.
6644 (inline_inb, inline_inw, inline_inl): Likewise.
6645 (dense_sethae): New null function.
6646 (struct cpuinfo_data): New.
6647 (process_cpuinfo): Use local and stack variables, not static.
6648 Move readlink check here from init_iosys.
6649 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
6651 (_hae_shift): Calculate it here.
6652 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
6653 add pciconfig_iobase.
6655 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
6657 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
6658 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
6660 * scripts/versions.awk: Fixed version renaming code to distinguish
6663 2000-03-19 Ulrich Drepper <drepper@redhat.com>
6665 * include/stdlib.h: Add prototype for __cxa_atexit.
6667 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
6668 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
6670 2000-03-17 Cristian Gafton <gafton@redhat.com>
6672 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
6673 existing rtld-installed-name.
6674 ($(rtld-installed-name)): Request libc-$(version) be installed too.
6675 replace existing rtld-installed-name using $(symbolic-link-prog).
6677 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
6679 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
6680 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
6681 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
6684 2000-03-19 Ulrich Drepper <drepper@redhat.com>
6686 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
6687 glob64. Since there is no glob64 in the LFS proposal applications
6688 can assume that glob handles LFS situations. glob64 is only needed
6689 if alternative filesystem functions are used.
6691 2000-03-19 Geoff Clare <gwc@unisoft.com>
6693 * sysdeps/generic/glob.c: Correct gl_pathc value returned
6694 when GLOB_DOOFFS is set; correct handling of patterns
6695 containing escaped wildcards (and no unescaped ones);
6696 GLOB_ERR flag was being ignored in some situations.
6698 * posix/globtest.c, posix/globtest.sh: Updated to include
6699 tests for the problems fixed by the above changes to glob.c.
6701 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
6703 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
6705 * Makeconfig (soversion.i): Use only first match for each lib.
6707 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
6709 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
6710 rather than $(sysd-dirs-done) to protect these rules.
6712 * Makerules (version-renames.def): Target removed.
6713 (Versions.all): Depend on soversions.i directly and parse it.
6715 * Makeconfig (soversions.i): New target, input-reading parts of
6716 soversions.mk generation moved here; result is a canonicalized
6717 list "LIB VERSION [SET]" for this configuration.
6718 (soversions.mk): Use that as input. Don't emit map-firstversions.
6719 * Makerules (version-renames.def): New target, generated from
6720 soversions.i with contents that was in $(map-firstversions).
6721 (Versions.all): Don't depend on soversions.mk, depend on
6722 version-renames.def instead; just cat it into the input.
6724 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
6725 for $(map-firstversions), which better handles it being empty.
6727 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
6728 supported version for libc 0.2.90.libio to GLIBC_2.2.
6730 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
6731 and use it to emit new variable `map-firstversions'.
6732 * scripts/firstversions.awk: New file.
6733 * Makerules (Versions.all): Use scripts/firstversions.awk and
6734 the $(map-firstversions) value to generate a modified versions list
6735 that includes renames in "A = B" syntax for each version set earlier
6736 than the "earliest symbol version" named in shlib-versions.
6737 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
6738 rename version set A to B in the output to the intermediate file.
6739 * scripts/abi-versions.awk: New file.
6740 * Makerules (abi-versions.h): New target, generated by that script.
6741 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
6742 * include/shlib-compat.h: New file, uses that generated header.
6744 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
6746 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
6747 after stripping # comments, and then run it through cpp.
6748 This allows things like "%ifdef FOO" based on config.h settings.
6749 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
6751 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
6752 and other errors that indicate a pseudo-receive happened, grok through
6753 the message buffer for port rights that need references fixed up.
6755 2000-03-16 Andreas Jaeger <aj@suse.de>
6757 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
6759 * sysdeps/unix/sysv/linux/madvise.c: Remove.
6761 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
6762 from latest Linux kernel.
6763 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
6765 * misc/sys/mman.h: Add prototype for mincore.
6767 2000-03-17 Ulrich Drepper <drepper@redhat.com>
6769 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
6770 entry for GLIBC_2.0 version of setrlimit.
6771 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6773 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
6775 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
6776 * nis/nss_compat/compat-initgroups.c: Likewise.
6777 * nis/nss_nis/nis-initgroups.c: Likewise.
6778 * nis/nss_nis/nis-netgrp.c: Likewise.
6779 * nis/nss_nis/nis-proto.c: Likewise.
6780 * nis/nss_nis/nis-rpc.c: Likewise.
6781 * nis/nss_nis/nis-service.c: Likewise.
6782 * nis/ypclnt.c: Likewise.
6784 2000-03-16 Andreas Jaeger <aj@suse.de>
6786 * manual/Makefile: MAKEINFO is set to `:' from configure if it
6787 doesn't exist, correct checks. Fixes PR libc/1649.
6789 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
6791 * nscd/hstcache.c: Restore correct UID.
6792 * nscd/pwdcache.c: Likewise.
6793 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
6795 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
6797 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
6798 macros for register names, in line with 2000-03-14 linux change.
6800 * sysdeps/mach/sched_yield.c: New file.
6802 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
6804 * sysdeps/generic/lockfile.c: Include <stdio.h>
6805 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
6806 case <libio.h> defined them.
6807 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
6809 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
6810 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
6812 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
6813 for more pleasing parse error.
6815 2000-03-16 Ulrich Drepper <drepper@redhat.com>
6817 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
6819 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6821 * elf/Makefile: Add rules to compile and run constload1 test.
6822 * elf/constload1.c: New file.
6823 * elf/constload2.c: New file.
6824 * elf/constload3.c: New file.
6826 2000-03-15 Ulrich Drepper <drepper@redhat.com>
6828 * sysdeps/posix/open64.c: Make __open64 weak alias.
6829 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
6830 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6831 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
6832 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6833 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
6834 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
6835 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6836 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
6837 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6838 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
6840 2000-03-14 Ulrich Drepper <drepper@redhat.com>
6842 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
6843 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
6845 2000-03-16 Mark Kettenis <kettenis@gnu.org>
6847 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
6848 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
6850 2000-03-08 Andreas Jaeger <aj@suse.de>
6852 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
6854 2000-03-14 Ulrich Drepper <drepper@redhat.com>
6856 * timezone/africa: Update from tzdata2000d.
6857 * timezone/asia: Likewise.
6858 * timezone/australasia: Likewise.
6859 * timezone/europe: Likewise.
6860 * timezone/northamerica: Likewise.
6861 * timezone/southamerica: Likewise.
6863 * po/fr.po: Update from translation team.
6864 * po/de.po: Likewise.
6866 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
6867 last parameter. Move code to add map to global scope from here...
6868 * elf/dl-open.c (dl_open_worker): ...here.
6869 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
6870 * elf/rtld.c: Adjust call to _dl_map_object_deps.
6872 * locale/programs/ld-collate.c (collate_read): Fix warning.
6874 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
6875 values and macros for register names.
6877 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
6878 returned by seek cookie function is -1.
6880 2000-03-14 Andreas Jaeger <aj@suse.de>
6882 * locale/localeconv.c (localeconv): Fix typo.
6883 Reported by Andre Charbonneau <andrec@corel.com>.
6885 2000-03-14 Ulrich Drepper <drepper@redhat.com>
6887 * iconv/skeleton.c: Increment __invocation_counter in inner loop
6888 since modules depend on it counting the number of times the conversion
6889 function got called.
6891 * iconv/gconv_open.c: Optimize loop to setup step data structure.
6893 * iconv/gconv.h: Pretty print.
6895 2000-03-04 Ulrich Drepper <drepper@redhat.com>
6897 * posix/wordexp-test.c: Correct one of the tests added in the last
6898 change. Really get the root passwd entry to check again ~root.
6900 2000-03-10 Andreas Jaeger <aj@suse.de>
6902 * manual/filesys.texi (Working Directory): Fix last patch.
6903 Patch by Martin Buchholz <martin@xemacs.org>.
6905 2000-03-10 Andreas Jaeger <aj@suse.de>
6907 * manual/creature.texi (Feature Test Macros): Fix language.
6909 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
6911 * mach/devstream.c (devstream_write, devstream_read): New functions.
6912 (input, output): Functions removed.
6913 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
6914 using only the vanilla fopencookie interface.
6916 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
6917 as macro for __io_functions.
6918 (funcsio): Use cookie_io_functions_t type name.
6919 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
6921 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
6923 (fopencookie): Use it.
6924 * libio/libio.h: Declare _IO_cookie_init.
6925 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
6928 * libio/libio.h (__io_seek_fn): Fix second argument type
6929 to be a pointer, in line with the manual and the old stdio.
6930 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
6932 * sysdeps/generic/bits/stdio-lock.h: New file.
6933 This is a stub with #error, but that's better than no file at all.
6935 2000-03-09 Martin Buchholz <martin@xemacs.org>
6937 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
6938 * manual/message.texi (Using gettextized software): Doc Fixes.
6939 * manual/message.texi (Message Translation): Doc Fixes.
6940 * manual/filesys.texi (File Size): Doc Fixes.
6941 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
6942 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
6943 * iconv/gconv_db.c (find_derivation): Doc Fixes.
6944 * manual/install.texi: Doc Fixes.
6945 * manual/search.texi (Hash Search Function): Doc Fixes.
6946 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
6947 * FAQ.in: Doc Fixes.
6948 * config.h.in: Doc Fixes.
6949 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
6950 Doc Fixes. `allows to' is not correct English.
6952 * elf/rtld.c: Doc fixes.
6953 * manual/creature.texi (Feature Test Macros): Doc fixes.
6954 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
6956 * manual/filesys.texi (Working Directory): Check for ERANGE to
6959 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
6961 * string/argz-stringify.c (__argz_stringify): Fix loop termination
6962 conditions so as not to clobber the final '\0' when there is only one
6963 element in the vector.
6965 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
6967 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
6968 broken by 2000-02-27 change.
6970 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
6972 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
6974 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
6975 argument type, for 2000-02-22 change in signal/signal.h declaration.
6977 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
6979 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
6980 to getdirentries64 (no __), since the Linux implementation
6981 has no __ name, and there is no declaration for the __ name.
6983 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
6985 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
6986 sed regexp so as not to break directory names including /../ within.
6988 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
6989 The sysdeps/generic file is right for BSD. This file was in fact the
6990 Hurd file, but the only difference was the WNOREAP flag that was never
6991 actually implemented or used anywhere.
6993 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
6994 since AC_PATH_PROG already does it for us.
6995 (PERL): Rewrite check added in 2000-02-29 change for syntactic
6996 correctness and sh portability. I replaced the broken check
6997 with a more sensible implementation of the apparently intended
6998 semantics, which might still be questionable. Using expr causes
6999 a non-numeric value for `perl -V:apiversion` to be accepted,
7000 refusing to use only a perl that reports a number less than 5;
7001 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
7002 * configure: Regenerated.
7004 2000-03-08 Andreas Jaeger <aj@suse.de>
7006 * manual/crypt.texi: Fix paths.
7008 2000-03-07 Andreas Jaeger <aj@suse.de>
7010 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
7012 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
7015 2000-03-06 Andreas Jaeger <aj@suse.de>
7017 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
7018 in __sgn1l, otherwise g++ fails to parse this.
7019 Reported by Sean Chen <sean.chen@turbolinux.com>.
7021 2000-03-03 Geoff Keating <geoffk@cygnus.com>
7023 * configure.in: Compute sizeof-long-double.
7024 * configure: Regenerated.
7025 * config.make.in: Make sizeof-long-double available to sub-makes.
7027 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
7029 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
7032 2000-03-03 Geoff Keating <geoffk@cygnus.com>
7034 * Makeconfig (rpath-dirs): Add crypt.
7035 (all-subdirs): Remove md5crypt.
7036 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
7037 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
7038 * sysdeps/generic/crypt-entry.c: Delete.
7039 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
7040 * sysdeps/generic/crypt.h: Delete.
7041 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
7042 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
7043 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
7044 * sysdeps/generic/des_impl.c: Delete.
7045 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
7046 * crypt/sysdeps: Delete.
7047 * crypt/crypt_util.c: Don't use `patchlevel.h'.
7048 * md5-crypt/Versions: Move to crypt/.
7049 * md5-crypt/md5-crypt.c: Move to crypt/.
7050 * md5-crypt/md5.c: Move to crypt/.
7051 * md5-crypt/md5c-test.c: Move to crypt/.
7052 * md5-crypt/md5test.c: Move to crypt/.
7053 * md5-crypt: Delete.
7054 * crypt/Makefile: Adjust for new structure.
7056 2000-03-03 Paul Eggert <eggert@twinsun.com>
7058 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
7059 define to 1 if not defined.
7061 2000-03-03 Andreas Jaeger <aj@suse.de>
7063 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
7065 2000-03-03 Andreas Jaeger <aj@suse.de>
7067 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
7069 (xdr_int64_t): Correctly handle lower half.
7070 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
7072 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
7074 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
7077 2000-03-02 Andreas Jaeger <aj@suse.de>
7079 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
7082 2000-03-02 Andreas Jaeger <aj@suse.de>
7084 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
7086 2000-03-01 Andreas Jaeger <aj@suse.de>
7088 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
7089 (tests): Added tst-getdate.
7091 * time/tst-getdate.c: New file.
7093 * time/datemsk: New file, needed for tst-getdate.
7095 2000-02-29 Cristian Gafton <gafton@redhat.com>
7097 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
7099 2000-02-17 H.J. Lu <hjl@gnu.org>
7101 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
7103 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
7105 (svcudp_recv): Set up message with the new "xp_pad" field for
7107 (svcudp_reply): Support IP_PKTINFO if available.
7109 2000-03-01 Andreas Jaeger <aj@suse.de>
7111 * time/getdate.c (check_mday): Fix check for february.
7112 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
7113 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
7115 2000-03-02 Andreas Jaeger <aj@suse.de>
7117 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
7118 g++ fails to parse this.
7119 Reported by Sean Chen <sean.chen@turbolinux.com>.
7121 2000-02-28 Ulrich Drepper <drepper@redhat.com>
7123 * io/creat.c: Moved to...
7124 * sysdeps/generic/creat.c: ...here.
7125 * io/creat64.c: Moved to...
7126 * sysdeps/generic/creat64.c: ...here.
7127 * io/lockf.c: Moved to...
7128 * sysdeps/generic/lockf.c: ...here.
7130 * crypt/crypt.texi: Moved to...
7131 * manual/crypt.texi: ...here.
7132 * crypt/examples/genpass.c: Moved to...
7133 * manual/examples/genpass.c: ...here.
7134 * crypt/examples/mygenpass.c: Moved to...
7135 * manual/examples/mygenpass.c: ...here.
7136 * crypt/examples/testpass.c: Moved to...
7137 * manual/examples/testpass.c: ...here.
7139 * manual/Makefile (chapters): Add crypt.
7140 * manual/conf.texi: Add usual header for not-last chapter.
7141 * manual/crypt.texi: Add special header for last chapter.
7143 2000-02-28 Geoff Keating <geoffk@cygnus.com>
7145 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
7146 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
7147 complain if there is no crypt add-on.
7148 * crypt/configure: Removed.
7150 * crypt/crypt.texi: Update documentation of US export restrictions
7151 to match the 14 Jan 2000 regulations.
7153 2000-02-28 Geoff Keating <geoffk@cygnus.com>
7155 * crypt: New subdirectory, merged in from the crypt add-on.
7157 2000-02-28 Ulrich Drepper <drepper@redhat.com>
7159 * include/unistd.h: Add __rmdir and __mkdir prototypes.
7162 See ChangeLog.10 for earlier changes.