1 2000-09-29 Ulrich Drepper <drepper@redhat.com>
3 * elf/chroot_canon.c: Don't report a failure if the last path
4 component is not available.
5 * elf/ldconfig.c (parse_conf): Use canonicalized name when reporting
8 * elf/cache.c (print_cache): Use stat64 instead of stat.
9 * elf/ldconfig.c (chroot_stat): Likewise.
10 (create_links): Likewise.
11 (manual_link): Likewise.
12 (search_dir): Likewise.
13 * elf/readlib.c (process_file): Likewise.
15 * Makefile (install): Set LC_ALL and LANGUAGE to C before running
18 2000-09-29 Jakub Jelinek <jakub@redhat.com>
20 * elf/chroot_canon.c: New file.
21 * elf/Makefile: Build and distribute it.
22 * elf/ldconfig.h (process_file): Add real_file_name argument.
23 (chroot_canon): Add prototype.
24 * elf/ldconfig.c (cache_file): Remove const.
26 (create_links): Add real_path argument.
27 If opt_chroot, maintain both real and given filenames.
28 (manual_link): Likewise.
29 (search_dir): Likewise.
30 (parse_conf): If opt_chroot, use chroot_canon to find the real
32 (main): For -r, try to use chroot, if it fails, leave opt_chroot set
33 and use chroot_canon where appropriate to do the same as if chroot
35 * elf/readlib.c (process_file): Add real_file_name argument, pass it
38 2000-09-29 Ulrich Drepper <drepper@redhat.com>
40 * math/complex.h (_Complex): We can be more specific when _Complex
41 is defined by the compiler.
43 2000-09-29 H.J. Lu <hjl@gnu.org>
45 * sysdeps/unix/sysv/linux/ia64/dl-cache.h: New.
47 * elf/cache.c (print_entry): Replace 64bit with IA-64 in message
50 2000-09-29 Andreas Schwab <schwab@suse.de>
52 * sysdeps/unix/sysv/linux/ia64/readelflib.c: New file.
54 * elf/cache.c (print_entry): Check for FLAG_IA64_LIB64.
56 2000-09-29 Mark Kettenis <kettenis@gnu.org>
58 * sysdeps/mach/hurd/dl-sysdep.c (__access): New function. Dummy
59 implementation for use by the dynamic linker.
61 2000-09-29 Andreas Jaeger <aj@suse.de>
63 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Protect DN_* by
65 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
66 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
67 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
68 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
69 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72 2000-09-29 Andreas Jaeger <aj@suse.de>
74 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Synch with Linux
76 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
78 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
79 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
80 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83 2000-09-29 David Mosberger <davidm@hpl.hp.com>
85 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__ia64_syscall): Cleanup.
87 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Implement.
89 2000-06-10 David Mosberger <davidm@hpl.hp.com>
91 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix it so it actually
92 works: call to __sigjmp_save must be done unconditionally to
93 ensure jmp_buf is initialized properly.
95 2000-09-27 Andreas Jaeger <aj@suse.de>
97 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Synch with Linux
100 2000-09-29 Jakub Jelinek <jakub@redhat.com>
102 * nscd/nscd-client.h (NSCD_VERSION): Bump to 3.
103 Use nscd_ssize_t where appropriate.
104 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use nscd_ssize_t instead of
105 ssize_t where appropriate.
106 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
107 * nscd/hstcache.c (cache_addhst): Likewise.
108 * nscd/grpcache.c (cache_addgr): Likewise.
109 * sysdeps/generic/nscd-types.h: New file.
110 * sysdeps/alpha/nscd-types.h: New file.
112 2000-09-29 Ulrich Drepper <drepper@redhat.com>
114 * inet/getnameinfo.c (nrl_domainname): Use symbolic constant
115 INADDR_LOOPBACK instead of numeric value.
117 2000-09-28 H.J. Lu <hjl@gnu.org>
119 * sysdeps/ia64/dl-machine.h (RTLD_START): Adjust _dl_argv by
121 (ELF_MACHINE_FIXED_STACK): Removed.
123 2000-09-29 Andreas Jaeger <aj@suse.de>
125 * sysdeps/unix/sysv/linux/s390/lockf64.c: New file.
127 * sysdeps/unix/sysv/linux/s390/fcntl.c: New file.
129 * sysdeps/unix/sysv/linux/powerpc/lockf64.c: New file.
131 * sysdeps/unix/sysv/linux/powerpc/fcntl.c: New file.
133 2000-09-28 Ulrich Drepper <drepper@redhat.com>
135 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle unaligned
136 relocation also for R_ALPHA_RELATIVE.
137 Reported by Ivan Kokshaysky <ink@jurassic.park.msu.ru>.
139 2000-09-18 Bruno Haible <haible@clisp.cons.org>
141 * intl/dcigettext.c: Outside libc, use local variable names that don't
142 clash with those in libc.
143 * intl/bindtextdom.c: Likewise.
144 * intl/textdomain.c: Likewise.
146 2000-09-28 Ulrich Drepper <drepper@redhat.com>
148 * elf/ldconfig.c (parse_conf): Print full name of config dir
149 including chroot() path.
150 (main): Remove trailing / from opt_chroot string.
152 * include/features.h: Correct description of what happens if no
153 *_SOURCE macro is defined.
155 * sysdeps/posix/getaddrinfo.c (gaih_inet): Handle req->ai_socktype
156 correctly. Reported by Felix von Leitner <leitner@convergence.de>.
158 2000-09-19 H.J. Lu <hjl@gnu.org>
160 * malloc/malloc.h (__memalign_hook): Fix the parameter order.
161 * malloc/malloc.c (__memalign_hook): Likewise.
162 (memalign_hook_ini): Likewise.
164 2000-09-28 Ulrich Drepper <drepper@redhat.com>
166 * stdio-common/tmpnam.c (tmpnam): Optimize a bit.
168 * sysdeps/posix/getaddrinfo.c (gaih_local): Don't use tmpnam, use
169 underlying functions directly.
171 * sysdeps/unix/sysv/linux/bits/resource.h: Add RLIMIT_LOCKS.
172 * sysdeps/unix/sysv/linux/arm/bits/resource.h: Likewise.
173 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Likewise.
174 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
175 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: Likewise.
176 * sysdeps/unix/sysv/linux/sh/bits/resource.h: Likewise.
177 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
179 2000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
181 * sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_IPC64, only
182 define it for powerpc for kernel >= 2.4.0.
183 * sysdeps/unix/sysv/linux/msgctl.c: Test for __ASSUME_IPC64, not
185 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
186 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
187 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Sync with kernel.
188 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: New file.
189 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: New file.
190 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: New file.
192 2000-09-28 Martin Schwidefsksy <schwidefsky@de.ibm.com>
194 * sysdeps/s390/atomicity.h: Fix compare_and_swap.
196 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h
197 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
199 2000-09-28 Denis Joseph Barrow <djbarrow@de.ibm.com>
201 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from
203 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Fix ucontext structure.
205 2000-09-27 Andreas Schwab <schwab@suse.de>
207 * math/Makefile (distribute): Explicitly add the long double test
208 sources, to get them included even if long double is not supported.
210 2000-09-27 Jes Sorensen <jes@linuxcare.com>
212 * elf/soinit.c (struct object): Move definition to gccframe.h and
213 include it. Problem identified by HJ Lu.
215 * sysdeps/ia64/gccframe.h: New file. ia64 specific version of
216 struct object to be searched for frame unwind info.
217 * sysdeps/generic/gccframe.h: New file. Generic version of
218 struct object to be searched for frame unwind info.
220 2000-09-28 Ulrich Drepper <drepper@redhat.com>
222 * manual/errno.texi: Correct error text for ENXIO.
223 Reported by Jörg Schilling <schilling@fokus.gmd.de>.
225 2000-09-27 Jes Sorensen <jes@linuxcare.com>
227 * sysdeps/ia64/fpu/fsetexcptflg.c (fesetexceptflag): Set the
228 exception status bits rather than the exception disable bits.
229 Don't include math.h.
231 * sysdeps/ia64/fpu/fgetexcptflg.c (fegetexceptflag): Report the
232 status of exceptions currently raised rather than which exceptions
235 * sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Typecase to fenv_t
236 rather than unsigned long int.
238 * sysdeps/ia64/fpu/fedisblxcpt.c (fedisableexcept): Only disable
239 the exceptions actually requested by the caller and not just
240 disable all exceptions.
242 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Exceptions on
243 the ia64 are enabled by clearing the respective bits in the fpsr,
246 * sysdeps/ia64/bits/fenv.h: typedef fexcept_t and fenv_t to
247 unsigned long int rather than unsigned long to be consistent with
248 the coding conventions.
250 2000-09-20 H.J. Lu <hjl@gnu.org>
252 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Use fenv_t instead of
254 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
256 2000-09-28 Ulrich Drepper <drepper@redhat.com>
258 * string/bits/string2.h: Unify #if usage.
260 2000-09-27 Jakub Jelinek <jakub@redhat.com>
262 * math/test-fenv.c (feexcp_mask_test): If enabling all exceptions
263 and disabling underflow or overflow, disable inexact as well.
265 2000-09-26 Andreas Jaeger <aj@suse.de>
267 * sysdeps/gnu/netinet/tcp.h: Add tcp_info defines and types.
269 * sysdeps/unix/sysv/linux/sys/mount.h (enum): New flag MS_BIND.
271 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETLKW64,
272 F_GETLK64, F_SETLK64): Update from Linux-2.4.0-test9-pre4.
274 * elf/ldconfig.c (search_dir): Allow unlimited path length.
275 (create_links): Likewise.
277 2000-09-27 Ulrich Drepper <drepper@redhat.com>
279 * posix/tst-dir.c: Test a few error cases of chdir.
281 2000-09-26 Ulrich Drepper <drepper@redhat.com>
283 * math/math_private.h: Don't add long double prototypes if
284 NO_LONG_DOUBLE is defined.
286 * sysdeps/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove
288 * sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise.
289 * sysdeps/unix/i386/i586/clock_getres.c (EXTRA_CLOCK_CASES): Likewise.
291 * sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC.
293 2000-09-26 Jakub Jelinek <jakub@redhat.com>
295 * sysdeps/sparc/sparc32/bits/endian.h: Remove.
296 * sysdeps/sparc/sparc32/ieee754.h: New.
297 * sysdeps/sparc/sparc64/bits/endian.h: Move...
298 * sysdeps/sparc/bits/endian.h: ...here.
299 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Optimize.
300 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Check
301 %o1, not %o0 to see if we're parent or child. Optimize.
303 2000-09-26 Jes Sorensen <jes@linuxcare.com>
305 * sysdeps/unix/sysv/linux/ia64/fork.S: New file (based on code
307 * sysdeps/unix/sysv/linux/ia64/vfork.S: New file (based on
309 * sysdeps/unix/sysv/linux/ia64/fork.c: Deleted (obsoleted by fork.S).
311 2000-09-20 H.J. Lu <hjl@gnu.org>
313 * sysdeps/ia64/fpu/printf_fphex.c: New file.
315 * sysdeps/ia64/fpu/libm-test-ulps: New file.
317 2000-09-17 H.J. Lu <hjl@gnu.org>
319 * sysdeps/ia64/Makefile (long-double-fcts): New. Defined as yes.
321 * sysdeps/ia64/fpu/s_isinfl.c: New file. Include
322 sysdeps/i386/fpu/s_isinfl.c.
324 * sysdeps/ia64/fpu/s_isnanl.c: New file. Include
325 sysdeps/i386/fpu/s_isnanl.c.
327 * sysdeps/ia64/fpu/s_nextafterl.c: New file. Include
328 sysdeps/i386/fpu/s_nextafterl.c.
330 * sysdeps/ia64/fpu/bits/mathdef.h: New file. Copied from
331 sysdeps/i386/fpu/bits/mathdef.h.
333 2000-09-16 H.J. Lu <hjl@gnu.org>
335 * sysdeps/generic/ldsodefs.h (DL_UNMAP): New. Defined if
336 DL_UNMAP_IS_SPECIAL is not defined.
338 * sysdeps/ia64/dl-lookupcfg.h (DL_UNMAP_IS_SPECIAL): Defined.
339 (_dl_unmap): New prototype.
340 (DL_UNMAP): New. Defined as _dl_unmap.
342 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_unmap.
344 * elf/dl-close.c (_dl_close): Replace __munmap with DL_UNMAP.
346 2000-09-16 H.J. Lu <hjl@gnu.org>
348 * sysdeps/generic/ldsodefs.h (DL_LOOKUP_ADDRESS): New. Defined
349 if ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
351 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): New
353 (DL_LOOKUP_ADDRESS): New. Defined as _dl_lookup_address.
355 * sysdeps/ia64/dl-fptr.c (_dl_lookup_address): New. Lookup
356 the memory location of a function from a function descriptor.
358 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_lookup_address.
360 * elf/dl-addr.c (_dl_addr): Use DL_LOOKUP_ADDRESS to get the
363 2000-09-14 Jes Sorensen <jes@linuxcare.com>
365 * sysdeps/ia64/bits/byteswap.h (__bswap_16): Don't mark output
366 variable as input argument.
367 (__bswap_32): Likewise.
369 * sysdeps/ia64/dl-machine.h: Add missing stop bit in RTLD_START()
370 - found by Jim Wilson <wilson@cygnus.com>
372 2000-09-26 Ulrich Drepper <drepper@redhat.com>
374 * string/strxfrm.c: Only require alignment on __alignof__ (int32_t)
377 2000-09-26 Andreas Schwab <schwab@suse.de>
379 * locale/programs/ld-collate.c (collate_output): Only require
380 alignment on __alignof__ (int32_t) instead of 4.
381 * locale/loadlocale.c (_nl_load_locale): Likewise.
382 * string/strcoll.c: Likewise.
384 2000-09-26 Jes Sorensen <jes@linuxcare.com>
386 * sysdeps/ieee754/ldbl-96/e_atan2l.c (__ieee754_atan2l): Add
387 parentheses around arithmetic used in | statement to kill compiler
390 * math/math_private.h: Add prototype for __finitel.
391 (__ilogbl): Likewise.
392 (__isinfl): Likewise.
393 (__isnanl): Likewise.
395 (__copysignl): Likewise.
396 (__expm1l): Likewise.
397 (__floorl): Likewise.
398 (__frexpl): Likewise.
399 (__ldexpl): Likewise.
400 (__log1pl): Likewise.
403 (__scalbnl): Likewise.
406 (__sincosl): Likewise.
408 2000-09-26 Andreas Schwab <schwab@suse.de>
410 * sysdeps/m68k/fpu/libm-test-ulps: New file
412 2000-09-26 Ulrich Drepper <drepper@redhat.com>
414 * locale/langinfo.h (__nl_langinfo_l): Add prototype.
416 2000-09-26 Andreas Jaeger <aj@suse.de>
418 * misc/mkstemp64.c: New file.
419 * misc/Makefile (routines): Add mkstemp64.
420 * stdlib/stdlib.h: Add prototype and redirection magic.
421 * misc/Versions: Add mkstemp64.
423 2000-09-26 Thorsten Kukuk <kukuk@suse.de>
425 * nscd/dbg_log.c (dbg_log): Add missing format string.
427 2000-09-26 Ulrich Drepper <drepper@redhat.com>
429 * catgets/catgets.c (catopen): Use getenv instead of __secure_getenv
430 since we filter out the variable once.
431 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
432 * locale/newlocale.c (__newlocale): Likewise.
433 * locale/setlocale.c (setlocale): Likewise.
434 * malloc/malloc.c (ptmalloc_init): Likewise.
435 * resolv/res_hconf.c (_res_hconf_init): Likewise.
436 * resolv/res_init.c (__res_vinit): Likewise.
437 * time/tzfile.c (__tzfile_read): Likewise.
438 * sysdeps/generic/unsecvars.h: New file.
439 * elf/dl-support.c (non_dynamic_init): Use it here to remove variables.
440 * elf/rtld.c (process_envvars): Likewise.
441 * elf/Makefile (distribute): Add unsecvars.h.
443 * misc/daemon.c (daemon): Fail if !noclose and we cannot open the
444 real /dev/null device.
446 * sysdeps/generic/check_fds.c: Include device-nrs.h.
447 * sysdeps/generic/device-nrs.h: New file.
448 * sysdeps/unix/sysv/linux/device-nrs.h: New file.
449 * misc/Makefile (distribute): Add device-nrs.h.
451 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Use O_TRUNC to
452 remove possible garbage at the end of the file.
454 2000-09-25 Ulrich Drepper <drepper@redhat.com>
456 * stdio-common/tmpnam_r.c: Warn about insecure tmpnam_r.
457 * stdio-common/tmpnam.c: Warn about insecure tmpnam.
458 * stdio-common/tempnam.c: Warn about insecure tempnam.
459 * misc/mktemp.c: Warn about insecure mktemp.
461 * sysdeps/generic/check_fds.c: Check that file opened is really
463 * posix/wordexp.c (exec_comm_child): Likewise.
465 * elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW.
467 * locale/Makefile (routines): Add nl_langinfo_l.
468 * locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l.
469 * locale/nl_langinfo_l.c: New file.
470 * locale/nl_langinfo.c: Allow use of file for __nl_langinfo_l
473 2000-09-23 Bruno Haible <haible@clisp.cons.org>
475 * iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0.
476 (__gbk_to_ucs): Conditionalize private area mappings.
477 (__gbk_from_ucs4_tab9): Likewise.
478 (BODY for TO_LOOP): Likewise.
479 * iconvdata/testdata/GBK: Don't use characters not yet in Unicode.
480 * iconvdata/testdata/GBK..UTF-8: Likewise.
481 * iconvdata/tst-tables.sh: Enable GBK test.
483 2000-09-23 Bruno Haible <haible@clisp.cons.org>
485 * iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015.
486 (__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015.
487 (BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds
489 * iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA.
490 * iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015.
492 2000-09-23 Bruno Haible <haible@clisp.cons.org>
494 * iconvdata/johab.c (final_to_ucs): Fix typos.
495 (jamo_from_ucs_table): Likewise.
496 (BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges
497 0xD9E6..0xD9FE and 0xDEF2..0xDEFE.
498 (BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in
499 the range 0xD9E6..0xD9FE.
500 * iconvdata/tst-tables.sh: Enable JOHAB testing.
502 2000-09-25 Ulrich Drepper <drepper@redhat.com>
504 * iconv/gconv_conf.c (__gconv_get_path): Fix problem with relative
507 2000-09-24 Ulrich Drepper <drepper@redhat.com>
509 * libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if
510 stream is in wide mode.
512 * stdio-common/vfprintf.c (buffered_vfprintf): Orient stream.
514 2000-09-21 Bruno Haible <haible@clisp.cons.org>
516 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count
518 (INIT_PARAMS, UPDATE_PARAMS): Likewise.
520 2000-09-21 Bruno Haible <haible@clisp.cons.org>
522 * stdio-common/vfscanf.c (__vfscanf, _IO_vfscanf): Fix bugs in
523 reallocation logic for MALLOC (%as, %aS formats).
525 2000-09-24 Ulrich Drepper <drepper@redhat.com>
527 * stdio-common/vfprintf.c (process_arg): Handle %hhn.
528 Add missing case in va_arg handling for numbers.
529 * stdio-common/tst-printf.c (main): Add tests for %hhu and %hhn
531 * stdio/tst-printf.sh: Adjust expected results.
532 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
534 2000-09-20 Bruno Haible <haible@clisp.cons.org>
536 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80.
537 (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half
539 * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits
540 as equivalent to uppercase hexadecimal digits.
542 2000-09-20 Bruno Haible <haible@clisp.cons.org>
544 * iconvdata/testdata/EUC-KR..UTF8: New file.
545 * iconvdata/testdata/EUC-TW: New file.
546 * iconvdata/testdata/EUC-TW..UTF8: New file.
547 * iconvdata/testdata/EUC-JP: New file.
548 * iconvdata/testdata/EUC-JP..UTF8: New file.
549 * iconvdata/testdata/ISO-2022-JP: New file.
550 * iconvdata/testdata/ISO-2022-JP..UTF8: New file.
551 * iconvdata/testdata/ISO-2022-JP-2: New file.
552 * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file.
553 * iconvdata/testdata/ISO-2022-KR: Add a few more lines.
554 * iconvdata/testdata/ISO-2022-KR..UTF8: New file.
555 * iconvdata/testdata/ISO-2022-CN: New file.
556 * iconvdata/testdata/ISO-2022-CN..UTF8: New file.
557 * iconvdata/testdata/ISO-2022-CN-EXT: New file.
558 * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file.
559 * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2,
560 ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW.
562 2000-09-24 Andreas Jaeger <aj@suse.de>
564 * elf/ldconfig.c (add_dir): Move logic to add entry to list to new
565 function add_single_dir.
566 (add_single_dir): New function.
567 (search_dir): Use add_single_dir instead of recursing.
569 * sysdeps/generic/dl-cache.h: Include stdint.h.
570 (struct file_entry_new): Use fixed sizes for interoperability
571 between 32bit and 64bit systems, add __unused to make alignment
573 (CACHE_VERSION): Increment.
574 (struct cache_file_new): Use fixed sizes, add one more unused
575 entry to make alignment explicit.
577 2000-09-24 Ulrich Drepper <drepper@redhat.com>
579 * elf/ldconfig.c (search_dir): Make more use of d_type information.
581 2000-09-23 Ulrich Drepper <drepper@redhat.com>
583 * stdio-common/printf-parse.h (parse_one_spec): Clear
584 spec->info.i18n. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
586 2000-09-18 Mark Kettenis <kettenis@gnu.org>
588 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO):
589 #undef since we don't have msync.
591 * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int
592 constant since that is what clock_t is.
593 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
595 2000-09-11 Mark Kettenis <kettenis@gnu.org>
597 * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of
598 multiply by LOAD_SCALE.
600 2000-09-22 Jakub Jelinek <jakub@redhat.com>
602 * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW.
603 (crypt_r, setkey_r, encrypt_r): Likewise.
605 2000-09-22 Andreas Jaeger <aj@suse.de>
607 * locale/programs/repertoire.c (repertoiremap_hash): Don't specify
610 * sysdeps/alpha/fpu/libm-test-ulps: New file.
611 From Christian Iseli <chris@ludwig-alpha.unil.ch>.
613 2000-09-21 Andreas Jaeger <aj@suse.de>
615 * math/libm-test.inc (atan_test): Test for existence of function.
616 (expm1_test): Likewise.
617 (acos_test): Likewise.
618 (asin_test): Likewise.
619 (exp_test): Likewise.
620 (log10_test): Likewise.
621 (log_test): Likewise.
622 (pow_test): Likewise.
623 (sqrt_test): Likewise.
624 (cos_test): Likewise.
625 (sin_test): Likewise.
626 (tan_test): Likewise.
627 (log1p_test): Likewise.
628 (log2_test): Likewise.
630 * sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6.
632 * libio/oldiofsetpos64.c: Fix alias names.
634 2000-09-21 Martin Buchholz <martin@xemacs.org>
636 * manual/terminal.texi (Allocation): Sample code correction.
638 2000-09-20 Andreas Jaeger <aj@suse.de>
640 * iconvdata/Makefile (generated): Add tst-tables.out.
642 * intl/Makefile (generated): Add test output.
644 2000-09-19 Andreas Jaeger <aj@suse.de>
646 * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer.
647 Reported by Jens-Uwe Mager <jum@helios.de>.
649 2000-09-18 Ulrich Drepper <drepper@redhat.com>
651 * version.h (VERSION): Bump to 2.1.94.
653 * sysdeps/mips/Dist: Add fpu/fenv_libc.h.
654 * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c.
655 * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c.
656 * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h.
658 * malloc/mtrace.c (mtrace): Mark stream as close on exec.
660 2000-09-17 Bruno Haible <haible@clisp.cons.org>
662 * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the
663 range 0xD800..0xDFFF.
664 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
665 (BODY for FROM_LOOP): Likewise.
666 * iconv/gconv_simple.c (ucs2_internal_loop): Likewise.
667 (internal_ucs2_loop): Likewise.
668 (ucs2reverse_internal_loop): Likewise.
669 (internal_ucs2reverse_loop): Likewise.
671 2000-09-17 Bruno Haible <haible@clisp.cons.org>
673 * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding
676 2000-09-17 Bruno Haible <haible@clisp.cons.org>
678 * iconvdata/tst-table-from.c (main): Fix test for error on stdout.
679 * iconvdata/tst-table-to.c (main): Likewise.
681 2000-09-17 Bruno Haible <haible@clisp.cons.org>
683 * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from
685 * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration.
686 * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h".
687 (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set,
688 CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values.
689 (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3.
690 Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT.
691 (BODY for TO_LOOP): Fix usage of `set' vs. `used'. Fix typo that
692 caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643
693 plane 3. Fix shift sequences. Output announcement for SS2 and SS3
694 encodings when needed. When outputting an announcement, don't clear
695 most other announcements.
697 2000-09-17 Bruno Haible <haible@clisp.cons.org>
699 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun.
700 (BODY for TO_LOOP): Fix usage of `set' vs. `used'.
702 2000-09-14 Bruno Haible <haible@clisp.cons.org>
704 * intl/Versions: Add bind_textdomain_codeset.
706 2000-09-16 Ralf Baechle <ralf@gnu.org>
708 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare
710 (_RTLD_EPILOGUE): Reformat. Declare size of entry function.
711 (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so
712 it will even work when not loaded to the standard address.
713 (RTLD_START): Reformat. Call _dl_start in a way that is safe even
714 before the dynamic linker itself is relocated.
716 2000-09-18 Andreas Jaeger <aj@suse.de>
718 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
719 __ASSUME_32BITUIDS for MIPS.
720 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file.
721 * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h.
723 2000-09-17 H.J. Lu <hjl@gnu.org>
725 * catgets/Makefile ($(objpfx)de/libc.cat): Use
726 $(make-target-directory) instead of mkdir.
728 2000-09-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
730 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
731 __ASSUME_32BITUIDS for __powerpc__.
732 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
733 * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.
735 2000-09-17 Ulrich Drepper <drepper@redhat.com>
737 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
739 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
741 2000-09-16 Jakub Jelinek <jakub@redhat.com>
743 * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
745 * sysdeps/m68k/Implies: Likewise.
746 * sysdeps/sparc/sparc64/Implies: Likewise.
748 2000-09-16 Jakub Jelinek <jakub@redhat.com>
750 * elf/readlib.c (process_file): Don't error for stale .so links either.
752 2000-09-16 Ulrich Drepper <drepper@redhat.com>
754 * elf/dl-load.c (_dl_map_object_from_fd): Add one more
757 * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
758 Patch by Thorsten Kukuk <kukuk@suse.de>.
760 * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
762 (modules-names): Add defaultmod1 and defaultmod2.
763 Add rules to build test objects.
765 2000-09-15 Ulrich Drepper <drepper@redhat.com>
767 * wctype/wctype.h: Always include <bits/types.h>.
768 Reported by Jim Meyering <meyering@ascend.com>.
770 * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
771 * elf/dl-support.c: Likewise.
773 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
774 st_blocks member in stat and stat64 structs.
775 Patch by Bill Nottingham <notting@redhat.com>.
777 * iconvdata/tst-tables.sh: Add warning that GB18030 test might
780 * math/complex.h: Don't define _Complex macro for gcc 3. Add
781 __extension__ to _Complex_I definition since gcc warns if -pedantic.
782 * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
783 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
785 * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
786 necessary. Move includes of POSIX and Unix limits files to the end.
787 * stdlib/Makefile (tests): Add tst-limits.
788 * stdlib/tst-limits.h: New file.
790 2000-09-15 Andreas Jaeger <aj@suse.de>
792 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.
794 * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
796 2000-09-15 Jakub Jelinek <jakub@redhat.com>
798 * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
800 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
801 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
803 2000-09-15 Ulrich Drepper <drepper@redhat.com>
805 * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
807 (modules-names): Add nextmod1 and nextmod2.
808 Add rules to build and run next.
809 * elf/next.c: New file.
810 * elf/nextmod1.c: New file.
811 * elf/nextmod2.c: New file.
813 2000-09-14 Jakub Jelinek <jakub@redhat.com>
815 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
817 2000-09-15 Andreas Jaeger <aj@suse.de>
819 * sysdeps/mips/fpu/fenv_libc.h: New file.
820 * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h
821 * sysdeps/mips/fpu/fegetexcept.c: Likewise.
822 * sysdeps/mips/fpu/fedisblxcpt.c: Likewise.
824 * sysdeps/mips/fpu/feenablxcpt.c: New file.
825 * sysdeps/mips/fpu/fegetexcept.c: New file.
826 * sysdeps/mips/fpu/fedisblxcpt.c: New file.
828 2000-09-14 Ulrich Drepper <drepper@redhat.com>
830 * intl/Makefile: Avoid unnecessary test reruns.
832 * stdio-common/tst-printf.sh: Also allow output from 64-bit machines.
834 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
835 to not use sysctl(). Too many architectures have problems with it.
837 2000-09-14 Andreas Jaeger <aj@suse.de>
839 * scripts/config.sub: New version from subversions.gnu.org.
841 * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
844 2000-09-14 Jakub Jelinek <jakub@redhat.com>
846 * posix/regex.c (compile_range): Cast collseq index to unsigned char
847 to avoid accessing data before collseq.
849 * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
850 pasting strings together.
852 2000-09-14 Greg McGary <greg@mcgary.org>
854 * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in
856 * sysdeps/generic/bp-semctl.h: Likewise.
857 * sysdeps/generic/bp-start.h: Likewise.
858 * sysdeps/generic/bp-sym.h: Likewise.
859 * sysdeps/generic/bp-thunks.h: Likewise. Include <stdio.h> to get
862 2000-09-13 Ulrich Drepper <drepper@redhat.com>
864 * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
867 * elf/elf.h: Add missing official relocations.
869 * libio/stdio.h: Define __FILE if __need___FILE is defined.
870 * stdio/stdio.h: Likewise.
871 * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
872 * include/stdio.h: Handle __need___FILE like __need_FILE.
873 * include/wchar.h: Use __FILE instead of FILE.
874 * libio/fwprintf.c: Include <stdio.h> for FILE definition.
875 * libio/fwscanf.c: Likewise.
876 * libio/getwc.c: Likewise.
878 * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
879 * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
880 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
882 * assert/assert.h: Update comment header about ISO C section.
883 * math/complex.h: Likewise.
884 * ctype/ctype.h: Likewise.
885 * include/errno.h: Likewise.
886 * include/limits.h: Likewise.
887 * locale/locale.h: Likewise.
888 * math/math.h: Likewise.
889 * setjmp/setjmp.h: Likewise.
890 * signal/signal.h: Likewise.
891 * stdio/stdio.h: Likewise.
892 * libio/stdio.h: Likewise.
893 * stdlib/stdlib.h: Likewise.
894 * string/string.h: Likewise.
895 * time/time.h: Likewise.
896 * wcsmbs/wchar.h: Likewise.
897 * wctype/wctype.h: Likewise.
898 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
900 2000-09-13 Andreas Jaeger <aj@suse.de>
902 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
904 * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
905 * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
906 Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
908 2000-09-13 Ulrich Drepper <drepper@redhat.com>
910 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
911 constant since this is what clock_t is.
912 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
913 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
914 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
915 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
917 * time/time.h: Don't defined clockid_t and timer_t unless POSIX
918 definitions are requested.
920 2000-09-13 Andreas Jaeger <aj@suse.de>
922 * shlib-versions: libBrokenLocale needs minimal version for ia64,
923 sparc64 and sh to synch with libc.
925 2000-09-13 Ulrich Drepper <drepper@redhat.com>
927 * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
928 (distribute): Add iso-2022-cn-ext.c.
929 Add definitions to compile the new module.
930 * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
931 * iconvdata/iso-2022-cn-ext.c: New file.
932 * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
933 ucs4_from_isoir165. Increment input pointer if successful.
935 * csu/Makefile: Work around a gcc bug when creating csu-dummies.
937 * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
939 2000-09-01 Jes Sorensen <jes@linuxcare.com>
941 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
942 __syscall_getdents64 wrapper.
944 * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
946 2000-09-12 Ulrich Drepper <drepper@redhat.com>
948 * iconvdata/gb18030.c: Many many changes. Make consistent with
949 charmap and with itself.
950 * iconvdata/tst-tables.sh: Test GB18030.
952 2000-09-11 Ulrich Drepper <drepper@redhat.com>
954 * iconv/skeleton.c: Fix last patch, add missing parameter to
955 unaligned function call.
957 2000-09-10 Bruno Haible <haible@clisp.cons.org>
959 * locale/programs/ld-collate.c (collate_read): Fix typo in handling
962 2000-09-11 Bruno Haible <haible@clisp.cons.org>
964 * locale/programs/ld-collate.c (collate_read): Always initialize
967 2000-09-10 Bruno Haible <haible@clisp.cons.org>
969 * locale/programs/ld-collate.c (collate_finish): Upper bound for
970 ruleidx is 128, not 256.
972 2000-09-11 Ulrich Drepper <drepper@redhat.com>
974 * locale/programs/ld-collate.c (collate_read): Correct check for
975 already inserted entries.
977 2000-09-10 Bruno Haible <haible@clisp.cons.org>
979 * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
982 2000-09-10 Bruno Haible <haible@clisp.cons.org>
984 * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
985 MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
987 2000-09-10 Bruno Haible <haible@clisp.cons.org>
989 * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
992 2000-09-10 Bruno Haible <haible@clisp.cons.org>
994 * iconvdata/utf-7.c: New file.
995 * iconvdata/gconv-modules (UTF-7): New module entries.
996 * iconvdata/Makefile (modules): Add UTF-7.
997 (distribute): Add utf-7.c.
998 * iconvdata/testdata/UTF-7: New file.
999 * iconvdata/testdata/UTF-7..UTF8: New file.
1000 * iconvdata/TESTS (UTF-7): New entry.
1001 * iconvdata/run-iconv-test.sh: Fix confusing output.
1003 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1005 * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
1007 2000-09-10 David S. Miller <davem@redhat.com>
1009 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
1010 frame pointer offset for non-fast path.
1012 2000-09-10 Ulrich Drepper <drepper@redhat.com>
1014 * locale/programs/3level.h (*_init): Initialize level1, level2,
1016 (*_add): Remove a few unnecessary conditionals.
1018 2000-09-05 Wolfram Gloger <wg@malloc.de>
1020 * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
1021 ensure usability of mutex as an `in use' flag.
1023 2000-09-10 Ulrich Drepper <drepper@redhat.com>
1025 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
1027 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
1028 ugly GMON_WEAK_START hack.
1029 Patch by Philip Blundell <philb@gnu.org>.
1031 * sysdeps/i386/i486/bits/string.h: Pretty printing.
1033 2000-09-09 Ulrich Drepper <drepper@redhat.com>
1035 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
1036 and PPC_ICBI asm for broken compilers.
1037 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1039 2000-09-09 Andreas Jaeger <aj@suse.de>
1041 * manual/message.texi (Advanced gettext functions): Fix typo.
1043 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
1046 2000-09-09 Ulrich Drepper <drepper@redhat.com>
1048 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
1050 * sysdeps/ia64/memccpy.S: Likewise.
1051 Patches by Jim Wilson <wilson@redhat.com>.
1053 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
1054 before trying to read /proc.
1055 Patch by Matt Wilson <msw@redhat.com>.
1056 * include/sys/utsname.h: Declare __uname.
1057 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
1058 * sysdeps/mach/hurd/uname.c: Likewise.
1059 * sysdeps/unix/syscalls.list: Likewise.
1061 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
1064 2000-09-08 Ulrich Drepper <drepper@redhat.com>
1066 * posix/getopt.c (_getopt_internal): When long_only is set always
1067 recognize conflicts just like before.
1069 2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1071 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
1073 2000-09-08 Greg McGary <greg@mcgary.org>
1075 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
1076 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
1077 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
1079 2000-09-08 Andreas Jaeger <aj@suse.de>
1081 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
1083 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
1085 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
1086 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
1087 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
1089 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1091 * iconvdata/tst-tables.sh: Enable EUC-KR test.
1093 * elf/dl-load.c (lose): Decrement _nl_loaded.
1094 (_dl_map_object_from_fd): Don't try to dlopen executables.
1096 * iconvdata/tst-tables.sh: Actually return with an error if
1097 something goes wrong.
1098 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
1099 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
1101 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
1103 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
1104 * iconvdata/tst-table-from.c: Include <string.h>.
1105 (try): Correct cast in iconv call.
1107 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
1109 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
1110 (sysdep_routines): Remove dl-start.
1111 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1113 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
1115 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
1116 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
1118 2000-09-06 Andreas Schwab <schwab@suse.de>
1120 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
1122 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1124 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
1126 * scripts/config.sub: Strip out -unknown for Linux targets.
1127 Patch by Scott Bambrough <scottb@netwinder.org>.
1129 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
1132 2000-09-07 Andreas Jaeger <aj@suse.de>
1134 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
1136 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
1139 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
1141 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
1142 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
1144 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
1146 * stdlib/tst-bsearch.c (main): Add more test cases.
1148 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
1149 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1150 Reported by GOTO Masanori <gotom@debian.or.jp>.
1152 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1154 * posix/Makefile (tests): Add tst-dir.
1155 (tst-dir-ARGS): New variable.
1156 * posix/tst-dir.c: New file.
1158 2000-09-07 Andreas Jaeger <aj@suse.de>
1160 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
1163 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
1165 2000-09-06 Ulrich Drepper <drepper@redhat.com>
1167 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
1168 use the hack with tryopen_o_directory to determine at runtime
1170 * sysdeps/unix/sysv/linux/opendir.c: New file.
1171 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1172 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
1174 * catgets/Depend: New file. Add intl.
1175 * catgets/Makefile (tests): Add tst-catgets.
1176 (generated): Remove de.msg.
1177 (generated-dirs): Add de.
1178 Add dependency if tst-catgets output on de/libc.cat.
1179 * catgets/tst-catgets.c: New file.
1181 * po/ja.po: New file.
1182 * po/el.po: Update from translation team.
1184 * wcsmbs/Depend: New file.
1185 * wcsmbs/Makefile (tests): Add tst-btowc.
1186 (tst-btowc-ENV): Define.
1187 * wcsmbs/tst-btowc.c: New file.
1189 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
1190 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
1192 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
1194 * stdlib/Makefile (tests): Add tst-bsearch.
1195 * stdlib/tst-bsearch.c: New file.
1197 * posix/getopt.c (_getopt_internal): Don't recognize an option
1198 name as ambiguous if it's a prefix for more than one name but the
1199 other struct option values are identical.
1201 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
1202 Don't depend on visual inspection of the output file to recognize
1204 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
1206 2000-09-06 Andreas Jaeger <aj@suse.de>
1208 * sysdeps/alpha/soft-fp/Dist: New file.
1209 * sysdeps/i386/soft-fp/Dist: New file.
1210 * sysdeps/mips/mips64/soft-fp/Dist: New file.
1211 * sysdeps/mips/soft-fp/Dist: New file.
1212 * sysdeps/powerpc/soft-fp/Dist: New file.
1213 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
1214 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
1216 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
1217 Use sysdep_routines instead of routines to fix make dist failure.
1218 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
1220 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
1222 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
1223 sysdep_headers instead of headers for make dist.
1225 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
1228 2000-09-06 Andreas Schwab <schwab@suse.de>
1230 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
1232 2000-09-06 Andreas Jaeger <aj@suse.de>
1234 * soft-fp/Makefile (distribute): Remove ChangeLog.
1236 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
1237 sysdep_routines instead of routines for make dist.
1239 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1241 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
1242 compatibility check for old stream and call _IO_wide in doubt.
1243 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
1244 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
1245 needed tst for such an old structure and don't do anything.
1246 * libio/freopen.c: Remove declaration of _IO_stdin_used.
1248 2000-09-06 Andreas Jaeger <aj@suse.de>
1250 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
1251 sysdep-dl-routines and sysdep_routines instead of rtld-routines
1254 * soft-fp/ChangeLog: Merged with this file.
1256 2000-06-13 Ulrich Drepper <drepper@redhat.com>
1258 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
1260 * soft-fp/Makefile (distribute): Add the math functions, too.
1262 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
1264 2000-03-03 Geoff Keating <geoffk@cygnus.com>
1266 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
1269 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
1270 * soft-fp/sysdeps/powerpc/q_*: New files.
1272 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1274 * stdio-common/vfprintf.c (process_string_arg): Handle precision
1275 in wide char case correctly. Don't allocate too long temporary
1276 strings with alloca.
1278 * stdio-common/Makefile (tests): Add tst-swprintf.
1279 (tst-swprintf-ENV): New variable.
1280 * stdio-common/tst-swprintf.c: New file.
1282 2000-09-05 Andreas Jaeger <aj@suse.de>
1284 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
1285 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
1286 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1288 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1290 * configure.in: Strip out "unknown" from configuration names.
1292 2000-09-05 Andreas Jaeger <aj@suse.de>
1294 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
1296 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
1297 * sysdeps/sparc/sparc32/Implies: Likewise.
1298 * sysdeps/powerpc/Implies: Likewise.
1300 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
1301 * libio/oldiofgetpos64.c: Likewise.
1303 * soft-fp/Makefile (distribute): Remove configure.
1305 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
1307 * soft-fp/configure: Remove.
1309 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
1310 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
1312 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
1313 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
1315 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
1316 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
1318 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
1319 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
1321 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
1322 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
1324 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
1325 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
1327 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
1328 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
1330 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
1331 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
1333 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
1334 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
1336 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
1337 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
1339 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
1340 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
1342 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
1343 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
1345 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
1346 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
1348 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
1349 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
1351 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
1352 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
1354 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
1355 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
1357 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
1358 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
1360 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
1361 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
1363 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
1364 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
1366 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
1367 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
1369 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
1370 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
1372 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
1373 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
1375 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
1376 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
1378 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
1379 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
1381 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
1382 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
1384 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
1385 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
1387 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
1388 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
1390 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
1391 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
1393 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
1394 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
1396 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
1397 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
1399 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
1400 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
1402 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
1403 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
1405 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
1406 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
1408 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
1409 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
1411 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
1412 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
1414 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
1415 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
1417 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
1418 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
1420 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
1421 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
1423 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
1424 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
1426 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
1427 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
1429 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
1430 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
1432 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
1433 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
1435 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
1436 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
1438 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
1439 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
1441 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
1442 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
1444 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
1445 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
1447 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
1448 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
1450 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
1451 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
1453 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
1454 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
1456 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
1457 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
1459 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
1460 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
1462 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
1463 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
1465 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
1466 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
1468 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
1469 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
1471 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
1472 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
1474 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
1475 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
1477 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
1478 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
1480 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
1481 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
1483 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
1484 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
1486 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
1487 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
1489 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
1490 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
1492 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
1493 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
1495 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
1496 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
1498 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
1499 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
1501 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
1502 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
1504 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
1505 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
1507 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
1508 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
1510 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
1511 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
1513 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
1514 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
1516 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
1517 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
1519 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
1520 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
1522 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
1523 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
1525 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
1526 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
1528 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
1529 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
1531 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
1532 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
1534 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
1535 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
1537 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
1538 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
1540 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
1541 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
1543 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
1544 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
1546 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
1547 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
1549 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
1550 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
1552 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
1553 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
1555 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
1556 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
1558 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
1559 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
1561 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
1562 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
1564 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
1565 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
1567 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
1568 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
1570 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
1571 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
1573 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
1574 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
1576 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
1577 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
1579 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
1580 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
1582 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
1583 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
1585 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
1586 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
1588 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
1589 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
1591 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
1592 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
1594 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
1595 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
1597 * soft-fp/sysdeps/powerpc/Versions: Move from here...
1598 * sysdeps/powerpc/soft-fp/Versions: ... to here.
1600 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
1601 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
1603 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
1604 change symbol version.
1605 * libio/oldiofgetpos64.c: Likewise.
1606 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
1608 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
1610 Reported by dyky@kondara.org, closes PR libc/1886.
1612 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
1615 2000-09-04 Ulrich Drepper <drepper@redhat.com>
1617 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
1618 script when ^C is hit.
1620 * locale/programs/localedef.c (construct_output_path): Correct
1621 computation of endp after asprintf.
1622 * locale/programs/locfile.c (write_locale_data): Don't add extra
1625 2000-09-05 Andreas Jaeger <aj@suse.de>
1627 * scripts/config.guess: New upstream version.
1628 * scripts/config.sub: Likewise.
1629 * manual/texinfo.tex: Likewise.
1631 2000-09-04 Andreas Schwab <schwab@suse.de>
1633 * elf/Makefile (all-dl-routines): New variable.
1634 (elide-routines.os): Use it instead of $(dl-routines).
1635 (all-rtld-routines): New variable.
1636 (extra-objs): Use it instead of $(rtld-routines).
1637 ($(objpfx)dl-allobjs.os): Likewise.
1638 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
1639 sysdep-dl-routines and sysdep_routines instead of rtld-routines
1642 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1644 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
1645 Set fname to NULL if the module wasn't found.
1647 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1649 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
1650 true if trans->name already ends in ".so".
1652 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1654 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
1656 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
1657 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
1658 (__gconv_release_shlib): Change return type to void.
1659 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
1660 step->__counter here.
1661 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
1662 if the reference is zero.
1663 (release_step): New function.
1664 (gen_steps): Always initialize the __counter to 1. Use release_step.
1665 Don't call the destructor on the step whose initializer failed.
1666 (increment_counter): Use release_step. Don't normally run destructors
1668 (__gconv_close_transform): Use release_step.
1670 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1672 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
1673 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
1675 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1677 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
1678 If the first byte is 0x8E, don't ask for 4 bytes until it has been
1679 verified that the second byte is valid. Leave it to cns11643_to_ucs4
1680 to check for incomplete input.
1681 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
1682 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
1683 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
1684 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
1686 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
1687 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
1688 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
1689 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
1692 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1694 * iconv/gconv_db.c (find_derivation): Always use the least-cost
1697 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1699 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
1702 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1704 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
1705 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
1708 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1710 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
1712 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1714 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
1716 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1718 * iconvdata/tst-tables.sh: New file.
1719 * iconvdata/tst-table.sh: New file.
1720 * iconvdata/tst-table-from.c: New file.
1721 * iconvdata/tst-table-to.c: New file.
1722 * iconvdata/tst-table-charmap.sh: New file.
1723 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
1724 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
1725 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
1726 ISIRI-3342.irreversible, SJIS.irreversible.
1727 (tests): Add dependency on tst-tables.out.
1728 (tst-tables.out, tst-tables-clean): New rules.
1729 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
1730 * iconvdata/ISIRI-3342.irreversible: New file.
1731 * iconvdata/EUC-JP.irreversible: New file.
1732 * iconvdata/SJIS.irreversible: New file.
1734 2000-09-04 Ulrich Drepper <drepper@redhat.com>
1736 * manual/locale.texi (General Numeric): Update description of
1737 representation of the grouping information in the locale data.
1738 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
1740 2000-09-04 Andreas Jaeger <aj@suse.de>
1742 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
1743 * iconv/iconv_prog.c (options): Fix typo.
1744 Reported by dyky@kondara.org, closes PR libc/1885.
1746 2000-09-04 Andreas Jaeger <aj@suse.de>
1748 * sysdeps/generic/fegetenv.c: It's __fegetenv.
1749 Reported by Rob Levin <lilo@transvirtual.com>.
1751 2000-09-03 Ulrich Drepper <drepper@redhat.com>
1753 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
1754 to the typedefs of __timezone_ptr_t.
1755 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
1757 2000-09-02 Jakub Jelinek <jakub@redhat.com>
1759 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
1762 2000-09-01 H.J. Lu <hjl@gnu.org>
1764 * Makeconfig (built-program-cmd): Don't use the dynamic linker
1765 to run a binary if it is in $(tests-static).
1767 * Rules (binaries-static): Add $(tests-static).
1769 2000-09-02 Andreas Jaeger <aj@suse.de>
1771 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
1773 * libio/fmemopen.c (fmemopen_close): Revert one part of last
1776 2000-09-01 Ulrich Drepper <drepper@redhat.com>
1778 * iconvdata/big5hkscs.c: Regenerated from charmap.
1779 * iconvdata/testdata/BIG5HKSCS: Regenerated.
1780 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
1782 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
1783 statement. General cleanup.
1785 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1787 * wctype/wcfuncs.c (iswblank): New function.
1788 * wctype/wcfuncs_l.c (__iswblank_l): New function.
1789 * wctype/wcextra.c: Remove file.
1790 * wctype/wcextra_l.c: Remove file.
1791 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
1793 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1795 * locale/programs/ld-collate.c (collate_output): Remove redundant
1797 * string/strcoll.c: Likewise.
1798 * string/strxfrm.c: Include assert.h. Add assert calls like in
1801 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1803 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
1804 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
1805 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
1806 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
1807 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
1808 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
1809 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
1810 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
1811 _NL_CTYPE_GAP5/6 respectively.
1813 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
1814 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
1815 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
1816 Don't initialize __ctype_names and __ctype_width.
1817 * wctype/cname-lookup.h: Remove file.
1818 * wctype/Makefile (distribute): Remove cname-lookup.h.
1819 * wctype/wchar-lookup.h: Include stdint.h.
1820 * wctype/wctype.c (__wctype): Assume new locale format.
1821 * wctype/wctype_l.c (__wctype_l): Likewise.
1822 * wctype/iswctype.c: Don't include cname-lookup.h.
1823 (__iswctype): Assume new locale format.
1824 * wctype/iswctype_l.c: Don't include cname-lookup.h.
1825 (__iswctype_l): Assume new locale format.
1826 * wctype/wctrans.c: Don't include ctype.h.
1827 (wctrans): Assume new locale format.
1828 * wctype/wctrans_l.c (__wctrans_l): Likewise.
1829 * wctype/towctrans.c: Don't include cname-lookup.h.
1830 (__towctrans): Assume new locale format.
1831 * wctype/towctrans_l.c: Don't include cname-lookup.h.
1832 (__towctrans_l): Assume new locale format.
1833 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
1834 localeinfo.h instead.
1835 (__NO_WCTYPE): Remove unused macro.
1836 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
1838 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
1839 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
1840 (towlower, towupper): Likewise.
1841 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
1842 localeinfo.h instead.
1843 (__NO_WCTYPE): Remove unused macro.
1844 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
1845 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
1846 __iswxdigit_l): Assume new locale format.
1847 (__towlower_l, __towupper_l): Likewise.
1848 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
1849 (__ctype32_b): Remove declaration.
1850 (internal_wcwidth): Assume new locale format.
1851 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
1852 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
1853 to map32_b, rename width_3level to width.
1854 (ctype_output): Always create new locale format. Don't emit
1855 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
1856 (allocate_arrays): Always create new locale format.
1858 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
1859 * locale/weightwc.h (findidx): Assume new locale format.
1860 * string/strcoll.c (wcscoll): Remove local variables size, layers,
1862 * string/strxfrm.c (wcsxfrm): Likewise.
1863 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
1864 local variable collseq to 'const char *'.
1865 (SUFFIX): Don't use, don't undefine.
1866 * posix/fnmatch.c: Remove SUFFIX definition.
1867 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
1868 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
1869 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
1870 (collate_finish): Always create new locale format. Remove local
1871 variables min_total, act_size.
1872 (collate_output): Always create new locale format. Remove local
1873 variables table_size, names, tablewc. Rename tablewc_3level to
1876 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1878 * locale/programs/ld-collate.c (obstack_int32_grow,
1879 obstack_int32_grow_fast): New inline functions.
1880 (output_weightwc, collate_output): Use them where possible.
1882 2000-09-01 Ulrich Drepper <drepper@redhat.com>
1884 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
1885 patch (_mode -> _flags).
1887 * libio/Makefile (headers): Add stdio_ext.h.
1888 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
1889 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
1890 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
1891 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
1892 __fsetlocking, and _flushlbf.
1893 * libio/__fbufsize.c: New file.
1894 * libio/__flbf.c: New file.
1895 * libio/__fpending.c: New file.
1896 * libio/__fpurge.c: New file.
1897 * libio/__freadable.c: New file.
1898 * libio/__freading.c: New file.
1899 * libio/__fsetlocking.c: New file.
1900 * libio/__fwritable.c: New file.
1901 * libio/__fwriting.c: New file.
1902 * libio/stdio_ext.h: New file.
1903 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
1904 * libio/libio.h (_IO_USER_LOCK): Define.
1905 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
1906 test _IO_USER_LOCK flag first.
1908 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
1911 2000-09-01 Andreas Jaeger <aj@suse.de>
1913 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
1915 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
1917 2000-08-31 Ulrich Drepper <drepper@redhat.com>
1919 * math/Makefile (tests): Add tst-defintions.
1920 * math/tst-definitions.c: New file.
1922 * stdlib/Makefile (headers): Add bits/wchar.h.
1923 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
1924 * sysdeps/generic/bits/wchar.h: New file.
1925 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
1926 file to define WCHAR_MIN and WCHAR_MAX.
1927 Change UINT*8_MAX and UIN*16_MAX value to type int.
1928 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
1929 file to define WCHAR_MIN and WCHAR_MAX.
1930 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
1932 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
1933 * sysdeps/generic/bits/mathdef.h: Likewise.
1934 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1935 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1936 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
1937 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
1938 * locale/locale.h (struct lconv): Add __ prefix to the new members
1940 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
1941 imaxdiv optimizations.
1942 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
1943 * sysdeps/wordsize-64/ldiv.c: Likewise.
1944 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
1946 * sysdeps/generic/bits/fenv.h: Likewise.
1947 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
1948 * sysdeps/ia64/bits/fenv.h: Likewise.
1949 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
1950 * sysdeps/mips/bits/fenv.h: Likewise.
1951 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
1952 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
1953 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1955 * inet/rcmd.c: Use *stat64 instead of *stat internally.
1956 * inet/ruserpass.c: Likewise.
1957 * catgets/open_catalog.c: Likewise.
1958 * intl/loadmsgcat.c: Likewise.
1959 * io/getdirname.c: Likewise.
1960 * locale/loadlocale.c: Likewise.
1961 * misc/getusershell.c: Likewise.
1962 * stdlib/canonicalize.c: Likewise.
1963 * sysdeps/posix/euidaccess.c: Likewise.
1964 * sysdeps/posix/isfdtype.c: Likewise.
1965 * sysdeps/posix/posix_fallocate.c: Likewise.
1966 * sysdeps/posix/tempname.c: Likewise.
1967 * sysdeps/unix/grantpt.c: Likewise.
1968 * sysdeps/unix/opendir.c: Likewise.
1969 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
1970 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
1971 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1972 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
1973 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1974 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1975 * sysvipc/ftok.c: Likewise.
1976 * time/getdate.c: Likewise.
1978 * time/getdate.c: Add extra access test.
1980 2000-08-31 Ulrich Drepper <drepper@redhat.com>
1982 * version.h (VERSION): Bump to 2.1.93.
1984 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
1985 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
1987 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
1988 Make this a new rule depending on tst-gettext.out and run mtrace.
1989 * intl/tst-gettext.c: Call mtrace.
1990 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
1992 * elf/dl-reloc.c: Add a few more __builtin_expect.
1994 * configure.in: Remove --with-gettext option.
1996 * intl/dcigettext.c (free_mem): Correct freeing of
1997 _nl_domain_bindings list.
1999 * sysdeps/generic/setenv.c (free_mem): New function. Free all
2002 * intl/locale.alias: Add aliases for bokmal and nynorsk.
2004 * locale/iso-639.def: Fix 639-1 code for Bokmal.
2006 * stdio-common/itoa-digits.c: Move upper digits to...
2007 * stdio-common/itoa-udigits.c: ...here. New file.
2008 * stdio-common/Makefile (routines): Add itoa-udigits.
2010 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
2011 relocate ld.so don't add supprt for relocations which should not
2014 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
2015 __secure_getenv. Instead test __libc_enable_secure once.
2017 * io/pwd.c (main): Provide a good example, use *_unlocked function.
2019 2000-08-30 Ulrich Drepper <drepper@redhat.com>
2021 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
2022 whether the new record should be freed if it's a duplicate.
2023 (add_module): Adjust insert_module call.
2024 (__gconv_read_conf): Likewise.
2025 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
2027 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
2029 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
2031 * include/link.h (struct r_search_path_struct): New.
2032 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
2033 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
2035 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
2036 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
2037 added at startup time.
2038 * elf/dl-load.c: Fix memory handling. r_search_path_struct
2039 contains element to remember fact that we can free memory.
2040 (all_dirs): Renamed to _dl_all_dirs. Made global.
2041 (_dl_init_all_dirs): New variable.
2042 (fillin_rpath): Save one malloc call.
2043 (decompose_rpath): Change interface. New first parameter points to
2044 r_search_path_struct.
2045 (_dl_init_paths): Adjust for changes. Mark all memory as not
2046 deletable. Set _dl_init_all_paths value.
2047 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
2048 parameter replaced with r_search_path_struct *. Information about
2049 freeing now contained in r_search_path_struct.
2050 (_dl_map_object): Adjust for above changes.
2052 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
2054 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
2055 when adding new entries.
2057 * elf/dl-load.c (fillin_rpath): Make local copy of where string
2058 since the object being loaded can be unloaded.
2060 * iconvdata/Makefile (tests): Add tst-loading.
2061 * iconvdata/tst-loading.c: New file.
2063 2000-08-29 Bruno Haible <haible@clisp.cons.org>
2065 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
2066 When comparing a char with an int, always cast the char to
2067 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
2068 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
2070 2000-08-30 Ulrich Drepper <drepper@redhat.com>
2072 * time/strftime.c (my_strftime): Add compatibility code for use
2073 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
2075 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
2076 return 0 for success but always < 0 on failure.
2078 * nss/getXXbyYY_r.c: Define result to *result before including
2081 2000-08-30 Andreas Jaeger <aj@suse.de>
2083 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
2085 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2087 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
2089 * iconvdata/TESTS: Add BIG5HKSCS entry.
2090 * iconvdata/testdata/BIG5HKSCS: New file.
2091 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
2093 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
2096 * libio/iogetline.c: Set mode before the loop in case n==0.
2097 * libio/iogetwline.c: Likewise.
2099 2000-08-29 H.J. Lu <hjl@gnu.org>
2101 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
2103 (_IO_new_file_overflow): Likewise.
2104 * libio/genops.c (_IO_flush_all): Likewise.
2105 * libio/ioftell.c (_IO_ftell): Likewise.
2107 2000-08-29 Akira Higuchi <a@kondara.org>
2109 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
2110 and __end_fct fields of struct __gconv_step.
2111 * iconv/Makefile (tests): Add iconv-bug2.
2112 * iconv/iconv-bug2.c: New file.
2114 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
2115 instead of 'inptr - inend' to ksc5601_to_ucs4.
2117 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
2119 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
2120 character or shift sequence is found at the end of the input
2121 string, return__GCONV_INCOMPLETE_INPUT instead of
2122 __GCONV_EMPTY_INPUT.
2123 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
2124 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
2126 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
2127 __GCONV_ILLEGAL_INPUT for 8bit characters.
2129 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2131 * signal/signal.h (sigpause): Move __THROW before __asm__.
2133 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
2134 names don't match don't return.
2135 Patch by Olaf Kirch <okir@flash.lst.de>.
2137 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2139 * time/strftime.c (my_strftime): Handle # flag for %b as well.
2141 2000-08-27 H.J. Lu <hjl@gnu.org>
2143 * posix/Makefile (otherlibs): Add for building with static-nss
2146 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2148 * libio/stdio.h: Add fmemopen prototype.
2150 2000-08-25 Andreas Jaeger <aj@suse.de>
2152 * libio/Makefile (routines): Add fmemopen.
2153 (tests): Add test-fmemopen.
2154 * libio/Versions: Add fmemopen with version GLIBC_2.2.
2155 * libio/test-fmemopen.c: New file.
2156 * libio/fmemopen.c: New file.
2157 Patches by Hanno Mueller <kontakt@hanno.de>.
2159 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2161 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
2162 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
2164 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
2165 to avoid crashing statically linked applications.
2167 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2169 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
2170 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
2172 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
2173 If the result is fits in the buffer, copy only as many bytes as needed.
2175 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
2176 buffer after copying numbuf into it.
2177 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
2179 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2181 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
2182 the result. When string_len < len, don't clear the rest of the buffer.
2184 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2186 Support for new LC_COLLATE format.
2187 * locale/coll-lookup.h: New file.
2188 * locale/weightwc.h (findidx): When size == 0, call
2189 collidx_table_lookup.
2190 * wcsmbs/wcscoll.c: Include coll-lookup.h.
2191 * wcsmbs/wcsxfrm.c: Likewise.
2192 * posix/fnmatch.c: Likewise.
2193 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
2194 collseq_table_lookup.
2195 * locale/programs/3level.h: New file.
2196 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
2197 by including "3level.h".
2198 * locale/programs/ld-collate.c (wchead_table, collidx_table,
2199 collseq_table): New types, defined by including "3level.h".
2200 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
2201 (encoding_mask, encoding_byte): Remove.
2202 (utf8_encode): Use simple shifts instead.
2203 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
2204 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
2205 (collate_output): New local variable tablewc_3level. When
2206 !oldstyle_tables, set table_size to 0 and names to NULL and fill
2207 tablewc_3level instead of tablewc. Change format of TABLEWC and
2208 COLLSEQWC entries written to the file.
2209 * locale/C-collate.c (collseqwc): Change format.
2210 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
2212 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
2214 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2216 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
2217 (locale_ctype_t): New charnames_idx field.
2218 (ctype_startup): Initialize charnames_idx field.
2219 (find_idx): Speed up dramatically by using charnames_idx inverse table.
2221 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2223 * locale/C-ctype.c: Switch to new locale format.
2224 (_nl_C_LC_CTYPE_names): Remove array.
2225 (STRUCT_CTYPE_CLASS): New macro.
2226 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
2227 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
2228 New three-level tables.
2229 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
2230 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
2231 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
2232 12 class tables and 2 map tables at the end.
2233 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
2234 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
2235 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
2237 (b): Remove trailing semicolon.
2238 (__ctype_names, __ctype_width): Don't initialize.
2239 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
2241 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2243 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
2244 is guaranteed to be allocated with the same malloc() and may be
2246 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
2247 been set to empty by an earlier open_path call, don't pass it again.
2249 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2251 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
2252 we are not optimizing.
2254 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
2257 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
2259 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2261 2000-08-28 Andreas Jaeger <aj@suse.de>
2263 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
2265 2000-08-28 Mark Kettenis <kettenis@gnu.org>
2267 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
2268 getpeername. Use ISO C style function definition.
2269 (getpeername): Provide weak alias.
2270 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
2271 setrlimit. Use ISO C style function definition.
2272 (setrlimit): Provide weak alias.
2274 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
2276 * shlib-versions: Add a rule for S/390 to the libm version list.
2277 * sysdeps/s390/Versions: New file.
2278 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
2279 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
2280 * sysdeps/unix/sysv/linux/s390/Versions: New file.
2281 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
2282 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
2283 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
2284 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
2285 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
2286 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
2287 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
2288 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
2289 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
2290 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
2291 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
2292 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
2293 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
2294 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
2295 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
2297 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2299 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
2300 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
2302 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
2303 * elf/dl-close.c (_dl_close): Print debug message if object is not
2305 * elf/dl-open.c (dl_open_worked): Print message about opencount before
2306 returning to caller.
2308 * po/zh.po: Renamed to...
2309 * po/zh_TW.po: ...this.
2311 2000-08-27 Geoff Keating <geoffk@cygnus.com>
2313 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
2315 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
2316 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
2317 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
2318 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
2320 2000-08-27 Ulrich Drepper <drepper@redhat.com>
2322 * locale/programs/ld-collate.c (insert_weights): Also update
2323 backpointer of next element.
2324 (collate_read): Allow definition of new collation symbols in stage 2.
2325 Symbol after reorder-after can be UCS4 value.
2326 Allow reordering of collation symbols and elements.
2327 Do not only move reorder entry in new position. Instead call
2328 insert_weight to do this and read the weights.
2330 * locale/findlocale.c (free_mem): Add cast to avoid warning.
2332 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
2333 to determine invalid locale name.
2334 * locale/findlocale.c (_nl_find_locale): Likewise.
2336 * posix/annexc.c: Correct test for unavailable feature.
2338 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
2341 2000-08-26 Ulrich Drepper <drepper@redhat.com>
2343 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
2346 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
2347 (sysdep_routines): Add oldgetrlimit64.
2349 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
2350 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
2351 (tests): Add unload, reldep, reldep2, and reldep3.
2352 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
2354 Add rules to build and run unload, reldep, reldep2, and reldep3.
2355 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
2356 Don't create relocation dependency if it is nonzero.
2357 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
2358 can never happen here.
2359 (_dl_lookup_versioned_symbol): Add new parameter explicit.
2360 Don't create relocation dependency if it is nonzero.
2361 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
2362 stuff. This can never happen here.
2363 * sysdeps/generic/ldsodefs.h: Change prototypes.
2364 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
2365 _dl_lookup_up and _dl_lookup_versioned_symbol.
2367 * elf/dl-runtime.c (fixup): Likewise.
2368 (profile_fixup): Likewise.
2369 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
2371 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
2372 * elf/rtld.c (dl_main): Likewise.
2373 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
2374 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
2375 and pass down the caller map.
2376 (_dl_vsym): Likewise.
2377 * elf/reldep.c: New file.
2378 * elf/reldep2.c: New file.
2379 * elf/reldep3.c: New file.
2380 * elf/reldepmod1.c: New file.
2381 * elf/reldepmod2.c: New file.
2382 * elf/reldepmod3.c: New file.
2383 * elf/reldepmod4.c: New file.
2384 * elf/unload.c: New file.
2385 * elf/unloadmod.c: New file.
2387 * elf/do-lookup.h: Remove unused undef_name parameter.
2388 * elf/dl-lookup.c: Adjust callers.
2390 2000-08-25 Ulrich Drepper <drepper@redhat.com>
2392 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
2393 irreversible in recursive call of conversion function to signal that
2394 no error handling is wanted.
2395 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
2396 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
2397 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
2398 recursive error handling call, otherwise to &lirreversible. Use it
2399 for calls to conversion functions.
2400 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
2402 (ucs4_internal_loop_unaligned): Likewise.
2403 (ucs4le_internal_loop): Likewise.
2404 (ucs4le_internal_loop_unaligned): Likewise.
2406 2000-08-25 Greg McGary <greg@mcgary.org>
2408 * sysdeps/i386/memchr.S: Check high bound against chars
2410 * sysdeps/i386/memcmp.S: Likewise.
2411 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
2412 account for pointers that lie one beyond end-of-buffer.
2414 2000-08-25 Ulrich Drepper <drepper@redhat.com>
2416 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
2417 * elf/nodelete.c (fini_ran): New global variable.
2418 (do_test): Before every dlclose call clear fini_ran and test
2419 afterwards that it is not set by the destructors.
2420 * elf/nodelmod1.c: Add destructor which sets fini_ran.
2421 * elf/nodelmod2.c: Likewise.
2422 * elf/nodelmod4.c: Likewise.
2424 2000-08-21 Jes Sorensen <jes@linuxcare.com>
2426 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
2427 getrlimit to the list.
2429 2000-08-18 Jes Sorensen <jes@linuxcare.com>
2431 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
2432 long double format so use ldbl-96 instead of ldbl-128.
2434 2000-08-25 Ulrich Drepper <drepper@redhat.com>
2436 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
2437 even if bits 10 a 11 are non-zero.
2438 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
2440 * Makeconfig: Ensures the soversions.mk part of Makefile gets
2441 included before building gnu/lib-names.h
2442 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2444 * elf/dl-close.c (_dl_close): Don't run destructors of objects
2445 marked DF_1_NODELETE.
2447 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
2448 since we call sigaction in the child.
2450 2000-08-25 Andreas Jaeger <aj@suse.de>
2452 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
2455 2000-08-25 Andreas Jaeger <aj@suse.de>
2457 * manual/arith.texi (Control Functions): Clarify possible
2458 arguments. Closes PR libc/1856.
2460 2000-08-24 H.J. Lu <hjl@gnu.org>
2462 * stdio-common/Makefile (tests): Don't do it for cross compiling.
2463 * malloc/Makefile (tests): Likewise.
2465 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2467 * iconvdata/unicode.c (gconv_init): Correct test for direction.
2469 2000-08-24 Andreas Jaeger <aj@suse.de>
2471 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
2472 only if LIBGD is available.
2474 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2476 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
2477 problems with now restrict parameter types.
2478 (convaddr4to6): Likewise.
2480 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
2482 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
2483 * sysdeps/s390/fpu/feenablxcpt.c: New file.
2484 * sysdeps/s390/fpu/fegetexcept.c: New file.
2485 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
2488 2000-08-24 Andreas Jaeger <aj@suse.de>
2490 * malloc/Makefile (extra-objs): Add memusagestat.o.
2491 (generated): Added memusage and memusagestat for make clean.
2493 * libio/tst_putwc.c (do_test): Delete temporary file.
2494 Move inclusion of test-skeleton to front to have prototype for
2497 * posix/Makefile (generated): Add wordexp-tst.out.
2499 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2501 * resolv/res_hconf.c (free_mem): Remove not needed if.
2503 * time/tzset.c (free_mem): New function.
2504 * string/strsignal.c (free_mem): New function.
2505 * inet/inet_ntoa.c (free_mem): New function.
2506 * sunrpc/clnt_perr.c (free_mem): New function.
2508 2000-08-24 Andreas Jaeger <aj@suse.de>
2510 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
2511 * sysdeps/unix/sysv/syscalls.list: Likewise.
2513 * posix/unistd.h: Move internal prototypes from here ...
2514 * include/unistd.h: ... to here.
2516 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
2518 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2520 * grp/initgroups.c (initgroups): Deallocate groups array.
2521 Reported by jani.raiha@sonera.com [PR libc/1868].
2523 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
2524 * sysdeps/alpha/Dist: Likewise.
2526 2000-08-23 Ulrich Drepper <drepper@redhat.com>
2528 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
2529 destructor). Reported by Solar Designer <solar@false.com>.
2531 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
2532 avoid adding double slashes.
2534 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2536 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
2537 out of the __REDIRECT macro.
2539 2000-08-23 Ulrich Drepper <drepper@redhat.com>
2541 * stdio-common/vfscanf.c: Add %F format support.
2543 * locale/programs/ld-ctype.c (ctype_output): Make sure
2544 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
2545 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
2546 (ctype_read): Enable returning of wide character strings for reading
2547 transliteration information.
2549 2000-08-23 Andreas Jaeger <aj@suse.de>
2551 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
2552 Use static __inline instead of _EXTERN_INLINE.
2554 * misc/sys/select.h: Move prototypes of __select from here ...
2555 * include/sys/select.h: ... to here.
2557 * socket/sys/socket.h: Move prototypes of __send and __connect
2559 * include/sys/socket.h: ... to here.
2561 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
2564 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2566 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
2567 __setrlimit as strong name. Takes only 2 arguments.
2569 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
2570 takes only 2 arguments.
2572 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
2574 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
2576 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
2578 2000-08-23 Ulrich Drepper <drepper@redhat.com>
2580 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
2581 default_missing character being specified, pick the first
2584 2000-08-23 Andreas Jaeger <aj@suse.de>
2586 * include/wchar.h: Add some pure attributes.
2588 * time/time.h: Add const attribute for dysize.
2590 * include/stdlib.h: Add malloc attribute to __posix memalign.
2592 * stdlib/stdlib.h: Add some pure and malloc attributes.
2593 * wcsmbs/wchar.h: Likewise.
2595 * dirent/dirent.h: Add some pure attributes.
2596 * include/dirent.h: Likewise.
2598 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2600 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
2603 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2605 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
2606 missing buffer size checks.
2608 2000-08-23 Andreas Jaeger <aj@suse.de>
2610 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
2612 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2614 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
2615 otherwise __LINUX_KERNEL_VERSION might not be defined.
2616 (MIN): Define if not already defined.
2618 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2620 * stdio-common/vfprintf.c: Handle %F format.
2621 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
2622 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2624 * stdio-common/tstdiomisc.c: Add test for %F printf format.
2626 * po/zh.po: New file.
2628 * iconvdata/sjis.c: In conversion from UCS4, correct test for
2629 enough room in target buffer.
2630 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
2631 * iconvdata/bug-iconv1.c: New file.
2632 * iconvdata/Makefile (tests): Add bug-iconv1.
2634 * locale/iso-4217.def: Update entry for Nicaragua.
2636 2000-08-22 Mark Kettenis <kettenis@gnu.org>
2638 * hurd/hurdsig.c: Rearrange headers a bit.
2639 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
2640 when cthreads is being used.
2642 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2644 * elf/Makefile (distribute): Add dl-osinfo.h.
2645 * sysdeps/generic/dl-osinfo.h: New file.
2646 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
2647 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
2649 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
2650 only for !SHARED case. Get the code from dl-osinfo.h.
2652 * stdlib/random_r.c: Cleanups.
2653 * stdlib/tst-random.c: New file.
2654 * stdlib/Makefile (tests): Add tst-random.
2655 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
2657 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
2659 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
2660 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
2661 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
2662 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
2664 2000-08-22 Jakub Jelinek <jakub@redhat.com>
2666 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
2667 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
2668 (__syscall__sysctl): Add.
2670 2000-08-21 Andreas Jaeger <aj@suse.de>
2672 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
2674 * stdlib/tst-strtoll.c: Likewise.
2676 2000-08-21 Ulrich Drepper <drepper@redhat.com>
2678 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
2680 (__initstate_r): Set errno on error.
2681 (__random_r): Likewise.
2682 (__setstate_r): Correct offset when computing
2683 new rptr and fptr. Test for arg_state being NULL.
2684 Reported by Michael Fischer <fischer@cs.yale.edu>.
2686 * posix/regex.h: Add macro definitions to allow compiling outside
2689 * sysdeps/i370/Implies: Removed.
2690 * sysdeps/mvs/Implies: Removed.
2692 * catgets/catgets.c (catopen): Filter out env_var values with / if
2695 * locale/findlocale.c (_nl_find_locale): Move test for unusable
2696 locale name after all getenvs.
2698 * configure.in: Allow sed versions like 3.02.8.
2699 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
2701 2000-08-21 Marko Myllynen <myllynen@lut.fi>
2703 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
2705 2000-08-21 Ulrich Drepper <drepper@redhat.com>
2707 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
2708 of gethostbyname2_r call.
2710 * intl/locale.alias: Add aliases for Korean.
2712 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
2714 * sysdeps/s390/__longjmp.c: Remove unused variable result.
2715 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
2716 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
2717 * sysdeps/s390/fpu/fegetenv.c: New file.
2718 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
2719 * sysdeps/s390/fpu/feholdexcpt.c: New file.
2720 * sysdeps/s390/fpu/fenv_libc.h: New file.
2721 * sysdeps/s390/fpu/fesetenv.c: New file.
2722 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
2723 * sysdeps/s390/fpu/feupdateenv.c: New file.
2724 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
2725 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
2726 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
2727 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
2728 * sysdeps/s390/fpu/ftestexcept.c: New file.
2729 * sysdeps/s390/fpu/libm-test-ulps: New file.
2730 * sysdeps/s390/gmp-mparam.h: Add end of comment.
2731 * sysdeps/s390/initfini.c: New file.
2732 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
2733 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
2734 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
2735 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
2736 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
2737 sys/procfs.h as proposed by Mark Kettenis.
2738 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
2740 2000-08-21 Andreas Jaeger <aj@suse.de>
2742 * include/poll.h: Include include/sys/poll.h to get __poll
2745 * io/sys/poll.h: Move __poll declaration from here...
2746 * include/sys/poll.h: ...to here.
2748 * include/sys/socket.h (__getpeername): Add declaration.
2750 * include/wchar.h (__vswprintf): Add declaration.
2752 * include/stdio.h (__flockfile): Add declaration.
2753 (__funlockfile): Likewise.
2755 2000-08-20 Ulrich Drepper <drepper@redhat.com>
2757 * misc/sys/cdefs.h: Define __restrict_arr.
2758 * include/sys/time.h: Add restrict where required by AGd4.
2759 * inet/arpa/inet.h: Likewise.
2760 * io/sys/stat.h: Likewise.
2761 * io/sys/statvfs.h: Likewise.
2762 * misc/search.h: Likewise.
2763 * misc/sys/select.h: Likewise.
2764 * posix/glob.h: Likewise.
2765 * posix/regex.h: Likewise.
2766 * posix/spawn.h: Likewise.
2767 * posix/unistd.h: Likewise.
2768 * rt/aio.h: Likewise.
2769 * signal/signal.h: Likewise.
2770 * socket/sys/socket.h: Likewise.
2771 * stdlib/ucontext.h: Likewise.
2772 * streams/stropts.h: Likewise.
2773 * string/string.h: Likewise.
2774 * time/time.h: Likewise.
2775 * time/sys/time.h: Likewise.
2777 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
2778 and posix_spawnattr_setscheparam.
2780 * libio/stdio.h: Make cuserid prototype again available for all
2783 * argp/argp-help.c: Unify use of function aliases to make more compact
2785 * include/libintl.h: Likewise.
2786 * inet/rcmd.c: Likewise.
2787 * intl/dcigettext.c: Likewise.
2788 * libio/iofputws.c: Likewise.
2789 * libio/iofputws_u.c: Likewise.
2790 * libio/iogetwline.c: Likewise.
2791 * libio/swprintf.c: Likewise.
2792 * malloc/malloc.c: Likewise.
2793 * nss/digits_dots.c: Likewise.
2794 * posix/fnmatch.c: Likewise.
2795 * posix/spawn_faction_addclose.c: Likewise.
2796 * posix/spawn_faction_adddup2.c: Likewise.
2797 * posix/spawn_faction_addopen.c: Likewise.
2798 * posix/spawni.c: Likewise.
2799 * posix/wordexp.c: Likewise.
2800 * posix/spawni.c: Likewise.
2801 * resolv/res_hconf.c: Likewise.
2802 * resolv/res_init.c: Likewise.
2803 * shadow/lckpwdf.c: Likewise.
2804 * signal/sighold.c: Likewise.
2805 * signal/sigrelse.c: Likewise.
2806 * stdio-common/printf-parse.h: Likewise.
2807 * stdio-common/printf-prs.c: Likewise.
2808 * stdio-common/printf_fp.c: Likewise.
2809 * stdio-common/vfprintf.c: Likewise.
2810 * stdio-common/vfscanf.c: Likewise.
2811 * stdlib/rpmatch.c: Likewise.
2812 * sunrpc/create_xid.c: Likewise.
2813 * sunrpc/key_call.c: Likewise.
2814 * sysdeps/generic/setrlimit64.c: Likewise.
2815 * sysdeps/generic/utmp_file.c: Likewise.
2816 * sysdeps/generic/vlimit.c: Likewise.
2817 * sysdeps/posix/posix_fallocate.c: Likewise.
2818 * sysdeps/posix/posix_fallocate64.c: Likewise.
2819 * sysdeps/posix/sigpause.c: Likewise.
2820 * sysdeps/posix/sigset.c: Likewise.
2821 * sysdeps/unix/grantpt.c: Likewise.
2822 * sysdeps/unix/bsd/ualarm.c: Likewise.
2823 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
2824 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
2825 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2826 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
2827 * time/strftime.c: Likewise.
2828 * wcsmbs/wcscoll.c: Likewise.
2829 * wcsmbs/wcsxfrm.c: Likewise.
2831 * time/tst-getdate.c (main): Make error messages more human readable.
2833 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
2834 postinc/predec instruction.
2835 (_FPU_SETCW): Likewise.
2836 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2838 2000-08-20 Andreas Jaeger <aj@suse.de>
2840 * time/tst-getdate.c (main): Increase error in case of wrong
2842 Fix typo in test case.
2844 2000-08-20 Ulrich Drepper <drepper@redhat.com>
2846 * ctype/ctype.h (isblank): Make available if ISO C99.
2847 * wctype/wctype.h (iswblank): Make available if ISO C99.
2848 * math/math.h (signgam): Don't make available if ISO C99.
2849 * math/tgmath.h (tgamma): Renamed from gamma.
2850 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
2852 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
2854 * intl/plural.y (new_exp): Take number of optional parameters in
2855 second parameter. Test for correct number of parameters and free
2856 correctly in case of failure. Adjust all callers.
2857 (yylex): Allow ';' as terminator character.
2859 2000-08-19 Ulrich Drepper <drepper@redhat.com>
2861 * locale/lc-time.c (free_mem): New function. Free alt_digits and
2864 * locale/findlocale.c (free_mem): Also free here->filename.
2866 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
2868 * math/test-fenv.c (feenv_tests): Clear all exceptions before
2870 (feexcp_nomask_test): Correct printf args.
2871 (feexcp_mask_test): Likewise.
2873 2000-08-19 Andreas Jaeger <aj@suse.de>
2875 * inet/tst-gethnm.c: Include string.h to provide prototype for
2878 * malloc/mtrace.pl (usage): Inform about --help.
2880 2000-08-19 Wolfram Gloger <wg@malloc.de>
2882 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
2885 2000-08-19 Andreas Jaeger <aj@suse.de>
2887 * shlib-versions: Remove libnss_db, libdb and libdb1.
2889 2000-08-19 Jakub Jelinek <jakub@redhat.com>
2891 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
2892 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
2893 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
2894 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
2895 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
2896 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
2897 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
2898 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
2899 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
2900 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
2902 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
2903 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
2905 2000-08-18 Jakub Jelinek <jakub@redhat.com>
2907 * include/glob.h (__glob64): Add prototype.
2908 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
2909 define glob and glob_in_dir.
2910 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
2911 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
2912 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
2913 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
2914 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
2915 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
2916 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
2917 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
2919 2000-08-18 Jakub Jelinek <jakub@redhat.com>
2921 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
2923 2000-08-17 Andreas Jaeger <aj@suse.de>
2925 * math/test-fenv.c (fe_single_test): New function.
2926 (fe_env_tests): Use fe_single_test.
2927 (feenable_test): New tests for feenable/fedisable and
2929 (feexcp_mask_test): New function.
2930 (feexcp_nomask_test): New function.
2932 2000-08-19 Richard Henderson <rth@cygnus.com>
2934 * sysdeps/alpha/fpu/fenv_libc.h: New file.
2935 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
2936 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
2937 * sysdeps/alpha/fpu/fesetround.c: Likewise.
2938 * sysdeps/alpha/fpu/fegetround.c: Likewise.
2939 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
2940 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
2941 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
2942 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
2943 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
2944 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
2945 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
2946 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
2947 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
2948 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
2949 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
2950 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
2952 2000-08-19 Andreas Jaeger <aj@suse.de>
2954 * elf/constload1.c: Include <stdio.h> for puts prototype.
2956 2000-08-19 Ulrich Drepper <drepper@redhat.com>
2958 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
2959 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
2960 a dynamically loaded object remove old l_initfini list.
2961 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
2962 remove some dynamically allocated memory blocks in the dynamic
2963 loading data structures.
2964 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
2965 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
2966 Instead call _dl_check_map_versions only for the dependencies.
2967 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
2968 information of initial objects as not free-able.
2969 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
2972 * elf/filter.c: Call mtrace.
2973 * elf/restest1.c: Likewise. Close the objects.
2974 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
2977 * elf/constload1.c: Add comment explaining not freed memory.
2979 2000-08-18 Andreas Jaeger <aj@suse.de>
2981 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
2982 alignment for structs stat and stat64.
2983 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2985 2000-08-17 Ulrich Drepper <drepper@redhat.com>
2987 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
2988 handling. Patch by Richard Henderson <rth@twiddle.net>.
2990 * nss/Versions: Remove libnss_db information.
2992 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2994 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
2995 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
2996 * sysdeps/sparc/fpu/fegetexcept.c: New file.
2997 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
2999 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
3002 2000-08-17 Ulrich Drepper <drepper@redhat.com>
3004 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
3005 (_FPU_SETCW): Likewise.
3006 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3008 * stdio-common/printf_fp.c: Fix chars_needed computation.
3009 Patch by Greg McGary <greg@mcgary.org>.
3011 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3013 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
3014 _dl_loaded are NULL.
3016 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3018 * manual/arith.texi (feholdexcept): Returns 0 on success.
3020 2000-08-17 Andreas Jaeger <aj@suse.de>
3022 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
3024 Reported by Andi Kleen <ak@suse.de>.
3026 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3028 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
3029 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
3030 * sysdeps/alpha/fpu/fegetexcept.c: New file.
3032 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3034 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
3035 of buf->st_ino and kbuf->st_ino, not __st_ino.
3036 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
3037 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
3038 directive so that only linux/getdents.c is used, not some
3039 architecture specific one.
3041 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3043 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
3044 enabled, not disabled exceptions.
3045 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3046 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
3048 2000-08-17 Greg McGary <greg@mcgary.org>
3050 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
3051 from test program name when constructing suffix for $(LDLIBS-*).
3052 (bounded-thread-library): New variable.
3054 [build-shared, build-static] (libcrypt-dep): Remove variable.
3055 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
3056 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3057 * linuxthreads/Makefile (libpthread, librt): Remove variables.
3058 (librt-tests): Add variable. (tests): Use it.
3059 [build-shared, build-static]
3060 ($(addprefix $(objpfx),$(tests)),
3061 $(addprefix $(objpfx),$(librt-tests))):
3062 Consolidate individual dependencies.
3064 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
3066 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
3067 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3069 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
3071 [build-shared, build-static]
3072 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
3073 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3075 2000-08-17 Greg McGary <greg@mcgary.org>
3077 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
3078 * sysdeps/unix/make-syscalls.sh: Likewise.
3079 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3080 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3081 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3082 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
3083 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
3085 2000-08-17 Greg McGary <greg@mcgary.org>
3087 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
3088 Wrap extern symbols in BP_SYM ().
3089 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3090 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3091 * sysdeps/i386/fpu/s_remquo.S: Likewise.
3092 * sysdeps/i386/fpu/s_remquof.S: Likewise.
3093 * sysdeps/i386/fpu/s_remquol.S: Likewise.
3094 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3095 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3096 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3097 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3098 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3100 2000-08-16 Andreas Schwab <schwab@suse.de>
3102 * sysdeps/m68k/fpu/fegetexcept.c: New file.
3103 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
3104 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
3106 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3108 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
3109 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
3110 * elf/dl-support.c: Define _nl_nloaded.
3111 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
3112 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
3113 object to global list.
3114 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
3115 from _dl_loaded list.
3116 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3117 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
3120 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
3122 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
3124 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
3126 2000-08-16 Andreas Jaeger <aj@suse.de>
3128 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
3130 2000-08-15 Marko Myllynen <myllynen@lut.fi>
3132 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
3134 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3136 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
3137 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
3138 (sysdep_routines): Add oldgetrlimit64.
3139 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
3140 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3142 * include/link.h: Undo last patches. Hurd now has stat64.
3143 * elf/Makefile: Likewise.
3144 * elf/dl-load.c: Likewise.
3145 * elf/dl-misc.c: Likewise.
3146 * elf/dl-profile.c: Likewise.
3147 * sysdeps/generic/sysd-link.h: Removed.
3148 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
3150 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
3151 thread event callback function.
3152 (__aio_notify_only): Use function above.
3153 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
3155 2000-08-16 Mark Kettenis <kettenis@gnu.org>
3157 * sysdeps/mach/hurd/lseek64.c: New file.
3159 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3161 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
3163 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
3165 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
3167 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
3169 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3171 * sysdeps/mach/hurd/xstatconv.c: New file.
3172 * sysdeps/mach/hurd/fxstat64.c: New file.
3173 * sysdeps/mach/hurd/lxstat64.c: New file.
3174 * sysdeps/mach/hurd/xstat64.c: New file.
3175 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
3177 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3179 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
3180 Initialize, needed for change in common symbol handling in newer
3181 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
3183 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3185 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
3186 * elf/constload2.c: Add destructor to unload constload3.
3188 * include/link.h: Include sysd-link.h.
3189 * sysdeps/generic/sysd-link.h: New file.
3190 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
3191 * elf/Makefile (distribute): Add sysd-link.h.
3192 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
3193 types and functions directly.
3194 * elf/dl-misc.c: Likewise.
3195 * elf/dl-profile.c: Likewise.
3197 * elf/loadfail.c (main): Close all successfully loaded objects.
3199 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
3201 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
3202 there is already one.
3204 * elf/dl-close.c: Pretty print.
3206 2000-08-14 Ulrich Drepper <drepper@redhat.com>
3208 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
3209 global (with file scope). Add __libc_subfreeres function to free the
3211 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
3212 in ttyname function.
3214 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
3216 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
3218 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
3219 mapping them to /x5c and /x7e respectively.
3221 * locale/programs/ld-ctype.c: Add support for more definitions after
3224 2000-08-14 Jakub Jelinek <jakub@redhat.com>
3226 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
3227 * sysdeps/unix/sysv/linux/kernel-features.h
3228 (__ASSUME_GETDENTS64_SYSCALL): Define.
3229 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
3230 syscall if available to get d_type fields.
3231 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
3232 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
3233 __lxstat64): Export at GLIBC_2.2.
3234 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
3236 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
3237 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
3238 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
3239 getdirentries64, versionsort64): Remove.
3240 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
3241 getdirentries64, versionsort64): Remove.
3243 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3245 * posix/Makefile: Remove rules to generate glob package.
3247 * posix/Makefile (tests): Add tst-regexloc.
3248 (tst-regexloc-ENV): Add LOCPATH.
3249 * posix/tst-regexloc.c: New file.
3251 2000-08-12 Andreas Jaeger <aj@suse.de>
3253 * include/features.h (__STDC_ISO_10646__): Define.
3254 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
3256 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3258 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
3260 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
3261 for revision 6 and up).
3263 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
3265 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
3266 to get definitions of just these types.
3268 * signal/signal.h: Define thread signal handling functions also for
3271 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
3273 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3274 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
3275 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3276 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3278 * sysvipc/sys/shm.h: Define pid_t for XPG.
3280 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
3281 they are not anymore required here.
3283 * wcsmbs/wchar.h: Make the various wide char string and stream
3284 functions available for the respective XPG versions.
3286 * nss/Makefile: Remove rules to build and distribute nss_db.
3288 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
3289 * sysdeps/generic/scandir64.c: Likewise.
3290 * sysdeps/generic/versionsort64.c: Likewise.
3292 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3293 Benjamin Koznik <bkoz@redhat.com>
3295 * libio/fileops.c: Merge with libstdc++-v3.
3296 * libio/genops.c: Likewise.
3297 * libio/iofclose.c: Likewise.
3298 * libio/iofopen.c: Likewise.
3299 * libio/iofwide.c: Likewise.
3300 * libio/libio.h: Likewise.
3301 * libio/libioP.h: Likewise.
3302 * libio/stdfiles.c: Likewise.
3303 * libio/stdio.c: Likewise.
3304 * libio/wfileops.c: Likewise.
3305 * libio/wgenops.c: Likewise.
3307 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
3309 2000-08-12 Ulrich Drepper <drepper@redhat.com>
3311 * locale/programs/localedef.c: Implement --prefix option to allow
3312 writing in standard places of alternative install directories.
3314 * posix/regex.c (compile_range): Implement collation sequence
3315 handling for glibc. Use simple character ordering otherwise and
3318 2000-08-12 Mark Kettenis <kettenis@gnu.org>
3320 * sysdeps/generic/scandir64.c: Include <dirent.h>.
3322 2000-08-12 Andreas Jaeger <aj@suse.de>
3324 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
3325 __USE_FILE_OFFSET64 correctly for locking.
3326 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3328 2000-08-12 Jakub Jelinek <jakub@redhat.com>
3330 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3331 Define for 2.4.1 on sparc as well.
3332 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
3333 for F_GETLK64, F_SETLK64, and F_SETLKW64.
3334 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
3335 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
3337 2000-08-12 Ulrich Drepper <drepper@redhat.com>
3339 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
3342 2000-08-12 Andreas Jaeger <aj@suse.de>
3344 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
3345 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
3347 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
3348 mips2 for assembler.
3350 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
3351 if fnctl64 is not available for F_*LK*64.
3353 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
3355 2000-08-12 Ulrich Drepper <drepper@redhat.com>
3357 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3358 Define for 2.4.1 on x86.
3359 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
3360 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
3361 for F_GETLK64, F_SETLK64, and F_SETLKW64.
3363 * dirent/dirent.h: Define DT_WHT.
3365 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
3366 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
3367 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
3368 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
3369 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
3370 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
3372 2000-08-11 Ulrich Drepper <drepper@redhat.com>
3374 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
3375 lookup, pass pointer to array with NULL pointer [PR libc/1858].
3376 * inet/Makefile (tests): Add tst-gethnm.
3377 * inet/tst-gethnm.c: New file.
3379 * rt/aio_cancel.c: If canceling a specific request which is running
3380 *really* do nothing.
3381 * rt/aio_misc.h: Add `done' to states of a request.
3382 * rt/aio_misc.c: Add several tests for the correct state.
3383 Simplify request table memory handling.
3385 2000-08-10 Jakub Jelinek <jakub@redhat.com>
3387 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
3388 * dirent/scandir64.c: Move...
3389 * sysdeps/generic/scandir64.c: ...here.
3390 * dirent/alphasort64.c: Move...
3391 * sysdeps/generic/alphasort64.c: ...here.
3392 * dirent/versionsort64.c: Move...
3393 * sysdeps/generic/versionsort64.c: ...here.
3394 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
3395 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
3396 Export symbols at GLIBC_2.2.
3397 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
3398 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
3399 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
3400 __versionsort64): Add prototypes.
3401 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
3402 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
3404 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
3406 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
3407 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
3408 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
3409 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
3411 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
3412 Adjust for kernel-2.4.0-test6 layout.
3413 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
3414 GLIBC_2.1 and GLIBC_2.2.
3415 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
3416 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
3417 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
3418 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
3419 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
3420 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
3421 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
3422 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
3423 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
3424 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
3425 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
3426 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
3427 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
3428 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
3430 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
3431 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
3432 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
3433 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
3434 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
3435 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
3436 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
3438 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
3439 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
3441 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
3442 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
3443 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
3444 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
3445 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
3447 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
3449 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
3451 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
3452 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
3453 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
3454 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
3455 st_ino from __st_ino.
3456 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
3457 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
3458 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
3459 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
3460 set __st_ino in addition to st_ino.
3461 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
3462 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
3463 __old_getdents64 as well.
3464 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
3465 getdirentries64 and old_getdirentries64 as well.
3466 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
3467 __GETDENTS): Define.
3468 (GETDENTS64): Remove.
3469 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
3471 (GETDENTS64): Remove.
3472 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
3473 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
3474 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
3476 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
3477 __old_readdir64_r as well.
3478 * sysdeps/unix/sysv/linux/kernel-features.h: Define
3479 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
3481 2000-08-08 Jes Sorensen <jes@linuxcare.com>
3483 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
3484 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
3485 define of the kernel.
3486 Add missing __SEG_PSTKOVF definition.
3487 Adjust the padding of struct siginfo and struct sigevent to
3488 match the fact that sigval_t is 64 bit.
3490 2000-08-10 Ulrich Drepper <drepper@redhat.com>
3492 * timezone/zic.c: Update from tzcode2000f.
3493 * timezone/australasia: Update from tzdata2000f.
3494 * timezone/europe: Likewise.
3495 * timezone/southamerica: Likewise.
3496 * timezone/yearistype: Likewise.
3498 2000-08-10 Andreas Jaeger <aj@suse.de>
3500 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
3501 stat with current MIPS kernel.
3503 2000-08-01 Mark Kettenis <kettenis@gnu.org>
3505 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
3506 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
3507 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
3508 Remove the junk that's only relevant in the Linux kernel itself.
3509 Add a warning saying that this file is now obsolete, and include
3511 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
3512 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
3513 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
3514 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
3515 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
3516 and add the notice that the file is primarily there for GDB.
3517 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
3519 2000-08-09 Jakub Jelinek <jakub@redhat.com>
3521 * time/tzfile.c (__tzfile_compute): __tzstring zones
3524 2000-08-09 Jakub Jelinek <jakub@redhat.com>
3526 * resolv/resolv.h (__res_state): Surround prototype with
3527 __BEGIN_DECLS/__END_DECLS.
3528 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
3530 2000-08-04 Jes Sorensen <jes@linuxcare.com>
3532 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
3533 Make independant of asm/resource.h from the Linux kernel.
3535 2000-08-06 Bruno Haible <haible@clisp.cons.org>
3537 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
3539 2000-08-06 Bruno Haible <haible@clisp.cons.org>
3541 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
3542 * locale/Makefile (locale-CPPFLAGS): Likewise.
3544 2000-08-09 Ulrich Drepper <drepper@redhat.com>
3546 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
3549 2000-08-03 Jakub Jelinek <jakub@redhat.com>
3551 * misc/Versions (mincore): Export at GLIBC_2.2.
3553 2000-08-03 Bruno Haible <haible@clisp.cons.org>
3555 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
3557 2000-08-02 Mark Kettenis <kettenis@gnu.org>
3559 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
3560 socketpair. Made socketpair a weak alias.
3561 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
3562 __socketpair. Use S_IFIFO protocol to make pipes POSIX
3563 conforming, but fall back on the old protocol if the socket server
3565 * include/sys/socket.h: Add prototype for __socketpair.
3567 2000-08-09 Andreas Schwab <schwab@suse.de>
3569 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
3570 long long modifier is seen.
3572 * elf/nodelete.c (do_test): Remove reference to undefined member
3574 * rt/tst-aio4.c (do_test): Likewise.
3576 * configure.in: Add `-lm' when checking for libgd.
3577 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
3580 2000-08-09 Andreas Jaeger <aj@suse.de>
3582 * configure.in: Change required make versions.
3584 * manual/install.texi (Tools for Compilation): Document required
3586 (Supported Configurations): Update list of supported
3589 2000-08-08 Ulrich Drepper <drepper@redhat.com>
3591 * locale/linereader.c (get_string): Don't print an error is a string
3592 contains an unknown character.
3594 2000-08-06 Ulrich Drepper <drepper@redhat.com>
3596 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
3597 (new_symbol): Take new parameters with name of the symbol.
3599 (handle_ellipsis): Don't only allow character symbols.
3600 (collate_read): Allow string of collating elements contain invalid
3601 characters; ignore entry in this case.
3602 Handle ellipsis of collating symbols before first order_start.
3603 Allow ellipsis in state 0.
3605 2000-08-04 Ulrich Drepper <drepper@redhat.com>
3607 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
3609 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
3611 2000-08-04 Greg McGary <greg@mcgary.org>
3613 * posix/regex.c (SET_HIGH_BOUND): New macro.
3614 (MOVE_BUFFER_POINTER): Use it.
3615 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
3616 (EXTEND_BUFFER): Use it.
3618 2000-08-03 Ulrich Drepper <drepper@redhat.com>
3620 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
3621 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
3622 _wide_data but from _IO_FILE directly.
3623 * libio/iofclose.c: Likewise.
3624 * libio/wfileops.c: Likewise.
3626 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
3627 * libio/libioP.h: Change prototypes.
3629 2000-08-03 Greg McGary <greg@mcgary.org>
3631 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
3632 frame pointer early so that we save caller's frame pointer.
3633 * sysdeps/i386/elf/setjmp.S: Likewise.
3635 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
3636 * io/test-utime.c: Test passing NULL as utimbuf* arg.
3638 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
3639 (MOVE_BUFFER_POINTER): Handle high_bound properly.
3640 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
3642 2000-08-03 Ulrich Drepper <drepper@redhat.com>
3644 * iconvdata/big5.c: Updated.
3645 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
3647 2000-08-02 Ulrich Drepper <drepper@redhat.com>
3649 * Makeconfig (all-subdirs): Add conform.
3650 * conform/Makefile: Include ../Rules.
3652 * Makefile (README): Add rules to generate here as well.
3654 2000-08-02 Ulrich Drepper <drepper@redhat.com>
3656 * version.h (VERSION): Bump to 2.1.92.
3658 * sysdeps/ia64/Dist: Add _mcount.S.
3660 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
3662 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
3664 * elf/Makefile (distribute): Add missing modules.
3666 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
3668 * posix/regex.c (compile_range): Translate range start and end
3669 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
3671 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
3674 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
3676 2000-08-02 Andreas Jaeger <aj@suse.de>
3678 * elf/elf.h (EM_S390): Added.
3679 (R_390_*): New relocs for S390.
3681 * sysdeps/unix/sysv/linux/s390/Dist: New file.
3682 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
3683 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
3684 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
3685 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
3686 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3687 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
3688 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
3689 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
3690 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
3691 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
3692 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
3693 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
3694 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
3695 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
3696 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
3697 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
3698 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
3699 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
3700 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
3701 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
3702 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
3703 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
3704 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
3705 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
3706 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
3707 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
3708 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
3709 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
3710 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
3711 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
3712 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
3713 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
3714 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
3715 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
3716 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
3717 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
3718 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
3719 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
3720 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
3721 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
3722 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
3723 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
3724 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
3725 * sysdeps/s390/sysdep.h: New file.
3726 * sysdeps/s390/sys/ucontext.h: New file.
3727 * sysdeps/s390/sub_n.S: New file.
3728 * sysdeps/s390/strncpy.S: New file.
3729 * sysdeps/s390/strcpy.S: New file.
3730 * sysdeps/s390/stackinfo.h: New file.
3731 * sysdeps/s390/setjmp.S: New file.
3732 * sysdeps/s390/s390-mcount.S: New file.
3733 * sysdeps/s390/mul_1.S: New file.
3734 * sysdeps/s390/memusage.h: New file.
3735 * sysdeps/s390/memset.S: New file.
3736 * sysdeps/s390/memcpy.S: New file.
3737 * sysdeps/s390/memchr.S: New file.
3738 * sysdeps/s390/machine-gmon.h: New file.
3739 * sysdeps/s390/ldbl2mpn.c: New file.
3740 * sysdeps/s390/gmp-mparam.h: New file.
3741 * sysdeps/s390/fpu/fpu_control.h: New file.
3742 * sysdeps/s390/fpu/fesetround.c: New file.
3743 * sysdeps/s390/fpu/fegetround.c: New file.
3744 * sysdeps/s390/fpu/fclrexcpt.c: New file.
3745 * sysdeps/s390/fpu/bits/fenv.h: New file.
3746 * sysdeps/s390/ffs.c: New file.
3747 * sysdeps/s390/elf/start.S: New file.
3748 * sysdeps/s390/elf/setjmp.S: New file.
3749 * sysdeps/s390/elf/bsd-setjmp.S: New file.
3750 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
3751 * sysdeps/s390/dl-machine.h: New file.
3752 * sysdeps/s390/bzero.S: New file.
3753 * sysdeps/s390/bsd-setjmp.S: New file.
3754 * sysdeps/s390/bsd-_setjmp.S: New file.
3755 * sysdeps/s390/bits/string.h: New file.
3756 * sysdeps/s390/bits/setjmp.h: New file.
3757 * sysdeps/s390/bits/huge_val.h: New file.
3758 * sysdeps/s390/bits/endian.h: New file.
3759 * sysdeps/s390/bits/byteswap.h: New file.
3760 * sysdeps/s390/bcopy.S: New file.
3761 * sysdeps/s390/backtrace.c: New file.
3762 * sysdeps/s390/atomicity.h: New file.
3763 * sysdeps/s390/asm-syntax.h: New file.
3764 * sysdeps/s390/addmul_1.S: New file.
3765 * sysdeps/s390/add_n.S: New file.
3766 * sysdeps/s390/abort-instr.h: New file.
3767 * sysdeps/s390/__longjmp.c: New file.
3768 * sysdeps/s390/Makefile: New file.
3769 * sysdeps/s390/Implies: New file.
3770 * sysdeps/s390/Dist: New file.
3771 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
3773 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3775 Remove incompatible IPv6 extension of RPC.
3776 * sunrpc/Makefile: Undo changes.
3777 * sunrpc/rpc_main.c: Likewise.
3778 * sunrpc/rpc/clnt.h: Likewise.
3779 * sunrpc/rpc/svc.h: Likewise.
3780 * sunrpc/bindrsvprt6.c: Removed.
3781 * sunrpc/clnt_tcp6.c: Removed.
3782 * sunrpc/clnt_udp6.c: Removed.
3783 * sunrpc/svc_tcp6.c: Removed.
3784 * sunrpc/svc_udp6.c: Removed.
3786 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
3787 dgettext, and dcgettetxt.
3789 * intl/locale.alias: Update japanese aliases.
3791 * sysdeps/ia64/bits/byteswap.h: New file.
3792 Patch by Dan Pop <Dan.Pop@cern.ch>.
3794 * misc/sys/cdefs.h: Define __attribute_format_arg__.
3795 * intl/libintl.h: Use it here instead of using __attribute__ directly.
3797 2000-07-13 H.J. Lu <hjl@gnu.org>
3799 * posix/regex.c (re_max_failures): Set to 4000.
3801 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3803 * gnulib/Makefile (tests): Add tst-gcc.
3804 * gnulib/tst-gcc.c: New file.
3806 * assert/Makefile (routines): Add __assert.
3807 * assert/Versions: Export __assert for glibc 2.2.
3808 * assert/__assert.c: New file.
3809 * assert/assert.h: Declare __assert.
3811 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3813 * locale/localeinfo.h (_ISCTYPE): New macro.
3814 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
3815 LC_CTYPE locale format.
3816 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
3817 (ctype_output): Output class_b[nr] right before class_3level[nr].
3818 (allocate_arrays): Fill class_b, similarly to class_3level.
3820 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3821 Joseph S. Myers <jsm28@cam.ac.uk>
3823 * math/tgmath.h: Make standard compliant. Don't ask how.
3825 2000-07-04 H.J. Lu <hjl@gnu.org>
3827 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
3828 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
3829 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
3831 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3833 * include/features.h (_XOPEN_SOURCE): Update the explanation.
3834 (__USE_LARGEFILE): Add an explanation.
3835 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
3836 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
3838 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3840 * libio/Makefile: Enable exception handling for genops, wgenops,
3841 fileops, and wfileops.
3843 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3845 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
3846 acount that elf/rtld's main program might remove some varibales
3847 from the environment if we're trying to be secure. Move the Hurd
3848 startup data if necessary, or, if we there is no startup data,
3849 make sure the magical convention that ARGV[0] is stored just after
3850 the environment list.
3852 2000-08-01 Philip Blundell <philb@gnu.org>
3854 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
3855 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
3856 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
3857 oldsetrlimit for GLIBC_2.0.
3859 2000-08-01 Andreas Jaeger <aj@suse.de>
3861 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
3862 (LINE_PARSER): Allow any number of spaces between ip address and
3863 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
3865 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
3867 * include/netdb.h: Remove getipnodebyaddr and friends, leave
3870 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
3871 _nss_nisplus_getipnodebyname_r.
3873 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
3874 now, getipnodebyname is deprecated.
3875 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
3878 * inet/Makefile (routines): Don't build getipnodebyaddr and
3881 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
3883 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
3885 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
3887 * wctype/Makefile (distribute): Add wchar-lookup.h.
3889 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
3891 * iconvdata/Makefile (distribute): Add isiri-3342.h.
3893 2000-08-01 Andreas Schwab <schwab@suse.de>
3895 * Make-dist (dist): Resolve `..' in file names.
3897 2000-08-01 Andreas Jaeger <aj@suse.de>
3899 * stdio-common/Makefile (distribute): Remove removed files, add
3902 * Makefile (distribute): Remove include/db_185.h and db.h.
3904 * include/db_185.h: Remove, it's not needed anymore.
3905 * include/db.h: Likewise.
3907 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3909 * inet/Makefile (tests): Remove tst-ipnode.
3910 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
3913 2000-07-31 Jes Sorensen <jes@linuxcare.com>
3915 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
3916 endp statements have already been added.
3918 2000-04-18 David Mosberger <davidm@hpl.hp.com>
3920 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
3921 <sysdeps/ia64/sysdep.h>.
3923 * sysdeps/ia64/_mcount.S: New file.
3925 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
3926 __gmon_start__. Fix up extraneous whitespace.
3928 2000-01-12 H.J. Lu <hjl@gnu.org>
3930 * sysdeps/ia64/elf/initfini.c: New file.
3932 2000-07-31 Jes Sorensen <jes@linuxcare.com>
3934 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
3935 dependency between branch and ar.pfs write.
3937 2000-07-31 H.J. Lu <hjl@gnu.org>
3939 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
3940 handle the wchar_t array.
3942 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3944 * iconvdata/gb18030.c: Don't map to and from positions in ISO
3945 10646 which are not yet assigned.
3946 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
3948 2000-07-31 Andreas Jaeger <aj@suse.de>
3950 * inet/Versions: Remove getipnodebyaddr and friends from
3953 * resolv/netdb.h: Remove getipnodebyaddr and friends.
3955 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3957 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
3958 ch >= 0x81 && ch2 < 0x40 as invalid.
3960 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3962 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
3963 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
3965 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3967 * iconvdata/johab.c (BODY for TO_LOOP): After calling
3968 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
3970 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3972 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
3974 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
3976 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3978 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
3980 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3982 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
3983 (from_ucs4): Change values of U+00A4 and U+00ED.
3984 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
3986 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3988 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
3989 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
3991 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3993 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
3994 * iconvdata/isiri-3342.h: New file.
3995 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
3996 treat 0x80 as a gap.
3998 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4000 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
4001 (utf8_encode): Use simple shifts instead. Fix return value.
4003 2000-07-31 Ulrich Drepper <drepper@redhat.com>
4005 * timezone/private.h: Update from tzcode2000e.
4006 * timezone/asia: Update from tzdata2000e.
4007 * timezone/australasia: Likewise.
4008 * timezone/europe: Likewise.
4009 * timezone/northamerica: Likewise.
4010 * timezone/zone-tab: Likewise.
4012 2000-07-30 Ralf Baechle <ralf@gnu.org>
4014 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
4015 the order of struct sigaltstack members is different.
4017 2000-07-26 Philip Blundell <philb@gnu.org>
4019 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
4021 2000-07-29 Ulrich Drepper <drepper@redhat.com>
4023 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
4024 * locale/programs/ld-ctype.c: Adjust for this.
4026 * locale/programs/ld-collate.c: Add more alignment checks.
4027 * locale/string/strcoll.c: Likewise.
4029 2000-07-30 Mark Kettenis <kettenis@gnu.org>
4031 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
4032 outside USE_IN_LIBIO block.
4034 2000-07-26 Philip Blundell <philb@gnu.org>
4036 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
4037 (elf_machine_rel): Use it for out-of-range PC24 relocs.
4039 2000-07-28 Philip Blundell <philb@gnu.org>
4041 * math/test-fpucw.c: Ignore reserved bits in control word.
4043 2000-07-28 Philip Blundell <philb@gnu.org>
4045 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
4046 (ret): Redefine to PSEUDO_RET.
4047 (PSEUDO): Remove jump to syscall_error.
4049 2000-07-29 Mark Kettenis <kettenis@gnu.org>
4051 * resolv/README: Add some information about using the resolver in
4052 multi-threaded code and with C++. Spelling fixes.
4054 2000-07-29 Mark Kettenis <kettenis@gnu.org>
4056 * resolv/resolv.h (struct __sockaddr_in): Remove.
4057 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
4059 2000-07-29 Greg McGary <greg@mcgary.org>
4061 * Rules (test-bp-inputs, make-test-out): New variables.
4062 ($(objpfx)%-bp.out): New rule.
4063 ($(objpfx)%.out): Rewrite in terms of new variables.
4065 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
4066 internal function that uses vtable.
4067 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4068 * libio/vswprintf.c (_IO_vswprintf): Likewise.
4070 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
4071 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
4072 (chunk_align): Likewise.
4074 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
4075 in a way that conforms to decl, and avoids spurious bounds violation.
4077 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
4078 * sysdeps/generic/frame.h: Likewise.
4079 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
4080 around return value.
4081 (__backtrace): Qualify frame-pointer chain and return address
4082 pointers as __unbounded. Wrap bounds around variable `current'.
4083 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
4084 around return value.
4085 (catch_segfault): Qualify frame-pointer chain and return address
4086 pointers as __unbounded. Wrap bounds around variable `current'.
4087 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
4088 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
4089 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
4091 (__backtrace): Qualify frame-pointer chain and return address
4092 pointers as __unbounded. Wrap bounds around variable `current'.
4094 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
4095 * sysdeps/i386/mul_1.S: Likewise.
4096 * sysdeps/i386/submul_1.S: Likewise.
4097 * sysdeps/i386/i586/addmul_1.S: Likewise.
4098 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
4099 * sysdeps/i386/i586/submul_1.S: Likewise.
4101 2000-07-27 Andreas Jaeger <aj@suse.de>
4103 * libio/Depend: New file, libio needs localedata for tests.
4104 * posix/Depend: Likewise.
4106 2000-07-28 Ulrich Drepper <drepper@redhat.com>
4108 * stdio-common/_i18n_itoa.c: Removed.
4109 * stdio-common/_i18n_itoa.h: Removed.
4110 * stdio-common/_i18n_itowa.c: Removed.
4111 * stdio-common/_i18n_itowa.h: Removed.
4112 * stdio-common/_i18n_number.h: New file.
4113 * stdio-common/Depend: New file.
4114 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
4115 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
4116 printing. Change printing of numbers with locale specific digits to
4117 use new code in _i18n_number.h.
4118 * stdio-common/Makefile (routines): Remove _i18n_itoa and
4121 * stdio-common/bug13.c: Improve messages.
4123 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
4124 (set_class_defaults): Always search also for Uxxxx names.
4125 Detect insufficient number of outdigits.
4127 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
4129 2000-07-27 Bruno Haible <haible@clisp.cons.org>
4131 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
4132 _NL_CTYPE_MAP_NAMES.
4133 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
4134 * wctype/wcfuncs.c (towlower, towupper): Use them.
4135 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
4136 * wctype/wctrans.c (wctrans): Likewise.
4137 * wctype/wctrans_l.c (__wctrans_l): Likewise.
4139 2000-07-27 Bruno Haible <haible@clisp.cons.org>
4141 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
4142 Use the optimized version of this function outside glibc as well.
4144 2000-07-27 Jakub Jelinek <jakub@redhat.com>
4146 * locale/indigits.h (indigit_value): Correct.
4147 * locale/indigitswc.h (indigitwc_value): Correct.
4148 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
4149 conversion, add GROUP checking for it, fix GROUP number
4150 conversion with strlen(thousands) > 1.
4151 Honour width correctly in the presence of floating
4152 decimal points and thousands separators.
4153 * stdio-common/tst-sscanf.c: New test.
4154 * stdio-common/Makefile: Add it to tests.
4155 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
4156 thousands separators and group argument is non-zero.
4158 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4160 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
4161 starts at GLIBC_2.2.
4163 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4165 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
4166 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
4168 (headers): Add sys/tas.h.
4169 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
4170 GLIBC_2.2 from libc.
4171 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
4172 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
4175 2000-07-28 Andreas Jaeger <aj@suse.de>
4177 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
4179 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
4180 ($(objpfx)tst-dladdr.out): new.
4181 (tests): Add tst-dladdr.
4182 ($(objpfx)glrefmain): Use libdl.
4184 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
4187 2000-07-27 Jes Sorensen <jes@linuxcare.com>
4189 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
4190 ftruncate(64) calls.
4192 2000-07-27 Jes Sorensen <jes@linuxcare.com>
4194 * intl/tst-translit.c: Include string.h to get prototype for
4197 2000-07-27 Jes Sorensen <jes@linuxcare.com>
4199 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
4200 name and add weak alias for __fork.
4202 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
4203 & pwrite to use __libc_<name> as strong names instead of
4206 * include/sched.h: Add clone2 prototype.
4208 2000-07-26 Jes Sorensen <jes@linuxcare.com>
4210 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
4211 procedure name twice.
4213 2000-07-27 Philip Blundell <philb@gnu.org>
4215 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
4217 2000-07-27 Andreas Jaeger <aj@suse.de>
4219 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
4220 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
4221 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4222 Reported by Andi Kleen <ak@suse.de>.
4224 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
4225 (do_wait): Test requests with aio_return64.
4226 (do_test): Change callers of do_wait.
4228 2000-07-26 Andreas Jaeger <aj@suse.de>
4230 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
4231 (do_wait): Test requests with aio_return.
4232 (do_test): Change callers of do_wait.
4234 2000-07-27 Ulrich Drepper <drepper@redhat.com>
4236 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
4237 from request list. Don't do the list handling here, call
4238 __aio_remove_request.
4239 * rt/aio_misc.h: Add prototype for __aio_remove_request.
4240 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
4241 request might already be processed. Don't do the list handling
4242 here, call __aio_remove_request.
4244 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
4247 * rt/aio_misc.c: Add comment explaining why writer memory barriers
4250 2000-07-27 Greg McGary <greg@mcgary.org>
4252 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
4253 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
4254 in union init. Pass zero for ignored semnum arg to semctl.
4255 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
4257 2000-07-26 Greg McGary <greg@mcgary.org>
4259 * sysdeps/gnu/bits/msq.h: Qualify kernel's
4260 data structure pointers as __unbounded.
4261 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4262 * sysdeps/generic/bp-semctl.h: New file.
4263 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
4264 pointers as __unbounded. Check bounds of syscall args.
4265 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4266 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
4267 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4268 * sysdeps/unix/sysv/linux/semop.c: Likewise.
4269 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
4270 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4271 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
4272 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
4273 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
4274 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
4275 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
4276 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
4277 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
4278 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
4279 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
4280 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
4282 2000-07-26 Ulrich Drepper <drepper@redhat.com>
4284 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
4286 * locale/C-ctype.c: Likewise.
4287 * wcsmbs/wcsmbsload.c: Likewise.
4289 2000-07-26 Greg McGary <greg@mcgary.org>
4291 * Makeconfig (+link-bounded, link-libc-bounded,
4292 link-extra-libs-bounded): New variables.
4293 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
4294 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
4295 * Rules (tests-bp.out): New variable.
4296 (tests): Conditionally add BP tests.
4297 (binaries-bounded): Add variable and associated rule.
4298 * csu/Makefile [build-bounded] (extra-objs, install-lib):
4299 Move conditional stuff after place where condition is defined.
4301 * malloc/malloc.c (bp-checks.h): Add #include.
4302 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
4303 (_bin_at): Add unbounded version of bin_at.
4304 (IAV, chunk_alloc): Use unbounded _bin_at.
4305 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
4306 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
4307 Wrap BOUNDED_N around return value.
4308 (chunk_realloc): Adjust oldsize once.
4310 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
4311 (__ubp_memchr): Add correct decl.
4312 (_CHECK_STRING): Use __ubp_memchr.
4313 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4314 New alias for unbounded-pointer __memchr.
4315 * sysdeps/i386/memchr.S: Likewise.
4316 * sysdeps/ia64/memchr.S: Likewise.
4317 * sysdeps/m68k/memchr.S: Likewise.
4318 * sysdeps/sparc/sparc32/memchr.S: Likewise.
4319 * sysdeps/sparc/sparc64/memchr.S: Likewise.
4320 * sysdeps/vax/memchr.s: Likewise.
4322 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
4323 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
4324 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
4325 * sysdeps/i386/i686/strtok.S: Likewise.
4326 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
4327 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
4329 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
4330 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
4332 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
4333 bounds of copy_result to mount_proc.
4335 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4337 * wctype/wctype.h (__wctrans_l): New declaration.
4338 * wctype/wctrans_l.c: New file.
4339 * wctype/Makefile (routines): Add wctrans_l.
4341 2000-07-26 Ulrich Drepper <drepper@redhat.com>
4343 * posix/fnmatch_loop.c: Fixes for use outside glibc.
4344 Patch by MacGyver <macgyver@tos.net>.
4346 2000-07-26 Andreas Jaeger <aj@suse.de>
4348 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
4349 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
4350 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
4352 * rt/tst-aio.c (test_file): Fix typo.
4353 * rt/tst-aio64.c (test_file): Likewise.
4355 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
4356 * rt/Makefile: Add rules to build and run tst-aio3.
4358 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
4359 it's not needed and confuses only.
4361 2000-07-26 Ulrich Drepper <drepper@redhat.com>
4363 * resolv/res_init.c: Add support for nameserver communication with
4365 * resolv/res_send.c: Likewise.
4366 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
4368 Patch by <venaas@nvg.ntnu.no>.
4370 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4372 * locale/programs/ld-ctype.c (wctype_table_get): New function.
4373 (wcwidth_table_get): New function.
4374 (wcwidth_table_add): Call it.
4375 (wctrans_table_get): New function.
4376 (wctrans_table_add): Call it.
4378 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4380 * rt/lio_listio.c (lio_listio): Always disable individual
4382 * rt/Makefile: Add rules to build and run tst-aio2.
4383 * rt/tst-aio2.c: New file.
4385 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
4386 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
4388 2000-07-25 Mark Kettenis <kettenis@gnu.org>
4390 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
4391 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
4392 leading and trailing spaces from host, user and domain name.
4394 2000-07-25 Jes Sorensen <jes@linuxcare.com>
4396 * csu/defs.awk: Add support for need_endp.
4398 2000-07-25 Mark Kettenis <kettenis@gnu.org>
4400 * resolv/resolv.h: Remove __P from res_send_qhook and
4401 res_send_rhook typedefs.
4403 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4405 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
4407 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4409 * iconv/gconv_builtin.h: Add WCHAR_T alias.
4411 2000-07-25 Mark Kettenis <kettenis@gnu.org>
4413 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
4414 calling thread, set the cancellation flag and return success
4417 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4419 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
4420 * libio/tst-widetext.c: New file.
4421 * libio/tst-widetext.input: New file.
4423 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
4425 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
4426 empty external buffer correctly.
4428 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4430 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
4431 __STRING(entry) and not #entry.
4432 (_RTLD_EPILOGUE): Likewise.
4433 * sysdeps/mips/mips64/dl-machine.h: Likewise.
4435 2000-07-25 Andreas Jaeger <aj@suse.de>
4437 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
4438 according to changes in test program, run also with static only
4440 ($(objpfx)tst-printf.out): Likewise.
4442 * stdio-common/tst-unbputc.sh: Likewise.
4443 * stdio-common/tst-printf.sh: Likewise.
4445 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4447 * libio/wfileops.c (_IO_wdo_write): Correct return value.
4449 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
4452 * libio/fileops.c: Pretty print.
4454 2000-07-23 Bruno Haible <haible@clisp.cons.org>
4456 * wctype/wchar-lookup.h: New file.
4457 * wctype/iswctype.c: Include "wchar-lookup.h".
4458 (__iswctype): Support alternate locale format with 3-level tables.
4459 * wctype/iswctype_l.c (__iswctype_l): Likewise.
4460 * wctype/towctrans.c (__towctrans): Likewise.
4461 * wctype/towctrans_l.c (__towctrans_l): Likewise.
4462 * wctype/wcfuncs.c: Include "wchar-lookup.h".
4463 (__ctype32_wctype, __ctype32_wctrans): Declare external.
4464 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
4465 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
4466 __iswxdigit, towlower, towupper): Support alternate locale format
4467 with 3-level tables.
4468 * wctype/wcextra.c (iswblank): Likewise.
4469 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
4470 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
4471 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
4472 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
4473 format with 3-level tables.
4474 * wctype/wcextra_l.c (__iswblank_l): Likewise.
4475 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
4476 format, return a 3-level table pointer.
4477 * wctype/wctype_l.c (__wctype_l): Likewise.
4478 * wctype/wctrans.c (wctrans): Likewise.
4479 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
4480 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
4481 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
4482 (iswctype): Remove macro definition.
4483 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
4484 (internal_wcwidth): Support alternate locale format with 3-level
4486 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
4488 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
4489 Define them as being type "word".
4490 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
4491 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
4492 __ctype32_width): New exported variables.
4493 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
4494 alternate locale format. Don't initialize __ctype_names and
4495 __ctype_width in the alternate locale format.
4496 * locale/programs/localedef.h (oldstyle_tables): New declaration.
4497 * locale/programs/localedef.c (oldstyle_tables): New variable.
4498 (OPT_OLDSTYLE): New macro.
4499 (options): Add --old-style option.
4500 (parse_opt): Handle --old-style option.
4501 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
4502 map_offset, class_3level, map_3level, width_3level members.
4503 (ctype_output): Support for alternate locale format: Computation of
4504 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
4505 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
4506 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
4507 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
4508 now contain both class and map tables.
4509 (struct wctype_table): New type.
4510 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
4512 (struct wcwidth_table): New type.
4513 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
4515 (struct wctrans_table): New type.
4516 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
4518 (allocate_arrays): Support for alternate locale format: Set
4519 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
4520 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
4521 to the first 256 characters. Compute ctype->map_3level. Set
4522 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
4523 instead of ctype->width.
4525 2000-07-24 Ulrich Drepper <drepper@redhat.com>
4527 * libio/iogetwline.c (_IO_getwline_info): Use wide character
4530 2000-07-24 Jakub Jelinek <jakub@redhat.com>
4532 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
4533 in wide characters, not bytes.
4534 * libio/tst_putwc.c (do_test): Add test for writing lots of data
4537 2000-07-22 Bruno Haible <haible@clisp.cons.org>
4539 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
4540 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
4541 LC_MEASUREMENT, LC_IDENTIFICATION.
4543 * locale/xlocale.h (struct __locale_struct): Increase size of
4545 * locale/duplocale.c (__duplocale): Copy newly added categories as
4547 * locale/freelocale.c (__freelocale): Free newly added categories.
4548 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
4549 If a base is given, use it, don't simply return it.
4551 2000-07-22 Bruno Haible <haible@clisp.cons.org>
4553 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
4554 variables, copied_key and copied_salt, instead of boolean variables.
4556 2000-07-24 Andreas Jaeger <aj@suse.de>
4558 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
4561 * grp/initgroups.c (initgroups_dyn_function): Renamed from
4562 initgroups_function, adopted prototype for change from 2000-07-23.
4563 (initgroups): Follow type change.
4565 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
4566 & PAGE_MASK case, reformat.
4568 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
4569 from stdin and setup environment.
4571 2000-07-24 Andreas Schwab <schwab@suse.de>
4573 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
4575 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4577 * string/endian.h: Explain the _*_ENDIAN constant values a bit
4578 more. Patch by scarlet@mit.edu [PR libc/1799].
4580 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
4583 * argp/argp-parse.c (parser_finalize): Reverse order in which
4584 parsers are run for ARGP_KEY_END. [PR libc/1755].
4586 * grp/initgroups.c (initgroups): Don't limit the possible number
4587 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
4588 the setgroups call while the call fails and descrease the number
4589 of groups each round.
4590 The name of the initgroups function in the NSS modules changed.
4591 (compat_call): Adapt for dynamic resizing.
4592 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4593 Implement dynamic resizing.
4594 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4596 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
4597 * hesiod/Versions: Change exported interface name.
4598 * nis/Versions: Change exported interface name.
4600 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4602 * locale/iso-639.def: Some errors corrected.
4603 Patch by Keld Simonsen.
4605 * include/limits.h: Update non-gcc portion.
4606 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4608 2000-07-22 Mark Kettenis <kettenis@gnu.org>
4610 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
4611 program's data space, reallocate only the space that was just
4612 deallocated to release its backing space.
4614 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4616 * stdio-common/vfprintf.c (process_string_arg): For wide character
4617 version, handle precision also correctly.
4619 * nss/nss_files/files-hosts.c: Correct problem with three or more
4620 entries with the same name.
4622 * nss/nss_files/files-hosts.c: Implement multi handling.
4623 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
4625 2000-07-22 Ulrich Drepper <drepper@redhat.com>
4627 * nss/nss_files/files-parse.c: Don't pollute namespace by using
4630 * grp/Makefile: Change Makefiles and tests to run only when necessary.
4631 * malloc/Makefile: Likewise.
4632 * malloc/tst-mtrace.sh: Likewise.
4633 * posix/Makefile: Likewise.
4634 * posix/globtest.sh: Likewise.
4635 * posix/wordexp-tst.sh: Likewise.
4636 * string/Makefile: Likewise.
4638 2000-07-22 Mark Kettenis <kettenis@gnu.org>
4640 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
4641 size instead of LC_ALL to take into account the new locale
4644 2000-07-22 Ulrich Drepper <drepper@redhat.com>
4646 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
4647 remainders of hash table.
4648 * locale/categories.def: Remove remainders of transliteration
4650 * locale/langinfo.h: Likewise.
4651 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
4652 transliteration tables.
4654 * locale/gen-translit.pl: New file.
4655 * locale/C-translit.h.in: New file.
4656 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
4657 data pointers with data from this file.
4658 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
4659 and gen-translit.pl.
4660 Add rule to generate C-translit.h.
4661 * intl/tst-translit.c (main): Update for now performed
4664 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
4665 (it's no input error).
4666 * stdio-common/tstscanf.c: Add test case for format %f with input --.
4667 * stdio-common/scanf12.c: Correct expected result for first scanf.
4669 * stdio-common/vfprintf.c (process_string_arg): Correct handling
4670 of multibyte character strings in %s format with precision.
4672 2000-07-21 Ulrich Drepper <drepper@redhat.com>
4674 * locale/programs/ld-collate.c (collate_read): Allow collating
4675 symbols and elements be named in reorder-after instructions.
4676 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
4678 * locale/programs/ld-collate.c (handle_ellipsis): Test for
4679 duplication with generated name, not the name of the first
4681 Patch by Yong Li <yong.li@asu.edu>.
4683 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
4684 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4686 2000-07-21 Wolfram Gloger <wg@malloc.de>
4688 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
4689 allocations only if a non-main arena cannot be extended.
4691 2000-07-21 Ulrich Drepper <drepper@redhat.com>
4693 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
4694 in DF_1_NODEFLIB handling.
4696 2000-07-21 Andreas Jaeger <aj@suse.de>
4698 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
4701 * libio/fwide.c: Include <wchar.h> for prototype.
4703 2000-07-21 Greg McGary <greg@mcgary.org>
4705 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
4706 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
4707 Define in terms of chunk_at_offset.
4708 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
4709 (next_bin, prev_bin): offset by size of real array elements.
4710 (chunk_align): Make `m' a scalar, since that's how it's used.
4712 2000-07-21 Greg McGary <greg@mcgary.org>
4714 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
4716 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
4717 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
4718 Wrap bounds around argv & envp and each of their string members.
4719 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
4720 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
4721 symbol in BP_SYM (). Discard bounds of address arg.
4722 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
4723 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
4724 Discard bounds on address arg, add bounds to return value.
4726 2000-07-20 Ulrich Drepper <drepper@redhat.com>
4728 * elf/Makefile (tests): Add filter. Add rules to generate filter.
4729 * elf/filter.c: New file.
4730 * elf/filtmod1.c: New file.
4731 * elf/filtmod2.c: New file.
4733 * elf/rtld.c: Define _dl_bind_not variable.
4734 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
4735 * elf/dl-support.c: Likewise.
4736 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
4737 * elf/dl-runtime.c (fixup): Don't remember looked up value if
4739 (profile_fixup): Likewise.
4741 * libio/Makefile (routines): Add fwide.
4742 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
4743 fwide now. Internal calls to _IO_fwide must do locking themselves
4744 or don't need locking.
4745 * libio/fwide.c: New file.
4747 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
4749 * elf/Makefile: Add no modules for nodelete test.
4750 * elf/nodelmod3.c: New file.
4751 * elf/nodelmod4.c: New file.
4752 * elf/nodelete.c: Also test case where dependency of dlopen() object
4755 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
4756 * elf/nodlopen.c: New file.
4757 * elf/nodlopenmod.c: New file.
4758 * include/dlfcn.h: Define __RTLD_DLOPEN.
4759 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
4760 and this is a dlopen() call, do not load the binary.
4761 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
4762 * dlfcn/dlopenold.c: Likewise.
4763 * configure.in: Add test for -z nodelete option.
4764 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
4766 2000-07-20 Mark Kettenis <kettenis@gnu.org>
4768 Make Hesiod NSS module thread-safe.
4770 * hesiod/README.hesiod: Update.
4772 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
4773 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
4774 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
4775 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
4777 * hesiod/nss_hesiod/hesiod-init.c: New file.
4778 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
4779 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
4780 * hesiod/nss_hesiod/nss_hesiod.h: New file.
4781 * hesiod/nss_hesiod/hesiod-service.c
4782 (_nss_hesiod_getservbyport_r): New function. Provide support for
4783 looking up services by port number.
4784 * hesiod/nss_hesiod/hesiod-proto.c: New file.
4786 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
4787 * hesiod/hesiod.h: Likewise.
4788 * hesiod/hesiod_p.h: Likewise.
4790 2000-07-20 Mark Kettenis <kettenis@gnu.org>
4792 Fix problems with `struct __res_state' getting too big.
4793 * resolv/resolv.h (struct __sockaddr_in): New definition.
4794 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
4795 the private parts of the structure to save some space.
4796 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
4797 (struct sockaddr_in *) in call to sock_eq.
4798 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
4800 2000-07-20 Ulrich Drepper <drepper@redhat.com>
4802 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
4803 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
4805 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
4806 to _dl_map_object. Return immediately if no object loaded.
4807 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
4808 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
4809 if it exists into l_flags_1 word.
4810 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
4811 it to determine whether loading is wanted or not.
4812 (_dl_map_object): Likewise.
4813 Call _dl_map_object_from_fd with new parameter.
4814 * sysdeps/generic/ldsodefs.h: Update prototype.
4815 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
4816 * elf/rtld.c: Likewise.
4817 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4818 * elf/Makefile (tests): Add noload. Add rules to generate noload.
4819 * elf/noload.c: New file.
4820 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
4821 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
4822 * sysdeps/mips/bits/dlfcn.h: Likewise.
4823 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
4824 (tests-nodelete-yes): Define.
4825 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
4826 Add rules to build nodelete and modules.
4827 * elf/nodelete.c: New file.
4828 * elf/nodelmod1.c: New file.
4829 * elf/nodelmod2.c: New file.
4830 * configure.in: Add test for -z nodelete option.
4831 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
4833 * libio/Makefile (tests): Add tst_wprintf2.
4834 (tst_wprintf2-ARGS): Define.
4835 * libio/tst_wprintf2.c: New file.
4836 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
4838 * libio/wfiledoalloc.c: Only allocate external buffer if this
4839 hasn't happened yet.
4841 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
4842 something in the buffer. gconv call can write up to end of the
4843 buffer, not only _IO_write_end.
4844 (_IO_wfile_overflow): Allocate also external buffer.
4846 2000-07-19 Ulrich Drepper <drepper@redhat.com>
4848 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
4849 strings with precision in vfwprintf correctly.
4850 * stdio-common/vfprintf.c: Fix completely broken handling of
4851 unbuffered wide character streams.
4852 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
4854 * resolv/Makefile (distribute): Add README.
4856 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
4858 2000-07-18 Mark Kettenis <kettenis@gnu.org>
4860 Update resolver code to BIND 8.2.3-T5B.
4862 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
4864 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
4865 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
4867 * resolv/Banner: BIND-8.2.3-T5B.
4869 * resolv/base64.c: Update from BIND 8.2.3-T5B.
4870 * resolv/herror.c: Likewise.
4871 * resolv/inet_addr.c: Likewise.
4872 * resolv/inet_net_ntop.c: Likewise.
4873 * resolv/inet_net_pton.c: Likewise.
4874 * resolv/inet_neta.c: Likewise.
4875 * resolv/inet_ntop.c: Likewise.
4876 * resolv/nsap_addr.c: Likewise.
4877 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
4878 IPv6 addresses (ISC bug #520).
4880 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
4881 * resolv/ns_parse.c: Likewise.
4882 * resolv/ns_netint.c: Likewise.
4883 * resolv/ns_samedomain.c: Likewise.
4884 * resolv/ns_ttl.c: Likewise.
4885 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
4886 RCS ID in object file.
4888 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
4889 * resolv/res_mkquery.c: Likewise.
4890 * resolv/res_query.c: Likewise.
4891 * resolv/res_init.c: Likewise.
4892 (res_setoptions): Mark internal.
4893 * resolv/res_send.c: Likewise.
4894 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
4895 by using poll instead.
4896 * resolv/res_comp.c: Likewise.
4897 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
4898 weak alias for __dn_expand.
4899 * resolv/res_data.c: Likewise.
4900 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
4901 in _res.options. Avoids a potential security risk by avoiding a
4903 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
4904 res_mkquery, res_query, res_querydomain adn res_search weak
4905 aliases for __res_mkquery, __res_query, __res_querydomain and
4907 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
4908 instead to avoid close(0).
4909 (res_init): Always use the static resolver context.
4910 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
4911 alias for __res_init.
4913 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
4914 RES_SET_H_ERRNO and accompanying comment to...
4915 * include/resolv.h: ... here.
4917 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
4918 * resolv/arpa/nameser_compat.h: Likewise.
4920 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4922 * nss/makedb.c (main): Compare result of load_db with
4923 NSS_STATUS_SUCCESS and not 0.
4924 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
4926 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
4928 2000-07-18 Greg McGary <greg@mcgary.org>
4930 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
4931 (EXTEND_BUFFER): Use it.
4933 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4935 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
4936 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
4937 __builtin_return_address.
4938 * dlfcn/dlopenold.c: Likewise.
4939 * dlfcn/dlsym.c: Likewise.
4940 * dlfcn/dlvsym.c: Likewise.
4941 * elf/dl-profstub.c: Likewise.
4942 * malloc/malloc.c: Likewise.
4943 * sysdeps/generic/machine-gmon.h: Likewise.
4944 Based on a patch by schwidefsky@de.ibm.com.
4946 2000-07-18 Andreas Jaeger <aj@suse.de>
4948 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
4949 NULL to elf_machine_fixup_plt t argument to silence GCC.
4951 * include/string.h: Add prototype for __memchr.
4953 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
4955 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
4958 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4960 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
4962 * locale/C-ctype.c: Add initializers for gap elements.
4963 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
4966 2000-07-16 Ulrich Drepper <drepper@redhat.com>
4968 * nscd/nscd.c (print_version): Update copyright year.
4970 2000-07-17 Greg McGary <greg@mcgary.org>
4972 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
4973 keyletters F, I, S, W. Remove unused keyletter V. Surround
4974 signature argnames with angle-brackets for use as word delimiters,
4975 and to induce syntax errors for any args not handled. Split
4976 multi-echo echoes and comment each stage.
4977 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
4978 * sysdeps/unix/inet/syscalls.list: Likewise.
4979 * sysdeps/unix/mman/syscalls.list: Likewise.
4980 * sysdeps/unix/syscalls.list: Likewise.
4981 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4982 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4983 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4984 * sysdeps/unix/sysv/syscalls.list: Likewise.
4985 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
4987 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
4988 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
4989 qualifiers. Don't check NULL-terminator of argv & envp.
4990 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
4991 unbounded pointer type in word-size assertion.
4992 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
4993 cases to stifle warnings.
4995 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
4997 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4999 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
5000 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
5003 * Makerules (o-objects): Supplement with $(o-objects$o).
5004 * string/Makefile (o-objects.ob): Add variable to pull
5005 unbounded versions of memcpy, memset and memchr into libc_b.
5007 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
5008 rather than non-existent __ubp_memchr.
5009 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
5010 (_CHECK_STRING, _CHECK_N): New macros.
5011 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
5012 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
5013 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
5014 Add weak alias "memchr".
5015 * sysdeps/generic/memchr.c: Likewise.
5016 * sysdeps/i386/memchr.S: Likewise.
5017 * sysdeps/ia64/memchr.S: Likewise.
5018 * sysdeps/m68k/memchr.S: Likewise.
5019 * sysdeps/sparc/sparc32/memchr.S: Likewise.
5020 * sysdeps/sparc/sparc64/memchr.S: Likewise.
5021 * sysdeps/vax/memchr.s: Likewise.
5023 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
5025 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
5026 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
5027 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
5028 __BOUNDED_POINTERS__.
5029 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
5030 for __BOUNDED_POINTERS__.
5032 2000-07-17 Bruno Haible <haible@clisp.cons.org>
5034 * iconv/gconv_open.c (__gconv_open): Initialize the __data
5035 field of struct __gconv_trans_data differently. Don't pass NULL to
5036 trans_init_fct. Simplify list append operation.
5038 2000-07-14 Bruno Haible <haible@clisp.cons.org>
5040 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
5041 not only those having tsearch.
5043 2000-07-17 Ulrich Drepper <drepper@redhat.com>
5045 * locale/langinfo.h: Add placeholder values in enum for removed
5048 2000-07-17 Jakub Jelinek <jakub@redhat.com>
5050 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
5051 chain if the PHDR check fails.
5053 2000-07-17 Mark Kettenis <kettenis@gnu.org>
5055 * nss/getent.c (print_hosts): Make sure we always print a space
5056 between numeric addresses and hostnames.
5058 2000-07-17 Wolfram Gloger <wg@malloc.de>
5060 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
5061 i.e. if n_mmaps_max>0.
5063 2000-07-16 Mark Kettenis <kettenis@gnu.org>
5065 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
5066 values to remove possible clash with other AI_* constants.
5067 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
5068 hexadecimal constants to stress the fact they're in fact
5071 2000-07-15 Mark Kettenis <kettenis@gnu.org>
5073 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
5074 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
5075 instead of res_init.
5077 2000-07-16 Ulrich Drepper <drepper@redhat.com>
5079 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
5080 parameters of memset calls to avoid warnings.
5082 2000-07-15 Ulrich Drepper <drepper@redhat.com>
5084 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
5087 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
5088 Patch by Greg McGary <greg@mcgary.org>.
5090 * io/Makefile (tests): Add tst-getcwd.
5091 * io/tst-getcwd.c: New file.
5093 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
5095 2000-07-15 Jakub Jelinek <jakub@redhat.com>
5097 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
5100 2000-07-13 Jakub Jelinek <jakub@redhat.com>
5102 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
5103 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
5105 2000-07-12 H.J. Lu <hjl@gnu.org>
5107 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
5109 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
5110 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
5111 (sysdep-routines): Add clone2.
5112 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
5114 2000-07-13 Jes Sorensen <jes@linuxcare.com>
5116 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
5117 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
5119 2000-06-05 David Mosberger <davidm@hpl.hp.com>
5121 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
5122 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
5123 Change type of si_band from "int" to "long".
5124 (si_imm) [USE_GNU]: Define
5125 (si_isr) [USE_GNU]: Likewise.
5126 (ILL_BREAK) [USE_GNU]: Likewise.
5127 (FPE_DECOVF) [USE_GNU]: Likewise.
5128 (FPE_DECDIV) [USE_GNU]: Likewise.
5129 (FPE_DECERR) [USE_GNU]: Likewise.
5130 (FPE_INVASC) [USE_GNU]: Likewise.
5131 (FPE_INVDEC) [USE_GNU]: Likewise.
5132 (TRAP_BRANCH) [USE_GNU]: Likewise.
5133 (TRAP_HWBKPT) [USE_GNU]: Likewise.
5135 2000-07-06 Jes Sorensen <jes@linuxcare.com>
5137 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
5138 bits/sigcontext as struct mcontext does not depend on it.
5140 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
5142 2000-07-04 Jes Sorensen <jes@linuxcare.com>
5144 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
5146 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
5148 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
5150 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5152 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
5154 2000-07-15 Ulrich Drepper <drepper@redhat.com>
5156 * intl/Makefile (test-srcs): Add tst-translit.
5158 Add rules to build and run tst-translit.
5159 * intl/tst-translit.c: New file.
5160 * intl/tst-translit.sh: New file.
5161 * intl/translit.po: New file.
5163 2000-07-14 Ulrich Drepper <drepper@redhat.com>
5165 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
5166 transliteration function did its job, continue, don't stop.
5168 * iconvdata/iso646.c: Little optimizations in body for conversion
5171 2000-07-14 Mark Kettenis <kettenis@gnu.org>
5173 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
5175 2000-07-14 Mark Kettenis <kettenis@gnu.org>
5177 * configure.in: Check for pwd binary.
5178 * config.make.in: Add PWD_P to be subsituted.
5179 * Makerules: Use $(PWD_P) instead of /bin/pwd.
5181 2000-07-14 Ulrich Drepper <drepper@redhat.com>
5183 * iconvdata/Makefile (modules): Add GB18030.
5184 (distribute): Add gb18030.c.
5185 * iconvdata/gconv-modules: Add entries for GB18030 module.
5186 * iconvdata/gb18030.c: New file.
5187 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
5190 2000-07-13 Andreas Jaeger <aj@suse.de>
5192 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
5195 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
5196 * inet/getnetgrent.c (free_mem): Likewise.
5197 * misc/mntent.c (free_mem): Likewise.
5198 * nss/getXXbyYY.c (free_mem): Likewise.
5199 * nss/getXXent.c (free_mem): Likewise.
5200 * pwd/fgetpwent.c (free_mem): Likewise.
5201 * shadow/fgetspent.c (free_mem): Likewise.
5203 2000-07-14 Ulrich Drepper <drepper@redhat.com>
5205 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
5206 64-bit architecture correctly [PR libc/1794].
5208 2000-07-13 Ulrich Drepper <drepper@redhat.com>
5210 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
5211 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
5212 report that we are out of memory.
5213 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5214 * elf/dl-libc.c (dlerror_run): Likewise.
5215 * elf/dl-open.c (_dl_open): Likewise.
5216 * elf/rtld.c (dl_main): Likewise.
5217 * elf/dl-error.c: Define _dl_out_of_memory.
5218 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
5220 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
5223 * dlfcn/dlerror.c (free_key_mem): Also free error string.
5225 * iconv/loop.c: Fix comment.
5227 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
5229 2000-07-13 Andreas Jaeger <aj@suse.de>
5231 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
5232 getcwd (NULL, size) with size > 0.
5233 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
5235 2000-07-13 Andreas Jaeger <aj@suse.de>
5237 * posix/Makefile: Remove build rules for libposix.
5239 2000-07-13 Andreas Schwab <schwab@suse.de>
5241 * sysdeps/generic/glob.c (glob): Fix memory leak.
5242 [SHELL]: Remove reference to undefined variable `files'.
5245 2000-07-13 Andreas Jaeger <aj@suse.de>
5247 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
5250 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
5251 memory if it was allocated.
5253 2000-07-12 Ulrich Drepper <drepper@redhat.com>
5255 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
5258 * iconv/gconv_open.c (__gconv_open): Reapply
5259 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5261 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
5263 * iconv/gconv_open.c: Undo last two changes for now. They break
5266 2000-07-12 Andreas Jaeger <aj@suse.de>
5268 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
5270 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
5271 (CFLAGS-dl-cache.c): Likewise.
5272 (CFLAGS-ldconfig.c): Added, passes directory locations.
5274 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
5276 * elf/ldconfig.c (LD_SO_CONF): Likewise.
5277 (main): Use configured LIBDIR and SLIBDIR.
5279 2000-07-11 Jakub Jelinek <jakub@redhat.com>
5281 * math/bits/cmathcalls.h (cimag): Add __THROW.
5282 (creal, conj): Likewise.
5283 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
5286 2000-07-12 H.J. Lu <hjl@gnu.org>
5288 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
5289 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
5291 2000-07-12 Ulrich Drepper <drepper@redhat.com>
5293 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
5296 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5298 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
5300 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5302 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
5305 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5307 * iconv/gconv_open.c (__gconv_open): Initialize
5308 result->__steps[cnt].__data.
5310 2000-07-12 Mark Kettenis <kettenis@gnu.org>
5312 * nss/getent.c (services_keys): Pass port number in network byte
5313 order in call to getservbyport.
5315 2000-07-11 Andreas Jaeger <aj@suse.de>
5317 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
5319 * intl/Makefile (do-gettext-test): Likewise.
5320 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
5322 2000-07-11 Andreas Schwab <schwab@suse.de>
5324 * Makeconfig (run-program-prefix): New rule.
5325 (built-program-cmd): Use run-program-prefix.
5327 2000-07-12 Ulrich Drepper <drepper@redhat.com>
5329 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
5330 and NOEXPR unconditionally available.
5332 2000-07-12 Greg McGary <greg@mcgary.org>
5334 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
5335 * sysdeps/posix/open64.c: Likewise.
5336 * sysdeps/generic/fegetenv.c: Likewise.
5337 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
5338 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5339 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5340 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
5341 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
5342 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
5344 2000-07-11 Greg McGary <greg@mcgary.org>
5346 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
5347 Add extra level of macro expansion.
5348 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
5349 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
5350 is available at the time `select' prototype is declared.
5351 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
5352 Collect non-versioned weak aliases. Consider only non-versioned
5353 aliases for the user-visible systemcall name. Do checks inline with
5354 call to primitive system call.
5355 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
5356 stand-alone bounds checks to suppress unused value warnings.
5357 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
5359 2000-07-10 Mark Kettenis <kettenis@gnu.org>
5361 * sysdeps/mach/hurd/check_fds.c: New file. Implements
5362 file descriptor checking in SUID programs for the Hurd.
5364 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
5365 res_hostalias instead of __hostalias for thread-safety.
5367 2000-07-09 Mark Kettenis <kettenis@gnu.org>
5369 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
5370 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
5372 2000-07-10 Ulrich Drepper <drepper@redhat.com>
5374 * include/features.h: Include ISO C99 features if the compiler used
5375 is an ISO C99 compiler.
5376 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
5378 2000-07-08 Mark Kettenis <kettenis@gnu.org>
5380 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
5382 2000-07-10 Andreas Jaeger <aj@suse.de>
5384 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
5385 it's overridden by libpthreads.
5386 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5387 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5388 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5389 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5390 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5392 * malloc/Makefile: Run tst-mtrace only with shared libs.
5394 * stdio-common/Makefile: Run unbputc and tst-printf tests only
5397 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5399 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
5400 that gpreg really points to the GOT section of the calling object.
5401 Scan all PT_LOAD segments of objects for stub_pc, instead of only
5402 checking a start address of first one.
5404 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
5407 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
5409 2000-07-10 Andreas Jaeger <aj@suse.de>
5411 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
5412 (string_alias->strong_alias).
5414 2000-07-08 Mark Kettenis <kettenis@gnu.org>
5416 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
5418 2000-07-07 Greg McGary <greg@mcgary.org>
5420 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
5421 have no names without leading underscores.
5423 2000-07-07 Ulrich Drepper <drepper@redhat.com>
5425 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
5428 * stdio-common/Makefile (tests): Remove tst-printf here...
5429 (tests-srcs): ...and add it here.
5430 (distribute): Add tst-unbputc.sh and tst-printf.sh.
5431 Add rules to run tst-printf.sh.
5432 * stdio-common/tst-printf.c: Move code around so that there is really
5433 no further output where it's stated.
5434 * stdio-common/tst-printf.sh: New file.
5436 2000-07-07 Mark Kettenis <kettenis@gnu.org>
5438 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
5439 (do_write): Renamed from pwrite.
5440 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
5441 `struct _IO_cookie_file'.
5443 2000-07-07 Ulrich Drepper <drepper@redhat.com>
5445 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
5447 * malloc/tst-mtrace.sh: Run mtrace script.
5449 2000-07-07 Greg McGary <greg@mcgary.org>
5451 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
5452 Move all three components of a bounded pointer.
5454 2000-07-07 Ulrich Drepper <drepper@redhat.com>
5456 * locale/programs/locale.c (write_locales): Don't simply add all
5457 directories found in the subdir, test whether at least the
5458 LC_CTYPE file is in there.
5460 2000-07-06 Ulrich Drepper <drepper@redhat.com>
5462 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
5463 * iconvdata/euc-kr.c: Likewise.
5465 * stdio-common/vfprintf.c (process_string_arg): Check result of
5466 wcrtomb call and bail out if it failed.
5468 * malloc/Makefile (test-srcs): Add tst-mtrace.
5469 (distribute): Add tst-mtrace.sh.
5470 Add rule to run tst-mtrace.sh.
5471 * malloc/tst-mtrace.c: New file.
5472 * malloc/tst-mtrace.sh: New file.
5474 * include/signal.h: Declare __libc_sigaction.
5475 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
5476 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
5477 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5478 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5479 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5480 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5481 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5483 * configure.in: Fix CFLAGS-memprofstat.c definition after
5485 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
5487 2000-07-06 Jakub Jelinek <jakub@redhat.com>
5489 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
5490 instead of NULL to elf_machine_fixup_plt t argument.
5491 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5492 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
5495 2000-07-06 Andreas Jaeger <aj@suse.de>
5497 * crypt/Makefile (LDLIBS-cert): Removed.
5498 (LDLIBS-md5c-test): Removed.
5499 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
5500 ($(objpfx)md5c-test): Likewise for md5c-test.out.
5502 2000-07-06 Andreas Jaeger <aj@suse.de>
5504 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
5505 of the proc system is "proc".
5507 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
5508 thread library for static programs.
5510 2000-07-06 Greg McGary <greg@mcgary.org>
5512 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
5514 * sysdeps/generic/strcpy.c: Add bounds checks.
5515 * sysdeps/unix/fxstat.c: Likewise.
5516 * sysdeps/unix/xstat.c: Likewise.
5517 * sysdeps/unix/common/lxstat.c: Likewise.
5518 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5519 * sysdeps/unix/sysv/linux/execve.c: Likewise.
5520 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
5521 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
5522 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5523 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5524 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
5525 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
5526 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
5527 * sysdeps/unix/sysv/linux/poll.c: Likewise.
5528 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5529 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5530 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
5531 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5532 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5533 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5534 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5535 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5536 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5537 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
5538 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5539 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
5540 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5541 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
5542 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5543 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
5544 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5545 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
5546 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
5547 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
5548 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5549 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
5550 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5551 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5552 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5553 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5554 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5555 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
5556 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5557 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5558 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5559 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5560 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5561 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5562 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
5563 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
5564 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5565 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
5566 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
5567 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
5568 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
5569 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
5570 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5571 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5572 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5573 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5574 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
5575 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
5576 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
5577 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
5578 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5579 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
5580 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
5581 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
5583 * string/endian.h (__LONG_LONG_PAIR): New macro.
5584 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
5585 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5586 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5587 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5588 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5589 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5590 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5591 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5592 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5593 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5594 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5595 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
5597 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
5599 2000-07-06 Andreas Jaeger <aj@suse.de>
5601 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
5604 * math/test-fpucw.c: Include <stdio.h> for printf.
5606 2000-07-05 Greg McGary <greg@mcgary.org>
5608 * sysdeps/generic/bp-checks.h: New file.
5609 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
5610 with list of #include files.
5611 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
5612 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
5613 Don't generate BP thunk if `V' appears in signature.
5614 Generate thunks with complete bounds checks.
5615 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
5616 * sysdeps/unix/inet/syscalls.list: Likewise.
5617 * sysdeps/unix/mman/syscalls.list: Likewise.
5618 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5619 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5620 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5621 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
5623 2000-07-05 Ulrich Drepper <drepper@redhat.com>
5625 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
5626 result. Search first in /etc/mtab (proc/mounts would be stupid).
5627 If mount not in the file fall back on /proc.
5629 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
5630 string got copied in.
5631 Patch by Solar Designer <solar@false.com>.
5633 2000-07-05 Andreas Jaeger <aj@suse.de>
5635 * manual/install.texi (Installation): Update information about
5637 (Configuring and compiling): Update for glibc 2.2.
5639 2000-07-04 Andreas Jaeger <aj@suse.de>
5641 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
5642 (_FPU_IEEE): Likewise.
5644 * math/Makefile (tests): Add test-fpucw.
5646 * math/test-fpucw.c (main): New file.
5648 2000-07-05 Ulrich Drepper <drepper@redhat.com>
5650 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
5652 * locale/programs/ld-collate.c (collate_output): Also write out the
5653 collation sequence values and the wide character string for the
5654 collation symbol table.
5656 * posix/fnmatch.c: Include "../locale/elem-hash.h".
5657 * posix/fnmatch_loop.c: Implement collating symbol handling.
5658 * posix/tst-fnmatch.input: Add more tests, especially for collating
5661 * posix/regex.c: Fix comment.
5663 2000-07-05 Andreas Jaeger <aj@suse.de>
5665 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
5666 (_FPU_GETCW): Remove extra colon.
5667 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5669 * posix/fnmatch_loop.c (FCT): Only declare len if
5670 !WIDE_CHAR_VERSION to silence GCC.
5672 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
5674 * sysdeps/generic/strchrnul.c: Likewise.
5675 * sysdeps/generic/strlen.c: Likewise.
5676 * sysdeps/generic/strchr.c: Likewise.
5677 * sysdeps/generic/memchr.c: Likewise.
5679 2000-07-04 Ulrich Drepper <drepper@redhat.com>
5681 * posix/fnmatch_loop.c: Implement equivalence class handling.
5682 * posix/tst-fnmatch.input: Add tests for equivalence class
5685 * posix/fnmatch_loop.c: Improve performance for single-byte
5686 character sets by not using btowc.
5688 * posix/tst-fnmatch.input: Add tests for locale dependent
5690 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
5692 * posix/tst-fnmatch.input: Add more test cases.
5694 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
5695 are not aligned to alignof(md5_uint32) do it before calling
5696 __md5_process_bytes.
5697 * crypt/md5.c: Make sure buffers are aligned.
5698 * crypt/md5.h: Likewise.
5699 Reported by Solar Designer <solar@false.com>.
5701 * crypt/Makefile: Add dependencies for test programs.
5703 * Rules: Define LC_ALL=C in environments of all programs we run.
5705 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
5707 2000-07-03 H.J. Lu <hjl@gnu.org>
5709 * locale/programs/ld-ctype.c (ctype_output): The size of iov
5710 is 2 + elem + offset, not 2 + elem + offset + 2.
5712 2000-07-04 Ulrich Drepper <drepper@redhat.com>
5714 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
5716 * posix/Makefile (tests): Add tst-fnmatch.
5717 (tst-fnmatch-ENV): Define.
5718 * posix/tst-fnmatch.c: New file.
5719 * posix/tst-fnmatch.sh: New file.
5721 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
5723 * locale/programs/charmap.c (charmap_read): Prepend
5724 the condition filename == NULL.
5726 2000-07-03 Greg McGary <greg@mcgary.org>
5728 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
5730 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
5731 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
5733 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
5734 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
5735 (FILEBUF_LITERAL): Add cast for CHAIN init.
5736 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
5737 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
5738 Revert type of `fp' to _IO_FILE*.
5739 (_IO_iter_file): Remove cast.
5740 (_IO_iter_next): Elide intermediate member reference.
5742 * sysdeps/powerpc/strchr.S: Check bounds.
5743 Wrap extern symbols in BP_SYM ().
5745 2000-07-03 Andreas Jaeger <aj@suse.de>
5747 * dlfcn/Makefile (generated): New.
5749 2000-07-03 Ulrich Drepper <drepper@redhat.com>
5751 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
5752 (__uflow): Likewise.
5753 (__underflow): Likewise.
5754 * libio/wgenops.c (__wunderflow): Likewise.
5755 * stdio-common/tst-unbputc.c: New file.
5756 * stdio-common/tst-unbputc.sh: New file.
5757 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
5759 * po/en_GB.po: New file.
5760 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
5762 2000-07-01 Andreas Jaeger <aj@suse.de>
5764 * intl/Makefile (generated-dirs): New.
5766 * elf/Makefile (generated): trusted-dirs.h is always generated,
5767 move out of build-shared condition.
5768 (generated): Merge the two entries for build-shared.
5770 2000-07-01 Ulrich Drepper <drepper@redhat.com>
5772 * debug/Makefile (distribute): Add xtrace.sh.
5774 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5776 * version.h (VERSION): Bump to 2.1.91.
5778 * configure.in: Update warning comment. glibc should not be
5781 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
5782 ioperm.c, sys/procfs.h, and sys/io.h.
5784 * sysdeps/powerpc/Dist: Add bp-asm.h.
5786 * assert/Depend: Add localedata.
5787 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
5788 (test-assert-perr-ENV): New. Define LANGUAGE=C.
5790 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
5791 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
5792 relocation address to prevent unaligned trap.
5793 Suggested by Richard Henderson <rth@cygnus.com>.
5795 2000-06-30 Jakub Jelinek <jakub@redhat.com>
5797 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
5798 if redirecting and either redirection is done using defines or
5801 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5803 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
5804 generated expressions.
5805 Patch by Darren McClelland <dmcclell@zetec.com>.
5807 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
5808 since zic uses setlocale and gettext but we cannot make it use the
5809 new locale data since zic calls a shell which might not use the
5812 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
5813 handling the internation currency symbol. POSIX says that the
5814 fourth character is used to separate the currency symbol from the
5815 value. Therefore it does not have to be printed. But we cannot
5816 remove the space if the currency symbol is printed before the
5817 number since this is what many locales expect.
5819 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
5820 whether this information is available.
5822 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
5823 buffers in case the translation is too large. Remember allocated
5824 memory blocks in a list.
5825 (free_mem): Free memory for translations.
5827 * intl/tst-gettext.c: Use correct locale. Improve error messages.
5829 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
5830 information is available set the string length to zero.
5832 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
5834 2000-06-30 Greg McGary <greg@mcgary.org>
5836 * sysdeps/powerpc/bp-asm.h: New file.
5837 * sysdeps/powerpc/__longjmp.S: Check bounds.
5838 Wrap extern symbols in BP_SYM ().
5839 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
5840 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
5841 * sysdeps/powerpc/setjmp.S: Likewise.
5842 * sysdeps/powerpc/add_n.S: Likewise.
5843 * sysdeps/powerpc/addmul_1.S: Likewise.
5844 * sysdeps/powerpc/lshift.S: Likewise.
5845 * sysdeps/powerpc/rshift.S: Likewise.
5846 * sysdeps/powerpc/mul_1.S: Likewise.
5847 * sysdeps/powerpc/sub_n.S: Likewise.
5848 * sysdeps/powerpc/submul_1.S: Likewise.
5849 * sysdeps/powerpc/strlen.S: Likewise.
5850 * sysdeps/powerpc/memset.S: Likewise.
5851 * sysdeps/powerpc/stpcpy.S: Likewise.
5852 * sysdeps/powerpc/strcmp.S: Likewise.
5853 * sysdeps/powerpc/strcpy.S: Likewise.
5854 * sysdeps/powerpc/elf/bzero.S: Likewise.
5856 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
5857 Line up operands column with tabs.
5859 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5861 * elf/Makefile (LDFLAGS-origtest): Actually add it.
5863 * sysdeps/ia64/htonl.S: New file.
5864 * sysdeps/ia64/htons.S: New file.
5865 * sysdeps/ia64/memcpy.S: Replace with version which does not use
5866 floating point registers.
5867 Patches by Dan Pop <Dan.Pop@cern.ch>.
5869 2000-06-30 Andreas Jaeger <aj@suse.de>
5871 * posix/Makefile (tests): tst-exec and tst-spawn only work with
5874 * io/Makefile (CFLAGS-test-lfs.c): New.
5875 (tests): Add test-lfs.
5877 * io/test-lfs.c: New file.
5879 2000-06-30 Jakub Jelinek <jakub@redhat.com>
5881 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
5884 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
5886 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
5888 2000-06-29 Jes Sorensen <jes@linuxcare.com>
5890 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
5891 alias to the fstatfs call.
5893 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
5894 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
5896 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
5897 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
5899 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
5900 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
5901 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
5902 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
5904 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
5905 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
5907 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
5908 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
5910 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
5911 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
5913 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
5915 2000-06-29 Andreas Jaeger <aj@suse.de>
5917 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
5919 (print_err_message): Likewise.
5920 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
5922 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5924 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
5925 used as words is properly aligned.
5927 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
5930 2000-06-29 Greg McGary <greg@mcgary.org>
5932 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
5933 * sysdeps/unix/make-syscalls.sh: Handle signatures of
5934 length 7..9, just in case...
5935 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
5937 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
5938 (POP_ERRNO_LOCATION_RETURN): Fold insns.
5939 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
5940 (PUSH_SIGNAL_MASK): New macro.
5941 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
5942 LEAVE is unnecessary. Check bounds of jmp_buf.
5943 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
5944 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
5945 immediately before tail-call.
5946 * sysdeps/i386/setjmp.S: Likewise.
5947 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5948 * sysdeps/i386/bsd-setjmp.S: Likewise.
5950 2000-06-29 Jakub Jelinek <jakub@redhat.com>
5952 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
5954 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
5955 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
5956 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
5957 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5958 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
5959 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
5960 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
5961 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
5963 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5965 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
5966 we later need to calling free().
5967 Patch by Matt Wilson <msw@redhat.com>.
5969 * stdio-common/tst-printf.c: Add test for above problem.
5971 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
5973 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
5974 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
5976 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5978 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
5979 prototype for abs().
5980 * sysdeps/ieee754/flt-32/s_exp2f.c: Likewise.
5982 2000-06-23 Andreas Jaeger <aj@suse.de>
5984 * config.h.in: Don't use regparm with bounded pointers.
5986 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5988 * stdlib/grouping.h: Correctly handle multibyte thousands
5989 separator and decimal point.
5990 * stdlib/stdtod.c: Likewise.
5991 * sysdeps/generic/strtol.c: Likewise.
5993 * locale/categories.def: Add entries for wide character decimal point
5994 and thousands separator in numeric and monetary category.
5996 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5998 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
5999 second definition and initialization of decimal.
6001 2000-06-28 Greg McGary <greg@mcgary.org>
6003 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
6005 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
6006 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
6008 (_IO_JUMPS): Don't cast THIS--expect arg to be a
6009 (struct _IO_FILE_plus *).
6010 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
6011 THIS, since _IO_JUMPS no longer does it implicitly.
6012 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
6013 arg type as (struct _IO_FILE_plus *).
6014 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
6015 arg as (_IO_strfile *).
6016 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
6017 Declare 1st arg as (_IO_strfile *).
6018 * libio/fileops.c (_IO_new_file_init): Declare
6019 arg type as (struct _IO_FILE_plus *).
6020 * libio/oldfileops.c (_IO_old_file_init): Likewise.
6021 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
6022 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
6023 Declare iteration pointer as (struct _IO_FILE_plus *).
6024 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
6025 (struct _IO_FILE_plus *).
6026 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
6027 * libio/oldstdfiles.c (_IO_list_all): Likewise.
6028 (_IO_check_libio): Set user-visible handles to
6029 (struct _IO_FILE_plus *).
6030 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
6031 to (struct _IO_FILE_plus *).
6033 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
6034 whose high bound includes vtable to all functions that will use
6035 vtable. For streambufs, pass pointer whose bounds include struct
6037 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
6038 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6039 * libio/iofopen.c (_IO_new_fopen): Likewise.
6040 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6041 * libio/iofopen64.c (_IO_fopen64): Likewise.
6042 * libio/iopopen.c (_IO_new_popen): Likewise.
6043 * libio/oldiopopen.c (_IO_old_popen): Likewise.
6044 * libio/memstream.c (open_memstream): Likewise.
6045 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
6046 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
6047 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
6048 * libio/iofopncook.c (_IO_cookie_init): Likewise.
6049 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
6050 * libio/vasprintf.c (_IO_vasprintf): Likewise.
6051 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
6052 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
6053 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
6054 * stdlib/strfmon.c (__strfmon_l): Likewise.
6055 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
6056 (vfprintf): Qualify computed-goto targets as unbounded.
6058 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6060 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
6061 thousands separator correctly.
6063 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
6064 * stdio-common/vfwscanf.c: Likewise.
6066 2000-06-27 Jes Sorensen <jes@linuxcare.com>
6068 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
6069 count into signatures for most calls.
6071 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6073 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
6074 the generic parser now.
6076 2000-06-28 Jes Sorensen <jes@linuxcare.com>
6078 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
6079 table entries are 32 bit on the ia64 (as specified by the ABI),
6080 not 64 bit as on the Alpha.
6082 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
6083 change of objects to use 32 bit hash table indices (see above).
6085 2000-06-28 Jes Sorensen <jes@linuxcare.com>
6087 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
6088 prototype for abs().
6090 2000-06-28 Wolfram Gloger <wg@malloc.de>
6092 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
6093 fails, try mmap_chunk() as a last resort even though n_mmaps_max
6094 may have been reached.
6096 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6098 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
6099 symbols in multi-character weights correctly.
6101 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
6102 depending on whether the input string is empty or not.
6104 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
6105 given state and not avoiding this by modifying a local object.
6106 * wcsmbs/wcrtomb.c: Likewise.
6108 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
6109 object since some incomplete characters might be in there.
6111 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
6112 sequences with first byte 0x8e correctly.
6114 * iconvdata/jis0208.h: Remove redundant test.
6116 2000-06-27 Ulrich Drepper <drepper@redhat.com>
6118 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
6119 Add it where it is needed now.
6121 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
6122 the input charset into account when generating the hash table.
6123 (allocate_arrays): Correct setting default width. Not all empty slots
6124 in the table are filled, only those not covert explicitly by the
6125 locale description and in the charset.
6127 * wctype/towctrans.c (__towctrans): Be graceful and accept error
6128 return values from the wctrans function.
6130 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
6131 wide character version.
6132 For %C handling, test correct pointer variable for NULL.
6134 * wcsmbs/wctob.c: Handle WEOF special.
6136 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
6138 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
6139 always-true test to avoid warning.
6141 2000-06-27 Greg McGary <greg@mcgary.org>
6143 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
6144 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
6145 (symbol_version, default_symbol_version): Factor redundant
6146 definitions out of conditional.
6148 2000-06-27 Jakub Jelinek <jakub@redhat.com>
6150 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
6153 2000-06-26 Ulrich Drepper <drepper@redhat.com>
6155 * include/libc-symbols.h (symbol_version): Add extra level of
6157 (default_symbol_version): Likewise.
6159 2000-06-26 Greg McGary <greg@mcgary.org>
6161 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
6162 for BP return value & push implicit struct-return pointer to
6164 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6165 (SYSCALL_ERROR_HANDLER): Likewise.
6166 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
6167 (SYSCALL_ERROR_HANDLER): Likewise.
6169 * Makeconfig: Add missing comment.
6170 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
6171 BP-flavored startup object.
6172 ($(objpfx)b$(start-installed-name)): New rule.
6173 * include/libc-symbols.h (symbol_set_declare): Change type
6174 of `__start_##set' and `__stop_##set' to pointer-to-function.
6175 (symbol_set_declare): Change type of `set' to array of
6176 pointer-to-function.
6177 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
6178 pointer-to-function.
6180 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
6182 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
6183 Remove clock_* and timer_* entries.
6184 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
6185 arg-count with signatures.
6187 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
6188 Check bounds of arguments.
6189 * sysdeps/i386/addmul_1.S: Likewise.
6190 * sysdeps/i386/lshift.S: Likewise.
6191 * sysdeps/i386/mul_1.S: Likewise.
6192 * sysdeps/i386/rshift.S: Likewise.
6193 * sysdeps/i386/sub_n.S: Likewise.
6194 * sysdeps/i386/submul_1.S: Likewise.
6195 * sysdeps/i386/i586/add_n.S: Likewise.
6196 * sysdeps/i386/i586/addmul_1.S: Likewise.
6197 * sysdeps/i386/i586/lshift.S: Likewise.
6198 * sysdeps/i386/i586/rshift.S: Likewise.
6199 * sysdeps/i386/i586/sub_n.S: Likewise.
6200 * sysdeps/i386/i686/add_n.S: Likewise.
6202 * sysdeps/i386/memchr.S: Likewise.
6203 * sysdeps/i386/memcmp.S: Likewise.
6204 * sysdeps/i386/rawmemchr.S: Likewise.
6205 * sysdeps/i386/i586/bzero.S: Likewise.
6206 * sysdeps/i386/i586/memcpy.S: Likewise.
6207 * sysdeps/i386/i586/mempcpy.S: Likewise.
6208 * sysdeps/i386/i586/memset.S: Likewise.
6209 * sysdeps/i386/i686/bzero.S: Likewise.
6210 * sysdeps/i386/i686/memcpy.S: Likewise.
6211 * sysdeps/i386/i686/mempcpy.S: Likewise.
6212 * sysdeps/i386/i686/memset.S: Likewise.
6214 * sysdeps/i386/stpcpy.S: Likewise.
6215 * sysdeps/i386/stpncpy.S: Likewise.
6216 * sysdeps/i386/strchr.S: Likewise.
6217 * sysdeps/i386/strchrnul.S: Likewise.
6218 * sysdeps/i386/strcspn.S: Likewise.
6219 * sysdeps/i386/strpbrk.S: Likewise.
6220 * sysdeps/i386/strrchr.S: Likewise.
6221 * sysdeps/i386/strspn.S: Likewise.
6222 * sysdeps/i386/strtok.S: Likewise.
6223 * sysdeps/i386/strtok_r.S: Likewise.
6224 * sysdeps/i386/i486/strcat.S: Likewise.
6225 * sysdeps/i386/i486/strlen.S: Likewise.
6226 * sysdeps/i386/i586/strchr.S: Likewise.
6227 * sysdeps/i386/i586/strcpy.S: Likewise.
6228 * sysdeps/i386/i586/strlen.S: Likewise.
6229 * sysdeps/i386/i686/strcmp.S: Likewise.
6230 * sysdeps/i386/i686/strtok.S: Likewise.
6231 * sysdeps/i386/i686/strtok_r.S: Likewise.
6233 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
6234 * sysdeps/i386/fpu/fesetenv.c: Likewise.
6235 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
6236 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
6237 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
6239 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
6240 * sysdeps/i386/mul_1.S: Likewise.
6241 * sysdeps/i386/submul_1.S: Likewise.
6242 * sysdeps/i386/i586/add_n.S: Likewise.
6243 * sysdeps/i386/i586/addmul_1.S: Likewise.
6244 * sysdeps/i386/i586/lshift.S: Likewise.
6245 * sysdeps/i386/i586/mul_1.S: Likewise.
6246 * sysdeps/i386/i586/rshift.S: Likewise.
6247 * sysdeps/i386/i586/sub_n.S: Likewise.
6248 * sysdeps/i386/i586/submul_1.S: Likewise.
6250 2000-06-26 Ulrich Drepper <drepper@redhat.com>
6252 * rt/Makefile (librt-routines): Add clock_nanosleep.
6253 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
6254 * sysdeps/generic/clock_nanosleep.c: New file.
6255 * sysdeps/unix/clock_nanosleep.c: New file.
6256 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
6257 * time/time.h: Declare clock_nanosleep.
6259 2000-06-26 Greg McGary <greg@mcgary.org>
6261 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
6262 INSN1, INSN2, TEXT, GLOBL): Remove macros.
6263 (ALIGN): Cleanup surrounding conditionals.
6265 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
6266 Call ENTER/LEAVE macros.
6267 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
6268 * sysdeps/i386/submul_1.S: Likewise.
6270 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
6271 syntax. Define & use symbolic argument stack offsets. Call
6273 * sysdeps/i386/i586/mul_1.S: Likewise.
6274 * sysdeps/i386/i586/submul_1.S: Likewise.
6276 2000-06-25 Greg McGary <greg@mcgary.org>
6278 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
6281 2000-06-25 Ulrich Drepper <drepper@redhat.com>
6283 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
6284 * iconvdata/gen-8bit-gap.sh: Likewise.
6285 * iconvdata/gen-8bit.sh: Likewise.
6287 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
6289 * locale/programs/ld-collate.c (collate_read): Don't actually read
6290 the copy locale if we are ignoring the content.
6292 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
6295 * locale/programs/ld-collate.c: Correct handling of different
6297 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
6298 as extra parameter from which to copy category information.
6300 (load_locale): Likewise.
6301 * locale/programs/localedef.h: Update prototypes of add_to_readlist
6303 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
6304 * locale/programs/locfile.h: Likewise.
6305 * locale/programs/locfile-kw.gperf: Add entry for script.
6306 * locale/programs/locfile-token.h: Add tok_script.
6308 * locale/programs/locale.c: Update copyright year.
6309 * locale/programs/localedef.c: Likewise.
6311 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
6313 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
6314 Jens Moeller <jens.moeller@waii.com>.
6316 2000-06-24 Ulrich Drepper <drepper@redhat.com>
6318 * locale/programs/ld-name.c (name_finish): Add missing format
6319 specifier to test for name_fmt.
6321 * locale/programs/ld-address.c (iso639): Correct length of string
6323 (iso3166): Likewise.
6325 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
6327 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
6330 * elf/elf.h (NT_PRFPXREG): Define.
6332 2000-06-23 Ulrich Drepper <drepper@redhat.com>
6334 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
6335 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
6337 2000-06-23 Andreas Schwab <schwab@suse.de>
6339 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
6342 2000-06-23 Andreas Jaeger <aj@suse.de>
6344 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
6346 * io/test-stat.c: Add copyright header, mention Maciej.
6348 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
6349 SYS_mincore, SYS_madvise): Added.
6351 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
6354 2000-06-22 Ulrich Drepper <drepper@redhat.com>
6356 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
6357 (CFLAGS-tst_putwc.c): New definition.
6358 * libio/tst_getwc.c: New file.
6359 * libio/tst_getwc.input: New file.
6360 * libio/tst_putwc.c: New file.
6362 * include/string.h: Add prototype for __strdup.
6364 2000-06-22 Greg McGary <greg@mcgary.org>
6366 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
6367 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
6370 2000-06-23 Jes Sorensen <jes@linuxcare.com>
6372 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
6374 2000-06-22 Jes Sorensen <jes@linuxcare.com>
6376 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
6378 2000-06-22 Jes Sorensen <jes@linuxcare.com>
6380 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
6381 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
6383 2000-06-22 Ulrich Drepper <drepper@redhat.com>
6385 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
6386 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
6388 * sysdeps/mach/hurd/bits/stat.h: Likewise.
6389 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6390 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
6391 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6392 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
6393 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
6394 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
6395 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
6396 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6397 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
6398 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
6399 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
6400 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
6401 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
6404 2000-06-22 Andreas Jaeger <aj@suse.de>
6406 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
6409 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
6411 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
6413 2000-06-21 Ulrich Drepper <drepper@redhat.com>
6415 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
6418 2000-06-21 Greg McGary <greg@mcgary.org>
6420 * Makerules (elide-routines.*, elide-bp-thunks):
6421 Define unconditionally.
6423 2000-06-21 Jes Sorensen <jes@linuxcare.com>
6425 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
6427 2000-06-21 Andreas Jaeger <aj@suse.de>
6429 * io/Makefile (tests): Add test-stat.
6430 (CFLAGS-test-stat.c): New.
6432 * io/test-stat.c: New file from Maciej W. Rozycki
6433 <macro@ds2.pg.gda.pl>.
6435 2000-06-21 Jes Sorensen <jes@linuxcare.com>
6437 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
6438 in __rlimit_resource to make them match the kernel order.
6439 rlim_t is always 64 bit, use __rlim64_t to declare it
6442 2000-05-04 Jes Sorensen <jes@linuxcare.com>
6444 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
6445 RLIM_INFINITY before defining it to avoid clash with kernel header
6447 2000-05-03 Jes Sorensen <jes@linuxcare.com>
6449 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
6451 2000-06-21 Ulrich Drepper <drepper@redhat.com>
6453 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
6455 2000-06-21 Andreas Jaeger <aj@suse.de>
6457 * stdio-common/temptest.c: Include <stdlib.h>.
6458 * stdio-common/tst-fileno.c: Likewise.
6459 * stdio-common/scanf4.c: Likewise.
6460 * stdio-common/scanf5.c: Likewise.
6461 * time/clocktest.c: Likewise.
6462 * posix/test-vfork.c: Likewise.
6463 * posix/globtest.c: Likewise.
6464 * io/test-utime.c: Likewise.
6465 * wctype/test_wcfuncs.c: Likewise.
6466 * crypt/cert.c: Likewise.
6468 * stdio-common/tst-printfsz.c: Include <string.h>.
6469 * libio/tst_swscanf.c: Likewise.
6470 * libio/tst_wscanf.c: Likewise.
6471 * posix/runtests.c: Likewise.
6472 * posix/tst-getaddrinfo.c: Likewise.
6473 * posix/wordexp-test.c: Likewise.
6474 * misc/tst-efgcvt.c: Likewise.
6476 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
6477 * nss/test-netdb.c: Likewise.
6479 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
6480 supported kernel for MIPS.
6482 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
6483 * rt/aio_suspend.c: Likewise.
6485 2000-06-20 Ulrich Drepper <drepper@redhat.com>
6487 * math/libm-test.inc: Include <string.h>.
6489 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6491 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
6493 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6495 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
6496 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
6498 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
6500 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
6502 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6504 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
6506 2000-06-20 Ulrich Drepper <drepper@redhat.com>
6508 * locale/programs/ld-collate.c (insert_value): Now take string and
6509 length instead of struct token* parameter. Adjust use of token.
6510 (handle_ellipsis): Likewise.
6511 (collate_read): Allow <Uxxxx> names and transform them into names
6512 to be passed to insert_value and handle_ellipsis.
6514 * locale/programs/ld-ctype.c (uninames): New array with names of
6515 digits in <Uxxxxxxxx> format.
6516 (ctype_finish): Correct search for space character value. Likewise
6517 for default outdigits values.
6519 2000-06-20 Greg McGary <greg@mcgary.org>
6521 * Makerules (objects): Add BP thunks.
6523 2000-06-20 Ulrich Drepper <drepper@redhat.com>
6525 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
6526 in width definitions.
6528 2000-06-20 Andreas Jaeger <aj@suse.de>
6530 * sysdeps/mips/fpu/libm-test-ulps: New file.
6532 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
6535 * sysdeps/mips/fpu/feholdexcpt.c: New file.
6537 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
6539 2000-06-19 Ulrich Drepper <drepper@redhat.com>
6541 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
6542 change in gconv_builtin.h.
6544 * malloc/Makefile: Change all references to memprof into memusage.
6545 * malloc/memprof.c: Rename to...
6546 * malloc/memusage.c: ...this. New file.
6547 * malloc/memprof.sh: Rename to...
6548 * malloc/memusage.sh: ...this. New file.
6549 * malloc/memprofstat.c: Rename to...
6550 * malloc/memusagestat.c: ...this. New file.
6551 * sysdeps/alpha/memprof.h: Rename to..
6552 * sysdeps/alpha/memusage.h: ...this. New file.
6553 * sysdeps/arm/memprof.h: Rename to..
6554 * sysdeps/arm/memusage.h: ...this. New file.
6555 * sysdeps/generic/memprof.h: Rename to..
6556 * sysdeps/generic/memusage.h: ...this. New file.
6557 * sysdeps/i386/memprof.h: Rename to..
6558 * sysdeps/i386/memusage.h: ...this. New file.
6559 * sysdeps/ia64/memprof.h: Rename to..
6560 * sysdeps/ia64/memusage.h: ...this. New file.
6561 * sysdeps/m68k/memprof.h: Rename to..
6562 * sysdeps/m68k/memusage.h: ...this. New file.
6563 * sysdeps/mips/memprof.h: Rename to..
6564 * sysdeps/mips/memusage.h: ...this. New file.
6565 * sysdeps/powerpc/memprof.h: Rename to..
6566 * sysdeps/powerpc/memusage.h: ...this. New file.
6567 * sysdeps/sparc/memprof.h: Rename to..
6568 * sysdeps/sparc/memusage.h: ...this. New file.
6569 * sysdeps/sh/memprof.h: Rename to..
6570 * sysdeps/sh/memusage.h: ...this. New file.
6572 * elf/sprof.c (print_version): Update year.
6574 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
6575 table entry values. Use D_PTR.
6576 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
6577 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
6579 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6581 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
6582 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
6583 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
6584 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
6586 2000-05-05 Jes Sorensen <jes@linuxcare.com>
6588 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
6590 2000-06-16 Jes Sorensen <jes@linuxcare.com>
6592 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
6593 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
6594 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
6596 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
6598 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
6601 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
6602 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
6604 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
6607 2000-06-15 Jes Sorensen <jes@linuxcare.com>
6609 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
6611 2000-06-08 Jes Sorensen <jes@linuxcare.com>
6613 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
6615 2000-06-19 Ulrich Drepper <drepper@redhat.com>
6617 * iconv/gconv_int.h (strict gconv_module): Remove all members
6618 associated with regular expressions. Use a simple string as the
6620 * iconv/gconv_db.c: Remove code handling regular expressions.
6621 * iconv/gconv_conf.c: Likewise.
6622 * iconv/iconv_prog.c: Likewise.
6623 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
6625 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
6626 General namespace cleanup.
6627 (struct __gconv_trans_data): Add next field.
6628 (struct __gconv_step_data): Make __trans a pointer.
6629 * iconv/gconv_conf.c: Split out code to find gconv directories from
6630 __gconv_read_conf in new functions.
6631 * iconv/gconv_int.h: Define new data structure and declare new
6632 functions for handling of gconv directory list.
6633 * iconv/gconv_open.c: Allow more than one error handling step being
6634 used. Call function to load error handling module if it is none
6635 of the builtin transformations.
6636 * iconv/gconv_close.c: Add code to free transliteration data.
6637 * iconv/gconv_trans.c: Add functions to load and unload modules
6638 implementing transliteration etc.
6639 * iconv/skeleton.c: Call all context functions now that more than
6640 one module is allowed.
6641 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
6642 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
6643 where the full error handling using transliteration is needed.
6644 * iconvdata/8bit-gap.c: Likewise.
6645 * iconvdata/8bit-generic.c: Likewise.
6646 * iconvdata/ansi_x3.110.c: Likewise.
6647 * iconvdata/big5.c: Likewise.
6648 * iconvdata/big5hkscs.c: Likewise.
6649 * iconvdata/euc-cn.c: Likewise.
6650 * iconvdata/euc-jp.c: Likewise.
6651 * iconvdata/euc-kr.c: Likewise.
6652 * iconvdata/euc-tw.c: Likewise.
6653 * iconvdata/gbgbk.c: Likewise.
6654 * iconvdata/gbk.c: Likewise.
6655 * iconvdata/iso-2022-cn.c: Likewise.
6656 * iconvdata/iso-2022-jp.c: Likewise.
6657 * iconvdata/iso-2022-kr.c: Likewise.
6658 * iconvdata/iso646.c: Likewise.
6659 * iconvdata/iso8859-1.c: Likewise.
6660 * iconvdata/iso_6937-2.c: Likewise.
6661 * iconvdata/iso_6937.c: Likewise.
6662 * iconvdata/johab.c: Likewise.
6663 * iconvdata/sjis.c: Likewise.
6664 * iconvdata/t.61.c: Likewise.
6665 * iconvdata/uhc.c: Likewise.
6666 * iconvdata/unicode.c: Likewise.
6667 * iconvdata/utf-16.c: Likewise.
6668 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
6669 structure correctly after last change.
6670 * wcsmbs/btowc.c: Likewise.
6671 * wcsmbs/mbrtowc.c: Likewise.
6672 * wcsmbs/mbsnrtowcs.c: Likewise.
6673 * wcsmbs/mbsrtowcs.c: Likewise.
6674 * wcsmbs/wcrtomb.c: Likewise.
6675 * wcsmbs/wcsnrtombs.c: Likewise.
6676 * wcsmbs/wcsrtombs.c: Likewise.
6677 * wcsmbs/wctob.c: Likewise.
6679 * localedata/Makefile: Set -Wno-format for some files since gcc does
6680 not know all the format specifiers.
6682 2000-06-18 Ulrich Drepper <drepper@redhat.com>
6684 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
6686 * locale/lc-time.c (_nl_init_era_entries): Likewise.
6688 2000-06-18 Andreas Jaeger <aj@suse.de>
6690 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
6691 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
6693 2000-06-17 Ulrich Drepper <drepper@redhat.com>
6695 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
6697 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
6699 * locale/programs/ld-ctype.c (ctype_output): Really write out
6700 mboutdigits information.
6701 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
6702 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
6703 * localedata/tests/trans.def: Add outdigit information.
6705 * localedata/tst-mbswcs3.c: Remove comment.
6707 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
6708 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
6709 * libio/tst_wprintf.c (main): Add test for I flag.
6711 * iconv/gconv_trans.c: Implement handling if translit_ignore.
6712 * locale/langinfo.h: Add entries for translit_ignore information.
6713 * locale/categories.def: Add entries for new LC_CTYPE elements.
6714 * locale/C-ctype.c: Add initializers for new fields. Use NULL
6715 pointer instead of "" where possible.
6716 * locale/programs/ld-ctype.c: Write out translit_ignore information.
6717 * intl/Depend: Add localedata.
6718 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
6719 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
6721 2000-06-16 Ulrich Drepper <drepper@redhat.com>
6723 * locale/langinfo.h: Add entries for default_missing information.
6724 * locale/C-ctype.c: Add initializers for new fields.
6725 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
6727 * locale/categories.h: Add entries for all LC_CTYPE values.
6728 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
6731 * localedata/tst-trans.c: Write out an error message if class is
6734 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
6735 * iconv/gconv_open.c: Remove error handling specification from `from'
6737 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
6738 new parameter to always enable transliteration.
6739 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
6741 (struct locale_data): Add new members use_translit and options.
6742 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
6743 character set name contained modifier TRANSLIT.
6744 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
6746 (_nl_unload_locale): Free options string if necessary.
6747 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
6748 the locale names suggested this.
6749 * locale/C-address.c: Add two new initialilzers to adjust data
6750 structure for new format.
6751 * locale/C-collate.c: Likewise.
6752 * locale/C-ctype.c: Likewise.
6753 * locale/C-identification.c: Likewise.
6754 * locale/C-measurement.c: Likewise.
6755 * locale/C-messages.c: Likewise.
6756 * locale/C-monetary.c: Likewise.
6757 * locale/C-name.c: Likewise.
6758 * locale/C-numeric.c: Likewise.
6759 * locale/C-paper.c: Likewise.
6760 * locale/C-telephone.c: Likewise.
6761 * locale/C-time.c: Likewise.
6763 * locale/setlocale.c: Add some more __builtin_expect.
6765 2000-06-15 Ulrich Drepper <drepper@redhat.com>
6767 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
6769 (__gconv_init_fct): Remove two parameters.
6770 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
6771 gconv_transliterate. Remove two parameters.
6772 Change prototypes of builtin functions according to __gconv_fct change.
6773 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
6774 != NULL only during error handling. Stop in this case after the
6776 * iconv/gconv_trans.c: Replace with real implementation for
6777 __gconv_transliterate.
6778 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
6779 * iconv/gconv.c: Change calls to downstream functions once again.
6780 Use NULL for the fifth parameter instead of pointer to output buffer.
6781 * libio/iofwide.c: Likewise.
6782 * wcsmbs/btowc.c: Likewise.
6783 * wcsmbs/mbrtowc.c: Likewise.
6784 * wcsmbs/mbsnrtowcs.c: Likewise.
6785 * wcsmbs/mbsrtowcs.c: Likewise.
6786 * wcsmbs/wcrtomb.c: Likewise.
6787 * wcsmbs/wcsnrtombs.c: Likewise.
6788 * wcsmbs/wcsrtombs.c: Likewise.
6789 * wcsmbs/wctob.c: Likewise.
6790 * iconv/gconv_simple.c: Remove two parameters from error handling
6792 * iconvdata/8bit-gap.c: Likewise.
6793 * iconvdata/8bit-generic.c: Likewise.
6794 * iconvdata/ansi_x3.110.c: Likewise.
6795 * iconvdata/big5.c: Likewise.
6796 * iconvdata/big5hkscs.c: Likewise.
6797 * iconvdata/euc-cn.c: Likewise.
6798 * iconvdata/euc-jp.c: Likewise.
6799 * iconvdata/euc-kr.c: Likewise.
6800 * iconvdata/euc-tw.c: Likewise.
6801 * iconvdata/gbgbk.c: Likewise.
6802 * iconvdata/gbk.c: Likewise.
6803 * iconvdata/iso-2022-cn.c: Likewise.
6804 * iconvdata/iso-2022-jp.c: Likewise.
6805 * iconvdata/iso-2022-kr.c: Likewise.
6806 * iconvdata/iso646.c: Likewise.
6807 * iconvdata/iso8859-1.c: Likewise.
6808 * iconvdata/iso_6937-2.c: Likewise.
6809 * iconvdata/iso_6937.c: Likewise.
6810 * iconvdata/johab.c: Likewise.
6811 * iconvdata/sjis.c: Likewise.
6812 * iconvdata/t.61.c: Likewise.
6813 * iconvdata/uhc.c: Likewise.
6814 * iconvdata/unicode.c: Likewise.
6815 * iconvdata/utf-16.c: Likewise.
6817 2000-06-15 Greg McGary <greg@mcgary.org>
6819 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
6820 of callnum assignment. Tolerate callnum expressions containing
6823 2000-06-14 Ulrich Drepper <drepper@redhat.com>
6825 * login/Makefile (utmpd): Remove rule to build utmpd.
6827 * csu/Versions: Move libgcc frame handling functions from here...
6828 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
6829 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
6830 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
6831 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
6832 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
6833 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
6835 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
6837 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
6839 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
6841 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6843 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
6845 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
6846 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
6847 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
6848 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
6850 2000-06-14 Jakub Jelinek <jakub@redhat.com>
6852 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
6853 defined, terminate quotes and read them after the comment char.
6854 * configure.in (HAVE_SECTION_QUOTES): Test whether
6855 __attribute__((section ("x"))) puts quotes around x or not.
6856 * config.h.in (HAVE_SECTION_QUOTES): Add.
6857 * configure: Rebuilt.
6859 2000-06-14 Andreas Jaeger <aj@suse.de>
6861 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
6862 depending on the configure option --sysconfdir.
6863 Closes PR libc/1762.
6864 Patch by Andreas Schwab <schwab@suse.de>.
6866 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
6868 Reported by Jim Pick <jim@jimpick.com>.
6870 2000-06-14 Ulrich Drepper <drepper@redhat.com>
6872 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
6873 crashing the application. Emit some simple error message.
6874 Reported by mju@panasas.com [PR libc/1769].
6876 2000-06-13 Ulrich Drepper <drepper@redhat.com>
6878 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
6880 * crypt/Makefile (distribute): Add md5.h.
6882 * Makefile (distribute): Add include/shlib-compat.h.
6884 * Make-dist: Search for tests also in sysdeps hierachy.
6886 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
6887 ufc.c, speeds.c, README.ufc-crypt, and Banner.
6889 * sysdeps/sparc/Subdirs: New file.
6891 * locale/Makefile (distribute): Add weightwc.h and
6892 programs/localedef.h.
6894 * time/Makefile (distribute): Add datemsk.
6896 * sysdeps/ia64/Dist: Add softpipe.h.
6898 * sysdeps/unix/sysv/aix/Dist: New file.
6900 * posix/setpgrp.c: Moved to...
6901 * sysdeps/generic/setpgrp.c: ...here. New file.
6902 * io/mknod.c: Moved to...
6903 * sysdeps/generic/mknod.c: ...here. New file.
6905 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
6907 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
6909 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
6911 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
6912 gprsave0.S, gprrest1.S, and gprrest0.S.
6914 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
6916 * posix/Makefile (routines): Add spawnattr_getsigmask,
6917 spawnattr_getschedpolicy, spawnattr_getschedparam,
6918 spawnattr_setsigmask, spawnattr_setschedpolicy, and
6919 spawnattr_setschedparam.
6920 * posix/Versions: Add posix_spawnattr_getschedpolicy,
6921 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
6922 posix_spawnattr_setschedparam.
6924 * posix/spawnattr_setschedparam.c: Fix typo.
6926 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
6929 * login/programs/utmpd.c: Removed.
6930 * login/programs/utmpd.h: Removed.
6931 * login/programs/utmpd-private.h: Removed.
6933 * Makefile (distribute): Add include/db_185.h and include/db.h.
6935 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
6938 * elf/Makefile (distribute): Add missing files.
6940 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
6941 * elf/eval.c: Moved to...
6942 * dlfcn/eval.c: ...here. New file.
6944 * Makefile (distribute): Also distribute ChangeLog.1?.
6946 * Make-dist (+tsrcs): Remove .args handling here as well.
6948 * rt/Makefile (tests): Add tst-timer.
6949 * sysdeps/generic/tst-timer.c: New file.
6951 * Makerules (sources): Don't add BP sources here.
6953 * login/Makefile (distribute): Remove xtmp.h.
6955 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
6956 is true. Reported by Bruno Haible <haible@ilog.fr>.
6958 2000-06-13 Andreas Jaeger <aj@suse.de>
6960 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
6961 Patch by Ralf Baechle <ralf@gnu.org>.
6963 2000-06-13 Ulrich Drepper <drepper@redhat.com>
6965 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
6966 for mincore syscall.
6968 * misc/sys/cdefs.h: Define __bounded and __unbounded if
6969 __BOUNDED_POINTERS__ is not defined.
6971 2000-06-07 Greg McGary <greg@mcgary.org>
6973 * sysdeps/generic/bp-sym.h: New file.
6974 * sysdeps/generic/bp-start.h: New file.
6975 * sysdeps/i386/elf/start.S: Designate BP symbols.
6976 * sysdeps/generic/libc-start.c: Wrap bounds around
6977 argv & envp and each of their string members.
6979 2000-06-07 Greg McGary <greg@mcgary.org>
6981 * sysdeps/unix/make-syscalls.sh: Add comments to
6982 output that aid debugging & comprehension.
6983 Map simple syscall signatures to number of args.
6984 Generate BP syscall thunk definitions.
6985 * sysdeps/generic/bp-thunks.h: New file.
6986 * sysdeps/unix/syscalls.list: Replace arg-count with
6987 simple return+arg signature.
6988 * sysdeps/unix/common/syscalls.list: Likewise.
6989 * sysdeps/unix/inet/syscalls.list: Likewise.
6990 * sysdeps/unix/mman/syscalls.list: Likewise.
6991 * sysdeps/unix/sysv/syscalls.list: Likewise.
6992 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6993 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
6995 2000-06-07 Greg McGary <greg@mcgary.org>
6997 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
6998 for all files *.[cS].
6999 (CFLAGS-.ob): Don't optimize sibling calls.
7000 (bppfx): New variable.
7001 * Makerules (elide-bp-thunks): New variable.
7002 (elide-routines.*): Elide BP-* files for all but *.ob.
7003 (sources): Include bp-thunks.
7005 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7007 * iconv/gconv_simple.c: Remove unnecessary prototype.
7009 * iconv/gconv_trans.c: Pretty print.
7011 * elf/elf.h (R_SH_NUM): Got accidently dropped.
7013 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
7014 minimal kernel versions. Add information about IA-64 kernel.
7016 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
7017 specific minimal supported kernel versions to be specified.
7019 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
7020 step data structure.
7021 * wcsmbs/btowc.c: Likewise.
7022 * wcsmbs/mbrtowc.c: Likewise.
7023 * wcsmbs/mbsnrtowcs.c: Likewise.
7024 * wcsmbs/mbsrtowcs.c: Likewise.
7025 * wcsmbs/wcrtomb.c: Likewise.
7026 * wcsmbs/wcsnrtombs.c: Likewise.
7027 * wcsmbs/wcsrtombs.c: Likewise.
7028 * wcsmbs/wctob.c: Likewise.
7030 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
7031 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
7033 * shlib-versions: Earliest backward compatible version for SH is 2.2.
7035 * misc/sys/cdefs.h: Remove one more __P.
7037 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
7040 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
7041 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
7042 * sysdeps/sh/bits/setjmp.h: ...here. New file.
7044 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
7045 Yutaka Niibe <gniibe@chroot.org>
7047 * configure.in: Add machine sh3, sh4.
7048 * elf/elf.h: Add SH specific declarations of relocations.
7049 * shlib-versions: Add sh*-*-linux* cases.
7051 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7053 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
7054 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
7055 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
7056 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
7057 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
7058 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
7060 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
7061 instead of KERNEL_MATH_EMULATION.
7062 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
7063 KERNEL_MATH_EMULATION.
7065 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
7066 * sysdeps/sh/sh3/dl-machine.h: Moved to...
7067 * sysdeps/sh/dl-machine.h: ...here. New file.
7068 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
7069 and include generic SH version.
7070 * sysdeps/sh/sh3/bits/endian.h: Move to...
7071 * sysdeps/sh/bits/endian.h: ...here. New file.
7072 * sysdeps/sh/sh4/bits/endian.h: Removed.
7073 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
7074 * sysdeps/sh/bits/huge_val.h: ...here. New file.
7075 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
7077 * include/libc-symbols.h (link_warning): Work around a change in
7078 GAS which warns about changing section attributes.
7079 Proposed by Nick Clifton <nickc@redhat.com>.
7081 2000-06-12 H.J. Lu <hjl@gnu.org>
7083 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
7085 2000-06-11 H.J. Lu <hjl@gnu.org>
7087 * sysdeps/i386/fpu/Versions: New file.
7089 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7091 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
7093 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
7096 2000-06-12 Jes Sorensen <jes@linuxcare.com>
7098 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
7099 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
7100 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
7102 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
7103 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
7104 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
7106 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
7107 Yutaka Niibe <gniibe@chroot.org>
7109 * sysdeps/sh/Dist: New file.
7110 * sysdeps/sh/Implies: New file.
7111 * sysdeps/sh/elf/initfini.c: New file.
7112 * sysdeps/sh/gmp-mparam.h: New file.
7113 * sysdeps/sh/init-first.c: New file.
7114 * sysdeps/sh/machine-gmon.h: New file.
7115 * sysdeps/sh/memcpy.S: New file.
7116 * sysdeps/sh/memprof.h: New file.
7117 * sysdeps/sh/memset.S: New file.
7118 * sysdeps/sh/sh3/__longjmp.S: New file.
7119 * sysdeps/sh/sh3/bits/endian.h: New file.
7120 * sysdeps/sh/sh3/bits/huge_val.h: New file.
7121 * sysdeps/sh/sh3/bits/setjmp.h: New file.
7122 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
7123 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
7124 * sysdeps/sh/sh3/dl-machine.h: New file.
7125 * sysdeps/sh/sh3/setjmp.S: New file.
7126 * sysdeps/sh/sh4/__longjmp.S: New file.
7127 * sysdeps/sh/sh4/bits/endian.h: New file.
7128 * sysdeps/sh/sh4/bits/huge_val.h: New file.
7129 * sysdeps/sh/sh4/bits/setjmp.h: New file.
7130 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
7131 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
7132 * sysdeps/sh/sh4/dl-machine.h: New file.
7133 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
7134 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
7135 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
7136 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
7137 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
7138 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
7139 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
7140 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
7141 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
7142 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
7143 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
7144 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
7145 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
7146 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
7147 * sysdeps/sh/sh4/setjmp.S: New file.
7148 * sysdeps/sh/elf/start.S: New file.
7149 * sysdeps/sh/sys/ucontext.h: New file.
7150 * sysdeps/sh/strlen.S: New file.
7151 * sysdeps/sh/sysdep.h: New file.
7152 * sysdeps/unix/sh/sysdep.S: New file.
7153 * sysdeps/unix/sh/sysdep.h: New file.
7154 * sysdeps/unix/sysv/linux/sh/Dist: New file.
7155 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
7156 * sysdeps/unix/sysv/linux/sh/Versions: New file.
7157 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
7158 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
7159 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
7160 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
7161 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
7162 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
7163 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
7164 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
7165 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
7166 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
7167 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
7168 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
7169 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
7170 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
7171 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
7172 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
7173 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
7174 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
7175 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
7176 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
7177 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
7178 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
7179 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
7180 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
7181 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
7182 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
7183 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
7184 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
7185 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
7186 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
7187 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
7188 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
7189 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
7190 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
7191 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
7192 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
7193 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
7194 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
7195 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
7196 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
7197 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7198 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
7199 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
7200 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
7201 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
7202 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
7203 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
7205 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7207 * Rules (%.out): Define GCONV_PATH in the environment.
7208 * assert/Depend: New file.
7209 * iconvdata/Depend: New file.
7210 * intl/Depend: New file.
7211 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
7212 * intl/tst-gettext.sh: Likewise.
7213 * iconv/Makefile (routines): Add gconv_trans.
7214 * iconv/gconv_trans.c: New file.
7215 * iconv/gconv.h (struct __gconv_trans_data): New type.
7216 (__gconv_fct): New parameter with starting position in output buffer.
7217 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
7218 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
7219 (struct __gconv_step): Add new member __trans.
7220 * iconv/gconv_int.h: Pretty print prototypes.
7221 (gconv_transliterate): New prototype.
7222 (__BUILTIN_TRANS): Update for new conversion function interface.
7223 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
7224 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
7225 in names, find appropriate function, and install in the conversion
7226 steps it can be used.
7227 * iconv/skeleton.c: Add additional parameter for beginning of output
7228 buffer. Change calls of downstream functions.
7229 * iconv/loop.c: Change loop function interface completely. Pass in
7230 step and step_data structure. Remove optimization for BODY with
7231 NEED_LENGTH_TEST == 0.
7232 * iconv/gconv_simple.c: Update interfaces of functions. Insert
7233 appropriate error handling code to use transliteration steps. Remove
7234 optimization for BODY with NEED_LENGTH_TEST == 0.
7235 * iconvdata/8bit-gap.c: Likewise.
7236 * iconvdata/8bit-generic.c: Likewise.
7237 * iconvdata/ansi_x3.110.c: Likewise.
7238 * iconvdata/big5.c: Likewise.
7239 * iconvdata/big5hkscs.c: Likewise.
7240 * iconvdata/euc-cn.c: Likewise.
7241 * iconvdata/euc-jp.c: Likewise.
7242 * iconvdata/euc-kr.c: Likewise.
7243 * iconvdata/euc-tw.c: Likewise.
7244 * iconvdata/gbgbk.c: Likewise.
7245 * iconvdata/gbk.c: Likewise.
7246 * iconvdata/iso-2022-cn.c: Likewise.
7247 * iconvdata/iso-2022-jp.c: Likewise.
7248 * iconvdata/iso-2022-kr.c: Likewise.
7249 * iconvdata/iso646.c: Likewise.
7250 * iconvdata/iso8859-1.c: Likewise.
7251 * iconvdata/iso_6937-2.c: Likewise.
7252 * iconvdata/iso_6937.c: Likewise.
7253 * iconvdata/johab.c: Likewise.
7254 * iconvdata/sjis.c: Likewise.
7255 * iconvdata/t.61.c: Likewise.
7256 * iconvdata/uhc.c: Likewise.
7257 * iconvdata/unicode.c: Likewise.
7258 * iconvdata/utf-16.c: Likewise.
7259 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
7261 * wcsmbs/btowc.c: Likewise.
7262 * wcsmbs/mbrtowc.c: Likewise.
7263 * wcsmbs/mbsnrtowcs.c: Likewise.
7264 * wcsmbs/mbsrtowcs.c: Likewise.
7265 * wcsmbs/wcrtomb.c: Likewise.
7266 * wcsmbs/wcsnrtombs.c: Likewise.
7267 * wcsmbs/wcsrtombs.c: Likewise.
7268 * wcsmbs/wctob.c: Likewise.
7270 2000-04-11 Geoff Keating <geoffk@cygnus.com>
7272 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
7273 other header files. Mention about 128-byte cache line sizes.
7274 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
7275 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
7276 for current calling sequence.
7277 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
7279 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
7280 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7282 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
7283 and setrlimit syscalls for backwards compatibility.
7285 2000-06-10 Ulrich Drepper <drepper@redhat.com>
7287 * iconv/skeleton.c: Rename converted written to correcter name
7289 * iconv/gconv.c: Rename converted variable to correcter name
7291 * iconv/gconv_int.h: Likewise.
7292 * iconv/gconv_simple.c: Likewise.
7293 * iconv/iconv.c: Likewise.
7294 * iconv/loop.c: Likewise.
7295 * iconvdata/8bit-gap.c: Likewise.
7296 * iconvdata/8bit-generic.c: Likewise.
7297 * iconvdata/ansi_x3.110.c: Likewise.
7298 * iconvdata/big5.c: Likewise.
7299 * iconvdata/big5hkscs.c: Likewise.
7300 * iconvdata/euc-cn.c: Likewise.
7301 * iconvdata/euc-jp.c: Likewise.
7302 * iconvdata/euc-kr.c: Likewise.
7303 * iconvdata/gbgbk.c: Likewise.
7304 * iconvdata/gbk.c: Likewise.
7305 * iconvdata/iso-2022-cn.c: Likewise.
7306 * iconvdata/iso-2022-jp.c: Likewise.
7307 * iconvdata/iso-2022-kr.c: Likewise.
7308 * iconvdata/iso646.c: Likewise.
7309 * iconvdata/iso8859-1.c: Likewise.
7310 * iconvdata/iso_6937-2.c: Likewise.
7311 * iconvdata/iso_6937.c: Likewise.
7312 * iconvdata/johab.c: Likewise.
7313 * iconvdata/sjis.c: Likewise.
7314 * iconvdata/t.61.c: Likewise.
7315 * iconvdata/uhc.c: Likewise.
7316 * iconvdata/unicode.c: Likewise.
7317 * iconvdata/utf-16.c: Likewise.
7319 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
7320 __cmsg_data field with __extension__.
7322 2000-06-10 David Mosberger <davidm@hpl.hp.com>
7324 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
7326 2000-06-10 Ulrich Drepper <drepper@redhat.com>
7328 * iconv/gconv_simple.c: Fix various small bugs in several
7331 * iconv/loop.c: Fix comment.
7333 2000-06-10 Jakub Jelinek <jakub@redhat.com>
7335 * elf/link.h: Remove libc internal declarations.
7336 * include/link.h: Move them here.
7338 2000-06-09 Ulrich Drepper <drepper@redhat.com>
7340 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
7341 Patch by Dan Pop <Dan.Pop@cern.ch>.
7343 Rewrite error message handling.
7344 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
7346 * elf/dl-error (struct catch): Add objname member.
7347 (_dl_signal_error): Take new parameter with object name. When
7348 passing message on simply store object name and duplicate error
7350 (_dl_catch_error): Take new parameter. Store object name in the
7352 * include/dlfcn.h: Adjust _dl_catch_error prototype.
7353 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
7354 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
7355 (dlerror): Add objname to asprintf() parameters.
7356 (_dl_error_run): Pass new parameter to _dl_catch_error.
7357 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
7358 * elf/dl-open.c (_dl_open): Likewise.
7359 * elf/rtld.c (dl_main): Likewise.
7360 * elf/dl-close.c: Mark error messages with N_().
7361 * elf/dl-deps.c: Likewise.
7362 * elf/dl-error.c: Likewise.
7363 * elf/dl-load.c: Likewise.
7364 * elf/dl-open.c: Likewise.
7365 * elf/dl-reloc.c: Likewise.
7366 * elf/dl-support.c: Likewise.
7367 * elf/dl-sym.c: Likewise.
7368 * elf/dl-version.c: Likewise.
7369 * elf/dl-lookup.c: Add comments about problems with error message
7371 * elf/dl-reloc.c: Likewise.
7372 * elf/dl-version.c: Likewise.
7374 2000-06-09 H.J. Lu <hjl@gnu.org>
7376 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
7379 * dlfcn/Makefile (distribute): Add failtestmod.c.
7380 (tests): Add failtest.
7381 Add rules to build and run failtest.
7382 * dlfcn/failtest.c: New file.
7383 * dlfcn/failtestmod.c: New file.
7385 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
7387 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
7388 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
7389 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
7390 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
7391 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
7393 2000-06-09 Jes Sorensen <jes@linuxcare.com>
7395 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
7396 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
7398 2000-06-09 Jes Sorensen <jes@linuxcare.com>
7399 Ulrich Drepper <drepper@redhat.com>
7401 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
7402 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
7403 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
7404 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
7405 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
7406 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
7408 2000-06-09 Ulrich Drepper <drepper@redhat.com>
7410 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
7411 to find correct mount point despite wrong information from the
7414 2000-06-09 Jes Sorensen <jes@linuxcare.com>
7416 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
7417 the address of a symbol so function pointers are handled properly.
7419 2000-06-08 Ulrich Drepper <drepper@redhat.com>
7421 * sysdeps/i386/Dist: Add bp-asm.h.
7423 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
7424 defaultdir variable instead of "/var/shm" everywhere.
7425 (defaultdir): Change to /dev/shm/.
7427 2000-06-08 Greg McGary <greg@mcgary.org>
7429 * sysdeps/i386/bp-asm.h: New file.
7430 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
7431 offsets. Add ENTER/LEAVE macros for optionally maintaining
7432 frame-pointer chain when debugging.
7433 * sysdeps/i386/add_n.S: Likewise.
7434 * sysdeps/i386/addmul_1.S: Likewise.
7435 * sysdeps/i386/lshift.S: Likewise.
7436 * sysdeps/i386/memchr.S: Likewise.
7437 * sysdeps/i386/memcmp.S: Likewise.
7438 * sysdeps/i386/mul_1.S: Likewise.
7439 * sysdeps/i386/rawmemchr.S: Likewise.
7440 * sysdeps/i386/rshift.S: Likewise.
7441 * sysdeps/i386/stpcpy.S: Likewise.
7442 * sysdeps/i386/stpncpy.S: Likewise.
7443 * sysdeps/i386/strchr.S: Likewise.
7444 * sysdeps/i386/strchrnul.S: Likewise.
7445 * sysdeps/i386/strcspn.S: Likewise.
7446 * sysdeps/i386/strpbrk.S: Likewise.
7447 * sysdeps/i386/strrchr.S: Likewise.
7448 * sysdeps/i386/strspn.S: Likewise.
7449 * sysdeps/i386/strtok.S: Likewise.
7450 * sysdeps/i386/sub_n.S: Likewise.
7451 * sysdeps/i386/submul_1.S: Likewise.
7452 * sysdeps/i386/elf/setjmp.S: Likewise.
7453 * sysdeps/i386/i486/strcat.S: Likewise.
7454 * sysdeps/i386/i486/strlen.S: Likewise.
7455 * sysdeps/i386/i586/add_n.S: Likewise.
7456 * sysdeps/i386/i586/lshift.S: Likewise.
7457 * sysdeps/i386/i586/memcpy.S: Likewise.
7458 * sysdeps/i386/i586/memset.S: Likewise.
7459 * sysdeps/i386/i586/rshift.S: Likewise.
7460 * sysdeps/i386/i586/strchr.S: Likewise.
7461 * sysdeps/i386/i586/strcpy.S: Likewise.
7462 * sysdeps/i386/i586/strlen.S: Likewise.
7463 * sysdeps/i386/i586/sub_n.S: Likewise.
7464 * sysdeps/i386/i686/add_n.S: Likewise.
7465 * sysdeps/i386/i686/memcpy.S: Likewise.
7466 * sysdeps/i386/i686/mempcpy.S: Likewise.
7467 * sysdeps/i386/i686/memset.S: Likewise.
7468 * sysdeps/i386/i686/strcmp.S: Likewise.
7470 2000-06-08 Ulrich Drepper <drepper@redhat.com>
7472 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
7474 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
7475 256 and don't use OPEN_MAX.
7477 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
7478 use it instead of LINK_MAX.
7479 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
7481 2000-06-08 Andreas Jaeger <aj@suse.de>
7483 * libio/genops.c (_IO_list_lock): Only compile body if we're
7485 (_IO_list_unlock): Likewise.
7486 (_IO_list_resetlock): Likewise.
7488 2000-06-07 Ulrich Drepper <drepper@redhat.com>
7490 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
7491 unless user defined it.
7493 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
7494 if not defined by the user.
7496 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
7497 * libio/iofwrite.c (_IO_fwrite): Likewise.
7499 * time/time.h: Add missing __THROW for clock_getcpuclockid
7502 * elf/Makefile (distribute): Add dl-dtprocnum.h.
7503 * include/elf.h: Include also <dl-dtprocnum.h>.
7504 * elf/dl-deps.c: Likewise.
7505 * elf/dl-lookup.c: Likewise.
7506 * elf/dl-runtime.c: Likewise.
7507 * elf/dl-version.c: Likewise.
7508 * elf/do-rel.h: Likewise.
7509 * elf/dynamic-link.h: Likewise.
7510 * elf/link.h: Likewise.
7511 * elf/rtld.c: Likewise.
7512 * sysdeps/generic/dl-dtprocnum.h: New file.
7513 * sysdeps/ia64/dl-dtprocnum.h: New file.
7514 * sysdeps/mips/dl-dtprocnum.h: New file.
7515 * sysdeps/sparc/dl-dtprocnum.h: New file.
7517 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
7519 * elf/do-lookup.h: Add some __builtin_expect.
7521 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
7523 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
7524 (_dl_dynamic_weak): New variable.
7525 * elf/dl-support.c: Likewise.
7526 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
7527 * elf/do-lookup.h: If we find a weak definition treat it like a
7528 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
7529 case treat it like before.
7531 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
7533 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
7535 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
7536 using l_map_start and l_map_end.
7538 * elf/dl-version.c: Add __builtin_expect in many places.
7540 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
7543 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
7545 Lock for stdio stream list becomes global, for use in LinuxThreads.
7547 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
7548 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
7549 _IO_list_resetlock): New interface for iterating global list of
7550 streams without accessing the _IO_list_all global variable,
7551 and for manipulating the lock which protects this list.
7552 * libio/libioP.h: Likewise.
7553 * libio/Version: Add entries for the new functions.
7555 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
7556 pointer to _IO_FILE.
7558 2000-06-07 Ulrich Drepper <drepper@redhat.com>
7560 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
7561 BIT() must actually be BITw().
7563 * locale/programs/ld-ctype.c: Handle SP and space consistently.
7565 * locale/programs/charmap.c: Allow string arguments for
7566 code_set_name and repertoiremap.
7568 2000-06-07 Andreas Jaeger <aj@suse.de>
7570 * elf/Makefile: Build ldconfig only when building shared libraries.
7572 2000-06-07 Jakub Jelinek <jakub@redhat.com>
7574 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
7576 (fdimf, __fdim, fdim): Likewise.
7578 2000-06-07 Ulrich Drepper <drepper@redhat.com>
7580 * locale/findlocale.c: Add __builtin_expect in many places.
7581 * locale/loadlocale.c: Likewise.
7583 2000-06-06 Greg McGary <greg@mcgary.org>
7585 * sysdeps/mips/elf/start.S: Trim redundant code.
7587 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
7588 Use C comments throughout. Line up operands column with tabs.
7589 * sysdeps/powerpc/strchr.S: Likewise.
7590 * sysdeps/powerpc/strcmp.S: Likewise.
7591 * sysdeps/powerpc/strcpy.S: Likewise.
7592 * sysdeps/powerpc/strlen.S: Likewise.
7594 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
7595 Get low part of &__curbrk with @l.
7597 2000-06-06 Ulrich Drepper <drepper@redhat.com>
7599 * iconvdata/utf-16.c: Add __builtin_expect in many places.
7600 * iconvdata/unicode.c: Likewise.
7601 * iconvdata/uhc.c: Likewise.
7602 * iconvdata/t.61.c: Likewise.
7603 * iconvdata/sjis.c: Likewise.
7604 * iconvdata/johab.c: Likewise.
7605 * iconvdata/iso_6937.c: Likewise.
7606 * iconvdata/iso_6937-2.c: Likewise.
7607 * iconvdata/iso8859-1.c: Likewise.
7608 * iconvdata/iso646.c: Likewise.
7609 * iconvdata/iso-2022-kr.c: Likewise.
7610 * iconvdata/iso-2022-jp.c: Likewise.
7611 * iconvdata/iso-2022-cn.c: Likewise.
7612 * iconvdata/gbgbk.c: Likewise.
7613 * iconvdata/gbk.c: Likewise.
7614 * iconvdata/euc-kr.c: Likewise.
7615 * iconvdata/euc-jp.c: Likewise.
7616 * iconvdata/euc-cn.c: Likewise.
7618 2000-06-05 Ulrich Drepper <drepper@redhat.com>
7620 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
7621 * iconvdata/big5.c: Likewise.
7622 * iconvdata/ansi_x3.110.c: Likewise.
7623 * iconvdata/8bit-generic.c: Likewise.
7624 * iconvdata/8bit-gap.c: Likewise.
7625 * iconv/loop.c: Likewise.
7626 * iconv/gconv_db.c: Likewise.
7627 * iconv/gconv_dl.c: Likewise.
7628 * iconv/gconv_simple.c: Likewise.
7629 * iconv/skeleton.c: Likewise.
7631 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
7632 (struct __gconv_step_data): Rename __is_last to __flags.
7633 * iconv/gconv_close.c: Change all uses of __is_last.
7634 * iconv/skeleton.c: Likewise.
7635 * iconvdata/iso-2022-cn.c: Likewise.
7636 * iconvdata/iso-2022-jp.c: Likewise.
7637 * iconvdata/iso-2022-kr.c: Likewise.
7638 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
7639 Recognize IGNORE error handling, set flag, and remove from name.
7640 * iconv/loop.c (ignore_errors_p): Define.
7641 Add flags parameter to both functions.
7642 * iconv/skeleton.c: Pass flags to all conversion functions.
7643 * iconv/gconv_simple.c: Add flags parameter to all functions.
7644 Don't return error for invald error if ignore flag is set.
7645 (ucs4_internal_loop_single): Add missing pointer increment.
7646 (internal_ucs4le_loop_single): Likewise.
7647 * iconv/iconv_prog.c: Implement handling of -c parameter.
7648 * iconvdata/8bit-gap.c: Don't return error for invald error if
7650 * iconvdata/8bit-generic.c: Likewise.
7651 * iconvdata/ansi_x3.110.c: Likewise.
7652 * iconvdata/big5.c: Likewise.
7653 * iconvdata/big5hkscs.c: Likewise.
7654 * iconvdata/euc-cn.c: Likewise.
7655 * iconvdata/euc-jp.c: Likewise.
7656 * iconvdata/euc-kr.c: Likewise.
7657 * iconvdata/gbgbk.c: Likewise.
7658 * iconvdata/gbk.c: Likewise.
7659 * iconvdata/iso-2022-cn.c: Likewise.
7660 * iconvdata/iso-2022-jp.c: Likewise.
7661 * iconvdata/iso-2022-kr.c: Likewise.
7662 * iconvdata/iso646.c: Likewise.
7663 * iconvdata/iso8859-1.c: Likewise.
7664 * iconvdata/iso_6937-2.c: Likewise.
7665 * iconvdata/iso_6937.c: Likewise.
7666 * iconvdata/johab.c: Likewise.
7667 * iconvdata/sjis.c: Likewise.
7668 * iconvdata/t.61.c: Likewise.
7669 * iconvdata/uhc.c: Likewise.
7670 * iconvdata/unicode.c: Likewise.
7671 * iconvdata/utf-16.c: Likewise.
7672 * libio/fileops.c: Likewise.
7673 * libio/iofwide.c: Likewise.
7674 * wcsmbs/btowc.c: Likewise.
7675 * wcsmbs/mbrtowc.c: Likewise.
7676 * wcsmbs/mbsnrtowcs.c: Likewise.
7677 * wcsmbs/mbsrtowcs.c: Likewise.
7678 * wcsmbs/wcrtomb.c: Likewise.
7679 * wcsmbs/wcsnrtombs.c: Likewise.
7680 * wcsmbs/wcsrtombs.c: Likewise.
7681 * wcsmbs/wctob.c: Likewise.
7683 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
7686 2000-06-04 Ulrich Drepper <drepper@redhat.com>
7688 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
7689 counter for the object we are releasing, just decrement it.
7690 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
7692 2000-06-04 Jakub Jelinek <jakub@redhat.com>
7694 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
7697 2000-06-04 Ulrich Drepper <drepper@redhat.com>
7699 * iconvdata/big5hkscs.c: New file.
7700 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
7702 * iconvdata/gconv-modules: Add entry for new module.
7703 * iconvdata/Makefile (modules): Add BIG5HKSCS.
7704 (distribute): Add big5hkscs.c.
7706 2000-06-01 Jakub Jelinek <jakub@redhat.com>
7708 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
7709 inlines to match prototypes in mathcalls.h.
7710 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
7711 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
7712 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
7713 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7715 2000-06-03 Ulrich Drepper <drepper@redhat.com>
7717 * elf/elf.h (SHT_SUNW_move): Define.
7719 * elf/elf.h: Add more Solaris compatiblity definitions.
7721 2000-06-03 Andreas Jaeger <aj@suse.de>
7723 * sysdeps/powerpc/dl-start.S: Close open comment.
7725 2000-06-03 Jakub Jelinek <jakub@redhat.com>
7727 * inet/Versions: Fix typo in rresvport_af export.
7729 2000-06-02 Ulrich Drepper <drepper@redhat.com>
7731 * math/tgmath.h: Pretty print.
7733 2000-06-02 Andreas Jaeger <aj@suse.de>
7735 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
7736 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7738 2000-06-02 Ulrich Drepper <drepper@redhat.com>
7740 * elf/rtld.c (process_envvars): Test for = after variable name.
7742 2000-06-01 Ulrich Drepper <drepper@redhat.com>
7744 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
7745 have extra call to __gmon_start__, use the pointer we already have.
7747 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
7750 * sysdeps/i386/elf/setjmp.S: Work around change is recent
7751 binutils. gas now emits a jump through the PLT instead of a
7752 relative jump if the jump target is an exported symbol.
7754 2000-05-31 Ulrich Drepper <drepper@redhat.com>
7756 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
7758 2000-05-31 Andreas Jaeger <aj@suse.de>
7760 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
7763 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
7764 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7766 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
7768 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
7770 2000-05-30 Ulrich Drepper <drepper@redhat.com>
7772 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
7774 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
7775 * locale/localeconv.c: Make function versioned (with same definition).
7777 * elf/Makefile (modules-names): Strip before using it.
7779 2000-05-30 Andreas Jaeger <aj@suse.de>
7781 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
7782 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
7783 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
7784 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
7785 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
7786 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
7788 2000-05-29 Ulrich Drepper <drepper@redhat.com>
7790 * Makefile: Add GNU make magic.
7792 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
7794 * inet/rcmd.c: Remove __P. Remove unused variables.
7795 (iruserfopen): Make first parameter const.
7796 (ruserok_sa): Return result of ruserok2_sa.
7797 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
7798 * inet/rexec.c: Remove unused variables. Other small cleanups.
7799 * inet/ruserpass.c: Remove __P. Remove unused variables.
7800 (ruserpass): Check results of memory allocation.
7801 * include/netdb.h: Add prototype for ruserpass.
7803 2000-05-29 Andreas Jaeger <aj@suse.de>
7805 * elf/readlib.c (interpreters): Use LD_SO since this is supported
7808 2000-05-29 Jakub Jelinek <jakub@redhat.com>
7810 * inet/rcmd.c (rresvport_af): Use correct port number.
7812 2000-05-26 Andreas Schwab <schwab@suse.de>
7814 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
7815 entries in all-sonames.
7816 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
7817 preserving the old name if different for compatibility.
7819 2000-05-29 Ulrich Drepper <drepper@redhat.com>
7821 * posix/Makefile (tests): Add tst-spawn.
7822 (tst-spawn-ARGS): New variable.
7823 * posix/tst-spawn.c: New file.
7825 * posix/spawn_faction_addclose.c: Correctly account for new entry.
7826 * posix/spawn_faction_adddup2.c: Likewise.
7827 * posix/spawn_faction_addopen.c: Likewise.
7828 * posix/spawni.c: Correctly test for success of dup2 calls.
7830 * posix/tst-preadwrite.c: Check success of malloc call.
7832 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7834 * posix/Makefile (tests): Add tst-exec.
7835 (tst-exec-ARGS): New variable.
7836 * posix/tst-exec.c: New file.
7838 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
7840 2000-05-04 Andreas Jaeger <aj@suse.de>
7842 * string/string.h: Remove __strdup prototype, it's not needed in
7845 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7847 * posix/Makefile (tests): Add tst-fork.
7848 * posix/tst-fork.c: New file.
7850 * resolv/inet_pton.c: Loose __P.
7852 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7854 * libio/libioP.h (_IO_CHECK_WIDE): Define.
7855 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
7856 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
7857 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
7858 _IO_CHECK_WIDE fails.
7860 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7862 * po/da.po: New file.
7864 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
7865 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
7867 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
7868 (Other iconv Implementations): Fix typo.
7869 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
7871 2000-05-27 Andreas Jaeger <aj@suse.de>
7873 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
7875 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
7876 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
7877 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7878 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7879 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
7880 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
7882 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
7883 endianness to decide how to pass arguments.
7884 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7886 * elf/vismain.c: Use test-skeleton interface.
7887 (TEST_FUNCTION): New macro.
7888 (do_test): Renamed from main.
7890 2000-05-27 Ulrich Drepper <drepper@redhat.com>
7892 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
7893 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
7895 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
7896 handling of AI_V4MAPPED flag.
7898 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
7899 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
7900 perform lookup for T_A type and tell getanswer_r to convert the
7901 result with new argument.
7902 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
7903 Don't convert addresses from IPv4 to IPv6 here.
7904 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
7905 IPv6 is wanted. Allow qtype and type from reply to disagree if
7906 IPv4 mapping has to be done. Perform mappings if required by the
7907 caller and not if RES_USE_INET6 bit in _res.options is set.
7908 Add several __builtin_expect.
7910 2000-05-26 Ulrich Drepper <drepper@redhat.com>
7912 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
7914 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
7917 * posix/tst-preadwrite.c: Allow parallel execution of
7918 tst-preadwrite and tst-preadwrite64.
7920 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
7921 * posix/tst-truncate.c: New file.
7922 * posix/tst-truncate64.c: New file.
7924 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
7927 * posix/Makefile (tests): Add tst-preadwrite64.
7928 * posix/tst-preadwrite.c: Alloc file being used also for testing
7929 pread64 and pwrite64.
7930 * posix/tst-preadwrite64.c: New file.
7932 2000-05-26 Andreas Jaeger <aj@suse.de>
7934 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
7935 of arguments dependend on endianness.
7936 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
7938 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
7940 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7941 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7942 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7943 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7945 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
7946 endianness to check how to pass argument.
7947 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7949 * elf/ldconfig.h: Update parameter list for process_elf_file.
7951 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
7952 Add parameter file_length and pass it ot process_elf*file.
7954 * sysdeps/generic/readelflib.c (check_ptr): New.
7955 (process_elf_file): Use check_ptr to check all accesses to the
7956 mmapped file. Add parameter file_length.
7958 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
7961 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
7962 Closes PR libc/1573, reported by Bradley White
7963 <bww@laurelnetworks.com>.
7965 2000-05-25 Ulrich Drepper <drepper@redhat.com>
7967 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
7968 __FAST_MATH__ is defined.
7970 2000-05-22 Andreas Jaeger <aj@suse.de>
7972 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
7973 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
7975 * manual/math.texi (FP Function Optimizations): Document gcc
7976 -ffast-math behaviour with mathinlines.
7978 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
7979 functions unless -ffast-math is given to gcc.
7981 2000-05-23 Jakub Jelinek <jakub@redhat.com>
7983 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
7984 __sincosl): Guard with __USE_GNU.
7986 2000-05-24 Ulrich Drepper <drepper@redhat.com>
7988 * csu/Makefile (routines): Add check_fds.
7989 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
7990 binaries. Add various __builtin_expect.
7991 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
7992 * sysdeps/generic/check_fds.c: ...here. New file.
7994 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
7995 binaries if file /etc/suid-debug is available.
7997 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
7998 and wcseqorder members.
7999 (struct locale_collate_t): Likewise.
8000 (collate_finish): Assign collation sequence value to each character.
8001 Create tables for output.
8002 (collate_output): Write out tables with collation sequence information.
8003 * locale/C-collate.c: Provide C locale data for collation sequence
8005 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
8006 _NL_COLLATE_COLLSEQWC.
8007 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
8008 _NL_COLLATE_COLLSEQWC.
8009 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
8010 include fnmatch_loop.c.
8011 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
8012 character is matched by range expression. Use collation sequence
8013 table. Outside glibc fall back on simple character value comparison.
8015 2000-05-24 Andreas Jaeger <aj@suse.de>
8017 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
8020 * intl/Makefile: Run gettext-test only if msgfmt is available.
8022 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
8023 Define it for newer kernels.
8025 2000-05-23 Ulrich Drepper <drepper@redhat.com>
8027 * elf/dl-sym.c: Minor cleanups.
8029 * configure.in: Add test for .protected.
8030 * config.make.in: Add have-protected variable.
8031 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
8032 (tests-vis-yes): Add vismain.
8033 (modules-names): Add $(modules-vis-$(have-protected)).
8034 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
8035 Add rules to generate and run vismain.
8036 * elf/vismain.c: New file.
8037 * elf/vismod1.c: New file.
8038 * elf/vismod2.c: New file.
8039 * elf/vismod3.c: New file.
8041 2000-05-23 Andreas Jaeger <aj@suse.de>
8043 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
8045 * manual/search.texi (Array Sort Function): Document that qsort is
8046 not necessarily in-place.
8048 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
8049 Closes PR libc/1731.
8051 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
8052 * dirent/scandir64.c: Likewise.
8053 * pwd/getpw.c: Likewise.
8054 * stdlib/bsearch.c (bsearch): Likewise.
8055 * stdlib/tst-strtoll.c: Likewise.
8056 * localedata/collate-test.c: Likewise.
8057 * localedata/xfrm-test.c: Likewise.
8058 * posix/bsd-getpgrp.c: Likewise.
8059 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
8060 * sysdeps/generic/bits/siginfo.h: Likewise.
8061 * sysdeps/generic/bits/sockaddr.h: Likewise.
8062 * sysdeps/generic/sys/swap.h: Likewise.
8063 * sysdeps/generic/sys/sysinfo.h: Likewise.
8064 * sysdeps/generic/vfork.c: Likewise.
8065 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
8066 * sysdeps/mach/hurd/fdopen.c: Likewise.
8067 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
8068 * sysdeps/unix/sysv/linux/poll.c: Likewise.
8069 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8070 * sysdeps/unix/sysv/linux/writev.c: Likewise.
8071 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8072 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8073 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
8075 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
8076 * shadow/lckpwdf.c: Likewise.
8077 * stdlib/tst-strtol.c: Likewise.
8078 * sysdeps/generic/tcsetattr.c: Likewise.
8079 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8080 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8082 2000-05-22 Jakub Jelinek <jakub@redhat.com>
8084 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
8085 free it and set to (void *) -1.
8087 2000-05-22 Jakub Jelinek <jakub@redhat.com>
8089 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
8090 not the second character in the range.
8091 * stdio-common/tstscanf.c (main): Add testcase for the above.
8092 Reported by jik@kamens.brookline.ma.us.
8094 2000-05-21 H.J. Lu <hjl@gnu.org>
8096 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
8097 with noexec and noplt parameter.
8098 (do_lookup): Likewise.
8100 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
8101 do_lookup. Support STV_PROTECTED.
8102 (_dl_lookup_symbol_skip): Likewise.
8103 (_dl_lookup_versioned_symbol): Likewise.
8104 (_dl_lookup_versioned_symbol_skip): Likewise.
8106 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
8108 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
8110 2000-05-21 Jakub Jelinek <jakub@redhat.com>
8112 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
8113 * sysdeps/i386/bits/huge_val.h: Likewise.
8114 * sysdeps/ieee754/bits/huge_val.h: Likewise.
8115 * sysdeps/m68k/bits/huge_val.h: Likewise.
8116 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
8117 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
8119 2000-05-22 Andreas Jaeger <aj@suse.de>
8121 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
8124 2000-05-19 Andreas Jaeger <aj@suse.de>
8126 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
8127 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
8128 breaks compilation without linuxthreads.
8130 2000-05-21 Ulrich Drepper <drepper@redhat.com>
8132 * sysdeps/ia64/memccpy.S: New file.
8133 * sysdeps/ia64/memchr.S: New file.
8134 * sysdeps/ia64/memcmp.S: New file.
8135 * sysdeps/ia64/memcpy.S: New file.
8136 * sysdeps/ia64/memmove.S: New file.
8137 * sysdeps/ia64/memset.S: New file.
8138 * sysdeps/ia64/strcat.S: New file.
8139 * sysdeps/ia64/strchr.S: New file.
8140 * sysdeps/ia64/strcmp.S: New file.
8141 * sysdeps/ia64/strcpy.S: New file.
8142 * sysdeps/ia64/strlen.S: New file.
8143 * sysdeps/ia64/strncmp.S: New file.
8144 * sysdeps/ia64/strncpy.S: New file.
8145 * sysdeps/ia64/softpipe.h: New file.
8146 Patches by Dan Pop <Dan.Pop@cern.ch>.
8148 * manual/memory.texi: Document memory handling functions (mlock,
8149 munlock, mlockall, munlockall, brk, and sbrk)
8150 * manual/time.texi: Document timespec and friends.
8151 * manual/conf.texi: Fix references.
8152 * manual/ctype.texi: Likewise.
8153 * manual/errno.texi: Likewise.
8154 * manual/intro.texi: Likewise.
8155 * manual/locale.texi: Likewise.
8156 * manual/sysinfo.texi: Likewise.
8157 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8159 2000-05-09 Jes Sorensen <jes@linuxcare.com>
8161 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
8162 * sysdeps/ia64/dl-lookupcfg.h: ...here.
8164 2000-05-21 Jakub Jelinek <jakub@redhat.com>
8166 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
8169 2000-05-21 Ulrich Drepper <drepper@redhat.com>
8171 * locale/locale.h (struct lconv): Add new elements from ISO C99.
8172 * locale/localeconv.c: Initialize new elements from ISO C99.
8173 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
8174 new standard elements.
8175 * locale/categories.def: Adjust accordingly.
8177 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
8178 * iconv/iconv.c: Likewise.
8179 * conform/data/iconv.h-data: Likewise.
8180 * iconv/iconv_prog.c (process_block): Remove const from second
8182 (main): Remove const from addr definition.
8183 * manual/charset.texi (Generic Conversion Interface): Remove from
8184 inbuf parameter of iconv.
8186 * intl/dcigettext.c: Fix typo in comment.
8188 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
8190 * resolv/res_libc.c (_res): Initialize _sock to -1.
8192 2000-05-18 Jakub Jelinek <jakub@redhat.com>
8194 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
8195 (fopencookie@@GLIBC_2.2): New.
8196 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
8197 (fopencookie@GLIBC_2.0): New.
8198 * libio/Versions: Add fopencookie to GLIBC_2.2.
8200 2000-05-18 Andreas Jaeger <aj@suse.de>
8202 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
8203 Closes PR libc/1731.
8205 * manual/arith.texi (Parsing of Integers): Fix typo.
8206 Closes PR libc/1744, reported by blp@gnu.org.
8208 2000-05-17 Jakub Jelinek <jakub@redhat.com>
8210 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
8211 __extension__ to hexadecimal floating constant notation.
8212 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
8214 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
8215 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
8217 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
8218 HUGE_VALL): Likewise.
8219 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
8220 HUGE_VALL): Likewise.
8221 (HUGE_VALL): Set to HUGE_VAL on sparc32.
8223 2000-05-17 Andreas Jaeger <aj@suse.de>
8225 * string/envz.h: Add pure attributes if possible.
8227 * string/argz.h: argz_count is a pure function.
8229 * string/strings.h: Add pure and const attributes if possible.
8231 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
8232 possibly searching through the whole memory.
8233 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
8235 2000-05-17 Jakub Jelinek <jakub@redhat.com>
8237 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
8239 (_dl_cache_check_flags): Likewise.
8240 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
8243 2000-05-17 Andreas Jaeger <aj@suse.de>
8245 * manual/creature.texi (Feature Test Macros): Remove paragraph
8246 since the description is wrong.
8247 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
8249 * scripts/config.sub: New version.
8250 * scripts/config.guess: Likewise.
8251 * manual/texinfo.tex: Likewise.
8253 * time/test_time.args: Removed.
8254 * time/Makefile (test_time-ARGS): Added contents here instead.
8256 * posix/tstgetopt.args: Removed.
8257 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
8259 * Rules: Allow arguments for test files to be specified in
8260 Makefile with testname-ARGS; remove rules with .args in it.
8262 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
8263 remove old bogus rule for opendir-tst1.args.
8265 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
8267 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
8268 into objdir. This allows a readonly sourcetree.
8269 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
8271 2000-05-16 Andreas Jaeger <aj@suse.de>,
8272 David Huggins-Daines <dhd@linuxcare.com>
8274 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
8275 cache_data in case of only new cache format correctly.
8277 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
8280 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
8281 struct cache_file_new.
8283 * elf/cache.c (save_cache): Fix str_offset if only new cache is
8286 * elf/cache.c (save_cache): Align struct new_file_cache.
8287 (print_cache): Likewise.
8289 2000-05-13 Jakub Jelinek <jakub@redhat.com>
8291 * elf/soinit.c (__libc_global_ctors): Move
8292 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
8293 * resolv/resolv.h (__res_state): Added __attribute__((const)).
8294 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
8295 variable, don't define it to __res_state call.
8297 2000-05-13 Andreas Jaeger <aj@suse.de>
8299 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
8301 (AF_PPPOX): Likewise.
8302 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
8303 (AF_PPPOX): Likewise.
8305 2000-05-12 Andreas Jaeger <aj@suse.de>
8307 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
8308 Reported by tmoestl@gmx.net, closes PR libc/1732.
8310 2000-05-11 Jan Hubicka <jh@suse.cz>
8312 * misc/sys/cdefs.h: Add support for pure attribute.
8314 * include/string.h: Add __attribute_pure__ to various functions.
8315 * string/string.h: Likewise.
8317 2000-05-10 Jakub Jelinek <jakub@redhat.com>
8319 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
8321 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8323 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
8325 2000-05-10 Jakub Jelinek <jakub@redhat.com>
8327 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
8328 at proper place. Compute the high nibble correctly.
8330 2000-05-09 Jakub Jelinek <jakub@redhat.com>
8332 * elf/ldconfig.c: Include elf.h.
8334 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
8335 (_dl_vsym): Likewise.
8336 Reported by Owen Taylor <otaylor@redhat.com>.
8338 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
8341 2000-05-08 Andreas Jaeger <aj@suse.de>
8343 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
8345 * intl/bindtextdom.c (set_binding_values): Add prototype.
8347 2000-05-08 Jakub Jelinek <jakub@redhat.com>
8349 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
8350 call to elf_machine_fixup_plt.
8351 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8352 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8354 2000-05-08 Jakub Jelinek <jakub@redhat.com>
8356 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
8357 they are not dlclose'd from underneath us.
8359 2000-05-08 Andreas Schwab <schwab@suse.de>
8361 * posix/execle.c: Fix size parameter of memcpy.
8363 2000-05-08 Andreas Schwab <schwab@suse.de>
8365 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
8366 getpagesize syscall if available.
8368 2000-05-08 Andreas Jaeger <aj@suse.de>
8370 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
8373 2000-05-08 Jakub Jelinek <jakub@redhat.com>
8375 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
8376 sizeof(struct link_map *) chunks, not in bytes.
8378 2000-05-07 Ulrich Drepper <drepper@redhat.com>
8380 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
8381 only needed for locale.
8382 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
8383 It's only needed for catgets.
8384 Patches by Greg McGary <gkm@eng.ascend.com>.
8386 2000-05-07 Mark Kettenis <kettenis@gnu.org>
8388 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
8389 Remove duplicate <errno.h> include. Remove inclusion of
8390 <libintl.h> and "nsswitch.h".
8391 (set_cloexec_flag): New function, broken out of dbopen.
8392 (dbopen): Changed return type to `enum
8393 nss_status'. Mostly rewritten to make sure that we do not report
8394 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
8395 (internal_setent): Change return type to nss_status.
8396 Document, and make sure that the function
8397 behaves accordingly. Make dynamically loading the database
8398 library really thread-safe and return NSS_STATUS_UNAVAIL if it
8400 (db_cursor): Return ENOMEM is memory allocation failed. Remove
8402 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
8404 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
8405 c_get function member.
8406 * nss/nss_db/nss_db.h: Add and tweak some comments.
8407 (DBT): Move typedef before NSS_DBC typedef.
8408 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
8410 2000-05-07 H.J. Lu <hjl@gnu.org>
8412 * csu/initfini.c: Moved to ....
8413 * sysdeps/generic/initfini.c: ...here.
8415 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
8417 2000-05-07 Ulrich Drepper <drepper@redhat.com>
8419 * manual/resource.texi: Document POSIX scheduling functions.
8420 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8422 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
8423 reading anything. Reported by Andries.Brouwer@cwi.nl.
8425 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
8426 for x since promotion in comparison might leads to unexpected
8427 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
8429 * iconv/Makefile (tests): Add tst-iconv1.
8430 * iconv/tst-iconv1.c: New file.
8431 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
8432 empty input buffer over full output buffer.
8433 (ucs4_internal_loop): Likewise.
8434 (ucs4_internal_loop_unaligned): Likewise.
8435 (internal_ucs4le_loop): Likewise.
8436 (internal_ucs4le_loop_unaligned): Likewise.
8437 (ucs4le_internal_loop): Likewise.
8438 (ucs4le_internal_loop_unaligned): Likewise.
8439 Reported by yaoz@nih.gov.
8441 2000-05-06 Bruno Haible <haible@clisp.cons.org>
8443 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
8444 returned != __GCONV_OK, there is nothing to clean up.
8446 2000-05-06 Bruno Haible <haible@clisp.cons.org>
8448 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
8449 OUTPUT_CHARSET environment variables.
8451 2000-05-06 Andreas Jaeger <aj@suse.de>
8453 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
8454 (struct cache_file_new): New.
8455 (struct file_entry): New (moved from cache.c).
8456 (struct cache_file): New (moved from cache.c).
8458 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
8459 from _dl_load_cache_lookup.
8460 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
8461 the different cache formats.
8462 New variable cache_new for new format.
8464 * elf/ldconfig.h: Change according to changes in cache.c and
8465 ldconfig.c; remove cache_libcmp; add opt_format.
8467 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
8468 stuff that's defined in those headers.
8469 Add hwcap to struct lib_entry.
8470 (opt_format): New variable to select cache format.
8471 (options): Add format parameter.
8472 (is_hwcap): New function.
8473 (path_hwcap): New function.
8474 (parse_opt): Handle new format parameter.
8475 (search_dir): Handle hwcap, search also subdirectories with hwcap.
8477 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
8478 ldconfig is part of glibc.
8479 Include dl-cache.h and remove stuff that's defined there.
8480 (struct cache_entry): Add new member hwcap.
8481 (print_entry): Print hwcap, cleanup a bit.
8482 (print_cache): Print new and old formats.
8483 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
8484 (save_cache): Save new and old formats.
8485 (add_to_cache): Handle hwcap.
8487 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
8488 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
8489 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
8490 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
8491 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
8492 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
8494 2000-05-05 Bruno Haible <haible@clisp.cons.org>
8496 * intl/dcigettext.c (alignof): New macro.
8497 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
8498 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
8501 2000-05-05 Bruno Haible <haible@clisp.cons.org>
8503 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
8506 2000-05-06 Ulrich Drepper <drepper@redhat.com>
8508 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
8509 (mempcpy): Correct typo is parameter list.
8511 2000-05-06 Andreas Jaeger <aj@suse.de>
8513 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
8514 functions unless -ffast-math is given to gcc.
8516 2000-05-06 Ulrich Drepper <drepper@redhat.com>
8518 * po/ko.po: Update from translation team.
8520 2000-05-05 Ulrich Drepper <drepper@redhat.com>
8522 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
8523 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
8524 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
8525 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
8526 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
8527 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
8529 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
8530 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
8531 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
8533 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
8534 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
8535 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
8536 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
8538 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
8539 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
8541 2000-05-05 Jes Sorensen <jes@linuxcare.com>
8543 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
8544 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
8546 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
8547 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
8549 * sysdeps/ia64/Implies: New file.
8550 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
8551 * sysdeps/ia64/Makefile: New file.
8552 * sysdeps/ia64/gmp-mparam.h: New file,
8554 * sysdeps/ia64/elf/start.S: New file.
8556 * sysdeps/ia64/bits/fenv.h: New file.
8558 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
8560 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
8562 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
8564 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
8565 ia64 has 64 bit .hash entries just as the Alpha.
8567 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
8569 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
8571 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
8573 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
8574 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
8575 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
8576 * sysdeps/ia64/fpu/fegetenv.c: New file.
8577 * sysdeps/ia64/fpu/fegetexcept.c: New file.
8578 * sysdeps/ia64/fpu/fegetround.c: New file.
8579 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
8580 * sysdeps/ia64/fpu/fesetenv.c: New file.
8581 * sysdeps/ia64/fpu/fesetround.c: New file.
8582 * sysdeps/ia64/fpu/feupdateenv.c: New file.
8583 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
8584 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
8585 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
8586 * sysdeps/ia64/fpu/ftestexcept.c: New file.
8588 2000-05-05 Andreas Jaeger <aj@suse.de>
8590 * misc/tst-tsearch.c (main): Correct type for initstate argument.
8592 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8593 (_dl_string_hwcap): New, does nothing.
8595 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8596 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8597 (_dl_string_hwcap): New function, converts from string to hwcap
8599 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
8600 (_DL_HWCAP_COUNT): New.
8601 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8602 (_dl_string_hwcap): New function, converts from string to hwcap
8604 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
8605 (_DL_HWCAP_COUNT): New.
8606 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8607 (_dl_string_hwcap): New function, converts from string to hwcap
8610 2000-05-05 Ulrich Drepper <drepper@redhat.com>
8612 * elf/Makefile (distribute): Add dl-lookupcfg.h.
8613 * sysdeps/ia64/Dist: New file.
8615 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
8616 parameter to mprotect and for variable assignments.
8618 2000-05-03 Jes Sorensen <jes@linuxcare.com>
8620 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
8621 validity of map before dereferencing it.
8623 * elf/dl-reloc.c (RESOLVE_MAP): Define.
8625 2000-05-02 Jes Sorensen <jes@linuxcare.com>
8627 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
8628 lookup to the arguments to elf_machine_fixup_plt().
8630 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
8631 of the symbol being resolved to input argument list and make the
8632 function return the pointer to the reloc.
8634 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
8635 return valuie to lookup_t and return the value.
8636 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
8637 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
8638 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
8639 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
8640 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
8641 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
8643 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
8644 Make it an inline function returning value after calling
8645 __elf_machine_fixup_plt().
8647 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
8650 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
8651 obtain the symbol address.
8653 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
8654 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
8656 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
8657 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
8660 2000-04-28 Jes Sorensen <jes@linuxcare.com>
8662 * elf/dl-runtime.c (fixup): Use the portable macros to get the
8663 symbol address of an object.
8665 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
8666 the symbol address of an object.
8668 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
8669 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
8670 (_dl_lookup_symbol_skip): Likewise.
8671 (_dl_lookup_versioned_symbol): Likewise.
8672 (_dl_lookup_versioned_symbol_skip): Likewise.
8674 2000-04-27 Jes Sorensen <jes@linuxcare.com>
8676 * elf/rtld.c (_dl_start): Get the function pointer return address
8677 via _dl_start_address for architectures that need a function
8678 pointer descriptor rather than just a pointer (ia64).
8680 * sysdeps/generic/dl-lookupcfg.h: New file.
8681 * sysdeps/ia64/dl-lookupcfg.h: New file.
8682 * sysdeps/ia64/dl-machine.h: New file.
8683 * sysdeps/ia64/dl-symaddr.c: New file.
8684 * sysdeps/ia64/dl-fptr.c: New file.
8686 * elf/elf.h: Add IA-64 specific definitions.
8688 2000-05-04 Jakub Jelinek <jakub@redhat.com>
8690 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
8693 2000-05-04 Jakub Jelinek <jakub@redhat.com>
8695 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
8698 2000-04-11 Geoff Keating <geoffk@cygnus.com>
8700 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
8701 symbol. Call _dl_init rather than the old way.
8703 2000-05-04 Ulrich Drepper <drepper@redhat.com>
8705 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
8706 test for pointer in range of DSO address space.
8708 2000-05-04 Andreas Jaeger <aj@suse.de>
8710 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
8712 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8714 * locale/findlocale.c (_nl_find_locale): Add new parameter to
8715 calls of _nl_make_l10nflist.
8717 * libio/stdio.h: Make fseeko and ftello prototypes available is
8718 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
8720 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
8721 real unsetenv implementation from 1999-07-29 [PR libc/1714].
8723 2000-05-03 Bruno Haible <haible@clisp.cons.org>
8725 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
8726 before calling tfind.
8728 2000-03-05 Jakub Jelinek <jakub@redhat.com>
8730 * resolv/resolv.h (res_querydomain): Remove redefinition to
8731 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
8733 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8735 * po/gl.po: Update from translation team.
8737 * manual/intro.texi (Program Basics): Change section title.
8738 * manual/process.texi: Fix reference.
8739 (Executing a File): Add reference exec in other section.
8740 * manual/signal.texi: Fix reference.
8741 * manual/startup.texi: Document syscall function.
8742 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8744 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8746 * intl/libintl.h (bind_textdomain_codeset): New declaration.
8747 * intl/bindtextdom.c (set_binding_values): New function.
8748 (bindtextdomain): Call it.
8749 (bind_textdomain_codeset): New function.
8750 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
8751 (free_mem): Free each binding's codeset.
8752 * intl/gettextP.h (struct binding): Add codeset field.
8753 (_nl_find_domain): Add domainbinding argument.
8754 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
8755 Pass it to _nl_make_l10nflist.
8756 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
8757 (_nl_make_l10nflist): Add domainbinding argument.
8758 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
8759 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
8760 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
8762 * manual/message.texi: New node "Charset conversion in gettext".
8764 2000-04-30 Bruno Haible <haible@clisp.cons.org>
8766 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
8767 appropriate. Handle possible __read error.
8769 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8771 * intl/gettextP.h (__builtin_expect): Define as empty if not a
8773 * intl/loadinfo.h (__builtin_expect): Likewise.
8774 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
8775 __builtin_expect where appropriate.
8776 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8777 * intl/localealias.c (extend_alias_table): Return an error indicator.
8778 (read_alias_file): Bail out if extend_alias_table fails.
8780 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8782 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
8783 * intl/localealias.c: Likewise.
8785 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8787 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
8788 Initialize domain->plural and domain->nplurals even if there is no
8791 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8793 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
8794 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
8795 In case of failure, goto converted.
8797 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8799 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
8800 * iconv/gconv_int.h (norm_add_slashes): Move to here.
8801 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
8804 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8806 * intl/dcigettext.c (transcmp): Compare the domains as well.
8807 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
8809 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
8812 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8814 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
8815 Reported by Bruno Haible.
8817 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8819 * manual/arith.texi: Remove @w from @itemize.
8821 2000-05-02 Andreas Jaeger <aj@suse.de>
8823 * conform/data/tar.h-data: Add some checks for specific values.
8825 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
8828 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
8831 * conform/data/netinet/in.h-data: Add exact checks for the values
8832 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
8834 * conform/data/float.h-data: Add some minimal values.
8836 * conform/conformtest.pl: Test for macros with string constants,
8837 check for minimum and maximum values.
8838 Add limits.h to headers.
8840 * conform/data/cpio.h-data: Test for value of MAGIC.
8842 * conform/data/limits.h-data: New file.
8844 2000-04-30 Bruno Haible <haible@clisp.cons.org>
8846 * math/Makefile (headers): Add bits/fenvinline.h.
8848 2000-05-01 Ulrich Drepper <drepper@redhat.com>
8850 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
8851 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
8853 * posix/Versions: Change posix_spawnattr_getdefault and
8854 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
8855 and posix_spawnattr_setsigdefault respectively.
8856 * posix/spawn.h: Likewise.
8857 * posix/spawnattr_getdefault.h: Likewise.
8858 * posix/spawnattr_setdefault.h: Likewise.
8859 * conform/data/spawn.h-data: Likewise.
8861 2000-05-01 Andreas Jaeger <aj@suse.de>
8863 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
8865 2000-04-30 Ulrich Drepper <drepper@redhat.com>
8867 * manual/sysinfo.texi: Document getdomainname, setdomainname
8869 * manual/string.texi: Fix typo.
8870 * manual/terminal.texi: Document gtty and stty.
8871 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8873 2000-04-30 Andreas Jaeger <aj@suse.de>
8875 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
8876 accordance with Austin Draft.
8878 2000-04-30 Ulrich Drepper <drepper@redhat.com>
8880 * catgets/gencat.c (read_input_file): Use isblank and not isspace
8881 to recognize second character in comment line.
8883 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
8884 ENOBUFS if we are out of memory.
8886 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
8887 available if __USE_XOPEN2K.
8888 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
8889 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8890 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
8891 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8892 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
8893 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8894 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
8895 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
8897 2000-04-29 Ulrich Drepper <drepper@redhat.com>
8899 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
8900 Recognize option -s, -c, and -l.
8902 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
8904 * nscd/nscd.c: Start new session for nscd, drop privilegs
8905 to configured user if requested and no -S parameter are used.
8906 * nscd/nscd.conf: Add new option "server-user".
8907 * nscd/nscd_conf.c: Add support for new "server-user" option.
8908 * nscd/nscd.h: Add declaration for server_user variable.
8909 Based on patch by Chris Wing <wingc@engin.umich.edu>
8911 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8913 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
8914 that changing the __restore and __restore_rt signal return code
8917 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8919 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
8922 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8924 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
8926 2000-04-29 Ulrich Drepper <drepper@redhat.com>
8928 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
8929 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
8931 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
8932 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
8933 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
8934 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
8935 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
8936 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
8937 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
8938 posix_fallocate, and posix_madvise.
8939 * conform/data/netdb.h-data: New file.
8940 * conform/data/pthread.h-data: Add pthread_barrier_t,
8941 pthread_barrierattr_t, pthread_barrier_destroy,
8942 pthread_barrier_init, pthread_barrier_wait,
8943 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
8944 pthread_barrierattr_init, pthread_barrierattr_setpshared,
8945 pthread_condattr_getclock, pthread_condattr_setclock,
8946 pthread_getcpuclockid, pthread_mutex_timedlock,
8947 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
8948 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
8949 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
8950 * conform/data/sched.h-data: Add sched_ss_low_priority,
8951 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
8953 * conform/data/semaphore.h-data: Add sem_timedwait.
8954 * conform/data/signal.h-data: Add SIGIO.
8955 * conform/data/spawn.h-data: New file.
8956 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
8957 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
8958 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
8959 Fix typo in gmtime_r definition.
8960 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
8961 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
8962 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
8963 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
8964 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
8965 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
8966 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
8967 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
8968 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
8969 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
8970 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
8971 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
8972 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
8973 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
8974 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
8975 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
8976 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
8977 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
8978 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
8979 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
8980 typo in off_t definition.
8981 * conform/data/net/if.h-data: New file.
8982 * conform/data/netinet/in.h-data: New file.
8983 * conform/data/netinet/tcp.h-data: New file.
8984 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
8985 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
8986 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
8987 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
8988 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
8989 and posix_typed_mem_open.
8990 * conform/data/sys/socket.h-data: New file.
8991 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
8992 * conform/data/sys/types.h-data: Add pthread_barrier_t,
8993 pthread_barrierattr_t, and pthread_spinlock_t.
8994 * conform/data/sys/un.h-data: New file.
8995 * conform/data/sys/utsname.h-data: New file.
8997 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
8999 * inet/gethstbyad.c (gethostbyname): Likewise.
9000 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
9001 * inet/getipnodebyad.c (getipnodebyad): Likewise.
9002 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
9003 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
9005 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
9006 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
9007 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
9008 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
9009 * resolv/gethnamaddr.c (gethostbyname): Likewise.
9010 * resolv/netdb.h (struct hostent): Fix type of h_length member.
9011 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
9012 and second parameter.
9014 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
9017 2000-04-29 Andreas Jaeger <aj@suse.de>
9019 * conform/data/arpa/inet.h-data: New file.
9021 2000-04-28 Geoff Clare <gwc@unisoft.com>
9023 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
9024 path passed to ftw() or nftw() is an empty string.
9025 Closes PR libc/1710.
9027 2000-04-27 Ulrich Drepper <drepper@redhat.com>
9029 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
9030 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
9031 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
9032 * localedata/tst-mbswcs4.c: New file.
9033 * localedata/tst-mbswcs5.c: New file.
9035 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
9036 == NULL. Little optimization.
9038 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
9039 DT_PREINIT_ARRAYSZ).
9040 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
9042 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
9043 overflows in conversion from ASCII.
9045 2000-04-26 Jakub Jelinek <jakub@redhat.com>
9047 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
9048 * Makerules (full_config_sysdirs): Likewise.
9049 * MakeTAGS (full_config_sysdirs): Likewise.
9051 2000-04-26 Jakub Jelinek <jakub@redhat.com>
9053 * .cvsignore: Remove linuxthreads.
9054 * po/.cvsignore: Remove *.pot.
9055 * posix/glob/.cvsignore: Removed.
9056 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
9058 2000-04-25 Andreas Jaeger <aj@suse.de>
9060 * conform/Makefile (distribute): Also distribute contents of
9063 * Makerules (no_deps): Remove abi-versions.h.
9065 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
9067 2000-04-25 Jakub Jelinek <jakub@redhat.com>
9069 * sysdeps/sparc/sparc64/elf/Dist: Remove.
9070 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
9071 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
9072 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
9073 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
9074 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
9077 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
9079 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
9081 2000-04-23 Bruno Haible <haible@clisp.cons.org>
9083 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
9084 * intl/l10nflist.c: Likewise.
9086 2000-04-23 Bruno Haible <haible@clisp.cons.org>
9088 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
9089 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
9090 * intl/textdomain.c [!_LIBC]: Likewise.
9091 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
9092 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
9093 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
9096 2000-04-23 Bruno Haible <haible@clisp.cons.org>
9098 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
9099 character set conversion also in the case the translation was found
9100 after a hash collision or through binary search. Store the maximum
9101 index together with the converted message. Use iconv() when available.
9102 In case of out of memory during conversion, return the unconverted
9103 translated string, not NULL.
9105 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
9107 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
9108 to avoid name clashes with the ia32 linker.
9110 2000-04-25 Jakub Jelinek <jakub@redhat.com>
9112 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
9115 2000-04-27 Ulrich Drepper <drepper@redhat.com>
9117 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
9118 strtoumax, strfry, and memfrob.
9119 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
9120 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9122 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
9123 if this function is available.
9125 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
9128 2000-04-27 Jakub Jelinek <jakub@redhat.com>
9130 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
9132 2000-04-27 Ulrich Drepper <drepper@redhat.com>
9134 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
9135 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
9136 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
9137 * localedata/tst-mbswcs3.c: New file.
9139 2000-04-26 Ulrich Drepper <drepper@redhat.com>
9141 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
9142 characters. Don't handle incomplete characters as errors.
9143 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
9144 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
9145 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
9146 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
9147 * localedata/tst-mbswcs2.c: New file.
9149 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
9150 stored character in state in UNPACK_BYTES macro.
9151 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
9152 test for available characters, handle result of BODY code correctly.
9153 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
9154 (distribute): Add tst-mbswcs.sh.
9155 Add rule to run tst-mbswcs.sh.
9156 * localedata/tst-mbswcs.sh: New file.
9157 * localedata/tst-mbswcs1.c: New file.
9159 2000-04-26 Jakub Jelinek <jakub@redhat.com>
9161 * nis/nis_callback.c (__nis_create_callback): Do failed memory
9162 allocation fixups centrally, fix __builtin_expect call, return NULL
9163 on failure, not NIS_NOMEMORY.
9165 2000-04-27 Bruno Haible <haible@clisp.cons.org>
9167 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
9169 * intl/loadinfo.h (internal_function): Define if not already defined.
9171 2000-04-27 Andreas Jaeger <aj@suse.de>
9173 * intl/libintl.h: Fix typo, reported by Bruno Haible
9174 <haible@clisp.cons.org>.
9176 2000-04-25 Ulrich Drepper <drepper@redhat.com>
9178 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
9179 setting the state to GMON_PROF_BUSY.
9181 2000-04-24 Ulrich Drepper <drepper@redhat.com>
9183 * elf/dl-profile.c (_dl_start_profile): define all variables which
9184 do not have to be global as local variables.
9186 * nis/nis_callback.c (__nis_create_callback): Partially undo last
9187 patch. Keep needed tests for failed memory allocation.
9189 * elf/dl-reloc.c (_dl_relocate_object): Add one more
9190 __builtin_expect saying that we don't normally expect to profile.
9192 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
9193 __builtin_expect where desirable.
9195 2000-04-23 Ulrich Drepper <drepper@redhat.com>
9197 * manual/Makefile (chapters): Add syslog.
9198 * manual/syslog.texi: New file.
9199 * manual/math.texi: Fix references.
9200 * manual/terminal.texi: Likewise.
9201 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9203 2000-04-18 Jakub Jelinek <jakub@redhat.com>
9205 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
9206 stdlib.h was not included or __USE_XOPEN not defined.
9208 2000-04-23 Ulrich Drepper <drepper@redhat.com>
9210 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
9211 Patch by Zack Weinberg <zack@wolery.cumb.org>.
9213 2000-04-22 Ulrich Drepper <drepper@redhat.com>
9215 * manual/examples/subopt.c (mount_opts): Add missing terminating
9217 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
9219 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
9220 * libio/ftello.c: Likewise.
9221 * libio/ftello64.c: Likewise.
9222 * libio/ioftell.c: Likewise.
9223 * sysdeps/generic/memrchr.c: Likewise.
9224 * sysdeps/posix/libc_fatal.c: Likewise.
9225 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9226 * misc/fstab.c: Include <string.h> for strcmp prototype.
9227 * sysdeps/generic/ldsodefs.h: Likewise.
9228 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9229 Patch by Kurt Roeckx <Q@ping.be>.
9231 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
9232 Remove db-open. Change all uses.
9233 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
9235 2000-04-21 Jakub Jelinek <jakub@redhat.com>
9237 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
9238 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
9239 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
9240 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
9241 with .set noat/at to shut up warnings.
9242 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
9243 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
9244 compilation if __NR_pciconfig_iobase is not defined.
9245 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
9248 2000-04-21 Ulrich Drepper <drepper@redhat.com>
9250 * manual/sysinfo.texi: Fix typo.
9251 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
9252 Replace "high precision time" with "high accuracy clock".
9254 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
9256 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
9257 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
9259 * nis/nis_subr.c: Use __builtin_expect.
9260 * nis/ypclnt.c: Likewise.
9261 * nis/nis_getservlist.c: Likewise.
9262 * nis/nis_creategroup.c: Likewise.
9264 * nis/nis_callback.c (__nis_create_callback): Check result of
9265 memory allocation. Fix memory leaks. Use __builtin_expect.
9266 (__nis_destroy_callback): Fix memory leaks.
9268 2000-04-21 Andreas Jaeger <aj@suse.de>
9270 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
9271 * sysdeps/mips/mips64/add_n.S: Likewise.
9272 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
9273 * sysdeps/mips/mips64/lshift.S: Likewise.
9274 * sysdeps/mips/mips64/mul_1.S: Likewise.
9275 * sysdeps/mips/mips64/rshift.S: Likewise.
9276 * sysdeps/mips/mips64/setjmp.S: Likewise.
9277 * sysdeps/mips/mips64/sub_n.S: Likewise.
9278 * sysdeps/mips/mips64/submul_1.S: Likewise
9279 * sysdeps/unix/mips/sysdep.S: Likewise.
9281 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
9282 and update comment. The strtab from _dl_relocate_object can be
9285 2000-04-21 Ulrich Drepper <drepper@redhat.com>
9287 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
9288 * iconv/iconv_close.c (iconv_close): Likewise.
9289 * iconv/iconv_open.c (iconv_open): Likewise.
9291 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
9292 __builtin_expect where useful.
9294 * grp/initgroups.c (initgroups): Test for result of memory
9295 allocation and punt if it fails.
9297 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
9298 * grp/fgetgrent.c (fgetfrent): Likewise.
9299 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
9301 2000-04-21 Jakub Jelinek <jakub@redhat.com>
9303 * libio/vasprintf.c: Include string.h to get memcpy prototype.
9305 2000-04-20 Ulrich Drepper <drepper@redhat.com>
9307 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
9308 don't search for NUL byte to decrement counter.
9309 Reported by Ulrich.Brink@sap.com.
9311 * iconv/gconv_simple.c: Define separate functions to convert from
9312 UCS4/UCS4-LE to the internal encoding.
9313 * iconv/gconv_builtin.h: Use separate functions to convert from
9314 UCS4/UCS4-LE to the internal encoding.
9315 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
9316 __gconv_transform_ucs4le_internal.
9318 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
9319 output buffer overflow. Reported by Ulrich.Brink@sap.com.
9321 * iconv/skeleton.c: Add some more __builtin_expect.
9322 * iconv/loop.c: Likewise.
9324 2000-03-08 H.J. Lu <hjl@gnu.org>
9326 * posix/regex.c (regex_compile): Correctly handle "\{" when
9327 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
9329 2000-04-20 Ulrich Drepper <drepper@redhat.com>
9331 * manual/stdio.texi: Give advise about handling error when using
9333 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
9335 2000-04-19 Jakub Jelinek <jakub@redhat.com>
9337 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
9338 field to nelems * sizeof (uint32_t).
9339 * locale/programs/ld-address.c (address_output): Align word fields
9341 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9342 Don't restart idx pointers to idx end at the duo_int_curr_symbol
9344 Avoid giving arbitrary garbage in the crncystr field.
9345 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
9346 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
9348 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9349 Don't restart idx pointers to idx end at the decimal_point_wc field.
9350 * locale/programs/ld-time.c (time_output): week_1stday should be
9351 word, not byte. Align it properly.
9353 2000-04-19 H.J. Lu <hjl@gnu.org>
9355 * csu/gmon-start.c (_start): Declared as "extern void".
9358 2000-04-18 Andreas Jaeger <aj@suse.de>
9360 * manual/install.texi (Running make install): Don't mention utmpd
9363 2000-04-18 Andreas Jaeger <aj@suse.de>
9365 * linuxthreads/Versions: Use ld instead of ld.so.
9367 * elf/Makefile (ld-map): Use ld.map.
9369 * Versions.def: Use ld instead of ld.so.
9370 * elf/Versions: Likewise.
9371 * sysdeps/mach/hurd/Versions: Likewise.
9373 2000-04-20 Andreas Jaeger <aj@suse.de>
9375 * elf/rtld.c (print_statistics): Move ifndef further up.
9376 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
9377 (dl_main): Likewise.
9379 2000-04-18 Ulrich Drepper <drepper@redhat.com>
9381 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
9382 * gmon/Versions: Move moncontrol to GLIBC_2.2.
9384 * po/cs.po: Update from translation team.
9386 * sysdeps/generic/updwtmp.c: Remove daemon support.
9388 * login/Makefile (routines): Remove utmp_daemon.
9390 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
9391 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
9392 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
9393 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
9395 * elf/rtld.c: Display statitics option also if hp timing is not
9398 * login/programs/connection.c: Removed.
9399 * login/programs/database.c Removed.
9400 * login/programs/error.c: Removed.
9401 * login/programs/request.c: Removed.
9402 * login/programs/xtmp.c: Removed.
9403 * login/programs/xtmp.h: Removed.
9404 * login/Makefile: Remove rules for utmpd.
9405 * login/README.utmpd: Removed.
9406 * login/utmp_daemon.c: Removed.
9407 * login/getutent_r.c: Remove references to daemon functions.
9408 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
9411 2000-04-18 Andreas Jaeger <aj@suse.de>
9413 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
9414 2.2 for libnsl, libresolv, librt, libnss_*.
9416 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
9418 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
9420 2000-04-18 Ulrich Drepper <drepper@redhat.com>
9422 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
9423 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
9424 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
9425 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
9426 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
9427 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
9428 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
9429 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
9430 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
9431 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
9432 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
9433 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
9434 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
9436 * sysdeps/unix/sysv/aix/msync.c: New file.
9437 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
9438 * sysdeps/unix/sysv/aix/net/if.h: New file.
9439 * sysdeps/unix/sysv/aix/pipe.c: New file.
9440 * sysdeps/unix/sysv/aix/poll.c: New file.
9441 * sysdeps/unix/sysv/aix/rename.c: New file.
9442 * sysdeps/unix/sysv/aix/rmdir.c: New file.
9443 * sysdeps/unix/sysv/aix/select.c: New file.
9444 * sysdeps/unix/sysv/aix/semctl.c: New file.
9445 * sysdeps/unix/sysv/aix/semget.c: New file.
9446 * sysdeps/unix/sysv/aix/semop.c: New file.
9447 * sysdeps/unix/sysv/aix/sendto.c: New file.
9448 * sysdeps/unix/sysv/aix/setgroups.c: New file.
9449 * sysdeps/unix/sysv/aix/setpgid.c: New file.
9450 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
9451 * sysdeps/unix/sysv/aix/setpriority.c: New file.
9452 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
9453 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
9454 * sysdeps/unix/sysv/aix/setsid.c: New file.
9455 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
9456 * sysdeps/unix/sysv/aix/shmat.c: New file.
9457 * sysdeps/unix/sysv/aix/shmctl.c: New file.
9458 * sysdeps/unix/sysv/aix/shmdt.c: New file.
9459 * sysdeps/unix/sysv/aix/shmget.c: New file.
9460 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
9461 * sysdeps/unix/sysv/aix/sigstack.c: New file.
9462 * sysdeps/unix/sysv/aix/socket.c: New file.
9463 * sysdeps/unix/sysv/aix/socketpair.c: New file.
9464 * sysdeps/unix/sysv/aix/speed.c: New file.
9465 * sysdeps/unix/sysv/aix/symlink.c: New file.
9466 * sysdeps/unix/sysv/aix/sync.c: New file.
9467 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
9468 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
9469 * sysdeps/unix/sysv/aix/times.c: New file.
9470 * sysdeps/unix/sysv/aix/ulimit.c: New file.
9471 * sysdeps/unix/sysv/aix/umask.c: New file.
9472 * sysdeps/unix/sysv/aix/unlink.c: New file.
9473 * sysdeps/unix/sysv/aix/ustat.c: New file.
9474 * sysdeps/unix/sysv/aix/utimes.c: New file.
9476 2000-04-18 Andreas Jaeger <aj@suse.de>
9478 * manual/startup.texi (Environment Access): Fix putenv prototype
9479 according to recent changes.
9480 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
9483 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
9486 2000-04-18 Ulrich Drepper <drepper@redhat.com>
9488 * posix/Makefile (tests): Add tst-getaddrinfo.
9489 * posix/tst-getaddrinfo.c: New file.
9491 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9493 * manual/sysinfo.texi: Document that umount2 is not widely available.
9495 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
9496 signal timing is not really implemented.
9498 2000-04-17 Andreas Jaeger <aj@suse.de>
9500 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
9502 2000-04-17 Jakub Jelinek <jakub@redhat.com>
9504 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
9507 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9509 * manual/intro.texi: Change reference from System Information to
9511 * manual/users.texi: Likewise.
9512 * manual/conf.texi: Likewise.
9513 * manual/sysinfo.texi: Document mount, umount, and umount2.
9514 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9516 2000-04-17 Jakub Jelinek <jakub@redhat.com>
9518 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
9519 Create wnumstr as well as numstr to support wide character output
9522 2000-04-15 Jakub Jelinek <jakub@redhat.com>
9524 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
9525 modification and move it...
9526 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
9527 Add -melf64_sparc switch to $(LD) on sparc64-linux.
9528 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
9529 switch to $(LD) on sparc-linux.
9531 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
9533 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
9534 and setresuid from sysdep_routines.
9536 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9538 * manual/Makefile (chapters): Add resource.
9540 * manual/time.texi: Move section on resources to...
9541 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
9543 * manual/setjmp.texi: Adjust back reference.
9544 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9546 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
9548 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
9549 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
9550 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
9551 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
9552 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
9553 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
9554 * sysdeps/unix/sysv/aix/close.c: Add copyright.
9555 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
9556 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
9557 * sysdeps/unix/sysv/aix/access.c: Add copyright.
9558 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
9559 * sysdeps/unix/sysv/aix/Implies: New file.
9560 * sysdeps/unix/sysv/aix/Versions: New file.
9561 * sysdeps/unix/sysv/aix/bind.c: New file.
9562 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
9563 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
9564 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
9565 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
9566 * sysdeps/unix/sysv/aix/chdir.c: New file.
9567 * sysdeps/unix/sysv/aix/chmod.c: New file.
9568 * sysdeps/unix/sysv/aix/chroot.c: New file.
9569 * sysdeps/unix/sysv/aix/creat.c: New file.
9570 * sysdeps/unix/sysv/aix/dl-close.c: New file.
9571 * sysdeps/unix/sysv/aix/dl-open.c: New file.
9572 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
9573 * sysdeps/unix/sysv/aix/fchdir.c: New file.
9574 * sysdeps/unix/sysv/aix/fchmod.c: New file.
9575 * sysdeps/unix/sysv/aix/getgroups.c: New file.
9576 * sysdeps/unix/sysv/aix/gethostname.c: New file.
9577 * sysdeps/unix/sysv/aix/getpriority.c: New file.
9578 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
9579 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
9580 * sysdeps/unix/sysv/aix/getrusage.c: New file.
9581 * sysdeps/unix/sysv/aix/link.c: New file.
9582 * sysdeps/unix/sysv/aix/madvise.c: New file.
9583 * sysdeps/unix/sysv/aix/mkdir.c: New file.
9584 * sysdeps/unix/sysv/aix/mknod.c: New file.
9585 * sysdeps/unix/sysv/aix/mprotect.c: New file.
9586 * sysdeps/unix/sysv/aix/msgctl.c: New file.
9587 * sysdeps/unix/sysv/aix/msgget.c: New file.
9588 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
9590 2000-04-17 Andreas Jaeger <aj@suse.de>
9592 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
9593 as suggested by Ulrich Drepper.
9594 (__dl_runtime_resolve): Remove unused variable, initialize sym
9596 (RTLD_START): Document OFFSET_GP_GOT.
9597 (OFFSET_GP_GOT): New magic value.
9598 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
9599 (elf_machine_got_rel): Only declare strtab if needed.
9600 (elf_machine_relplt): Removed, it's not needed.
9601 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
9603 * sysdeps/mips/add_n.S: Add newline at EOF.
9604 * sysdeps/mips/rshift.S: Likewise.
9605 * sysdeps/mips/mul_1.S: Likewise.
9606 * sysdeps/mips/lshift.S: Likewise.
9607 * sysdeps/mips/addmul_1.S: Likewise.
9609 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9611 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
9613 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
9614 * elf/dl-lookup.c: Likewise.
9615 * elf/dl-init.c (_dl_init): Likewise.
9616 * elf/dl-fini.c (_dl_fini): Likewise.
9617 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9618 * elf/dl-close.c (_dl_close): Likewise.
9619 * elf/rtld.c (_dl_start_final): Likewise.
9621 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
9623 2000-04-15 Ulrich Drepper <drepper@redhat.com>
9625 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
9626 only fall back on using Linux.
9628 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
9629 Before testing versions check that we actually loaded the object
9630 and whether we are in trace mode. If not loaded during tracing don't
9631 test versions in this object.
9632 (_dl_check_all_versions): Take new parameter and pass to
9633 _dl_check_map_versions.
9634 * sysdeps/generic/ldsodefs.h: Update prototypes for
9635 _dl_check_all_versions and _dl_check_map_versions.
9636 * elf/rtld.c (struct version_check_args): Add dotrace.
9637 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
9638 (dl_main): Pass info about trace mode to version_check_doit.
9639 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
9640 _dl_check_all_versions.
9642 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
9644 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9646 * manual/argp.texi: Document index parameter of argp_parse.
9648 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
9650 2000-04-14 Andreas Jaeger <aj@suse.de>
9652 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
9653 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
9655 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
9657 2000-04-15 Ulrich Drepper <drepper@redhat.com>
9659 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
9660 compat_symbol call for old adjtime.
9662 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
9663 function interface. Patch by Richard Henderson <rth@cygnus.com>.
9665 * posix/Makefile (headers): Add spawn.h.
9666 (distribute): Add spawn_int.h.
9667 (routines): Add spawn_faction_init, spawn_faction_destroy,
9668 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
9669 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
9670 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
9671 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
9672 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
9673 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
9674 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
9675 posix_spawnattr_init, posix_spawnattr_destroy,
9676 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
9677 posix_spawnattr_getflags, posix_spawnattr_setflags,
9678 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
9680 * posix/spawn.c: New file.
9681 * posix/spawn.h: New file.
9682 * posix/spawn_faction_addclose.c: New file.
9683 * posix/spawn_faction_adddup2.c: New file.
9684 * posix/spawn_faction_addopen.c: New file.
9685 * posix/spawn_faction_destroy.c: New file.
9686 * posix/spawn_faction_init.c: New file.
9687 * posix/spawn_int.h: New file.
9688 * posix/spawnattr_destroy.c: New file.
9689 * posix/spawnattr_getdefault.c: New file.
9690 * posix/spawnattr_getflags.c: New file.
9691 * posix/spawnattr_getpgroup.c: New file.
9692 * posix/spawnattr_getschedparam.c: New file.
9693 * posix/spawnattr_getschedpolicy.c: New file.
9694 * posix/spawnattr_getsigmask.c: New file.
9695 * posix/spawnattr_init.c: New file.
9696 * posix/spawnattr_setdefault.c: New file.
9697 * posix/spawnattr_setflags.c: New file.
9698 * posix/spawnattr_setpgroup.c: New file.
9699 * posix/spawnattr_setschedparam.c: New file.
9700 * posix/spawnattr_setschedpolicy.c: New file.
9701 * posix/spawnattr_setsigmask.c: New file.
9702 * posix/spawni.c: New file.
9703 * posix/spawnp.c: New file.
9705 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
9706 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
9708 2000-04-14 Ulrich Drepper <drepper@redhat.com>
9710 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
9711 * malloc/malloc.c: Implement posix_memalign for glibc.
9712 * include/stdlib.h: Add prototype for __posix_memalign.
9713 * stdlib/stdlib.h: Add prototype for posix_memalign.
9715 2000-04-14 Andreas Jaeger <aj@suse.de>
9717 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
9719 (elf_machine_got_rel): Cast sym correctly.
9721 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
9722 * sysdeps/mips/addmul_1.S: Likewise.
9723 * sysdeps/mips/lshift.S: Likewise.
9724 * sysdeps/mips/mul_1.S: Likewise.
9725 * sysdeps/mips/rshift.S: Likewise.
9726 * sysdeps/mips/sub_n.S: Likewise.
9727 * sysdeps/mips/submul_1.S: Likewise.
9729 * stdlib/stdlib.h: Fix typo in comment.
9731 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
9732 2.2 for libdl, ld and libm.
9734 * sysdeps/generic/madvise.c: Fix typos.
9736 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
9738 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
9740 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
9743 2000-04-14 Ulrich Drepper <drepper@redhat.com>
9745 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
9746 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
9747 Make old name weak alias.
9748 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
9749 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
9750 Make old name weak alias.
9751 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
9753 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
9754 posix_fallocate, and posix_fallocate64.
9755 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
9756 posix_fallocate, and posix_fallocate64.
9757 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
9758 posix_fallocate, and posix_fallocate64.
9759 * sysdeps/generic/fadvise.c: New file.
9760 * sysdeps/generic/fadvise64.c: New file.
9761 * sysdeps/generic/fallocate.c: New file.
9762 * sysdeps/generic/fallocate64.c: New file.
9763 * sysdeps/posix/fallocate.c: New file.
9764 * sysdeps/posix/fallocate64.c: New file.
9765 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
9766 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
9767 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
9768 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
9769 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
9770 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
9771 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9772 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
9773 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9775 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
9776 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9778 2000-04-13 Ulrich Drepper <drepper@redhat.com>
9780 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
9781 * misc/sys/mman.h (posix_madvise): Add prototype.
9782 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
9783 old name and posix_madvise weak aliases.
9784 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9785 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
9786 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
9787 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9788 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
9789 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9790 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9792 2000-04-13 Andreas Jaeger <aj@suse.de>
9794 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
9796 (elf_machine_got_rel): Only add runtime display if needed.
9797 (elf_machine_got_rel): Handle symbol versioning.
9799 2000-04-13 Andreas Jaeger <aj@suse.de>
9801 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
9803 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
9806 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
9807 with some applications.
9808 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
9810 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
9811 * sysdeps/mips/bsd-_setjmp.S: Likewise.
9812 * sysdeps/mips/setjmp.S: Likewise.
9814 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
9816 2000-04-13 Ulrich Drepper <drepper@redhat.com>
9818 * posix/globtest.sh: Work around inconsistency with expanding ~/
9819 in shell (PR libc/1690). Reported by patsmith@pobox.com.
9821 2000-04-12 Ulrich Drepper <drepper@redhat.com>
9823 * posix/getconf.c: Add support for many more POSIX options.
9824 * sysdeps/posix/sysconf.c: Likewise.
9825 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
9826 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
9828 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
9829 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
9830 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
9831 CLOCK_THREAD_CPUTIME_ID.
9832 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
9833 CLOCK_PROCESS_CPUTIME_ID.
9834 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
9835 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
9836 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
9837 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
9839 * malloc/Makefile (tests): Add tst-calloc.
9840 * malloc/tst-calloc.c: New file.
9842 * sysdeps/arm/libm-test-ulps: New file.
9844 * malloc/malloc.c: Undo all of today's changes.
9846 * locale/programs/locale.c (show_info): Don't try to look into
9847 data for LC_ALL (there is none).
9849 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
9850 avoid writing over boundary.
9851 Patch by Greg McGary <gkm@eng.ascend.com>.
9853 * sysdeps/arm/memprof.h: New file.
9855 2000-04-12 Andreas Jaeger <aj@suse.de>
9857 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
9859 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
9860 for memmem declaration.
9862 2000-04-12 Ulrich Drepper <drepper@redhat.com>
9864 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
9866 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9868 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
9870 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9871 Patch by Bart Veer <bartv@redhat.com>.
9873 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
9876 2000-04-11 Andreas Jaeger <aj@suse.de>
9878 * sysdeps/mips/dl-machine.h: Update some comments.
9879 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
9881 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9883 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
9884 _POSIX_SHARED_MEMORY_OBJECTS.
9886 * rt/Makefile (tests): Add tst-shm.
9887 Add rules to generate tst-shm.
9888 * rt/tst-shm.c: New file.
9890 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
9893 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
9894 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
9895 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
9896 * sysdeps/generic/shm_open.c: New file.
9897 * sysdeps/generic/shm_unlink.c: New file.
9898 * sysdeps/unix/sysv/linux/shm_open.c: New file.
9899 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
9900 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
9901 __endmntent, __getmntent_r, __setmntent, and __statfs.
9903 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
9904 fragmentation by allocating new memory at the end instead of
9907 * posix/globtest.sh: Fix last change.
9909 2000-04-10 Philip Blundell <philb@gnu.org>
9911 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
9912 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
9913 IPV6_DROP_MEMBERSHIP.
9914 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
9917 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9919 * elf/readlib (process_file): Close streams in case of an error.
9921 2000-04-09 Andreas Jaeger <aj@suse.de>
9923 * elf/readlib.c (process_file): Check if file is big enough to
9924 contain aout and ELF headers.
9925 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
9927 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
9929 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
9931 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9933 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
9935 * rt/Makefile (tests): Add tst-clock.
9936 Add rules to build tst-clock.
9937 * rt/tst-clock.c: New file.
9938 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
9939 about initialization of nsec.
9940 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
9941 about initialization of freq. Set retval to zero if successful.
9942 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
9944 2000-04-10 Ulrich Drepper <drepper@redhat.com>
9946 * Versions.def (librt): Add GLIBC_2.2.
9947 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
9948 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
9949 timer_getoverr, timer_gettime, and timer_settime.
9950 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
9951 clock_settime, timer_create, timer_delete, timer_getoverrun,
9952 timer_gettime, and timer_settime.
9953 * sysdeps/generic/clock_getcpuclockid.c: New file.
9954 * sysdeps/generic/get_clockfreq.c: New file.
9955 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
9956 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
9957 * sysdeps/mach/hurd/i386/bits/time.h: New file.
9958 * sysdeps/unix/i386/i586/clock_getres.c: New file.
9959 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
9960 * sysdeps/unix/i386/i686/Implies: New file.
9961 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
9962 * time/Makefile (routines): Move clock_getres, clock_gettime,
9963 clock_settime, timer_create, timer_delete, timer_getoverr,
9964 timer_gettime, and timer_settime to rt/Makefile.
9965 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
9966 clock_settime, timer_create, timer_delete, timer_getoverrun,
9967 timer_gettime, and timer_settime.
9968 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
9970 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
9971 and not const as attribute name.
9973 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
9975 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
9977 2000-04-10 Andreas Schwab <schwab@suse.de>
9979 * posix/globtest.sh: Skip tests that depend on unreadable
9980 directories if run as root.
9982 2000-04-10 Ulrich Drepper <drepper@redhat.com>
9984 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
9985 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
9987 2000-04-09 Ulrich Drepper <drepper@redhat.com>
9989 * sysdeps/unix/clock_gettime.c: New file.
9990 * sysdeps/unix/clock_settime.c: New file.
9991 * sysdeps/posix/clock_getres.c: New file.
9993 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
9995 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
9996 lseek call be passing in a buffer which never allow a successful
9997 first getdents syscall if not at leas the initial entry can be
9998 stored in the user buffer.
10000 * localedata/Makefile: Add rules to clean up directories created by
10003 2000-04-09 Geoff Clare <gwc@unisoft.com>
10005 * localedata/tst-fmon.data: Added new tests for strfmon()
10006 using test locales with all combinations of cs_precedes,
10007 sign_posn and sep_by_space.
10008 * localedata/tst-fmon.sh: Updated to support the new tests.
10009 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
10010 the localedef source for the new strfmon() test locale.
10011 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
10012 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
10013 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
10014 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
10015 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
10016 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
10017 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
10018 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
10019 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
10020 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
10021 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
10022 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
10023 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
10024 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
10026 * stdlib/strfmon.c: Correct problems with missing or extra
10027 spaces for unusual combinations of sign_posn and sep_by_space.
10028 Improved left-precision alignment code.
10030 2000-04-07 Andreas Jaeger <aj@suse.de>
10032 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
10034 2000-04-10 Andreas Jaeger <aj@suse.de>
10036 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
10038 2000-04-09 Ulrich Drepper <drepper@redhat.com>
10040 Implement handling of restartable conversion functions according to
10042 * iconv/gconv.h (__gconv_fct): Add additional parameter.
10043 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
10044 * iconv/gconv.c: Pass additional parameter to conversion function.
10045 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
10046 (internal_ucs4le_loop_single): New function.
10047 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
10048 (__gconv_transform_internal_ascii): Likewise.
10049 (__gconv_transform_internal_utf8): Likewise.
10050 (__gconv_transform_utf8_internal): Likewise.
10051 (__gconv_transform_ucs2_internal): Likewise.
10052 (__gconv_transform_internal_ucs2): Likewise.
10053 (__gconv_transform_ucs2reverse_internal): Likewise.
10054 (__gconv_transform_internal_ucs2reverse): Likewise.
10055 (internal_ucs4le_loop_unaligned): Before return
10056 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
10057 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
10058 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
10059 * iconv/loop.c: Fit in definition of function to convert one character
10060 for processing of left-over bytes from the state object.
10061 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
10062 inend to match names in loop functions.
10063 (RESET_INPUT_BUFFER): Change apprpriately.
10064 (gconv): If needed, call function to process bytes from the state
10065 object. Similar at the end: store left over bytes if input is
10067 Take extra argument and add new argument to all calls of the
10068 conversion function.
10069 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
10070 information in the state object to not conflict with length count.
10071 * iconvdata/iso-2022-jp.c: Likewise.
10072 * iconvdata/iso-2022-kr.c: Likewise.
10073 * iconvdata/unicode.c: Adjust for change change in parameters of
10075 * iconvdata/utf-16.c: Likewise.
10076 * libio/iofwide.c: Add new parameter to all calls of conversion
10078 * wcsmbs/btowc.c: Likewise.
10079 * wcsmbs/mbrtowc.c: Likewise.
10080 * wcsmbs/mbsnrtowcs.c: Likewise.
10081 * wcsmbs/mbsrtowcs.c: Likewise.
10082 * wcsmbs/wcrtomb.c: Likewise.
10083 * wcsmbs/wcsnrtombs.c: Likewise.
10084 * wcsmbs/wcsrtombs.c: Likewise.
10085 * wcsmbs/wctob.c: Likewise.
10087 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
10090 2000-04-07 Andreas Jaeger <aj@suse.de>
10092 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
10095 2000-04-07 Ulrich Drepper <drepper@redhat.com>
10097 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
10098 element a union to allow byte access.
10099 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
10101 * iconvdata/iso-2022-jp.c: Likewise.
10102 * iconvdata/iso-2022-kr.c: Likewise.
10103 * wcsmbs/mbsinit.c: Likewise.
10104 * stdlib/mblen.c: Likewise.
10105 * stdio-common/printf-parse.h: Likewise.
10107 2000-04-06 Ulrich Drepper <drepper@redhat.com>
10109 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
10110 kernel does not allow relative seeks on descriptors associated
10111 with directories. Go back to get the position in the directory
10112 every time we enter the function. Return -1 and set errno if one
10113 entry could be read from the kernel but does not fit into the
10114 buffer passed in by the user.
10116 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
10117 Support ..(2).. ellipsis.
10118 (parse_charmap): Recognize ..(2).. etc and pass step down.
10119 Correctly generate names for UCS4 characters.
10121 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
10122 (ctype_finish): We know the wide character value for <SP>,
10124 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
10125 (charclass_ucs4_ellipsis): Likewise.
10126 (read_translit_ignore_entry): Store ellipsis step.
10127 (ctype_read): Recognize ..(2).. etc and pass step down.
10129 * locale/programs/linereader.c (lr_token): When seeing comment
10130 character ignore only rest of line in sources but stop at escaped
10132 Recognize ..(2).. and ....(2).....
10134 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
10135 and tok_ellipsis4_2.
10137 2000-04-06 Andreas Jaeger <aj@suse.de>
10139 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
10140 removed, remove it here also.
10141 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
10142 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
10143 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
10144 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
10146 2000-04-06 Jakub Jelinek <jakub@redhat.com>
10148 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
10149 include bits/sigcontext.h.
10150 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10152 2000-04-06 Ulrich Drepper <drepper@redhat.com>
10154 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
10155 collation symbol definition. Value in quivalence definition must
10156 be defined, don't check that it is not.
10158 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
10159 values as character names.
10161 * locale/programs/ld-ctype.c (get_character): Handle missing
10162 repertoire map correctly.
10164 2000-04-05 Cristian Gafton <gafton@redhat.com>
10166 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
10167 because it is used in generic code.
10168 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
10169 * wcsmbs/wcwidth.h: Declare __ctype32_b.
10170 * intl/gettext.c: Include <locale.h>.
10171 * intl/ngettext.c: Likewise.
10173 2000-04-05 Jakub Jelinek <jakub@redhat.com>
10175 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
10176 socklen_t type for size.
10177 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
10178 init function interface.
10179 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10180 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
10182 (__jmp_buf): Declare the whole type structure here, don't use
10185 2000-04-05 Ulrich Drepper <drepper@redhat.com>
10187 * iconv/skeleton.c (put16u): Fix typo.
10188 Reported by Bruno Haible <haible@ilog.fr>.
10190 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
10191 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
10192 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
10193 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
10194 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
10195 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
10197 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
10198 * Makefile (distribute): Add abi-versions.awk and
10200 Patches by Torsten Duwe <duwe@caldera.de>.
10202 2000-04-05 Andreas Schwab <schwab@suse.de>
10204 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
10206 2000-04-05 Andreas Schwab <schwab@suse.de>
10208 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
10209 entry point, used on Hurd.
10211 2000-04-04 Andreas Jaeger <aj@suse.de>
10213 * intl/Makefile: Only run the gettext test with shared libraries.
10215 2000-03-16 Mark Kettenis <kettenis@gnu.org>
10217 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
10218 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
10220 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
10222 * Makeconfig: Undo last change.
10223 * configure.in: If --disable-shared was given, don't set VERSIONING,
10224 don't define DO_VERSIONING, and don't give scare warning for no
10226 * configure: Regenerated.
10228 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
10230 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
10232 2000-04-04 Andreas Jaeger <aj@suse.de>
10234 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
10236 2000-04-04 Ulrich Drepper <drepper@redhat.com>
10238 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
10239 STV_HIDDEN and STV_INTERNAL during lookup.
10240 (profile_fixup): Likewise.
10241 * elf/dl-reloc.c (RESOLVE): Likewise.
10243 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
10244 unaligned so that it compiles for system which need unaligned
10247 2000-04-04 Andreas Schwab <schwab@suse.de>
10249 * elf/cache.c (print_entry): Only look at the type field when
10252 2000-04-04 Andreas Schwab <schwab@suse.de>
10254 * iconvdata/big5.c (BODY): Fix typo.
10256 2000-04-04 Andreas Schwab <schwab@suse.de>
10258 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
10259 function interface. Remove unused _dl_start_user entry point.
10261 2000-04-03 Andreas Jaeger <aj@suse.de>
10263 * include/arpa/inet.h (__inet_aton): Add protoype.
10265 2000-04-01 Andreas Jaeger <aj@suse.de>
10267 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
10269 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
10270 * sysdeps/mach/mips/thread_state.h: Likewise.
10272 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
10273 * sysdeps/generic/fegetenv.c: Likewise.
10274 * sysdeps/generic/fesetenv.c: Likewise.
10275 * sysdeps/generic/feupdateenv.c: Likewise.
10276 * sysdeps/generic/fraiseexcpt.c: Likewise.
10277 * sysdeps/generic/fsetexcptflg.c: Likewise.
10278 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
10279 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
10280 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10281 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10283 2000-04-02 H.J. Lu <hjl@gnu.org>
10285 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
10287 2000-04-03 Ulrich Drepper <drepper@redhat.com>
10289 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
10290 (add_name_to_object): Add cast in malloc call.
10291 (fillin_rpath): Optimize loop to initialize ->status a bit.
10293 * sysdeps/i386/dl-machine.h: Undo last change.
10294 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
10295 Restore %edx register after call here.
10297 * sysdeps/arm/atomicity.h: New file.
10298 Contributed by Jesper Skov <jskov@redhat.com>.
10300 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
10302 * Makeconfig (preprocess-versions): Undo last change.
10303 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
10305 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
10306 here, before we might move the stack.
10307 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
10308 (init1): And not here.
10310 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
10311 change, to restore argc value in call-clobbered register after
10312 RTLD_START_SPECIAL_INIT, which will contain a call.
10314 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
10315 allocating and initializing L->l_initfini.
10317 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
10319 2000-04-03 Ulrich Drepper <drepper@redhat.com>
10321 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
10322 RUNPATH, RPATH, and LD_LIBRARY_PATH.
10323 (open_path): Change type of fourth parameter. Make pointer to array
10324 of pointers. Create variable dirs with original type.
10325 Track whether any directory for the object exists and if not,
10326 change *DIRSP to (void*) -1 to signal there is no such search path.
10327 (_dl_map_object): Change all calls of open_path.
10328 Rewrite decompose_rpath calls.
10330 2000-03-31 Andreas Schwab <schwab@suse.de>
10332 * string/strfry.c: Declare STATE as array of char instead of int
10333 and do not initialize it (done by initstate_r). Pass correct
10336 2000-04-03 Ulrich Drepper <drepper@redhat.com>
10338 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
10340 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
10341 instruction out of the code.
10343 2000-04-02 Ulrich Drepper <drepper@redhat.com>
10345 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
10346 element at this position.
10348 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
10349 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
10350 l_reldeps elements.
10351 * elf/dl-lookup.c (add_dependency): New function.
10352 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
10353 dynamically loaded object.
10354 (_dl_lookup_symbol_skip): Likewise.
10355 (_dl_lookup_versioned_symbol): Likewise.
10356 (_dl_lookup_versioned_symbol_skip): Likewise.
10357 * elf/dl-open.c: Don't define _dl_load_lock here...
10358 * elf/rtld.c: ...but here...
10359 * elf/dl-support.c: ...and here.
10360 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
10361 through relocation.
10362 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
10364 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
10366 * dlfcn/glrefmain.c: Add one more debug message.
10368 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
10370 * Makerules (sysd-versions): Use ( ) instead of { }.
10372 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
10373 optimize for the non-debugging case.
10374 * elf/dl-lookup.c: Likewise.
10375 * sysdeps/generic/libc-start.c: Likewise.
10377 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
10379 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
10380 (init1): Don't initialize __environ here, since init already does it.
10381 (first_init): New function, broken out of _init.
10382 (_hurd_stack_setup): Use it.
10383 [SHARED] (_dl_init_first): New function, renamed from old _init.
10384 (init1) [SHARED]: Don't call posixland_init here.
10385 (posixland_init): Take ENVP arg, so signature is usual for initializer.
10386 [SHARED] (_init): Define as alias for posixland_init.
10387 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
10388 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
10389 RTLD_START_SPECIAL_INIT before calling initializers.
10390 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
10391 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
10392 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
10393 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
10395 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
10396 since we define the function with the name `tmpfile'.
10398 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
10399 * hurd/Versions: Likewise.
10401 2000-04-02 Ulrich Drepper <drepper@redhat.com>
10403 * elf/dl-runtime.c (fixup): Fix typo in comment.
10405 * resolv/netdb.h (getnameinfo): All length parameters are of type
10407 * inet/getnameinfo.c: Likewise.
10409 2000-04-01 Ulrich Drepper <drepper@redhat.com>
10411 * posix/unistd.h (socklen_t): Define if it has not yet happened.
10412 (gethostname): Change type of second parameter to socklen_t.
10413 * include/unistd.h (__gethostname): Change type of second
10414 parameter to socklen_t.
10415 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
10416 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
10417 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
10418 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
10420 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
10421 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
10422 Allow definition elsewhere.
10423 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
10424 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10425 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
10426 * sysdeps/generic/bits/types.h: Define __socklen_t.
10427 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
10428 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
10429 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10430 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10431 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
10432 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
10433 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
10435 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
10436 (inet_lnaof): Likewise.
10437 (inet_netof): Likewise.
10438 (inet_network): Likewise.
10439 (inet_aton): Likewise.
10440 (inet_makeaddr): Change parameter types to in_addr_t.
10441 (inet_neta): Likewise.
10442 (inet_ntop): Change type of last parameter to socklen_t.
10443 (inet_aton): Only make available if __USE_MISC.
10444 (inet_neta): Likewise.
10445 (inet_net_ntop): Likewise.
10446 (inet_net_pton): Likewise.
10447 (inet_nsap_ntoa): Likewise.
10449 * inet/in.h: Define in_port_t type.
10450 Define in_addr_t type.
10451 (struct in_addr): Use in_addr_t in definition.
10452 (IN_CLASSA): Use cast to in_addr_t.
10453 (IN_CLASSB): Likewise.
10454 (IN_CLASSC): Likewise.
10455 (IN_CLASSD): Likewise.
10456 (IN_EXPERIMENTAL): Likewise.
10457 (IN_BADCLASS): Likewise.
10458 (INADDR_ANY): Likewise.
10459 (INADDR_BROADCAST): Likewise.
10460 (INADDR_NONE): Likewise.
10461 (INADDR_LOOPBACK): Likewise.
10462 (INADDR_UNSPEC_GROUP): Likewise.
10463 (INADDR_ALLHOSTS_GROUP): Likewise.
10464 (INADDR_ALLRTRS_GROUP): Likewise.
10465 (INADDR_MAX_LOCAL_GROUP): Likewise.
10466 (struct sockaddr_in): Use in_port_t for sin_port element.
10467 (struct sockaddr_in6): Use in_port_t for sin6_port element.
10468 Use uint8_t instead of u_int8_t.
10470 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
10471 Call __inet_aton instead of inet_aton.
10472 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
10474 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
10475 (innetgr): Likewise.
10476 (struct addrinfo): Use socklen_t for ai_addrlen element.
10478 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
10479 IPV6_RECVERR): New defines.
10481 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
10482 * inet/getnetbyad.c: Likewise.
10483 * inet/getnetbyad_r.c: Likewise.
10484 * nis/nss_nis/nis-network.c: Likewise.
10485 * nis/nssplus_nis/nisplus-network.c: Likewise.
10486 * nss/nss_files/files-network.c: Likewise.
10487 * resolv/netdb.h: Define uint32_t if not already happened.
10488 Include bits/netdb.h. Remove definition of struct netent.
10489 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
10490 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
10491 * sysdeps/generic/bits/netdb.h: New file.
10492 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
10494 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
10495 (tests): Add glrefmain.
10496 Add rules to build modules and run tests. Ignore result of glrefmain
10497 for now since it fails.
10498 * dlfcn/glrefmain.c: New file.
10499 * dlfcn/glreflib1.c: New file.
10500 * dlfcn/glreflib2.c: New file.
10502 * test-skeleton.c: Include <string.h> for strsignal prototype.
10504 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
10507 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
10508 former init-first.h. Initialize __libc_multiple_libcs.
10510 2000-03-31 Ulrich Drepper <drepper@redhat.com>
10512 * iconv/skeleton.c: Define access macros with u suffix. Adjust
10513 #if expression for use of unaligned function to the one used in
10514 the definition of these functions.
10515 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
10516 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
10517 (internal_ucs4le_loop_unaligned): New function.
10519 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
10520 (tests): Add order.
10521 (module-names): Add dep1, dep2, dep3, and dep4.
10522 Add dependencies for dep* modules and order.
10523 Define rule for order.out which checks the result.
10524 * elf/dep1.c: New file.
10525 * elf/dep2.c: New file.
10526 * elf/dep3.c: New file.
10527 * elf/dep4.c: New file.
10528 * elf/order.c: New file.
10530 * elf/dl-init.c: Fix typo in comment.
10532 2000-03-31 Andreas Jaeger <aj@suse.de>
10534 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
10535 init function interface.
10536 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
10538 2000-03-31 Andreas Jaeger <aj@suse.de>
10540 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
10541 * sysdeps/mips/fpu/fegetenv.c: Likewise.
10542 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
10543 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
10544 * sysdeps/mips/fpu/fesetenv.c: Likewise.
10546 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
10547 anymore, update comment.
10549 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10551 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
10552 SHLIB_COMPAT - the struct is always needed.
10554 2000-03-31 Ulrich Drepper <drepper@redhat.com>
10556 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
10557 * elf/dl-support.c: Define _dl_starting_up.
10559 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10561 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
10562 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
10564 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
10566 * elf/Makefile (dl-routines): Remove preinit.
10567 * elf/Versions: Remove _dl_preinit.
10568 * elf/dl-preinit.c: Removed. Move content into...
10569 * elf/dl-init.c: ...here.
10570 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
10572 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
10575 2000-03-29 Geoff Clare <gwc@unisoft.com>
10577 * stdlib/strfmon.c: Corrected problems with the code that
10578 sets default values for [np]_sep_by_space and
10579 [np]_sign_posn; also the new positive/negative alignment
10580 code from the previous patch was not quite right for
10581 [np]_sign_posn = 0.
10583 * localedata/tst-fmon.data: Changes corresponding to the
10584 two sets of fixes made to stdlib/strfmon.c.
10586 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
10588 * malloc/malloc.c: Declare bit flags UL so that they will not
10589 default to int size when being inverted.
10591 2000-03-29 Andreas Jaeger <aj@suse.de>
10593 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
10594 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
10596 2000-03-29 Andreas Jaeger <aj@suse.de>,
10597 Ralf Baechle <ralf@uni-koblenz.de>
10599 * Makeconfig: Introduce new variable SHARED to mark code used in
10600 the shared library.
10601 * elf/dl-close.c: Use it instead of PIC.
10602 * elf/dl-load.c: Likewise.
10603 * elf/dl-open.c: Likewise.
10604 * hurd/geteuids.c: Likewise.
10605 * include/libc-symbols.h: Likewise.
10606 * include/shlib-compat.h: Likewise.
10607 * libio/freopen.c: Likewise.
10608 * linuxthreads/cancel.c: Likewise.
10609 * linuxthreads/pthread.c: Likewise.
10610 * linuxthreads/wrapsyscall.c: Likewise.
10611 * nss/nsswitch.c: Likewise.
10612 * stdio-common/vfprintf.c: Likewise.
10613 * sysdeps/arm/init-first.c: Likewise.
10614 * sysdeps/i386/init-first.c: Likewise
10615 * sysdeps/generic/init-first.c: Likewise.
10616 * sysdeps/generic/libc-start.c: Likewise.
10617 * sysdeps/mips/init-first.c: Likewise.
10618 * sysdeps/powerpc/elf/libc-start.c: Likewise.
10619 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10620 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
10621 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
10622 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10624 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
10626 2000-03-29 Andreas Jaeger <aj@suse.de>
10628 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
10629 Use D_PTR to access relocated entries in l_info.
10630 (elf_machine_rela): Likewise.
10632 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
10634 (elf_machine_rela): Likewise.
10636 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
10638 (__elf_machine_fixup_plt): Likewise.
10639 (__process_machine_rela): Likewise.
10641 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
10642 (elf_machine_rela): Likewise.
10644 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
10645 (elf_machine_rel): Likewise.
10647 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
10648 (elf_machine_fixup_plt): Likewise.
10649 (elf_machine_rela): Likewise.
10651 2000-03-29 Andreas Jaeger <aj@suse.de>
10653 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
10654 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10655 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10656 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
10657 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10658 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
10659 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
10660 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
10661 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10662 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
10663 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
10664 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
10665 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
10666 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
10667 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10669 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
10670 macros, remove K&R prototypes.
10672 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10674 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
10675 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
10678 2000-03-30 Andreas Jaeger <aj@suse.de>
10680 * misc/sys/cdefs.h: Remove K&R support.
10682 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10684 * iconv/skeleton.c: Avoid compiling unaligned versions in some
10686 * iconv/loop.c: Likewise.
10688 2000-03-29 Bruno Haible <haible@clisp.cons.org>
10690 * iconv/loop.c (put16): Remove __const. Fix access index.
10691 (put32): Remove __const. Use uint32_t instead of uint16_t.
10692 * iconv/skeleton.c: Likewise.
10694 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
10696 * mach/Versions (libc: GLIBC_2.0)
10697 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
10698 __vm_allocate on this.
10699 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
10700 mutex- and spinlock-related symbols on this.
10701 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
10702 New version set. Lock-related symbols go here instead in this case.
10703 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
10704 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
10705 cthread_getspecific, cthread_setspecific, __libc_getspecific.
10707 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
10708 Put them here instead.
10709 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
10710 New version set. Those cthreads symbols go here instead in this case.
10711 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
10713 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10715 * elf/dl-init.c (_dl_init): We don't need to call constructors
10716 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
10718 Implement dynamic determination of constructor/destructor order in
10719 the dynamic linker.
10720 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
10721 (GLIBC_2.2): Add _dl_init.
10722 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
10723 r_duplist is not anymore allocated separately. l_initfini is and
10724 therefore free it if necessary.
10725 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
10726 malloc block. Otherwise allocate l_initfini list only.
10727 Put dependencies for the object in l_initfini list.
10728 Sort dependencies for the object to be loaded topologically.
10729 * elf/dl-fini.c: Before running the destructors sort the topologically.
10730 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
10731 call constructors instead of iterating over the pointers. Get list of
10732 objects for which to run constructors from l_initfini element. Accept
10733 argc, argv, and env as parameters and pass them to the constructors.
10734 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
10735 with size of dynamic section.
10736 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
10737 _dl_init_next and calling constructors ourself.
10738 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
10739 Take argc, argv, and env as parameters and pass them to the
10740 constructors. Rewrite to call all constructors and not iterate over
10742 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
10743 precompute l_initcount and l_preinitcount.
10744 * elf/link.h (struct link_map): Add l_ldnum member.
10745 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
10746 l_initcount, and l_preinitcount. Add l_initfini.
10747 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
10749 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
10750 function interface.
10751 * sysdeps/unix/sysv/linux/init-first.h: Removed.
10752 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
10753 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
10754 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
10755 conventions now match.
10757 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
10758 effect for shared objects. Don't emit message and call only for
10761 2000-03-29 Ulrich Drepper <drepper@redhat.com>
10763 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
10764 CSA_Z243.4-1985-1..UCS2.
10765 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
10768 2000-03-29 Andreas Jaeger <aj@suse.de>
10770 * include/unistd.h: Remove duplicate entry for __rmdir.
10771 Remove declaration of __mkdir since __mkdir is declared in
10774 * manual/creature.texi (Feature Test Macros): Fix typo, reported
10775 by Michael Deutschmann <michael@talamasca.ocis.net>.
10777 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
10778 * sysdeps/mips/fpu/fegetenv.c: Likewise.
10779 * sysdeps/mips/fpu/fesetenv.c: Likewise.
10780 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
10781 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
10783 2000-03-28 Andreas Jaeger <aj@suse.de>
10785 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
10786 declaration, the prototype is defined via bits/mathcalls.h.
10787 (__sincosf): Likewise.
10788 (__sincosl): Likewise.
10790 (ldexpf): Likewise.
10791 (ldexpl): Likewise.
10792 (__finite): Likewise.
10793 (__inline_mathcodeNP): New macro without prototype
10795 (__inline_mathcodeNP2): Likewise.
10796 (__inline_mathcodeNP3): Likewise.
10797 (__inline_mathcodeNP_): Likewise.
10798 (__inline_mathcodeNP2_): Likewise.
10799 (__inline_mathcodeNP3_): Likewise.
10800 (__inline_mathopNP): Likewise.
10801 (__inline_mathop_declNP): Likewise.
10802 (__inline_mathop_declNP_): Likewise.
10803 (__inline_mathcode_): Use __inline_mathcodeNP_.
10804 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
10805 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
10806 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
10807 (__expm1l): Don't define prototype, the prototype is defined via
10810 (__expl): Likewise.
10813 (__atan2l): Likewise.
10818 (__fabsl): Likewise.
10836 (__sqrtl): Likewise.
10846 2000-03-28 Ulrich Drepper <drepper@redhat.com>
10848 * Makerules: If make variable md5 is defined to yes after
10849 generating dependencies generate MD5 sum for the object.
10851 * iconv/gconv_builtin.h: Fix length in transformation definition
10854 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
10856 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
10857 allow as well reading from/writing to unaligned addresses on machines
10858 which don't support this in hardware. Use FCTNAME macro to define
10859 function name. Include the file a second time for platforms which
10860 need special unaligned handling.
10861 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
10862 to access potentially unaligned addresses. These macros are intended
10863 to be used only outside the loops.
10864 (unaligned): New definition. In case the machine can handle unaligned
10865 access define as zero. Otherwise as a variable which is initialized
10866 as nonzero in case the buffer passed in at runtime is unaligned with
10867 respect to the character set encoding involved.
10868 Call aligned or unaligned looop functions according to unaligned
10870 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
10871 of direct casting pointer to potentially handle unaligned memory
10873 * iconvdata/8bit-generic.c: Likewise.
10874 * iconvdata/ansi_x3.110.c: Likewise.
10875 * iconvdata/big5.c: Likewise.
10876 * iconvdata/euc-cn.c: Likewise.
10877 * iconvdata/euc-jp.c: Likewise.
10878 * iconvdata/euc-kr.c: Likewise.
10879 * iconvdata/euc-tw.c: Likewise.
10880 * iconvdata/gbk.c: Likewise.
10881 * iconvdata/iso-2022-cn.c: Likewise.
10882 * iconvdata/iso-2022-jp.c: Likewise.
10883 * iconvdata/iso-2022-kr.c: Likewise.
10884 * iconvdata/iso646.c: Likewise.
10885 * iconvdata/iso_6937-2.c: Likewise.
10886 * iconvdata/iso_6937.c: Likewise.
10887 * iconvdata/johab.c: Likewise.
10888 * iconvdata/sjis.c: Likewise.
10889 * iconvdata/t.61.c: Likewise.
10890 * iconvdata/uhc.c: Likewise.
10891 * iconvdata/unicode.c: Likewise.
10892 * iconvdata/utf-16.c: Likewise.
10894 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
10897 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
10898 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
10900 * malloc/mcheck.h (mcheck_check_all): Declare.
10902 * stdio-common/Makefile (tests): Add tst-obprintf.
10904 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
10906 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
10907 Declare pthread_sigmask.
10909 * csu/version.c: Add 2000 to copyright years.
10910 Remove Emacs local variables section.
10912 2000-03-23 Bruno Haible <haible@clisp.cons.org>
10914 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
10915 __gconv_transform_internal_ucs2little): Remove declarations.
10916 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
10917 __gconv_transform_internal_ucs2): Never need to bswap_16.
10918 (__gconv_transform_ucs2reverse_internal,
10919 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
10921 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
10923 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
10924 obsoleting version not being defined at all, in which case the
10925 result is always true.
10927 * Makeconfig (preprocess-versions): New canned sequence for running
10928 cpp on shlib-versions and the like.
10929 (soversions.i): Use it.
10930 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
10931 Versions.def and Versions files.
10933 2000-03-27 Ulrich Drepper <drepper@redhat.com>
10935 * stdio-common/tst-obprintf.c (main): Add another check to see
10936 obstack_printf handling all possible beginnings of the block
10937 inside an obstack chunk.
10939 * locale/programs/localedef.c: Use __malloc_initialize_hook to
10940 install mcheck handler.
10942 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
10945 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
10947 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
10949 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
10950 on [HAVE_ELF && DO_VERSIONING].
10952 2000-03-27 Ulrich Drepper <drepper@redhat.com>
10954 * stdio-common/tst-obprintf.c: New file.
10956 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10958 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
10959 _IO_OVERFLOW directly instead through __overflow.
10961 * locale/programs/localedef.c (construct_output_path): If path
10962 contains a / compute the end of the directory name correctly.
10964 * include/features.h: Undef and document __USE_XOPEN2K.
10966 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
10967 whenever a function is called. Initiated by calling mcheck_pedantic
10969 * malloc/mcheck.h: Declare mcheck_pedantic.
10970 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
10971 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
10974 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
10976 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
10977 * dlfcn/dlopenold.c: Likewise.
10978 * nss/getXXbyYY_r.c: Likewise.
10979 * nss/getXXent_r.c: Likewise.
10980 * hurd/hurdinit.c: Likewise.
10981 * hurd/compat-20.c: Likewise.
10982 * libio/oldiofopen.c: Likewise.
10983 * libio/oldiofclose.c: Likewise.
10984 * libio/oldiofdopen.c: Likewise.
10985 * libio/oldfileops.c: Likewise.
10986 * libio/oldstdfiles.c: Likewise.
10987 * libio/oldiofsetpos.c: Likewise.
10988 * libio/oldiofgetpos.c: Likewise.
10989 * libio/oldiofgetpos64.c: Likewise.
10990 * libio/oldiofsetpos64.c: Likewise.
10991 * libio/oldiopopen.c: Likewise.
10992 * libio/oldpclose.c: Likewise.
10993 * libio/oldtmpfile.c: Likewise.
10994 * libio/freopen.c (freopen): Likewise.
10995 * libio/iofclose.c (_IO_new_fclose): Likewise.
10997 * sysdeps/mach/sys/reboot.h: Include <features.h>.
10998 (reboot): Declare it.
11000 * libio/Makefile (headers): Add bits/stdio-lock.h here.
11002 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
11004 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
11006 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
11007 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
11008 We need this for the sbrk decl, which can be included without Unix98.
11010 2000-03-20 Richard Henderson <rth@cygnus.com>
11012 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
11013 argument to yperr2nss is an int, not size_t.
11014 * posix/regex.c (print_partial_compiled_pattern): Cast all
11015 ptrdiff_t to long for printing.
11016 (print_compiled_pattern): Use Z for printing size_t.
11017 * posix/testfnm.c (tests): Avoid trigraphs.
11018 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
11019 Use a C comment, not an assembly comment.
11021 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
11022 of __ASSUME_32BITUIDS.
11024 2000-03-26 Ulrich Drepper <drepper@redhat.com>
11026 * libio/iofopncook.c: Remove K&R prototypes.
11028 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
11030 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
11031 an initial value of 1024 instead of RLIM_INFINITY.
11033 * Versions.def (libmachuser, libhurduser): Remove these sections,
11034 since these libraries do not presently use symbol versions.
11036 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
11037 is RLIM_INFINITY, return -1 instead.
11039 2000-03-24 Andreas Jaeger <aj@suse.de>
11041 * Makefile (postclean): Added soversions.i.
11043 2000-03-24 Scott Bambrough <scottb@netwinder.org>
11045 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
11046 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
11047 and _FPU_IEEE. Change _FPU_RESERVED.
11049 2000-03-24 Scott Bambrough <scottb@netwinder.org>
11051 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
11053 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
11055 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
11056 (gaih_inet): Remove unused duplicate variable.
11058 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
11059 Don't use __libc_sa_len, which only exists for Linux. Just handle
11060 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
11061 only flavors supported by this function anyway.
11063 2000-03-24 Geoff Clare <gwc@unisoft.com>
11065 * stdlib/strfmon.c: Corrected problems with missing signs and
11066 missing or extra spaces; allow for sign strings longer than
11067 one character; add padding to ensure positive and negative
11068 formats are aligned when a left precision is used.
11070 2000-03-26 Ulrich Drepper <drepper@redhat.com>
11072 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
11073 Patch by John Mizel <John.Mizel@msdw.com>.
11075 2000-03-25 Ulrich Drepper <drepper@redhat.com>
11077 * manual/install.texi: Remove references to crypt add-on.
11079 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
11081 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
11082 section while taking the _hurd_rlimit_lock.
11083 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
11085 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
11087 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
11090 * sysdeps/mach/hurd/if_index.c: New file.
11092 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
11093 * sysdeps/gnu/net/if.h: here.
11094 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
11095 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
11096 * sysdeps/generic/net/if.h: New file. Declares just the standard
11097 functions and `struct if_nameindex' type.
11098 * socket/Makefile (headers): Add net/if.h here.
11099 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
11100 * sysdeps/mach/hurd/Dist: Remove it here.
11101 * sysdeps/unix/sysv/linux/Dist: And here.
11102 * sysdeps/generic/if_index.c: Include <net/if.h>.
11104 2000-03-24 Andreas Jaeger <aj@suse.de>
11106 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
11107 access relocated entries in l_info.
11108 (elf_machine_got_rel): Likewise.
11109 (elf_machine_runtime_setup): Likewise.
11110 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
11111 (elf_machine_runtime_setup): Likewise.
11112 (__dl_runtime_resolve): Likewise.
11114 2000-03-23 Ulrich Drepper <drepper@redhat.com>
11116 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
11117 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
11118 according to RFC 2553.
11119 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
11120 * inet/getnameinfo.c: Likewise.
11121 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
11123 2000-03-23 Bruno Haible <haible@clisp.cons.org>
11125 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
11126 Remove no-op pointer increment.
11128 2000-03-23 Andreas Jaeger <aj@suse.de>
11130 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
11131 follow change for libio.h from 2000-03-10.
11133 2000-03-23 Andreas Jaeger <aj@suse.de>
11135 * elf/dl-addr.c: Adjust include paths for ldsodefs location
11137 * elf/dl-debug.c: Likewise.
11138 * elf/dl-deps.c: Likewise.
11139 * elf/dl-error.c: Likewise.
11140 * elf/dl-fini.c: Likewise.
11141 * elf/dl-init.c: Likewise.
11142 * elf/dl-load.c: Likewise.
11143 * elf/dl-lookup.c: Likewise.
11144 * elf/dl-minimal.c: Likewise.
11145 * elf/dl-object.c: Likewise.
11146 * elf/dl-open.c: Likewise.
11147 * elf/dl-preinit.c: Likewise.
11148 * elf/dl-profile.c: Likewise.
11149 * elf/dl-profstub.c: Likewise.
11150 * elf/dl-reloc.c: Likewise.
11151 * elf/dl-runtime.c: Likewise.
11152 * elf/dl-support.c: Likewise.
11153 * elf/dl-symbol.c: Likewise.
11154 * elf/dl-version.c: Likewise.
11155 * elf/rtld.c: Likewise.
11156 * elf/sprof.c: Likewise.
11157 * sysdeps/generic/dl-cache.c: Likewise.
11158 * sysdeps/generic/dl-origin.c: Likewise.
11159 * sysdeps/generic/dl-sysdep.c: Likewise.
11160 * sysdeps/generic/elf/backtracesyms.c: Likewise.
11161 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11162 * sysdeps/generic/libc-start.c: Likewise.
11163 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11164 * sysdeps/powerpc/dl-machine.c: Likewise.
11165 * sysdeps/powerpc/elf/libc-start.c: Likewise.
11166 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11167 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11168 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
11170 * elf/ldsodefs.h: Move file to ...
11171 * sysdeps/generic/ldsodefs.h: ... here.
11173 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
11175 * sysdeps/mips/elf/ldsodefs.h: New file.
11177 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
11179 (_dl_check_map_versions): Likewise.
11180 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11181 * elf/dl-load.c (_dl_init_paths): Likewise.
11182 (_dl_map_object): Likewise.
11183 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
11184 (elf_get_dynamic_info): Likewise.
11185 * elf/do-lookup.h (FCT): Likewise.
11186 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
11187 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11188 * elf/dl-addr.c (_dl_addr): Likewise.
11189 * elf/dl-runtime.c (profile_fixup): Likewise.
11191 * elf/dl-init.c (_dl_init_next): Likewise.
11192 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
11193 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
11194 (DISTINGUISH_LIB_VERSIONS): Likewise.
11195 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
11196 (elf_machine_rel): Likewise.
11198 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
11199 for writable dynamic section.
11201 2000-03-22 Ulrich Drepper <drepper@redhat.com>
11203 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
11204 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
11206 2000-03-22 Andreas Jaeger <aj@suse.de>
11208 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
11209 from latest Linux kernel.
11211 2000-03-21 Andreas Jaeger <aj@suse.de>
11213 * Versions.def: Add version 2.1.4.
11215 2000-03-21 Ulrich Drepper <drepper@redhat.com>
11217 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
11218 * libio/oldiofopen.c: Likewise.
11219 * libio/oldiofclose.c: Likewise.
11220 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
11222 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
11224 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
11225 indicating the first version set to obsolete the conditionalized code.
11226 (compat_symbol): New macro.
11227 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
11228 rhs be the ABI_* macro for the subsuming version. Assign increasing
11229 integer values to the ABI_* macros for supported versions.
11230 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
11231 compat_symbol macro.
11233 2000-03-21 Ulrich Drepper <drepper@redhat.com>
11235 * nscd/connections.c (nscd_run): Pretty print.
11236 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
11238 * manual/charset.texi: Fix typos. Rephrase.
11239 * manual/process.texi: Likewise.
11240 * manual/signal.texi: Likewise.
11241 Patches by Mike Coleman <mkc@kc.net>.
11243 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
11245 * libio/iofdopen.c: Likewise.
11246 * libio/iofgetpos.c: Likewise.
11247 * libio/iofgetpos64.c: Likewise.
11248 * libio/iofopen.c: Likewise.
11249 * libio/iofsetpos.c: Likewise.
11250 * libio/iofsetpos64.c: Likewise.
11251 * libio/iopopen.c: Likewise.
11252 * libio/oldiofopen.c: Likewise.
11253 * libio/pclose.c: Likewise.
11254 * sysdeps/gnu/siglist.c: Likewise.
11255 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
11257 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
11258 chance to expand VERSION_##lib##_##version.
11260 * libio/fileops.c: Use new macros from shlib-compat.h to define
11262 * libio/iofclose.c: Likewise.
11263 * libio/oldiofclose.c: Likewise.
11264 Patch by Roland McGrath <roland@frob.com>.
11266 2000-03-21 Jakub Jelinek <jakub@redhat.com>
11268 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
11269 Lay out struct sigcontext according to what really gets passed on
11271 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
11272 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
11273 (prgregset_t, prfpregset_t): Define to elf_* types.
11274 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
11275 Define to correct value.
11276 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
11278 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
11280 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
11282 * scripts/firstversions.awk: Allow multiple version sets in the
11283 "earliest version" specification, meaning that version sets in the
11284 gaps between listed versions should be folded into the earliest later
11285 version that is explicitly listed.
11286 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
11287 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
11289 2000-03-21 Ulrich Drepper <drepper@redhat.com>
11291 * iconv/gconv_builtin.c: Include <endian.h>.
11292 * iconv/gconv_builtin.h: Add UCS-BE aliases.
11293 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
11294 according to current platform.
11295 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
11296 __gconv_transform_internal_ucs2reverse, and
11297 __gconv_transform_internal_ucs4le.
11298 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
11299 __gconv_transform_ucs2reverse_internal and
11300 __gconv_transform_internal_ucs2reverse.
11301 * iconvdata/Makefile (modules): Add UNICODE.
11302 (distribute): Add unicode.c.
11303 * iconvdata/gconv-modules: Add definitions for UNICODE module.
11304 * iconvdata/unicode.c: New file.
11306 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
11307 determine byte order of input and convert accordingly.
11309 * iconvdata/utf-16.c (gconv_init): Fix typo.
11311 2000-03-20 Ulrich Drepper <drepper@redhat.com>
11313 * iconvdata/gconv-modules: Fix typo.
11315 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
11318 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
11320 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
11322 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
11324 2000-03-20 Ulrich Drepper <drepper@redhat.com>
11326 * misc/Makefile (routines): Add mincore.
11328 2000-03-20 Andreas Jaeger <aj@suse.de>
11330 * sysdeps/generic/mincore.c: New stub file.
11332 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
11333 from latest Linux kernel.
11335 2000-03-20 Ulrich Drepper <drepper@redhat.com>
11337 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
11338 _SC_GETPW_R_SIZE_MAX.
11340 2000-03-20 Richard Henderson <rth@cygnus.com>
11342 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
11345 2000-03-20 Richard Henderson <rth@cygnus.com>
11347 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
11348 of arithmetic instructions.
11350 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
11351 with the fpcr. Protect from INV exception.
11352 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
11353 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
11354 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
11356 * sysdeps/alpha/fpu/s_copysign.c: New.
11357 * sysdeps/alpha/fpu/s_copysignf.c: New.
11358 * sysdeps/alpha/fpu/s_fabs.c: New.
11359 * sysdeps/alpha/fpu/s_fabsf.c: New.
11360 * sysdeps/alpha/fpu/s_rint.c: New.
11361 * sysdeps/alpha/fpu/s_rintf.c: New.
11363 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
11365 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
11367 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
11368 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
11369 Use physical addresses not KSEG addresses.
11370 (io_system): Add PYXIS.
11371 (io): Remove hae.reg, sys, hae_shift.
11372 (stb_mb, stw_mb, stl_mb, __sethae): New.
11373 (inline_outb, inline_outw, inline_outl): Don't set hae.
11374 (inline_inb, inline_inw, inline_inl): Likewise.
11375 (dense_sethae): New null function.
11376 (struct cpuinfo_data): New.
11377 (process_cpuinfo): Use local and stack variables, not static.
11378 Move readlink check here from init_iosys.
11379 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
11381 (_hae_shift): Calculate it here.
11382 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
11383 add pciconfig_iobase.
11385 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
11387 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
11388 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
11390 * scripts/versions.awk: Fixed version renaming code to distinguish
11391 libraries properly.
11393 2000-03-19 Ulrich Drepper <drepper@redhat.com>
11395 * include/stdlib.h: Add prototype for __cxa_atexit.
11397 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
11398 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
11400 2000-03-17 Cristian Gafton <gafton@redhat.com>
11402 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
11403 existing rtld-installed-name.
11404 ($(rtld-installed-name)): Request libc-$(version) be installed too.
11405 replace existing rtld-installed-name using $(symbolic-link-prog).
11407 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
11409 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
11410 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
11411 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
11412 but not the former.
11414 2000-03-19 Ulrich Drepper <drepper@redhat.com>
11416 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
11417 glob64. Since there is no glob64 in the LFS proposal applications
11418 can assume that glob handles LFS situations. glob64 is only needed
11419 if alternative filesystem functions are used.
11421 2000-03-19 Geoff Clare <gwc@unisoft.com>
11423 * sysdeps/generic/glob.c: Correct gl_pathc value returned
11424 when GLOB_DOOFFS is set; correct handling of patterns
11425 containing escaped wildcards (and no unescaped ones);
11426 GLOB_ERR flag was being ignored in some situations.
11428 * posix/globtest.c, posix/globtest.sh: Updated to include
11429 tests for the problems fixed by the above changes to glob.c.
11431 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
11433 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
11435 * Makeconfig (soversion.i): Use only first match for each lib.
11437 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
11439 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
11440 rather than $(sysd-dirs-done) to protect these rules.
11442 * Makerules (version-renames.def): Target removed.
11443 (Versions.all): Depend on soversions.i directly and parse it.
11445 * Makeconfig (soversions.i): New target, input-reading parts of
11446 soversions.mk generation moved here; result is a canonicalized
11447 list "LIB VERSION [SET]" for this configuration.
11448 (soversions.mk): Use that as input. Don't emit map-firstversions.
11449 * Makerules (version-renames.def): New target, generated from
11450 soversions.i with contents that was in $(map-firstversions).
11451 (Versions.all): Don't depend on soversions.mk, depend on
11452 version-renames.def instead; just cat it into the input.
11454 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
11455 for $(map-firstversions), which better handles it being empty.
11457 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
11458 supported version for libc 0.2.90.libio to GLIBC_2.2.
11460 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
11461 and use it to emit new variable `map-firstversions'.
11462 * scripts/firstversions.awk: New file.
11463 * Makerules (Versions.all): Use scripts/firstversions.awk and
11464 the $(map-firstversions) value to generate a modified versions list
11465 that includes renames in "A = B" syntax for each version set earlier
11466 than the "earliest symbol version" named in shlib-versions.
11467 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
11468 rename version set A to B in the output to the intermediate file.
11469 * scripts/abi-versions.awk: New file.
11470 * Makerules (abi-versions.h): New target, generated by that script.
11471 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
11472 * include/shlib-compat.h: New file, uses that generated header.
11474 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
11476 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
11477 after stripping # comments, and then run it through cpp.
11478 This allows things like "%ifdef FOO" based on config.h settings.
11479 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
11481 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
11482 and other errors that indicate a pseudo-receive happened, grok through
11483 the message buffer for port rights that need references fixed up.
11485 2000-03-16 Andreas Jaeger <aj@suse.de>
11487 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
11489 * sysdeps/unix/sysv/linux/madvise.c: Remove.
11491 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
11492 from latest Linux kernel.
11493 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
11495 * misc/sys/mman.h: Add prototype for mincore.
11497 2000-03-17 Ulrich Drepper <drepper@redhat.com>
11499 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
11500 entry for GLIBC_2.0 version of setrlimit.
11501 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
11503 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
11505 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
11506 * nis/nss_compat/compat-initgroups.c: Likewise.
11507 * nis/nss_nis/nis-initgroups.c: Likewise.
11508 * nis/nss_nis/nis-netgrp.c: Likewise.
11509 * nis/nss_nis/nis-proto.c: Likewise.
11510 * nis/nss_nis/nis-rpc.c: Likewise.
11511 * nis/nss_nis/nis-service.c: Likewise.
11512 * nis/ypclnt.c: Likewise.
11514 2000-03-16 Andreas Jaeger <aj@suse.de>
11516 * manual/Makefile: MAKEINFO is set to `:' from configure if it
11517 doesn't exist, correct checks. Fixes PR libc/1649.
11519 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
11521 * nscd/hstcache.c: Restore correct UID.
11522 * nscd/pwdcache.c: Likewise.
11523 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
11525 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
11527 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
11528 macros for register names, in line with 2000-03-14 linux change.
11530 * sysdeps/mach/sched_yield.c: New file.
11532 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
11534 * sysdeps/generic/lockfile.c: Include <stdio.h>
11535 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
11536 case <libio.h> defined them.
11537 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
11539 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
11540 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
11542 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
11543 for more pleasing parse error.
11545 2000-03-16 Ulrich Drepper <drepper@redhat.com>
11547 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
11549 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
11551 * elf/Makefile: Add rules to compile and run constload1 test.
11552 * elf/constload1.c: New file.
11553 * elf/constload2.c: New file.
11554 * elf/constload3.c: New file.
11556 2000-03-15 Ulrich Drepper <drepper@redhat.com>
11558 * sysdeps/posix/open64.c: Make __open64 weak alias.
11559 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
11560 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
11561 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
11562 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11563 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
11564 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
11565 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
11566 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
11567 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11568 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
11570 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11572 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
11573 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
11575 2000-03-16 Mark Kettenis <kettenis@gnu.org>
11577 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
11578 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
11580 2000-03-08 Andreas Jaeger <aj@suse.de>
11582 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
11584 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11586 * timezone/africa: Update from tzdata2000d.
11587 * timezone/asia: Likewise.
11588 * timezone/australasia: Likewise.
11589 * timezone/europe: Likewise.
11590 * timezone/northamerica: Likewise.
11591 * timezone/southamerica: Likewise.
11593 * po/fr.po: Update from translation team.
11594 * po/de.po: Likewise.
11596 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
11597 last parameter. Move code to add map to global scope from here...
11598 * elf/dl-open.c (dl_open_worker): ...here.
11599 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
11600 * elf/rtld.c: Adjust call to _dl_map_object_deps.
11602 * locale/programs/ld-collate.c (collate_read): Fix warning.
11604 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
11605 values and macros for register names.
11607 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
11608 returned by seek cookie function is -1.
11610 2000-03-14 Andreas Jaeger <aj@suse.de>
11612 * locale/localeconv.c (localeconv): Fix typo.
11613 Reported by Andre Charbonneau <andrec@corel.com>.
11615 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11617 * iconv/skeleton.c: Increment __invocation_counter in inner loop
11618 since modules depend on it counting the number of times the conversion
11619 function got called.
11621 * iconv/gconv_open.c: Optimize loop to setup step data structure.
11623 * iconv/gconv.h: Pretty print.
11625 2000-03-04 Ulrich Drepper <drepper@redhat.com>
11627 * posix/wordexp-test.c: Correct one of the tests added in the last
11628 change. Really get the root passwd entry to check again ~root.
11630 2000-03-10 Andreas Jaeger <aj@suse.de>
11632 * manual/filesys.texi (Working Directory): Fix last patch.
11633 Patch by Martin Buchholz <martin@xemacs.org>.
11635 2000-03-10 Andreas Jaeger <aj@suse.de>
11637 * manual/creature.texi (Feature Test Macros): Fix language.
11639 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
11641 * mach/devstream.c (devstream_write, devstream_read): New functions.
11642 (input, output): Functions removed.
11643 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
11644 using only the vanilla fopencookie interface.
11646 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
11647 as macro for __io_functions.
11648 (funcsio): Use cookie_io_functions_t type name.
11649 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
11651 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
11653 (fopencookie): Use it.
11654 * libio/libio.h: Declare _IO_cookie_init.
11655 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
11658 * libio/libio.h (__io_seek_fn): Fix second argument type
11659 to be a pointer, in line with the manual and the old stdio.
11660 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
11662 * sysdeps/generic/bits/stdio-lock.h: New file.
11663 This is a stub with #error, but that's better than no file at all.
11665 2000-03-09 Martin Buchholz <martin@xemacs.org>
11667 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
11668 * manual/message.texi (Using gettextized software): Doc Fixes.
11669 * manual/message.texi (Message Translation): Doc Fixes.
11670 * manual/filesys.texi (File Size): Doc Fixes.
11671 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
11672 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
11673 * iconv/gconv_db.c (find_derivation): Doc Fixes.
11674 * manual/install.texi: Doc Fixes.
11675 * manual/search.texi (Hash Search Function): Doc Fixes.
11676 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
11677 * FAQ.in: Doc Fixes.
11678 * config.h.in: Doc Fixes.
11679 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
11680 Doc Fixes. `allows to' is not correct English.
11682 * elf/rtld.c: Doc fixes.
11683 * manual/creature.texi (Feature Test Macros): Doc fixes.
11684 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
11686 * manual/filesys.texi (Working Directory): Check for ERANGE to
11689 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
11691 * string/argz-stringify.c (__argz_stringify): Fix loop termination
11692 conditions so as not to clobber the final '\0' when there is only one
11693 element in the vector.
11695 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
11697 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
11698 broken by 2000-02-27 change.
11700 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
11702 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
11704 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
11705 argument type, for 2000-02-22 change in signal/signal.h declaration.
11707 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
11709 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
11710 to getdirentries64 (no __), since the Linux implementation
11711 has no __ name, and there is no declaration for the __ name.
11713 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
11715 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
11716 sed regexp so as not to break directory names including /../ within.
11718 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
11719 The sysdeps/generic file is right for BSD. This file was in fact the
11720 Hurd file, but the only difference was the WNOREAP flag that was never
11721 actually implemented or used anywhere.
11723 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
11724 since AC_PATH_PROG already does it for us.
11725 (PERL): Rewrite check added in 2000-02-29 change for syntactic
11726 correctness and sh portability. I replaced the broken check
11727 with a more sensible implementation of the apparently intended
11728 semantics, which might still be questionable. Using expr causes
11729 a non-numeric value for `perl -V:apiversion` to be accepted,
11730 refusing to use only a perl that reports a number less than 5;
11731 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
11732 * configure: Regenerated.
11734 2000-03-08 Andreas Jaeger <aj@suse.de>
11736 * manual/crypt.texi: Fix paths.
11738 2000-03-07 Andreas Jaeger <aj@suse.de>
11740 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
11742 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
11745 2000-03-06 Andreas Jaeger <aj@suse.de>
11747 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
11748 in __sgn1l, otherwise g++ fails to parse this.
11749 Reported by Sean Chen <sean.chen@turbolinux.com>.
11751 2000-03-03 Geoff Keating <geoffk@cygnus.com>
11753 * configure.in: Compute sizeof-long-double.
11754 * configure: Regenerated.
11755 * config.make.in: Make sizeof-long-double available to sub-makes.
11757 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
11759 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
11762 2000-03-03 Geoff Keating <geoffk@cygnus.com>
11764 * Makeconfig (rpath-dirs): Add crypt.
11765 (all-subdirs): Remove md5crypt.
11766 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
11767 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
11768 * sysdeps/generic/crypt-entry.c: Delete.
11769 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
11770 * sysdeps/generic/crypt.h: Delete.
11771 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
11772 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
11773 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
11774 * sysdeps/generic/des_impl.c: Delete.
11775 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
11776 * crypt/sysdeps: Delete.
11777 * crypt/crypt_util.c: Don't use `patchlevel.h'.
11778 * md5-crypt/Versions: Move to crypt/.
11779 * md5-crypt/md5-crypt.c: Move to crypt/.
11780 * md5-crypt/md5.c: Move to crypt/.
11781 * md5-crypt/md5c-test.c: Move to crypt/.
11782 * md5-crypt/md5test.c: Move to crypt/.
11783 * md5-crypt: Delete.
11784 * crypt/Makefile: Adjust for new structure.
11786 2000-03-03 Paul Eggert <eggert@twinsun.com>
11788 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
11789 define to 1 if not defined.
11791 2000-03-03 Andreas Jaeger <aj@suse.de>
11793 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
11795 2000-03-03 Andreas Jaeger <aj@suse.de>
11797 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
11799 (xdr_int64_t): Correctly handle lower half.
11800 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
11802 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
11804 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
11807 2000-03-02 Andreas Jaeger <aj@suse.de>
11809 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
11812 2000-03-02 Andreas Jaeger <aj@suse.de>
11814 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
11816 2000-03-01 Andreas Jaeger <aj@suse.de>
11818 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
11819 (tests): Added tst-getdate.
11821 * time/tst-getdate.c: New file.
11823 * time/datemsk: New file, needed for tst-getdate.
11825 2000-02-29 Cristian Gafton <gafton@redhat.com>
11827 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
11829 2000-02-17 H.J. Lu <hjl@gnu.org>
11831 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
11833 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
11835 (svcudp_recv): Set up message with the new "xp_pad" field for
11837 (svcudp_reply): Support IP_PKTINFO if available.
11839 2000-03-01 Andreas Jaeger <aj@suse.de>
11841 * time/getdate.c (check_mday): Fix check for february.
11842 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
11843 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
11845 2000-03-02 Andreas Jaeger <aj@suse.de>
11847 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
11848 g++ fails to parse this.
11849 Reported by Sean Chen <sean.chen@turbolinux.com>.
11851 2000-02-28 Ulrich Drepper <drepper@redhat.com>
11853 * io/creat.c: Moved to...
11854 * sysdeps/generic/creat.c: ...here.
11855 * io/creat64.c: Moved to...
11856 * sysdeps/generic/creat64.c: ...here.
11857 * io/lockf.c: Moved to...
11858 * sysdeps/generic/lockf.c: ...here.
11860 * crypt/crypt.texi: Moved to...
11861 * manual/crypt.texi: ...here.
11862 * crypt/examples/genpass.c: Moved to...
11863 * manual/examples/genpass.c: ...here.
11864 * crypt/examples/mygenpass.c: Moved to...
11865 * manual/examples/mygenpass.c: ...here.
11866 * crypt/examples/testpass.c: Moved to...
11867 * manual/examples/testpass.c: ...here.
11869 * manual/Makefile (chapters): Add crypt.
11870 * manual/conf.texi: Add usual header for not-last chapter.
11871 * manual/crypt.texi: Add special header for last chapter.
11873 2000-02-28 Geoff Keating <geoffk@cygnus.com>
11875 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
11876 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
11877 complain if there is no crypt add-on.
11878 * crypt/configure: Removed.
11880 * crypt/crypt.texi: Update documentation of US export restrictions
11881 to match the 14 Jan 2000 regulations.
11883 2000-02-28 Geoff Keating <geoffk@cygnus.com>
11885 * crypt: New subdirectory, merged in from the crypt add-on.
11887 2000-02-28 Ulrich Drepper <drepper@redhat.com>
11889 * include/unistd.h: Add __rmdir and __mkdir prototypes.
11892 See ChangeLog.10 for earlier changes.