1 2000-07-22 Mark Kettenis <kettenis@gnu.org>
3 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
4 program's data space, reallocate only the space that was just
5 deallocated to release its backing space.
7 2000-07-23 Ulrich Drepper <drepper@redhat.com>
9 * stdio-common/vfprintf.c (process_string_arg): For wide character
10 version, handle precision also correctly.
12 * nss/nss_files/files-hosts.c: Correct problem with three or more
13 entries with the same name.
15 * nss/nss_files/files-hosts.c: Implement multi handling.
16 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
18 2000-07-22 Ulrich Drepper <drepper@redhat.com>
20 * nss/nss_files/files-parse.c: Don't pollute namespace by using
23 * grp/Makefile: Change Makefiles and tests to run only when necessary.
24 * malloc/Makefile: Likewise.
25 * malloc/tst-mtrace.sh: Likewise.
26 * posix/Makefile: Likewise.
27 * posix/globtest.sh: Likewise.
28 * posix/wordexp-tst.sh: Likewise.
29 * string/Makefile: Likewise.
31 2000-07-22 Mark Kettenis <kettenis@gnu.org>
33 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
34 size instead of LC_ALL to take into account the new locale
37 2000-07-22 Ulrich Drepper <drepper@redhat.com>
39 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
40 remainders of hash table.
41 * locale/categories.def: Remove remainders of transliteration
43 * locale/langinfo.h: Likewise.
44 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
45 transliteration tables.
47 * locale/gen-translit.pl: New file.
48 * locale/C-translit.h.in: New file.
49 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
50 data pointers with data from this file.
51 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
53 Add rule to generate C-translit.h.
54 * intl/tst-translit.c (main): Update for now performed
57 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
58 (it's no input error).
59 * stdio-common/tstscanf.c: Add test case for format %f with input --.
60 * stdio-common/scanf12.c: Correct expected result for first scanf.
62 * stdio-common/vfprintf.c (process_string_arg): Correct handling
63 of multibyte character strings in %s format with precision.
65 2000-07-21 Ulrich Drepper <drepper@redhat.com>
67 * locale/programs/ld-collate.c (collate_read): Allow collating
68 symbols and elements be named in reorder-after instructions.
69 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
71 * locale/programs/ld-collate.c (handle_ellipsis): Test for
72 duplication with generated name, not the name of the first
74 Patch by Yong Li <yong.li@asu.edu>.
76 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
77 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
79 2000-07-21 Wolfram Gloger <wg@malloc.de>
81 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
82 allocations only if a non-main arena cannot be extended.
84 2000-07-21 Ulrich Drepper <drepper@redhat.com>
86 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
87 in DF_1_NODEFLIB handling.
89 2000-07-21 Andreas Jaeger <aj@suse.de>
91 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
94 * libio/fwide.c: Include <wchar.h> for prototype.
96 2000-07-21 Greg McGary <greg@mcgary.org>
98 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
99 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
100 Define in terms of chunk_at_offset.
101 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
102 (next_bin, prev_bin): offset by size of real array elements.
103 (chunk_align): Make `m' a scalar, since that's how it's used.
105 2000-07-21 Greg McGary <greg@mcgary.org>
107 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
109 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
110 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
111 Wrap bounds around argv & envp and each of their string members.
112 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
113 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
114 symbol in BP_SYM (). Discard bounds of address arg.
115 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
116 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
117 Discard bounds on address arg, add bounds to return value.
119 2000-07-20 Ulrich Drepper <drepper@redhat.com>
121 * elf/Makefile (tests): Add filter. Add rules to generate filter.
122 * elf/filter.c: New file.
123 * elf/filtmod1.c: New file.
124 * elf/filtmod2.c: New file.
126 * elf/rtld.c: Define _dl_bind_not variable.
127 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
128 * elf/dl-support.c: Likewise.
129 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
130 * elf/dl-runtime.c (fixup): Don't remember looked up value if
132 (profile_fixup): Likewise.
134 * libio/Makefile (routines): Add fwide.
135 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
136 fwide now. Internal calls to _IO_fwide must do locking themselves
137 or don't need locking.
138 * libio/fwide.c: New file.
140 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
142 * elf/Makefile: Add no modules for nodelete test.
143 * elf/nodelmod3.c: New file.
144 * elf/nodelmod4.c: New file.
145 * elf/nodelete.c: Also test case where dependency of dlopen() object
148 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
149 * elf/nodlopen.c: New file.
150 * elf/nodlopenmod.c: New file.
151 * include/dlfcn.h: Define __RTLD_DLOPEN.
152 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
153 and this is a dlopen() call, do not load the binary.
154 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
155 * dlfcn/dlopenold.c: Likewise.
156 * configure.in: Add test for -z nodelete option.
157 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
159 2000-07-20 Mark Kettenis <kettenis@gnu.org>
161 Make Hesiod NSS module thread-safe.
163 * hesiod/README.hesiod: Update.
165 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
166 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
167 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
168 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
170 * hesiod/nss_hesiod/hesiod-init.c: New file.
171 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
172 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
173 * hesiod/nss_hesiod/nss_hesiod.h: New file.
174 * hesiod/nss_hesiod/hesiod-service.c
175 (_nss_hesiod_getservbyport_r): New function. Provide support for
176 looking up services by port number.
177 * hesiod/nss_hesiod/hesiod-proto.c: New file.
179 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
180 * hesiod/hesiod.h: Likewise.
181 * hesiod/hesiod_p.h: Likewise.
183 2000-07-20 Mark Kettenis <kettenis@gnu.org>
185 Fix problems with `struct __res_state' getting too big.
186 * resolv/resolv.h (struct __sockaddr_in): New definition.
187 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
188 the private parts of the structure to save some space.
189 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
190 (struct sockaddr_in *) in call to sock_eq.
191 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
193 2000-07-20 Ulrich Drepper <drepper@redhat.com>
195 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
196 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
198 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
199 to _dl_map_object. Return immediately if no object loaded.
200 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
201 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
202 if it exists into l_flags_1 word.
203 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
204 it to determine whether loading is wanted or not.
205 (_dl_map_object): Likewise.
206 Call _dl_map_object_from_fd with new parameter.
207 * sysdeps/generic/ldsodefs.h: Update prototype.
208 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
209 * elf/rtld.c: Likewise.
210 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
211 * elf/Makefile (tests): Add noload. Add rules to generate noload.
212 * elf/noload.c: New file.
213 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
214 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
215 * sysdeps/mips/bits/dlfcn.h: Likewise.
216 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
217 (tests-nodelete-yes): Define.
218 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
219 Add rules to build nodelete and modules.
220 * elf/nodelete.c: New file.
221 * elf/nodelmod1.c: New file.
222 * elf/nodelmod2.c: New file.
223 * configure.in: Add test for -z nodelete option.
224 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
226 * libio/Makefile (tests): Add tst_wprintf2.
227 (tst_wprintf2-ARGS): Define.
228 * libio/tst_wprintf2.c: New file.
229 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
231 * libio/wfiledoalloc.c: Only allocate external buffer if this
234 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
235 something in the buffer. gconv call can write up to end of the
236 buffer, not only _IO_write_end.
237 (_IO_wfile_overflow): Allocate also external buffer.
239 2000-07-19 Ulrich Drepper <drepper@redhat.com>
241 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
242 strings with precision in vfwprintf correctly.
243 * stdio-common/vfprintf.c: Fix completely broken handling of
244 unbuffered wide character streams.
245 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
247 * resolv/Makefile (distribute): Add README.
249 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
251 2000-07-18 Mark Kettenis <kettenis@gnu.org>
253 Update resolver code to BIND 8.2.3-T5B.
255 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
257 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
258 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
260 * resolv/Banner: BIND-8.2.3-T5B.
262 * resolv/base64.c: Update from BIND 8.2.3-T5B.
263 * resolv/herror.c: Likewise.
264 * resolv/inet_addr.c: Likewise.
265 * resolv/inet_net_ntop.c: Likewise.
266 * resolv/inet_net_pton.c: Likewise.
267 * resolv/inet_neta.c: Likewise.
268 * resolv/inet_ntop.c: Likewise.
269 * resolv/nsap_addr.c: Likewise.
270 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
271 IPv6 addresses (ISC bug #520).
273 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
274 * resolv/ns_parse.c: Likewise.
275 * resolv/ns_netint.c: Likewise.
276 * resolv/ns_samedomain.c: Likewise.
277 * resolv/ns_ttl.c: Likewise.
278 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
279 RCS ID in object file.
281 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
282 * resolv/res_mkquery.c: Likewise.
283 * resolv/res_query.c: Likewise.
284 * resolv/res_init.c: Likewise.
285 (res_setoptions): Mark internal.
286 * resolv/res_send.c: Likewise.
287 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
288 by using poll instead.
289 * resolv/res_comp.c: Likewise.
290 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
291 weak alias for __dn_expand.
292 * resolv/res_data.c: Likewise.
293 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
294 in _res.options. Avoids a potential security risk by avoiding a
296 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
297 res_mkquery, res_query, res_querydomain adn res_search weak
298 aliases for __res_mkquery, __res_query, __res_querydomain and
300 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
301 instead to avoid close(0).
302 (res_init): Always use the static resolver context.
303 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
304 alias for __res_init.
306 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
307 RES_SET_H_ERRNO and accompanying comment to...
308 * include/resolv.h: ... here.
310 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
311 * resolv/arpa/nameser_compat.h: Likewise.
313 2000-07-18 Ulrich Drepper <drepper@redhat.com>
315 * nss/makedb.c (main): Compare result of load_db with
316 NSS_STATUS_SUCCESS and not 0.
317 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
319 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
321 2000-07-18 Greg McGary <greg@mcgary.org>
323 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
324 (EXTEND_BUFFER): Use it.
326 2000-07-18 Ulrich Drepper <drepper@redhat.com>
328 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
329 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
330 __builtin_return_address.
331 * dlfcn/dlopenold.c: Likewise.
332 * dlfcn/dlsym.c: Likewise.
333 * dlfcn/dlvsym.c: Likewise.
334 * elf/dl-profstub.c: Likewise.
335 * malloc/malloc.c: Likewise.
336 * sysdeps/generic/machine-gmon.h: Likewise.
337 Based on a patch by schwidefsky@de.ibm.com.
339 2000-07-18 Andreas Jaeger <aj@suse.de>
341 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
342 NULL to elf_machine_fixup_plt t argument to silence GCC.
344 * include/string.h: Add prototype for __memchr.
346 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
348 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
351 2000-07-18 Ulrich Drepper <drepper@redhat.com>
353 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
355 * locale/C-ctype.c: Add initializers for gap elements.
356 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
359 2000-07-16 Ulrich Drepper <drepper@redhat.com>
361 * nscd/nscd.c (print_version): Update copyright year.
363 2000-07-17 Greg McGary <greg@mcgary.org>
365 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
366 keyletters F, I, S, W. Remove unused keyletter V. Surround
367 signature argnames with angle-brackets for use as word delimiters,
368 and to induce syntax errors for any args not handled. Split
369 multi-echo echoes and comment each stage.
370 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
371 * sysdeps/unix/inet/syscalls.list: Likewise.
372 * sysdeps/unix/mman/syscalls.list: Likewise.
373 * sysdeps/unix/syscalls.list: Likewise.
374 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
375 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
376 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
377 * sysdeps/unix/sysv/syscalls.list: Likewise.
378 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
380 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
381 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
382 qualifiers. Don't check NULL-terminator of argv & envp.
383 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
384 unbounded pointer type in word-size assertion.
385 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
386 cases to stifle warnings.
388 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
390 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
392 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
393 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
396 * Makerules (o-objects): Supplement with $(o-objects$o).
397 * string/Makefile (o-objects.ob): Add variable to pull
398 unbounded versions of memcpy, memset and memchr into libc_b.
400 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
401 rather than non-existent __ubp_memchr.
402 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
403 (_CHECK_STRING, _CHECK_N): New macros.
404 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
405 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
406 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
407 Add weak alias "memchr".
408 * sysdeps/generic/memchr.c: Likewise.
409 * sysdeps/i386/memchr.S: Likewise.
410 * sysdeps/ia64/memchr.S: Likewise.
411 * sysdeps/m68k/memchr.S: Likewise.
412 * sysdeps/sparc/sparc32/memchr.S: Likewise.
413 * sysdeps/sparc/sparc64/memchr.S: Likewise.
414 * sysdeps/vax/memchr.s: Likewise.
416 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
418 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
419 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
420 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
421 __BOUNDED_POINTERS__.
422 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
423 for __BOUNDED_POINTERS__.
425 2000-07-17 Bruno Haible <haible@clisp.cons.org>
427 * iconv/gconv_open.c (__gconv_open): Initialize the __data
428 field of struct __gconv_trans_data differently. Don't pass NULL to
429 trans_init_fct. Simplify list append operation.
431 2000-07-14 Bruno Haible <haible@clisp.cons.org>
433 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
434 not only those having tsearch.
436 2000-07-17 Ulrich Drepper <drepper@redhat.com>
438 * locale/langinfo.h: Add placeholder values in enum for removed
441 2000-07-17 Jakub Jelinek <jakub@redhat.com>
443 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
444 chain if the PHDR check fails.
446 2000-07-17 Mark Kettenis <kettenis@gnu.org>
448 * nss/getent.c (print_hosts): Make sure we always print a space
449 between numeric addresses and hostnames.
451 2000-07-17 Wolfram Gloger <wg@malloc.de>
453 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
454 i.e. if n_mmaps_max>0.
456 2000-07-16 Mark Kettenis <kettenis@gnu.org>
458 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
459 values to remove possible clash with other AI_* constants.
460 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
461 hexadecimal constants to stress the fact they're in fact
464 2000-07-15 Mark Kettenis <kettenis@gnu.org>
466 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
467 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
470 2000-07-16 Ulrich Drepper <drepper@redhat.com>
472 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
473 parameters of memset calls to avoid warnings.
475 2000-07-15 Ulrich Drepper <drepper@redhat.com>
477 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
480 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
481 Patch by Greg McGary <greg@mcgary.org>.
483 * io/Makefile (tests): Add tst-getcwd.
484 * io/tst-getcwd.c: New file.
486 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
488 2000-07-15 Jakub Jelinek <jakub@redhat.com>
490 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
493 2000-07-13 Jakub Jelinek <jakub@redhat.com>
495 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
496 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
498 2000-07-12 H.J. Lu <hjl@gnu.org>
500 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
502 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
503 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
504 (sysdep-routines): Add clone2.
505 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
507 2000-07-13 Jes Sorensen <jes@linuxcare.com>
509 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
510 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
512 2000-06-05 David Mosberger <davidm@hpl.hp.com>
514 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
515 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
516 Change type of si_band from "int" to "long".
517 (si_imm) [USE_GNU]: Define
518 (si_isr) [USE_GNU]: Ditto.
519 (ILL_BREAK) [USE_GNU]: Ditto.
520 (FPE_DECOVF) [USE_GNU]: Ditto.
521 (FPE_DECDIV) [USE_GNU]: Ditto.
522 (FPE_DECERR) [USE_GNU]: Ditto.
523 (FPE_INVASC) [USE_GNU]: Ditto.
524 (FPE_INVDEC) [USE_GNU]: Ditto.
525 (TRAP_BRANCH) [USE_GNU]: Ditto.
526 (TRAP_HWBKPT) [USE_GNU]: Ditto.
528 2000-07-06 Jes Sorensen <jes@linuxcare.com>
530 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
531 bits/sigcontext as struct mcontext does not depend on it.
533 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
535 2000-07-04 Jes Sorensen <jes@linuxcare.com>
537 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
539 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
541 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
543 2000-06-22 Jes Sorensen <jes@linuxcare.com>
545 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
547 2000-07-15 Ulrich Drepper <drepper@redhat.com>
549 * intl/Makefile (test-srcs): Add tst-translit.
551 Add rules to build and run tst-translit.
552 * intl/tst-translit.c: New file.
553 * intl/tst-translit.sh: New file.
554 * intl/translit.po: New file.
556 2000-07-14 Ulrich Drepper <drepper@redhat.com>
558 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
559 transliteration function did its job, continue, don't stop.
561 * iconvdata/iso646.c: Little optimizations in body for conversion
564 2000-07-14 Mark Kettenis <kettenis@gnu.org>
566 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
568 2000-07-14 Mark Kettenis <kettenis@gnu.org>
570 * configure.in: Check for pwd binary.
571 * config.make.in: Add PWD_P to be subsituted.
572 * Makerules: Use $(PWD_P) instead of /bin/pwd.
574 2000-07-14 Ulrich Drepper <drepper@redhat.com>
576 * iconvdata/Makefile (modules): Add GB18030.
577 (distribute): Add gb18030.c.
578 * iconvdata/gconv-modules: Add entries for GB18030 module.
579 * iconvdata/gb18030.c: New file.
580 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
583 2000-07-13 Andreas Jaeger <aj@suse.de>
585 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
588 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
589 * inet/getnetgrent.c (free_mem): Likewise.
590 * misc/mntent.c (free_mem): Likewise.
591 * nss/getXXbyYY.c (free_mem): Likewise.
592 * nss/getXXent.c (free_mem): Likewise.
593 * pwd/fgetpwent.c (free_mem): Likewise.
594 * shadow/fgetspent.c (free_mem): Likewise.
596 2000-07-14 Ulrich Drepper <drepper@redhat.com>
598 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
599 64-bit architecture correctly [PR libc/1794].
601 2000-07-13 Ulrich Drepper <drepper@redhat.com>
603 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
604 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
605 report that we are out of memory.
606 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
607 * elf/dl-libc.c (dlerror_run): Likewise.
608 * elf/dl-open.c (_dl_open): Likewise.
609 * elf/rtld.c (dl_main): Likewise.
610 * elf/dl-error.c: Define _dl_out_of_memory.
611 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
613 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
616 * dlfcn/dlerror.c (free_key_mem): Also free error string.
618 * iconv/loop.c: Fix comment.
620 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
622 2000-07-13 Andreas Jaeger <aj@suse.de>
624 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
625 getcwd (NULL, size) with size > 0.
626 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
628 2000-07-13 Andreas Jaeger <aj@suse.de>
630 * posix/Makefile: Remove build rules for libposix.
632 2000-07-13 Andreas Schwab <schwab@suse.de>
634 * sysdeps/generic/glob.c (glob): Fix memory leak.
635 [SHELL]: Remove reference to undefined variable `files'.
638 2000-07-13 Andreas Jaeger <aj@suse.de>
640 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
643 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
644 memory if it was allocated.
646 2000-07-12 Ulrich Drepper <drepper@redhat.com>
648 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
651 * iconv/gconv_open.c (__gconv_open): Reapply
652 2000-07-12 Bruno Haible <haible@clisp.cons.org>
654 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
656 * iconv/gconv_open.c: Undo last two changes for now. They break
659 2000-07-12 Andreas Jaeger <aj@suse.de>
661 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
663 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
664 (CFLAGS-dl-cache.c): Likewise.
665 (CFLAGS-ldconfig.c): Added, passes directory locations.
667 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
669 * elf/ldconfig.c (LD_SO_CONF): Likewise.
670 (main): Use configured LIBDIR and SLIBDIR.
672 2000-07-11 Jakub Jelinek <jakub@redhat.com>
674 * math/bits/cmathcalls.h (cimag): Add __THROW.
675 (creal, conj): Likewise.
676 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
679 2000-07-12 H.J. Lu <hjl@gnu.org>
681 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
682 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
684 2000-07-12 Ulrich Drepper <drepper@redhat.com>
686 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
689 2000-07-12 Bruno Haible <haible@clisp.cons.org>
691 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
693 2000-07-12 Bruno Haible <haible@clisp.cons.org>
695 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
698 2000-07-12 Bruno Haible <haible@clisp.cons.org>
700 * iconv/gconv_open.c (__gconv_open): Initialize
701 result->__steps[cnt].__data.
703 2000-07-12 Mark Kettenis <kettenis@gnu.org>
705 * nss/getent.c (services_keys): Pass port number in network byte
706 order in call to getservbyport.
708 2000-07-11 Andreas Jaeger <aj@suse.de>
710 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
712 * intl/Makefile (do-gettext-test): Likewise.
713 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
715 2000-07-11 Andreas Schwab <schwab@suse.de>
717 * Makeconfig (run-program-prefix): New rule.
718 (built-program-cmd): Use run-program-prefix.
720 2000-07-12 Ulrich Drepper <drepper@redhat.com>
722 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
723 and NOEXPR unconditionally available.
725 2000-07-12 Greg McGary <greg@mcgary.org>
727 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
728 * sysdeps/posix/open64.c: Likewise.
729 * sysdeps/generic/fegetenv.c: Likewise.
730 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
731 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
732 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
733 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
734 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
735 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
737 2000-07-11 Greg McGary <greg@mcgary.org>
739 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
740 Add extra level of macro expansion.
741 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
742 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
743 is available at the time `select' prototype is declared.
744 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
745 Collect non-versioned weak aliases. Consider only non-versioned
746 aliases for the user-visible systemcall name. Do checks inline with
747 call to primitive system call.
748 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
749 stand-alone bounds checks to suppress unused value warnings.
750 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
752 2000-07-10 Mark Kettenis <kettenis@gnu.org>
754 * sysdeps/mach/hurd/check_fds.c: New file. Implements
755 file descriptor checking in SUID programs for the Hurd.
757 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
758 res_hostalias instead of __hostalias for thread-safety.
760 2000-07-09 Mark Kettenis <kettenis@gnu.org>
762 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
763 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
765 2000-07-10 Ulrich Drepper <drepper@redhat.com>
767 * include/features.h: Include ISO C99 features if the compiler used
768 is an ISO C99 compiler.
769 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
771 2000-07-08 Mark Kettenis <kettenis@gnu.org>
773 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
775 2000-07-10 Andreas Jaeger <aj@suse.de>
777 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
778 it's overridden by libpthreads.
779 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
780 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
781 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
782 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
783 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
785 * malloc/Makefile: Run tst-mtrace only with shared libs.
787 * stdio-common/Makefile: Run unbputc and tst-printf tests only
790 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
792 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
793 that gpreg really points to the GOT section of the calling object.
794 Scan all PT_LOAD segments of objects for stub_pc, instead of only
795 checking a start address of first one.
797 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
800 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
802 2000-07-10 Andreas Jaeger <aj@suse.de>
804 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
805 (string_alias->strong_alias).
807 2000-07-08 Mark Kettenis <kettenis@gnu.org>
809 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
811 2000-07-07 Greg McGary <greg@mcgary.org>
813 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
814 have no names without leading underscores.
816 2000-07-07 Ulrich Drepper <drepper@redhat.com>
818 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
821 * stdio-common/Makefile (tests): Remove tst-printf here...
822 (tests-srcs): ...and add it here.
823 (distribute): Add tst-unbputc.sh and tst-printf.sh.
824 Add rules to run tst-printf.sh.
825 * stdio-common/tst-printf.c: Move code around so that there is really
826 no further output where it's stated.
827 * stdio-common/tst-printf.sh: New file.
829 2000-07-07 Mark Kettenis <kettenis@gnu.org>
831 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
832 (do_write): Renamed from pwrite.
833 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
834 `struct _IO_cookie_file'.
836 2000-07-07 Ulrich Drepper <drepper@redhat.com>
838 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
840 * malloc/tst-mtrace.sh: Run mtrace script.
842 2000-07-07 Greg McGary <greg@mcgary.org>
844 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
845 Move all three components of a bounded pointer.
847 2000-07-07 Ulrich Drepper <drepper@redhat.com>
849 * locale/programs/locale.c (write_locales): Don't simply add all
850 directories found in the subdir, test whether at least the
851 LC_CTYPE file is in there.
853 2000-07-06 Ulrich Drepper <drepper@redhat.com>
855 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
856 * iconvdata/euc-kr.c: Likewise.
858 * stdio-common/vfprintf.c (process_string_arg): Check result of
859 wcrtomb call and bail out if it failed.
861 * malloc/Makefile (test-srcs): Add tst-mtrace.
862 (distribute): Add tst-mtrace.sh.
863 Add rule to run tst-mtrace.sh.
864 * malloc/tst-mtrace.c: New file.
865 * malloc/tst-mtrace.sh: New file.
867 * include/signal.h: Declare __libc_sigaction.
868 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
869 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
870 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
871 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
872 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
873 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
874 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
876 * configure.in: Fix CFLAGS-memprofstat.c definition after
878 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
880 2000-07-06 Jakub Jelinek <jakub@redhat.com>
882 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
883 instead of NULL to elf_machine_fixup_plt t argument.
884 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
885 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
888 2000-07-06 Andreas Jaeger <aj@suse.de>
890 * crypt/Makefile (LDLIBS-cert): Removed.
891 (LDLIBS-md5c-test): Removed.
892 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
893 ($(objpfx)md5c-test): Likewise for md5c-test.out.
895 2000-07-06 Andreas Jaeger <aj@suse.de>
897 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
898 of the proc system is "proc".
900 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
901 thread library for static programs.
903 2000-07-06 Greg McGary <greg@mcgary.org>
905 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
907 * sysdeps/generic/strcpy.c: Add bounds checks.
908 * sysdeps/unix/fxstat.c: Likewise.
909 * sysdeps/unix/xstat.c: Likewise.
910 * sysdeps/unix/common/lxstat.c: Likewise.
911 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
912 * sysdeps/unix/sysv/linux/execve.c: Likewise.
913 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
914 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
915 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
916 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
917 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
918 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
919 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
920 * sysdeps/unix/sysv/linux/poll.c: Likewise.
921 * sysdeps/unix/sysv/linux/pread.c: Likewise.
922 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
923 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
924 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
925 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
926 * sysdeps/unix/sysv/linux/readv.c: Likewise.
927 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
928 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
929 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
930 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
931 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
932 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
933 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
934 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
935 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
936 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
937 * sysdeps/unix/sysv/linux/writev.c: Likewise.
938 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
939 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
940 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
941 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
942 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
943 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
944 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
945 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
946 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
947 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
948 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
949 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
950 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
951 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
952 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
953 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
954 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
955 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
956 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
957 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
958 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
959 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
960 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
961 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
962 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
963 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
964 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
965 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
966 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
967 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
968 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
969 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
970 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
971 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
972 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
973 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
974 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
976 * string/endian.h (__LONG_LONG_PAIR): New macro.
977 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
978 * sysdeps/unix/sysv/linux/pread.c: Likewise.
979 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
980 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
981 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
982 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
983 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
984 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
985 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
986 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
987 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
988 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
990 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
992 2000-07-06 Andreas Jaeger <aj@suse.de>
994 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
997 * math/test-fpucw.c: Include <stdio.h> for printf.
999 2000-07-05 Greg McGary <greg@mcgary.org>
1001 * sysdeps/generic/bp-checks.h: New file.
1002 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
1003 with list of #include files.
1004 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
1005 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
1006 Don't generate BP thunk if `V' appears in signature.
1007 Generate thunks with complete bounds checks.
1008 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
1009 * sysdeps/unix/inet/syscalls.list: Likewise.
1010 * sysdeps/unix/mman/syscalls.list: Likewise.
1011 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1012 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1013 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1014 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
1016 2000-07-05 Ulrich Drepper <drepper@redhat.com>
1018 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
1019 result. Search first in /etc/mtab (proc/mounts would be stupid).
1020 If mount not in the file fall back on /proc.
1022 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
1023 string got copied in.
1024 Patch by Solar Designer <solar@false.com>.
1026 2000-07-05 Andreas Jaeger <aj@suse.de>
1028 * manual/install.texi (Installation): Update information about
1030 (Configuring and compiling): Update for glibc 2.2.
1032 2000-07-04 Andreas Jaeger <aj@suse.de>
1034 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
1035 (_FPU_IEEE): Likewise.
1037 * math/Makefile (tests): Add test-fpucw.
1039 * math/test-fpucw.c (main): New file.
1041 2000-07-05 Ulrich Drepper <drepper@redhat.com>
1043 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
1045 * locale/programs/ld-collate.c (collate_output): Also write out the
1046 collation sequence values and the wide character string for the
1047 collation symbol table.
1049 * posix/fnmatch.c: Include "../locale/elem-hash.h".
1050 * posix/fnmatch_loop.c: Implement collating symbol handling.
1051 * posix/tst-fnmatch.input: Add more tests, especially for collating
1054 * posix/regex.c: Fix comment.
1056 2000-07-05 Andreas Jaeger <aj@suse.de>
1058 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
1059 (_FPU_GETCW): Remove extra colon.
1060 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
1062 * posix/fnmatch_loop.c (FCT): Only declare len if
1063 !WIDE_CHAR_VERSION to silence GCC.
1065 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
1067 * sysdeps/generic/strchrnul.c: Likewise.
1068 * sysdeps/generic/strlen.c: Likewise.
1069 * sysdeps/generic/strchr.c: Likewise.
1070 * sysdeps/generic/memchr.c: Likewise.
1072 2000-07-04 Ulrich Drepper <drepper@redhat.com>
1074 * posix/fnmatch_loop.c: Implement equivalence class handling.
1075 * posix/tst-fnmatch.input: Add tests for equivalence class
1078 * posix/fnmatch_loop.c: Improve performance for single-byte
1079 character sets by not using btowc.
1081 * posix/tst-fnmatch.input: Add tests for locale dependent
1083 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
1085 * posix/tst-fnmatch.input: Add more test cases.
1087 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
1088 are not aligned to alignof(md5_uint32) do it before calling
1089 __md5_process_bytes.
1090 * crypt/md5.c: Make sure buffers are aligned.
1091 * crypt/md5.h: Likewise.
1092 Reported by Solar Designer <solar@false.com>.
1094 * crypt/Makefile: Add dependencies for test programs.
1096 * Rules: Define LC_ALL=C in environments of all programs we run.
1098 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
1100 2000-07-03 H.J. Lu <hjl@gnu.org>
1102 * locale/programs/ld-ctype.c (ctype_output): The size of iov
1103 is 2 + elem + offset, not 2 + elem + offset + 2.
1105 2000-07-04 Ulrich Drepper <drepper@redhat.com>
1107 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
1109 * posix/Makefile (tests): Add tst-fnmatch.
1110 (tst-fnmatch-ENV): Define.
1111 * posix/tst-fnmatch.c: New file.
1112 * posix/tst-fnmatch.sh: New file.
1114 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
1116 * locale/programs/charmap.c (charmap_read): Prepend
1117 the condition filename == NULL.
1119 2000-07-03 Greg McGary <greg@mcgary.org>
1121 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
1123 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
1124 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
1126 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
1127 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
1128 (FILEBUF_LITERAL): Add cast for CHAIN init.
1129 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
1130 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
1131 Revert type of `fp' to _IO_FILE*.
1132 (_IO_iter_file): Remove cast.
1133 (_IO_iter_next): Elide intermediate member reference.
1135 * sysdeps/powerpc/strchr.S: Check bounds.
1136 Wrap extern symbols in BP_SYM ().
1138 2000-07-03 Andreas Jaeger <aj@suse.de>
1140 * dlfcn/Makefile (generated): New.
1142 2000-07-03 Ulrich Drepper <drepper@redhat.com>
1144 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
1145 (__uflow): Likewise.
1146 (__underflow): Likewise.
1147 * libio/wgenops.c (__wunderflow): Likewise.
1148 * stdio-common/tst-unbputc.c: New file.
1149 * stdio-common/tst-unbputc.sh: New file.
1150 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
1152 * po/en_GB.po: New file.
1153 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
1155 2000-07-01 Andreas Jaeger <aj@suse.de>
1157 * intl/Makefile (generated-dirs): New.
1159 * elf/Makefile (generated): trusted-dirs.h is always generated,
1160 move out of build-shared condition.
1161 (generated): Merge the two entries for build-shared.
1163 2000-07-01 Ulrich Drepper <drepper@redhat.com>
1165 * debug/Makefile (distribute): Add xtrace.sh.
1167 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1169 * version.h (VERSION): Bump to 2.1.91.
1171 * configure.in: Update warning comment. glibc should not be
1174 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
1175 ioperm.c, sys/procfs.h, and sys/io.h.
1177 * sysdeps/powerpc/Dist: Add bp-asm.h.
1179 * assert/Depend: Add localedata.
1180 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
1181 (test-assert-perr-ENV): New. Define LANGUAGE=C.
1183 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
1184 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
1185 relocation address to prevent unaligned trap.
1186 Suggested by Richard Henderson <rth@cygnus.com>.
1188 2000-06-30 Jakub Jelinek <jakub@redhat.com>
1190 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
1191 if redirecting and either redirection is done using defines or
1194 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1196 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
1197 generated expressions.
1198 Patch by Darren McClelland <dmcclell@zetec.com>.
1200 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
1201 since zic uses setlocale and gettext but we cannot make it use the
1202 new locale data since zic calls a shell which might not use the
1205 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
1206 handling the internation currency symbol. POSIX says that the
1207 fourth character is used to separate the currency symbol from the
1208 value. Therefore it does not have to be printed. But we cannot
1209 remove the space if the currency symbol is printed before the
1210 number since this is what many locales expect.
1212 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
1213 whether this information is available.
1215 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
1216 buffers in case the translation is too large. Remember allocated
1217 memory blocks in a list.
1218 (free_mem): Free memory for translations.
1220 * intl/tst-gettext.c: Use correct locale. Improve error messages.
1222 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
1223 information is available set the string length to zero.
1225 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
1227 2000-06-30 Greg McGary <greg@mcgary.org>
1229 * sysdeps/powerpc/bp-asm.h: New file.
1230 * sysdeps/powerpc/__longjmp.S: Check bounds.
1231 Wrap extern symbols in BP_SYM ().
1232 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
1233 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
1234 * sysdeps/powerpc/setjmp.S: Likewise.
1235 * sysdeps/powerpc/add_n.S: Likewise.
1236 * sysdeps/powerpc/addmul_1.S: Likewise.
1237 * sysdeps/powerpc/lshift.S: Likewise.
1238 * sysdeps/powerpc/rshift.S: Likewise.
1239 * sysdeps/powerpc/mul_1.S: Likewise.
1240 * sysdeps/powerpc/sub_n.S: Likewise.
1241 * sysdeps/powerpc/submul_1.S: Likewise.
1242 * sysdeps/powerpc/strlen.S: Likewise.
1243 * sysdeps/powerpc/memset.S: Likewise.
1244 * sysdeps/powerpc/stpcpy.S: Likewise.
1245 * sysdeps/powerpc/strcmp.S: Likewise.
1246 * sysdeps/powerpc/strcpy.S: Likewise.
1247 * sysdeps/powerpc/elf/bzero.S: Likewise.
1249 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
1250 Line up operands column with tabs.
1252 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1254 * elf/Makefile (LDFLAGS-origtest): Actually add it.
1256 * sysdeps/ia64/htonl.S: New file.
1257 * sysdeps/ia64/htons.S: New file.
1258 * sysdeps/ia64/memcpy.S: Replace with version which does not use
1259 floating point registers.
1260 Patches by Dan Pop <Dan.Pop@cern.ch>.
1262 2000-06-30 Andreas Jaeger <aj@suse.de>
1264 * posix/Makefile (tests): tst-exec and tst-spawn only work with
1267 * io/Makefile (CFLAGS-test-lfs.c): New.
1268 (tests): Add test-lfs.
1270 * io/test-lfs.c: New file.
1272 2000-06-30 Jakub Jelinek <jakub@redhat.com>
1274 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
1277 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
1279 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
1281 2000-06-29 Jes Sorensen <jes@linuxcare.com>
1283 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
1284 alias to the fstatfs call.
1286 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
1287 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
1289 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
1290 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
1292 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
1293 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
1294 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
1295 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
1297 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
1298 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
1300 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
1301 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
1303 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
1304 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
1306 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
1308 2000-06-29 Andreas Jaeger <aj@suse.de>
1310 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
1312 (print_err_message): Likewise.
1313 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
1315 2000-06-29 Ulrich Drepper <drepper@redhat.com>
1317 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
1318 used as words is properly aligned.
1320 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
1323 2000-06-29 Greg McGary <greg@mcgary.org>
1325 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
1326 * sysdeps/unix/make-syscalls.sh: Handle signatures of
1327 length 7..9, just in case...
1328 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
1330 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
1331 (POP_ERRNO_LOCATION_RETURN): Fold insns.
1332 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
1333 (PUSH_SIGNAL_MASK): New macro.
1334 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
1335 LEAVE is unnecessary. Check bounds of jmp_buf.
1336 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
1337 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
1338 immediately before tail-call.
1339 * sysdeps/i386/setjmp.S: Likewise.
1340 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1341 * sysdeps/i386/bsd-setjmp.S: Likewise.
1343 2000-06-29 Jakub Jelinek <jakub@redhat.com>
1345 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
1347 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
1348 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
1349 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
1350 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1351 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
1352 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
1353 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
1354 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
1356 2000-06-29 Ulrich Drepper <drepper@redhat.com>
1358 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
1359 we later need to calling free().
1360 Patch by Matt Wilson <msw@redhat.com>.
1362 * stdio-common/tst-printf.c: Add test for above problem.
1364 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
1366 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
1367 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
1369 2000-06-28 Jes Sorensen <jes@linuxcare.com>
1371 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
1372 prototype for abs().
1373 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
1375 2000-06-23 Andreas Jaeger <aj@suse.de>
1377 * config.h.in: Don't use regparm with bounded pointers.
1379 2000-06-29 Ulrich Drepper <drepper@redhat.com>
1381 * stdlib/grouping.h: Correctly handle multibyte thousands
1382 separator and decimal point.
1383 * stdlib/stdtod.c: Likewise.
1384 * sysdeps/generic/strtol.c: Likewise.
1386 * locale/categories.def: Add entries for wide character decimal point
1387 and thousands separator in numeric and monetary category.
1389 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1391 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
1392 second definition and initialization of decimal.
1394 2000-06-28 Greg McGary <greg@mcgary.org>
1396 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
1398 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
1399 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
1401 (_IO_JUMPS): Don't cast THIS--expect arg to be a
1402 (struct _IO_FILE_plus *).
1403 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
1404 THIS, since _IO_JUMPS no longer does it implicitly.
1405 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
1406 arg type as (struct _IO_FILE_plus *).
1407 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
1408 arg as (_IO_strfile *).
1409 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
1410 Declare 1st arg as (_IO_strfile *).
1411 * libio/fileops.c (_IO_new_file_init): Declare
1412 arg type as (struct _IO_FILE_plus *).
1413 * libio/oldfileops.c (_IO_old_file_init): Likewise.
1414 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
1415 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
1416 Declare iteration pointer as (struct _IO_FILE_plus *).
1417 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
1418 (struct _IO_FILE_plus *).
1419 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
1420 * libio/oldstdfiles.c (_IO_list_all): Likewise.
1421 (_IO_check_libio): Set user-visible handles to
1422 (struct _IO_FILE_plus *).
1423 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
1424 to (struct _IO_FILE_plus *).
1426 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
1427 whose high bound includes vtable to all functions that will use
1428 vtable. For streambufs, pass pointer whose bounds include struct
1430 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
1431 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1432 * libio/iofopen.c (_IO_new_fopen): Likewise.
1433 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1434 * libio/iofopen64.c (_IO_fopen64): Likewise.
1435 * libio/iopopen.c (_IO_new_popen): Likewise.
1436 * libio/oldiopopen.c (_IO_old_popen): Likewise.
1437 * libio/memstream.c (open_memstream): Likewise.
1438 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
1439 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
1440 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1441 * libio/iofopncook.c (_IO_cookie_init): Likewise.
1442 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
1443 * libio/vasprintf.c (_IO_vasprintf): Likewise.
1444 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
1445 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
1446 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
1447 * stdlib/strfmon.c (__strfmon_l): Likewise.
1448 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
1449 (vfprintf): Qualify computed-goto targets as unbounded.
1451 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1453 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
1454 thousands separator correctly.
1456 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
1457 * stdio-common/vfwscanf.c: Likewise.
1459 2000-06-27 Jes Sorensen <jes@linuxcare.com>
1461 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
1462 count into signatures for most calls.
1464 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1466 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
1467 the generic parser now.
1469 2000-06-28 Jes Sorensen <jes@linuxcare.com>
1471 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
1472 table entries are 32 bit on the ia64 (as specified by the ABI),
1473 not 64 bit as on the Alpha.
1475 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
1476 change of objects to use 32 bit hash table indices (see above).
1478 2000-06-28 Jes Sorensen <jes@linuxcare.com>
1480 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
1481 prototype for abs().
1483 2000-06-28 Wolfram Gloger <wg@malloc.de>
1485 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
1486 fails, try mmap_chunk() as a last resort even though n_mmaps_max
1487 may have been reached.
1489 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1491 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
1492 symbols in multi-character weights correctly.
1494 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
1495 depending on whether the input string is empty or not.
1497 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
1498 given state and not avoiding this by modifying a local object.
1499 * wcsmbs/wcrtomb.c: Likewise.
1501 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
1502 object since some incomplete characters might be in there.
1504 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
1505 sequences with first byte 0x8e correctly.
1507 * iconvdata/jis0208.h: Remove redundant test.
1509 2000-06-27 Ulrich Drepper <drepper@redhat.com>
1511 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
1512 Add it where it is needed now.
1514 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
1515 the input charset into account when generating the hash table.
1516 (allocate_arrays): Correct setting default width. Not all empty slots
1517 in the table are filled, only those not covert explicitly by the
1518 locale description and in the charset.
1520 * wctype/towctrans.c (__towctrans): Be graceful and accept error
1521 return values from the wctrans function.
1523 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
1524 wide character version.
1525 For %C handling, test correct pointer variable for NULL.
1527 * wcsmbs/wctob.c: Handle WEOF special.
1529 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
1531 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
1532 always-true test to avoid warning.
1534 2000-06-27 Greg McGary <greg@mcgary.org>
1536 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
1537 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
1538 (symbol_version, default_symbol_version): Factor redundant
1539 definitions out of conditional.
1541 2000-06-27 Jakub Jelinek <jakub@redhat.com>
1543 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
1546 2000-06-26 Ulrich Drepper <drepper@redhat.com>
1548 * include/libc-symbols.h (symbol_version): Add extra level of
1550 (default_symbol_version): Likewise.
1552 2000-06-26 Greg McGary <greg@mcgary.org>
1554 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
1555 for BP return value & push implicit struct-return pointer to
1557 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1558 (SYSCALL_ERROR_HANDLER): Likewise.
1559 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
1560 (SYSCALL_ERROR_HANDLER): Likewise.
1562 * Makeconfig: Add missing comment.
1563 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
1564 BP-flavored startup object.
1565 ($(objpfx)b$(start-installed-name)): New rule.
1566 * include/libc-symbols.h (symbol_set_declare): Change type
1567 of `__start_##set' and `__stop_##set' to pointer-to-function.
1568 (symbol_set_declare): Change type of `set' to array of
1569 pointer-to-function.
1570 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
1571 pointer-to-function.
1573 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
1575 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
1576 Remove clock_* and timer_* entries.
1577 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
1578 arg-count with signatures.
1580 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
1581 Check bounds of arguments.
1582 * sysdeps/i386/addmul_1.S: Likewise.
1583 * sysdeps/i386/lshift.S: Likewise.
1584 * sysdeps/i386/mul_1.S: Likewise.
1585 * sysdeps/i386/rshift.S: Likewise.
1586 * sysdeps/i386/sub_n.S: Likewise.
1587 * sysdeps/i386/submul_1.S: Likewise.
1588 * sysdeps/i386/i586/add_n.S: Likewise.
1589 * sysdeps/i386/i586/addmul_1.S: Likewise.
1590 * sysdeps/i386/i586/lshift.S: Likewise.
1591 * sysdeps/i386/i586/rshift.S: Likewise.
1592 * sysdeps/i386/i586/sub_n.S: Likewise.
1593 * sysdeps/i386/i686/add_n.S: Likewise.
1595 * sysdeps/i386/memchr.S: Likewise.
1596 * sysdeps/i386/memcmp.S: Likewise.
1597 * sysdeps/i386/rawmemchr.S: Likewise.
1598 * sysdeps/i386/i586/bzero.S: Likewise.
1599 * sysdeps/i386/i586/memcpy.S: Likewise.
1600 * sysdeps/i386/i586/mempcpy.S: Likewise.
1601 * sysdeps/i386/i586/memset.S: Likewise.
1602 * sysdeps/i386/i686/bzero.S: Likewise.
1603 * sysdeps/i386/i686/memcpy.S: Likewise.
1604 * sysdeps/i386/i686/mempcpy.S: Likewise.
1605 * sysdeps/i386/i686/memset.S: Likewise.
1607 * sysdeps/i386/stpcpy.S: Likewise.
1608 * sysdeps/i386/stpncpy.S: Likewise.
1609 * sysdeps/i386/strchr.S: Likewise.
1610 * sysdeps/i386/strchrnul.S: Likewise.
1611 * sysdeps/i386/strcspn.S: Likewise.
1612 * sysdeps/i386/strpbrk.S: Likewise.
1613 * sysdeps/i386/strrchr.S: Likewise.
1614 * sysdeps/i386/strspn.S: Likewise.
1615 * sysdeps/i386/strtok.S: Likewise.
1616 * sysdeps/i386/strtok_r.S: Likewise.
1617 * sysdeps/i386/i486/strcat.S: Likewise.
1618 * sysdeps/i386/i486/strlen.S: Likewise.
1619 * sysdeps/i386/i586/strchr.S: Likewise.
1620 * sysdeps/i386/i586/strcpy.S: Likewise.
1621 * sysdeps/i386/i586/strlen.S: Likewise.
1622 * sysdeps/i386/i686/strcmp.S: Likewise.
1623 * sysdeps/i386/i686/strtok.S: Likewise.
1624 * sysdeps/i386/i686/strtok_r.S: Likewise.
1626 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
1627 * sysdeps/i386/fpu/fesetenv.c: Likewise.
1628 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
1629 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
1630 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1632 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
1633 * sysdeps/i386/mul_1.S: Likewise.
1634 * sysdeps/i386/submul_1.S: Likewise.
1635 * sysdeps/i386/i586/add_n.S: Likewise.
1636 * sysdeps/i386/i586/addmul_1.S: Likewise.
1637 * sysdeps/i386/i586/lshift.S: Likewise.
1638 * sysdeps/i386/i586/mul_1.S: Likewise.
1639 * sysdeps/i386/i586/rshift.S: Likewise.
1640 * sysdeps/i386/i586/sub_n.S: Likewise.
1641 * sysdeps/i386/i586/submul_1.S: Likewise.
1643 2000-06-26 Ulrich Drepper <drepper@redhat.com>
1645 * rt/Makefile (librt-routines): Add clock_nanosleep.
1646 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
1647 * sysdeps/generic/clock_nanosleep.c: New file.
1648 * sysdeps/unix/clock_nanosleep.c: New file.
1649 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
1650 * time/time.h: Declare clock_nanosleep.
1652 2000-06-26 Greg McGary <greg@mcgary.org>
1654 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
1655 INSN1, INSN2, TEXT, GLOBL): Remove macros.
1656 (ALIGN): Cleanup surrounding conditionals.
1658 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
1659 Call ENTER/LEAVE macros.
1660 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
1661 * sysdeps/i386/submul_1.S: Likewise.
1663 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
1664 syntax. Define & use symbolic argument stack offsets. Call
1666 * sysdeps/i386/i586/mul_1.S: Likewise.
1667 * sysdeps/i386/i586/submul_1.S: Likewise.
1669 2000-06-25 Greg McGary <greg@mcgary.org>
1671 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
1674 2000-06-25 Ulrich Drepper <drepper@redhat.com>
1676 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
1677 * iconvdata/gen-8bit-gap.sh: Likewise.
1678 * iconvdata/gen-8bit.sh: Likewise.
1680 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
1682 * locale/programs/ld-collate.c (collate_read): Don't actually read
1683 the copy locale if we are ignoring the content.
1685 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
1688 * locale/programs/ld-collate.c: Correct handling of different
1690 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
1691 as extra parameter from which to copy category information.
1693 (load_locale): Likewise.
1694 * locale/programs/localedef.h: Update prototypes of add_to_readlist
1696 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
1697 * locale/programs/locfile.h: Likewise.
1698 * locale/programs/locfile-kw.gperf: Add entry for script.
1699 * locale/programs/locfile-token.h: Add tok_script.
1701 * locale/programs/locale.c: Update copyright year.
1702 * locale/programs/localedef.c: Likewise.
1704 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
1706 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
1707 Jens Moeller <jens.moeller@waii.com>.
1709 2000-06-24 Ulrich Drepper <drepper@redhat.com>
1711 * locale/programs/ld-name.c (name_finish): Add missing format
1712 specifier to test for name_fmt.
1714 * locale/programs/ld-address.c (iso639): Correct length of string
1716 (iso3166): Likewise.
1718 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
1720 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
1723 * elf/elf.h (NT_PRFPXREG): Define.
1725 2000-06-23 Ulrich Drepper <drepper@redhat.com>
1727 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
1728 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
1730 2000-06-23 Andreas Schwab <schwab@suse.de>
1732 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
1735 2000-06-23 Andreas Jaeger <aj@suse.de>
1737 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
1739 * io/test-stat.c: Add copyright header, mention Maciej.
1741 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
1742 SYS_mincore, SYS_madvise): Added.
1744 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
1747 2000-06-22 Ulrich Drepper <drepper@redhat.com>
1749 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
1750 (CFLAGS-tst_putwc.c): New definition.
1751 * libio/tst_getwc.c: New file.
1752 * libio/tst_getwc.input: New file.
1753 * libio/tst_putwc.c: New file.
1755 * include/string.h: Add prototype for __strdup.
1757 2000-06-22 Greg McGary <greg@mcgary.org>
1759 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
1760 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
1763 2000-06-23 Jes Sorensen <jes@linuxcare.com>
1765 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
1767 2000-06-22 Jes Sorensen <jes@linuxcare.com>
1769 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
1771 2000-06-22 Jes Sorensen <jes@linuxcare.com>
1773 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
1774 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
1776 2000-06-22 Ulrich Drepper <drepper@redhat.com>
1778 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
1779 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
1781 * sysdeps/mach/hurd/bits/stat.h: Likewise.
1782 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1783 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
1784 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1785 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
1786 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
1787 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
1788 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
1789 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1790 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
1791 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
1792 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
1793 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
1794 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
1797 2000-06-22 Andreas Jaeger <aj@suse.de>
1799 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
1802 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
1804 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
1806 2000-06-21 Ulrich Drepper <drepper@redhat.com>
1808 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
1811 2000-06-21 Greg McGary <greg@mcgary.org>
1813 * Makerules (elide-routines.*, elide-bp-thunks):
1814 Define unconditionally.
1816 2000-06-21 Jes Sorensen <jes@linuxcare.com>
1818 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
1820 2000-06-21 Andreas Jaeger <aj@suse.de>
1822 * io/Makefile (tests): Add test-stat.
1823 (CFLAGS-test-stat.c): New.
1825 * io/test-stat.c: New file from Maciej W. Rozycki
1826 <macro@ds2.pg.gda.pl>.
1828 2000-06-21 Jes Sorensen <jes@linuxcare.com>
1830 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
1831 in __rlimit_resource to make them match the kernel order.
1832 rlim_t is always 64 bit, use __rlim64_t to declare it
1835 2000-05-04 Jes Sorensen <jes@linuxcare.com>
1837 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
1838 RLIM_INFINITY before defining it to avoid clash with kernel header
1840 2000-05-03 Jes Sorensen <jes@linuxcare.com>
1842 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
1844 2000-06-21 Ulrich Drepper <drepper@redhat.com>
1846 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
1848 2000-06-21 Andreas Jaeger <aj@suse.de>
1850 * stdio-common/temptest.c: Include <stdlib.h>.
1851 * stdio-common/tst-fileno.c: Likewise.
1852 * stdio-common/scanf4.c: Likewise.
1853 * stdio-common/scanf5.c: Likewise.
1854 * time/clocktest.c: Likewise.
1855 * posix/test-vfork.c: Likewise.
1856 * posix/globtest.c: Likewise.
1857 * io/test-utime.c: Likewise.
1858 * wctype/test_wcfuncs.c: Likewise.
1859 * crypt/cert.c: Likewise.
1861 * stdio-common/tst-printfsz.c: Include <string.h>.
1862 * libio/tst_swscanf.c: Likewise.
1863 * libio/tst_wscanf.c: Likewise.
1864 * posix/runtests.c: Likewise.
1865 * posix/tst-getaddrinfo.c: Likewise.
1866 * posix/wordexp-test.c: Likewise.
1867 * misc/tst-efgcvt.c: Likewise.
1869 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
1870 * nss/test-netdb.c: Likewise.
1872 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
1873 supported kernel for MIPS.
1875 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
1876 * rt/aio_suspend.c: Likewise.
1878 2000-06-20 Ulrich Drepper <drepper@redhat.com>
1880 * math/libm-test.inc: Include <string.h>.
1882 2000-06-20 Jes Sorensen <jes@linuxcare.com>
1884 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
1886 2000-06-20 Jes Sorensen <jes@linuxcare.com>
1888 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
1889 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
1891 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
1893 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
1895 2000-06-20 Jes Sorensen <jes@linuxcare.com>
1897 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
1899 2000-06-20 Ulrich Drepper <drepper@redhat.com>
1901 * locale/programs/ld-collate.c (insert_value): Now take string and
1902 length instead of struct token* parameter. Adjust use of token.
1903 (handle_ellipsis): Likewise.
1904 (collate_read): Allow <Uxxxx> names and transform them into names
1905 to be passed to insert_value and handle_ellipsis.
1907 * locale/programs/ld-ctype.c (uninames): New array with names of
1908 digits in <Uxxxxxxxx> format.
1909 (ctype_finish): Correct search for space character value. Likewise
1910 for default outdigits values.
1912 2000-06-20 Greg McGary <greg@mcgary.org>
1914 * Makerules (objects): Add BP thunks.
1916 2000-06-20 Ulrich Drepper <drepper@redhat.com>
1918 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
1919 in width definitions.
1921 2000-06-20 Andreas Jaeger <aj@suse.de>
1923 * sysdeps/mips/fpu/libm-test-ulps: New file.
1925 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
1928 * sysdeps/mips/fpu/feholdexcpt.c: New file.
1930 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
1932 2000-06-19 Ulrich Drepper <drepper@redhat.com>
1934 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
1935 change in gconv_builtin.h.
1937 * malloc/Makefile: Change all references to memprof into memusage.
1938 * malloc/memprof.c: Rename to...
1939 * malloc/memusage.c: ...this. New file.
1940 * malloc/memprof.sh: Rename to...
1941 * malloc/memusage.sh: ...this. New file.
1942 * malloc/memprofstat.c: Rename to...
1943 * malloc/memusagestat.c: ...this. New file.
1944 * sysdeps/alpha/memprof.h: Rename to..
1945 * sysdeps/alpha/memusage.h: ...this. New file.
1946 * sysdeps/arm/memprof.h: Rename to..
1947 * sysdeps/arm/memusage.h: ...this. New file.
1948 * sysdeps/generic/memprof.h: Rename to..
1949 * sysdeps/generic/memusage.h: ...this. New file.
1950 * sysdeps/i386/memprof.h: Rename to..
1951 * sysdeps/i386/memusage.h: ...this. New file.
1952 * sysdeps/ia64/memprof.h: Rename to..
1953 * sysdeps/ia64/memusage.h: ...this. New file.
1954 * sysdeps/m68k/memprof.h: Rename to..
1955 * sysdeps/m68k/memusage.h: ...this. New file.
1956 * sysdeps/mips/memprof.h: Rename to..
1957 * sysdeps/mips/memusage.h: ...this. New file.
1958 * sysdeps/powerpc/memprof.h: Rename to..
1959 * sysdeps/powerpc/memusage.h: ...this. New file.
1960 * sysdeps/sparc/memprof.h: Rename to..
1961 * sysdeps/sparc/memusage.h: ...this. New file.
1962 * sysdeps/sh/memprof.h: Rename to..
1963 * sysdeps/sh/memusage.h: ...this. New file.
1965 * elf/sprof.c (print_version): Update year.
1967 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
1968 table entry values. Use D_PTR.
1969 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
1970 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
1972 2000-06-20 Jes Sorensen <jes@linuxcare.com>
1974 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
1975 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
1976 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
1977 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
1979 2000-05-05 Jes Sorensen <jes@linuxcare.com>
1981 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
1983 2000-06-16 Jes Sorensen <jes@linuxcare.com>
1985 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
1986 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
1987 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
1989 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
1991 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
1994 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
1995 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
1997 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
2000 2000-06-15 Jes Sorensen <jes@linuxcare.com>
2002 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
2004 2000-06-08 Jes Sorensen <jes@linuxcare.com>
2006 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
2008 2000-06-19 Ulrich Drepper <drepper@redhat.com>
2010 * iconv/gconv_int.h (strict gconv_module): Remove all members
2011 associated with regular expressions. Use a simple string as the
2013 * iconv/gconv_db.c: Remove code handling regular expressions.
2014 * iconv/gconv_conf.c: Likewise.
2015 * iconv/iconv_prog.c: Likewise.
2016 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
2018 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
2019 General namespace cleanup.
2020 (struct __gconv_trans_data): Add next field.
2021 (struct __gconv_step_data): Make __trans a pointer.
2022 * iconv/gconv_conf.c: Split out code to find gconv directories from
2023 __gconv_read_conf in new functions.
2024 * iconv/gconv_int.h: Define new data structure and declare new
2025 functions for handling of gconv directory list.
2026 * iconv/gconv_open.c: Allow more than one error handling step being
2027 used. Call function to load error handling module if it is none
2028 of the builtin transformations.
2029 * iconv/gconv_close.c: Add code to free transliteration data.
2030 * iconv/gconv_trans.c: Add functions to load and unload modules
2031 implementing transliteration etc.
2032 * iconv/skeleton.c: Call all context functions now that more than
2033 one module is allowed.
2034 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
2035 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
2036 where the full error handling using transliteration is needed.
2037 * iconvdata/8bit-gap.c: Likewise.
2038 * iconvdata/8bit-generic.c: Likewise.
2039 * iconvdata/ansi_x3.110.c: Likewise.
2040 * iconvdata/big5.c: Likewise.
2041 * iconvdata/big5hkscs.c: Likewise.
2042 * iconvdata/euc-cn.c: Likewise.
2043 * iconvdata/euc-jp.c: Likewise.
2044 * iconvdata/euc-kr.c: Likewise.
2045 * iconvdata/euc-tw.c: Likewise.
2046 * iconvdata/gbgbk.c: Likewise.
2047 * iconvdata/gbk.c: Likewise.
2048 * iconvdata/iso-2022-cn.c: Likewise.
2049 * iconvdata/iso-2022-jp.c: Likewise.
2050 * iconvdata/iso-2022-kr.c: Likewise.
2051 * iconvdata/iso646.c: Likewise.
2052 * iconvdata/iso8859-1.c: Likewise.
2053 * iconvdata/iso_6937-2.c: Likewise.
2054 * iconvdata/iso_6937.c: Likewise.
2055 * iconvdata/johab.c: Likewise.
2056 * iconvdata/sjis.c: Likewise.
2057 * iconvdata/t.61.c: Likewise.
2058 * iconvdata/uhc.c: Likewise.
2059 * iconvdata/unicode.c: Likewise.
2060 * iconvdata/utf-16.c: Likewise.
2061 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
2062 structure correctly after last change.
2063 * wcsmbs/btowc.c: Likewise.
2064 * wcsmbs/mbrtowc.c: Likewise.
2065 * wcsmbs/mbsnrtowcs.c: Likewise.
2066 * wcsmbs/mbsrtowcs.c: Likewise.
2067 * wcsmbs/wcrtomb.c: Likewise.
2068 * wcsmbs/wcsnrtombs.c: Likewise.
2069 * wcsmbs/wcsrtombs.c: Likewise.
2070 * wcsmbs/wctob.c: Likewise.
2072 * localedata/Makefile: Set -Wno-format for some files since gcc does
2073 not know all the format specifiers.
2075 2000-06-18 Ulrich Drepper <drepper@redhat.com>
2077 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
2079 * locale/lc-time.c (_nl_init_era_entries): Likewise.
2081 2000-06-18 Andreas Jaeger <aj@suse.de>
2083 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
2084 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
2086 2000-06-17 Ulrich Drepper <drepper@redhat.com>
2088 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
2090 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
2092 * locale/programs/ld-ctype.c (ctype_output): Really write out
2093 mboutdigits information.
2094 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
2095 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
2096 * localedata/tests/trans.def: Add outdigit information.
2098 * localedata/tst-mbswcs3.c: Remove comment.
2100 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
2101 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
2102 * libio/tst_wprintf.c (main): Add test for I flag.
2104 * iconv/gconv_trans.c: Implement handling if translit_ignore.
2105 * locale/langinfo.h: Add entries for translit_ignore information.
2106 * locale/categories.def: Add entries for new LC_CTYPE elements.
2107 * locale/C-ctype.c: Add initializers for new fields. Use NULL
2108 pointer instead of "" where possible.
2109 * locale/programs/ld-ctype.c: Write out translit_ignore information.
2110 * intl/Depend: Add localedata.
2111 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
2112 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
2114 2000-06-16 Ulrich Drepper <drepper@redhat.com>
2116 * locale/langinfo.h: Add entries for default_missing information.
2117 * locale/C-ctype.c: Add initializers for new fields.
2118 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
2120 * locale/categories.h: Add entries for all LC_CTYPE values.
2121 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
2124 * localedata/tst-trans.c: Write out an error message if class is
2127 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
2128 * iconv/gconv_open.c: Remove error handling specification from `from'
2130 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
2131 new parameter to always enable transliteration.
2132 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
2134 (struct locale_data): Add new members use_translit and options.
2135 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
2136 character set name contained modifier TRANSLIT.
2137 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
2139 (_nl_unload_locale): Free options string if necessary.
2140 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
2141 the locale names suggested this.
2142 * locale/C-address.c: Add two new initialilzers to adjust data
2143 structure for new format.
2144 * locale/C-collate.c: Likewise.
2145 * locale/C-ctype.c: Likewise.
2146 * locale/C-identification.c: Likewise.
2147 * locale/C-measurement.c: Likewise.
2148 * locale/C-messages.c: Likewise.
2149 * locale/C-monetary.c: Likewise.
2150 * locale/C-name.c: Likewise.
2151 * locale/C-numeric.c: Likewise.
2152 * locale/C-paper.c: Likewise.
2153 * locale/C-telephone.c: Likewise.
2154 * locale/C-time.c: Likewise.
2156 * locale/setlocale.c: Add some more __builtin_expect.
2158 2000-06-15 Ulrich Drepper <drepper@redhat.com>
2160 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
2162 (__gconv_init_fct): Remove two parameters.
2163 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
2164 gconv_transliterate. Remove two parameters.
2165 Change prototypes of builtin functions according to __gconv_fct change.
2166 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
2167 != NULL only during error handling. Stop in this case after the
2169 * iconv/gconv_trans.c: Replace with real implementation for
2170 __gconv_transliterate.
2171 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
2172 * iconv/gconv.c: Change calls to downstream functions once again.
2173 Use NULL for the fifth parameter instead of pointer to output buffer.
2174 * libio/iofwide.c: Likewise.
2175 * wcsmbs/btowc.c: Likewise.
2176 * wcsmbs/mbrtowc.c: Likewise.
2177 * wcsmbs/mbsnrtowcs.c: Likewise.
2178 * wcsmbs/mbsrtowcs.c: Likewise.
2179 * wcsmbs/wcrtomb.c: Likewise.
2180 * wcsmbs/wcsnrtombs.c: Likewise.
2181 * wcsmbs/wcsrtombs.c: Likewise.
2182 * wcsmbs/wctob.c: Likewise.
2183 * iconv/gconv_simple.c: Remove two parameters from error handling
2185 * iconvdata/8bit-gap.c: Likewise.
2186 * iconvdata/8bit-generic.c: Likewise.
2187 * iconvdata/ansi_x3.110.c: Likewise.
2188 * iconvdata/big5.c: Likewise.
2189 * iconvdata/big5hkscs.c: Likewise.
2190 * iconvdata/euc-cn.c: Likewise.
2191 * iconvdata/euc-jp.c: Likewise.
2192 * iconvdata/euc-kr.c: Likewise.
2193 * iconvdata/euc-tw.c: Likewise.
2194 * iconvdata/gbgbk.c: Likewise.
2195 * iconvdata/gbk.c: Likewise.
2196 * iconvdata/iso-2022-cn.c: Likewise.
2197 * iconvdata/iso-2022-jp.c: Likewise.
2198 * iconvdata/iso-2022-kr.c: Likewise.
2199 * iconvdata/iso646.c: Likewise.
2200 * iconvdata/iso8859-1.c: Likewise.
2201 * iconvdata/iso_6937-2.c: Likewise.
2202 * iconvdata/iso_6937.c: Likewise.
2203 * iconvdata/johab.c: Likewise.
2204 * iconvdata/sjis.c: Likewise.
2205 * iconvdata/t.61.c: Likewise.
2206 * iconvdata/uhc.c: Likewise.
2207 * iconvdata/unicode.c: Likewise.
2208 * iconvdata/utf-16.c: Likewise.
2210 2000-06-15 Greg McGary <greg@mcgary.org>
2212 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
2213 of callnum assignment. Tolerate callnum expressions containing
2216 2000-06-14 Ulrich Drepper <drepper@redhat.com>
2218 * login/Makefile (utmpd): Remove rule to build utmpd.
2220 * csu/Versions: Move libgcc frame handling functions from here...
2221 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
2222 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
2223 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
2224 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
2225 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
2226 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
2228 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
2230 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
2232 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
2234 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
2236 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
2238 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
2239 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
2240 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
2241 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
2243 2000-06-14 Jakub Jelinek <jakub@redhat.com>
2245 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
2246 defined, terminate quotes and read them after the comment char.
2247 * configure.in (HAVE_SECTION_QUOTES): Test whether
2248 __attribute__((section ("x"))) puts quotes around x or not.
2249 * config.h.in (HAVE_SECTION_QUOTES): Add.
2250 * configure: Rebuilt.
2252 2000-06-14 Andreas Jaeger <aj@suse.de>
2254 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
2255 depending on the configure option --sysconfdir.
2256 Closes PR libc/1762.
2257 Patch by Andreas Schwab <schwab@suse.de>.
2259 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
2261 Reported by Jim Pick <jim@jimpick.com>.
2263 2000-06-14 Ulrich Drepper <drepper@redhat.com>
2265 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
2266 crashing the application. Emit some simple error message.
2267 Reported by mju@panasas.com [PR libc/1769].
2269 2000-06-13 Ulrich Drepper <drepper@redhat.com>
2271 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
2273 * crypt/Makefile (distribute): Add md5.h.
2275 * Makefile (distribute): Add include/shlib-compat.h.
2277 * Make-dist: Search for tests also in sysdeps hierachy.
2279 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
2280 ufc.c, speeds.c, README.ufc-crypt, and Banner.
2282 * sysdeps/sparc/Subdirs: New file.
2284 * locale/Makefile (distribute): Add weightwc.h and
2285 programs/localedef.h.
2287 * time/Makefile (distribute): Add datemsk.
2289 * sysdeps/ia64/Dist: Add softpipe.h.
2291 * sysdeps/unix/sysv/aix/Dist: New file.
2293 * posix/setpgrp.c: Moved to...
2294 * sysdeps/generic/setpgrp.c: ...here. New file.
2295 * io/mknod.c: Moved to...
2296 * sysdeps/generic/mknod.c: ...here. New file.
2298 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
2300 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
2302 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
2304 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
2305 gprsave0.S, gprrest1.S, and gprrest0.S.
2307 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
2309 * posix/Makefile (routines): Add spawnattr_getsigmask,
2310 spawnattr_getschedpolicy, spawnattr_getschedparam,
2311 spawnattr_setsigmask, spawnattr_setschedpolicy, and
2312 spawnattr_setschedparam.
2313 * posix/Versions: Add posix_spawnattr_getschedpolicy,
2314 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
2315 posix_spawnattr_setschedparam.
2317 * posix/spawnattr_setschedparam.c: Fix typo.
2319 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
2322 * login/programs/utmpd.c: Removed.
2323 * login/programs/utmpd.h: Removed.
2324 * login/programs/utmpd-private.h: Removed.
2326 * Makefile (distribute): Add include/db_185.h and include/db.h.
2328 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
2331 * elf/Makefile (distribute): Add missing files.
2333 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
2334 * elf/eval.c: Moved to...
2335 * dlfcn/eval.c: ...here. New file.
2337 * Makefile (distribute): Also distribute ChangeLog.1?.
2339 * Make-dist (+tsrcs): Remove .args handling here as well.
2341 * rt/Makefile (tests): Add tst-timer.
2342 * sysdeps/generic/tst-timer.c: New file.
2344 * Makerules (sources): Don't add BP sources here.
2346 * login/Makefile (distribute): Remove xtmp.h.
2348 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
2349 is true. Reported by Bruno Haible <haible@ilog.fr>.
2351 2000-06-13 Andreas Jaeger <aj@suse.de>
2353 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
2354 Patch by Ralf Baechle <ralf@gnu.org>.
2356 2000-06-13 Ulrich Drepper <drepper@redhat.com>
2358 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
2359 for mincore syscall.
2361 * misc/sys/cdefs.h: Define __bounded and __unbounded if
2362 __BOUNDED_POINTERS__ is not defined.
2364 2000-06-07 Greg McGary <greg@mcgary.org>
2366 * sysdeps/generic/bp-sym.h: New file.
2367 * sysdeps/generic/bp-start.h: New file.
2368 * sysdeps/i386/elf/start.S: Designate BP symbols.
2369 * sysdeps/generic/libc-start.c: Wrap bounds around
2370 argv & envp and each of their string members.
2372 2000-06-07 Greg McGary <greg@mcgary.org>
2374 * sysdeps/unix/make-syscalls.sh: Add comments to
2375 output that aid debugging & comprehension.
2376 Map simple syscall signatures to number of args.
2377 Generate BP syscall thunk definitions.
2378 * sysdeps/generic/bp-thunks.h: New file.
2379 * sysdeps/unix/syscalls.list: Replace arg-count with
2380 simple return+arg signature.
2381 * sysdeps/unix/common/syscalls.list: Likewise.
2382 * sysdeps/unix/inet/syscalls.list: Likewise.
2383 * sysdeps/unix/mman/syscalls.list: Likewise.
2384 * sysdeps/unix/sysv/syscalls.list: Likewise.
2385 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2386 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2388 2000-06-07 Greg McGary <greg@mcgary.org>
2390 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
2391 for all files *.[cS].
2392 (CFLAGS-.ob): Don't optimize sibling calls.
2393 (bppfx): New variable.
2394 * Makerules (elide-bp-thunks): New variable.
2395 (elide-routines.*): Elide BP-* files for all but *.ob.
2396 (sources): Include bp-thunks.
2398 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2400 * iconv/gconv_simple.c: Remove unnecessary prototype.
2402 * iconv/gconv_trans.c: Pretty print.
2404 * elf/elf.h (R_SH_NUM): Got accidently dropped.
2406 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
2407 minimal kernel versions. Add information about IA-64 kernel.
2409 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
2410 specific minimal supported kernel versions to be specified.
2412 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
2413 step data structure.
2414 * wcsmbs/btowc.c: Likewise.
2415 * wcsmbs/mbrtowc.c: Likewise.
2416 * wcsmbs/mbsnrtowcs.c: Likewise.
2417 * wcsmbs/mbsrtowcs.c: Likewise.
2418 * wcsmbs/wcrtomb.c: Likewise.
2419 * wcsmbs/wcsnrtombs.c: Likewise.
2420 * wcsmbs/wcsrtombs.c: Likewise.
2421 * wcsmbs/wctob.c: Likewise.
2423 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
2424 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
2426 * shlib-versions: Earliest backward compatible version for SH is 2.2.
2428 * misc/sys/cdefs.h: Remove one more __P.
2430 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
2433 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
2434 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
2435 * sysdeps/sh/bits/setjmp.h: ...here. New file.
2437 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
2438 Yutaka Niibe <gniibe@chroot.org>
2440 * configure.in: Add machine sh3, sh4.
2441 * elf/elf.h: Add SH specific declarations of relocations.
2442 * shlib-versions: Add sh*-*-linux* cases.
2444 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2446 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
2447 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
2448 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
2449 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
2450 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
2451 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
2453 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
2454 instead of KERNEL_MATH_EMULATION.
2455 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
2456 KERNEL_MATH_EMULATION.
2458 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
2459 * sysdeps/sh/sh3/dl-machine.h: Moved to...
2460 * sysdeps/sh/dl-machine.h: ...here. New file.
2461 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
2462 and include generic SH version.
2463 * sysdeps/sh/sh3/bits/endian.h: Move to...
2464 * sysdeps/sh/bits/endian.h: ...here. New file.
2465 * sysdeps/sh/sh4/bits/endian.h: Removed.
2466 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
2467 * sysdeps/sh/bits/huge_val.h: ...here. New file.
2468 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
2470 * include/libc-symbols.h (link_warning): Work around a change in
2471 GAS which warns about changing section attributes.
2472 Proposed by Nick Clifton <nickc@redhat.com>.
2474 2000-06-12 H.J. Lu <hjl@gnu.org>
2476 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
2478 2000-06-11 H.J. Lu <hjl@gnu.org>
2480 * sysdeps/i386/fpu/Versions: New file.
2482 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2484 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
2486 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
2489 2000-06-12 Jes Sorensen <jes@linuxcare.com>
2491 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
2492 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
2493 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
2495 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
2496 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
2497 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
2499 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
2500 Yutaka Niibe <gniibe@chroot.org>
2502 * sysdeps/sh/Dist: New file.
2503 * sysdeps/sh/Implies: New file.
2504 * sysdeps/sh/elf/initfini.c: New file.
2505 * sysdeps/sh/gmp-mparam.h: New file.
2506 * sysdeps/sh/init-first.c: New file.
2507 * sysdeps/sh/machine-gmon.h: New file.
2508 * sysdeps/sh/memcpy.S: New file.
2509 * sysdeps/sh/memprof.h: New file.
2510 * sysdeps/sh/memset.S: New file.
2511 * sysdeps/sh/sh3/__longjmp.S: New file.
2512 * sysdeps/sh/sh3/bits/endian.h: New file.
2513 * sysdeps/sh/sh3/bits/huge_val.h: New file.
2514 * sysdeps/sh/sh3/bits/setjmp.h: New file.
2515 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
2516 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
2517 * sysdeps/sh/sh3/dl-machine.h: New file.
2518 * sysdeps/sh/sh3/setjmp.S: New file.
2519 * sysdeps/sh/sh4/__longjmp.S: New file.
2520 * sysdeps/sh/sh4/bits/endian.h: New file.
2521 * sysdeps/sh/sh4/bits/huge_val.h: New file.
2522 * sysdeps/sh/sh4/bits/setjmp.h: New file.
2523 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
2524 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
2525 * sysdeps/sh/sh4/dl-machine.h: New file.
2526 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
2527 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
2528 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
2529 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
2530 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
2531 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
2532 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
2533 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
2534 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
2535 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
2536 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
2537 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
2538 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
2539 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
2540 * sysdeps/sh/sh4/setjmp.S: New file.
2541 * sysdeps/sh/elf/start.S: New file.
2542 * sysdeps/sh/sys/ucontext.h: New file.
2543 * sysdeps/sh/strlen.S: New file.
2544 * sysdeps/sh/sysdep.h: New file.
2545 * sysdeps/unix/sh/sysdep.S: New file.
2546 * sysdeps/unix/sh/sysdep.h: New file.
2547 * sysdeps/unix/sysv/linux/sh/Dist: New file.
2548 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
2549 * sysdeps/unix/sysv/linux/sh/Versions: New file.
2550 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
2551 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
2552 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
2553 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
2554 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
2555 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
2556 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
2557 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
2558 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
2559 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
2560 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
2561 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
2562 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
2563 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
2564 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
2565 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
2566 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
2567 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
2568 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
2569 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
2570 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
2571 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
2572 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
2573 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
2574 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
2575 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
2576 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
2577 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
2578 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
2579 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
2580 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
2581 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
2582 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
2583 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
2584 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
2585 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
2586 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
2587 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
2588 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
2589 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
2590 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
2591 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
2592 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
2593 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
2594 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
2595 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
2596 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
2598 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2600 * Rules (%.out): Define GCONV_PATH in the environment.
2601 * assert/Depend: New file.
2602 * iconvdata/Depend: New file.
2603 * intl/Depend: New file.
2604 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
2605 * intl/tst-gettext.sh: Likewise.
2606 * iconv/Makefile (routines): Add gconv_trans.
2607 * iconv/gconv_trans.c: New file.
2608 * iconv/gconv.h (struct __gconv_trans_data): New type.
2609 (__gconv_fct): New parameter with starting position in output buffer.
2610 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
2611 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
2612 (struct __gconv_step): Add new member __trans.
2613 * iconv/gconv_int.h: Pretty print prototypes.
2614 (gconv_transliterate): New prototype.
2615 (__BUILTIN_TRANS): Update for new conversion function interface.
2616 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
2617 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
2618 in names, find appropriate function, and install in the conversion
2619 steps it can be used.
2620 * iconv/skeleton.c: Add additional parameter for beginning of output
2621 buffer. Change calls of downstream functions.
2622 * iconv/loop.c: Change loop function interface completely. Pass in
2623 step and step_data structure. Remove optimization for BODY with
2624 NEED_LENGTH_TEST == 0.
2625 * iconv/gconv_simple.c: Update interfaces of functions. Insert
2626 appropriate error handling code to use transliteration steps. Remove
2627 optimization for BODY with NEED_LENGTH_TEST == 0.
2628 * iconvdata/8bit-gap.c: Likewise.
2629 * iconvdata/8bit-generic.c: Likewise.
2630 * iconvdata/ansi_x3.110.c: Likewise.
2631 * iconvdata/big5.c: Likewise.
2632 * iconvdata/big5hkscs.c: Likewise.
2633 * iconvdata/euc-cn.c: Likewise.
2634 * iconvdata/euc-jp.c: Likewise.
2635 * iconvdata/euc-kr.c: Likewise.
2636 * iconvdata/euc-tw.c: Likewise.
2637 * iconvdata/gbgbk.c: Likewise.
2638 * iconvdata/gbk.c: Likewise.
2639 * iconvdata/iso-2022-cn.c: Likewise.
2640 * iconvdata/iso-2022-jp.c: Likewise.
2641 * iconvdata/iso-2022-kr.c: Likewise.
2642 * iconvdata/iso646.c: Likewise.
2643 * iconvdata/iso8859-1.c: Likewise.
2644 * iconvdata/iso_6937-2.c: Likewise.
2645 * iconvdata/iso_6937.c: Likewise.
2646 * iconvdata/johab.c: Likewise.
2647 * iconvdata/sjis.c: Likewise.
2648 * iconvdata/t.61.c: Likewise.
2649 * iconvdata/uhc.c: Likewise.
2650 * iconvdata/unicode.c: Likewise.
2651 * iconvdata/utf-16.c: Likewise.
2652 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
2654 * wcsmbs/btowc.c: Likewise.
2655 * wcsmbs/mbrtowc.c: Likewise.
2656 * wcsmbs/mbsnrtowcs.c: Likewise.
2657 * wcsmbs/mbsrtowcs.c: Likewise.
2658 * wcsmbs/wcrtomb.c: Likewise.
2659 * wcsmbs/wcsnrtombs.c: Likewise.
2660 * wcsmbs/wcsrtombs.c: Likewise.
2661 * wcsmbs/wctob.c: Likewise.
2663 2000-04-11 Geoff Keating <geoffk@cygnus.com>
2665 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
2666 other header files. Mention about 128-byte cache line sizes.
2667 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
2668 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
2669 for current calling sequence.
2670 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
2672 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
2673 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2675 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
2676 and setrlimit syscalls for backwards compatibility.
2678 2000-06-10 Ulrich Drepper <drepper@redhat.com>
2680 * iconv/skeleton.c: Rename converted written to correcter name
2682 * iconv/gconv.c: Rename converted variable to correcter name
2684 * iconv/gconv_int.h: Likewise.
2685 * iconv/gconv_simple.c: Likewise.
2686 * iconv/iconv.c: Likewise.
2687 * iconv/loop.c: Likewise.
2688 * iconvdata/8bit-gap.c: Likewise.
2689 * iconvdata/8bit-generic.c: Likewise.
2690 * iconvdata/ansi_x3.110.c: Likewise.
2691 * iconvdata/big5.c: Likewise.
2692 * iconvdata/big5hkscs.c: Likewise.
2693 * iconvdata/euc-cn.c: Likewise.
2694 * iconvdata/euc-jp.c: Likewise.
2695 * iconvdata/euc-kr.c: Likewise.
2696 * iconvdata/gbgbk.c: Likewise.
2697 * iconvdata/gbk.c: Likewise.
2698 * iconvdata/iso-2022-cn.c: Likewise.
2699 * iconvdata/iso-2022-jp.c: Likewise.
2700 * iconvdata/iso-2022-kr.c: Likewise.
2701 * iconvdata/iso646.c: Likewise.
2702 * iconvdata/iso8859-1.c: Likewise.
2703 * iconvdata/iso_6937-2.c: Likewise.
2704 * iconvdata/iso_6937.c: Likewise.
2705 * iconvdata/johab.c: Likewise.
2706 * iconvdata/sjis.c: Likewise.
2707 * iconvdata/t.61.c: Likewise.
2708 * iconvdata/uhc.c: Likewise.
2709 * iconvdata/unicode.c: Likewise.
2710 * iconvdata/utf-16.c: Likewise.
2712 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
2713 __cmsg_data field with __extension__.
2715 2000-06-10 David Mosberger <davidm@hpl.hp.com>
2717 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
2719 2000-06-10 Ulrich Drepper <drepper@redhat.com>
2721 * iconv/gconv_simple.c: Fix various small bugs in several
2724 * iconv/loop.c: Fix comment.
2726 2000-06-10 Jakub Jelinek <jakub@redhat.com>
2728 * elf/link.h: Remove libc internal declarations.
2729 * include/link.h: Move them here.
2731 2000-06-09 Ulrich Drepper <drepper@redhat.com>
2733 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
2734 Patch by Dan Pop <Dan.Pop@cern.ch>.
2736 Rewrite error message handling.
2737 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
2739 * elf/dl-error (struct catch): Add objname member.
2740 (_dl_signal_error): Take new parameter with object name. When
2741 passing message on simply store object name and duplicate error
2743 (_dl_catch_error): Take new parameter. Store object name in the
2745 * include/dlfcn.h: Adjust _dl_catch_error prototype.
2746 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
2747 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
2748 (dlerror): Add objname to asprintf() parameters.
2749 (_dl_error_run): Pass new parameter to _dl_catch_error.
2750 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
2751 * elf/dl-open.c (_dl_open): Likewise.
2752 * elf/rtld.c (dl_main): Likewise.
2753 * elf/dl-close.c: Mark error messages with N_().
2754 * elf/dl-deps.c: Likewise.
2755 * elf/dl-error.c: Likewise.
2756 * elf/dl-load.c: Likewise.
2757 * elf/dl-open.c: Likewise.
2758 * elf/dl-reloc.c: Likewise.
2759 * elf/dl-support.c: Likewise.
2760 * elf/dl-sym.c: Likewise.
2761 * elf/dl-version.c: Likewise.
2762 * elf/dl-lookup.c: Add comments about problems with error message
2764 * elf/dl-reloc.c: Likewise.
2765 * elf/dl-version.c: Likewise.
2767 2000-06-09 H.J. Lu <hjl@gnu.org>
2769 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
2772 * dlfcn/Makefile (distribute): Add failtestmod.c.
2773 (tests): Add failtest.
2774 Add rules to build and run failtest.
2775 * dlfcn/failtest.c: New file.
2776 * dlfcn/failtestmod.c: New file.
2778 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
2780 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
2781 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
2782 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
2783 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
2784 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
2786 2000-06-09 Jes Sorensen <jes@linuxcare.com>
2788 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
2789 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
2791 2000-06-09 Jes Sorensen <jes@linuxcare.com>
2792 Ulrich Drepper <drepper@redhat.com>
2794 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
2795 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
2796 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
2797 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
2798 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
2799 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
2801 2000-06-09 Ulrich Drepper <drepper@redhat.com>
2803 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
2804 to find correct mount point despite wrong information from the
2807 2000-06-09 Jes Sorensen <jes@linuxcare.com>
2809 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
2810 the address of a symbol so function pointers are handled properly.
2812 2000-06-08 Ulrich Drepper <drepper@redhat.com>
2814 * sysdeps/i386/Dist: Add bp-asm.h.
2816 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
2817 defaultdir variable instead of "/var/shm" everywhere.
2818 (defaultdir): Change to /dev/shm/.
2820 2000-06-08 Greg McGary <greg@mcgary.org>
2822 * sysdeps/i386/bp-asm.h: New file.
2823 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
2824 offsets. Add ENTER/LEAVE macros for optionally maintaining
2825 frame-pointer chain when debugging.
2826 * sysdeps/i386/add_n.S: Likewise.
2827 * sysdeps/i386/addmul_1.S: Likewise.
2828 * sysdeps/i386/lshift.S: Likewise.
2829 * sysdeps/i386/memchr.S: Likewise.
2830 * sysdeps/i386/memcmp.S: Likewise.
2831 * sysdeps/i386/mul_1.S: Likewise.
2832 * sysdeps/i386/rawmemchr.S: Likewise.
2833 * sysdeps/i386/rshift.S: Likewise.
2834 * sysdeps/i386/stpcpy.S: Likewise.
2835 * sysdeps/i386/stpncpy.S: Likewise.
2836 * sysdeps/i386/strchr.S: Likewise.
2837 * sysdeps/i386/strchrnul.S: Likewise.
2838 * sysdeps/i386/strcspn.S: Likewise.
2839 * sysdeps/i386/strpbrk.S: Likewise.
2840 * sysdeps/i386/strrchr.S: Likewise.
2841 * sysdeps/i386/strspn.S: Likewise.
2842 * sysdeps/i386/strtok.S: Likewise.
2843 * sysdeps/i386/sub_n.S: Likewise.
2844 * sysdeps/i386/submul_1.S: Likewise.
2845 * sysdeps/i386/elf/setjmp.S: Likewise.
2846 * sysdeps/i386/i486/strcat.S: Likewise.
2847 * sysdeps/i386/i486/strlen.S: Likewise.
2848 * sysdeps/i386/i586/add_n.S: Likewise.
2849 * sysdeps/i386/i586/lshift.S: Likewise.
2850 * sysdeps/i386/i586/memcpy.S: Likewise.
2851 * sysdeps/i386/i586/memset.S: Likewise.
2852 * sysdeps/i386/i586/rshift.S: Likewise.
2853 * sysdeps/i386/i586/strchr.S: Likewise.
2854 * sysdeps/i386/i586/strcpy.S: Likewise.
2855 * sysdeps/i386/i586/strlen.S: Likewise.
2856 * sysdeps/i386/i586/sub_n.S: Likewise.
2857 * sysdeps/i386/i686/add_n.S: Likewise.
2858 * sysdeps/i386/i686/memcpy.S: Likewise.
2859 * sysdeps/i386/i686/mempcpy.S: Likewise.
2860 * sysdeps/i386/i686/memset.S: Likewise.
2861 * sysdeps/i386/i686/strcmp.S: Likewise.
2863 2000-06-08 Ulrich Drepper <drepper@redhat.com>
2865 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
2867 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
2868 256 and don't use OPEN_MAX.
2870 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
2871 use it instead of LINK_MAX.
2872 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
2874 2000-06-08 Andreas Jaeger <aj@suse.de>
2876 * libio/genops.c (_IO_list_lock): Only compile body if we're
2878 (_IO_list_unlock): Likewise.
2879 (_IO_list_resetlock): Likewise.
2881 2000-06-07 Ulrich Drepper <drepper@redhat.com>
2883 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
2884 unless user defined it.
2886 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
2887 if not defined by the user.
2889 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
2890 * libio/iofwrite.c (_IO_fwrite): Likewise.
2892 * time/time.h: Add missing __THROW for clock_getcpuclockid
2895 * elf/Makefile (distribute): Add dl-dtprocnum.h.
2896 * include/elf.h: Include also <dl-dtprocnum.h>.
2897 * elf/dl-deps.c: Likewise.
2898 * elf/dl-lookup.c: Likewise.
2899 * elf/dl-runtime.c: Likewise.
2900 * elf/dl-version.c: Likewise.
2901 * elf/do-rel.h: Likewise.
2902 * elf/dynamic-link.h: Likewise.
2903 * elf/link.h: Likewise.
2904 * elf/rtld.c: Likewise.
2905 * sysdeps/generic/dl-dtprocnum.h: New file.
2906 * sysdeps/ia64/dl-dtprocnum.h: New file.
2907 * sysdeps/mips/dl-dtprocnum.h: New file.
2908 * sysdeps/sparc/dl-dtprocnum.h: New file.
2910 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
2912 * elf/do-lookup.h: Add some __builtin_expect.
2914 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
2916 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
2917 (_dl_dynamic_weak): New variable.
2918 * elf/dl-support.c: Likewise.
2919 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
2920 * elf/do-lookup.h: If we find a weak definition treat it like a
2921 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
2922 case treat it like before.
2924 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
2926 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
2928 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
2929 using l_map_start and l_map_end.
2931 * elf/dl-version.c: Add __builtin_expect in many places.
2933 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
2936 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
2938 Lock for stdio stream list becomes global, for use in LinuxThreads.
2940 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
2941 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
2942 _IO_list_resetlock): New interface for iterating global list of
2943 streams without accessing the _IO_list_all global variable,
2944 and for manipulating the lock which protects this list.
2945 * libio/libioP.h: Likewise.
2946 * libio/Version: Add entries for the new functions.
2948 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
2949 pointer to _IO_FILE.
2951 2000-06-07 Ulrich Drepper <drepper@redhat.com>
2953 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
2954 BIT() must actually be BITw().
2956 * locale/programs/ld-ctype.c: Handle SP and space consistently.
2958 * locale/programs/charmap.c: Allow string arguments for
2959 code_set_name and repertoiremap.
2961 2000-06-07 Andreas Jaeger <aj@suse.de>
2963 * elf/Makefile: Build ldconfig only when building shared libraries.
2965 2000-06-07 Jakub Jelinek <jakub@redhat.com>
2967 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
2969 (fdimf, __fdim, fdim): Likewise.
2971 2000-06-07 Ulrich Drepper <drepper@redhat.com>
2973 * locale/findlocale.c: Add __builtin_expect in many places.
2974 * locale/loadlocale.c: Likewise.
2976 2000-06-06 Greg McGary <greg@mcgary.org>
2978 * sysdeps/mips/elf/start.S: Trim redundant code.
2980 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
2981 Use C comments throughout. Line up operands column with tabs.
2982 * sysdeps/powerpc/strchr.S: Likewise.
2983 * sysdeps/powerpc/strcmp.S: Likewise.
2984 * sysdeps/powerpc/strcpy.S: Likewise.
2985 * sysdeps/powerpc/strlen.S: Likewise.
2987 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
2988 Get low part of &__curbrk with @l.
2990 2000-06-06 Ulrich Drepper <drepper@redhat.com>
2992 * iconvdata/utf-16.c: Add __builtin_expect in many places.
2993 * iconvdata/unicode.c: Likewise.
2994 * iconvdata/uhc.c: Likewise.
2995 * iconvdata/t.61.c: Likewise.
2996 * iconvdata/sjis.c: Likewise.
2997 * iconvdata/johab.c: Likewise.
2998 * iconvdata/iso_6937.c: Likewise.
2999 * iconvdata/iso_6937-2.c: Likewise.
3000 * iconvdata/iso8859-1.c: Likewise.
3001 * iconvdata/iso646.c: Likewise.
3002 * iconvdata/iso-2022-kr.c: Likewise.
3003 * iconvdata/iso-2022-jp.c: Likewise.
3004 * iconvdata/iso-2022-cn.c: Likewise.
3005 * iconvdata/gbgbk.c: Likewise.
3006 * iconvdata/gbk.c: Likewise.
3007 * iconvdata/euc-kr.c: Likewise.
3008 * iconvdata/euc-jp.c: Likewise.
3009 * iconvdata/euc-cn.c: Likewise.
3011 2000-06-05 Ulrich Drepper <drepper@redhat.com>
3013 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
3014 * iconvdata/big5.c: Likewise.
3015 * iconvdata/ansi_x3.110.c: Likewise.
3016 * iconvdata/8bit-generic.c: Likewise.
3017 * iconvdata/8bit-gap.c: Likewise.
3018 * iconv/loop.c: Likewise.
3019 * iconv/gconv_db.c: Likewise.
3020 * iconv/gconv_dl.c: Likewise.
3021 * iconv/gconv_simple.c: Likewise.
3022 * iconv/skeleton.c: Likewise.
3024 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
3025 (struct __gconv_step_data): Rename __is_last to __flags.
3026 * iconv/gconv_close.c: Change all uses of __is_last.
3027 * iconv/skeleton.c: Likewise.
3028 * iconvdata/iso-2022-cn.c: Likewise.
3029 * iconvdata/iso-2022-jp.c: Likewise.
3030 * iconvdata/iso-2022-kr.c: Likewise.
3031 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
3032 Recognize IGNORE error handling, set flag, and remove from name.
3033 * iconv/loop.c (ignore_errors_p): Define.
3034 Add flags parameter to both functions.
3035 * iconv/skeleton.c: Pass flags to all conversion functions.
3036 * iconv/gconv_simple.c: Add flags parameter to all functions.
3037 Don't return error for invald error if ignore flag is set.
3038 (ucs4_internal_loop_single): Add missing pointer increment.
3039 (internal_ucs4le_loop_single): Likewise.
3040 * iconv/iconv_prog.c: Implement handling of -c parameter.
3041 * iconvdata/8bit-gap.c: Don't return error for invald error if
3043 * iconvdata/8bit-generic.c: Likewise.
3044 * iconvdata/ansi_x3.110.c: Likewise.
3045 * iconvdata/big5.c: Likewise.
3046 * iconvdata/big5hkscs.c: Likewise.
3047 * iconvdata/euc-cn.c: Likewise.
3048 * iconvdata/euc-jp.c: Likewise.
3049 * iconvdata/euc-kr.c: Likewise.
3050 * iconvdata/gbgbk.c: Likewise.
3051 * iconvdata/gbk.c: Likewise.
3052 * iconvdata/iso-2022-cn.c: Likewise.
3053 * iconvdata/iso-2022-jp.c: Likewise.
3054 * iconvdata/iso-2022-kr.c: Likewise.
3055 * iconvdata/iso646.c: Likewise.
3056 * iconvdata/iso8859-1.c: Likewise.
3057 * iconvdata/iso_6937-2.c: Likewise.
3058 * iconvdata/iso_6937.c: Likewise.
3059 * iconvdata/johab.c: Likewise.
3060 * iconvdata/sjis.c: Likewise.
3061 * iconvdata/t.61.c: Likewise.
3062 * iconvdata/uhc.c: Likewise.
3063 * iconvdata/unicode.c: Likewise.
3064 * iconvdata/utf-16.c: Likewise.
3065 * libio/fileops.c: Likewise.
3066 * libio/iofwide.c: Likewise.
3067 * wcsmbs/btowc.c: Likewise.
3068 * wcsmbs/mbrtowc.c: Likewise.
3069 * wcsmbs/mbsnrtowcs.c: Likewise.
3070 * wcsmbs/mbsrtowcs.c: Likewise.
3071 * wcsmbs/wcrtomb.c: Likewise.
3072 * wcsmbs/wcsnrtombs.c: Likewise.
3073 * wcsmbs/wcsrtombs.c: Likewise.
3074 * wcsmbs/wctob.c: Likewise.
3076 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
3079 2000-06-04 Ulrich Drepper <drepper@redhat.com>
3081 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
3082 counter for the object we are releasing, just decrement it.
3083 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
3085 2000-06-04 Jakub Jelinek <jakub@redhat.com>
3087 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
3090 2000-06-04 Ulrich Drepper <drepper@redhat.com>
3092 * iconvdata/big5hkscs.c: New file.
3093 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
3095 * iconvdata/gconv-modules: Add entry for new module.
3096 * iconvdata/Makefile (modules): Add BIG5HKSCS.
3097 (distribute): Add big5hkscs.c.
3099 2000-06-01 Jakub Jelinek <jakub@redhat.com>
3101 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
3102 inlines to match prototypes in mathcalls.h.
3103 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
3104 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
3105 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
3106 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3108 2000-06-03 Ulrich Drepper <drepper@redhat.com>
3110 * elf/elf.h (SHT_SUNW_move): Define.
3112 * elf/elf.h: Add more Solaris compatiblity definitions.
3114 2000-06-03 Andreas Jaeger <aj@suse.de>
3116 * sysdeps/powerpc/dl-start.S: Close open comment.
3118 2000-06-03 Jakub Jelinek <jakub@redhat.com>
3120 * inet/Versions: Fix typo in rresvport_af export.
3122 2000-06-02 Ulrich Drepper <drepper@redhat.com>
3124 * math/tgmath.h: Pretty print.
3126 2000-06-02 Andreas Jaeger <aj@suse.de>
3128 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
3129 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3131 2000-06-02 Ulrich Drepper <drepper@redhat.com>
3133 * elf/rtld.c (process_envvars): Test for = after variable name.
3135 2000-06-01 Ulrich Drepper <drepper@redhat.com>
3137 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
3138 have extra call to __gmon_start__, use the pointer we already have.
3140 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
3143 * sysdeps/i386/elf/setjmp.S: Work around change is recent
3144 binutils. gas now emits a jump through the PLT instead of a
3145 relative jump if the jump target is an exported symbol.
3147 2000-05-31 Ulrich Drepper <drepper@redhat.com>
3149 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
3151 2000-05-31 Andreas Jaeger <aj@suse.de>
3153 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
3156 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
3157 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3159 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
3161 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
3163 2000-05-30 Ulrich Drepper <drepper@redhat.com>
3165 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
3167 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
3168 * locale/localeconv.c: Make function versioned (with same definition).
3170 * elf/Makefile (modules-names): Strip before using it.
3172 2000-05-30 Andreas Jaeger <aj@suse.de>
3174 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
3175 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
3176 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
3177 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
3178 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
3179 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
3181 2000-05-29 Ulrich Drepper <drepper@redhat.com>
3183 * Makefile: Add GNU make magic.
3185 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
3187 * inet/rcmd.c: Remove __P. Remove unused variables.
3188 (iruserfopen): Make first parameter const.
3189 (ruserok_sa): Return result of ruserok2_sa.
3190 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
3191 * inet/rexec.c: Remove unused variables. Other small cleanups.
3192 * inet/ruserpass.c: Remove __P. Remove unused variables.
3193 (ruserpass): Check results of memory allocation.
3194 * include/netdb.h: Add prototype for ruserpass.
3196 2000-05-29 Andreas Jaeger <aj@suse.de>
3198 * elf/readlib.c (interpreters): Use LD_SO since this is supported
3201 2000-05-29 Jakub Jelinek <jakub@redhat.com>
3203 * inet/rcmd.c (rresvport_af): Use correct port number.
3205 2000-05-26 Andreas Schwab <schwab@suse.de>
3207 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
3208 entries in all-sonames.
3209 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
3210 preserving the old name if different for compatibility.
3212 2000-05-29 Ulrich Drepper <drepper@redhat.com>
3214 * posix/Makefile (tests): Add tst-spawn.
3215 (tst-spawn-ARGS): New variable.
3216 * posix/tst-spawn.c: New file.
3218 * posix/spawn_faction_addclose.c: Correctly account for new entry.
3219 * posix/spawn_faction_adddup2.c: Likewise.
3220 * posix/spawn_faction_addopen.c: Likewise.
3221 * posix/spawni.c: Correctly test for success of dup2 calls.
3223 * posix/tst-preadwrite.c: Check success of malloc call.
3225 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3227 * posix/Makefile (tests): Add tst-exec.
3228 (tst-exec-ARGS): New variable.
3229 * posix/tst-exec.c: New file.
3231 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
3233 2000-05-04 Andreas Jaeger <aj@suse.de>
3235 * string/string.h: Remove __strdup prototype, it's not needed in
3238 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3240 * posix/Makefile (tests): Add tst-fork.
3241 * posix/tst-fork.c: New file.
3243 * resolv/inet_pton.c: Loose __P.
3245 2000-05-21 Jakub Jelinek <jakub@redhat.com>
3247 * libio/libioP.h (_IO_CHECK_WIDE): Define.
3248 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
3249 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
3250 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
3251 _IO_CHECK_WIDE fails.
3253 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3255 * po/da.po: New file.
3257 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
3258 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
3260 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
3261 (Other iconv Implementations): Fix typo.
3262 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
3264 2000-05-27 Andreas Jaeger <aj@suse.de>
3266 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
3268 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
3269 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
3270 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3271 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3272 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
3273 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
3275 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
3276 endianness to decide how to pass arguments.
3277 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3279 * elf/vismain.c: Use test-skeleton interface.
3280 (TEST_FUNCTION): New macro.
3281 (do_test): Renamed from main.
3283 2000-05-27 Ulrich Drepper <drepper@redhat.com>
3285 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
3286 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
3288 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
3289 handling of AI_V4MAPPED flag.
3291 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
3292 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
3293 perform lookup for T_A type and tell getanswer_r to convert the
3294 result with new argument.
3295 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
3296 Don't convert addresses from IPv4 to IPv6 here.
3297 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
3298 IPv6 is wanted. Allow qtype and type from reply to disagree if
3299 IPv4 mapping has to be done. Perform mappings if required by the
3300 caller and not if RES_USE_INET6 bit in _res.options is set.
3301 Add several __builtin_expect.
3303 2000-05-26 Ulrich Drepper <drepper@redhat.com>
3305 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
3307 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
3310 * posix/tst-preadwrite.c: Allow parallel execution of
3311 tst-preadwrite and tst-preadwrite64.
3313 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
3314 * posix/tst-truncate.c: New file.
3315 * posix/tst-truncate64.c: New file.
3317 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
3320 * posix/Makefile (tests): Add tst-preadwrite64.
3321 * posix/tst-preadwrite.c: Alloc file being used also for testing
3322 pread64 and pwrite64.
3323 * posix/tst-preadwrite64.c: New file.
3325 2000-05-26 Andreas Jaeger <aj@suse.de>
3327 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
3328 of arguments dependend on endianness.
3329 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
3331 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
3333 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
3334 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
3335 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3336 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3338 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
3339 endianness to check how to pass argument.
3340 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3342 * elf/ldconfig.h: Update parameter list for process_elf_file.
3344 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
3345 Add parameter file_length and pass it ot process_elf*file.
3347 * sysdeps/generic/readelflib.c (check_ptr): New.
3348 (process_elf_file): Use check_ptr to check all accesses to the
3349 mmapped file. Add parameter file_length.
3351 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
3354 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
3355 Closes PR libc/1573, reported by Bradley White
3356 <bww@laurelnetworks.com>.
3358 2000-05-25 Ulrich Drepper <drepper@redhat.com>
3360 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
3361 __FAST_MATH__ is defined.
3363 2000-05-22 Andreas Jaeger <aj@suse.de>
3365 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
3366 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
3368 * manual/math.texi (FP Function Optimizations): Document gcc
3369 -ffast-math behaviour with mathinlines.
3371 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
3372 functions unless -ffast-math is given to gcc.
3374 2000-05-23 Jakub Jelinek <jakub@redhat.com>
3376 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
3377 __sincosl): Guard with __USE_GNU.
3379 2000-05-24 Ulrich Drepper <drepper@redhat.com>
3381 * csu/Makefile (routines): Add check_fds.
3382 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
3383 binaries. Add various __builtin_expect.
3384 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
3385 * sysdeps/generic/check_fds.c: ...here. New file.
3387 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
3388 binaries if file /etc/suid-debug is available.
3390 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
3391 and wcseqorder members.
3392 (struct locale_collate_t): Likewise.
3393 (collate_finish): Assign collation sequence value to each character.
3394 Create tables for output.
3395 (collate_output): Write out tables with collation sequence information.
3396 * locale/C-collate.c: Provide C locale data for collation sequence
3398 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
3399 _NL_COLLATE_COLLSEQWC.
3400 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
3401 _NL_COLLATE_COLLSEQWC.
3402 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
3403 include fnmatch_loop.c.
3404 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
3405 character is matched by range expression. Use collation sequence
3406 table. Outside glibc fall back on simple character value comparison.
3408 2000-05-24 Andreas Jaeger <aj@suse.de>
3410 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
3413 * intl/Makefile: Run gettext-test only if msgfmt is available.
3415 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
3416 Define it for newer kernels.
3418 2000-05-23 Ulrich Drepper <drepper@redhat.com>
3420 * elf/dl-sym.c: Minor cleanups.
3422 * configure.in: Add test for .protected.
3423 * config.make.in: Add have-protected variable.
3424 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
3425 (tests-vis-yes): Add vismain.
3426 (modules-names): Add $(modules-vis-$(have-protected)).
3427 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
3428 Add rules to generate and run vismain.
3429 * elf/vismain.c: New file.
3430 * elf/vismod1.c: New file.
3431 * elf/vismod2.c: New file.
3432 * elf/vismod3.c: New file.
3434 2000-05-23 Andreas Jaeger <aj@suse.de>
3436 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
3438 * manual/search.texi (Array Sort Function): Document that qsort is
3439 not necessarily in-place.
3441 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
3442 Closes PR libc/1731.
3444 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
3445 * dirent/scandir64.c: Likewise.
3446 * pwd/getpw.c: Likewise.
3447 * stdlib/bsearch.c (bsearch): Likewise.
3448 * stdlib/tst-strtoll.c: Likewise.
3449 * localedata/collate-test.c: Likewise.
3450 * localedata/xfrm-test.c: Likewise.
3451 * posix/bsd-getpgrp.c: Likewise.
3452 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
3453 * sysdeps/generic/bits/siginfo.h: Likewise.
3454 * sysdeps/generic/bits/sockaddr.h: Likewise.
3455 * sysdeps/generic/sys/swap.h: Likewise.
3456 * sysdeps/generic/sys/sysinfo.h: Likewise.
3457 * sysdeps/generic/vfork.c: Likewise.
3458 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
3459 * sysdeps/mach/hurd/fdopen.c: Likewise.
3460 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
3461 * sysdeps/unix/sysv/linux/poll.c: Likewise.
3462 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3463 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3464 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3465 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3466 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
3468 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
3469 * shadow/lckpwdf.c: Likewise.
3470 * stdlib/tst-strtol.c: Likewise.
3471 * sysdeps/generic/tcsetattr.c: Likewise.
3472 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3473 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3475 2000-05-22 Jakub Jelinek <jakub@redhat.com>
3477 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
3478 free it and set to (void *) -1.
3480 2000-05-22 Jakub Jelinek <jakub@redhat.com>
3482 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
3483 not the second character in the range.
3484 * stdio-common/tstscanf.c (main): Add testcase for the above.
3485 Reported by jik@kamens.brookline.ma.us.
3487 2000-05-21 H.J. Lu <hjl@gnu.org>
3489 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
3490 with noexec and noplt parameter.
3491 (do_lookup): Likewise.
3493 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
3494 do_lookup. Support STV_PROTECTED.
3495 (_dl_lookup_symbol_skip): Likewise.
3496 (_dl_lookup_versioned_symbol): Likewise.
3497 (_dl_lookup_versioned_symbol_skip): Likewise.
3499 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
3501 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
3503 2000-05-21 Jakub Jelinek <jakub@redhat.com>
3505 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
3506 * sysdeps/i386/bits/huge_val.h: Likewise.
3507 * sysdeps/ieee754/bits/huge_val.h: Likewise.
3508 * sysdeps/m68k/bits/huge_val.h: Likewise.
3509 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
3510 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
3512 2000-05-22 Andreas Jaeger <aj@suse.de>
3514 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
3517 2000-05-19 Andreas Jaeger <aj@suse.de>
3519 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
3520 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
3521 breaks compilation without linuxthreads.
3523 2000-05-21 Ulrich Drepper <drepper@redhat.com>
3525 * sysdeps/ia64/memccpy.S: New file.
3526 * sysdeps/ia64/memchr.S: New file.
3527 * sysdeps/ia64/memcmp.S: New file.
3528 * sysdeps/ia64/memcpy.S: New file.
3529 * sysdeps/ia64/memmove.S: New file.
3530 * sysdeps/ia64/memset.S: New file.
3531 * sysdeps/ia64/strcat.S: New file.
3532 * sysdeps/ia64/strchr.S: New file.
3533 * sysdeps/ia64/strcmp.S: New file.
3534 * sysdeps/ia64/strcpy.S: New file.
3535 * sysdeps/ia64/strlen.S: New file.
3536 * sysdeps/ia64/strncmp.S: New file.
3537 * sysdeps/ia64/strncpy.S: New file.
3538 * sysdeps/ia64/softpipe.h: New file.
3539 Patches by Dan Pop <Dan.Pop@cern.ch>.
3541 * manual/memory.texi: Document memory handling functions (mlock,
3542 munlock, mlockall, munlockall, brk, and sbrk)
3543 * manual/time.texi: Document timespec and friends.
3544 * manual/conf.texi: Fix references.
3545 * manual/ctype.texi: Likewise.
3546 * manual/errno.texi: Likewise.
3547 * manual/intro.texi: Likewise.
3548 * manual/locale.texi: Likewise.
3549 * manual/sysinfo.texi: Likewise.
3550 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
3552 2000-05-09 Jes Sorensen <jes@linuxcare.com>
3554 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
3555 * sysdeps/ia64/dl-lookupcfg.h: ...here.
3557 2000-05-21 Jakub Jelinek <jakub@redhat.com>
3559 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
3562 2000-05-21 Ulrich Drepper <drepper@redhat.com>
3564 * locale/locale.h (struct lconv): Add new elements from ISO C99.
3565 * locale/localeconv.c: Initialize new elements from ISO C99.
3566 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
3567 new standard elements.
3568 * locale/categories.def: Adjust accordingly.
3570 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
3571 * iconv/iconv.c: Likewise.
3572 * conform/data/iconv.h-data: Likewise.
3573 * iconv/iconv_prog.c (process_block): Remove const from second
3575 (main): Remove const from addr definition.
3576 * manual/charset.texi (Generic Conversion Interface): Remove from
3577 inbuf parameter of iconv.
3579 * intl/dcigettext.c: Fix typo in comment.
3581 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
3583 * resolv/res_libc.c (_res): Initialize _sock to -1.
3585 2000-05-18 Jakub Jelinek <jakub@redhat.com>
3587 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
3588 (fopencookie@@GLIBC_2.2): New.
3589 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
3590 (fopencookie@GLIBC_2.0): New.
3591 * libio/Versions: Add fopencookie to GLIBC_2.2.
3593 2000-05-18 Andreas Jaeger <aj@suse.de>
3595 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
3596 Closes PR libc/1731.
3598 * manual/arith.texi (Parsing of Integers): Fix typo.
3599 Closes PR libc/1744, reported by blp@gnu.org.
3601 2000-05-17 Jakub Jelinek <jakub@redhat.com>
3603 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
3604 __extension__ to hexadecimal floating constant notation.
3605 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
3607 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
3608 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
3610 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
3611 HUGE_VALL): Likewise.
3612 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
3613 HUGE_VALL): Likewise.
3614 (HUGE_VALL): Set to HUGE_VAL on sparc32.
3616 2000-05-17 Andreas Jaeger <aj@suse.de>
3618 * string/envz.h: Add pure attributes if possible.
3620 * string/argz.h: argz_count is a pure function.
3622 * string/strings.h: Add pure and const attributes if possible.
3624 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
3625 possibly searching through the whole memory.
3626 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
3628 2000-05-17 Jakub Jelinek <jakub@redhat.com>
3630 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
3632 (_dl_cache_check_flags): Likewise.
3633 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
3636 2000-05-17 Andreas Jaeger <aj@suse.de>
3638 * manual/creature.texi (Feature Test Macros): Remove paragraph
3639 since the description is wrong.
3640 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
3642 * scripts/config.sub: New version.
3643 * scripts/config.guess: Likewise.
3644 * manual/texinfo.tex: Likewise.
3646 * time/test_time.args: Removed.
3647 * time/Makefile (test_time-ARGS): Added contents here instead.
3649 * posix/tstgetopt.args: Removed.
3650 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
3652 * Rules: Allow arguments for test files to be specified in
3653 Makefile with testname-ARGS; remove rules with .args in it.
3655 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
3656 remove old bogus rule for opendir-tst1.args.
3658 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
3660 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
3661 into objdir. This allows a readonly sourcetree.
3662 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
3664 2000-05-16 Andreas Jaeger <aj@suse.de>,
3665 David Huggins-Daines <dhd@linuxcare.com>
3667 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
3668 cache_data in case of only new cache format correctly.
3670 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
3673 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
3674 struct cache_file_new.
3676 * elf/cache.c (save_cache): Fix str_offset if only new cache is
3679 * elf/cache.c (save_cache): Align struct new_file_cache.
3680 (print_cache): Likewise.
3682 2000-05-13 Jakub Jelinek <jakub@redhat.com>
3684 * elf/soinit.c (__libc_global_ctors): Move
3685 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
3686 * resolv/resolv.h (__res_state): Added __attribute__((const)).
3687 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
3688 variable, don't define it to __res_state call.
3690 2000-05-13 Andreas Jaeger <aj@suse.de>
3692 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
3694 (AF_PPPOX): Likewise.
3695 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
3696 (AF_PPPOX): Likewise.
3698 2000-05-12 Andreas Jaeger <aj@suse.de>
3700 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
3701 Reported by tmoestl@gmx.net, closes PR libc/1732.
3703 2000-05-11 Jan Hubicka <jh@suse.cz>
3705 * misc/sys/cdefs.h: Add support for pure attribute.
3707 * include/string.h: Add __attribute_pure__ to various functions.
3708 * string/string.h: Likewise.
3710 2000-05-10 Jakub Jelinek <jakub@redhat.com>
3712 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
3714 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3716 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
3718 2000-05-10 Jakub Jelinek <jakub@redhat.com>
3720 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
3721 at proper place. Compute the high nibble correctly.
3723 2000-05-09 Jakub Jelinek <jakub@redhat.com>
3725 * elf/ldconfig.c: Include elf.h.
3727 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
3728 (_dl_vsym): Likewise.
3729 Reported by Owen Taylor <otaylor@redhat.com>.
3731 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
3734 2000-05-08 Andreas Jaeger <aj@suse.de>
3736 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
3738 * intl/bindtextdom.c (set_binding_values): Add prototype.
3740 2000-05-08 Jakub Jelinek <jakub@redhat.com>
3742 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
3743 call to elf_machine_fixup_plt.
3744 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3745 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3747 2000-05-08 Jakub Jelinek <jakub@redhat.com>
3749 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
3750 they are not dlclose'd from underneath us.
3752 2000-05-08 Andreas Schwab <schwab@suse.de>
3754 * posix/execle.c: Fix size parameter of memcpy.
3756 2000-05-08 Andreas Schwab <schwab@suse.de>
3758 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
3759 getpagesize syscall if available.
3761 2000-05-08 Andreas Jaeger <aj@suse.de>
3763 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
3766 2000-05-08 Jakub Jelinek <jakub@redhat.com>
3768 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
3769 sizeof(struct link_map *) chunks, not in bytes.
3771 2000-05-07 Ulrich Drepper <drepper@redhat.com>
3773 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
3774 only needed for locale.
3775 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
3776 It's only needed for catgets.
3777 Patches by Greg McGary <gkm@eng.ascend.com>.
3779 2000-05-07 Mark Kettenis <kettenis@gnu.org>
3781 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
3782 Remove duplicate <errno.h> include. Remove inclusion of
3783 <libintl.h> and "nsswitch.h".
3784 (set_cloexec_flag): New function, broken out of dbopen.
3785 (dbopen): Changed return type to `enum
3786 nss_status'. Mostly rewritten to make sure that we do not report
3787 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
3788 (internal_setent): Change return type to nss_status.
3789 Document, and make sure that the function
3790 behaves accordingly. Make dynamically loading the database
3791 library really thread-safe and return NSS_STATUS_UNAVAIL if it
3793 (db_cursor): Return ENOMEM is memory allocation failed. Remove
3795 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
3797 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
3798 c_get function member.
3799 * nss/nss_db/nss_db.h: Add and tweak some comments.
3800 (DBT): Move typedef before NSS_DBC typedef.
3801 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
3803 2000-05-07 H.J. Lu <hjl@gnu.org>
3805 * csu/initfini.c: Moved to ....
3806 * sysdeps/generic/initfini.c: ...here.
3808 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
3810 2000-05-07 Ulrich Drepper <drepper@redhat.com>
3812 * manual/resource.texi: Document POSIX scheduling functions.
3813 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
3815 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
3816 reading anything. Reported by Andries.Brouwer@cwi.nl.
3818 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
3819 for x since promotion in comparison might leads to unexpected
3820 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
3822 * iconv/Makefile (tests): Add tst-iconv1.
3823 * iconv/tst-iconv1.c: New file.
3824 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
3825 empty input buffer over full output buffer.
3826 (ucs4_internal_loop): Likewise.
3827 (ucs4_internal_loop_unaligned): Likewise.
3828 (internal_ucs4le_loop): Likewise.
3829 (internal_ucs4le_loop_unaligned): Likewise.
3830 (ucs4le_internal_loop): Likewise.
3831 (ucs4le_internal_loop_unaligned): Likewise.
3832 Reported by yaoz@nih.gov.
3834 2000-05-06 Bruno Haible <haible@clisp.cons.org>
3836 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
3837 returned != __GCONV_OK, there is nothing to clean up.
3839 2000-05-06 Bruno Haible <haible@clisp.cons.org>
3841 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
3842 OUTPUT_CHARSET environment variables.
3844 2000-05-06 Andreas Jaeger <aj@suse.de>
3846 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
3847 (struct cache_file_new): New.
3848 (struct file_entry): New (moved from cache.c).
3849 (struct cache_file): New (moved from cache.c).
3851 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
3852 from _dl_load_cache_lookup.
3853 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
3854 the different cache formats.
3855 New variable cache_new for new format.
3857 * elf/ldconfig.h: Change according to changes in cache.c and
3858 ldconfig.c; remove cache_libcmp; add opt_format.
3860 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
3861 stuff that's defined in those headers.
3862 Add hwcap to struct lib_entry.
3863 (opt_format): New variable to select cache format.
3864 (options): Add format parameter.
3865 (is_hwcap): New function.
3866 (path_hwcap): New function.
3867 (parse_opt): Handle new format parameter.
3868 (search_dir): Handle hwcap, search also subdirectories with hwcap.
3870 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
3871 ldconfig is part of glibc.
3872 Include dl-cache.h and remove stuff that's defined there.
3873 (struct cache_entry): Add new member hwcap.
3874 (print_entry): Print hwcap, cleanup a bit.
3875 (print_cache): Print new and old formats.
3876 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
3877 (save_cache): Save new and old formats.
3878 (add_to_cache): Handle hwcap.
3880 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
3881 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
3882 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
3883 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
3884 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
3885 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
3887 2000-05-05 Bruno Haible <haible@clisp.cons.org>
3889 * intl/dcigettext.c (alignof): New macro.
3890 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
3891 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
3894 2000-05-05 Bruno Haible <haible@clisp.cons.org>
3896 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
3899 2000-05-06 Ulrich Drepper <drepper@redhat.com>
3901 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
3902 (mempcpy): Correct typo is parameter list.
3904 2000-05-06 Andreas Jaeger <aj@suse.de>
3906 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
3907 functions unless -ffast-math is given to gcc.
3909 2000-05-06 Ulrich Drepper <drepper@redhat.com>
3911 * po/ko.po: Update from translation team.
3913 2000-05-05 Ulrich Drepper <drepper@redhat.com>
3915 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
3916 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
3917 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
3918 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
3919 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
3920 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
3922 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
3923 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
3924 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
3926 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
3927 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
3928 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
3929 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
3931 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
3932 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
3934 2000-05-05 Jes Sorensen <jes@linuxcare.com>
3936 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
3937 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
3939 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
3940 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
3942 * sysdeps/ia64/Implies: New file.
3943 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
3944 * sysdeps/ia64/Makefile: New file.
3945 * sysdeps/ia64/gmp-mparam.h: New file,
3947 * sysdeps/ia64/elf/start.S: New file.
3949 * sysdeps/ia64/bits/fenv.h: New file.
3951 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
3953 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
3955 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
3957 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
3958 ia64 has 64 bit .hash entries just as the Alpha.
3960 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
3962 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
3964 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
3966 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
3967 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
3968 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
3969 * sysdeps/ia64/fpu/fegetenv.c: New file.
3970 * sysdeps/ia64/fpu/fegetexcept.c: New file.
3971 * sysdeps/ia64/fpu/fegetround.c: New file.
3972 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
3973 * sysdeps/ia64/fpu/fesetenv.c: New file.
3974 * sysdeps/ia64/fpu/fesetround.c: New file.
3975 * sysdeps/ia64/fpu/feupdateenv.c: New file.
3976 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
3977 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
3978 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
3979 * sysdeps/ia64/fpu/ftestexcept.c: New file.
3981 2000-05-05 Andreas Jaeger <aj@suse.de>
3983 * misc/tst-tsearch.c (main): Correct type for initstate argument.
3985 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
3986 (_dl_string_hwcap): New, does nothing.
3988 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
3989 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
3990 (_dl_string_hwcap): New function, converts from string to hwcap
3992 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
3993 (_DL_HWCAP_COUNT): New.
3994 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
3995 (_dl_string_hwcap): New function, converts from string to hwcap
3997 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
3998 (_DL_HWCAP_COUNT): New.
3999 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4000 (_dl_string_hwcap): New function, converts from string to hwcap
4003 2000-05-05 Ulrich Drepper <drepper@redhat.com>
4005 * elf/Makefile (distribute): Add dl-lookupcfg.h.
4006 * sysdeps/ia64/Dist: New file.
4008 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
4009 parameter to mprotect and for variable assignments.
4011 2000-05-03 Jes Sorensen <jes@linuxcare.com>
4013 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
4014 validity of map before dereferencing it.
4016 * elf/dl-reloc.c (RESOLVE_MAP): Define.
4018 2000-05-02 Jes Sorensen <jes@linuxcare.com>
4020 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
4021 lookup to the arguments to elf_machine_fixup_plt().
4023 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
4024 of the symbol being resolved to input argument list and make the
4025 function return the pointer to the reloc.
4027 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
4028 return valuie to lookup_t and return the value.
4029 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
4030 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
4031 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
4032 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
4033 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
4034 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
4036 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
4037 Make it an inline function returning value after calling
4038 __elf_machine_fixup_plt().
4040 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
4043 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
4044 obtain the symbol address.
4046 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
4047 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
4049 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
4050 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
4053 2000-04-28 Jes Sorensen <jes@linuxcare.com>
4055 * elf/dl-runtime.c (fixup): Use the portable macros to get the
4056 symbol address of an object.
4058 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
4059 the symbol address of an object.
4061 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
4062 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
4063 (_dl_lookup_symbol_skip): Likewise.
4064 (_dl_lookup_versioned_symbol): Likewise.
4065 (_dl_lookup_versioned_symbol_skip): Likewise.
4067 2000-04-27 Jes Sorensen <jes@linuxcare.com>
4069 * elf/rtld.c (_dl_start): Get the function pointer return address
4070 via _dl_start_address for architectures that need a function
4071 pointer descriptor rather than just a pointer (ia64).
4073 * sysdeps/generic/dl-lookupcfg.h: New file.
4074 * sysdeps/ia64/dl-lookupcfg.h: New file.
4075 * sysdeps/ia64/dl-machine.h: New file.
4076 * sysdeps/ia64/dl-symaddr.c: New file.
4077 * sysdeps/ia64/dl-fptr.c: New file.
4079 * elf/elf.h: Add IA-64 specific definitions.
4081 2000-05-04 Jakub Jelinek <jakub@redhat.com>
4083 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
4086 2000-05-04 Jakub Jelinek <jakub@redhat.com>
4088 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
4091 2000-04-11 Geoff Keating <geoffk@cygnus.com>
4093 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
4094 symbol. Call _dl_init rather than the old way.
4096 2000-05-04 Ulrich Drepper <drepper@redhat.com>
4098 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
4099 test for pointer in range of DSO address space.
4101 2000-05-04 Andreas Jaeger <aj@suse.de>
4103 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
4105 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4107 * locale/findlocale.c (_nl_find_locale): Add new parameter to
4108 calls of _nl_make_l10nflist.
4110 * libio/stdio.h: Make fseeko and ftello prototypes available is
4111 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
4113 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
4114 real unsetenv implementation from 1999-07-29 [PR libc/1714].
4116 2000-05-03 Bruno Haible <haible@clisp.cons.org>
4118 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
4119 before calling tfind.
4121 2000-03-05 Jakub Jelinek <jakub@redhat.com>
4123 * resolv/resolv.h (res_querydomain): Remove redefinition to
4124 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
4126 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4128 * po/gl.po: Update from translation team.
4130 * manual/intro.texi (Program Basics): Change section title.
4131 * manual/process.texi: Fix reference.
4132 (Executing a File): Add reference exec in other section.
4133 * manual/signal.texi: Fix reference.
4134 * manual/startup.texi: Document syscall function.
4135 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
4137 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4139 * intl/libintl.h (bind_textdomain_codeset): New declaration.
4140 * intl/bindtextdom.c (set_binding_values): New function.
4141 (bindtextdomain): Call it.
4142 (bind_textdomain_codeset): New function.
4143 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
4144 (free_mem): Free each binding's codeset.
4145 * intl/gettextP.h (struct binding): Add codeset field.
4146 (_nl_find_domain): Add domainbinding argument.
4147 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
4148 Pass it to _nl_make_l10nflist.
4149 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
4150 (_nl_make_l10nflist): Add domainbinding argument.
4151 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
4152 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
4153 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
4155 * manual/message.texi: New node "Charset conversion in gettext".
4157 2000-04-30 Bruno Haible <haible@clisp.cons.org>
4159 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
4160 appropriate. Handle possible __read error.
4162 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4164 * intl/gettextP.h (__builtin_expect): Define as empty if not a
4166 * intl/loadinfo.h (__builtin_expect): Likewise.
4167 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
4168 __builtin_expect where appropriate.
4169 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4170 * intl/localealias.c (extend_alias_table): Return an error indicator.
4171 (read_alias_file): Bail out if extend_alias_table fails.
4173 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4175 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
4176 * intl/localealias.c: Likewise.
4178 2000-05-01 Bruno Haible <haible@clisp.cons.org>
4180 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
4181 Initialize domain->plural and domain->nplurals even if there is no
4184 2000-05-01 Bruno Haible <haible@clisp.cons.org>
4186 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
4187 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
4188 In case of failure, goto converted.
4190 2000-05-01 Bruno Haible <haible@clisp.cons.org>
4192 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
4193 * iconv/gconv_int.h (norm_add_slashes): Move to here.
4194 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
4197 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4199 * intl/dcigettext.c (transcmp): Compare the domains as well.
4200 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
4202 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
4205 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4207 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
4208 Reported by Bruno Haible.
4210 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4212 * manual/arith.texi: Remove @w from @itemize.
4214 2000-05-02 Andreas Jaeger <aj@suse.de>
4216 * conform/data/tar.h-data: Add some checks for specific values.
4218 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
4221 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
4224 * conform/data/netinet/in.h-data: Add exact checks for the values
4225 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
4227 * conform/data/float.h-data: Add some minimal values.
4229 * conform/conformtest.pl: Test for macros with string constants,
4230 check for minimum and maximum values.
4231 Add limits.h to headers.
4233 * conform/data/cpio.h-data: Test for value of MAGIC.
4235 * conform/data/limits.h-data: New file.
4237 2000-04-30 Bruno Haible <haible@clisp.cons.org>
4239 * math/Makefile (headers): Add bits/fenvinline.h.
4241 2000-05-01 Ulrich Drepper <drepper@redhat.com>
4243 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
4244 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
4246 * posix/Versions: Change posix_spawnattr_getdefault and
4247 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
4248 and posix_spawnattr_setsigdefault respectively.
4249 * posix/spawn.h: Likewise.
4250 * posix/spawnattr_getdefault.h: Likewise.
4251 * posix/spawnattr_setdefault.h: Likewise.
4252 * conform/data/spawn.h-data: Likewise.
4254 2000-05-01 Andreas Jaeger <aj@suse.de>
4256 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
4258 2000-04-30 Ulrich Drepper <drepper@redhat.com>
4260 * manual/sysinfo.texi: Document getdomainname, setdomainname
4262 * manual/string.texi: Fix typo.
4263 * manual/terminal.texi: Document gtty and stty.
4264 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4266 2000-04-30 Andreas Jaeger <aj@suse.de>
4268 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
4269 accordance with Austin Draft.
4271 2000-04-30 Ulrich Drepper <drepper@redhat.com>
4273 * catgets/gencat.c (read_input_file): Use isblank and not isspace
4274 to recognize second character in comment line.
4276 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
4277 ENOBUFS if we are out of memory.
4279 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
4280 available if __USE_XOPEN2K.
4281 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
4282 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4283 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
4284 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
4285 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
4286 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4287 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
4288 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
4290 2000-04-29 Ulrich Drepper <drepper@redhat.com>
4292 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
4293 Recognize option -s, -c, and -l.
4295 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
4297 * nscd/nscd.c: Start new session for nscd, drop privilegs
4298 to configured user if requested and no -S parameter are used.
4299 * nscd/nscd.conf: Add new option "server-user".
4300 * nscd/nscd_conf.c: Add support for new "server-user" option.
4301 * nscd/nscd.h: Add declaration for server_user variable.
4302 Based on patch by Chris Wing <wingc@engin.umich.edu>
4304 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4306 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
4307 that changing the __restore and __restore_rt signal return code
4310 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4312 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
4315 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4317 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
4319 2000-04-29 Ulrich Drepper <drepper@redhat.com>
4321 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
4322 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
4324 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
4325 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
4326 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
4327 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
4328 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
4329 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
4330 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
4331 posix_fallocate, and posix_madvise.
4332 * conform/data/netdb.h-data: New file.
4333 * conform/data/pthread.h-data: Add pthread_barrier_t,
4334 pthread_barrierattr_t, pthread_barrier_destroy,
4335 pthread_barrier_init, pthread_barrier_wait,
4336 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
4337 pthread_barrierattr_init, pthread_barrierattr_setpshared,
4338 pthread_condattr_getclock, pthread_condattr_setclock,
4339 pthread_getcpuclockid, pthread_mutex_timedlock,
4340 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
4341 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
4342 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
4343 * conform/data/sched.h-data: Add sched_ss_low_priority,
4344 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
4346 * conform/data/semaphore.h-data: Add sem_timedwait.
4347 * conform/data/signal.h-data: Add SIGIO.
4348 * conform/data/spawn.h-data: New file.
4349 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
4350 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
4351 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
4352 Fix typo in gmtime_r definition.
4353 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
4354 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
4355 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
4356 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
4357 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
4358 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
4359 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
4360 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
4361 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
4362 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
4363 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
4364 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
4365 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
4366 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
4367 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
4368 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
4369 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
4370 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
4371 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
4372 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
4373 typo in off_t definition.
4374 * conform/data/net/if.h-data: New file.
4375 * conform/data/netinet/in.h-data: New file.
4376 * conform/data/netinet/tcp.h-data: New file.
4377 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
4378 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
4379 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
4380 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
4381 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
4382 and posix_typed_mem_open.
4383 * conform/data/sys/socket.h-data: New file.
4384 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
4385 * conform/data/sys/types.h-data: Add pthread_barrier_t,
4386 pthread_barrierattr_t, and pthread_spinlock_t.
4387 * conform/data/sys/un.h-data: New file.
4388 * conform/data/sys/utsname.h-data: New file.
4390 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
4392 * inet/gethstbyad.c (gethostbyname): Likewise.
4393 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
4394 * inet/getipnodebyad.c (getipnodebyad): Likewise.
4395 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
4396 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
4398 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
4399 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
4400 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
4401 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
4402 * resolv/gethnamaddr.c (gethostbyname): Likewise.
4403 * resolv/netdb.h (struct hostent): Fix type of h_length member.
4404 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
4405 and second parameter.
4407 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
4410 2000-04-29 Andreas Jaeger <aj@suse.de>
4412 * conform/data/arpa/inet.h-data: New file.
4414 2000-04-28 Geoff Clare <gwc@unisoft.com>
4416 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
4417 path passed to ftw() or nftw() is an empty string.
4418 Closes PR libc/1710.
4420 2000-04-27 Ulrich Drepper <drepper@redhat.com>
4422 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
4423 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
4424 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
4425 * localedata/tst-mbswcs4.c: New file.
4426 * localedata/tst-mbswcs5.c: New file.
4428 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
4429 == NULL. Little optimization.
4431 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
4432 DT_PREINIT_ARRAYSZ).
4433 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
4435 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
4436 overflows in conversion from ASCII.
4438 2000-04-26 Jakub Jelinek <jakub@redhat.com>
4440 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
4441 * Makerules (full_config_sysdirs): Likewise.
4442 * MakeTAGS (full_config_sysdirs): Likewise.
4444 2000-04-26 Jakub Jelinek <jakub@redhat.com>
4446 * .cvsignore: Remove linuxthreads.
4447 * po/.cvsignore: Remove *.pot.
4448 * posix/glob/.cvsignore: Removed.
4449 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
4451 2000-04-25 Andreas Jaeger <aj@suse.de>
4453 * conform/Makefile (distribute): Also distribute contents of
4456 * Makerules (no_deps): Remove abi-versions.h.
4458 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
4460 2000-04-25 Jakub Jelinek <jakub@redhat.com>
4462 * sysdeps/sparc/sparc64/elf/Dist: Remove.
4463 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
4464 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
4465 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
4466 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
4467 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
4470 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
4472 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
4474 2000-04-23 Bruno Haible <haible@clisp.cons.org>
4476 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
4477 * intl/l10nflist.c: Likewise.
4479 2000-04-23 Bruno Haible <haible@clisp.cons.org>
4481 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
4482 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
4483 * intl/textdomain.c [!_LIBC]: Likewise.
4484 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
4485 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
4486 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
4489 2000-04-23 Bruno Haible <haible@clisp.cons.org>
4491 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
4492 character set conversion also in the case the translation was found
4493 after a hash collision or through binary search. Store the maximum
4494 index together with the converted message. Use iconv() when available.
4495 In case of out of memory during conversion, return the unconverted
4496 translated string, not NULL.
4498 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
4500 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
4501 to avoid name clashes with the ia32 linker.
4503 2000-04-25 Jakub Jelinek <jakub@redhat.com>
4505 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
4508 2000-04-27 Ulrich Drepper <drepper@redhat.com>
4510 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
4511 strtoumax, strfry, and memfrob.
4512 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
4513 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4515 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
4516 if this function is available.
4518 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
4521 2000-04-27 Jakub Jelinek <jakub@redhat.com>
4523 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
4525 2000-04-27 Ulrich Drepper <drepper@redhat.com>
4527 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
4528 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
4529 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
4530 * localedata/tst-mbswcs3.c: New file.
4532 2000-04-26 Ulrich Drepper <drepper@redhat.com>
4534 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
4535 characters. Don't handle incomplete characters as errors.
4536 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
4537 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
4538 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
4539 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
4540 * localedata/tst-mbswcs2.c: New file.
4542 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
4543 stored character in state in UNPACK_BYTES macro.
4544 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
4545 test for available characters, handle result of BODY code correctly.
4546 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
4547 (distribute): Add tst-mbswcs.sh.
4548 Add rule to run tst-mbswcs.sh.
4549 * localedata/tst-mbswcs.sh: New file.
4550 * localedata/tst-mbswcs1.c: New file.
4552 2000-04-26 Jakub Jelinek <jakub@redhat.com>
4554 * nis/nis_callback.c (__nis_create_callback): Do failed memory
4555 allocation fixups centrally, fix __builtin_expect call, return NULL
4556 on failure, not NIS_NOMEMORY.
4558 2000-04-27 Bruno Haible <haible@clisp.cons.org>
4560 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
4562 * intl/loadinfo.h (internal_function): Define if not already defined.
4564 2000-04-27 Andreas Jaeger <aj@suse.de>
4566 * intl/libintl.h: Fix typo, reported by Bruno Haible
4567 <haible@clisp.cons.org>.
4569 2000-04-25 Ulrich Drepper <drepper@redhat.com>
4571 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
4572 setting the state to GMON_PROF_BUSY.
4574 2000-04-24 Ulrich Drepper <drepper@redhat.com>
4576 * elf/dl-profile.c (_dl_start_profile): define all variables which
4577 do not have to be global as local variables.
4579 * nis/nis_callback.c (__nis_create_callback): Partially undo last
4580 patch. Keep needed tests for failed memory allocation.
4582 * elf/dl-reloc.c (_dl_relocate_object): Add one more
4583 __builtin_expect saying that we don't normally expect to profile.
4585 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
4586 __builtin_expect where desirable.
4588 2000-04-23 Ulrich Drepper <drepper@redhat.com>
4590 * manual/Makefile (chapters): Add syslog.
4591 * manual/syslog.texi: New file.
4592 * manual/math.texi: Fix references.
4593 * manual/terminal.texi: Likewise.
4594 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4596 2000-04-18 Jakub Jelinek <jakub@redhat.com>
4598 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
4599 stdlib.h was not included or __USE_XOPEN not defined.
4601 2000-04-23 Ulrich Drepper <drepper@redhat.com>
4603 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
4604 Patch by Zack Weinberg <zack@wolery.cumb.org>.
4606 2000-04-22 Ulrich Drepper <drepper@redhat.com>
4608 * manual/examples/subopt.c (mount_opts): Add missing terminating
4610 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
4612 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
4613 * libio/ftello.c: Likewise.
4614 * libio/ftello64.c: Likewise.
4615 * libio/ioftell.c: Likewise.
4616 * sysdeps/generic/memrchr.c: Likewise.
4617 * sysdeps/posix/libc_fatal.c: Likewise.
4618 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
4619 * misc/fstab.c: Include <string.h> for strcmp prototype.
4620 * sysdeps/generic/ldsodefs.h: Likewise.
4621 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4622 Patch by Kurt Roeckx <Q@ping.be>.
4624 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
4625 Remove db-open. Change all uses.
4626 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
4628 2000-04-21 Jakub Jelinek <jakub@redhat.com>
4630 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
4631 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
4632 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
4633 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
4634 with .set noat/at to shut up warnings.
4635 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
4636 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
4637 compilation if __NR_pciconfig_iobase is not defined.
4638 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
4641 2000-04-21 Ulrich Drepper <drepper@redhat.com>
4643 * manual/sysinfo.texi: Fix typo.
4644 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
4645 Replace "high precision time" with "high accuracy clock".
4647 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
4649 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
4650 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
4652 * nis/nis_subr.c: Use __builtin_expect.
4653 * nis/ypclnt.c: Likewise.
4654 * nis/nis_getservlist.c: Likewise.
4655 * nis/nis_creategroup.c: Likewise.
4657 * nis/nis_callback.c (__nis_create_callback): Check result of
4658 memory allocation. Fix memory leaks. Use __builtin_expect.
4659 (__nis_destroy_callback): Fix memory leaks.
4661 2000-04-21 Andreas Jaeger <aj@suse.de>
4663 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
4664 * sysdeps/mips/mips64/add_n.S: Likewise.
4665 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
4666 * sysdeps/mips/mips64/lshift.S: Likewise.
4667 * sysdeps/mips/mips64/mul_1.S: Likewise.
4668 * sysdeps/mips/mips64/rshift.S: Likewise.
4669 * sysdeps/mips/mips64/setjmp.S: Likewise.
4670 * sysdeps/mips/mips64/sub_n.S: Likewise.
4671 * sysdeps/mips/mips64/submul_1.S: Likewise
4672 * sysdeps/unix/mips/sysdep.S: Likewise.
4674 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
4675 and update comment. The strtab from _dl_relocate_object can be
4678 2000-04-21 Ulrich Drepper <drepper@redhat.com>
4680 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
4681 * iconv/iconv_close.c (iconv_close): Likewise.
4682 * iconv/iconv_open.c (iconv_open): Likewise.
4684 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
4685 __builtin_expect where useful.
4687 * grp/initgroups.c (initgroups): Test for result of memory
4688 allocation and punt if it fails.
4690 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
4691 * grp/fgetgrent.c (fgetfrent): Likewise.
4692 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
4694 2000-04-21 Jakub Jelinek <jakub@redhat.com>
4696 * libio/vasprintf.c: Include string.h to get memcpy prototype.
4698 2000-04-20 Ulrich Drepper <drepper@redhat.com>
4700 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
4701 don't search for NUL byte to decrement counter.
4702 Reported by Ulrich.Brink@sap.com.
4704 * iconv/gconv_simple.c: Define separate functions to convert from
4705 UCS4/UCS4-LE to the internal encoding.
4706 * iconv/gconv_builtin.h: Use separate functions to convert from
4707 UCS4/UCS4-LE to the internal encoding.
4708 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
4709 __gconv_transform_ucs4le_internal.
4711 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
4712 output buffer overflow. Reported by Ulrich.Brink@sap.com.
4714 * iconv/skeleton.c: Add some more __builtin_expect.
4715 * iconv/loop.c: Likewise.
4717 2000-03-08 H.J. Lu <hjl@gnu.org>
4719 * posix/regex.c (regex_compile): Correctly handle "\{" when
4720 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
4722 2000-04-20 Ulrich Drepper <drepper@redhat.com>
4724 * manual/stdio.texi: Give advise about handling error when using
4726 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
4728 2000-04-19 Jakub Jelinek <jakub@redhat.com>
4730 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
4731 field to nelems * sizeof (uint32_t).
4732 * locale/programs/ld-address.c (address_output): Align word fields
4734 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4735 Don't restart idx pointers to idx end at the duo_int_curr_symbol
4737 Avoid giving arbitrary garbage in the crncystr field.
4738 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
4739 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
4741 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4742 Don't restart idx pointers to idx end at the decimal_point_wc field.
4743 * locale/programs/ld-time.c (time_output): week_1stday should be
4744 word, not byte. Align it properly.
4746 2000-04-19 H.J. Lu <hjl@gnu.org>
4748 * csu/gmon-start.c (_start): Declared as "extern void".
4751 2000-04-18 Andreas Jaeger <aj@suse.de>
4753 * manual/install.texi (Running make install): Don't mention utmpd
4756 2000-04-18 Andreas Jaeger <aj@suse.de>
4758 * linuxthreads/Versions: Use ld instead of ld.so.
4760 * elf/Makefile (ld-map): Use ld.map.
4762 * Versions.def: Use ld instead of ld.so.
4763 * elf/Versions: Likewise.
4764 * sysdeps/mach/hurd/Versions: Likewise.
4766 2000-04-20 Andreas Jaeger <aj@suse.de>
4768 * elf/rtld.c (print_statistics): Move ifndef further up.
4769 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
4770 (dl_main): Likewise.
4772 2000-04-18 Ulrich Drepper <drepper@redhat.com>
4774 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
4775 * gmon/Versions: Move moncontrol to GLIBC_2.2.
4777 * po/cs.po: Update from translation team.
4779 * sysdeps/generic/updwtmp.c: Remove daemon support.
4781 * login/Makefile (routines): Remove utmp_daemon.
4783 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
4784 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
4785 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
4786 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
4788 * elf/rtld.c: Display statitics option also if hp timing is not
4791 * login/programs/connection.c: Removed.
4792 * login/programs/database.c Removed.
4793 * login/programs/error.c: Removed.
4794 * login/programs/request.c: Removed.
4795 * login/programs/xtmp.c: Removed.
4796 * login/programs/xtmp.h: Removed.
4797 * login/Makefile: Remove rules for utmpd.
4798 * login/README.utmpd: Removed.
4799 * login/utmp_daemon.c: Removed.
4800 * login/getutent_r.c: Remove references to daemon functions.
4801 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
4804 2000-04-18 Andreas Jaeger <aj@suse.de>
4806 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
4807 2.2 for libnsl, libresolv, librt, libnss_*.
4809 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
4811 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
4813 2000-04-18 Ulrich Drepper <drepper@redhat.com>
4815 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
4816 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
4817 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
4818 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
4819 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
4820 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
4821 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
4822 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
4823 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
4824 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
4825 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
4826 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
4827 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
4829 * sysdeps/unix/sysv/aix/msync.c: New file.
4830 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
4831 * sysdeps/unix/sysv/aix/net/if.h: New file.
4832 * sysdeps/unix/sysv/aix/pipe.c: New file.
4833 * sysdeps/unix/sysv/aix/poll.c: New file.
4834 * sysdeps/unix/sysv/aix/rename.c: New file.
4835 * sysdeps/unix/sysv/aix/rmdir.c: New file.
4836 * sysdeps/unix/sysv/aix/select.c: New file.
4837 * sysdeps/unix/sysv/aix/semctl.c: New file.
4838 * sysdeps/unix/sysv/aix/semget.c: New file.
4839 * sysdeps/unix/sysv/aix/semop.c: New file.
4840 * sysdeps/unix/sysv/aix/sendto.c: New file.
4841 * sysdeps/unix/sysv/aix/setgroups.c: New file.
4842 * sysdeps/unix/sysv/aix/setpgid.c: New file.
4843 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
4844 * sysdeps/unix/sysv/aix/setpriority.c: New file.
4845 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
4846 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
4847 * sysdeps/unix/sysv/aix/setsid.c: New file.
4848 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
4849 * sysdeps/unix/sysv/aix/shmat.c: New file.
4850 * sysdeps/unix/sysv/aix/shmctl.c: New file.
4851 * sysdeps/unix/sysv/aix/shmdt.c: New file.
4852 * sysdeps/unix/sysv/aix/shmget.c: New file.
4853 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
4854 * sysdeps/unix/sysv/aix/sigstack.c: New file.
4855 * sysdeps/unix/sysv/aix/socket.c: New file.
4856 * sysdeps/unix/sysv/aix/socketpair.c: New file.
4857 * sysdeps/unix/sysv/aix/speed.c: New file.
4858 * sysdeps/unix/sysv/aix/symlink.c: New file.
4859 * sysdeps/unix/sysv/aix/sync.c: New file.
4860 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
4861 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
4862 * sysdeps/unix/sysv/aix/times.c: New file.
4863 * sysdeps/unix/sysv/aix/ulimit.c: New file.
4864 * sysdeps/unix/sysv/aix/umask.c: New file.
4865 * sysdeps/unix/sysv/aix/unlink.c: New file.
4866 * sysdeps/unix/sysv/aix/ustat.c: New file.
4867 * sysdeps/unix/sysv/aix/utimes.c: New file.
4869 2000-04-18 Andreas Jaeger <aj@suse.de>
4871 * manual/startup.texi (Environment Access): Fix putenv prototype
4872 according to recent changes.
4873 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
4876 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
4879 2000-04-18 Ulrich Drepper <drepper@redhat.com>
4881 * posix/Makefile (tests): Add tst-getaddrinfo.
4882 * posix/tst-getaddrinfo.c: New file.
4884 2000-04-17 Ulrich Drepper <drepper@redhat.com>
4886 * manual/sysinfo.texi: Document that umount2 is not widely available.
4888 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
4889 signal timing is not really implemented.
4891 2000-04-17 Andreas Jaeger <aj@suse.de>
4893 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
4895 2000-04-17 Jakub Jelinek <jakub@redhat.com>
4897 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
4900 2000-04-17 Ulrich Drepper <drepper@redhat.com>
4902 * manual/intro.texi: Change reference from System Information to
4904 * manual/users.texi: Likewise.
4905 * manual/conf.texi: Likewise.
4906 * manual/sysinfo.texi: Document mount, umount, and umount2.
4907 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4909 2000-04-17 Jakub Jelinek <jakub@redhat.com>
4911 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
4912 Create wnumstr as well as numstr to support wide character output
4915 2000-04-15 Jakub Jelinek <jakub@redhat.com>
4917 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
4918 modification and move it...
4919 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
4920 Add -melf64_sparc switch to $(LD) on sparc64-linux.
4921 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
4922 switch to $(LD) on sparc-linux.
4924 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
4926 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
4927 and setresuid from sysdep_routines.
4929 2000-04-17 Ulrich Drepper <drepper@redhat.com>
4931 * manual/Makefile (chapters): Add resource.
4933 * manual/time.texi: Move section on resources to...
4934 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
4936 * manual/setjmp.texi: Adjust back reference.
4937 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4939 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
4941 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
4942 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
4943 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
4944 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
4945 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
4946 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
4947 * sysdeps/unix/sysv/aix/close.c: Add copyright.
4948 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
4949 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
4950 * sysdeps/unix/sysv/aix/access.c: Add copyright.
4951 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
4952 * sysdeps/unix/sysv/aix/Implies: New file.
4953 * sysdeps/unix/sysv/aix/Versions: New file.
4954 * sysdeps/unix/sysv/aix/bind.c: New file.
4955 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
4956 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
4957 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
4958 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
4959 * sysdeps/unix/sysv/aix/chdir.c: New file.
4960 * sysdeps/unix/sysv/aix/chmod.c: New file.
4961 * sysdeps/unix/sysv/aix/chroot.c: New file.
4962 * sysdeps/unix/sysv/aix/creat.c: New file.
4963 * sysdeps/unix/sysv/aix/dl-close.c: New file.
4964 * sysdeps/unix/sysv/aix/dl-open.c: New file.
4965 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
4966 * sysdeps/unix/sysv/aix/fchdir.c: New file.
4967 * sysdeps/unix/sysv/aix/fchmod.c: New file.
4968 * sysdeps/unix/sysv/aix/getgroups.c: New file.
4969 * sysdeps/unix/sysv/aix/gethostname.c: New file.
4970 * sysdeps/unix/sysv/aix/getpriority.c: New file.
4971 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
4972 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
4973 * sysdeps/unix/sysv/aix/getrusage.c: New file.
4974 * sysdeps/unix/sysv/aix/link.c: New file.
4975 * sysdeps/unix/sysv/aix/madvise.c: New file.
4976 * sysdeps/unix/sysv/aix/mkdir.c: New file.
4977 * sysdeps/unix/sysv/aix/mknod.c: New file.
4978 * sysdeps/unix/sysv/aix/mprotect.c: New file.
4979 * sysdeps/unix/sysv/aix/msgctl.c: New file.
4980 * sysdeps/unix/sysv/aix/msgget.c: New file.
4981 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
4983 2000-04-17 Andreas Jaeger <aj@suse.de>
4985 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
4986 as suggested by Ulrich Drepper.
4987 (__dl_runtime_resolve): Remove unused variable, initialize sym
4989 (RTLD_START): Document OFFSET_GP_GOT.
4990 (OFFSET_GP_GOT): New magic value.
4991 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
4992 (elf_machine_got_rel): Only declare strtab if needed.
4993 (elf_machine_relplt): Removed, it's not needed.
4994 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
4996 * sysdeps/mips/add_n.S: Add newline at EOF.
4997 * sysdeps/mips/rshift.S: Likewise.
4998 * sysdeps/mips/mul_1.S: Likewise.
4999 * sysdeps/mips/lshift.S: Likewise.
5000 * sysdeps/mips/addmul_1.S: Likewise.
5002 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5004 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
5006 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
5007 * elf/dl-lookup.c: Likewise.
5008 * elf/dl-init.c (_dl_init): Likewise.
5009 * elf/dl-fini.c (_dl_fini): Likewise.
5010 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5011 * elf/dl-close.c (_dl_close): Likewise.
5012 * elf/rtld.c (_dl_start_final): Likewise.
5014 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
5016 2000-04-15 Ulrich Drepper <drepper@redhat.com>
5018 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
5019 only fall back on using Linux.
5021 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
5022 Before testing versions check that we actually loaded the object
5023 and whether we are in trace mode. If not loaded during tracing don't
5024 test versions in this object.
5025 (_dl_check_all_versions): Take new parameter and pass to
5026 _dl_check_map_versions.
5027 * sysdeps/generic/ldsodefs.h: Update prototypes for
5028 _dl_check_all_versions and _dl_check_map_versions.
5029 * elf/rtld.c (struct version_check_args): Add dotrace.
5030 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
5031 (dl_main): Pass info about trace mode to version_check_doit.
5032 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
5033 _dl_check_all_versions.
5035 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
5037 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5039 * manual/argp.texi: Document index parameter of argp_parse.
5041 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
5043 2000-04-14 Andreas Jaeger <aj@suse.de>
5045 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
5046 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
5048 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
5050 2000-04-15 Ulrich Drepper <drepper@redhat.com>
5052 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
5053 compat_symbol call for old adjtime.
5055 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
5056 function interface. Patch by Richard Henderson <rth@cygnus.com>.
5058 * posix/Makefile (headers): Add spawn.h.
5059 (distribute): Add spawn_int.h.
5060 (routines): Add spawn_faction_init, spawn_faction_destroy,
5061 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
5062 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
5063 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
5064 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
5065 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
5066 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
5067 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
5068 posix_spawnattr_init, posix_spawnattr_destroy,
5069 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
5070 posix_spawnattr_getflags, posix_spawnattr_setflags,
5071 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
5073 * posix/spawn.c: New file.
5074 * posix/spawn.h: New file.
5075 * posix/spawn_faction_addclose.c: New file.
5076 * posix/spawn_faction_adddup2.c: New file.
5077 * posix/spawn_faction_addopen.c: New file.
5078 * posix/spawn_faction_destroy.c: New file.
5079 * posix/spawn_faction_init.c: New file.
5080 * posix/spawn_int.h: New file.
5081 * posix/spawnattr_destroy.c: New file.
5082 * posix/spawnattr_getdefault.c: New file.
5083 * posix/spawnattr_getflags.c: New file.
5084 * posix/spawnattr_getpgroup.c: New file.
5085 * posix/spawnattr_getschedparam.c: New file.
5086 * posix/spawnattr_getschedpolicy.c: New file.
5087 * posix/spawnattr_getsigmask.c: New file.
5088 * posix/spawnattr_init.c: New file.
5089 * posix/spawnattr_setdefault.c: New file.
5090 * posix/spawnattr_setflags.c: New file.
5091 * posix/spawnattr_setpgroup.c: New file.
5092 * posix/spawnattr_setschedparam.c: New file.
5093 * posix/spawnattr_setschedpolicy.c: New file.
5094 * posix/spawnattr_setsigmask.c: New file.
5095 * posix/spawni.c: New file.
5096 * posix/spawnp.c: New file.
5098 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
5099 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
5101 2000-04-14 Ulrich Drepper <drepper@redhat.com>
5103 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
5104 * malloc/malloc.c: Implement posix_memalign for glibc.
5105 * include/stdlib.h: Add prototype for __posix_memalign.
5106 * stdlib/stdlib.h: Add prototype for posix_memalign.
5108 2000-04-14 Andreas Jaeger <aj@suse.de>
5110 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
5112 (elf_machine_got_rel): Cast sym correctly.
5114 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
5115 * sysdeps/mips/addmul_1.S: Likewise.
5116 * sysdeps/mips/lshift.S: Likewise.
5117 * sysdeps/mips/mul_1.S: Likewise.
5118 * sysdeps/mips/rshift.S: Likewise.
5119 * sysdeps/mips/sub_n.S: Likewise.
5120 * sysdeps/mips/submul_1.S: Likewise.
5122 * stdlib/stdlib.h: Fix typo in comment.
5124 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
5125 2.2 for libdl, ld and libm.
5127 * sysdeps/generic/madvise.c: Fix typos.
5129 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
5131 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
5133 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
5136 2000-04-14 Ulrich Drepper <drepper@redhat.com>
5138 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
5139 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
5140 Make old name weak alias.
5141 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
5142 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
5143 Make old name weak alias.
5144 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
5146 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
5147 posix_fallocate, and posix_fallocate64.
5148 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
5149 posix_fallocate, and posix_fallocate64.
5150 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
5151 posix_fallocate, and posix_fallocate64.
5152 * sysdeps/generic/fadvise.c: New file.
5153 * sysdeps/generic/fadvise64.c: New file.
5154 * sysdeps/generic/fallocate.c: New file.
5155 * sysdeps/generic/fallocate64.c: New file.
5156 * sysdeps/posix/fallocate.c: New file.
5157 * sysdeps/posix/fallocate64.c: New file.
5158 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
5159 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
5160 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
5161 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
5162 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
5163 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
5164 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
5165 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
5166 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5168 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
5169 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5171 2000-04-13 Ulrich Drepper <drepper@redhat.com>
5173 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
5174 * misc/sys/mman.h (posix_madvise): Add prototype.
5175 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
5176 old name and posix_madvise weak aliases.
5177 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5178 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
5179 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
5180 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
5181 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
5182 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5183 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5185 2000-04-13 Andreas Jaeger <aj@suse.de>
5187 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
5189 (elf_machine_got_rel): Only add runtime display if needed.
5190 (elf_machine_got_rel): Handle symbol versioning.
5192 2000-04-13 Andreas Jaeger <aj@suse.de>
5194 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
5196 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
5199 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
5200 with some applications.
5201 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
5203 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
5204 * sysdeps/mips/bsd-_setjmp.S: Likewise.
5205 * sysdeps/mips/setjmp.S: Likewise.
5207 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
5209 2000-04-13 Ulrich Drepper <drepper@redhat.com>
5211 * posix/globtest.sh: Work around inconsistency with expanding ~/
5212 in shell (PR libc/1690). Reported by patsmith@pobox.com.
5214 2000-04-12 Ulrich Drepper <drepper@redhat.com>
5216 * posix/getconf.c: Add support for many more POSIX options.
5217 * sysdeps/posix/sysconf.c: Likewise.
5218 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
5219 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
5221 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
5222 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
5223 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
5224 CLOCK_THREAD_CPUTIME_ID.
5225 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
5226 CLOCK_PROCESS_CPUTIME_ID.
5227 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
5228 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
5229 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
5230 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
5232 * malloc/Makefile (tests): Add tst-calloc.
5233 * malloc/tst-calloc.c: New file.
5235 * sysdeps/arm/libm-test-ulps: New file.
5237 * malloc/malloc.c: Undo all of today's changes.
5239 * locale/programs/locale.c (show_info): Don't try to look into
5240 data for LC_ALL (there is none).
5242 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
5243 avoid writing over boundary.
5244 Patch by Greg McGary <gkm@eng.ascend.com>.
5246 * sysdeps/arm/memprof.h: New file.
5248 2000-04-12 Andreas Jaeger <aj@suse.de>
5250 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
5252 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
5253 for memmem declaration.
5255 2000-04-12 Ulrich Drepper <drepper@redhat.com>
5257 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
5259 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5261 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
5263 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
5264 Patch by Bart Veer <bartv@redhat.com>.
5266 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
5269 2000-04-11 Andreas Jaeger <aj@suse.de>
5271 * sysdeps/mips/dl-machine.h: Update some comments.
5272 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
5274 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5276 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
5277 _POSIX_SHARED_MEMORY_OBJECTS.
5279 * rt/Makefile (tests): Add tst-shm.
5280 Add rules to generate tst-shm.
5281 * rt/tst-shm.c: New file.
5283 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
5286 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
5287 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
5288 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
5289 * sysdeps/generic/shm_open.c: New file.
5290 * sysdeps/generic/shm_unlink.c: New file.
5291 * sysdeps/unix/sysv/linux/shm_open.c: New file.
5292 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
5293 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
5294 __endmntent, __getmntent_r, __setmntent, and __statfs.
5296 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
5297 fragmentation by allocating new memory at the end instead of
5300 * posix/globtest.sh: Fix last change.
5302 2000-04-10 Philip Blundell <philb@gnu.org>
5304 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
5305 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
5306 IPV6_DROP_MEMBERSHIP.
5307 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
5310 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5312 * elf/readlib (process_file): Close streams in case of an error.
5314 2000-04-09 Andreas Jaeger <aj@suse.de>
5316 * elf/readlib.c (process_file): Check if file is big enough to
5317 contain aout and ELF headers.
5318 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
5320 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
5322 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
5324 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5326 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
5328 * rt/Makefile (tests): Add tst-clock.
5329 Add rules to build tst-clock.
5330 * rt/tst-clock.c: New file.
5331 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
5332 about initialization of nsec.
5333 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
5334 about initialization of freq. Set retval to zero if successful.
5335 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
5337 2000-04-10 Ulrich Drepper <drepper@redhat.com>
5339 * Versions.def (librt): Add GLIBC_2.2.
5340 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
5341 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
5342 timer_getoverr, timer_gettime, and timer_settime.
5343 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
5344 clock_settime, timer_create, timer_delete, timer_getoverrun,
5345 timer_gettime, and timer_settime.
5346 * sysdeps/generic/clock_getcpuclockid.c: New file.
5347 * sysdeps/generic/get_clockfreq.c: New file.
5348 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
5349 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
5350 * sysdeps/mach/hurd/i386/bits/time.h: New file.
5351 * sysdeps/unix/i386/i586/clock_getres.c: New file.
5352 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
5353 * sysdeps/unix/i386/i686/Implies: New file.
5354 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
5355 * time/Makefile (routines): Move clock_getres, clock_gettime,
5356 clock_settime, timer_create, timer_delete, timer_getoverr,
5357 timer_gettime, and timer_settime to rt/Makefile.
5358 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
5359 clock_settime, timer_create, timer_delete, timer_getoverrun,
5360 timer_gettime, and timer_settime.
5361 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
5363 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
5364 and not const as attribute name.
5366 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
5368 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
5370 2000-04-10 Andreas Schwab <schwab@suse.de>
5372 * posix/globtest.sh: Skip tests that depend on unreadable
5373 directories if run as root.
5375 2000-04-10 Ulrich Drepper <drepper@redhat.com>
5377 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
5378 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
5380 2000-04-09 Ulrich Drepper <drepper@redhat.com>
5382 * sysdeps/unix/clock_gettime.c: New file.
5383 * sysdeps/unix/clock_settime.c: New file.
5384 * sysdeps/posix/clock_getres.c: New file.
5386 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
5388 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
5389 lseek call be passing in a buffer which never allow a successful
5390 first getdents syscall if not at leas the initial entry can be
5391 stored in the user buffer.
5393 * localedata/Makefile: Add rules to clean up directories created by
5396 2000-04-09 Geoff Clare <gwc@unisoft.com>
5398 * localedata/tst-fmon.data: Added new tests for strfmon()
5399 using test locales with all combinations of cs_precedes,
5400 sign_posn and sep_by_space.
5401 * localedata/tst-fmon.sh: Updated to support the new tests.
5402 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
5403 the localedef source for the new strfmon() test locale.
5404 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
5405 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
5406 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
5407 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
5408 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
5409 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
5410 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
5411 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
5412 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
5413 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
5414 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
5415 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
5416 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
5417 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
5419 * stdlib/strfmon.c: Correct problems with missing or extra
5420 spaces for unusual combinations of sign_posn and sep_by_space.
5421 Improved left-precision alignment code.
5423 2000-04-07 Andreas Jaeger <aj@suse.de>
5425 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
5427 2000-04-10 Andreas Jaeger <aj@suse.de>
5429 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
5431 2000-04-09 Ulrich Drepper <drepper@redhat.com>
5433 Implement handling of restartable conversion functions according to
5435 * iconv/gconv.h (__gconv_fct): Add additional parameter.
5436 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
5437 * iconv/gconv.c: Pass additional parameter to conversion function.
5438 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
5439 (internal_ucs4le_loop_single): New function.
5440 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
5441 (__gconv_transform_internal_ascii): Likewise.
5442 (__gconv_transform_internal_utf8): Likewise.
5443 (__gconv_transform_utf8_internal): Likewise.
5444 (__gconv_transform_ucs2_internal): Likewise.
5445 (__gconv_transform_internal_ucs2): Likewise.
5446 (__gconv_transform_ucs2reverse_internal): Likewise.
5447 (__gconv_transform_internal_ucs2reverse): Likewise.
5448 (internal_ucs4le_loop_unaligned): Before return
5449 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
5450 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
5451 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
5452 * iconv/loop.c: Fit in definition of function to convert one character
5453 for processing of left-over bytes from the state object.
5454 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
5455 inend to match names in loop functions.
5456 (RESET_INPUT_BUFFER): Change apprpriately.
5457 (gconv): If needed, call function to process bytes from the state
5458 object. Similar at the end: store left over bytes if input is
5460 Take extra argument and add new argument to all calls of the
5461 conversion function.
5462 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
5463 information in the state object to not conflict with length count.
5464 * iconvdata/iso-2022-jp.c: Likewise.
5465 * iconvdata/iso-2022-kr.c: Likewise.
5466 * iconvdata/unicode.c: Adjust for change change in parameters of
5468 * iconvdata/utf-16.c: Likewise.
5469 * libio/iofwide.c: Add new parameter to all calls of conversion
5471 * wcsmbs/btowc.c: Likewise.
5472 * wcsmbs/mbrtowc.c: Likewise.
5473 * wcsmbs/mbsnrtowcs.c: Likewise.
5474 * wcsmbs/mbsrtowcs.c: Likewise.
5475 * wcsmbs/wcrtomb.c: Likewise.
5476 * wcsmbs/wcsnrtombs.c: Likewise.
5477 * wcsmbs/wcsrtombs.c: Likewise.
5478 * wcsmbs/wctob.c: Likewise.
5480 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
5483 2000-04-07 Andreas Jaeger <aj@suse.de>
5485 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
5488 2000-04-07 Ulrich Drepper <drepper@redhat.com>
5490 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
5491 element a union to allow byte access.
5492 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
5494 * iconvdata/iso-2022-jp.c: Likewise.
5495 * iconvdata/iso-2022-kr.c: Likewise.
5496 * wcsmbs/mbsinit.c: Likewise.
5497 * stdlib/mblen.c: Likewise.
5498 * stdio-common/printf-parse.h: Likewise.
5500 2000-04-06 Ulrich Drepper <drepper@redhat.com>
5502 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
5503 kernel does not allow relative seeks on descriptors associated
5504 with directories. Go back to get the position in the directory
5505 every time we enter the function. Return -1 and set errno if one
5506 entry could be read from the kernel but does not fit into the
5507 buffer passed in by the user.
5509 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
5510 Support ..(2).. ellipsis.
5511 (parse_charmap): Recognize ..(2).. etc and pass step down.
5512 Correctly generate names for UCS4 characters.
5514 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
5515 (ctype_finish): We know the wide character value for <SP>,
5517 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
5518 (charclass_ucs4_ellipsis): Likewise.
5519 (read_translit_ignore_entry): Store ellipsis step.
5520 (ctype_read): Recognize ..(2).. etc and pass step down.
5522 * locale/programs/linereader.c (lr_token): When seeing comment
5523 character ignore only rest of line in sources but stop at escaped
5525 Recognize ..(2).. and ....(2).....
5527 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
5528 and tok_ellipsis4_2.
5530 2000-04-06 Andreas Jaeger <aj@suse.de>
5532 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
5533 removed, remove it here also.
5534 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
5535 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
5536 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
5537 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
5539 2000-04-06 Jakub Jelinek <jakub@redhat.com>
5541 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
5542 include bits/sigcontext.h.
5543 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5545 2000-04-06 Ulrich Drepper <drepper@redhat.com>
5547 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
5548 collation symbol definition. Value in quivalence definition must
5549 be defined, don't check that it is not.
5551 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
5552 values as character names.
5554 * locale/programs/ld-ctype.c (get_character): Handle missing
5555 repertoire map correctly.
5557 2000-04-05 Cristian Gafton <gafton@redhat.com>
5559 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
5560 because it is used in generic code.
5561 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
5562 * wcsmbs/wcwidth.h: Declare __ctype32_b.
5563 * intl/gettext.c: Include <locale.h>.
5564 * intl/ngettext.c: Likewise.
5566 2000-04-05 Jakub Jelinek <jakub@redhat.com>
5568 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
5569 socklen_t type for size.
5570 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
5571 init function interface.
5572 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5573 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
5575 (__jmp_buf): Declare the whole type structure here, don't use
5578 2000-04-05 Ulrich Drepper <drepper@redhat.com>
5580 * iconv/skeleton.c (put16u): Fix typo.
5581 Reported by Bruno Haible <haible@ilog.fr>.
5583 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
5584 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
5585 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
5586 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
5587 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
5588 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
5590 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
5591 * Makefile (distribute): Add abi-versions.awk and
5593 Patches by Torsten Duwe <duwe@caldera.de>.
5595 2000-04-05 Andreas Schwab <schwab@suse.de>
5597 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
5599 2000-04-05 Andreas Schwab <schwab@suse.de>
5601 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
5602 entry point, used on Hurd.
5604 2000-04-04 Andreas Jaeger <aj@suse.de>
5606 * intl/Makefile: Only run the gettext test with shared libraries.
5608 2000-03-16 Mark Kettenis <kettenis@gnu.org>
5610 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
5611 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
5613 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
5615 * Makeconfig: Undo last change.
5616 * configure.in: If --disable-shared was given, don't set VERSIONING,
5617 don't define DO_VERSIONING, and don't give scare warning for no
5619 * configure: Regenerated.
5621 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
5623 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
5625 2000-04-04 Andreas Jaeger <aj@suse.de>
5627 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
5629 2000-04-04 Ulrich Drepper <drepper@redhat.com>
5631 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
5632 STV_HIDDEN and STV_INTERNAL during lookup.
5633 (profile_fixup): Likewise.
5634 * elf/dl-reloc.c (RESOLVE): Likewise.
5636 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
5637 unaligned so that it compiles for system which need unaligned
5640 2000-04-04 Andreas Schwab <schwab@suse.de>
5642 * elf/cache.c (print_entry): Only look at the type field when
5645 2000-04-04 Andreas Schwab <schwab@suse.de>
5647 * iconvdata/big5.c (BODY): Fix typo.
5649 2000-04-04 Andreas Schwab <schwab@suse.de>
5651 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
5652 function interface. Remove unused _dl_start_user entry point.
5654 2000-04-03 Andreas Jaeger <aj@suse.de>
5656 * include/arpa/inet.h (__inet_aton): Add protoype.
5658 2000-04-01 Andreas Jaeger <aj@suse.de>
5660 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
5662 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
5663 * sysdeps/mach/mips/thread_state.h: Likewise.
5665 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
5666 * sysdeps/generic/fegetenv.c: Likewise.
5667 * sysdeps/generic/fesetenv.c: Likewise.
5668 * sysdeps/generic/feupdateenv.c: Likewise.
5669 * sysdeps/generic/fraiseexcpt.c: Likewise.
5670 * sysdeps/generic/fsetexcptflg.c: Likewise.
5671 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
5672 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
5673 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
5674 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5676 2000-04-02 H.J. Lu <hjl@gnu.org>
5678 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
5680 2000-04-03 Ulrich Drepper <drepper@redhat.com>
5682 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
5683 (add_name_to_object): Add cast in malloc call.
5684 (fillin_rpath): Optimize loop to initialize ->status a bit.
5686 * sysdeps/i386/dl-machine.h: Undo last change.
5687 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
5688 Restore %edx register after call here.
5690 * sysdeps/arm/atomicity.h: New file.
5691 Contributed by Jesper Skov <jskov@redhat.com>.
5693 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
5695 * Makeconfig (preprocess-versions): Undo last change.
5696 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
5698 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
5699 here, before we might move the stack.
5700 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
5701 (init1): And not here.
5703 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
5704 change, to restore argc value in call-clobbered register after
5705 RTLD_START_SPECIAL_INIT, which will contain a call.
5707 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
5708 allocating and initializing L->l_initfini.
5710 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
5712 2000-04-03 Ulrich Drepper <drepper@redhat.com>
5714 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
5715 RUNPATH, RPATH, and LD_LIBRARY_PATH.
5716 (open_path): Change type of fourth parameter. Make pointer to array
5717 of pointers. Create variable dirs with original type.
5718 Track whether any directory for the object exists and if not,
5719 change *DIRSP to (void*) -1 to signal there is no such search path.
5720 (_dl_map_object): Change all calls of open_path.
5721 Rewrite decompose_rpath calls.
5723 2000-03-31 Andreas Schwab <schwab@suse.de>
5725 * string/strfry.c: Declare STATE as array of char instead of int
5726 and do not initialize it (done by initstate_r). Pass correct
5729 2000-04-03 Ulrich Drepper <drepper@redhat.com>
5731 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
5733 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
5734 instruction out of the code.
5736 2000-04-02 Ulrich Drepper <drepper@redhat.com>
5738 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
5739 element at this position.
5741 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
5742 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
5744 * elf/dl-lookup.c (add_dependency): New function.
5745 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
5746 dynamically loaded object.
5747 (_dl_lookup_symbol_skip): Likewise.
5748 (_dl_lookup_versioned_symbol): Likewise.
5749 (_dl_lookup_versioned_symbol_skip): Likewise.
5750 * elf/dl-open.c: Don't define _dl_load_lock here...
5751 * elf/rtld.c: ...but here...
5752 * elf/dl-support.c: ...and here.
5753 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
5755 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
5757 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
5759 * dlfcn/glrefmain.c: Add one more debug message.
5761 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
5763 * Makerules (sysd-versions): Use ( ) instead of { }.
5765 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
5766 optimize for the non-debugging case.
5767 * elf/dl-lookup.c: Likewise.
5768 * sysdeps/generic/libc-start.c: Likewise.
5770 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
5772 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
5773 (init1): Don't initialize __environ here, since init already does it.
5774 (first_init): New function, broken out of _init.
5775 (_hurd_stack_setup): Use it.
5776 [SHARED] (_dl_init_first): New function, renamed from old _init.
5777 (init1) [SHARED]: Don't call posixland_init here.
5778 (posixland_init): Take ENVP arg, so signature is usual for initializer.
5779 [SHARED] (_init): Define as alias for posixland_init.
5780 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
5781 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
5782 RTLD_START_SPECIAL_INIT before calling initializers.
5783 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
5784 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
5785 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
5786 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
5788 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
5789 since we define the function with the name `tmpfile'.
5791 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
5792 * hurd/Versions: Likewise.
5794 2000-04-02 Ulrich Drepper <drepper@redhat.com>
5796 * elf/dl-runtime.c (fixup): Fix typo in comment.
5798 * resolv/netdb.h (getnameinfo): All length parameters are of type
5800 * inet/getnameinfo.c: Likewise.
5802 2000-04-01 Ulrich Drepper <drepper@redhat.com>
5804 * posix/unistd.h (socklen_t): Define if it has not yet happened.
5805 (gethostname): Change type of second parameter to socklen_t.
5806 * include/unistd.h (__gethostname): Change type of second
5807 parameter to socklen_t.
5808 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
5809 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
5810 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
5811 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
5813 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
5814 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
5815 Allow definition elsewhere.
5816 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
5817 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5818 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5819 * sysdeps/generic/bits/types.h: Define __socklen_t.
5820 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
5821 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
5822 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5823 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5824 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5825 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5826 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5828 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
5829 (inet_lnaof): Likewise.
5830 (inet_netof): Likewise.
5831 (inet_network): Likewise.
5832 (inet_aton): Likewise.
5833 (inet_makeaddr): Change parameter types to in_addr_t.
5834 (inet_neta): Likewise.
5835 (inet_ntop): Change type of last parameter to socklen_t.
5836 (inet_aton): Only make available if __USE_MISC.
5837 (inet_neta): Likewise.
5838 (inet_net_ntop): Likewise.
5839 (inet_net_pton): Likewise.
5840 (inet_nsap_ntoa): Likewise.
5842 * inet/in.h: Define in_port_t type.
5843 Define in_addr_t type.
5844 (struct in_addr): Use in_addr_t in definition.
5845 (IN_CLASSA): Use cast to in_addr_t.
5846 (IN_CLASSB): Likewise.
5847 (IN_CLASSC): Likewise.
5848 (IN_CLASSD): Likewise.
5849 (IN_EXPERIMENTAL): Likewise.
5850 (IN_BADCLASS): Likewise.
5851 (INADDR_ANY): Likewise.
5852 (INADDR_BROADCAST): Likewise.
5853 (INADDR_NONE): Likewise.
5854 (INADDR_LOOPBACK): Likewise.
5855 (INADDR_UNSPEC_GROUP): Likewise.
5856 (INADDR_ALLHOSTS_GROUP): Likewise.
5857 (INADDR_ALLRTRS_GROUP): Likewise.
5858 (INADDR_MAX_LOCAL_GROUP): Likewise.
5859 (struct sockaddr_in): Use in_port_t for sin_port element.
5860 (struct sockaddr_in6): Use in_port_t for sin6_port element.
5861 Use uint8_t instead of u_int8_t.
5863 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
5864 Call __inet_aton instead of inet_aton.
5865 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
5867 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
5868 (innetgr): Likewise.
5869 (struct addrinfo): Use socklen_t for ai_addrlen element.
5871 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
5872 IPV6_RECVERR): New defines.
5874 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
5875 * inet/getnetbyad.c: Likewise.
5876 * inet/getnetbyad_r.c: Likewise.
5877 * nis/nss_nis/nis-network.c: Likewise.
5878 * nis/nssplus_nis/nisplus-network.c: Likewise.
5879 * nss/nss_files/files-network.c: Likewise.
5880 * resolv/netdb.h: Define uint32_t if not already happened.
5881 Include bits/netdb.h. Remove definition of struct netent.
5882 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
5883 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
5884 * sysdeps/generic/bits/netdb.h: New file.
5885 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
5887 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
5888 (tests): Add glrefmain.
5889 Add rules to build modules and run tests. Ignore result of glrefmain
5890 for now since it fails.
5891 * dlfcn/glrefmain.c: New file.
5892 * dlfcn/glreflib1.c: New file.
5893 * dlfcn/glreflib2.c: New file.
5895 * test-skeleton.c: Include <string.h> for strsignal prototype.
5897 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
5900 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
5901 former init-first.h. Initialize __libc_multiple_libcs.
5903 2000-03-31 Ulrich Drepper <drepper@redhat.com>
5905 * iconv/skeleton.c: Define access macros with u suffix. Adjust
5906 #if expression for use of unaligned function to the one used in
5907 the definition of these functions.
5908 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
5909 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
5910 (internal_ucs4le_loop_unaligned): New function.
5912 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
5914 (module-names): Add dep1, dep2, dep3, and dep4.
5915 Add dependencies for dep* modules and order.
5916 Define rule for order.out which checks the result.
5917 * elf/dep1.c: New file.
5918 * elf/dep2.c: New file.
5919 * elf/dep3.c: New file.
5920 * elf/dep4.c: New file.
5921 * elf/order.c: New file.
5923 * elf/dl-init.c: Fix typo in comment.
5925 2000-03-31 Andreas Jaeger <aj@suse.de>
5927 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
5928 init function interface.
5929 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
5931 2000-03-31 Andreas Jaeger <aj@suse.de>
5933 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
5934 * sysdeps/mips/fpu/fegetenv.c: Likewise.
5935 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
5936 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
5937 * sysdeps/mips/fpu/fesetenv.c: Likewise.
5939 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
5940 anymore, update comment.
5942 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5944 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
5945 SHLIB_COMPAT - the struct is always needed.
5947 2000-03-31 Ulrich Drepper <drepper@redhat.com>
5949 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
5950 * elf/dl-support.c: Define _dl_starting_up.
5952 2000-03-30 Ulrich Drepper <drepper@redhat.com>
5954 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
5955 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
5957 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
5959 * elf/Makefile (dl-routines): Remove preinit.
5960 * elf/Versions: Remove _dl_preinit.
5961 * elf/dl-preinit.c: Removed. Move content into...
5962 * elf/dl-init.c: ...here.
5963 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
5965 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
5968 2000-03-29 Geoff Clare <gwc@unisoft.com>
5970 * stdlib/strfmon.c: Corrected problems with the code that
5971 sets default values for [np]_sep_by_space and
5972 [np]_sign_posn; also the new positive/negative alignment
5973 code from the previous patch was not quite right for
5976 * localedata/tst-fmon.data: Changes corresponding to the
5977 two sets of fixes made to stdlib/strfmon.c.
5979 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
5981 * malloc/malloc.c: Declare bit flags UL so that they will not
5982 default to int size when being inverted.
5984 2000-03-29 Andreas Jaeger <aj@suse.de>
5986 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
5987 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
5989 2000-03-29 Andreas Jaeger <aj@suse.de>,
5990 Ralf Baechle <ralf@uni-koblenz.de>
5992 * Makeconfig: Introduce new variable SHARED to mark code used in
5994 * elf/dl-close.c: Use it instead of PIC.
5995 * elf/dl-load.c: Likewise.
5996 * elf/dl-open.c: Likewise.
5997 * hurd/geteuids.c: Likewise.
5998 * include/libc-symbols.h: Likewise.
5999 * include/shlib-compat.h: Likewise.
6000 * libio/freopen.c: Likewise.
6001 * linuxthreads/cancel.c: Likewise.
6002 * linuxthreads/pthread.c: Likewise.
6003 * linuxthreads/wrapsyscall.c: Likewise.
6004 * nss/nsswitch.c: Likewise.
6005 * stdio-common/vfprintf.c: Likewise.
6006 * sysdeps/arm/init-first.c: Likewise.
6007 * sysdeps/i386/init-first.c: Likewise
6008 * sysdeps/generic/init-first.c: Likewise.
6009 * sysdeps/generic/libc-start.c: Likewise.
6010 * sysdeps/mips/init-first.c: Likewise.
6011 * sysdeps/powerpc/elf/libc-start.c: Likewise.
6012 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
6013 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
6014 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
6015 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6017 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
6019 2000-03-29 Andreas Jaeger <aj@suse.de>
6021 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
6022 Use D_PTR to access relocated entries in l_info.
6023 (elf_machine_rela): Likewise.
6025 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
6027 (elf_machine_rela): Likewise.
6029 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
6031 (__elf_machine_fixup_plt): Likewise.
6032 (__process_machine_rela): Likewise.
6034 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
6035 (elf_machine_rela): Likewise.
6037 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
6038 (elf_machine_rel): Likewise.
6040 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
6041 (elf_machine_fixup_plt): Likewise.
6042 (elf_machine_rela): Likewise.
6044 2000-03-29 Andreas Jaeger <aj@suse.de>
6046 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
6047 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6048 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6049 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
6050 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
6051 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
6052 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
6053 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
6054 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6055 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
6056 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
6057 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
6058 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
6059 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
6060 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6062 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
6063 macros, remove K&R prototypes.
6065 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6067 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
6068 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
6071 2000-03-30 Andreas Jaeger <aj@suse.de>
6073 * misc/sys/cdefs.h: Remove K&R support.
6075 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6077 * iconv/skeleton.c: Avoid compiling unaligned versions in some
6079 * iconv/loop.c: Likewise.
6081 2000-03-29 Bruno Haible <haible@clisp.cons.org>
6083 * iconv/loop.c (put16): Remove __const. Fix access index.
6084 (put32): Remove __const. Use uint32_t instead of uint16_t.
6085 * iconv/skeleton.c: Likewise.
6087 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
6089 * mach/Versions (libc: GLIBC_2.0)
6090 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
6091 __vm_allocate on this.
6092 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
6093 mutex- and spinlock-related symbols on this.
6094 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
6095 New version set. Lock-related symbols go here instead in this case.
6096 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
6097 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
6098 cthread_getspecific, cthread_setspecific, __libc_getspecific.
6100 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
6101 Put them here instead.
6102 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
6103 New version set. Those cthreads symbols go here instead in this case.
6104 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
6106 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6108 * elf/dl-init.c (_dl_init): We don't need to call constructors
6109 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
6111 Implement dynamic determination of constructor/destructor order in
6113 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
6114 (GLIBC_2.2): Add _dl_init.
6115 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
6116 r_duplist is not anymore allocated separately. l_initfini is and
6117 therefore free it if necessary.
6118 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
6119 malloc block. Otherwise allocate l_initfini list only.
6120 Put dependencies for the object in l_initfini list.
6121 Sort dependencies for the object to be loaded topologically.
6122 * elf/dl-fini.c: Before running the destructors sort the topologically.
6123 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
6124 call constructors instead of iterating over the pointers. Get list of
6125 objects for which to run constructors from l_initfini element. Accept
6126 argc, argv, and env as parameters and pass them to the constructors.
6127 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
6128 with size of dynamic section.
6129 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
6130 _dl_init_next and calling constructors ourself.
6131 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
6132 Take argc, argv, and env as parameters and pass them to the
6133 constructors. Rewrite to call all constructors and not iterate over
6135 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
6136 precompute l_initcount and l_preinitcount.
6137 * elf/link.h (struct link_map): Add l_ldnum member.
6138 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
6139 l_initcount, and l_preinitcount. Add l_initfini.
6140 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
6142 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
6144 * sysdeps/unix/sysv/linux/init-first.h: Removed.
6145 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
6146 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
6147 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
6148 conventions now match.
6150 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
6151 effect for shared objects. Don't emit message and call only for
6154 2000-03-29 Ulrich Drepper <drepper@redhat.com>
6156 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
6157 CSA_Z243.4-1985-1..UCS2.
6158 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
6161 2000-03-29 Andreas Jaeger <aj@suse.de>
6163 * include/unistd.h: Remove duplicate entry for __rmdir.
6164 Remove declaration of __mkdir since __mkdir is declared in
6167 * manual/creature.texi (Feature Test Macros): Fix typo, reported
6168 by Michael Deutschmann <michael@talamasca.ocis.net>.
6170 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
6171 * sysdeps/mips/fpu/fegetenv.c: Likewise.
6172 * sysdeps/mips/fpu/fesetenv.c: Likewise.
6173 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
6174 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
6176 2000-03-28 Andreas Jaeger <aj@suse.de>
6178 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
6179 declaration, the prototype is defined via bits/mathcalls.h.
6180 (__sincosf): Likewise.
6181 (__sincosl): Likewise.
6185 (__finite): Likewise.
6186 (__inline_mathcodeNP): New macro without prototype
6188 (__inline_mathcodeNP2): Likewise.
6189 (__inline_mathcodeNP3): Likewise.
6190 (__inline_mathcodeNP_): Likewise.
6191 (__inline_mathcodeNP2_): Likewise.
6192 (__inline_mathcodeNP3_): Likewise.
6193 (__inline_mathopNP): Likewise.
6194 (__inline_mathop_declNP): Likewise.
6195 (__inline_mathop_declNP_): Likewise.
6196 (__inline_mathcode_): Use __inline_mathcodeNP_.
6197 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
6198 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
6199 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
6200 (__expm1l): Don't define prototype, the prototype is defined via
6206 (__atan2l): Likewise.
6211 (__fabsl): Likewise.
6229 (__sqrtl): Likewise.
6239 2000-03-28 Ulrich Drepper <drepper@redhat.com>
6241 * Makerules: If make variable md5 is defined to yes after
6242 generating dependencies generate MD5 sum for the object.
6244 * iconv/gconv_builtin.h: Fix length in transformation definition
6247 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
6249 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
6250 allow as well reading from/writing to unaligned addresses on machines
6251 which don't support this in hardware. Use FCTNAME macro to define
6252 function name. Include the file a second time for platforms which
6253 need special unaligned handling.
6254 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
6255 to access potentially unaligned addresses. These macros are intended
6256 to be used only outside the loops.
6257 (unaligned): New definition. In case the machine can handle unaligned
6258 access define as zero. Otherwise as a variable which is initialized
6259 as nonzero in case the buffer passed in at runtime is unaligned with
6260 respect to the character set encoding involved.
6261 Call aligned or unaligned looop functions according to unaligned
6263 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
6264 of direct casting pointer to potentially handle unaligned memory
6266 * iconvdata/8bit-generic.c: Likewise.
6267 * iconvdata/ansi_x3.110.c: Likewise.
6268 * iconvdata/big5.c: Likewise.
6269 * iconvdata/euc-cn.c: Likewise.
6270 * iconvdata/euc-jp.c: Likewise.
6271 * iconvdata/euc-kr.c: Likewise.
6272 * iconvdata/euc-tw.c: Likewise.
6273 * iconvdata/gbk.c: Likewise.
6274 * iconvdata/iso-2022-cn.c: Likewise.
6275 * iconvdata/iso-2022-jp.c: Likewise.
6276 * iconvdata/iso-2022-kr.c: Likewise.
6277 * iconvdata/iso646.c: Likewise.
6278 * iconvdata/iso_6937-2.c: Likewise.
6279 * iconvdata/iso_6937.c: Likewise.
6280 * iconvdata/johab.c: Likewise.
6281 * iconvdata/sjis.c: Likewise.
6282 * iconvdata/t.61.c: Likewise.
6283 * iconvdata/uhc.c: Likewise.
6284 * iconvdata/unicode.c: Likewise.
6285 * iconvdata/utf-16.c: Likewise.
6287 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
6290 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
6291 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
6293 * malloc/mcheck.h (mcheck_check_all): Declare.
6295 * stdio-common/Makefile (tests): Add tst-obprintf.
6297 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
6299 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
6300 Declare pthread_sigmask.
6302 * csu/version.c: Add 2000 to copyright years.
6303 Remove Emacs local variables section.
6305 2000-03-23 Bruno Haible <haible@clisp.cons.org>
6307 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
6308 __gconv_transform_internal_ucs2little): Remove declarations.
6309 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
6310 __gconv_transform_internal_ucs2): Never need to bswap_16.
6311 (__gconv_transform_ucs2reverse_internal,
6312 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
6314 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
6316 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
6317 obsoleting version not being defined at all, in which case the
6318 result is always true.
6320 * Makeconfig (preprocess-versions): New canned sequence for running
6321 cpp on shlib-versions and the like.
6322 (soversions.i): Use it.
6323 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
6324 Versions.def and Versions files.
6326 2000-03-27 Ulrich Drepper <drepper@redhat.com>
6328 * stdio-common/tst-obprintf.c (main): Add another check to see
6329 obstack_printf handling all possible beginnings of the block
6330 inside an obstack chunk.
6332 * locale/programs/localedef.c: Use __malloc_initialize_hook to
6333 install mcheck handler.
6335 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
6338 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
6340 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
6342 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
6343 on [HAVE_ELF && DO_VERSIONING].
6345 2000-03-27 Ulrich Drepper <drepper@redhat.com>
6347 * stdio-common/tst-obprintf.c: New file.
6349 2000-03-26 Ulrich Drepper <drepper@redhat.com>
6351 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
6352 _IO_OVERFLOW directly instead through __overflow.
6354 * locale/programs/localedef.c (construct_output_path): If path
6355 contains a / compute the end of the directory name correctly.
6357 * include/features.h: Undef and document __USE_XOPEN2K.
6359 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
6360 whenever a function is called. Initiated by calling mcheck_pedantic
6362 * malloc/mcheck.h: Declare mcheck_pedantic.
6363 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
6364 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
6367 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
6369 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
6370 * dlfcn/dlopenold.c: Likewise.
6371 * nss/getXXbyYY_r.c: Likewise.
6372 * nss/getXXent_r.c: Likewise.
6373 * hurd/hurdinit.c: Likewise.
6374 * hurd/compat-20.c: Likewise.
6375 * libio/oldiofopen.c: Likewise.
6376 * libio/oldiofclose.c: Likewise.
6377 * libio/oldiofdopen.c: Likewise.
6378 * libio/oldfileops.c: Likewise.
6379 * libio/oldstdfiles.c: Likewise.
6380 * libio/oldiofsetpos.c: Likewise.
6381 * libio/oldiofgetpos.c: Likewise.
6382 * libio/oldiofgetpos64.c: Likewise.
6383 * libio/oldiofsetpos64.c: Likewise.
6384 * libio/oldiopopen.c: Likewise.
6385 * libio/oldpclose.c: Likewise.
6386 * libio/oldtmpfile.c: Likewise.
6387 * libio/freopen.c (freopen): Likewise.
6388 * libio/iofclose.c (_IO_new_fclose): Likewise.
6390 * sysdeps/mach/sys/reboot.h: Include <features.h>.
6391 (reboot): Declare it.
6393 * libio/Makefile (headers): Add bits/stdio-lock.h here.
6395 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
6397 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
6399 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
6400 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
6401 We need this for the sbrk decl, which can be included without Unix98.
6403 2000-03-20 Richard Henderson <rth@cygnus.com>
6405 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
6406 argument to yperr2nss is an int, not size_t.
6407 * posix/regex.c (print_partial_compiled_pattern): Cast all
6408 ptrdiff_t to long for printing.
6409 (print_compiled_pattern): Use Z for printing size_t.
6410 * posix/testfnm.c (tests): Avoid trigraphs.
6411 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
6412 Use a C comment, not an assembly comment.
6414 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
6415 of __ASSUME_32BITUIDS.
6417 2000-03-26 Ulrich Drepper <drepper@redhat.com>
6419 * libio/iofopncook.c: Remove K&R prototypes.
6421 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
6423 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
6424 an initial value of 1024 instead of RLIM_INFINITY.
6426 * Versions.def (libmachuser, libhurduser): Remove these sections,
6427 since these libraries do not presently use symbol versions.
6429 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
6430 is RLIM_INFINITY, return -1 instead.
6432 2000-03-24 Andreas Jaeger <aj@suse.de>
6434 * Makefile (postclean): Added soversions.i.
6436 2000-03-24 Scott Bambrough <scottb@netwinder.org>
6438 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
6439 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
6440 and _FPU_IEEE. Change _FPU_RESERVED.
6442 2000-03-24 Scott Bambrough <scottb@netwinder.org>
6444 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
6446 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
6448 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
6449 (gaih_inet): Remove unused duplicate variable.
6451 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
6452 Don't use __libc_sa_len, which only exists for Linux. Just handle
6453 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
6454 only flavors supported by this function anyway.
6456 2000-03-24 Geoff Clare <gwc@unisoft.com>
6458 * stdlib/strfmon.c: Corrected problems with missing signs and
6459 missing or extra spaces; allow for sign strings longer than
6460 one character; add padding to ensure positive and negative
6461 formats are aligned when a left precision is used.
6463 2000-03-26 Ulrich Drepper <drepper@redhat.com>
6465 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
6466 Patch by John Mizel <John.Mizel@msdw.com>.
6468 2000-03-25 Ulrich Drepper <drepper@redhat.com>
6470 * manual/install.texi: Remove references to crypt add-on.
6472 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
6474 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
6475 section while taking the _hurd_rlimit_lock.
6476 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
6478 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
6480 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
6483 * sysdeps/mach/hurd/if_index.c: New file.
6485 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
6486 * sysdeps/gnu/net/if.h: here.
6487 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
6488 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
6489 * sysdeps/generic/net/if.h: New file. Declares just the standard
6490 functions and `struct if_nameindex' type.
6491 * socket/Makefile (headers): Add net/if.h here.
6492 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
6493 * sysdeps/mach/hurd/Dist: Remove it here.
6494 * sysdeps/unix/sysv/linux/Dist: And here.
6495 * sysdeps/generic/if_index.c: Include <net/if.h>.
6497 2000-03-24 Andreas Jaeger <aj@suse.de>
6499 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
6500 access relocated entries in l_info.
6501 (elf_machine_got_rel): Likewise.
6502 (elf_machine_runtime_setup): Likewise.
6503 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
6504 (elf_machine_runtime_setup): Likewise.
6505 (__dl_runtime_resolve): Likewise.
6507 2000-03-23 Ulrich Drepper <drepper@redhat.com>
6509 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
6510 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
6511 according to RFC 2553.
6512 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
6513 * inet/getnameinfo.c: Likewise.
6514 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
6516 2000-03-23 Bruno Haible <haible@clisp.cons.org>
6518 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
6519 Remove no-op pointer increment.
6521 2000-03-23 Andreas Jaeger <aj@suse.de>
6523 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
6524 follow change for libio.h from 2000-03-10.
6526 2000-03-23 Andreas Jaeger <aj@suse.de>
6528 * elf/dl-addr.c: Adjust include paths for ldsodefs location
6530 * elf/dl-debug.c: Likewise.
6531 * elf/dl-deps.c: Likewise.
6532 * elf/dl-error.c: Likewise.
6533 * elf/dl-fini.c: Likewise.
6534 * elf/dl-init.c: Likewise.
6535 * elf/dl-load.c: Likewise.
6536 * elf/dl-lookup.c: Likewise.
6537 * elf/dl-minimal.c: Likewise.
6538 * elf/dl-object.c: Likewise.
6539 * elf/dl-open.c: Likewise.
6540 * elf/dl-preinit.c: Likewise.
6541 * elf/dl-profile.c: Likewise.
6542 * elf/dl-profstub.c: Likewise.
6543 * elf/dl-reloc.c: Likewise.
6544 * elf/dl-runtime.c: Likewise.
6545 * elf/dl-support.c: Likewise.
6546 * elf/dl-symbol.c: Likewise.
6547 * elf/dl-version.c: Likewise.
6548 * elf/rtld.c: Likewise.
6549 * elf/sprof.c: Likewise.
6550 * sysdeps/generic/dl-cache.c: Likewise.
6551 * sysdeps/generic/dl-origin.c: Likewise.
6552 * sysdeps/generic/dl-sysdep.c: Likewise.
6553 * sysdeps/generic/elf/backtracesyms.c: Likewise.
6554 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6555 * sysdeps/generic/libc-start.c: Likewise.
6556 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6557 * sysdeps/powerpc/dl-machine.c: Likewise.
6558 * sysdeps/powerpc/elf/libc-start.c: Likewise.
6559 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6560 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6561 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
6563 * elf/ldsodefs.h: Move file to ...
6564 * sysdeps/generic/ldsodefs.h: ... here.
6566 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
6568 * sysdeps/mips/elf/ldsodefs.h: New file.
6570 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
6572 (_dl_check_map_versions): Likewise.
6573 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6574 * elf/dl-load.c (_dl_init_paths): Likewise.
6575 (_dl_map_object): Likewise.
6576 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
6577 (elf_get_dynamic_info): Likewise.
6578 * elf/do-lookup.h (FCT): Likewise.
6579 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
6580 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6581 * elf/dl-addr.c (_dl_addr): Likewise.
6582 * elf/dl-runtime.c (profile_fixup): Likewise.
6584 * elf/dl-init.c (_dl_init_next): Likewise.
6585 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
6586 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
6587 (DISTINGUISH_LIB_VERSIONS): Likewise.
6588 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
6589 (elf_machine_rel): Likewise.
6591 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
6592 for writable dynamic section.
6594 2000-03-22 Ulrich Drepper <drepper@redhat.com>
6596 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
6597 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
6599 2000-03-22 Andreas Jaeger <aj@suse.de>
6601 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
6602 from latest Linux kernel.
6604 2000-03-21 Andreas Jaeger <aj@suse.de>
6606 * Versions.def: Add version 2.1.4.
6608 2000-03-21 Ulrich Drepper <drepper@redhat.com>
6610 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
6611 * libio/oldiofopen.c: Likewise.
6612 * libio/oldiofclose.c: Likewise.
6613 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
6615 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
6617 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
6618 indicating the first version set to obsolete the conditionalized code.
6619 (compat_symbol): New macro.
6620 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
6621 rhs be the ABI_* macro for the subsuming version. Assign increasing
6622 integer values to the ABI_* macros for supported versions.
6623 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
6624 compat_symbol macro.
6626 2000-03-21 Ulrich Drepper <drepper@redhat.com>
6628 * nscd/connections.c (nscd_run): Pretty print.
6629 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
6631 * manual/charset.texi: Fix typos. Rephrase.
6632 * manual/process.texi: Likewise.
6633 * manual/signal.texi: Likewise.
6634 Patches by Mike Coleman <mkc@kc.net>.
6636 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
6638 * libio/iofdopen.c: Likewise.
6639 * libio/iofgetpos.c: Likewise.
6640 * libio/iofgetpos64.c: Likewise.
6641 * libio/iofopen.c: Likewise.
6642 * libio/iofsetpos.c: Likewise.
6643 * libio/iofsetpos64.c: Likewise.
6644 * libio/iopopen.c: Likewise.
6645 * libio/oldiofopen.c: Likewise.
6646 * libio/pclose.c: Likewise.
6647 * sysdeps/gnu/siglist.c: Likewise.
6648 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
6650 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
6651 chance to expand VERSION_##lib##_##version.
6653 * libio/fileops.c: Use new macros from shlib-compat.h to define
6655 * libio/iofclose.c: Likewise.
6656 * libio/oldiofclose.c: Likewise.
6657 Patch by Roland McGrath <roland@frob.com>.
6659 2000-03-21 Jakub Jelinek <jakub@redhat.com>
6661 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
6662 Lay out struct sigcontext according to what really gets passed on
6664 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
6665 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
6666 (prgregset_t, prfpregset_t): Define to elf_* types.
6667 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
6668 Define to correct value.
6669 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
6671 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
6673 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
6675 * scripts/firstversions.awk: Allow multiple version sets in the
6676 "earliest version" specification, meaning that version sets in the
6677 gaps between listed versions should be folded into the earliest later
6678 version that is explicitly listed.
6679 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
6680 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
6682 2000-03-21 Ulrich Drepper <drepper@redhat.com>
6684 * iconv/gconv_builtin.c: Include <endian.h>.
6685 * iconv/gconv_builtin.h: Add UCS-BE aliases.
6686 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
6687 according to current platform.
6688 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
6689 __gconv_transform_internal_ucs2reverse, and
6690 __gconv_transform_internal_ucs4le.
6691 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
6692 __gconv_transform_ucs2reverse_internal and
6693 __gconv_transform_internal_ucs2reverse.
6694 * iconvdata/Makefile (modules): Add UNICODE.
6695 (distribute): Add unicode.c.
6696 * iconvdata/gconv-modules: Add definitions for UNICODE module.
6697 * iconvdata/unicode.c: New file.
6699 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
6700 determine byte order of input and convert accordingly.
6702 * iconvdata/utf-16.c (gconv_init): Fix typo.
6704 2000-03-20 Ulrich Drepper <drepper@redhat.com>
6706 * iconvdata/gconv-modules: Fix typo.
6708 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
6711 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
6713 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
6715 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
6717 2000-03-20 Ulrich Drepper <drepper@redhat.com>
6719 * misc/Makefile (routines): Add mincore.
6721 2000-03-20 Andreas Jaeger <aj@suse.de>
6723 * sysdeps/generic/mincore.c: New stub file.
6725 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
6726 from latest Linux kernel.
6728 2000-03-20 Ulrich Drepper <drepper@redhat.com>
6730 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
6731 _SC_GETPW_R_SIZE_MAX.
6733 2000-03-20 Richard Henderson <rth@cygnus.com>
6735 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
6738 2000-03-20 Richard Henderson <rth@cygnus.com>
6740 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
6741 of arithmetic instructions.
6743 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
6744 with the fpcr. Protect from INV exception.
6745 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
6746 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
6747 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
6749 * sysdeps/alpha/fpu/s_copysign.c: New.
6750 * sysdeps/alpha/fpu/s_copysignf.c: New.
6751 * sysdeps/alpha/fpu/s_fabs.c: New.
6752 * sysdeps/alpha/fpu/s_fabsf.c: New.
6753 * sysdeps/alpha/fpu/s_rint.c: New.
6754 * sysdeps/alpha/fpu/s_rintf.c: New.
6756 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
6758 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
6760 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
6761 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
6762 Use physical addresses not KSEG addresses.
6763 (io_system): Add PYXIS.
6764 (io): Remove hae.reg, sys, hae_shift.
6765 (stb_mb, stw_mb, stl_mb, __sethae): New.
6766 (inline_outb, inline_outw, inline_outl): Don't set hae.
6767 (inline_inb, inline_inw, inline_inl): Likewise.
6768 (dense_sethae): New null function.
6769 (struct cpuinfo_data): New.
6770 (process_cpuinfo): Use local and stack variables, not static.
6771 Move readlink check here from init_iosys.
6772 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
6774 (_hae_shift): Calculate it here.
6775 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
6776 add pciconfig_iobase.
6778 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
6780 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
6781 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
6783 * scripts/versions.awk: Fixed version renaming code to distinguish
6786 2000-03-19 Ulrich Drepper <drepper@redhat.com>
6788 * include/stdlib.h: Add prototype for __cxa_atexit.
6790 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
6791 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
6793 2000-03-17 Cristian Gafton <gafton@redhat.com>
6795 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
6796 existing rtld-installed-name.
6797 ($(rtld-installed-name)): Request libc-$(version) be installed too.
6798 replace existing rtld-installed-name using $(symbolic-link-prog).
6800 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
6802 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
6803 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
6804 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
6807 2000-03-19 Ulrich Drepper <drepper@redhat.com>
6809 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
6810 glob64. Since there is no glob64 in the LFS proposal applications
6811 can assume that glob handles LFS situations. glob64 is only needed
6812 if alternative filesystem functions are used.
6814 2000-03-19 Geoff Clare <gwc@unisoft.com>
6816 * sysdeps/generic/glob.c: Correct gl_pathc value returned
6817 when GLOB_DOOFFS is set; correct handling of patterns
6818 containing escaped wildcards (and no unescaped ones);
6819 GLOB_ERR flag was being ignored in some situations.
6821 * posix/globtest.c, posix/globtest.sh: Updated to include
6822 tests for the problems fixed by the above changes to glob.c.
6824 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
6826 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
6828 * Makeconfig (soversion.i): Use only first match for each lib.
6830 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
6832 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
6833 rather than $(sysd-dirs-done) to protect these rules.
6835 * Makerules (version-renames.def): Target removed.
6836 (Versions.all): Depend on soversions.i directly and parse it.
6838 * Makeconfig (soversions.i): New target, input-reading parts of
6839 soversions.mk generation moved here; result is a canonicalized
6840 list "LIB VERSION [SET]" for this configuration.
6841 (soversions.mk): Use that as input. Don't emit map-firstversions.
6842 * Makerules (version-renames.def): New target, generated from
6843 soversions.i with contents that was in $(map-firstversions).
6844 (Versions.all): Don't depend on soversions.mk, depend on
6845 version-renames.def instead; just cat it into the input.
6847 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
6848 for $(map-firstversions), which better handles it being empty.
6850 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
6851 supported version for libc 0.2.90.libio to GLIBC_2.2.
6853 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
6854 and use it to emit new variable `map-firstversions'.
6855 * scripts/firstversions.awk: New file.
6856 * Makerules (Versions.all): Use scripts/firstversions.awk and
6857 the $(map-firstversions) value to generate a modified versions list
6858 that includes renames in "A = B" syntax for each version set earlier
6859 than the "earliest symbol version" named in shlib-versions.
6860 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
6861 rename version set A to B in the output to the intermediate file.
6862 * scripts/abi-versions.awk: New file.
6863 * Makerules (abi-versions.h): New target, generated by that script.
6864 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
6865 * include/shlib-compat.h: New file, uses that generated header.
6867 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
6869 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
6870 after stripping # comments, and then run it through cpp.
6871 This allows things like "%ifdef FOO" based on config.h settings.
6872 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
6874 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
6875 and other errors that indicate a pseudo-receive happened, grok through
6876 the message buffer for port rights that need references fixed up.
6878 2000-03-16 Andreas Jaeger <aj@suse.de>
6880 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
6882 * sysdeps/unix/sysv/linux/madvise.c: Remove.
6884 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
6885 from latest Linux kernel.
6886 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
6888 * misc/sys/mman.h: Add prototype for mincore.
6890 2000-03-17 Ulrich Drepper <drepper@redhat.com>
6892 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
6893 entry for GLIBC_2.0 version of setrlimit.
6894 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6896 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
6898 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
6899 * nis/nss_compat/compat-initgroups.c: Likewise.
6900 * nis/nss_nis/nis-initgroups.c: Likewise.
6901 * nis/nss_nis/nis-netgrp.c: Likewise.
6902 * nis/nss_nis/nis-proto.c: Likewise.
6903 * nis/nss_nis/nis-rpc.c: Likewise.
6904 * nis/nss_nis/nis-service.c: Likewise.
6905 * nis/ypclnt.c: Likewise.
6907 2000-03-16 Andreas Jaeger <aj@suse.de>
6909 * manual/Makefile: MAKEINFO is set to `:' from configure if it
6910 doesn't exist, correct checks. Fixes PR libc/1649.
6912 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
6914 * nscd/hstcache.c: Restore correct UID.
6915 * nscd/pwdcache.c: Likewise.
6916 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
6918 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
6920 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
6921 macros for register names, in line with 2000-03-14 linux change.
6923 * sysdeps/mach/sched_yield.c: New file.
6925 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
6927 * sysdeps/generic/lockfile.c: Include <stdio.h>
6928 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
6929 case <libio.h> defined them.
6930 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
6932 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
6933 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
6935 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
6936 for more pleasing parse error.
6938 2000-03-16 Ulrich Drepper <drepper@redhat.com>
6940 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
6942 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6944 * elf/Makefile: Add rules to compile and run constload1 test.
6945 * elf/constload1.c: New file.
6946 * elf/constload2.c: New file.
6947 * elf/constload3.c: New file.
6949 2000-03-15 Ulrich Drepper <drepper@redhat.com>
6951 * sysdeps/posix/open64.c: Make __open64 weak alias.
6952 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
6953 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6954 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
6955 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6956 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
6957 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
6958 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6959 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
6960 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6961 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
6963 2000-03-14 Ulrich Drepper <drepper@redhat.com>
6965 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
6966 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
6968 2000-03-16 Mark Kettenis <kettenis@gnu.org>
6970 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
6971 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
6973 2000-03-08 Andreas Jaeger <aj@suse.de>
6975 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
6977 2000-03-14 Ulrich Drepper <drepper@redhat.com>
6979 * timezone/africa: Update from tzdata2000d.
6980 * timezone/asia: Likewise.
6981 * timezone/australasia: Likewise.
6982 * timezone/europe: Likewise.
6983 * timezone/northamerica: Likewise.
6984 * timezone/southamerica: Likewise.
6986 * po/fr.po: Update from translation team.
6987 * po/de.po: Likewise.
6989 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
6990 last parameter. Move code to add map to global scope from here...
6991 * elf/dl-open.c (dl_open_worker): ...here.
6992 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
6993 * elf/rtld.c: Adjust call to _dl_map_object_deps.
6995 * locale/programs/ld-collate.c (collate_read): Fix warning.
6997 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
6998 values and macros for register names.
7000 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
7001 returned by seek cookie function is -1.
7003 2000-03-14 Andreas Jaeger <aj@suse.de>
7005 * locale/localeconv.c (localeconv): Fix typo.
7006 Reported by Andre Charbonneau <andrec@corel.com>.
7008 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7010 * iconv/skeleton.c: Increment __invocation_counter in inner loop
7011 since modules depend on it counting the number of times the conversion
7012 function got called.
7014 * iconv/gconv_open.c: Optimize loop to setup step data structure.
7016 * iconv/gconv.h: Pretty print.
7018 2000-03-04 Ulrich Drepper <drepper@redhat.com>
7020 * posix/wordexp-test.c: Correct one of the tests added in the last
7021 change. Really get the root passwd entry to check again ~root.
7023 2000-03-10 Andreas Jaeger <aj@suse.de>
7025 * manual/filesys.texi (Working Directory): Fix last patch.
7026 Patch by Martin Buchholz <martin@xemacs.org>.
7028 2000-03-10 Andreas Jaeger <aj@suse.de>
7030 * manual/creature.texi (Feature Test Macros): Fix language.
7032 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
7034 * mach/devstream.c (devstream_write, devstream_read): New functions.
7035 (input, output): Functions removed.
7036 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
7037 using only the vanilla fopencookie interface.
7039 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
7040 as macro for __io_functions.
7041 (funcsio): Use cookie_io_functions_t type name.
7042 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
7044 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
7046 (fopencookie): Use it.
7047 * libio/libio.h: Declare _IO_cookie_init.
7048 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
7051 * libio/libio.h (__io_seek_fn): Fix second argument type
7052 to be a pointer, in line with the manual and the old stdio.
7053 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
7055 * sysdeps/generic/bits/stdio-lock.h: New file.
7056 This is a stub with #error, but that's better than no file at all.
7058 2000-03-09 Martin Buchholz <martin@xemacs.org>
7060 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
7061 * manual/message.texi (Using gettextized software): Doc Fixes.
7062 * manual/message.texi (Message Translation): Doc Fixes.
7063 * manual/filesys.texi (File Size): Doc Fixes.
7064 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
7065 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
7066 * iconv/gconv_db.c (find_derivation): Doc Fixes.
7067 * manual/install.texi: Doc Fixes.
7068 * manual/search.texi (Hash Search Function): Doc Fixes.
7069 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
7070 * FAQ.in: Doc Fixes.
7071 * config.h.in: Doc Fixes.
7072 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
7073 Doc Fixes. `allows to' is not correct English.
7075 * elf/rtld.c: Doc fixes.
7076 * manual/creature.texi (Feature Test Macros): Doc fixes.
7077 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
7079 * manual/filesys.texi (Working Directory): Check for ERANGE to
7082 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
7084 * string/argz-stringify.c (__argz_stringify): Fix loop termination
7085 conditions so as not to clobber the final '\0' when there is only one
7086 element in the vector.
7088 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
7090 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
7091 broken by 2000-02-27 change.
7093 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
7095 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
7097 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
7098 argument type, for 2000-02-22 change in signal/signal.h declaration.
7100 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
7102 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
7103 to getdirentries64 (no __), since the Linux implementation
7104 has no __ name, and there is no declaration for the __ name.
7106 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
7108 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
7109 sed regexp so as not to break directory names including /../ within.
7111 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
7112 The sysdeps/generic file is right for BSD. This file was in fact the
7113 Hurd file, but the only difference was the WNOREAP flag that was never
7114 actually implemented or used anywhere.
7116 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
7117 since AC_PATH_PROG already does it for us.
7118 (PERL): Rewrite check added in 2000-02-29 change for syntactic
7119 correctness and sh portability. I replaced the broken check
7120 with a more sensible implementation of the apparently intended
7121 semantics, which might still be questionable. Using expr causes
7122 a non-numeric value for `perl -V:apiversion` to be accepted,
7123 refusing to use only a perl that reports a number less than 5;
7124 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
7125 * configure: Regenerated.
7127 2000-03-08 Andreas Jaeger <aj@suse.de>
7129 * manual/crypt.texi: Fix paths.
7131 2000-03-07 Andreas Jaeger <aj@suse.de>
7133 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
7135 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
7138 2000-03-06 Andreas Jaeger <aj@suse.de>
7140 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
7141 in __sgn1l, otherwise g++ fails to parse this.
7142 Reported by Sean Chen <sean.chen@turbolinux.com>.
7144 2000-03-03 Geoff Keating <geoffk@cygnus.com>
7146 * configure.in: Compute sizeof-long-double.
7147 * configure: Regenerated.
7148 * config.make.in: Make sizeof-long-double available to sub-makes.
7150 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
7152 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
7155 2000-03-03 Geoff Keating <geoffk@cygnus.com>
7157 * Makeconfig (rpath-dirs): Add crypt.
7158 (all-subdirs): Remove md5crypt.
7159 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
7160 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
7161 * sysdeps/generic/crypt-entry.c: Delete.
7162 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
7163 * sysdeps/generic/crypt.h: Delete.
7164 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
7165 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
7166 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
7167 * sysdeps/generic/des_impl.c: Delete.
7168 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
7169 * crypt/sysdeps: Delete.
7170 * crypt/crypt_util.c: Don't use `patchlevel.h'.
7171 * md5-crypt/Versions: Move to crypt/.
7172 * md5-crypt/md5-crypt.c: Move to crypt/.
7173 * md5-crypt/md5.c: Move to crypt/.
7174 * md5-crypt/md5c-test.c: Move to crypt/.
7175 * md5-crypt/md5test.c: Move to crypt/.
7176 * md5-crypt: Delete.
7177 * crypt/Makefile: Adjust for new structure.
7179 2000-03-03 Paul Eggert <eggert@twinsun.com>
7181 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
7182 define to 1 if not defined.
7184 2000-03-03 Andreas Jaeger <aj@suse.de>
7186 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
7188 2000-03-03 Andreas Jaeger <aj@suse.de>
7190 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
7192 (xdr_int64_t): Correctly handle lower half.
7193 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
7195 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
7197 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
7200 2000-03-02 Andreas Jaeger <aj@suse.de>
7202 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
7205 2000-03-02 Andreas Jaeger <aj@suse.de>
7207 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
7209 2000-03-01 Andreas Jaeger <aj@suse.de>
7211 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
7212 (tests): Added tst-getdate.
7214 * time/tst-getdate.c: New file.
7216 * time/datemsk: New file, needed for tst-getdate.
7218 2000-02-29 Cristian Gafton <gafton@redhat.com>
7220 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
7222 2000-02-17 H.J. Lu <hjl@gnu.org>
7224 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
7226 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
7228 (svcudp_recv): Set up message with the new "xp_pad" field for
7230 (svcudp_reply): Support IP_PKTINFO if available.
7232 2000-03-01 Andreas Jaeger <aj@suse.de>
7234 * time/getdate.c (check_mday): Fix check for february.
7235 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
7236 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
7238 2000-03-02 Andreas Jaeger <aj@suse.de>
7240 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
7241 g++ fails to parse this.
7242 Reported by Sean Chen <sean.chen@turbolinux.com>.
7244 2000-02-28 Ulrich Drepper <drepper@redhat.com>
7246 * io/creat.c: Moved to...
7247 * sysdeps/generic/creat.c: ...here.
7248 * io/creat64.c: Moved to...
7249 * sysdeps/generic/creat64.c: ...here.
7250 * io/lockf.c: Moved to...
7251 * sysdeps/generic/lockf.c: ...here.
7253 * crypt/crypt.texi: Moved to...
7254 * manual/crypt.texi: ...here.
7255 * crypt/examples/genpass.c: Moved to...
7256 * manual/examples/genpass.c: ...here.
7257 * crypt/examples/mygenpass.c: Moved to...
7258 * manual/examples/mygenpass.c: ...here.
7259 * crypt/examples/testpass.c: Moved to...
7260 * manual/examples/testpass.c: ...here.
7262 * manual/Makefile (chapters): Add crypt.
7263 * manual/conf.texi: Add usual header for not-last chapter.
7264 * manual/crypt.texi: Add special header for last chapter.
7266 2000-02-28 Geoff Keating <geoffk@cygnus.com>
7268 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
7269 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
7270 complain if there is no crypt add-on.
7271 * crypt/configure: Removed.
7273 * crypt/crypt.texi: Update documentation of US export restrictions
7274 to match the 14 Jan 2000 regulations.
7276 2000-02-28 Geoff Keating <geoffk@cygnus.com>
7278 * crypt: New subdirectory, merged in from the crypt add-on.
7280 2000-02-28 Ulrich Drepper <drepper@redhat.com>
7282 * include/unistd.h: Add __rmdir and __mkdir prototypes.
7285 See ChangeLog.10 for earlier changes.