1 2000-10-26 Ulrich Drepper <drepper@redhat.com>
3 * version.h (VERSION): Bump to 2.1.96.
5 * inet/getipnodebyad.c: Removed.
6 * inet/getipnodebynm.c: Removed.
7 * inet/tst-ipnode.c: Removed.
8 * inet/freehostent.c: Removed.
10 * sysdeps/unix/bsd/osf/=dirstream.h: Removed.
12 * sysdeps/unix/sysv/linux/Dist: Add bits/initspin.h.
14 * elf/Makefile (distribute): Add neededobj4.c.
16 * iconvdata/Makefile (distribute): Add BIG5HKSCS.irreversible.
18 * sysdeps/hppa/Dist: New file.
19 * sysdeps/unix/sysv/linux/hppa/Dist: New file.
21 * posix/tst-chmod.c (do_test): Account for people running the
24 * locale/langinfo.h (THOUSEP): Define this and don't duplicate
25 definition of THOUSANDS_SEP.
27 * locale/C-monetary.c: Set mon_decimal to empty string.
28 Add missing entry _NL_MONETARY_CRNCYSTR.
29 * stdio-common/printf_fp.c: If MON_DECIAL_POINT is not provided use
30 DECIMAL_POINT information.
31 * locale/C-numeric.c: Set mon_grouping entry to empty string.
32 * locale/C-time.c: Add date_fmt entries. Remove two wrong entries.
33 Correct value for number of entries.
34 * locale/localeconv.c: Normalize result passed back in .grouping.
35 Fix assignment to .int_* entries.
37 * locale/Makefile (tests): Add tst-C-locale.
38 * locale/tst-C-locale.c: New file.
40 * locale/setlocale.c: Use LOCALEDIR and not LOCALE_PATH to locate
42 * locale/newlocale.c: Likewise.
44 2000-10-26 GOTO Masanori <gotom@debian.or.jp>
46 * locale/langinfo.h: Define _DATE_FMT and _NL_W_DATE_FMT.
47 * locale/categories.def: New support for date_fmt.
48 * locale/programs/ld-time.c: Likewise.
49 * locale/programs/locfile-kw.gperf: Likewise.
50 * locale/programs/locfile-kw.h: Likewise.
51 * locale/programs/locfile-token.h: Likewise.
53 2000-10-26 Jakub Jelinek <jakub@redhat.com>
55 * sysdeps/ieee754/ldbl-128/e_hypotl.c: New.
57 * math/libm-test.inc (cabs_test, cexp_test, csqrt_test, hypot_test):
58 Increase precision of constants.
59 * sysdeps/alpha/fpu/libm-test-ulps: Update.
60 * sysdeps/arm/libm-test-ulps: Update.
61 * sysdeps/i386/fpu/libm-test-ulps: Update.
62 * sysdeps/ia64/fpu/libm-test-ulps: Update.
63 * sysdeps/m68k/fpu/libm-test-ulps: Update.
64 * sysdeps/mips/fpu/libm-test-ulps: Update.
65 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
67 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
68 * sysdeps/sh/sh4/fpu/libm-test-ulps: Update.
69 * sysdeps/s390/fpu/libm-test-ulps: Update.
71 2000-10-26 Ulrich Drepper <drepper@redhat.com>
73 * io/Makefile (tests): Add tst-fcntl.
74 * io/tst-fcntl.c: New file.
76 * posix/Makefile (tests): Add tst-chmod.
77 (tst-chmod-ARGS): Define.
78 * posix/tst-chmod.c: New file.
80 * test-skeleton.c: Before calling user-defined function remove
81 parameters from argument list.
82 * posix/tst-exec.c: Adjust to this change.
83 * posix/tst-spawn.c: Likewise.
85 * sysdeps/unix/opendir.c (__opendir): Optimize a bit. Add
88 2000-10-25 Ulrich Drepper <drepper@redhat.com>
90 * intl/Makefile (tests): Add tst-ngettext.
91 * intl/tst-ngettext.c: New file.
93 2000-10-25 Bruno Haible <haible@clisp.cons.org>
95 * manual/charset.texi: Fix spelling of __GCONV_FULL_OUTPUT.
96 * manual/message.texi (Translation with gettext): Remove paragraph
97 about macros contained in libintl.h.
98 (bind_textdomain_codeset): Describe codeset argument.
99 (Using gettextized software): Add setlocale call to sample code.
101 2000-10-26 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
102 Yutaka Niibe <gniibe@chroot.org>
104 * sysdeps/sh/dl-machine.h (elf_machine_rela): Handle in place
105 relocation which is generated by new ld.
106 * sysdeps/sh/elf/initfini.c (_init): Preseted __fpscr_values.
107 (_fini): Delete an obsolete register prefix.
108 * sysdeps/unix/sysv/linux/sh/Versions: Add __xstat64, __fxstat64,
109 __lxstat64, alphasort64, glob64, readdir64, readdir64_r, scandir64
110 and versionsort64 as the 2.2-versioned symbols.
111 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: New file.
112 * sysdeps/unix/sysv/linux/sh/brk.c: Changes for the new system call
113 calling convention of the kernel.
114 * sysdeps/unix/sysv/linux/sh/pipe.S: Likewise.
115 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
116 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
117 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
118 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
119 * sysdeps/unix/sysv/linux/sh/fcntl.c: New file.
120 * sysdeps/unix/sysv/linux/sh/lockf64.c: New file.
121 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include the kernel header
122 file and delete the definitions of struct user and user_fp.
123 * sysdeps/unix/sysv/linux/sh/syscall.S: New file.
124 * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove entries for
125 s_ioctl, s_ipc, s_llseek, s_chown, s_fchown, s_lchown, s_execve,
126 rt_sigaction, rt_sigpending, rt_sigprocmask, rt_sigqueueinfo,
127 rt_sigsuspend, rt_sigtimedwait, s_getcwd, s_getdents, s_getgroups,
128 s_getpriority, s_getegid, s_geteuid, s_getuid, getresgid, getresuid,
129 s_getrlimit, s_poll, s_pread64, s_ptrace, s_pwrite64, s_reboot,
130 s_setrlimit, s_sigaction, s_sigpending, s_sigprocmask, s_sigsuspend,
131 s_setfsgid, s_setfsuid, s_setgid, s_setgroups, s_setregid,
132 s_setresgid, s_setresuid, s_setreuid, s_setuid, s_sysctl,
133 s_ugetrlimit, s_ustat, sys_fstat, sys_lstat, sys_mknod, sys_readv,
134 sys_stat, sys_writev and syscall.
136 2000-10-25 Ulrich Drepper <drepper@redhat.com>
138 * io/test-lfs.c (do_prepare): Rewrite so it doesn't fail on systems
141 * sysdeps/ieee754/dbl-64/e_jn.c: Use __ieee754_sqrt instead of __sqrt.
142 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
143 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
144 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
145 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
147 2000-10-25 David Mosberger <davidm@hpl.hp.com>
149 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Multiply slot
150 number by four to use bins of width 4 to get accurate
151 instruction-level profiling.
153 2000-10-25 Andreas Jaeger <aj@suse.de>
155 * sysdeps/generic/dl-cache.h (CACHEMAGIC_VERSION_NEW): Correct string.
157 2000-10-25 Jakub Jelinek <jakub@redhat.com>
159 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): When
160 converting struct flock64 to struct flock and back, use fcntl commands
161 which work on struct flock.
163 2000-10-25 Jakub Jelinek <jakub@redhat.com>
165 * math/test-misc.c (main): Only check modfl if NO_LONG_DOUBLE is not
167 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
168 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
170 2000-10-25 Ulrich Drepper <drepper@redhat.com>
172 * sysdeps/arm/libm-test-ulps: Updated.
174 * sysdeps/generic/dl-cache.h (CACHEMAGIC_VERSION_NEW): New value.
176 2000-10-25 Andreas Jaeger <aj@suse.de>
178 * elf/dl-load.c (_dl_map_object_from_fd): Remove unused variable.
179 (_dl_map_object): Likewise.
181 2000-10-24 Paul Eggert <eggert@twinsun.com>
183 * time/strftime.c (my_strftime macro)
184 [!defined _LIBC && HAVE_TZNAME && HAVE_TZSET]:
185 When redefining, do it without args, so that it works even if
186 emacs is defined and an extra argument is passed to my_stftime.
187 (my_strftime function): When evaluating a subformat, pass
190 2000-10-24 Andreas Schwab <schwab@suse.de>
192 * sysdeps/unix/sysv/linux/ia64/Versions: Add pciconfig_read and
195 2000-10-25 Ulrich Drepper <drepper@redhat.com>
197 * sysdeps/generic/dl-cache.c (_dl_cache_verify_ptr): Correct test
198 for files with new cache format.
199 (_dl_load_cache_lookup): Add variable cache_data_size for size of the
200 data. Correctly report error if neither old not new signature is
201 found. Little optimizations.
202 Mostly based on a patch by Denis Zaitsev <zzz@cd-club.ru>.
204 * elf/dl-close.c (_dl_close): Optimize a bit by optimizing out the
205 nsearchlist variable.
207 2000-10-24 Ulrich Drepper <drepper@redhat.com>
209 * elf/dl-lookup.c (add_dependency): Fix test to check whether
210 dependency already exists.
211 * elf/Makefile: Add testobj1 and testobj2 as dependencies of testobj6.
212 * elf/loadtest.c (main): Add test at the end that everything is
215 * elf/dl-open.c (dl_open_worker): Fix typo in comment.
217 * elf/elf.h: Add even more IA-64 relocations.
219 2000-10-24 Geoffrey Keating <geoffk@cygnus.com>
221 * io/test-lfs.c (do_prepare): Call setrlimit64, in case the user
222 has a limit set---for instance, a limit of 2^31 bytes, which can't
223 easily be reset by non-LFS-aware shells.
225 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Define PAGE_SHIFT
226 explicitly rather than getting it from <asm/page.h>.
228 2000-10-24 Ulrich Drepper <drepper@redhat.com>
230 * elf/dl-close.c (_dl_close): Handle relocation dependencies of
231 the dependencies of the object currently unloaded.
233 * elf/dl-close.c (_dl_close): Don't free memory for global scope
234 list immediately when empty. Move code to...
235 (free_mem): ...here. Called as part of __libc_subfreeres list.
237 * elf/dl-deps.c (_dl_map_object_deps): Put l_initfini array before
238 r_list array in allocated memory.
239 * elf/dl-close.c (_dl_close): Optimize access to l_initfini list
240 and remove use of r_list.
242 * elf/dl-close.c (_dl_close): Use correct list (l_initfini) when
243 computing new opencounts.
244 * elf/Makefile: Add rules to build and run neededtest3.
245 * neededtest3.c: New file.
246 * neededobj4.c: New file.
248 * elf/neededtest.c (main): Correct tests for failing dlopen.
250 2000-10-24 Andreas Jaeger <aj@suse.de>
252 * elf/dl-lookup.c (add_dependency): Remove unused variable j.
254 2000-10-24 Ulrich Drepper <drepper@redhat.com>
256 * malloc/obstack.c (_obstack_newchunk): Correctly align first returned
258 * malloc/tst-obstack.c: New file.
259 Patch and test case by Alexandre Duret-Lutz <duret_g@epita.fr>.
260 * malloc/Makefile (tests): Add tst-obstack.
262 Complete revamp of the reference counter handling.
263 * include/link.h (struct link_map): Add l_idx field.
264 * elf/dl-close.c: Handle decrementing of reference counters more
265 correctly. If necessary decrement reference counters of dependencies
267 * elf/dl-lookup.c (add_dependency): Only increment reference counter
268 of the object itself and not also its dependencies.
269 * elf/dl-open.c: Increment reference counters here.
270 * elf/dl-deps.c: Remove reference counter handling here.
271 * elf/dl-load.c: Likewise.
272 * elf/rtld.c: Adjust for _dl_map_deps not handling reference counters.
274 * elf/loadtest.c: Print loaded objects at the beginning.
276 2000-10-24 Andreas Jaeger <aj@suse.de>
278 * sysdeps/mips/dl-machine.h: Partly revert patch from 2000-10-18.
280 2000-10-23 Ulrich Drepper <drepper@redhat.com>
282 * include/link.h (struct link_map): New bit field l_faked.
283 * elf/dl-deps.c: Use l_faked field in struct link_map instead of
284 the magic l_opencount==0.
285 * elf/dl-load.c: Likewise.
286 * elf/dl-version.c: Likewise.
287 * elf/rtld.c: Likewise.
289 * elf/dl-close.c (_dl_close): Add a few more __builtin_expect.
291 2000-10-23 Jim Meyering <meyering@ascend.com>
293 Allow this code to be used outside of glibc.
294 * sysdeps/generic/memrchr.c: Undef __memrchr, too.
295 [!weak_alias]: Define __memrchr to memrchr.
296 Guard weak_alias use with `#ifdef weak_alias'.
298 2000-10-23 Ulrich Drepper <drepper@redhat.com>
300 * elf/unload.c: Generate more debugging output.
302 * elf/neededtest.c: Make it more complicated.
303 * elf/neededtest2.c: New file.
304 * elf/Makefile: Add rules to build and run neededtest2.
306 * elf/dl-sym.c (_dl_sym): Use exact check for caller PC in range
307 of DSO address space.
308 (_dl_vsym): Likewise.
310 * elf/dl-sym.c (_dl_sym): For RTLD_DEFAULT, search in objects
311 global scope if we can determine it.
313 2000-10-23 Andreas Schwab <schwab@suse.de>
315 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (RLIMIT_LOCKS): Added.
316 (RLIMIT_NLIMITS): Sync with kernel definition.
317 (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Also define as macros.
319 2000-10-23 Andreas Schwab <schwab@suse.de>
321 * sysdeps/m68k/fpu/libm-test-ulps: Updated.
323 2000-10-23 Ulrich Drepper <drepper@redhat.com>
325 * elf/elf.h (R_IA64_GPREL32MSB, R_IA64_GPREL32LSB): New definitions.
327 2000-10-22 Bruno Haible <haible@clisp.cons.org>
329 * iconvdata/big5hkscs.c (big5hkscs_to_ucs): Add irreversible mappings
330 for 0x8BF8, 0xA27E..0xA2A7.
331 * iconvdata/BIG5HKSCS.irreversible: New file.
333 2000-10-23 Jakub Jelinek <jakub@redhat.com>
335 * timezone/zdump.c (main): setlocale LC_CTYPE as well as LC_MESSAGES.
336 * timezone/zic.c (main): Likewise.
338 2000-10-23 Thorsten Kukuk <kukuk@suse.de>
340 * nscd/connections.c (invalidate_cache): Don't invalidate a cache
341 if it is not enabled.
343 2000-10-23 Andreas Jaeger <aj@suse.de>
345 * sysdeps/s390/fpu/libm-test-ulps: New ulps.
347 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add fcntl64.
348 Patch by Ralf Baechle <ralf@gnu.org>.
350 2000-10-21 Ulrich Drepper <drepper@redhat.com>
352 * elf/dl-load.c (_dl_map_object_from_fd): Split out ELF file
353 verification in open_verify.
354 (open_verify): New function. Called instead of open. Ignores valid
355 files for other architectures.
356 (open_path): Call open_verify instead of open.
357 (_dl_map_object): Likewise.
358 Somewhat based on a patch by Don Dugger <n0ano@valinux.com>.
360 * io/pwd.c (main): The output was missing a newline.
362 * posix/fnmatch_loop.c: Make FNM_LEADING_DIR behave as GNU tar
363 expects it. Patch by Colin Watson <riva.ucam.org>.
364 * posix/tst-fnmatch.input: Add test cases for FNM_LEADING_DIR.
366 * elf/dl-open.c (add_to_global): New function. Split out from
368 (dl_open_worker): Call add_to_global not only for new objects, also for
369 previously loaded objects when (mode & RTLD_GLOBAL) and the object
370 was not yet in the global scope.
371 * elf/Makefile: Add rules to build and run lateglobal.
372 * elf/lateglobal.c: New file.
373 * elf/ltglobmod1.c: New file.
374 * elf/ltglobmod2.c: New file.
376 2000-10-20 Ulrich Drepper <drepper@redhat.com>
378 * include/link.h (struct link_map): Add l_soname_added bitfield.
379 * elf/dl-load.c (_dl_map_object): Remember when we added the
380 SONAME to the l_libname list and don't try it again.
382 * elf/dl-close.c: Decrement opencount for all dependencies which can
383 be removed even if the object is not yet unloaded.
384 * elf/dl-deps.c (_dl_map_object_deps): If dependency is already in
385 the list decrement opencount of all dependencies.
386 * elf/dl-load.c (_dl_map_object_from_fd): Increment object of object
387 and all dependencies.
388 (_dl_map_object): Likewise.
389 * elf/dl-lookup.c (add_dependency): Likewise.
391 * elf/loadtest.c: Add debug when with more output.
393 * elf/Makefile: Add rules to build and run unload2.
394 * elf/unload2.c: New file.
395 * elf/unload2mod.c: New file.
396 * elf/unload2dep.c: New file.
398 * intl/libintl.h (ngettext macro): Add missing parameter.
399 (dngettext macro): Likewise.
401 2000-10-19 H.J. Lu <hjl@gnu.org>
403 * elf/Makefile (distribute): Add neededtest.c, neededobj1.c,
404 neededobj2.c and neededobj3.c.
405 (tests): Add neededtest.
406 (modules-names): Add neededobj1, neededobj2 and neededobj3.
407 ($(objpfx)neededobj1.so): New target.
408 ($(objpfx)neededobj2.so): Likewise.
409 ($(objpfx)neededobj3.so): Likewise.
410 ($(objpfx)neededtest): Likewise.
411 ($(objpfx)neededtest.out): Likewise.
412 * elf/neededtest.c: New. Based on the bug report from
413 Allen Bauer <kylix_rd@hotmail.com>.
414 * elf/neededobj1.c: Likewise.
415 * elf/neededobj2.c: Likewise.
416 * elf/neededobj3.c: Likewise.
418 2000-10-20 Ulrich Drepper <drepper@redhat.com>
420 * elf/dl-load.c (_dl_map_object_from_fd): Pass pointer to ELF header
421 to elf_machine_matches_host.
422 * sysdeps/alpha/dl-machine.h (elf_machine_matches_host): Parameter
423 is now pointer to ELF header.
424 * sysdeps/arm/dl-machine.h: Likewise.
425 * sysdeps/generic/dl-machine.h: Likewise.
426 * sysdeps/hppa/dl-machine.h: Likewise.
427 * sysdeps/i386/dl-machine.h: Likewise.
428 * sysdeps/ia64/dl-machine.h: Likewise.
429 * sysdeps/m68k/dl-machine.h: Likewise.
430 * sysdeps/mips/dl-machine.h: Likewise.
431 * sysdeps/mips/mips64/dl-machine.h: Likewise.
432 * sysdeps/powerpc/dl-machine.h: Likewise.
433 * sysdeps/s390/dl-machine.h: Likewise.
434 * sysdeps/sh/dl-machine.h: Likewise.
435 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
436 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
437 Patch by Martin Schwidefsksy <schwidefsky@de.ibm.com>.
439 2000-10-20 Jakub Jelinek <jakub@redhat.com>
441 * include/limits.h: Include bits/wordsize.h, use #if __WORDSIZE == 64
442 check instead of #ifdef __alpha__.
443 * include/bits/xopen_lim.h (WORD_BIT, LONG_BIT): Don't count on
444 INT_MAX, __INT_MAX__, LONG_MAX or __LONG_MAX__ being defined when
447 2000-10-20 Ulrich Drepper <drepper@redhat.com>
449 * posix/wordexp-tst.sh (testout): Place output file in build
450 directory. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
452 * sysdeps/powerpc/fpu/bits/mathinline.h: Pretty print.
454 2000-10-19 Ulrich Drepper <drepper@redhat.com>
456 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
457 Correctly handle numeric group member information.
458 Patch by tomasw@cs.huji.ac.il.
460 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
461 Complete test for strtol overflow.
463 2000-10-19 Jakub Jelinek <jakub@redhat.com>
465 * sysdeps/unix/sysv/linux/alpha/semctl.c (__new_semctl): Pass union
466 semun as 4th argument to semctl syscall, not address of it.
468 2000-10-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
470 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl64() syscall.
472 2000-10-17 Andreas Schwab <schwab@suse.de>
474 * string/string.h: Remove declaration of __strcasecmp and __strcasestr.
475 * include/string.h: Declare them here.
477 2000-10-18 Ralf Baechle <ralf@gnu.org>
479 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Include <asm/unistd.h>.
481 2000-10-19 Geoffrey Keating <geoffk@cygnus.com>
483 * sysdeps/powerpc/fpu/bits/mathinline.h: Add versions
484 of the unordered comparison functions that use the GCC builtins.
486 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): New function.
487 (__process_machine_rela): Print the address of an overflowing
490 2000-10-18 Ulrich Drepper <drepper@redhat.com>
492 * sysdeps/unix/sysv/linux/shm_open.c: Correct default mount point
494 (freeit): Remove unnecessary test.
496 2000-10-18 Andreas Jaeger <aj@suse.de>
498 * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_OK): New.
499 (ELF_MACHINE_BEFORE_RTLD_RELOC): Handle newer linkers.
500 (elf_machine_runtime_link_map): Likewise.
501 (elf_machine_runtime_setup): Likewise.
502 Handle dynamic linker's local got entries.
503 Patches by Ralf Baechle <ralf@gnu.org>.
505 2000-10-09 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
507 * sysdeps/mips/dl-machine.h (_dl_runtime_resolve): Define $sp as
508 the frame pointer. Allocate stack space for $a0 for
509 __dl_runtime_resolve(). Do not save $sp in $s0 as it's
512 2000-10-17 Ulrich Drepper <drepper@redhat.com>
514 * sysdeps/powerpc/fpu/libm-test-ulps: Update for changes in
517 2000-10-17 Andreas Schwab <schwab@suse.de>
519 * sysdeps/m68k/fpu/libm-test-ulps: Update for changes in
522 2000-10-17 Jakub Jelinek <jakub@redhat.com>
524 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
525 Add missing backslash.
527 2000-10-16 Ulrich Drepper <drepper@redhat.com>
529 * sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Little cleanup.
531 * sysdeps/i386/fpu/libm-test-ulps: Update for changes in libm-test.inc.
533 2000-10-16 Jakub Jelinek <jakub@redhat.com>
535 * math/libm-test.inc (M_LOG_SQRT_PIl, M_LOG_2_SQRT_PIl): Increase
537 (acos_test, asin_text, cexp_test, cos_test, cproj_test, exp10_test,
538 sin_test, sincos_test, sqrt_test): Likewise. Add L suffixes also
540 (acosh_test, asinh_test, atan2_test, atanh_test, atan_test, cabs_test,
541 cacosh_test, cacos_test, casinh_test, casin_test, catanh_test,
542 catan_test, cbrt_test, ccosh_test, ccos_test, clog10_test, cosh_test,
543 csinh_test, csin_test, csqrt_test, ctanh_test, ctan_test, erfc_test,
544 erf_test, exp2_test, expm1_test, exp_test, fmod_test, hypot_test,
545 j0_test, j1_test, jn_test, lgamma_test, llrint_test, llround_test,
546 log10_test, log1p_test, log2_test, log_test, lrint_test, lround_test,
547 nextafter_test, nexttoward_test, pow_test, round_test, scalb_test,
548 sinh_test, static void, tanh_test, tan_test, tgamma_test, y0_test,
549 y1_test, yn_test): Add L suffixes also to parameters.
550 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Fix mask.
551 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
552 * soft-fp/op-2.h (_FP_FRAC_SRS_2): Fix computation of sticky bit.
554 2000-10-16 Ulrich Drepper <drepper@redhat.com>
556 * timezone/Makefile: Define HAVE_GETTEXT for zdump.c, zic.c,
557 ialloc.c, and scheck.c.
558 * malloc/obstack.c: Always include <libintl.h> for glibc.
559 * posix/getopt.c: Likewise.
560 Reported by Petr Vandrovec <VANDROVE@vc.cvut.cz>.
562 2000-10-15 Pete Wyckoff <pw@osc.edu>
564 * Rules: Define _LIBC during generation of bits/stdio_lim.d.
566 2000-10-15 Pete Wyckoff <pw@osc.edu>
568 * iconvdata/tst-tables.sh: Invoke other shell scripts through ${SHELL}.
569 * iconvdata/tst-table.sh: Likewise.
571 2000-10-15 Ulrich Drepper <drepper@redhat.com>
573 * elf/dl-error.c (_dl_signal_error): Allocate memory for objname
574 as well. Reported by Alexander V. Lukyanov <lav@yars.free.net>.
576 * iconvdata/gconv-modules: Add aliases for Winblowz charsets.
577 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
579 2000-10-13 Andreas Schwab <schwab@suse.de>
581 * elf/elf.h (R_IA64_PCREL60B): Add relocation.
583 2000-10-15 Ulrich Drepper <drepper@redhat.com>
585 * sysdeps/unix/sysv/linux/hppa/brk.c: Cleanups.
586 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
587 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
588 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Likewise.
589 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
591 2000-10-14 Ulrich Drepper <drepper@redhat.com>
593 * math/libm-test.inc (frexp_test): Add L suffix also to parameters.
594 (hypot_test): Likewise.
596 * sysdeps/generic/printf_fphex.c: Compute width of decimal point
597 string correctly. Handle padding correctly.
599 * sysdeps/ia64/fpu/printf_fphex.c: Use sizeof in _itowa parameters
601 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
602 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
604 2000-10-12 Alan Modra <alan@linuxcare.com.au>
606 * FAQ.in: Add --start-group and --end-group.
608 2000-10-12 Alan Modra <alan@linuxcare.com.au>
610 * malloc/memusage.c: Conditionalize stack usage calculation on
613 2000-10-12 Alan Modra <alan@linuxcare.com.au>
615 * config.h.in: Add ASM_LINE_SEP.
616 * configure.in: Add test for comment and line separators.
617 * include/libc-symbols.h: Define and use ASM_LINE_SEP, and add tabs to
618 placate some hppa assemblers.
619 * sysdeps/hppa/sysdep.h: Likewise.
620 * sysdeps/gnu/siglist.c: Insert \n and \t into inline asm.
621 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
623 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
625 * sysdeps/unix/sysv/linux/Makefile: Include <bits/initspin> in
627 * sysdeps/unix/sysv/linux/bits/initspin.h: Dummy version for
628 non-threaded platforms.
630 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
632 * configure.in: Add definitions for hppa.
633 * elf/elf.h: Add PLABEL32 relocation for hppa ELF32, comments
634 for IPLT and EPLT relocations.
635 * shlib-versions: Version symbol definitions for hppa-linux.
636 * sysdeps/unix/sysv/linux/configure.in: Define $arch_minimum_kernel
639 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
641 * sysdeps/hppa/Makefile: New file.
642 * sysdeps/hppa/Versions: New file.
644 * sysdeps/hppa/setjmp.S: New file.
645 * sysdeps/hppa/__longjmp.S: New file.
646 * sysdeps/hppa/bits/setjmp.h: New file.
647 * sysdeps/hppa/frame.h: New file.
649 * sysdeps/hppa/add_n.s: Don't use %r19 (linkage table pointer).
650 * sysdeps/hppa/sub_n.s: Likewise.
651 * sysdeps/hppa/lshift.s: Likewise.
652 * sysdeps/hppa/rshift.s: Likewise.
653 * sysdeps/hppa/udiv_qrnnd.s: Likewise.
654 * sysdeps/hppa/hppa1.1/addmul_1.s: Likewise.
655 * sysdeps/hppa/hppa1.1/submul_1.s: Likewise.
656 * sysdeps/hppa/hppa1.1/mul_1.s: Likewise.
657 * sysdeps/hppa/hppa1.1/udiv_qrnnd.s: Likewise.
659 * sysdeps/hppa/dl-machine.h: New file.
660 * sysdeps/hppa/dl-fptr.c: New file (note that this is almost
661 identical to the IA-64 one).
662 * sysdeps/hppa/dl-lookupcfg.h: Likewise.
663 * sysdeps/hppa/dl-symaddr.c: Likewise.
665 * sysdeps/hppa/elf/initfini.c: New file.
666 * sysdeps/hppa/elf/start.S: New file.
668 * sysdeps/hppa/fpu/bits/fenv.h: New file.
669 * sysdeps/hppa/fpu/fclrexcpt.c: New file.
670 * sysdeps/hppa/fpu/fedisblxcpt.c: New file.
671 * sysdeps/hppa/fpu/feenablxcpt.c: New file.
672 * sysdeps/hppa/fpu/fegetenv.c: New file.
673 * sysdeps/hppa/fpu/fegetexcept.c: New file.
674 * sysdeps/hppa/fpu/fegetround.c: New file.
675 * sysdeps/hppa/fpu/feholdexcpt.c: New file.
676 * sysdeps/hppa/fpu/fesetenv.c: New file.
677 * sysdeps/hppa/fpu/fesetround.c: New file.
678 * sysdeps/hppa/fpu/feupdateenv.c: New file.
679 * sysdeps/hppa/fpu/fegetexcptflg.c: New file.
680 * sysdeps/hppa/fpu/fraiseexcpt.c: New file.
681 * sysdeps/hppa/fpu/fsetexcptflg.c: New file.
682 * sysdeps/hppa/fpu/ftestexcept.c: New file.
684 * sysdeps/unix/sysv/linux/hppa/Makefile: New file.
685 * sysdeps/unix/sysv/linux/hppa/Versions: New file.
686 * sysdeps/unix/sysv/linux/hppa/syscalls.list: New file.
687 * sysdeps/unix/sysv/linux/hppa/sysdep.c: New file.
688 * sysdeps/unix/sysv/linux/hppa/sysdep.h: New file.
691 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: New file.
692 * sysdeps/unix/sysv/linux/hppa/bits/ioctls.h: New file.
693 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: New file.
694 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: New file.
695 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: New file.
696 * sysdeps/unix/sysv/linux/hppa/brk.c: New file.
697 * sysdeps/unix/sysv/linux/hppa/clone.S: New file.
698 * sysdeps/unix/sysv/linux/hppa/socket.S: New file.
699 * sysdeps/unix/sysv/linux/hppa/syscall.S: New file.
700 * sysdeps/unix/sysv/linux/hppa/setrlimit.c: New file.
701 * sysdeps/unix/sysv/linux/hppa/getrlimit.c: New file.
702 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: New file.
703 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: New file.
704 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: New file.
705 * sysdeps/unix/sysv/linux/hppa/mmap.c: New file.
706 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: New file.
707 * sysdeps/unix/sysv/linux/hppa/procfs.h: New file.
708 * sysdeps/unix/sysv/linux/hppa/ucontext.h: New file.
709 * sysdeps/unix/sysv/linux/hppa/umount.c: New file.
711 2000-10-12 Alan Modra <alan@linuxcare.com.au>
713 * sysdeps/hppa/hppa1.1/Implies: New file.
714 * sysdeps/hppa/memusage.h: New file.
716 2000-10-28 Jes Sorensen <jes@linuxcare.com>
718 * sysdeps/unix/sysv/linux/ia64/Versions: Export ioperm, iopl, inb,
719 inw, inl, _inb, _inw, _inl, outb, outw, outl, _outb, _outw,
720 _outl. Reported by Bill Nottingham.
722 2000-04-06 Andreas Schwab <schwab@suse.de>
724 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
725 restore register r8 for functions that return a structure.
727 2000-10-12 Jakub Jelinek <jakub@redhat.com>
729 * math/libm-test.inc (M_PI_6l, M_E2l, M_E3l, M_2_SQRT_PIl,
730 M_SQRT_PIl): Increase precision.
731 (cbrt_test): If cbrt is not implemented, don't test it.
732 Add L suffix to double constants in results which differ from their
733 L suffixed counterparts.
734 (exp10_test, fmod_test, frexp_test, hypot_test, sqrt_test): Likewise.
736 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
738 2000-10-11 Jakub Jelinek <jakub@redhat.com>
740 * inet/rexec.c (rexec_af): Convert rport to host order before
741 passing it to snprintf.
743 2000-10-14 Ulrich Drepper <drepper@redhat.com>
745 * sysdeps/gnu/netinet/tcp.h: Use u_intXX_t types instead of
746 uintXX_t since this is what <sys/types.h> defines and we include
747 this header. Reported by Bernhard Rosenkraenzer <bero@redhat.de>.
749 * intl/localealias.c (read_alias_file): Update string pointers
750 in map[] if realloc() changed the values.
751 Patch by Jakub Jelinek <jakub@redhat.com>.
753 * manual/stdio.texi: Update printf extension documentation after
754 z became a valid modifier.
755 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
757 * timezone/africa: Update from tzcode2000g and tzdata2000g.
758 * timezone/asia: Likewise.
759 * timezone/australasia: Likewise.
760 * timezone/backward: Likewise.
761 * timezone/europe: Likewise.
762 * timezone/iso3166.tab: Likewise.
763 * timezone/northamerica: Likewise.
764 * timezone/southamerica: Likewise.
765 * timezone/zone.tab: Likewise.
767 2000-10-14 Geoffrey Keating <geoffk@cygnus.com>
769 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl()
772 2000-10-13 Michael Fedrowitz <michael@fedrowitz.de>
774 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: New file.
775 * sysdeps/unix/sysv/linux/m68k/fcntl.c: New file.
776 * sysdeps/unix/sysv/linux/m68k/getdents64.c: New file.
777 * sysdeps/unix/sysv/linux/m68k/getrlimit.c: New file.
778 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: New file.
779 * sysdeps/unix/sysv/linux/m68k/glob64.c: New file.
780 * sysdeps/unix/sysv/linux/m68k/lockf64.c: New file.
781 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: New file.
782 * sysdeps/unix/sysv/linux/m68k/readdir64.c: New file.
783 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: New file.
784 * sysdeps/unix/sysv/linux/m68k/scandir64.c: New file.
785 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: New file.
786 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: New file.
787 * sysdeps/unix/sysv/linux/m68k/Dist: Add oldgetrlimit64.c.
788 * sysdeps/unix/sysv/linux/m68k/Makefile: Add oldgetrlimit64.
789 * sysdeps/unix/sysv/linux/m68k/Versions: Export __xstat64,
790 __fxstat64, __lxstat64, alphasort64, glob64, getrlimit, setrlimit,
791 getrlimit64, readdir64, readdir64_r, scandir64, versionsort64 at
793 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add oldgetrlimit,
794 oldsetrlimit for GLIBC_2.0.
796 * sysdeps/m68k/dl-machine.h (_dl_start_user): Pass correct
797 arguments to _dl_init.
799 2000-10-13 Geoffrey Keating <geoffk@cygnus.com>
801 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs for my Pentium III
802 building with the default options.
804 2000-10-11 Andreas Jaeger <aj@suse.de>
806 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set cache.
807 Patch by Denis Zaitsev <zzz@cd-club.ru>.
809 2000-10-09 Jakub Jelinek <jakub@redhat.com>
811 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): If x == y,
813 * manual/arith.texi (nextafter): Document it.
814 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Fix a comment.
816 2000-10-08 Ulrich Drepper <drepper@redhat.com>
818 * version.h (VERSION): Bump to 2.1.95.
820 * configure.in: Remove warning message.
822 * nscd/Makefile (distribute): Add nscd-types.h.
823 * elf/Makefile (distribute): Add gccframe.h.
824 * sysdeps/sparc/sparc32/Dist: Add ieee754.h.
825 * sysdeps/ia64/Dist: Add ieee754.h.
827 2000-10-07 Ulrich Drepper <drepper@redhat.com>
829 * elf/elf.h: Add a few section-related symbols.
831 * include/features.h (__STDC_ISO_10646__): Set to correct date.
832 Patch by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
834 2000-10-06 Jes Sorensen <jes@linuxcare.com>
836 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Implement
837 overflow generation by adding DBL_MAX to DBL_MAX instead of
838 setting the bits manually in the fpsr and generating the exception
839 with kill() if necessary.
840 (feraiseexcept): Implement underflow by dividing DBL_MIN by
841 DBL_MIN - similar to the overflow change described above.
843 2000-08-27 H.J. Lu <hjl@gnu.org>
845 * sysdeps/unix/sysv/linux/ia64/clone.S: Make it a dummy as clone
846 is not supported under Linux/ia64, use clone2.
848 2000-10-06 Jakub Jelinek <jakub@redhat.com>
850 * malloc/malloc.h (__THROW): Define to nothing if not gcc.
851 * misc/sys/cdefs.h (__THROW): Likewise.
853 2000-10-05 Jakub Jelinek <jakub@redhat.com>
855 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: New file.
857 2000-10-02 Jakub Jelinek <jakub@redhat.com>
859 * sunrpc/svc_udp.c (svcudp_recv): Set msg_controllen to all
860 remaining xp_pad space.
862 2000-10-05 Jakub Jelinek <jakub@redhat.com>
864 * elf/dl-close.c (_dl_close): Check imap's l_flags_1 for
865 DF_1_NODELETE, not list[i]'s.
867 2000-10-04 Ulrich Drepper <drepper@redhat.com>
869 * iconvdata/euc-kr.c (euckr_from_ucs4): Handle U20a9.
870 (BODY from direction): Map \x5c to U20a9.
871 * iconvdata/testdata/EUC-KR..UTF8: Adjust to this change.
872 * iconvdata/EUC-KR.irreversible: New file.
873 * iconvdata/Makefile (distribute): Add EUC-KR.irreversible.
875 * argp/argp-parse.c (argp_default_argp): Set libc as message domain.
876 (argp_version_argp): Likewise.
878 2000-10-04 Jakub Jelinek <jakub@redhat.com>
880 * stdio-common/vfscanf.c (_IO_vfscanf): For [ conversion do
881 input_error() if EOF is seen before processing.
882 * stdio-common/tstscanf.c (main): Add testcase.
884 2000-10-04 Ulrich Drepper <drepper@redhat.com>
886 * argp/argp-help.c: Make sure we get the correct gettext and
887 dgettext definitions.
888 * argp/argp-parse.c: Likewise.
890 2000-10-03 Ulrich Drepper <drepper@redhat.com>
892 * locale/programs/linereader.c (get_string): Also clear wide
893 string info if illegal_string.
895 2000-10-03 Andreas Schwab <schwab@suse.de>
897 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: New file.
899 2000-10-02 Jakub Jelinek <jakub@redhat.com>
901 * elf/nextmod1.c (failing_rtld_next_use): Ensure it is not tail call
904 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: New file.
906 2000-10-02 Ralf Baechle <ralf@gnu.org>
908 * sysdeps/unix/sysv/linux/mips/sys/tas.h: Add missing .mips0 at the
909 end of inline assembler code.
911 2000-10-02 Ulrich Drepper <drepper@redhat.com>
913 * include/features.h [__USE_FILE_OFFSET && !__REDIRECT]: Define
914 __USE_LARGEFILE64 and __USE_LARGEFILE to 1 and not nothing.
916 2000-10-02 Andreas Jaeger <aj@suse.de>
918 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Synch with Linux
921 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Add RLIMIT_LOCKS.
923 2000-10-01 Ralf Baechle <ralf@gnu.org>
925 * sysdeps/mips/dl-machine.h (RTLD_START): Fix computation of envp
926 argument passed to _dl_init.
928 2000-09-30 Bruno Haible <haible@clisp.cons.org>
930 * locale/programs/charmap-dir.h: New file.
931 * locale/programs/charmap-dir.c: New file.
932 * locale/programs/linereader.h (lr_create): New declaration.
933 * locale/programs/linereader.c (lr_create): New function, split out
935 (lr_open): Tailcall lr_create.
936 * locale/programs/locale.c: Include "charmap-dir.h". Don't include
938 (xstrdup): New declaration.
939 (more_help): Use xstrdup instead of strdup.
940 (write_locales): Likewise. When encountering a symbolic link, call
942 (write_charmaps): Simplify using the charmap-dir.h functions.
943 Use xstrdup instead of strdup.
944 * locale/programs/charmap.c: Include "charmap-dir.h". Don't include
945 <dirent.h> and <unistd.h>.
946 (cmlr_open): New function.
947 (charmap_read): Use cmlr_open instead of lr_open. Simplify using the
948 charmap-dir.h functions.
949 * locale/Makefile (distribute): Add charmap-dir.h.
950 (lib-modules): Add charmap-dir.
951 (CFLAGS-charmap-dir.c): Set to -Wno-write-strings, because posix_spawn
952 wants a 'char **', not a 'const char **'.
953 * include/spawn.h: New file.
955 2000-09-30 Bruno Haible <haible@clisp.cons.org>
957 * posix/spawn_faction_init.c: Include "spawn_int.h".
958 (__posix_spawn_file_actions_realloc): Fix second realloc argument.
960 2000-09-30 Bruno Haible <haible@clisp.cons.org>
962 * locale/programs/config.h (DEFAULT_CHARMAP): Set to ANSI_X3.4-1968.
964 2000-09-30 Bruno Haible <haible@clisp.cons.org>
966 * wcsmbs/wcwidth.h (__ctype32_wctype): Remove declaration.
967 (internal_wcwidth): Remove the tests for L'\0' and iswprint.
968 * locale/programs/ld-ctype.c (find_idx): If max == NULL, return
969 a pointer to the table entry, without extending the table.
970 (allocate_arrays): Set a width only for characters with 'print'
971 property. Set the width of L'\0' to 0.
972 * locale/C-ctype.c (_nl_C_LC_CTYPE_width): Use default entry 0xff
973 for unprintable characters. Set entry of NUL to 0.
975 2000-09-30 Bruno Haible <haible@clisp.cons.org>
977 * locale/programs/charmap.c (charmap_read): Avoid redundant tests.
978 Don't forget to call closedir when the filename was found as a
981 2000-09-30 Bruno Haible <haible@clisp.cons.org>
983 * iconv/gconv.h (__gconv_trans_context_fct): Change first argument's
986 2000-09-30 Bruno Haible <haible@clisp.cons.org>
988 * locale/programs/ld-ctype.c (wctype_table_init): Initialize level1,
989 level2, and level3 as well.
990 (wctype_table_add): Remove a few unnecessary conditionals.
992 2000-09-30 Ralf Baechle <ralf@gnu.org>
994 * wcsmbs/Versions [libc] (GLIBC_2.0): Add __mbrtowc.
996 2000-09-30 H.J. Lu <hjl@gnu.org>
998 * sysdeps/ieee754/ldbl-96/s_ceill.c (__ceill): Handle overflow.
999 * sysdeps/ieee754/ldbl-96/s_floorl.c (__floorl): Likewise.
1001 2000-09-29 H.J. Lu <hjl@gnu.org>
1003 * math/libm-test.inc (init_max_error): Clear all exceptions
1004 before starting test.
1005 (acosh_test): Test for existence of function.
1006 (asinh_test): Likewise.
1007 (atan2_test): Likewise.
1008 (cabs_test): Likewise.
1009 (cacos_test): Likewise.
1010 (cacosh_test): Likewise.
1011 (casin_test): Likewise.
1012 (casinh_test): Likewise.
1013 (catan_test): Likewise.
1014 (catanh_test): Likewise.
1015 (ccos_test): Likewise.
1016 (ccosh_test): Likewise.
1017 (cexp_test): Likewise.
1018 (clog_test): Likewise.
1019 (clog10_test): Likewise.
1020 (cosh_test): Likewise.
1021 (cpow_test): Likewise.
1022 (csin_test): Likewise.
1023 (csinh_test): Likewise.
1024 (csqrt_test): Likewise.
1025 (ctan_test): Likewise.
1026 (ctanh_test): Likewise.
1027 (fmod_test): Likewise.
1028 (hypot_test): Likewise.
1029 (remainder_test): Likewise.
1030 (remquo_test): Likewise.
1031 (sincos_test): Likewise.
1032 (sinh_test): Likewise.
1033 (tanh_test): Likewise.
1035 2000-09-29 H.J. Lu <hjl@gnu.org>
1037 * sysdeps/ia64/ieee754.h: New file.
1039 * sysdeps/ia64/fpu/math_ldbl.h: New file.
1041 2000-09-30 Jakub Jelinek <jakub@redhat.com>
1043 * elf/ldconfig.h (FLAG_X8664_LIB64): Define.
1044 * sysdeps/unix/sysv/linux/i386/readelflib.c: New file.
1046 2000-09-30 Ulrich Drepper <drepper@redhat.com>
1048 * manual/charset.texi: Correct notations, reference to C90 amd 1,
1049 and some other details.
1050 * manual/ctype.texi: Likewise.
1051 Patches by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
1053 2000-09-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1055 * sysdeps/ieee754/flt-32/s_frexpf.c: Make it aliasing safe.
1057 2000-09-29 Ulrich Drepper <drepper@redhat.com>
1059 * elf/cache.c (save_cache): Initialize __unused field in new cache
1060 as well to get reproducable results.
1062 2000-09-29 H.J. Lu <hjl@gnu.org>
1064 * sysdeps/ia64/fpu/libm-test-ulps: Updated for long double.
1066 2000-09-29 H.J. Lu <hjl@gnu.org>
1068 * sysdeps/ia64/bits/huge_val.h: New file.
1070 2000-09-29 Ulrich Drepper <drepper@redhat.com>
1072 * elf/chroot_canon.c: Don't report a failure if the last path
1073 component is not available.
1074 * elf/ldconfig.c (parse_conf): Use canonicalized name when reporting
1077 * elf/cache.c (print_cache): Use stat64 instead of stat.
1078 * elf/ldconfig.c (chroot_stat): Likewise.
1079 (create_links): Likewise.
1080 (manual_link): Likewise.
1081 (search_dir): Likewise.
1082 * elf/readlib.c (process_file): Likewise.
1084 * Makefile (install): Set LC_ALL and LANGUAGE to C before running
1087 2000-09-29 Jakub Jelinek <jakub@redhat.com>
1089 * elf/chroot_canon.c: New file.
1090 * elf/Makefile: Build and distribute it.
1091 * elf/ldconfig.h (process_file): Add real_file_name argument.
1092 (chroot_canon): Add prototype.
1093 * elf/ldconfig.c (cache_file): Remove const.
1095 (create_links): Add real_path argument.
1096 If opt_chroot, maintain both real and given filenames.
1097 (manual_link): Likewise.
1098 (search_dir): Likewise.
1099 (parse_conf): If opt_chroot, use chroot_canon to find the real
1101 (main): For -r, try to use chroot, if it fails, leave opt_chroot set
1102 and use chroot_canon where appropriate to do the same as if chroot
1104 * elf/readlib.c (process_file): Add real_file_name argument, pass it
1107 2000-09-29 Ulrich Drepper <drepper@redhat.com>
1109 * math/complex.h (_Complex): We can be more specific when _Complex
1110 is defined by the compiler.
1112 2000-09-29 H.J. Lu <hjl@gnu.org>
1114 * sysdeps/unix/sysv/linux/ia64/dl-cache.h: New.
1116 * elf/cache.c (print_entry): Replace 64bit with IA-64 in message
1117 for x86/IA-64 binary.
1119 2000-09-29 Andreas Schwab <schwab@suse.de>
1121 * sysdeps/unix/sysv/linux/ia64/readelflib.c: New file.
1123 * elf/cache.c (print_entry): Check for FLAG_IA64_LIB64.
1125 2000-09-29 Mark Kettenis <kettenis@gnu.org>
1127 * sysdeps/mach/hurd/dl-sysdep.c (__access): New function. Dummy
1128 implementation for use by the dynamic linker.
1130 2000-09-29 Andreas Jaeger <aj@suse.de>
1132 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Protect DN_* by
1134 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
1135 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
1136 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1137 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
1138 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1139 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1141 2000-09-29 Andreas Jaeger <aj@suse.de>
1143 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Synch with Linux
1145 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
1146 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
1147 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1148 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
1149 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1150 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1152 2000-09-29 David Mosberger <davidm@hpl.hp.com>
1154 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__ia64_syscall): Cleanup.
1156 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Implement.
1158 2000-06-10 David Mosberger <davidm@hpl.hp.com>
1160 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix it so it actually
1161 works: call to __sigjmp_save must be done unconditionally to
1162 ensure jmp_buf is initialized properly.
1164 2000-09-27 Andreas Jaeger <aj@suse.de>
1166 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Synch with Linux
1169 2000-09-29 Jakub Jelinek <jakub@redhat.com>
1171 * nscd/nscd-client.h (NSCD_VERSION): Bump to 3.
1172 Use nscd_ssize_t where appropriate.
1173 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use nscd_ssize_t instead of
1174 ssize_t where appropriate.
1175 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1176 * nscd/hstcache.c (cache_addhst): Likewise.
1177 * nscd/grpcache.c (cache_addgr): Likewise.
1178 * sysdeps/generic/nscd-types.h: New file.
1179 * sysdeps/alpha/nscd-types.h: New file.
1181 2000-09-29 Ulrich Drepper <drepper@redhat.com>
1183 * inet/getnameinfo.c (nrl_domainname): Use symbolic constant
1184 INADDR_LOOPBACK instead of numeric value.
1186 2000-09-28 H.J. Lu <hjl@gnu.org>
1188 * sysdeps/ia64/dl-machine.h (RTLD_START): Adjust _dl_argv by
1190 (ELF_MACHINE_FIXED_STACK): Removed.
1192 2000-09-29 Andreas Jaeger <aj@suse.de>
1194 * sysdeps/unix/sysv/linux/s390/lockf64.c: New file.
1196 * sysdeps/unix/sysv/linux/s390/fcntl.c: New file.
1198 * sysdeps/unix/sysv/linux/powerpc/lockf64.c: New file.
1200 * sysdeps/unix/sysv/linux/powerpc/fcntl.c: New file.
1202 2000-09-28 Ulrich Drepper <drepper@redhat.com>
1204 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle unaligned
1205 relocation also for R_ALPHA_RELATIVE.
1206 Reported by Ivan Kokshaysky <ink@jurassic.park.msu.ru>.
1208 2000-09-18 Bruno Haible <haible@clisp.cons.org>
1210 * intl/dcigettext.c: Outside libc, use local variable names that don't
1211 clash with those in libc.
1212 * intl/bindtextdom.c: Likewise.
1213 * intl/textdomain.c: Likewise.
1215 2000-09-28 Ulrich Drepper <drepper@redhat.com>
1217 * elf/ldconfig.c (parse_conf): Print full name of config dir
1218 including chroot() path.
1219 (main): Remove trailing / from opt_chroot string.
1221 * include/features.h: Correct description of what happens if no
1222 *_SOURCE macro is defined.
1224 * sysdeps/posix/getaddrinfo.c (gaih_inet): Handle req->ai_socktype
1225 correctly. Reported by Felix von Leitner <leitner@convergence.de>.
1227 2000-09-19 H.J. Lu <hjl@gnu.org>
1229 * malloc/malloc.h (__memalign_hook): Fix the parameter order.
1230 * malloc/malloc.c (__memalign_hook): Likewise.
1231 (memalign_hook_ini): Likewise.
1233 2000-09-28 Ulrich Drepper <drepper@redhat.com>
1235 * stdio-common/tmpnam.c (tmpnam): Optimize a bit.
1237 * sysdeps/posix/getaddrinfo.c (gaih_local): Don't use tmpnam, use
1238 underlying functions directly.
1240 * sysdeps/unix/sysv/linux/bits/resource.h: Add RLIMIT_LOCKS.
1241 * sysdeps/unix/sysv/linux/arm/bits/resource.h: Likewise.
1242 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Likewise.
1243 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
1244 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: Likewise.
1245 * sysdeps/unix/sysv/linux/sh/bits/resource.h: Likewise.
1246 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
1248 2000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1250 * sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_IPC64, only
1251 define it for powerpc for kernel >= 2.4.0.
1252 * sysdeps/unix/sysv/linux/msgctl.c: Test for __ASSUME_IPC64, not
1254 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1255 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1256 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Sync with kernel.
1257 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: New file.
1258 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: New file.
1259 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: New file.
1261 2000-09-28 Martin Schwidefsksy <schwidefsky@de.ibm.com>
1263 * sysdeps/s390/atomicity.h: Fix compare_and_swap.
1265 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h
1266 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
1268 2000-09-28 Denis Joseph Barrow <djbarrow@de.ibm.com>
1270 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from
1272 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Fix ucontext structure.
1274 2000-09-27 Andreas Schwab <schwab@suse.de>
1276 * math/Makefile (distribute): Explicitly add the long double test
1277 sources, to get them included even if long double is not supported.
1279 2000-09-27 Jes Sorensen <jes@linuxcare.com>
1281 * elf/soinit.c (struct object): Move definition to gccframe.h and
1282 include it. Problem identified by HJ Lu.
1284 * sysdeps/ia64/gccframe.h: New file. ia64 specific version of
1285 struct object to be searched for frame unwind info.
1286 * sysdeps/generic/gccframe.h: New file. Generic version of
1287 struct object to be searched for frame unwind info.
1289 2000-09-28 Ulrich Drepper <drepper@redhat.com>
1291 * manual/errno.texi: Correct error text for ENXIO.
1292 Reported by Jörg Schilling <schilling@fokus.gmd.de>.
1294 2000-09-27 Jes Sorensen <jes@linuxcare.com>
1296 * sysdeps/ia64/fpu/fsetexcptflg.c (fesetexceptflag): Set the
1297 exception status bits rather than the exception disable bits.
1298 Don't include math.h.
1300 * sysdeps/ia64/fpu/fgetexcptflg.c (fegetexceptflag): Report the
1301 status of exceptions currently raised rather than which exceptions
1304 * sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Typecase to fenv_t
1305 rather than unsigned long int.
1307 * sysdeps/ia64/fpu/fedisblxcpt.c (fedisableexcept): Only disable
1308 the exceptions actually requested by the caller and not just
1309 disable all exceptions.
1311 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Exceptions on
1312 the ia64 are enabled by clearing the respective bits in the fpsr,
1315 * sysdeps/ia64/bits/fenv.h: typedef fexcept_t and fenv_t to
1316 unsigned long int rather than unsigned long to be consistent with
1317 the coding conventions.
1319 2000-09-20 H.J. Lu <hjl@gnu.org>
1321 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Use fenv_t instead of
1323 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1325 2000-09-28 Ulrich Drepper <drepper@redhat.com>
1327 * string/bits/string2.h: Unify #if usage.
1329 2000-09-27 Jakub Jelinek <jakub@redhat.com>
1331 * math/test-fenv.c (feexcp_mask_test): If enabling all exceptions
1332 and disabling underflow or overflow, disable inexact as well.
1334 2000-09-26 Andreas Jaeger <aj@suse.de>
1336 * sysdeps/gnu/netinet/tcp.h: Add tcp_info defines and types.
1338 * sysdeps/unix/sysv/linux/sys/mount.h (enum): New flag MS_BIND.
1340 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETLKW64,
1341 F_GETLK64, F_SETLK64): Update from Linux-2.4.0-test9-pre4.
1343 * elf/ldconfig.c (search_dir): Allow unlimited path length.
1344 (create_links): Likewise.
1346 2000-09-27 Ulrich Drepper <drepper@redhat.com>
1348 * posix/tst-dir.c: Test a few error cases of chdir.
1350 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1352 * math/math_private.h: Don't add long double prototypes if
1353 NO_LONG_DOUBLE is defined.
1355 * sysdeps/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove
1357 * sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise.
1358 * sysdeps/unix/i386/i586/clock_getres.c (EXTRA_CLOCK_CASES): Likewise.
1360 * sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC.
1362 2000-09-26 Jakub Jelinek <jakub@redhat.com>
1364 * sysdeps/sparc/sparc32/bits/endian.h: Remove.
1365 * sysdeps/sparc/sparc32/ieee754.h: New.
1366 * sysdeps/sparc/sparc64/bits/endian.h: Move...
1367 * sysdeps/sparc/bits/endian.h: ...here.
1368 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Optimize.
1369 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Check
1370 %o1, not %o0 to see if we're parent or child. Optimize.
1372 2000-09-26 Jes Sorensen <jes@linuxcare.com>
1374 * sysdeps/unix/sysv/linux/ia64/fork.S: New file (based on code
1376 * sysdeps/unix/sysv/linux/ia64/vfork.S: New file (based on
1377 code by Hans Boehm).
1378 * sysdeps/unix/sysv/linux/ia64/fork.c: Deleted (obsoleted by fork.S).
1380 2000-09-20 H.J. Lu <hjl@gnu.org>
1382 * sysdeps/ia64/fpu/printf_fphex.c: New file.
1384 * sysdeps/ia64/fpu/libm-test-ulps: New file.
1386 2000-09-17 H.J. Lu <hjl@gnu.org>
1388 * sysdeps/ia64/Makefile (long-double-fcts): New. Defined as yes.
1390 * sysdeps/ia64/fpu/s_isinfl.c: New file. Include
1391 sysdeps/i386/fpu/s_isinfl.c.
1393 * sysdeps/ia64/fpu/s_isnanl.c: New file. Include
1394 sysdeps/i386/fpu/s_isnanl.c.
1396 * sysdeps/ia64/fpu/s_nextafterl.c: New file. Include
1397 sysdeps/i386/fpu/s_nextafterl.c.
1399 * sysdeps/ia64/fpu/bits/mathdef.h: New file. Copied from
1400 sysdeps/i386/fpu/bits/mathdef.h.
1402 2000-09-16 H.J. Lu <hjl@gnu.org>
1404 * sysdeps/generic/ldsodefs.h (DL_UNMAP): New. Defined if
1405 DL_UNMAP_IS_SPECIAL is not defined.
1407 * sysdeps/ia64/dl-lookupcfg.h (DL_UNMAP_IS_SPECIAL): Defined.
1408 (_dl_unmap): New prototype.
1409 (DL_UNMAP): New. Defined as _dl_unmap.
1411 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_unmap.
1413 * elf/dl-close.c (_dl_close): Replace __munmap with DL_UNMAP.
1415 2000-09-16 H.J. Lu <hjl@gnu.org>
1417 * sysdeps/generic/ldsodefs.h (DL_LOOKUP_ADDRESS): New. Defined
1418 if ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
1420 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): New
1422 (DL_LOOKUP_ADDRESS): New. Defined as _dl_lookup_address.
1424 * sysdeps/ia64/dl-fptr.c (_dl_lookup_address): New. Lookup
1425 the memory location of a function from a function descriptor.
1427 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_lookup_address.
1429 * elf/dl-addr.c (_dl_addr): Use DL_LOOKUP_ADDRESS to get the
1432 2000-09-14 Jes Sorensen <jes@linuxcare.com>
1434 * sysdeps/ia64/bits/byteswap.h (__bswap_16): Don't mark output
1435 variable as input argument.
1436 (__bswap_32): Likewise.
1438 * sysdeps/ia64/dl-machine.h: Add missing stop bit in RTLD_START()
1439 - found by Jim Wilson <wilson@cygnus.com>
1441 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1443 * string/strxfrm.c: Only require alignment on __alignof__ (int32_t)
1446 2000-09-26 Andreas Schwab <schwab@suse.de>
1448 * locale/programs/ld-collate.c (collate_output): Only require
1449 alignment on __alignof__ (int32_t) instead of 4.
1450 * locale/loadlocale.c (_nl_load_locale): Likewise.
1451 * string/strcoll.c: Likewise.
1453 2000-09-26 Jes Sorensen <jes@linuxcare.com>
1455 * sysdeps/ieee754/ldbl-96/e_atan2l.c (__ieee754_atan2l): Add
1456 parentheses around arithmetic used in | statement to kill compiler
1459 * math/math_private.h: Add prototype for __finitel.
1460 (__ilogbl): Likewise.
1461 (__isinfl): Likewise.
1462 (__isnanl): Likewise.
1463 (__atanl): Likewise.
1464 (__copysignl): Likewise.
1465 (__expm1l): Likewise.
1466 (__floorl): Likewise.
1467 (__frexpl): Likewise.
1468 (__ldexpl): Likewise.
1469 (__log1pl): Likewise.
1471 (__rintl): Likewise.
1472 (__scalbnl): Likewise.
1473 (__sqrtl): Likewise.
1475 (__sincosl): Likewise.
1477 2000-09-26 Andreas Schwab <schwab@suse.de>
1479 * sysdeps/m68k/fpu/libm-test-ulps: New file
1481 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1483 * locale/langinfo.h (__nl_langinfo_l): Add prototype.
1485 2000-09-26 Andreas Jaeger <aj@suse.de>
1487 * misc/mkstemp64.c: New file.
1488 * misc/Makefile (routines): Add mkstemp64.
1489 * stdlib/stdlib.h: Add prototype and redirection magic.
1490 * misc/Versions: Add mkstemp64.
1492 2000-09-26 Thorsten Kukuk <kukuk@suse.de>
1494 * nscd/dbg_log.c (dbg_log): Add missing format string.
1496 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1498 * catgets/catgets.c (catopen): Use getenv instead of __secure_getenv
1499 since we filter out the variable once.
1500 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
1501 * locale/newlocale.c (__newlocale): Likewise.
1502 * locale/setlocale.c (setlocale): Likewise.
1503 * malloc/malloc.c (ptmalloc_init): Likewise.
1504 * resolv/res_hconf.c (_res_hconf_init): Likewise.
1505 * resolv/res_init.c (__res_vinit): Likewise.
1506 * time/tzfile.c (__tzfile_read): Likewise.
1507 * sysdeps/generic/unsecvars.h: New file.
1508 * elf/dl-support.c (non_dynamic_init): Use it here to remove variables.
1509 * elf/rtld.c (process_envvars): Likewise.
1510 * elf/Makefile (distribute): Add unsecvars.h.
1512 * misc/daemon.c (daemon): Fail if !noclose and we cannot open the
1513 real /dev/null device.
1515 * sysdeps/generic/check_fds.c: Include device-nrs.h.
1516 * sysdeps/generic/device-nrs.h: New file.
1517 * sysdeps/unix/sysv/linux/device-nrs.h: New file.
1518 * misc/Makefile (distribute): Add device-nrs.h.
1520 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Use O_TRUNC to
1521 remove possible garbage at the end of the file.
1523 2000-09-25 Ulrich Drepper <drepper@redhat.com>
1525 * stdio-common/tmpnam_r.c: Warn about insecure tmpnam_r.
1526 * stdio-common/tmpnam.c: Warn about insecure tmpnam.
1527 * stdio-common/tempnam.c: Warn about insecure tempnam.
1528 * misc/mktemp.c: Warn about insecure mktemp.
1530 * sysdeps/generic/check_fds.c: Check that file opened is really
1532 * posix/wordexp.c (exec_comm_child): Likewise.
1534 * elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW.
1536 * locale/Makefile (routines): Add nl_langinfo_l.
1537 * locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l.
1538 * locale/nl_langinfo_l.c: New file.
1539 * locale/nl_langinfo.c: Allow use of file for __nl_langinfo_l
1542 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1544 * iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0.
1545 (__gbk_to_ucs): Conditionalize private area mappings.
1546 (__gbk_from_ucs4_tab9): Likewise.
1547 (BODY for TO_LOOP): Likewise.
1548 * iconvdata/testdata/GBK: Don't use characters not yet in Unicode.
1549 * iconvdata/testdata/GBK..UTF-8: Likewise.
1550 * iconvdata/tst-tables.sh: Enable GBK test.
1552 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1554 * iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015.
1555 (__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015.
1556 (BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds
1558 * iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA.
1559 * iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015.
1561 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1563 * iconvdata/johab.c (final_to_ucs): Fix typos.
1564 (jamo_from_ucs_table): Likewise.
1565 (BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges
1566 0xD9E6..0xD9FE and 0xDEF2..0xDEFE.
1567 (BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in
1568 the range 0xD9E6..0xD9FE.
1569 * iconvdata/tst-tables.sh: Enable JOHAB testing.
1571 2000-09-25 Ulrich Drepper <drepper@redhat.com>
1573 * iconv/gconv_conf.c (__gconv_get_path): Fix problem with relative
1576 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1578 * libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if
1579 stream is in wide mode.
1581 * stdio-common/vfprintf.c (buffered_vfprintf): Orient stream.
1583 2000-09-21 Bruno Haible <haible@clisp.cons.org>
1585 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count
1587 (INIT_PARAMS, UPDATE_PARAMS): Likewise.
1589 2000-09-21 Bruno Haible <haible@clisp.cons.org>
1591 * stdio-common/vfscanf.c (__vfscanf, _IO_vfscanf): Fix bugs in
1592 reallocation logic for MALLOC (%as, %aS formats).
1594 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1596 * stdio-common/vfprintf.c (process_arg): Handle %hhn.
1597 Add missing case in va_arg handling for numbers.
1598 * stdio-common/tst-printf.c (main): Add tests for %hhu and %hhn
1600 * stdio/tst-printf.sh: Adjust expected results.
1601 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1603 2000-09-20 Bruno Haible <haible@clisp.cons.org>
1605 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80.
1606 (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half
1608 * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits
1609 as equivalent to uppercase hexadecimal digits.
1611 2000-09-20 Bruno Haible <haible@clisp.cons.org>
1613 * iconvdata/testdata/EUC-KR..UTF8: New file.
1614 * iconvdata/testdata/EUC-TW: New file.
1615 * iconvdata/testdata/EUC-TW..UTF8: New file.
1616 * iconvdata/testdata/EUC-JP: New file.
1617 * iconvdata/testdata/EUC-JP..UTF8: New file.
1618 * iconvdata/testdata/ISO-2022-JP: New file.
1619 * iconvdata/testdata/ISO-2022-JP..UTF8: New file.
1620 * iconvdata/testdata/ISO-2022-JP-2: New file.
1621 * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file.
1622 * iconvdata/testdata/ISO-2022-KR: Add a few more lines.
1623 * iconvdata/testdata/ISO-2022-KR..UTF8: New file.
1624 * iconvdata/testdata/ISO-2022-CN: New file.
1625 * iconvdata/testdata/ISO-2022-CN..UTF8: New file.
1626 * iconvdata/testdata/ISO-2022-CN-EXT: New file.
1627 * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file.
1628 * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2,
1629 ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW.
1631 2000-09-24 Andreas Jaeger <aj@suse.de>
1633 * elf/ldconfig.c (add_dir): Move logic to add entry to list to new
1634 function add_single_dir.
1635 (add_single_dir): New function.
1636 (search_dir): Use add_single_dir instead of recursing.
1638 * sysdeps/generic/dl-cache.h: Include stdint.h.
1639 (struct file_entry_new): Use fixed sizes for interoperability
1640 between 32bit and 64bit systems, add __unused to make alignment
1642 (CACHE_VERSION): Increment.
1643 (struct cache_file_new): Use fixed sizes, add one more unused
1644 entry to make alignment explicit.
1646 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1648 * elf/ldconfig.c (search_dir): Make more use of d_type information.
1650 2000-09-23 Ulrich Drepper <drepper@redhat.com>
1652 * stdio-common/printf-parse.h (parse_one_spec): Clear
1653 spec->info.i18n. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1655 2000-09-18 Mark Kettenis <kettenis@gnu.org>
1657 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO):
1658 #undef since we don't have msync.
1660 * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int
1661 constant since that is what clock_t is.
1662 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
1664 2000-09-11 Mark Kettenis <kettenis@gnu.org>
1666 * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of
1667 multiply by LOAD_SCALE.
1669 2000-09-22 Jakub Jelinek <jakub@redhat.com>
1671 * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW.
1672 (crypt_r, setkey_r, encrypt_r): Likewise.
1674 2000-09-22 Andreas Jaeger <aj@suse.de>
1676 * locale/programs/repertoire.c (repertoiremap_hash): Don't specify
1679 * sysdeps/alpha/fpu/libm-test-ulps: New file.
1680 From Christian Iseli <chris@ludwig-alpha.unil.ch>.
1682 2000-09-21 Andreas Jaeger <aj@suse.de>
1684 * math/libm-test.inc (atan_test): Test for existence of function.
1685 (expm1_test): Likewise.
1686 (acos_test): Likewise.
1687 (asin_test): Likewise.
1688 (exp_test): Likewise.
1689 (log10_test): Likewise.
1690 (log_test): Likewise.
1691 (pow_test): Likewise.
1692 (sqrt_test): Likewise.
1693 (cos_test): Likewise.
1694 (sin_test): Likewise.
1695 (tan_test): Likewise.
1696 (log1p_test): Likewise.
1697 (log2_test): Likewise.
1699 * sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6.
1701 * libio/oldiofsetpos64.c: Fix alias names.
1703 2000-09-21 Martin Buchholz <martin@xemacs.org>
1705 * manual/terminal.texi (Allocation): Sample code correction.
1707 2000-09-20 Andreas Jaeger <aj@suse.de>
1709 * iconvdata/Makefile (generated): Add tst-tables.out.
1711 * intl/Makefile (generated): Add test output.
1713 2000-09-19 Andreas Jaeger <aj@suse.de>
1715 * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer.
1716 Reported by Jens-Uwe Mager <jum@helios.de>.
1718 2000-09-18 Ulrich Drepper <drepper@redhat.com>
1720 * version.h (VERSION): Bump to 2.1.94.
1722 * sysdeps/mips/Dist: Add fpu/fenv_libc.h.
1723 * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c.
1724 * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c.
1725 * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h.
1727 * malloc/mtrace.c (mtrace): Mark stream as close on exec.
1729 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1731 * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the
1732 range 0xD800..0xDFFF.
1733 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
1734 (BODY for FROM_LOOP): Likewise.
1735 * iconv/gconv_simple.c (ucs2_internal_loop): Likewise.
1736 (internal_ucs2_loop): Likewise.
1737 (ucs2reverse_internal_loop): Likewise.
1738 (internal_ucs2reverse_loop): Likewise.
1740 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1742 * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding
1745 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1747 * iconvdata/tst-table-from.c (main): Fix test for error on stdout.
1748 * iconvdata/tst-table-to.c (main): Likewise.
1750 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1752 * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from
1754 * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration.
1755 * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h".
1756 (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set,
1757 CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values.
1758 (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3.
1759 Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT.
1760 (BODY for TO_LOOP): Fix usage of `set' vs. `used'. Fix typo that
1761 caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643
1762 plane 3. Fix shift sequences. Output announcement for SS2 and SS3
1763 encodings when needed. When outputting an announcement, don't clear
1764 most other announcements.
1766 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1768 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun.
1769 (BODY for TO_LOOP): Fix usage of `set' vs. `used'.
1771 2000-09-14 Bruno Haible <haible@clisp.cons.org>
1773 * intl/Versions: Add bind_textdomain_codeset.
1775 2000-09-16 Ralf Baechle <ralf@gnu.org>
1777 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare
1779 (_RTLD_EPILOGUE): Reformat. Declare size of entry function.
1780 (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so
1781 it will even work when not loaded to the standard address.
1782 (RTLD_START): Reformat. Call _dl_start in a way that is safe even
1783 before the dynamic linker itself is relocated.
1785 2000-09-18 Andreas Jaeger <aj@suse.de>
1787 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
1788 __ASSUME_32BITUIDS for MIPS.
1789 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file.
1790 * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h.
1792 2000-09-17 H.J. Lu <hjl@gnu.org>
1794 * catgets/Makefile ($(objpfx)de/libc.cat): Use
1795 $(make-target-directory) instead of mkdir.
1797 2000-09-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1799 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
1800 __ASSUME_32BITUIDS for __powerpc__.
1801 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
1802 * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.
1804 2000-09-17 Ulrich Drepper <drepper@redhat.com>
1806 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
1808 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
1810 2000-09-16 Jakub Jelinek <jakub@redhat.com>
1812 * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
1814 * sysdeps/m68k/Implies: Likewise.
1815 * sysdeps/sparc/sparc64/Implies: Likewise.
1817 2000-09-16 Jakub Jelinek <jakub@redhat.com>
1819 * elf/readlib.c (process_file): Don't error for stale .so links either.
1821 2000-09-16 Ulrich Drepper <drepper@redhat.com>
1823 * elf/dl-load.c (_dl_map_object_from_fd): Add one more
1826 * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
1827 Patch by Thorsten Kukuk <kukuk@suse.de>.
1829 * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
1830 (test): Add default.
1831 (modules-names): Add defaultmod1 and defaultmod2.
1832 Add rules to build test objects.
1834 2000-09-15 Ulrich Drepper <drepper@redhat.com>
1836 * wctype/wctype.h: Always include <bits/types.h>.
1837 Reported by Jim Meyering <meyering@ascend.com>.
1839 * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
1840 * elf/dl-support.c: Likewise.
1842 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
1843 st_blocks member in stat and stat64 structs.
1844 Patch by Bill Nottingham <notting@redhat.com>.
1846 * iconvdata/tst-tables.sh: Add warning that GB18030 test might
1849 * math/complex.h: Don't define _Complex macro for gcc 3. Add
1850 __extension__ to _Complex_I definition since gcc warns if -pedantic.
1851 * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
1852 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1854 * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
1855 necessary. Move includes of POSIX and Unix limits files to the end.
1856 * stdlib/Makefile (tests): Add tst-limits.
1857 * stdlib/tst-limits.h: New file.
1859 2000-09-15 Andreas Jaeger <aj@suse.de>
1861 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.
1863 * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
1865 2000-09-15 Jakub Jelinek <jakub@redhat.com>
1867 * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
1869 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
1870 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
1872 2000-09-15 Ulrich Drepper <drepper@redhat.com>
1874 * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
1876 (modules-names): Add nextmod1 and nextmod2.
1877 Add rules to build and run next.
1878 * elf/next.c: New file.
1879 * elf/nextmod1.c: New file.
1880 * elf/nextmod2.c: New file.
1882 2000-09-14 Jakub Jelinek <jakub@redhat.com>
1884 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
1886 2000-09-15 Andreas Jaeger <aj@suse.de>
1888 * sysdeps/mips/fpu/fenv_libc.h: New file.
1889 * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h
1890 * sysdeps/mips/fpu/fegetexcept.c: Likewise.
1891 * sysdeps/mips/fpu/fedisblxcpt.c: Likewise.
1893 * sysdeps/mips/fpu/feenablxcpt.c: New file.
1894 * sysdeps/mips/fpu/fegetexcept.c: New file.
1895 * sysdeps/mips/fpu/fedisblxcpt.c: New file.
1897 2000-09-14 Ulrich Drepper <drepper@redhat.com>
1899 * intl/Makefile: Avoid unnecessary test reruns.
1901 * stdio-common/tst-printf.sh: Also allow output from 64-bit machines.
1903 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
1904 to not use sysctl(). Too many architectures have problems with it.
1906 2000-09-14 Andreas Jaeger <aj@suse.de>
1908 * scripts/config.sub: New version from subversions.gnu.org.
1910 * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
1913 2000-09-14 Jakub Jelinek <jakub@redhat.com>
1915 * posix/regex.c (compile_range): Cast collseq index to unsigned char
1916 to avoid accessing data before collseq.
1918 * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
1919 pasting strings together.
1921 2000-09-14 Greg McGary <greg@mcgary.org>
1923 * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in
1925 * sysdeps/generic/bp-semctl.h: Likewise.
1926 * sysdeps/generic/bp-start.h: Likewise.
1927 * sysdeps/generic/bp-sym.h: Likewise.
1928 * sysdeps/generic/bp-thunks.h: Likewise. Include <stdio.h> to get
1931 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1933 * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
1936 * elf/elf.h: Add missing official relocations.
1938 * libio/stdio.h: Define __FILE if __need___FILE is defined.
1939 * stdio/stdio.h: Likewise.
1940 * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
1941 * include/stdio.h: Handle __need___FILE like __need_FILE.
1942 * include/wchar.h: Use __FILE instead of FILE.
1943 * libio/fwprintf.c: Include <stdio.h> for FILE definition.
1944 * libio/fwscanf.c: Likewise.
1945 * libio/getwc.c: Likewise.
1947 * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
1948 * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
1949 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
1951 * assert/assert.h: Update comment header about ISO C section.
1952 * math/complex.h: Likewise.
1953 * ctype/ctype.h: Likewise.
1954 * include/errno.h: Likewise.
1955 * include/limits.h: Likewise.
1956 * locale/locale.h: Likewise.
1957 * math/math.h: Likewise.
1958 * setjmp/setjmp.h: Likewise.
1959 * signal/signal.h: Likewise.
1960 * stdio/stdio.h: Likewise.
1961 * libio/stdio.h: Likewise.
1962 * stdlib/stdlib.h: Likewise.
1963 * string/string.h: Likewise.
1964 * time/time.h: Likewise.
1965 * wcsmbs/wchar.h: Likewise.
1966 * wctype/wctype.h: Likewise.
1967 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1969 2000-09-13 Andreas Jaeger <aj@suse.de>
1971 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
1972 for no more entries.
1973 * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
1974 * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
1975 Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
1977 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1979 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
1980 constant since this is what clock_t is.
1981 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
1982 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
1983 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
1984 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
1986 * time/time.h: Don't defined clockid_t and timer_t unless POSIX
1987 definitions are requested.
1989 2000-09-13 Andreas Jaeger <aj@suse.de>
1991 * shlib-versions: libBrokenLocale needs minimal version for ia64,
1992 sparc64 and sh to synch with libc.
1994 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1996 * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
1997 (distribute): Add iso-2022-cn-ext.c.
1998 Add definitions to compile the new module.
1999 * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
2000 * iconvdata/iso-2022-cn-ext.c: New file.
2001 * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
2002 ucs4_from_isoir165. Increment input pointer if successful.
2004 * csu/Makefile: Work around a gcc bug when creating csu-dummies.
2006 * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
2008 2000-09-01 Jes Sorensen <jes@linuxcare.com>
2010 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
2011 __syscall_getdents64 wrapper.
2013 * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
2015 2000-09-12 Ulrich Drepper <drepper@redhat.com>
2017 * iconvdata/gb18030.c: Many many changes. Make consistent with
2018 charmap and with itself.
2019 * iconvdata/tst-tables.sh: Test GB18030.
2021 2000-09-11 Ulrich Drepper <drepper@redhat.com>
2023 * iconv/skeleton.c: Fix last patch, add missing parameter to
2024 unaligned function call.
2026 2000-09-10 Bruno Haible <haible@clisp.cons.org>
2028 * locale/programs/ld-collate.c (collate_read): Fix typo in handling
2029 of decimal ellipsis.
2031 2000-09-11 Bruno Haible <haible@clisp.cons.org>
2033 * locale/programs/ld-collate.c (collate_read): Always initialize
2036 2000-09-10 Bruno Haible <haible@clisp.cons.org>
2038 * locale/programs/ld-collate.c (collate_finish): Upper bound for
2039 ruleidx is 128, not 256.
2041 2000-09-11 Ulrich Drepper <drepper@redhat.com>
2043 * locale/programs/ld-collate.c (collate_read): Correct check for
2044 already inserted entries.
2046 2000-09-10 Bruno Haible <haible@clisp.cons.org>
2048 * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
2051 2000-09-10 Bruno Haible <haible@clisp.cons.org>
2053 * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
2054 MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
2056 2000-09-10 Bruno Haible <haible@clisp.cons.org>
2058 * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
2061 2000-09-10 Bruno Haible <haible@clisp.cons.org>
2063 * iconvdata/utf-7.c: New file.
2064 * iconvdata/gconv-modules (UTF-7): New module entries.
2065 * iconvdata/Makefile (modules): Add UTF-7.
2066 (distribute): Add utf-7.c.
2067 * iconvdata/testdata/UTF-7: New file.
2068 * iconvdata/testdata/UTF-7..UTF8: New file.
2069 * iconvdata/TESTS (UTF-7): New entry.
2070 * iconvdata/run-iconv-test.sh: Fix confusing output.
2072 2000-09-11 Ulrich Drepper <drepper@redhat.com>
2074 * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
2076 2000-09-10 David S. Miller <davem@redhat.com>
2078 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
2079 frame pointer offset for non-fast path.
2081 2000-09-10 Ulrich Drepper <drepper@redhat.com>
2083 * locale/programs/3level.h (*_init): Initialize level1, level2,
2085 (*_add): Remove a few unnecessary conditionals.
2087 2000-09-05 Wolfram Gloger <wg@malloc.de>
2089 * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
2090 ensure usability of mutex as an `in use' flag.
2092 2000-09-10 Ulrich Drepper <drepper@redhat.com>
2094 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
2096 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
2097 ugly GMON_WEAK_START hack.
2098 Patch by Philip Blundell <philb@gnu.org>.
2100 * sysdeps/i386/i486/bits/string.h: Pretty printing.
2102 2000-09-09 Ulrich Drepper <drepper@redhat.com>
2104 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
2105 and PPC_ICBI asm for broken compilers.
2106 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2108 2000-09-09 Andreas Jaeger <aj@suse.de>
2110 * manual/message.texi (Advanced gettext functions): Fix typo.
2112 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
2115 2000-09-09 Ulrich Drepper <drepper@redhat.com>
2117 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
2119 * sysdeps/ia64/memccpy.S: Likewise.
2120 Patches by Jim Wilson <wilson@redhat.com>.
2122 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
2123 before trying to read /proc.
2124 Patch by Matt Wilson <msw@redhat.com>.
2125 * include/sys/utsname.h: Declare __uname.
2126 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
2127 * sysdeps/mach/hurd/uname.c: Likewise.
2128 * sysdeps/unix/syscalls.list: Likewise.
2130 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
2133 2000-09-08 Ulrich Drepper <drepper@redhat.com>
2135 * posix/getopt.c (_getopt_internal): When long_only is set always
2136 recognize conflicts just like before.
2138 2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2140 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
2142 2000-09-08 Greg McGary <greg@mcgary.org>
2144 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
2145 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
2146 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
2148 2000-09-08 Andreas Jaeger <aj@suse.de>
2150 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
2152 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
2154 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
2155 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
2156 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
2158 2000-09-07 Ulrich Drepper <drepper@redhat.com>
2160 * iconvdata/tst-tables.sh: Enable EUC-KR test.
2162 * elf/dl-load.c (lose): Decrement _nl_loaded.
2163 (_dl_map_object_from_fd): Don't try to dlopen executables.
2165 * iconvdata/tst-tables.sh: Actually return with an error if
2166 something goes wrong.
2167 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
2168 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
2170 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
2172 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
2173 * iconvdata/tst-table-from.c: Include <string.h>.
2174 (try): Correct cast in iconv call.
2176 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
2178 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
2179 (sysdep_routines): Remove dl-start.
2180 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2182 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
2184 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
2185 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
2187 2000-09-06 Andreas Schwab <schwab@suse.de>
2189 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
2191 2000-09-07 Ulrich Drepper <drepper@redhat.com>
2193 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
2195 * scripts/config.sub: Strip out -unknown for Linux targets.
2196 Patch by Scott Bambrough <scottb@netwinder.org>.
2198 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
2201 2000-09-07 Andreas Jaeger <aj@suse.de>
2203 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
2205 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
2208 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
2210 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
2211 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2213 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
2215 * stdlib/tst-bsearch.c (main): Add more test cases.
2217 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
2218 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2219 Reported by GOTO Masanori <gotom@debian.or.jp>.
2221 2000-09-07 Ulrich Drepper <drepper@redhat.com>
2223 * posix/Makefile (tests): Add tst-dir.
2224 (tst-dir-ARGS): New variable.
2225 * posix/tst-dir.c: New file.
2227 2000-09-07 Andreas Jaeger <aj@suse.de>
2229 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
2232 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
2234 2000-09-06 Ulrich Drepper <drepper@redhat.com>
2236 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
2237 use the hack with tryopen_o_directory to determine at runtime
2239 * sysdeps/unix/sysv/linux/opendir.c: New file.
2240 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2241 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
2243 * catgets/Depend: New file. Add intl.
2244 * catgets/Makefile (tests): Add tst-catgets.
2245 (generated): Remove de.msg.
2246 (generated-dirs): Add de.
2247 Add dependency if tst-catgets output on de/libc.cat.
2248 * catgets/tst-catgets.c: New file.
2250 * po/ja.po: New file.
2251 * po/el.po: Update from translation team.
2253 * wcsmbs/Depend: New file.
2254 * wcsmbs/Makefile (tests): Add tst-btowc.
2255 (tst-btowc-ENV): Define.
2256 * wcsmbs/tst-btowc.c: New file.
2258 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
2259 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
2261 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
2263 * stdlib/Makefile (tests): Add tst-bsearch.
2264 * stdlib/tst-bsearch.c: New file.
2266 * posix/getopt.c (_getopt_internal): Don't recognize an option
2267 name as ambiguous if it's a prefix for more than one name but the
2268 other struct option values are identical.
2270 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
2271 Don't depend on visual inspection of the output file to recognize
2273 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
2275 2000-09-06 Andreas Jaeger <aj@suse.de>
2277 * sysdeps/alpha/soft-fp/Dist: New file.
2278 * sysdeps/i386/soft-fp/Dist: New file.
2279 * sysdeps/mips/mips64/soft-fp/Dist: New file.
2280 * sysdeps/mips/soft-fp/Dist: New file.
2281 * sysdeps/powerpc/soft-fp/Dist: New file.
2282 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
2283 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
2285 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
2286 Use sysdep_routines instead of routines to fix make dist failure.
2287 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
2289 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
2291 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
2292 sysdep_headers instead of headers for make dist.
2294 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
2297 2000-09-06 Andreas Schwab <schwab@suse.de>
2299 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
2301 2000-09-06 Andreas Jaeger <aj@suse.de>
2303 * soft-fp/Makefile (distribute): Remove ChangeLog.
2305 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
2306 sysdep_routines instead of routines for make dist.
2308 2000-09-05 Ulrich Drepper <drepper@redhat.com>
2310 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
2311 compatibility check for old stream and call _IO_wide in doubt.
2312 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
2313 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
2314 needed tst for such an old structure and don't do anything.
2315 * libio/freopen.c: Remove declaration of _IO_stdin_used.
2317 2000-09-06 Andreas Jaeger <aj@suse.de>
2319 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
2320 sysdep-dl-routines and sysdep_routines instead of rtld-routines
2323 * soft-fp/ChangeLog: Merged with this file.
2325 2000-06-13 Ulrich Drepper <drepper@redhat.com>
2327 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
2329 * soft-fp/Makefile (distribute): Add the math functions, too.
2331 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
2333 2000-03-03 Geoff Keating <geoffk@cygnus.com>
2335 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
2338 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
2339 * soft-fp/sysdeps/powerpc/q_*: New files.
2341 2000-09-05 Ulrich Drepper <drepper@redhat.com>
2343 * stdio-common/vfprintf.c (process_string_arg): Handle precision
2344 in wide char case correctly. Don't allocate too long temporary
2345 strings with alloca.
2347 * stdio-common/Makefile (tests): Add tst-swprintf.
2348 (tst-swprintf-ENV): New variable.
2349 * stdio-common/tst-swprintf.c: New file.
2351 2000-09-05 Andreas Jaeger <aj@suse.de>
2353 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
2354 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
2355 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2357 2000-09-05 Ulrich Drepper <drepper@redhat.com>
2359 * configure.in: Strip out "unknown" from configuration names.
2361 2000-09-05 Andreas Jaeger <aj@suse.de>
2363 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
2365 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
2366 * sysdeps/sparc/sparc32/Implies: Likewise.
2367 * sysdeps/powerpc/Implies: Likewise.
2369 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
2370 * libio/oldiofgetpos64.c: Likewise.
2372 * soft-fp/Makefile (distribute): Remove configure.
2374 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
2376 * soft-fp/configure: Remove.
2378 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
2379 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
2381 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
2382 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
2384 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
2385 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
2387 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
2388 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
2390 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
2391 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
2393 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
2394 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
2396 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
2397 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
2399 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
2400 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
2402 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
2403 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
2405 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
2406 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
2408 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
2409 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
2411 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
2412 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
2414 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
2415 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
2417 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
2418 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
2420 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
2421 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
2423 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
2424 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
2426 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
2427 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
2429 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
2430 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
2432 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
2433 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
2435 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
2436 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
2438 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
2439 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
2441 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
2442 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
2444 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
2445 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
2447 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
2448 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
2450 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
2451 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
2453 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
2454 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
2456 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
2457 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
2459 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
2460 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
2462 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
2463 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
2465 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
2466 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
2468 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
2469 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
2471 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
2472 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
2474 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
2475 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
2477 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
2478 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
2480 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
2481 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
2483 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
2484 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
2486 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
2487 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
2489 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
2490 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
2492 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
2493 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
2495 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
2496 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
2498 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
2499 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
2501 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
2502 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
2504 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
2505 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
2507 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
2508 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
2510 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
2511 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
2513 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
2514 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
2516 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
2517 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
2519 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
2520 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
2522 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
2523 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
2525 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
2526 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
2528 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
2529 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
2531 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
2532 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
2534 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
2535 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
2537 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
2538 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
2540 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
2541 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
2543 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
2544 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
2546 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
2547 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
2549 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
2550 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
2552 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
2553 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
2555 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
2556 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
2558 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
2559 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
2561 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
2562 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
2564 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
2565 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
2567 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
2568 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
2570 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
2571 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
2573 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
2574 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
2576 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
2577 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
2579 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
2580 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
2582 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
2583 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
2585 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
2586 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
2588 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
2589 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
2591 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
2592 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
2594 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
2595 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
2597 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
2598 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
2600 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
2601 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
2603 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
2604 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
2606 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
2607 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
2609 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
2610 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
2612 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
2613 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
2615 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
2616 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
2618 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
2619 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
2621 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
2622 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
2624 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
2625 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
2627 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
2628 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
2630 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
2631 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
2633 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
2634 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
2636 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
2637 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
2639 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
2640 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
2642 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
2643 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
2645 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
2646 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
2648 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
2649 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
2651 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
2652 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
2654 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
2655 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
2657 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
2658 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
2660 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
2661 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
2663 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
2664 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
2666 * soft-fp/sysdeps/powerpc/Versions: Move from here...
2667 * sysdeps/powerpc/soft-fp/Versions: ... to here.
2669 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
2670 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
2672 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
2673 change symbol version.
2674 * libio/oldiofgetpos64.c: Likewise.
2675 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
2677 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
2679 Reported by dyky@kondara.org, closes PR libc/1886.
2681 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
2684 2000-09-04 Ulrich Drepper <drepper@redhat.com>
2686 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
2687 script when ^C is hit.
2689 * locale/programs/localedef.c (construct_output_path): Correct
2690 computation of endp after asprintf.
2691 * locale/programs/locfile.c (write_locale_data): Don't add extra
2694 2000-09-05 Andreas Jaeger <aj@suse.de>
2696 * scripts/config.guess: New upstream version.
2697 * scripts/config.sub: Likewise.
2698 * manual/texinfo.tex: Likewise.
2700 2000-09-04 Andreas Schwab <schwab@suse.de>
2702 * elf/Makefile (all-dl-routines): New variable.
2703 (elide-routines.os): Use it instead of $(dl-routines).
2704 (all-rtld-routines): New variable.
2705 (extra-objs): Use it instead of $(rtld-routines).
2706 ($(objpfx)dl-allobjs.os): Likewise.
2707 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
2708 sysdep-dl-routines and sysdep_routines instead of rtld-routines
2711 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2713 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
2714 Set fname to NULL if the module wasn't found.
2716 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2718 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
2719 true if trans->name already ends in ".so".
2721 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2723 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
2725 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
2726 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
2727 (__gconv_release_shlib): Change return type to void.
2728 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
2729 step->__counter here.
2730 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
2731 if the reference is zero.
2732 (release_step): New function.
2733 (gen_steps): Always initialize the __counter to 1. Use release_step.
2734 Don't call the destructor on the step whose initializer failed.
2735 (increment_counter): Use release_step. Don't normally run destructors
2737 (__gconv_close_transform): Use release_step.
2739 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2741 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
2742 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
2744 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2746 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
2747 If the first byte is 0x8E, don't ask for 4 bytes until it has been
2748 verified that the second byte is valid. Leave it to cns11643_to_ucs4
2749 to check for incomplete input.
2750 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
2751 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
2752 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
2753 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
2755 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
2756 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
2757 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
2758 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
2761 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2763 * iconv/gconv_db.c (find_derivation): Always use the least-cost
2766 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2768 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
2771 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2773 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
2774 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
2777 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2779 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
2781 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2783 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
2785 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2787 * iconvdata/tst-tables.sh: New file.
2788 * iconvdata/tst-table.sh: New file.
2789 * iconvdata/tst-table-from.c: New file.
2790 * iconvdata/tst-table-to.c: New file.
2791 * iconvdata/tst-table-charmap.sh: New file.
2792 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
2793 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
2794 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
2795 ISIRI-3342.irreversible, SJIS.irreversible.
2796 (tests): Add dependency on tst-tables.out.
2797 (tst-tables.out, tst-tables-clean): New rules.
2798 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
2799 * iconvdata/ISIRI-3342.irreversible: New file.
2800 * iconvdata/EUC-JP.irreversible: New file.
2801 * iconvdata/SJIS.irreversible: New file.
2803 2000-09-04 Ulrich Drepper <drepper@redhat.com>
2805 * manual/locale.texi (General Numeric): Update description of
2806 representation of the grouping information in the locale data.
2807 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
2809 2000-09-04 Andreas Jaeger <aj@suse.de>
2811 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
2812 * iconv/iconv_prog.c (options): Fix typo.
2813 Reported by dyky@kondara.org, closes PR libc/1885.
2815 2000-09-04 Andreas Jaeger <aj@suse.de>
2817 * sysdeps/generic/fegetenv.c: It's __fegetenv.
2818 Reported by Rob Levin <lilo@transvirtual.com>.
2820 2000-09-03 Ulrich Drepper <drepper@redhat.com>
2822 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
2823 to the typedefs of __timezone_ptr_t.
2824 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
2826 2000-09-02 Jakub Jelinek <jakub@redhat.com>
2828 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
2831 2000-09-01 H.J. Lu <hjl@gnu.org>
2833 * Makeconfig (built-program-cmd): Don't use the dynamic linker
2834 to run a binary if it is in $(tests-static).
2836 * Rules (binaries-static): Add $(tests-static).
2838 2000-09-02 Andreas Jaeger <aj@suse.de>
2840 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
2842 * libio/fmemopen.c (fmemopen_close): Revert one part of last
2845 2000-09-01 Ulrich Drepper <drepper@redhat.com>
2847 * iconvdata/big5hkscs.c: Regenerated from charmap.
2848 * iconvdata/testdata/BIG5HKSCS: Regenerated.
2849 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
2851 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
2852 statement. General cleanup.
2854 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2856 * wctype/wcfuncs.c (iswblank): New function.
2857 * wctype/wcfuncs_l.c (__iswblank_l): New function.
2858 * wctype/wcextra.c: Remove file.
2859 * wctype/wcextra_l.c: Remove file.
2860 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
2862 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2864 * locale/programs/ld-collate.c (collate_output): Remove redundant
2866 * string/strcoll.c: Likewise.
2867 * string/strxfrm.c: Include assert.h. Add assert calls like in
2870 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2872 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
2873 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
2874 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
2875 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
2876 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
2877 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
2878 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
2879 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
2880 _NL_CTYPE_GAP5/6 respectively.
2882 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
2883 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
2884 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
2885 Don't initialize __ctype_names and __ctype_width.
2886 * wctype/cname-lookup.h: Remove file.
2887 * wctype/Makefile (distribute): Remove cname-lookup.h.
2888 * wctype/wchar-lookup.h: Include stdint.h.
2889 * wctype/wctype.c (__wctype): Assume new locale format.
2890 * wctype/wctype_l.c (__wctype_l): Likewise.
2891 * wctype/iswctype.c: Don't include cname-lookup.h.
2892 (__iswctype): Assume new locale format.
2893 * wctype/iswctype_l.c: Don't include cname-lookup.h.
2894 (__iswctype_l): Assume new locale format.
2895 * wctype/wctrans.c: Don't include ctype.h.
2896 (wctrans): Assume new locale format.
2897 * wctype/wctrans_l.c (__wctrans_l): Likewise.
2898 * wctype/towctrans.c: Don't include cname-lookup.h.
2899 (__towctrans): Assume new locale format.
2900 * wctype/towctrans_l.c: Don't include cname-lookup.h.
2901 (__towctrans_l): Assume new locale format.
2902 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
2903 localeinfo.h instead.
2904 (__NO_WCTYPE): Remove unused macro.
2905 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
2907 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
2908 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
2909 (towlower, towupper): Likewise.
2910 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
2911 localeinfo.h instead.
2912 (__NO_WCTYPE): Remove unused macro.
2913 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
2914 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
2915 __iswxdigit_l): Assume new locale format.
2916 (__towlower_l, __towupper_l): Likewise.
2917 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
2918 (__ctype32_b): Remove declaration.
2919 (internal_wcwidth): Assume new locale format.
2920 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
2921 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
2922 to map32_b, rename width_3level to width.
2923 (ctype_output): Always create new locale format. Don't emit
2924 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
2925 (allocate_arrays): Always create new locale format.
2927 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
2928 * locale/weightwc.h (findidx): Assume new locale format.
2929 * string/strcoll.c (wcscoll): Remove local variables size, layers,
2931 * string/strxfrm.c (wcsxfrm): Likewise.
2932 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
2933 local variable collseq to 'const char *'.
2934 (SUFFIX): Don't use, don't undefine.
2935 * posix/fnmatch.c: Remove SUFFIX definition.
2936 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
2937 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
2938 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
2939 (collate_finish): Always create new locale format. Remove local
2940 variables min_total, act_size.
2941 (collate_output): Always create new locale format. Remove local
2942 variables table_size, names, tablewc. Rename tablewc_3level to
2945 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2947 * locale/programs/ld-collate.c (obstack_int32_grow,
2948 obstack_int32_grow_fast): New inline functions.
2949 (output_weightwc, collate_output): Use them where possible.
2951 2000-09-01 Ulrich Drepper <drepper@redhat.com>
2953 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
2954 patch (_mode -> _flags).
2956 * libio/Makefile (headers): Add stdio_ext.h.
2957 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
2958 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
2959 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
2960 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
2961 __fsetlocking, and _flushlbf.
2962 * libio/__fbufsize.c: New file.
2963 * libio/__flbf.c: New file.
2964 * libio/__fpending.c: New file.
2965 * libio/__fpurge.c: New file.
2966 * libio/__freadable.c: New file.
2967 * libio/__freading.c: New file.
2968 * libio/__fsetlocking.c: New file.
2969 * libio/__fwritable.c: New file.
2970 * libio/__fwriting.c: New file.
2971 * libio/stdio_ext.h: New file.
2972 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
2973 * libio/libio.h (_IO_USER_LOCK): Define.
2974 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
2975 test _IO_USER_LOCK flag first.
2977 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
2980 2000-09-01 Andreas Jaeger <aj@suse.de>
2982 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
2984 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
2986 2000-08-31 Ulrich Drepper <drepper@redhat.com>
2988 * math/Makefile (tests): Add tst-defintions.
2989 * math/tst-definitions.c: New file.
2991 * stdlib/Makefile (headers): Add bits/wchar.h.
2992 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
2993 * sysdeps/generic/bits/wchar.h: New file.
2994 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
2995 file to define WCHAR_MIN and WCHAR_MAX.
2996 Change UINT*8_MAX and UIN*16_MAX value to type int.
2997 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
2998 file to define WCHAR_MIN and WCHAR_MAX.
2999 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
3001 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
3002 * sysdeps/generic/bits/mathdef.h: Likewise.
3003 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
3004 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
3005 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
3006 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
3007 * locale/locale.h (struct lconv): Add __ prefix to the new members
3009 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
3010 imaxdiv optimizations.
3011 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
3012 * sysdeps/wordsize-64/ldiv.c: Likewise.
3013 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
3015 * sysdeps/generic/bits/fenv.h: Likewise.
3016 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
3017 * sysdeps/ia64/bits/fenv.h: Likewise.
3018 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
3019 * sysdeps/mips/bits/fenv.h: Likewise.
3020 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
3021 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
3022 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
3024 * inet/rcmd.c: Use *stat64 instead of *stat internally.
3025 * inet/ruserpass.c: Likewise.
3026 * catgets/open_catalog.c: Likewise.
3027 * intl/loadmsgcat.c: Likewise.
3028 * io/getdirname.c: Likewise.
3029 * locale/loadlocale.c: Likewise.
3030 * misc/getusershell.c: Likewise.
3031 * stdlib/canonicalize.c: Likewise.
3032 * sysdeps/posix/euidaccess.c: Likewise.
3033 * sysdeps/posix/isfdtype.c: Likewise.
3034 * sysdeps/posix/posix_fallocate.c: Likewise.
3035 * sysdeps/posix/tempname.c: Likewise.
3036 * sysdeps/unix/grantpt.c: Likewise.
3037 * sysdeps/unix/opendir.c: Likewise.
3038 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
3039 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
3040 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3041 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
3042 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3043 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3044 * sysvipc/ftok.c: Likewise.
3045 * time/getdate.c: Likewise.
3047 * time/getdate.c: Add extra access test.
3049 2000-08-31 Ulrich Drepper <drepper@redhat.com>
3051 * version.h (VERSION): Bump to 2.1.93.
3053 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
3054 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
3056 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
3057 Make this a new rule depending on tst-gettext.out and run mtrace.
3058 * intl/tst-gettext.c: Call mtrace.
3059 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
3061 * elf/dl-reloc.c: Add a few more __builtin_expect.
3063 * configure.in: Remove --with-gettext option.
3065 * intl/dcigettext.c (free_mem): Correct freeing of
3066 _nl_domain_bindings list.
3068 * sysdeps/generic/setenv.c (free_mem): New function. Free all
3071 * intl/locale.alias: Add aliases for bokmal and nynorsk.
3073 * locale/iso-639.def: Fix 639-1 code for Bokmal.
3075 * stdio-common/itoa-digits.c: Move upper digits to...
3076 * stdio-common/itoa-udigits.c: ...here. New file.
3077 * stdio-common/Makefile (routines): Add itoa-udigits.
3079 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
3080 relocate ld.so don't add supprt for relocations which should not
3083 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
3084 __secure_getenv. Instead test __libc_enable_secure once.
3086 * io/pwd.c (main): Provide a good example, use *_unlocked function.
3088 2000-08-30 Ulrich Drepper <drepper@redhat.com>
3090 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
3091 whether the new record should be freed if it's a duplicate.
3092 (add_module): Adjust insert_module call.
3093 (__gconv_read_conf): Likewise.
3094 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
3096 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
3098 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
3100 * include/link.h (struct r_search_path_struct): New.
3101 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
3102 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
3104 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
3105 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
3106 added at startup time.
3107 * elf/dl-load.c: Fix memory handling. r_search_path_struct
3108 contains element to remember fact that we can free memory.
3109 (all_dirs): Renamed to _dl_all_dirs. Made global.
3110 (_dl_init_all_dirs): New variable.
3111 (fillin_rpath): Save one malloc call.
3112 (decompose_rpath): Change interface. New first parameter points to
3113 r_search_path_struct.
3114 (_dl_init_paths): Adjust for changes. Mark all memory as not
3115 deletable. Set _dl_init_all_paths value.
3116 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
3117 parameter replaced with r_search_path_struct *. Information about
3118 freeing now contained in r_search_path_struct.
3119 (_dl_map_object): Adjust for above changes.
3121 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
3123 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
3124 when adding new entries.
3126 * elf/dl-load.c (fillin_rpath): Make local copy of where string
3127 since the object being loaded can be unloaded.
3129 * iconvdata/Makefile (tests): Add tst-loading.
3130 * iconvdata/tst-loading.c: New file.
3132 2000-08-29 Bruno Haible <haible@clisp.cons.org>
3134 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
3135 When comparing a char with an int, always cast the char to
3136 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
3137 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
3139 2000-08-30 Ulrich Drepper <drepper@redhat.com>
3141 * time/strftime.c (my_strftime): Add compatibility code for use
3142 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
3144 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
3145 return 0 for success but always < 0 on failure.
3147 * nss/getXXbyYY_r.c: Define result to *result before including
3150 2000-08-30 Andreas Jaeger <aj@suse.de>
3152 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
3154 2000-08-29 Ulrich Drepper <drepper@redhat.com>
3156 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
3158 * iconvdata/TESTS: Add BIG5HKSCS entry.
3159 * iconvdata/testdata/BIG5HKSCS: New file.
3160 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
3162 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
3165 * libio/iogetline.c: Set mode before the loop in case n==0.
3166 * libio/iogetwline.c: Likewise.
3168 2000-08-29 H.J. Lu <hjl@gnu.org>
3170 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
3172 (_IO_new_file_overflow): Likewise.
3173 * libio/genops.c (_IO_flush_all): Likewise.
3174 * libio/ioftell.c (_IO_ftell): Likewise.
3176 2000-08-29 Akira Higuchi <a@kondara.org>
3178 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
3179 and __end_fct fields of struct __gconv_step.
3180 * iconv/Makefile (tests): Add iconv-bug2.
3181 * iconv/iconv-bug2.c: New file.
3183 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
3184 instead of 'inptr - inend' to ksc5601_to_ucs4.
3186 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
3188 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
3189 character or shift sequence is found at the end of the input
3190 string, return__GCONV_INCOMPLETE_INPUT instead of
3191 __GCONV_EMPTY_INPUT.
3192 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
3193 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
3195 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
3196 __GCONV_ILLEGAL_INPUT for 8bit characters.
3198 2000-08-29 Ulrich Drepper <drepper@redhat.com>
3200 * signal/signal.h (sigpause): Move __THROW before __asm__.
3202 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
3203 names don't match don't return.
3204 Patch by Olaf Kirch <okir@flash.lst.de>.
3206 2000-08-28 Ulrich Drepper <drepper@redhat.com>
3208 * time/strftime.c (my_strftime): Handle # flag for %b as well.
3210 2000-08-27 H.J. Lu <hjl@gnu.org>
3212 * posix/Makefile (otherlibs): Add for building with static-nss
3215 2000-08-28 Ulrich Drepper <drepper@redhat.com>
3217 * libio/stdio.h: Add fmemopen prototype.
3219 2000-08-25 Andreas Jaeger <aj@suse.de>
3221 * libio/Makefile (routines): Add fmemopen.
3222 (tests): Add test-fmemopen.
3223 * libio/Versions: Add fmemopen with version GLIBC_2.2.
3224 * libio/test-fmemopen.c: New file.
3225 * libio/fmemopen.c: New file.
3226 Patches by Hanno Mueller <kontakt@hanno.de>.
3228 2000-08-28 Ulrich Drepper <drepper@redhat.com>
3230 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
3231 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
3233 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
3234 to avoid crashing statically linked applications.
3236 2000-08-27 Bruno Haible <haible@clisp.cons.org>
3238 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
3239 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
3241 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
3242 If the result is fits in the buffer, copy only as many bytes as needed.
3244 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
3245 buffer after copying numbuf into it.
3246 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
3248 2000-08-27 Bruno Haible <haible@clisp.cons.org>
3250 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
3251 the result. When string_len < len, don't clear the rest of the buffer.
3253 2000-08-27 Bruno Haible <haible@clisp.cons.org>
3255 Support for new LC_COLLATE format.
3256 * locale/coll-lookup.h: New file.
3257 * locale/weightwc.h (findidx): When size == 0, call
3258 collidx_table_lookup.
3259 * wcsmbs/wcscoll.c: Include coll-lookup.h.
3260 * wcsmbs/wcsxfrm.c: Likewise.
3261 * posix/fnmatch.c: Likewise.
3262 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
3263 collseq_table_lookup.
3264 * locale/programs/3level.h: New file.
3265 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
3266 by including "3level.h".
3267 * locale/programs/ld-collate.c (wchead_table, collidx_table,
3268 collseq_table): New types, defined by including "3level.h".
3269 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
3270 (encoding_mask, encoding_byte): Remove.
3271 (utf8_encode): Use simple shifts instead.
3272 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
3273 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
3274 (collate_output): New local variable tablewc_3level. When
3275 !oldstyle_tables, set table_size to 0 and names to NULL and fill
3276 tablewc_3level instead of tablewc. Change format of TABLEWC and
3277 COLLSEQWC entries written to the file.
3278 * locale/C-collate.c (collseqwc): Change format.
3279 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
3281 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
3283 2000-08-27 Bruno Haible <haible@clisp.cons.org>
3285 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
3286 (locale_ctype_t): New charnames_idx field.
3287 (ctype_startup): Initialize charnames_idx field.
3288 (find_idx): Speed up dramatically by using charnames_idx inverse table.
3290 2000-08-27 Bruno Haible <haible@clisp.cons.org>
3292 * locale/C-ctype.c: Switch to new locale format.
3293 (_nl_C_LC_CTYPE_names): Remove array.
3294 (STRUCT_CTYPE_CLASS): New macro.
3295 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
3296 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
3297 New three-level tables.
3298 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
3299 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
3300 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
3301 12 class tables and 2 map tables at the end.
3302 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
3303 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
3304 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
3306 (b): Remove trailing semicolon.
3307 (__ctype_names, __ctype_width): Don't initialize.
3308 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
3310 2000-08-27 Bruno Haible <haible@clisp.cons.org>
3312 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
3313 is guaranteed to be allocated with the same malloc() and may be
3315 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
3316 been set to empty by an earlier open_path call, don't pass it again.
3318 2000-08-28 Ulrich Drepper <drepper@redhat.com>
3320 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
3321 we are not optimizing.
3323 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
3326 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
3328 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3330 2000-08-28 Andreas Jaeger <aj@suse.de>
3332 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
3334 2000-08-28 Mark Kettenis <kettenis@gnu.org>
3336 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
3337 getpeername. Use ISO C style function definition.
3338 (getpeername): Provide weak alias.
3339 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
3340 setrlimit. Use ISO C style function definition.
3341 (setrlimit): Provide weak alias.
3343 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
3345 * shlib-versions: Add a rule for S/390 to the libm version list.
3346 * sysdeps/s390/Versions: New file.
3347 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
3348 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
3349 * sysdeps/unix/sysv/linux/s390/Versions: New file.
3350 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
3351 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
3352 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
3353 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
3354 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
3355 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
3356 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
3357 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
3358 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
3359 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
3360 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
3361 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
3362 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
3363 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
3364 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
3366 2000-08-28 Ulrich Drepper <drepper@redhat.com>
3368 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
3369 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
3371 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
3372 * elf/dl-close.c (_dl_close): Print debug message if object is not
3374 * elf/dl-open.c (dl_open_worked): Print message about opencount before
3375 returning to caller.
3377 * po/zh.po: Renamed to...
3378 * po/zh_TW.po: ...this.
3380 2000-08-27 Geoff Keating <geoffk@cygnus.com>
3382 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
3384 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
3385 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
3386 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
3387 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
3389 2000-08-27 Ulrich Drepper <drepper@redhat.com>
3391 * locale/programs/ld-collate.c (insert_weights): Also update
3392 backpointer of next element.
3393 (collate_read): Allow definition of new collation symbols in stage 2.
3394 Symbol after reorder-after can be UCS4 value.
3395 Allow reordering of collation symbols and elements.
3396 Do not only move reorder entry in new position. Instead call
3397 insert_weight to do this and read the weights.
3399 * locale/findlocale.c (free_mem): Add cast to avoid warning.
3401 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
3402 to determine invalid locale name.
3403 * locale/findlocale.c (_nl_find_locale): Likewise.
3405 * posix/annexc.c: Correct test for unavailable feature.
3407 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
3410 2000-08-26 Ulrich Drepper <drepper@redhat.com>
3412 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
3415 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
3416 (sysdep_routines): Add oldgetrlimit64.
3418 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
3419 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
3420 (tests): Add unload, reldep, reldep2, and reldep3.
3421 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
3423 Add rules to build and run unload, reldep, reldep2, and reldep3.
3424 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
3425 Don't create relocation dependency if it is nonzero.
3426 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
3427 can never happen here.
3428 (_dl_lookup_versioned_symbol): Add new parameter explicit.
3429 Don't create relocation dependency if it is nonzero.
3430 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
3431 stuff. This can never happen here.
3432 * sysdeps/generic/ldsodefs.h: Change prototypes.
3433 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
3434 _dl_lookup_up and _dl_lookup_versioned_symbol.
3436 * elf/dl-runtime.c (fixup): Likewise.
3437 (profile_fixup): Likewise.
3438 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
3440 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
3441 * elf/rtld.c (dl_main): Likewise.
3442 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
3443 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
3444 and pass down the caller map.
3445 (_dl_vsym): Likewise.
3446 * elf/reldep.c: New file.
3447 * elf/reldep2.c: New file.
3448 * elf/reldep3.c: New file.
3449 * elf/reldepmod1.c: New file.
3450 * elf/reldepmod2.c: New file.
3451 * elf/reldepmod3.c: New file.
3452 * elf/reldepmod4.c: New file.
3453 * elf/unload.c: New file.
3454 * elf/unloadmod.c: New file.
3456 * elf/do-lookup.h: Remove unused undef_name parameter.
3457 * elf/dl-lookup.c: Adjust callers.
3459 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3461 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
3462 irreversible in recursive call of conversion function to signal that
3463 no error handling is wanted.
3464 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
3465 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
3466 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
3467 recursive error handling call, otherwise to &lirreversible. Use it
3468 for calls to conversion functions.
3469 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
3471 (ucs4_internal_loop_unaligned): Likewise.
3472 (ucs4le_internal_loop): Likewise.
3473 (ucs4le_internal_loop_unaligned): Likewise.
3475 2000-08-25 Greg McGary <greg@mcgary.org>
3477 * sysdeps/i386/memchr.S: Check high bound against chars
3479 * sysdeps/i386/memcmp.S: Likewise.
3480 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
3481 account for pointers that lie one beyond end-of-buffer.
3483 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3485 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
3486 * elf/nodelete.c (fini_ran): New global variable.
3487 (do_test): Before every dlclose call clear fini_ran and test
3488 afterwards that it is not set by the destructors.
3489 * elf/nodelmod1.c: Add destructor which sets fini_ran.
3490 * elf/nodelmod2.c: Likewise.
3491 * elf/nodelmod4.c: Likewise.
3493 2000-08-21 Jes Sorensen <jes@linuxcare.com>
3495 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
3496 getrlimit to the list.
3498 2000-08-18 Jes Sorensen <jes@linuxcare.com>
3500 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
3501 long double format so use ldbl-96 instead of ldbl-128.
3503 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3505 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
3506 even if bits 10 a 11 are non-zero.
3507 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
3509 * Makeconfig: Ensures the soversions.mk part of Makefile gets
3510 included before building gnu/lib-names.h
3511 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3513 * elf/dl-close.c (_dl_close): Don't run destructors of objects
3514 marked DF_1_NODELETE.
3516 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
3517 since we call sigaction in the child.
3519 2000-08-25 Andreas Jaeger <aj@suse.de>
3521 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
3524 2000-08-25 Andreas Jaeger <aj@suse.de>
3526 * manual/arith.texi (Control Functions): Clarify possible
3527 arguments. Closes PR libc/1856.
3529 2000-08-24 H.J. Lu <hjl@gnu.org>
3531 * stdio-common/Makefile (tests): Don't do it for cross compiling.
3532 * malloc/Makefile (tests): Likewise.
3534 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3536 * iconvdata/unicode.c (gconv_init): Correct test for direction.
3538 2000-08-24 Andreas Jaeger <aj@suse.de>
3540 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
3541 only if LIBGD is available.
3543 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3545 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
3546 problems with now restrict parameter types.
3547 (convaddr4to6): Likewise.
3549 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
3551 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
3552 * sysdeps/s390/fpu/feenablxcpt.c: New file.
3553 * sysdeps/s390/fpu/fegetexcept.c: New file.
3554 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
3557 2000-08-24 Andreas Jaeger <aj@suse.de>
3559 * malloc/Makefile (extra-objs): Add memusagestat.o.
3560 (generated): Added memusage and memusagestat for make clean.
3562 * libio/tst_putwc.c (do_test): Delete temporary file.
3563 Move inclusion of test-skeleton to front to have prototype for
3566 * posix/Makefile (generated): Add wordexp-tst.out.
3568 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3570 * resolv/res_hconf.c (free_mem): Remove not needed if.
3572 * time/tzset.c (free_mem): New function.
3573 * string/strsignal.c (free_mem): New function.
3574 * inet/inet_ntoa.c (free_mem): New function.
3575 * sunrpc/clnt_perr.c (free_mem): New function.
3577 2000-08-24 Andreas Jaeger <aj@suse.de>
3579 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
3580 * sysdeps/unix/sysv/syscalls.list: Likewise.
3582 * posix/unistd.h: Move internal prototypes from here ...
3583 * include/unistd.h: ... to here.
3585 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
3587 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3589 * grp/initgroups.c (initgroups): Deallocate groups array.
3590 Reported by jani.raiha@sonera.com [PR libc/1868].
3592 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
3593 * sysdeps/alpha/Dist: Likewise.
3595 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3597 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
3598 destructor). Reported by Solar Designer <solar@false.com>.
3600 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
3601 avoid adding double slashes.
3603 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3605 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
3606 out of the __REDIRECT macro.
3608 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3610 * stdio-common/vfscanf.c: Add %F format support.
3612 * locale/programs/ld-ctype.c (ctype_output): Make sure
3613 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
3614 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
3615 (ctype_read): Enable returning of wide character strings for reading
3616 transliteration information.
3618 2000-08-23 Andreas Jaeger <aj@suse.de>
3620 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
3621 Use static __inline instead of _EXTERN_INLINE.
3623 * misc/sys/select.h: Move prototypes of __select from here ...
3624 * include/sys/select.h: ... to here.
3626 * socket/sys/socket.h: Move prototypes of __send and __connect
3628 * include/sys/socket.h: ... to here.
3630 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
3633 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3635 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
3636 __setrlimit as strong name. Takes only 2 arguments.
3638 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
3639 takes only 2 arguments.
3641 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
3643 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
3645 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
3647 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3649 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
3650 default_missing character being specified, pick the first
3653 2000-08-23 Andreas Jaeger <aj@suse.de>
3655 * include/wchar.h: Add some pure attributes.
3657 * time/time.h: Add const attribute for dysize.
3659 * include/stdlib.h: Add malloc attribute to __posix memalign.
3661 * stdlib/stdlib.h: Add some pure and malloc attributes.
3662 * wcsmbs/wchar.h: Likewise.
3664 * dirent/dirent.h: Add some pure attributes.
3665 * include/dirent.h: Likewise.
3667 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3669 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
3672 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3674 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
3675 missing buffer size checks.
3677 2000-08-23 Andreas Jaeger <aj@suse.de>
3679 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
3681 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3683 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
3684 otherwise __LINUX_KERNEL_VERSION might not be defined.
3685 (MIN): Define if not already defined.
3687 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3689 * stdio-common/vfprintf.c: Handle %F format.
3690 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
3691 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
3693 * stdio-common/tstdiomisc.c: Add test for %F printf format.
3695 * po/zh.po: New file.
3697 * iconvdata/sjis.c: In conversion from UCS4, correct test for
3698 enough room in target buffer.
3699 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
3700 * iconvdata/bug-iconv1.c: New file.
3701 * iconvdata/Makefile (tests): Add bug-iconv1.
3703 * locale/iso-4217.def: Update entry for Nicaragua.
3705 2000-08-22 Mark Kettenis <kettenis@gnu.org>
3707 * hurd/hurdsig.c: Rearrange headers a bit.
3708 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
3709 when cthreads is being used.
3711 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3713 * elf/Makefile (distribute): Add dl-osinfo.h.
3714 * sysdeps/generic/dl-osinfo.h: New file.
3715 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
3716 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
3718 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
3719 only for !SHARED case. Get the code from dl-osinfo.h.
3721 * stdlib/random_r.c: Cleanups.
3722 * stdlib/tst-random.c: New file.
3723 * stdlib/Makefile (tests): Add tst-random.
3724 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
3726 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
3728 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
3729 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
3730 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
3731 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
3733 2000-08-22 Jakub Jelinek <jakub@redhat.com>
3735 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
3736 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
3737 (__syscall__sysctl): Add.
3739 2000-08-21 Andreas Jaeger <aj@suse.de>
3741 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
3743 * stdlib/tst-strtoll.c: Likewise.
3745 2000-08-21 Ulrich Drepper <drepper@redhat.com>
3747 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
3749 (__initstate_r): Set errno on error.
3750 (__random_r): Likewise.
3751 (__setstate_r): Correct offset when computing
3752 new rptr and fptr. Test for arg_state being NULL.
3753 Reported by Michael Fischer <fischer@cs.yale.edu>.
3755 * posix/regex.h: Add macro definitions to allow compiling outside
3758 * sysdeps/i370/Implies: Removed.
3759 * sysdeps/mvs/Implies: Removed.
3761 * catgets/catgets.c (catopen): Filter out env_var values with / if
3764 * locale/findlocale.c (_nl_find_locale): Move test for unusable
3765 locale name after all getenvs.
3767 * configure.in: Allow sed versions like 3.02.8.
3768 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
3770 2000-08-21 Marko Myllynen <myllynen@lut.fi>
3772 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
3774 2000-08-21 Ulrich Drepper <drepper@redhat.com>
3776 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
3777 of gethostbyname2_r call.
3779 * intl/locale.alias: Add aliases for Korean.
3781 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
3783 * sysdeps/s390/__longjmp.c: Remove unused variable result.
3784 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
3785 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
3786 * sysdeps/s390/fpu/fegetenv.c: New file.
3787 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
3788 * sysdeps/s390/fpu/feholdexcpt.c: New file.
3789 * sysdeps/s390/fpu/fenv_libc.h: New file.
3790 * sysdeps/s390/fpu/fesetenv.c: New file.
3791 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
3792 * sysdeps/s390/fpu/feupdateenv.c: New file.
3793 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
3794 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
3795 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
3796 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
3797 * sysdeps/s390/fpu/ftestexcept.c: New file.
3798 * sysdeps/s390/fpu/libm-test-ulps: New file.
3799 * sysdeps/s390/gmp-mparam.h: Add end of comment.
3800 * sysdeps/s390/initfini.c: New file.
3801 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
3802 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
3803 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
3804 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
3805 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
3806 sys/procfs.h as proposed by Mark Kettenis.
3807 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
3809 2000-08-21 Andreas Jaeger <aj@suse.de>
3811 * include/poll.h: Include include/sys/poll.h to get __poll
3814 * io/sys/poll.h: Move __poll declaration from here...
3815 * include/sys/poll.h: ...to here.
3817 * include/sys/socket.h (__getpeername): Add declaration.
3819 * include/wchar.h (__vswprintf): Add declaration.
3821 * include/stdio.h (__flockfile): Add declaration.
3822 (__funlockfile): Likewise.
3824 2000-08-20 Ulrich Drepper <drepper@redhat.com>
3826 * misc/sys/cdefs.h: Define __restrict_arr.
3827 * include/sys/time.h: Add restrict where required by AGd4.
3828 * inet/arpa/inet.h: Likewise.
3829 * io/sys/stat.h: Likewise.
3830 * io/sys/statvfs.h: Likewise.
3831 * misc/search.h: Likewise.
3832 * misc/sys/select.h: Likewise.
3833 * posix/glob.h: Likewise.
3834 * posix/regex.h: Likewise.
3835 * posix/spawn.h: Likewise.
3836 * posix/unistd.h: Likewise.
3837 * rt/aio.h: Likewise.
3838 * signal/signal.h: Likewise.
3839 * socket/sys/socket.h: Likewise.
3840 * stdlib/ucontext.h: Likewise.
3841 * streams/stropts.h: Likewise.
3842 * string/string.h: Likewise.
3843 * time/time.h: Likewise.
3844 * time/sys/time.h: Likewise.
3846 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
3847 and posix_spawnattr_setscheparam.
3849 * libio/stdio.h: Make cuserid prototype again available for all
3852 * argp/argp-help.c: Unify use of function aliases to make more compact
3854 * include/libintl.h: Likewise.
3855 * inet/rcmd.c: Likewise.
3856 * intl/dcigettext.c: Likewise.
3857 * libio/iofputws.c: Likewise.
3858 * libio/iofputws_u.c: Likewise.
3859 * libio/iogetwline.c: Likewise.
3860 * libio/swprintf.c: Likewise.
3861 * malloc/malloc.c: Likewise.
3862 * nss/digits_dots.c: Likewise.
3863 * posix/fnmatch.c: Likewise.
3864 * posix/spawn_faction_addclose.c: Likewise.
3865 * posix/spawn_faction_adddup2.c: Likewise.
3866 * posix/spawn_faction_addopen.c: Likewise.
3867 * posix/spawni.c: Likewise.
3868 * posix/wordexp.c: Likewise.
3869 * posix/spawni.c: Likewise.
3870 * resolv/res_hconf.c: Likewise.
3871 * resolv/res_init.c: Likewise.
3872 * shadow/lckpwdf.c: Likewise.
3873 * signal/sighold.c: Likewise.
3874 * signal/sigrelse.c: Likewise.
3875 * stdio-common/printf-parse.h: Likewise.
3876 * stdio-common/printf-prs.c: Likewise.
3877 * stdio-common/printf_fp.c: Likewise.
3878 * stdio-common/vfprintf.c: Likewise.
3879 * stdio-common/vfscanf.c: Likewise.
3880 * stdlib/rpmatch.c: Likewise.
3881 * sunrpc/create_xid.c: Likewise.
3882 * sunrpc/key_call.c: Likewise.
3883 * sysdeps/generic/setrlimit64.c: Likewise.
3884 * sysdeps/generic/utmp_file.c: Likewise.
3885 * sysdeps/generic/vlimit.c: Likewise.
3886 * sysdeps/posix/posix_fallocate.c: Likewise.
3887 * sysdeps/posix/posix_fallocate64.c: Likewise.
3888 * sysdeps/posix/sigpause.c: Likewise.
3889 * sysdeps/posix/sigset.c: Likewise.
3890 * sysdeps/unix/grantpt.c: Likewise.
3891 * sysdeps/unix/bsd/ualarm.c: Likewise.
3892 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
3893 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
3894 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3895 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
3896 * time/strftime.c: Likewise.
3897 * wcsmbs/wcscoll.c: Likewise.
3898 * wcsmbs/wcsxfrm.c: Likewise.
3900 * time/tst-getdate.c (main): Make error messages more human readable.
3902 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
3903 postinc/predec instruction.
3904 (_FPU_SETCW): Likewise.
3905 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3907 2000-08-20 Andreas Jaeger <aj@suse.de>
3909 * time/tst-getdate.c (main): Increase error in case of wrong
3911 Fix typo in test case.
3913 2000-08-20 Ulrich Drepper <drepper@redhat.com>
3915 * ctype/ctype.h (isblank): Make available if ISO C99.
3916 * wctype/wctype.h (iswblank): Make available if ISO C99.
3917 * math/math.h (signgam): Don't make available if ISO C99.
3918 * math/tgmath.h (tgamma): Renamed from gamma.
3919 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
3921 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
3923 * intl/plural.y (new_exp): Take number of optional parameters in
3924 second parameter. Test for correct number of parameters and free
3925 correctly in case of failure. Adjust all callers.
3926 (yylex): Allow ';' as terminator character.
3928 2000-08-19 Ulrich Drepper <drepper@redhat.com>
3930 * locale/lc-time.c (free_mem): New function. Free alt_digits and
3933 * locale/findlocale.c (free_mem): Also free here->filename.
3935 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
3937 * math/test-fenv.c (feenv_tests): Clear all exceptions before
3939 (feexcp_nomask_test): Correct printf args.
3940 (feexcp_mask_test): Likewise.
3942 2000-08-19 Andreas Jaeger <aj@suse.de>
3944 * inet/tst-gethnm.c: Include string.h to provide prototype for
3947 * malloc/mtrace.pl (usage): Inform about --help.
3949 2000-08-19 Wolfram Gloger <wg@malloc.de>
3951 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
3954 2000-08-19 Andreas Jaeger <aj@suse.de>
3956 * shlib-versions: Remove libnss_db, libdb and libdb1.
3958 2000-08-19 Jakub Jelinek <jakub@redhat.com>
3960 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
3961 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
3962 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
3963 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
3964 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
3965 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
3966 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
3967 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
3968 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
3969 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
3971 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
3972 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
3974 2000-08-18 Jakub Jelinek <jakub@redhat.com>
3976 * include/glob.h (__glob64): Add prototype.
3977 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
3978 define glob and glob_in_dir.
3979 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
3980 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
3981 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
3982 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
3983 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
3984 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
3985 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
3986 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
3988 2000-08-18 Jakub Jelinek <jakub@redhat.com>
3990 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
3992 2000-08-17 Andreas Jaeger <aj@suse.de>
3994 * math/test-fenv.c (fe_single_test): New function.
3995 (fe_env_tests): Use fe_single_test.
3996 (feenable_test): New tests for feenable/fedisable and
3998 (feexcp_mask_test): New function.
3999 (feexcp_nomask_test): New function.
4001 2000-08-19 Richard Henderson <rth@cygnus.com>
4003 * sysdeps/alpha/fpu/fenv_libc.h: New file.
4004 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
4005 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
4006 * sysdeps/alpha/fpu/fesetround.c: Likewise.
4007 * sysdeps/alpha/fpu/fegetround.c: Likewise.
4008 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
4009 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
4010 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
4011 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
4012 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
4013 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
4014 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
4015 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
4016 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
4017 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
4018 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
4019 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
4021 2000-08-19 Andreas Jaeger <aj@suse.de>
4023 * elf/constload1.c: Include <stdio.h> for puts prototype.
4025 2000-08-19 Ulrich Drepper <drepper@redhat.com>
4027 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
4028 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
4029 a dynamically loaded object remove old l_initfini list.
4030 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
4031 remove some dynamically allocated memory blocks in the dynamic
4032 loading data structures.
4033 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
4034 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
4035 Instead call _dl_check_map_versions only for the dependencies.
4036 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
4037 information of initial objects as not free-able.
4038 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
4041 * elf/filter.c: Call mtrace.
4042 * elf/restest1.c: Likewise. Close the objects.
4043 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
4046 * elf/constload1.c: Add comment explaining not freed memory.
4048 2000-08-18 Andreas Jaeger <aj@suse.de>
4050 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
4051 alignment for structs stat and stat64.
4052 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
4054 2000-08-17 Ulrich Drepper <drepper@redhat.com>
4056 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
4057 handling. Patch by Richard Henderson <rth@twiddle.net>.
4059 * nss/Versions: Remove libnss_db information.
4061 2000-08-16 Jakub Jelinek <jakub@redhat.com>
4063 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
4064 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
4065 * sysdeps/sparc/fpu/fegetexcept.c: New file.
4066 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
4068 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
4071 2000-08-17 Ulrich Drepper <drepper@redhat.com>
4073 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
4074 (_FPU_SETCW): Likewise.
4075 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4077 * stdio-common/printf_fp.c: Fix chars_needed computation.
4078 Patch by Greg McGary <greg@mcgary.org>.
4080 2000-08-17 Jakub Jelinek <jakub@redhat.com>
4082 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
4083 _dl_loaded are NULL.
4085 2000-08-17 Jakub Jelinek <jakub@redhat.com>
4087 * manual/arith.texi (feholdexcept): Returns 0 on success.
4089 2000-08-17 Andreas Jaeger <aj@suse.de>
4091 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
4093 Reported by Andi Kleen <ak@suse.de>.
4095 2000-08-17 Jakub Jelinek <jakub@redhat.com>
4097 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
4098 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
4099 * sysdeps/alpha/fpu/fegetexcept.c: New file.
4101 2000-08-16 Jakub Jelinek <jakub@redhat.com>
4103 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
4104 of buf->st_ino and kbuf->st_ino, not __st_ino.
4105 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
4106 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
4107 directive so that only linux/getdents.c is used, not some
4108 architecture specific one.
4110 2000-08-16 Jakub Jelinek <jakub@redhat.com>
4112 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
4113 enabled, not disabled exceptions.
4114 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4115 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
4117 2000-08-17 Greg McGary <greg@mcgary.org>
4119 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
4120 from test program name when constructing suffix for $(LDLIBS-*).
4121 (bounded-thread-library): New variable.
4123 [build-shared, build-static] (libcrypt-dep): Remove variable.
4124 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
4125 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
4126 * linuxthreads/Makefile (libpthread, librt): Remove variables.
4127 (librt-tests): Add variable. (tests): Use it.
4128 [build-shared, build-static]
4129 ($(addprefix $(objpfx),$(tests)),
4130 $(addprefix $(objpfx),$(librt-tests))):
4131 Consolidate individual dependencies.
4133 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
4135 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
4136 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
4138 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
4140 [build-shared, build-static]
4141 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
4142 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
4144 2000-08-17 Greg McGary <greg@mcgary.org>
4146 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
4147 * sysdeps/unix/make-syscalls.sh: Likewise.
4148 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4149 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4150 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4151 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
4152 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
4154 2000-08-17 Greg McGary <greg@mcgary.org>
4156 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
4157 Wrap extern symbols in BP_SYM ().
4158 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4159 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4160 * sysdeps/i386/fpu/s_remquo.S: Likewise.
4161 * sysdeps/i386/fpu/s_remquof.S: Likewise.
4162 * sysdeps/i386/fpu/s_remquol.S: Likewise.
4163 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4164 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4165 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4166 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4167 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4169 2000-08-16 Andreas Schwab <schwab@suse.de>
4171 * sysdeps/m68k/fpu/fegetexcept.c: New file.
4172 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
4173 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
4175 2000-08-15 Ulrich Drepper <drepper@redhat.com>
4177 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
4178 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
4179 * elf/dl-support.c: Define _nl_nloaded.
4180 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
4181 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
4182 object to global list.
4183 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
4184 from _dl_loaded list.
4185 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4186 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
4189 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
4191 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
4193 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
4195 2000-08-16 Andreas Jaeger <aj@suse.de>
4197 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
4199 2000-08-15 Marko Myllynen <myllynen@lut.fi>
4201 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
4203 2000-08-15 Ulrich Drepper <drepper@redhat.com>
4205 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
4206 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
4207 (sysdep_routines): Add oldgetrlimit64.
4208 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
4209 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4211 * include/link.h: Undo last patches. Hurd now has stat64.
4212 * elf/Makefile: Likewise.
4213 * elf/dl-load.c: Likewise.
4214 * elf/dl-misc.c: Likewise.
4215 * elf/dl-profile.c: Likewise.
4216 * sysdeps/generic/sysd-link.h: Removed.
4217 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
4219 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
4220 thread event callback function.
4221 (__aio_notify_only): Use function above.
4222 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
4224 2000-08-16 Mark Kettenis <kettenis@gnu.org>
4226 * sysdeps/mach/hurd/lseek64.c: New file.
4228 2000-08-15 Mark Kettenis <kettenis@gnu.org>
4230 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
4232 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
4234 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
4236 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
4238 2000-08-15 Mark Kettenis <kettenis@gnu.org>
4240 * sysdeps/mach/hurd/xstatconv.c: New file.
4241 * sysdeps/mach/hurd/fxstat64.c: New file.
4242 * sysdeps/mach/hurd/lxstat64.c: New file.
4243 * sysdeps/mach/hurd/xstat64.c: New file.
4244 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
4246 2000-08-15 Mark Kettenis <kettenis@gnu.org>
4248 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
4249 Initialize, needed for change in common symbol handling in newer
4250 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
4252 2000-08-15 Ulrich Drepper <drepper@redhat.com>
4254 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
4255 * elf/constload2.c: Add destructor to unload constload3.
4257 * include/link.h: Include sysd-link.h.
4258 * sysdeps/generic/sysd-link.h: New file.
4259 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
4260 * elf/Makefile (distribute): Add sysd-link.h.
4261 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
4262 types and functions directly.
4263 * elf/dl-misc.c: Likewise.
4264 * elf/dl-profile.c: Likewise.
4266 * elf/loadfail.c (main): Close all successfully loaded objects.
4268 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
4270 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
4271 there is already one.
4273 * elf/dl-close.c: Pretty print.
4275 2000-08-14 Ulrich Drepper <drepper@redhat.com>
4277 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
4278 global (with file scope). Add __libc_subfreeres function to free the
4280 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
4281 in ttyname function.
4283 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
4285 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
4287 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
4288 mapping them to /x5c and /x7e respectively.
4290 * locale/programs/ld-ctype.c: Add support for more definitions after
4293 2000-08-14 Jakub Jelinek <jakub@redhat.com>
4295 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
4296 * sysdeps/unix/sysv/linux/kernel-features.h
4297 (__ASSUME_GETDENTS64_SYSCALL): Define.
4298 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
4299 syscall if available to get d_type fields.
4300 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
4301 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
4302 __lxstat64): Export at GLIBC_2.2.
4303 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
4305 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
4306 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
4307 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
4308 getdirentries64, versionsort64): Remove.
4309 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
4310 getdirentries64, versionsort64): Remove.
4312 2000-08-13 Ulrich Drepper <drepper@redhat.com>
4314 * posix/Makefile: Remove rules to generate glob package.
4316 * posix/Makefile (tests): Add tst-regexloc.
4317 (tst-regexloc-ENV): Add LOCPATH.
4318 * posix/tst-regexloc.c: New file.
4320 2000-08-12 Andreas Jaeger <aj@suse.de>
4322 * include/features.h (__STDC_ISO_10646__): Define.
4323 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
4325 2000-08-13 Ulrich Drepper <drepper@redhat.com>
4327 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
4329 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
4330 for revision 6 and up).
4332 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
4334 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
4335 to get definitions of just these types.
4337 * signal/signal.h: Define thread signal handling functions also for
4340 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
4342 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4343 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
4344 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4345 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
4347 * sysvipc/sys/shm.h: Define pid_t for XPG.
4349 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
4350 they are not anymore required here.
4352 * wcsmbs/wchar.h: Make the various wide char string and stream
4353 functions available for the respective XPG versions.
4355 * nss/Makefile: Remove rules to build and distribute nss_db.
4357 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
4358 * sysdeps/generic/scandir64.c: Likewise.
4359 * sysdeps/generic/versionsort64.c: Likewise.
4361 2000-08-13 Ulrich Drepper <drepper@redhat.com>
4362 Benjamin Koznik <bkoz@redhat.com>
4364 * libio/fileops.c: Merge with libstdc++-v3.
4365 * libio/genops.c: Likewise.
4366 * libio/iofclose.c: Likewise.
4367 * libio/iofopen.c: Likewise.
4368 * libio/iofwide.c: Likewise.
4369 * libio/libio.h: Likewise.
4370 * libio/libioP.h: Likewise.
4371 * libio/stdfiles.c: Likewise.
4372 * libio/stdio.c: Likewise.
4373 * libio/wfileops.c: Likewise.
4374 * libio/wgenops.c: Likewise.
4376 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
4378 2000-08-12 Ulrich Drepper <drepper@redhat.com>
4380 * locale/programs/localedef.c: Implement --prefix option to allow
4381 writing in standard places of alternative install directories.
4383 * posix/regex.c (compile_range): Implement collation sequence
4384 handling for glibc. Use simple character ordering otherwise and
4387 2000-08-12 Mark Kettenis <kettenis@gnu.org>
4389 * sysdeps/generic/scandir64.c: Include <dirent.h>.
4391 2000-08-12 Andreas Jaeger <aj@suse.de>
4393 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
4394 __USE_FILE_OFFSET64 correctly for locking.
4395 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4397 2000-08-12 Jakub Jelinek <jakub@redhat.com>
4399 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4400 Define for 2.4.1 on sparc as well.
4401 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
4402 for F_GETLK64, F_SETLK64, and F_SETLKW64.
4403 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
4404 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
4406 2000-08-12 Ulrich Drepper <drepper@redhat.com>
4408 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
4411 2000-08-12 Andreas Jaeger <aj@suse.de>
4413 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
4414 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
4416 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
4417 mips2 for assembler.
4419 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
4420 if fnctl64 is not available for F_*LK*64.
4422 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
4424 2000-08-12 Ulrich Drepper <drepper@redhat.com>
4426 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4427 Define for 2.4.1 on x86.
4428 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
4429 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
4430 for F_GETLK64, F_SETLK64, and F_SETLKW64.
4432 * dirent/dirent.h: Define DT_WHT.
4434 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
4435 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
4436 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
4437 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
4438 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
4439 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
4441 2000-08-11 Ulrich Drepper <drepper@redhat.com>
4443 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
4444 lookup, pass pointer to array with NULL pointer [PR libc/1858].
4445 * inet/Makefile (tests): Add tst-gethnm.
4446 * inet/tst-gethnm.c: New file.
4448 * rt/aio_cancel.c: If canceling a specific request which is running
4449 *really* do nothing.
4450 * rt/aio_misc.h: Add `done' to states of a request.
4451 * rt/aio_misc.c: Add several tests for the correct state.
4452 Simplify request table memory handling.
4454 2000-08-10 Jakub Jelinek <jakub@redhat.com>
4456 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
4457 * dirent/scandir64.c: Move...
4458 * sysdeps/generic/scandir64.c: ...here.
4459 * dirent/alphasort64.c: Move...
4460 * sysdeps/generic/alphasort64.c: ...here.
4461 * dirent/versionsort64.c: Move...
4462 * sysdeps/generic/versionsort64.c: ...here.
4463 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
4464 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
4465 Export symbols at GLIBC_2.2.
4466 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
4467 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
4468 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
4469 __versionsort64): Add prototypes.
4470 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
4471 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
4473 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
4475 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
4476 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
4477 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
4478 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
4480 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
4481 Adjust for kernel-2.4.0-test6 layout.
4482 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
4483 GLIBC_2.1 and GLIBC_2.2.
4484 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
4485 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
4486 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
4487 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
4488 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
4489 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
4490 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
4491 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
4492 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
4493 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
4494 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
4495 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
4496 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
4497 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
4499 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
4500 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
4501 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
4502 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
4503 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
4504 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
4505 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
4507 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
4508 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
4510 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
4511 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
4512 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
4513 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
4514 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
4516 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
4518 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
4520 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
4521 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
4522 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
4523 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
4524 st_ino from __st_ino.
4525 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
4526 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
4527 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
4528 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
4529 set __st_ino in addition to st_ino.
4530 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
4531 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
4532 __old_getdents64 as well.
4533 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
4534 getdirentries64 and old_getdirentries64 as well.
4535 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
4536 __GETDENTS): Define.
4537 (GETDENTS64): Remove.
4538 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
4540 (GETDENTS64): Remove.
4541 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
4542 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
4543 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
4545 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
4546 __old_readdir64_r as well.
4547 * sysdeps/unix/sysv/linux/kernel-features.h: Define
4548 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
4550 2000-08-08 Jes Sorensen <jes@linuxcare.com>
4552 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
4553 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
4554 define of the kernel.
4555 Add missing __SEG_PSTKOVF definition.
4556 Adjust the padding of struct siginfo and struct sigevent to
4557 match the fact that sigval_t is 64 bit.
4559 2000-08-10 Ulrich Drepper <drepper@redhat.com>
4561 * timezone/zic.c: Update from tzcode2000f.
4562 * timezone/australasia: Update from tzdata2000f.
4563 * timezone/europe: Likewise.
4564 * timezone/southamerica: Likewise.
4565 * timezone/yearistype: Likewise.
4567 2000-08-10 Andreas Jaeger <aj@suse.de>
4569 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
4570 stat with current MIPS kernel.
4572 2000-08-01 Mark Kettenis <kettenis@gnu.org>
4574 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
4575 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
4576 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
4577 Remove the junk that's only relevant in the Linux kernel itself.
4578 Add a warning saying that this file is now obsolete, and include
4580 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
4581 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
4582 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
4583 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
4584 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
4585 and add the notice that the file is primarily there for GDB.
4586 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
4588 2000-08-09 Jakub Jelinek <jakub@redhat.com>
4590 * time/tzfile.c (__tzfile_compute): __tzstring zones
4593 2000-08-09 Jakub Jelinek <jakub@redhat.com>
4595 * resolv/resolv.h (__res_state): Surround prototype with
4596 __BEGIN_DECLS/__END_DECLS.
4597 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
4599 2000-08-04 Jes Sorensen <jes@linuxcare.com>
4601 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
4602 Make independant of asm/resource.h from the Linux kernel.
4604 2000-08-06 Bruno Haible <haible@clisp.cons.org>
4606 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
4608 2000-08-06 Bruno Haible <haible@clisp.cons.org>
4610 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
4611 * locale/Makefile (locale-CPPFLAGS): Likewise.
4613 2000-08-09 Ulrich Drepper <drepper@redhat.com>
4615 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
4618 2000-08-03 Jakub Jelinek <jakub@redhat.com>
4620 * misc/Versions (mincore): Export at GLIBC_2.2.
4622 2000-08-03 Bruno Haible <haible@clisp.cons.org>
4624 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
4626 2000-08-02 Mark Kettenis <kettenis@gnu.org>
4628 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
4629 socketpair. Made socketpair a weak alias.
4630 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
4631 __socketpair. Use S_IFIFO protocol to make pipes POSIX
4632 conforming, but fall back on the old protocol if the socket server
4634 * include/sys/socket.h: Add prototype for __socketpair.
4636 2000-08-09 Andreas Schwab <schwab@suse.de>
4638 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
4639 long long modifier is seen.
4641 * elf/nodelete.c (do_test): Remove reference to undefined member
4643 * rt/tst-aio4.c (do_test): Likewise.
4645 * configure.in: Add `-lm' when checking for libgd.
4646 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
4649 2000-08-09 Andreas Jaeger <aj@suse.de>
4651 * configure.in: Change required make versions.
4653 * manual/install.texi (Tools for Compilation): Document required
4655 (Supported Configurations): Update list of supported
4658 2000-08-08 Ulrich Drepper <drepper@redhat.com>
4660 * locale/linereader.c (get_string): Don't print an error is a string
4661 contains an unknown character.
4663 2000-08-06 Ulrich Drepper <drepper@redhat.com>
4665 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
4666 (new_symbol): Take new parameters with name of the symbol.
4668 (handle_ellipsis): Don't only allow character symbols.
4669 (collate_read): Allow string of collating elements contain invalid
4670 characters; ignore entry in this case.
4671 Handle ellipsis of collating symbols before first order_start.
4672 Allow ellipsis in state 0.
4674 2000-08-04 Ulrich Drepper <drepper@redhat.com>
4676 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
4678 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
4680 2000-08-04 Greg McGary <greg@mcgary.org>
4682 * posix/regex.c (SET_HIGH_BOUND): New macro.
4683 (MOVE_BUFFER_POINTER): Use it.
4684 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
4685 (EXTEND_BUFFER): Use it.
4687 2000-08-03 Ulrich Drepper <drepper@redhat.com>
4689 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
4690 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
4691 _wide_data but from _IO_FILE directly.
4692 * libio/iofclose.c: Likewise.
4693 * libio/wfileops.c: Likewise.
4695 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
4696 * libio/libioP.h: Change prototypes.
4698 2000-08-03 Greg McGary <greg@mcgary.org>
4700 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
4701 frame pointer early so that we save caller's frame pointer.
4702 * sysdeps/i386/elf/setjmp.S: Likewise.
4704 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
4705 * io/test-utime.c: Test passing NULL as utimbuf* arg.
4707 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
4708 (MOVE_BUFFER_POINTER): Handle high_bound properly.
4709 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
4711 2000-08-03 Ulrich Drepper <drepper@redhat.com>
4713 * iconvdata/big5.c: Updated.
4714 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
4716 2000-08-02 Ulrich Drepper <drepper@redhat.com>
4718 * Makeconfig (all-subdirs): Add conform.
4719 * conform/Makefile: Include ../Rules.
4721 * Makefile (README): Add rules to generate here as well.
4723 2000-08-02 Ulrich Drepper <drepper@redhat.com>
4725 * version.h (VERSION): Bump to 2.1.92.
4727 * sysdeps/ia64/Dist: Add _mcount.S.
4729 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
4731 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
4733 * elf/Makefile (distribute): Add missing modules.
4735 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
4737 * posix/regex.c (compile_range): Translate range start and end
4738 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
4740 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
4743 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
4745 2000-08-02 Andreas Jaeger <aj@suse.de>
4747 * elf/elf.h (EM_S390): Added.
4748 (R_390_*): New relocs for S390.
4750 * sysdeps/unix/sysv/linux/s390/Dist: New file.
4751 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
4752 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
4753 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
4754 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
4755 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4756 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
4757 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
4758 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
4759 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
4760 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
4761 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
4762 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
4763 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
4764 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
4765 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
4766 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
4767 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
4768 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
4769 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
4770 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
4771 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
4772 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
4773 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
4774 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
4775 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
4776 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
4777 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
4778 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
4779 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
4780 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
4781 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
4782 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
4783 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
4784 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
4785 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
4786 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
4787 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
4788 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
4789 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
4790 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
4791 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
4792 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
4793 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
4794 * sysdeps/s390/sysdep.h: New file.
4795 * sysdeps/s390/sys/ucontext.h: New file.
4796 * sysdeps/s390/sub_n.S: New file.
4797 * sysdeps/s390/strncpy.S: New file.
4798 * sysdeps/s390/strcpy.S: New file.
4799 * sysdeps/s390/stackinfo.h: New file.
4800 * sysdeps/s390/setjmp.S: New file.
4801 * sysdeps/s390/s390-mcount.S: New file.
4802 * sysdeps/s390/mul_1.S: New file.
4803 * sysdeps/s390/memusage.h: New file.
4804 * sysdeps/s390/memset.S: New file.
4805 * sysdeps/s390/memcpy.S: New file.
4806 * sysdeps/s390/memchr.S: New file.
4807 * sysdeps/s390/machine-gmon.h: New file.
4808 * sysdeps/s390/ldbl2mpn.c: New file.
4809 * sysdeps/s390/gmp-mparam.h: New file.
4810 * sysdeps/s390/fpu/fpu_control.h: New file.
4811 * sysdeps/s390/fpu/fesetround.c: New file.
4812 * sysdeps/s390/fpu/fegetround.c: New file.
4813 * sysdeps/s390/fpu/fclrexcpt.c: New file.
4814 * sysdeps/s390/fpu/bits/fenv.h: New file.
4815 * sysdeps/s390/ffs.c: New file.
4816 * sysdeps/s390/elf/start.S: New file.
4817 * sysdeps/s390/elf/setjmp.S: New file.
4818 * sysdeps/s390/elf/bsd-setjmp.S: New file.
4819 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
4820 * sysdeps/s390/dl-machine.h: New file.
4821 * sysdeps/s390/bzero.S: New file.
4822 * sysdeps/s390/bsd-setjmp.S: New file.
4823 * sysdeps/s390/bsd-_setjmp.S: New file.
4824 * sysdeps/s390/bits/string.h: New file.
4825 * sysdeps/s390/bits/setjmp.h: New file.
4826 * sysdeps/s390/bits/huge_val.h: New file.
4827 * sysdeps/s390/bits/endian.h: New file.
4828 * sysdeps/s390/bits/byteswap.h: New file.
4829 * sysdeps/s390/bcopy.S: New file.
4830 * sysdeps/s390/backtrace.c: New file.
4831 * sysdeps/s390/atomicity.h: New file.
4832 * sysdeps/s390/asm-syntax.h: New file.
4833 * sysdeps/s390/addmul_1.S: New file.
4834 * sysdeps/s390/add_n.S: New file.
4835 * sysdeps/s390/abort-instr.h: New file.
4836 * sysdeps/s390/__longjmp.c: New file.
4837 * sysdeps/s390/Makefile: New file.
4838 * sysdeps/s390/Implies: New file.
4839 * sysdeps/s390/Dist: New file.
4840 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
4842 2000-08-01 Ulrich Drepper <drepper@redhat.com>
4844 Remove incompatible IPv6 extension of RPC.
4845 * sunrpc/Makefile: Undo changes.
4846 * sunrpc/rpc_main.c: Likewise.
4847 * sunrpc/rpc/clnt.h: Likewise.
4848 * sunrpc/rpc/svc.h: Likewise.
4849 * sunrpc/bindrsvprt6.c: Removed.
4850 * sunrpc/clnt_tcp6.c: Removed.
4851 * sunrpc/clnt_udp6.c: Removed.
4852 * sunrpc/svc_tcp6.c: Removed.
4853 * sunrpc/svc_udp6.c: Removed.
4855 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
4856 dgettext, and dcgettetxt.
4858 * intl/locale.alias: Update japanese aliases.
4860 * sysdeps/ia64/bits/byteswap.h: New file.
4861 Patch by Dan Pop <Dan.Pop@cern.ch>.
4863 * misc/sys/cdefs.h: Define __attribute_format_arg__.
4864 * intl/libintl.h: Use it here instead of using __attribute__ directly.
4866 2000-07-13 H.J. Lu <hjl@gnu.org>
4868 * posix/regex.c (re_max_failures): Set to 4000.
4870 2000-08-01 Ulrich Drepper <drepper@redhat.com>
4872 * gnulib/Makefile (tests): Add tst-gcc.
4873 * gnulib/tst-gcc.c: New file.
4875 * assert/Makefile (routines): Add __assert.
4876 * assert/Versions: Export __assert for glibc 2.2.
4877 * assert/__assert.c: New file.
4878 * assert/assert.h: Declare __assert.
4880 2000-07-27 Bruno Haible <haible@clisp.cons.org>
4882 * locale/localeinfo.h (_ISCTYPE): New macro.
4883 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
4884 LC_CTYPE locale format.
4885 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
4886 (ctype_output): Output class_b[nr] right before class_3level[nr].
4887 (allocate_arrays): Fill class_b, similarly to class_3level.
4889 2000-08-01 Ulrich Drepper <drepper@redhat.com>
4890 Joseph S. Myers <jsm28@cam.ac.uk>
4892 * math/tgmath.h: Make standard compliant. Don't ask how.
4894 2000-07-04 H.J. Lu <hjl@gnu.org>
4896 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
4897 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
4898 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
4900 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4902 * include/features.h (_XOPEN_SOURCE): Update the explanation.
4903 (__USE_LARGEFILE): Add an explanation.
4904 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
4905 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
4907 2000-08-01 Ulrich Drepper <drepper@redhat.com>
4909 * libio/Makefile: Enable exception handling for genops, wgenops,
4910 fileops, and wfileops.
4912 2000-07-29 Mark Kettenis <kettenis@gnu.org>
4914 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
4915 acount that elf/rtld's main program might remove some varibales
4916 from the environment if we're trying to be secure. Move the Hurd
4917 startup data if necessary, or, if we there is no startup data,
4918 make sure the magical convention that ARGV[0] is stored just after
4919 the environment list.
4921 2000-08-01 Philip Blundell <philb@gnu.org>
4923 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
4924 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
4925 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
4926 oldsetrlimit for GLIBC_2.0.
4928 2000-08-01 Andreas Jaeger <aj@suse.de>
4930 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
4931 (LINE_PARSER): Allow any number of spaces between ip address and
4932 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
4934 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
4936 * include/netdb.h: Remove getipnodebyaddr and friends, leave
4939 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
4940 _nss_nisplus_getipnodebyname_r.
4942 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
4943 now, getipnodebyname is deprecated.
4944 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
4947 * inet/Makefile (routines): Don't build getipnodebyaddr and
4950 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
4952 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
4954 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
4956 * wctype/Makefile (distribute): Add wchar-lookup.h.
4958 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
4960 * iconvdata/Makefile (distribute): Add isiri-3342.h.
4962 2000-08-01 Andreas Schwab <schwab@suse.de>
4964 * Make-dist (dist): Resolve `..' in file names.
4966 2000-08-01 Andreas Jaeger <aj@suse.de>
4968 * stdio-common/Makefile (distribute): Remove removed files, add
4971 * Makefile (distribute): Remove include/db_185.h and db.h.
4973 * include/db_185.h: Remove, it's not needed anymore.
4974 * include/db.h: Likewise.
4976 2000-07-31 Ulrich Drepper <drepper@redhat.com>
4978 * inet/Makefile (tests): Remove tst-ipnode.
4979 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
4982 2000-07-31 Jes Sorensen <jes@linuxcare.com>
4984 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
4985 endp statements have already been added.
4987 2000-04-18 David Mosberger <davidm@hpl.hp.com>
4989 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
4990 <sysdeps/ia64/sysdep.h>.
4992 * sysdeps/ia64/_mcount.S: New file.
4994 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
4995 __gmon_start__. Fix up extraneous whitespace.
4997 2000-01-12 H.J. Lu <hjl@gnu.org>
4999 * sysdeps/ia64/elf/initfini.c: New file.
5001 2000-07-31 Jes Sorensen <jes@linuxcare.com>
5003 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
5004 dependency between branch and ar.pfs write.
5006 2000-07-31 H.J. Lu <hjl@gnu.org>
5008 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
5009 handle the wchar_t array.
5011 2000-07-31 Ulrich Drepper <drepper@redhat.com>
5013 * iconvdata/gb18030.c: Don't map to and from positions in ISO
5014 10646 which are not yet assigned.
5015 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
5017 2000-07-31 Andreas Jaeger <aj@suse.de>
5019 * inet/Versions: Remove getipnodebyaddr and friends from
5022 * resolv/netdb.h: Remove getipnodebyaddr and friends.
5024 2000-07-30 Bruno Haible <haible@clisp.cons.org>
5026 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
5027 ch >= 0x81 && ch2 < 0x40 as invalid.
5029 2000-07-30 Bruno Haible <haible@clisp.cons.org>
5031 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
5032 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
5034 2000-07-30 Bruno Haible <haible@clisp.cons.org>
5036 * iconvdata/johab.c (BODY for TO_LOOP): After calling
5037 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
5039 2000-07-30 Bruno Haible <haible@clisp.cons.org>
5041 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
5043 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
5045 2000-07-30 Bruno Haible <haible@clisp.cons.org>
5047 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
5049 2000-07-30 Bruno Haible <haible@clisp.cons.org>
5051 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
5052 (from_ucs4): Change values of U+00A4 and U+00ED.
5053 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
5055 2000-07-30 Bruno Haible <haible@clisp.cons.org>
5057 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
5058 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
5060 2000-07-30 Bruno Haible <haible@clisp.cons.org>
5062 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
5063 * iconvdata/isiri-3342.h: New file.
5064 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
5065 treat 0x80 as a gap.
5067 2000-07-30 Bruno Haible <haible@clisp.cons.org>
5069 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
5070 (utf8_encode): Use simple shifts instead. Fix return value.
5072 2000-07-31 Ulrich Drepper <drepper@redhat.com>
5074 * timezone/private.h: Update from tzcode2000e.
5075 * timezone/asia: Update from tzdata2000e.
5076 * timezone/australasia: Likewise.
5077 * timezone/europe: Likewise.
5078 * timezone/northamerica: Likewise.
5079 * timezone/zone-tab: Likewise.
5081 2000-07-30 Ralf Baechle <ralf@gnu.org>
5083 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
5084 the order of struct sigaltstack members is different.
5086 2000-07-26 Philip Blundell <philb@gnu.org>
5088 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
5090 2000-07-29 Ulrich Drepper <drepper@redhat.com>
5092 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
5093 * locale/programs/ld-ctype.c: Adjust for this.
5095 * locale/programs/ld-collate.c: Add more alignment checks.
5096 * locale/string/strcoll.c: Likewise.
5098 2000-07-30 Mark Kettenis <kettenis@gnu.org>
5100 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
5101 outside USE_IN_LIBIO block.
5103 2000-07-26 Philip Blundell <philb@gnu.org>
5105 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
5106 (elf_machine_rel): Use it for out-of-range PC24 relocs.
5108 2000-07-28 Philip Blundell <philb@gnu.org>
5110 * math/test-fpucw.c: Ignore reserved bits in control word.
5112 2000-07-28 Philip Blundell <philb@gnu.org>
5114 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
5115 (ret): Redefine to PSEUDO_RET.
5116 (PSEUDO): Remove jump to syscall_error.
5118 2000-07-29 Mark Kettenis <kettenis@gnu.org>
5120 * resolv/README: Add some information about using the resolver in
5121 multi-threaded code and with C++. Spelling fixes.
5123 2000-07-29 Mark Kettenis <kettenis@gnu.org>
5125 * resolv/resolv.h (struct __sockaddr_in): Remove.
5126 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
5128 2000-07-29 Greg McGary <greg@mcgary.org>
5130 * Rules (test-bp-inputs, make-test-out): New variables.
5131 ($(objpfx)%-bp.out): New rule.
5132 ($(objpfx)%.out): Rewrite in terms of new variables.
5134 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
5135 internal function that uses vtable.
5136 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
5137 * libio/vswprintf.c (_IO_vswprintf): Likewise.
5139 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
5140 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
5141 (chunk_align): Likewise.
5143 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
5144 in a way that conforms to decl, and avoids spurious bounds violation.
5146 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
5147 * sysdeps/generic/frame.h: Likewise.
5148 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
5149 around return value.
5150 (__backtrace): Qualify frame-pointer chain and return address
5151 pointers as __unbounded. Wrap bounds around variable `current'.
5152 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
5153 around return value.
5154 (catch_segfault): Qualify frame-pointer chain and return address
5155 pointers as __unbounded. Wrap bounds around variable `current'.
5156 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
5157 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
5158 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
5160 (__backtrace): Qualify frame-pointer chain and return address
5161 pointers as __unbounded. Wrap bounds around variable `current'.
5163 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
5164 * sysdeps/i386/mul_1.S: Likewise.
5165 * sysdeps/i386/submul_1.S: Likewise.
5166 * sysdeps/i386/i586/addmul_1.S: Likewise.
5167 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
5168 * sysdeps/i386/i586/submul_1.S: Likewise.
5170 2000-07-27 Andreas Jaeger <aj@suse.de>
5172 * libio/Depend: New file, libio needs localedata for tests.
5173 * posix/Depend: Likewise.
5175 2000-07-28 Ulrich Drepper <drepper@redhat.com>
5177 * stdio-common/_i18n_itoa.c: Removed.
5178 * stdio-common/_i18n_itoa.h: Removed.
5179 * stdio-common/_i18n_itowa.c: Removed.
5180 * stdio-common/_i18n_itowa.h: Removed.
5181 * stdio-common/_i18n_number.h: New file.
5182 * stdio-common/Depend: New file.
5183 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
5184 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
5185 printing. Change printing of numbers with locale specific digits to
5186 use new code in _i18n_number.h.
5187 * stdio-common/Makefile (routines): Remove _i18n_itoa and
5190 * stdio-common/bug13.c: Improve messages.
5192 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
5193 (set_class_defaults): Always search also for Uxxxx names.
5194 Detect insufficient number of outdigits.
5196 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
5198 2000-07-27 Bruno Haible <haible@clisp.cons.org>
5200 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
5201 _NL_CTYPE_MAP_NAMES.
5202 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
5203 * wctype/wcfuncs.c (towlower, towupper): Use them.
5204 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
5205 * wctype/wctrans.c (wctrans): Likewise.
5206 * wctype/wctrans_l.c (__wctrans_l): Likewise.
5208 2000-07-27 Bruno Haible <haible@clisp.cons.org>
5210 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
5211 Use the optimized version of this function outside glibc as well.
5213 2000-07-27 Jakub Jelinek <jakub@redhat.com>
5215 * locale/indigits.h (indigit_value): Correct.
5216 * locale/indigitswc.h (indigitwc_value): Correct.
5217 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
5218 conversion, add GROUP checking for it, fix GROUP number
5219 conversion with strlen(thousands) > 1.
5220 Honour width correctly in the presence of floating
5221 decimal points and thousands separators.
5222 * stdio-common/tst-sscanf.c: New test.
5223 * stdio-common/Makefile: Add it to tests.
5224 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
5225 thousands separators and group argument is non-zero.
5227 2000-07-25 Bruno Haible <haible@clisp.cons.org>
5229 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
5230 starts at GLIBC_2.2.
5232 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5234 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
5235 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
5237 (headers): Add sys/tas.h.
5238 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
5239 GLIBC_2.2 from libc.
5240 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
5241 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
5244 2000-07-28 Andreas Jaeger <aj@suse.de>
5246 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
5248 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
5249 ($(objpfx)tst-dladdr.out): new.
5250 (tests): Add tst-dladdr.
5251 ($(objpfx)glrefmain): Use libdl.
5253 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
5256 2000-07-27 Jes Sorensen <jes@linuxcare.com>
5258 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
5259 ftruncate(64) calls.
5261 2000-07-27 Jes Sorensen <jes@linuxcare.com>
5263 * intl/tst-translit.c: Include string.h to get prototype for
5266 2000-07-27 Jes Sorensen <jes@linuxcare.com>
5268 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
5269 name and add weak alias for __fork.
5271 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
5272 & pwrite to use __libc_<name> as strong names instead of
5275 * include/sched.h: Add clone2 prototype.
5277 2000-07-26 Jes Sorensen <jes@linuxcare.com>
5279 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
5280 procedure name twice.
5282 2000-07-27 Philip Blundell <philb@gnu.org>
5284 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
5286 2000-07-27 Andreas Jaeger <aj@suse.de>
5288 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
5289 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
5290 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5291 Reported by Andi Kleen <ak@suse.de>.
5293 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
5294 (do_wait): Test requests with aio_return64.
5295 (do_test): Change callers of do_wait.
5297 2000-07-26 Andreas Jaeger <aj@suse.de>
5299 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
5300 (do_wait): Test requests with aio_return.
5301 (do_test): Change callers of do_wait.
5303 2000-07-27 Ulrich Drepper <drepper@redhat.com>
5305 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
5306 from request list. Don't do the list handling here, call
5307 __aio_remove_request.
5308 * rt/aio_misc.h: Add prototype for __aio_remove_request.
5309 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
5310 request might already be processed. Don't do the list handling
5311 here, call __aio_remove_request.
5313 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
5316 * rt/aio_misc.c: Add comment explaining why writer memory barriers
5319 2000-07-27 Greg McGary <greg@mcgary.org>
5321 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
5322 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
5323 in union init. Pass zero for ignored semnum arg to semctl.
5324 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
5326 2000-07-26 Greg McGary <greg@mcgary.org>
5328 * sysdeps/gnu/bits/msq.h: Qualify kernel's
5329 data structure pointers as __unbounded.
5330 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
5331 * sysdeps/generic/bp-semctl.h: New file.
5332 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
5333 pointers as __unbounded. Check bounds of syscall args.
5334 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
5335 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
5336 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5337 * sysdeps/unix/sysv/linux/semop.c: Likewise.
5338 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
5339 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5340 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
5341 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
5342 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
5343 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
5344 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
5345 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
5346 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
5347 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
5348 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
5349 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
5351 2000-07-26 Ulrich Drepper <drepper@redhat.com>
5353 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
5355 * locale/C-ctype.c: Likewise.
5356 * wcsmbs/wcsmbsload.c: Likewise.
5358 2000-07-26 Greg McGary <greg@mcgary.org>
5360 * Makeconfig (+link-bounded, link-libc-bounded,
5361 link-extra-libs-bounded): New variables.
5362 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
5363 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
5364 * Rules (tests-bp.out): New variable.
5365 (tests): Conditionally add BP tests.
5366 (binaries-bounded): Add variable and associated rule.
5367 * csu/Makefile [build-bounded] (extra-objs, install-lib):
5368 Move conditional stuff after place where condition is defined.
5370 * malloc/malloc.c (bp-checks.h): Add #include.
5371 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
5372 (_bin_at): Add unbounded version of bin_at.
5373 (IAV, chunk_alloc): Use unbounded _bin_at.
5374 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
5375 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
5376 Wrap BOUNDED_N around return value.
5377 (chunk_realloc): Adjust oldsize once.
5379 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
5380 (__ubp_memchr): Add correct decl.
5381 (_CHECK_STRING): Use __ubp_memchr.
5382 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
5383 New alias for unbounded-pointer __memchr.
5384 * sysdeps/i386/memchr.S: Likewise.
5385 * sysdeps/ia64/memchr.S: Likewise.
5386 * sysdeps/m68k/memchr.S: Likewise.
5387 * sysdeps/sparc/sparc32/memchr.S: Likewise.
5388 * sysdeps/sparc/sparc64/memchr.S: Likewise.
5389 * sysdeps/vax/memchr.s: Likewise.
5391 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
5392 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
5393 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
5394 * sysdeps/i386/i686/strtok.S: Likewise.
5395 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
5396 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
5398 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
5399 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
5401 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
5402 bounds of copy_result to mount_proc.
5404 2000-07-25 Bruno Haible <haible@clisp.cons.org>
5406 * wctype/wctype.h (__wctrans_l): New declaration.
5407 * wctype/wctrans_l.c: New file.
5408 * wctype/Makefile (routines): Add wctrans_l.
5410 2000-07-26 Ulrich Drepper <drepper@redhat.com>
5412 * posix/fnmatch_loop.c: Fixes for use outside glibc.
5413 Patch by MacGyver <macgyver@tos.net>.
5415 2000-07-26 Andreas Jaeger <aj@suse.de>
5417 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
5418 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
5419 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
5421 * rt/tst-aio.c (test_file): Fix typo.
5422 * rt/tst-aio64.c (test_file): Likewise.
5424 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
5425 * rt/Makefile: Add rules to build and run tst-aio3.
5427 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
5428 it's not needed and confuses only.
5430 2000-07-26 Ulrich Drepper <drepper@redhat.com>
5432 * resolv/res_init.c: Add support for nameserver communication with
5434 * resolv/res_send.c: Likewise.
5435 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
5437 Patch by <venaas@nvg.ntnu.no>.
5439 2000-07-25 Bruno Haible <haible@clisp.cons.org>
5441 * locale/programs/ld-ctype.c (wctype_table_get): New function.
5442 (wcwidth_table_get): New function.
5443 (wcwidth_table_add): Call it.
5444 (wctrans_table_get): New function.
5445 (wctrans_table_add): Call it.
5447 2000-07-25 Ulrich Drepper <drepper@redhat.com>
5449 * rt/lio_listio.c (lio_listio): Always disable individual
5451 * rt/Makefile: Add rules to build and run tst-aio2.
5452 * rt/tst-aio2.c: New file.
5454 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
5455 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
5457 2000-07-25 Mark Kettenis <kettenis@gnu.org>
5459 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
5460 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
5461 leading and trailing spaces from host, user and domain name.
5463 2000-07-25 Jes Sorensen <jes@linuxcare.com>
5465 * csu/defs.awk: Add support for need_endp.
5467 2000-07-25 Mark Kettenis <kettenis@gnu.org>
5469 * resolv/resolv.h: Remove __P from res_send_qhook and
5470 res_send_rhook typedefs.
5472 2000-07-25 Bruno Haible <haible@clisp.cons.org>
5474 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
5476 2000-07-25 Ulrich Drepper <drepper@redhat.com>
5478 * iconv/gconv_builtin.h: Add WCHAR_T alias.
5480 2000-07-25 Mark Kettenis <kettenis@gnu.org>
5482 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
5483 calling thread, set the cancellation flag and return success
5486 2000-07-25 Ulrich Drepper <drepper@redhat.com>
5488 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
5489 * libio/tst-widetext.c: New file.
5490 * libio/tst-widetext.input: New file.
5492 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
5494 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
5495 empty external buffer correctly.
5497 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5499 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
5500 __STRING(entry) and not #entry.
5501 (_RTLD_EPILOGUE): Likewise.
5502 * sysdeps/mips/mips64/dl-machine.h: Likewise.
5504 2000-07-25 Andreas Jaeger <aj@suse.de>
5506 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
5507 according to changes in test program, run also with static only
5509 ($(objpfx)tst-printf.out): Likewise.
5511 * stdio-common/tst-unbputc.sh: Likewise.
5512 * stdio-common/tst-printf.sh: Likewise.
5514 2000-07-25 Ulrich Drepper <drepper@redhat.com>
5516 * libio/wfileops.c (_IO_wdo_write): Correct return value.
5518 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
5521 * libio/fileops.c: Pretty print.
5523 2000-07-23 Bruno Haible <haible@clisp.cons.org>
5525 * wctype/wchar-lookup.h: New file.
5526 * wctype/iswctype.c: Include "wchar-lookup.h".
5527 (__iswctype): Support alternate locale format with 3-level tables.
5528 * wctype/iswctype_l.c (__iswctype_l): Likewise.
5529 * wctype/towctrans.c (__towctrans): Likewise.
5530 * wctype/towctrans_l.c (__towctrans_l): Likewise.
5531 * wctype/wcfuncs.c: Include "wchar-lookup.h".
5532 (__ctype32_wctype, __ctype32_wctrans): Declare external.
5533 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
5534 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
5535 __iswxdigit, towlower, towupper): Support alternate locale format
5536 with 3-level tables.
5537 * wctype/wcextra.c (iswblank): Likewise.
5538 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
5539 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
5540 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
5541 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
5542 format with 3-level tables.
5543 * wctype/wcextra_l.c (__iswblank_l): Likewise.
5544 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
5545 format, return a 3-level table pointer.
5546 * wctype/wctype_l.c (__wctype_l): Likewise.
5547 * wctype/wctrans.c (wctrans): Likewise.
5548 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
5549 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
5550 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
5551 (iswctype): Remove macro definition.
5552 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
5553 (internal_wcwidth): Support alternate locale format with 3-level
5555 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
5557 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
5558 Define them as being type "word".
5559 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
5560 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
5561 __ctype32_width): New exported variables.
5562 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
5563 alternate locale format. Don't initialize __ctype_names and
5564 __ctype_width in the alternate locale format.
5565 * locale/programs/localedef.h (oldstyle_tables): New declaration.
5566 * locale/programs/localedef.c (oldstyle_tables): New variable.
5567 (OPT_OLDSTYLE): New macro.
5568 (options): Add --old-style option.
5569 (parse_opt): Handle --old-style option.
5570 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
5571 map_offset, class_3level, map_3level, width_3level members.
5572 (ctype_output): Support for alternate locale format: Computation of
5573 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
5574 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
5575 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
5576 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
5577 now contain both class and map tables.
5578 (struct wctype_table): New type.
5579 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
5581 (struct wcwidth_table): New type.
5582 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
5584 (struct wctrans_table): New type.
5585 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
5587 (allocate_arrays): Support for alternate locale format: Set
5588 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
5589 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
5590 to the first 256 characters. Compute ctype->map_3level. Set
5591 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
5592 instead of ctype->width.
5594 2000-07-24 Ulrich Drepper <drepper@redhat.com>
5596 * libio/iogetwline.c (_IO_getwline_info): Use wide character
5599 2000-07-24 Jakub Jelinek <jakub@redhat.com>
5601 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
5602 in wide characters, not bytes.
5603 * libio/tst_putwc.c (do_test): Add test for writing lots of data
5606 2000-07-22 Bruno Haible <haible@clisp.cons.org>
5608 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
5609 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
5610 LC_MEASUREMENT, LC_IDENTIFICATION.
5612 * locale/xlocale.h (struct __locale_struct): Increase size of
5614 * locale/duplocale.c (__duplocale): Copy newly added categories as
5616 * locale/freelocale.c (__freelocale): Free newly added categories.
5617 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
5618 If a base is given, use it, don't simply return it.
5620 2000-07-22 Bruno Haible <haible@clisp.cons.org>
5622 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
5623 variables, copied_key and copied_salt, instead of boolean variables.
5625 2000-07-24 Andreas Jaeger <aj@suse.de>
5627 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
5630 * grp/initgroups.c (initgroups_dyn_function): Renamed from
5631 initgroups_function, adopted prototype for change from 2000-07-23.
5632 (initgroups): Follow type change.
5634 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
5635 & PAGE_MASK case, reformat.
5637 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
5638 from stdin and setup environment.
5640 2000-07-24 Andreas Schwab <schwab@suse.de>
5642 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
5644 2000-07-23 Ulrich Drepper <drepper@redhat.com>
5646 * string/endian.h: Explain the _*_ENDIAN constant values a bit
5647 more. Patch by scarlet@mit.edu [PR libc/1799].
5649 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
5652 * argp/argp-parse.c (parser_finalize): Reverse order in which
5653 parsers are run for ARGP_KEY_END. [PR libc/1755].
5655 * grp/initgroups.c (initgroups): Don't limit the possible number
5656 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
5657 the setgroups call while the call fails and descrease the number
5658 of groups each round.
5659 The name of the initgroups function in the NSS modules changed.
5660 (compat_call): Adapt for dynamic resizing.
5661 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5662 Implement dynamic resizing.
5663 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
5665 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
5666 * hesiod/Versions: Change exported interface name.
5667 * nis/Versions: Change exported interface name.
5669 2000-07-23 Ulrich Drepper <drepper@redhat.com>
5671 * locale/iso-639.def: Some errors corrected.
5672 Patch by Keld Simonsen.
5674 * include/limits.h: Update non-gcc portion.
5675 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
5677 2000-07-22 Mark Kettenis <kettenis@gnu.org>
5679 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
5680 program's data space, reallocate only the space that was just
5681 deallocated to release its backing space.
5683 2000-07-23 Ulrich Drepper <drepper@redhat.com>
5685 * stdio-common/vfprintf.c (process_string_arg): For wide character
5686 version, handle precision also correctly.
5688 * nss/nss_files/files-hosts.c: Correct problem with three or more
5689 entries with the same name.
5691 * nss/nss_files/files-hosts.c: Implement multi handling.
5692 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
5694 2000-07-22 Ulrich Drepper <drepper@redhat.com>
5696 * nss/nss_files/files-parse.c: Don't pollute namespace by using
5699 * grp/Makefile: Change Makefiles and tests to run only when necessary.
5700 * malloc/Makefile: Likewise.
5701 * malloc/tst-mtrace.sh: Likewise.
5702 * posix/Makefile: Likewise.
5703 * posix/globtest.sh: Likewise.
5704 * posix/wordexp-tst.sh: Likewise.
5705 * string/Makefile: Likewise.
5707 2000-07-22 Mark Kettenis <kettenis@gnu.org>
5709 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
5710 size instead of LC_ALL to take into account the new locale
5713 2000-07-22 Ulrich Drepper <drepper@redhat.com>
5715 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
5716 remainders of hash table.
5717 * locale/categories.def: Remove remainders of transliteration
5719 * locale/langinfo.h: Likewise.
5720 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
5721 transliteration tables.
5723 * locale/gen-translit.pl: New file.
5724 * locale/C-translit.h.in: New file.
5725 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
5726 data pointers with data from this file.
5727 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
5728 and gen-translit.pl.
5729 Add rule to generate C-translit.h.
5730 * intl/tst-translit.c (main): Update for now performed
5733 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
5734 (it's no input error).
5735 * stdio-common/tstscanf.c: Add test case for format %f with input --.
5736 * stdio-common/scanf12.c: Correct expected result for first scanf.
5738 * stdio-common/vfprintf.c (process_string_arg): Correct handling
5739 of multibyte character strings in %s format with precision.
5741 2000-07-21 Ulrich Drepper <drepper@redhat.com>
5743 * locale/programs/ld-collate.c (collate_read): Allow collating
5744 symbols and elements be named in reorder-after instructions.
5745 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
5747 * locale/programs/ld-collate.c (handle_ellipsis): Test for
5748 duplication with generated name, not the name of the first
5750 Patch by Yong Li <yong.li@asu.edu>.
5752 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
5753 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
5755 2000-07-21 Wolfram Gloger <wg@malloc.de>
5757 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
5758 allocations only if a non-main arena cannot be extended.
5760 2000-07-21 Ulrich Drepper <drepper@redhat.com>
5762 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
5763 in DF_1_NODEFLIB handling.
5765 2000-07-21 Andreas Jaeger <aj@suse.de>
5767 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
5770 * libio/fwide.c: Include <wchar.h> for prototype.
5772 2000-07-21 Greg McGary <greg@mcgary.org>
5774 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
5775 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
5776 Define in terms of chunk_at_offset.
5777 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
5778 (next_bin, prev_bin): offset by size of real array elements.
5779 (chunk_align): Make `m' a scalar, since that's how it's used.
5781 2000-07-21 Greg McGary <greg@mcgary.org>
5783 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
5785 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
5786 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
5787 Wrap bounds around argv & envp and each of their string members.
5788 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
5789 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
5790 symbol in BP_SYM (). Discard bounds of address arg.
5791 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
5792 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
5793 Discard bounds on address arg, add bounds to return value.
5795 2000-07-20 Ulrich Drepper <drepper@redhat.com>
5797 * elf/Makefile (tests): Add filter. Add rules to generate filter.
5798 * elf/filter.c: New file.
5799 * elf/filtmod1.c: New file.
5800 * elf/filtmod2.c: New file.
5802 * elf/rtld.c: Define _dl_bind_not variable.
5803 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
5804 * elf/dl-support.c: Likewise.
5805 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
5806 * elf/dl-runtime.c (fixup): Don't remember looked up value if
5808 (profile_fixup): Likewise.
5810 * libio/Makefile (routines): Add fwide.
5811 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
5812 fwide now. Internal calls to _IO_fwide must do locking themselves
5813 or don't need locking.
5814 * libio/fwide.c: New file.
5816 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
5818 * elf/Makefile: Add no modules for nodelete test.
5819 * elf/nodelmod3.c: New file.
5820 * elf/nodelmod4.c: New file.
5821 * elf/nodelete.c: Also test case where dependency of dlopen() object
5824 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
5825 * elf/nodlopen.c: New file.
5826 * elf/nodlopenmod.c: New file.
5827 * include/dlfcn.h: Define __RTLD_DLOPEN.
5828 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
5829 and this is a dlopen() call, do not load the binary.
5830 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
5831 * dlfcn/dlopenold.c: Likewise.
5832 * configure.in: Add test for -z nodelete option.
5833 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
5835 2000-07-20 Mark Kettenis <kettenis@gnu.org>
5837 Make Hesiod NSS module thread-safe.
5839 * hesiod/README.hesiod: Update.
5841 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
5842 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
5843 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
5844 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
5846 * hesiod/nss_hesiod/hesiod-init.c: New file.
5847 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
5848 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
5849 * hesiod/nss_hesiod/nss_hesiod.h: New file.
5850 * hesiod/nss_hesiod/hesiod-service.c
5851 (_nss_hesiod_getservbyport_r): New function. Provide support for
5852 looking up services by port number.
5853 * hesiod/nss_hesiod/hesiod-proto.c: New file.
5855 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
5856 * hesiod/hesiod.h: Likewise.
5857 * hesiod/hesiod_p.h: Likewise.
5859 2000-07-20 Mark Kettenis <kettenis@gnu.org>
5861 Fix problems with `struct __res_state' getting too big.
5862 * resolv/resolv.h (struct __sockaddr_in): New definition.
5863 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
5864 the private parts of the structure to save some space.
5865 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
5866 (struct sockaddr_in *) in call to sock_eq.
5867 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
5869 2000-07-20 Ulrich Drepper <drepper@redhat.com>
5871 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
5872 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
5874 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
5875 to _dl_map_object. Return immediately if no object loaded.
5876 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
5877 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
5878 if it exists into l_flags_1 word.
5879 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
5880 it to determine whether loading is wanted or not.
5881 (_dl_map_object): Likewise.
5882 Call _dl_map_object_from_fd with new parameter.
5883 * sysdeps/generic/ldsodefs.h: Update prototype.
5884 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
5885 * elf/rtld.c: Likewise.
5886 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5887 * elf/Makefile (tests): Add noload. Add rules to generate noload.
5888 * elf/noload.c: New file.
5889 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
5890 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
5891 * sysdeps/mips/bits/dlfcn.h: Likewise.
5892 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
5893 (tests-nodelete-yes): Define.
5894 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
5895 Add rules to build nodelete and modules.
5896 * elf/nodelete.c: New file.
5897 * elf/nodelmod1.c: New file.
5898 * elf/nodelmod2.c: New file.
5899 * configure.in: Add test for -z nodelete option.
5900 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
5902 * libio/Makefile (tests): Add tst_wprintf2.
5903 (tst_wprintf2-ARGS): Define.
5904 * libio/tst_wprintf2.c: New file.
5905 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
5907 * libio/wfiledoalloc.c: Only allocate external buffer if this
5908 hasn't happened yet.
5910 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
5911 something in the buffer. gconv call can write up to end of the
5912 buffer, not only _IO_write_end.
5913 (_IO_wfile_overflow): Allocate also external buffer.
5915 2000-07-19 Ulrich Drepper <drepper@redhat.com>
5917 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
5918 strings with precision in vfwprintf correctly.
5919 * stdio-common/vfprintf.c: Fix completely broken handling of
5920 unbuffered wide character streams.
5921 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
5923 * resolv/Makefile (distribute): Add README.
5925 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
5927 2000-07-18 Mark Kettenis <kettenis@gnu.org>
5929 Update resolver code to BIND 8.2.3-T5B.
5931 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
5933 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
5934 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
5936 * resolv/Banner: BIND-8.2.3-T5B.
5938 * resolv/base64.c: Update from BIND 8.2.3-T5B.
5939 * resolv/herror.c: Likewise.
5940 * resolv/inet_addr.c: Likewise.
5941 * resolv/inet_net_ntop.c: Likewise.
5942 * resolv/inet_net_pton.c: Likewise.
5943 * resolv/inet_neta.c: Likewise.
5944 * resolv/inet_ntop.c: Likewise.
5945 * resolv/nsap_addr.c: Likewise.
5946 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
5947 IPv6 addresses (ISC bug #520).
5949 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
5950 * resolv/ns_parse.c: Likewise.
5951 * resolv/ns_netint.c: Likewise.
5952 * resolv/ns_samedomain.c: Likewise.
5953 * resolv/ns_ttl.c: Likewise.
5954 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
5955 RCS ID in object file.
5957 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
5958 * resolv/res_mkquery.c: Likewise.
5959 * resolv/res_query.c: Likewise.
5960 * resolv/res_init.c: Likewise.
5961 (res_setoptions): Mark internal.
5962 * resolv/res_send.c: Likewise.
5963 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
5964 by using poll instead.
5965 * resolv/res_comp.c: Likewise.
5966 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
5967 weak alias for __dn_expand.
5968 * resolv/res_data.c: Likewise.
5969 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
5970 in _res.options. Avoids a potential security risk by avoiding a
5972 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
5973 res_mkquery, res_query, res_querydomain adn res_search weak
5974 aliases for __res_mkquery, __res_query, __res_querydomain and
5976 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
5977 instead to avoid close(0).
5978 (res_init): Always use the static resolver context.
5979 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
5980 alias for __res_init.
5982 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
5983 RES_SET_H_ERRNO and accompanying comment to...
5984 * include/resolv.h: ... here.
5986 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
5987 * resolv/arpa/nameser_compat.h: Likewise.
5989 2000-07-18 Ulrich Drepper <drepper@redhat.com>
5991 * nss/makedb.c (main): Compare result of load_db with
5992 NSS_STATUS_SUCCESS and not 0.
5993 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
5995 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
5997 2000-07-18 Greg McGary <greg@mcgary.org>
5999 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
6000 (EXTEND_BUFFER): Use it.
6002 2000-07-18 Ulrich Drepper <drepper@redhat.com>
6004 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
6005 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
6006 __builtin_return_address.
6007 * dlfcn/dlopenold.c: Likewise.
6008 * dlfcn/dlsym.c: Likewise.
6009 * dlfcn/dlvsym.c: Likewise.
6010 * elf/dl-profstub.c: Likewise.
6011 * malloc/malloc.c: Likewise.
6012 * sysdeps/generic/machine-gmon.h: Likewise.
6013 Based on a patch by schwidefsky@de.ibm.com.
6015 2000-07-18 Andreas Jaeger <aj@suse.de>
6017 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
6018 NULL to elf_machine_fixup_plt t argument to silence GCC.
6020 * include/string.h: Add prototype for __memchr.
6022 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
6024 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
6027 2000-07-18 Ulrich Drepper <drepper@redhat.com>
6029 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
6031 * locale/C-ctype.c: Add initializers for gap elements.
6032 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
6035 2000-07-16 Ulrich Drepper <drepper@redhat.com>
6037 * nscd/nscd.c (print_version): Update copyright year.
6039 2000-07-17 Greg McGary <greg@mcgary.org>
6041 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
6042 keyletters F, I, S, W. Remove unused keyletter V. Surround
6043 signature argnames with angle-brackets for use as word delimiters,
6044 and to induce syntax errors for any args not handled. Split
6045 multi-echo echoes and comment each stage.
6046 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
6047 * sysdeps/unix/inet/syscalls.list: Likewise.
6048 * sysdeps/unix/mman/syscalls.list: Likewise.
6049 * sysdeps/unix/syscalls.list: Likewise.
6050 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6051 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6052 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6053 * sysdeps/unix/sysv/syscalls.list: Likewise.
6054 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
6056 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
6057 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
6058 qualifiers. Don't check NULL-terminator of argv & envp.
6059 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
6060 unbounded pointer type in word-size assertion.
6061 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
6062 cases to stifle warnings.
6064 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
6066 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
6068 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
6069 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
6072 * Makerules (o-objects): Supplement with $(o-objects$o).
6073 * string/Makefile (o-objects.ob): Add variable to pull
6074 unbounded versions of memcpy, memset and memchr into libc_b.
6076 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
6077 rather than non-existent __ubp_memchr.
6078 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
6079 (_CHECK_STRING, _CHECK_N): New macros.
6080 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
6081 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
6082 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
6083 Add weak alias "memchr".
6084 * sysdeps/generic/memchr.c: Likewise.
6085 * sysdeps/i386/memchr.S: Likewise.
6086 * sysdeps/ia64/memchr.S: Likewise.
6087 * sysdeps/m68k/memchr.S: Likewise.
6088 * sysdeps/sparc/sparc32/memchr.S: Likewise.
6089 * sysdeps/sparc/sparc64/memchr.S: Likewise.
6090 * sysdeps/vax/memchr.s: Likewise.
6092 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
6094 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
6095 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
6096 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
6097 __BOUNDED_POINTERS__.
6098 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
6099 for __BOUNDED_POINTERS__.
6101 2000-07-17 Bruno Haible <haible@clisp.cons.org>
6103 * iconv/gconv_open.c (__gconv_open): Initialize the __data
6104 field of struct __gconv_trans_data differently. Don't pass NULL to
6105 trans_init_fct. Simplify list append operation.
6107 2000-07-14 Bruno Haible <haible@clisp.cons.org>
6109 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
6110 not only those having tsearch.
6112 2000-07-17 Ulrich Drepper <drepper@redhat.com>
6114 * locale/langinfo.h: Add placeholder values in enum for removed
6117 2000-07-17 Jakub Jelinek <jakub@redhat.com>
6119 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
6120 chain if the PHDR check fails.
6122 2000-07-17 Mark Kettenis <kettenis@gnu.org>
6124 * nss/getent.c (print_hosts): Make sure we always print a space
6125 between numeric addresses and hostnames.
6127 2000-07-17 Wolfram Gloger <wg@malloc.de>
6129 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
6130 i.e. if n_mmaps_max>0.
6132 2000-07-16 Mark Kettenis <kettenis@gnu.org>
6134 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
6135 values to remove possible clash with other AI_* constants.
6136 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
6137 hexadecimal constants to stress the fact they're in fact
6140 2000-07-15 Mark Kettenis <kettenis@gnu.org>
6142 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
6143 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
6144 instead of res_init.
6146 2000-07-16 Ulrich Drepper <drepper@redhat.com>
6148 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
6149 parameters of memset calls to avoid warnings.
6151 2000-07-15 Ulrich Drepper <drepper@redhat.com>
6153 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
6156 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
6157 Patch by Greg McGary <greg@mcgary.org>.
6159 * io/Makefile (tests): Add tst-getcwd.
6160 * io/tst-getcwd.c: New file.
6162 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
6164 2000-07-15 Jakub Jelinek <jakub@redhat.com>
6166 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
6169 2000-07-13 Jakub Jelinek <jakub@redhat.com>
6171 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
6172 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
6174 2000-07-12 H.J. Lu <hjl@gnu.org>
6176 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
6178 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
6179 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
6180 (sysdep-routines): Add clone2.
6181 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
6183 2000-07-13 Jes Sorensen <jes@linuxcare.com>
6185 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
6186 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
6188 2000-06-05 David Mosberger <davidm@hpl.hp.com>
6190 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
6191 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
6192 Change type of si_band from "int" to "long".
6193 (si_imm) [USE_GNU]: Define
6194 (si_isr) [USE_GNU]: Likewise.
6195 (ILL_BREAK) [USE_GNU]: Likewise.
6196 (FPE_DECOVF) [USE_GNU]: Likewise.
6197 (FPE_DECDIV) [USE_GNU]: Likewise.
6198 (FPE_DECERR) [USE_GNU]: Likewise.
6199 (FPE_INVASC) [USE_GNU]: Likewise.
6200 (FPE_INVDEC) [USE_GNU]: Likewise.
6201 (TRAP_BRANCH) [USE_GNU]: Likewise.
6202 (TRAP_HWBKPT) [USE_GNU]: Likewise.
6204 2000-07-06 Jes Sorensen <jes@linuxcare.com>
6206 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
6207 bits/sigcontext as struct mcontext does not depend on it.
6209 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
6211 2000-07-04 Jes Sorensen <jes@linuxcare.com>
6213 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
6215 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
6217 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
6219 2000-06-22 Jes Sorensen <jes@linuxcare.com>
6221 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
6223 2000-07-15 Ulrich Drepper <drepper@redhat.com>
6225 * intl/Makefile (test-srcs): Add tst-translit.
6227 Add rules to build and run tst-translit.
6228 * intl/tst-translit.c: New file.
6229 * intl/tst-translit.sh: New file.
6230 * intl/translit.po: New file.
6232 2000-07-14 Ulrich Drepper <drepper@redhat.com>
6234 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
6235 transliteration function did its job, continue, don't stop.
6237 * iconvdata/iso646.c: Little optimizations in body for conversion
6240 2000-07-14 Mark Kettenis <kettenis@gnu.org>
6242 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
6244 2000-07-14 Mark Kettenis <kettenis@gnu.org>
6246 * configure.in: Check for pwd binary.
6247 * config.make.in: Add PWD_P to be subsituted.
6248 * Makerules: Use $(PWD_P) instead of /bin/pwd.
6250 2000-07-14 Ulrich Drepper <drepper@redhat.com>
6252 * iconvdata/Makefile (modules): Add GB18030.
6253 (distribute): Add gb18030.c.
6254 * iconvdata/gconv-modules: Add entries for GB18030 module.
6255 * iconvdata/gb18030.c: New file.
6256 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
6259 2000-07-13 Andreas Jaeger <aj@suse.de>
6261 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
6264 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
6265 * inet/getnetgrent.c (free_mem): Likewise.
6266 * misc/mntent.c (free_mem): Likewise.
6267 * nss/getXXbyYY.c (free_mem): Likewise.
6268 * nss/getXXent.c (free_mem): Likewise.
6269 * pwd/fgetpwent.c (free_mem): Likewise.
6270 * shadow/fgetspent.c (free_mem): Likewise.
6272 2000-07-14 Ulrich Drepper <drepper@redhat.com>
6274 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
6275 64-bit architecture correctly [PR libc/1794].
6277 2000-07-13 Ulrich Drepper <drepper@redhat.com>
6279 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
6280 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
6281 report that we are out of memory.
6282 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6283 * elf/dl-libc.c (dlerror_run): Likewise.
6284 * elf/dl-open.c (_dl_open): Likewise.
6285 * elf/rtld.c (dl_main): Likewise.
6286 * elf/dl-error.c: Define _dl_out_of_memory.
6287 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
6289 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
6292 * dlfcn/dlerror.c (free_key_mem): Also free error string.
6294 * iconv/loop.c: Fix comment.
6296 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
6298 2000-07-13 Andreas Jaeger <aj@suse.de>
6300 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
6301 getcwd (NULL, size) with size > 0.
6302 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
6304 2000-07-13 Andreas Jaeger <aj@suse.de>
6306 * posix/Makefile: Remove build rules for libposix.
6308 2000-07-13 Andreas Schwab <schwab@suse.de>
6310 * sysdeps/generic/glob.c (glob): Fix memory leak.
6311 [SHELL]: Remove reference to undefined variable `files'.
6314 2000-07-13 Andreas Jaeger <aj@suse.de>
6316 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
6319 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
6320 memory if it was allocated.
6322 2000-07-12 Ulrich Drepper <drepper@redhat.com>
6324 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
6327 * iconv/gconv_open.c (__gconv_open): Reapply
6328 2000-07-12 Bruno Haible <haible@clisp.cons.org>
6330 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
6332 * iconv/gconv_open.c: Undo last two changes for now. They break
6335 2000-07-12 Andreas Jaeger <aj@suse.de>
6337 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
6339 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
6340 (CFLAGS-dl-cache.c): Likewise.
6341 (CFLAGS-ldconfig.c): Added, passes directory locations.
6343 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
6345 * elf/ldconfig.c (LD_SO_CONF): Likewise.
6346 (main): Use configured LIBDIR and SLIBDIR.
6348 2000-07-11 Jakub Jelinek <jakub@redhat.com>
6350 * math/bits/cmathcalls.h (cimag): Add __THROW.
6351 (creal, conj): Likewise.
6352 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
6355 2000-07-12 H.J. Lu <hjl@gnu.org>
6357 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
6358 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
6360 2000-07-12 Ulrich Drepper <drepper@redhat.com>
6362 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
6365 2000-07-12 Bruno Haible <haible@clisp.cons.org>
6367 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
6369 2000-07-12 Bruno Haible <haible@clisp.cons.org>
6371 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
6374 2000-07-12 Bruno Haible <haible@clisp.cons.org>
6376 * iconv/gconv_open.c (__gconv_open): Initialize
6377 result->__steps[cnt].__data.
6379 2000-07-12 Mark Kettenis <kettenis@gnu.org>
6381 * nss/getent.c (services_keys): Pass port number in network byte
6382 order in call to getservbyport.
6384 2000-07-11 Andreas Jaeger <aj@suse.de>
6386 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
6388 * intl/Makefile (do-gettext-test): Likewise.
6389 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
6391 2000-07-11 Andreas Schwab <schwab@suse.de>
6393 * Makeconfig (run-program-prefix): New rule.
6394 (built-program-cmd): Use run-program-prefix.
6396 2000-07-12 Ulrich Drepper <drepper@redhat.com>
6398 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
6399 and NOEXPR unconditionally available.
6401 2000-07-12 Greg McGary <greg@mcgary.org>
6403 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
6404 * sysdeps/posix/open64.c: Likewise.
6405 * sysdeps/generic/fegetenv.c: Likewise.
6406 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
6407 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6408 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6409 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
6410 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
6411 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
6413 2000-07-11 Greg McGary <greg@mcgary.org>
6415 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
6416 Add extra level of macro expansion.
6417 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
6418 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
6419 is available at the time `select' prototype is declared.
6420 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
6421 Collect non-versioned weak aliases. Consider only non-versioned
6422 aliases for the user-visible systemcall name. Do checks inline with
6423 call to primitive system call.
6424 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
6425 stand-alone bounds checks to suppress unused value warnings.
6426 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6428 2000-07-10 Mark Kettenis <kettenis@gnu.org>
6430 * sysdeps/mach/hurd/check_fds.c: New file. Implements
6431 file descriptor checking in SUID programs for the Hurd.
6433 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
6434 res_hostalias instead of __hostalias for thread-safety.
6436 2000-07-09 Mark Kettenis <kettenis@gnu.org>
6438 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
6439 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
6441 2000-07-10 Ulrich Drepper <drepper@redhat.com>
6443 * include/features.h: Include ISO C99 features if the compiler used
6444 is an ISO C99 compiler.
6445 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
6447 2000-07-08 Mark Kettenis <kettenis@gnu.org>
6449 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
6451 2000-07-10 Andreas Jaeger <aj@suse.de>
6453 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
6454 it's overridden by libpthreads.
6455 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6456 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6457 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6458 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6459 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6461 * malloc/Makefile: Run tst-mtrace only with shared libs.
6463 * stdio-common/Makefile: Run unbputc and tst-printf tests only
6466 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
6468 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
6469 that gpreg really points to the GOT section of the calling object.
6470 Scan all PT_LOAD segments of objects for stub_pc, instead of only
6471 checking a start address of first one.
6473 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
6476 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
6478 2000-07-10 Andreas Jaeger <aj@suse.de>
6480 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
6481 (string_alias->strong_alias).
6483 2000-07-08 Mark Kettenis <kettenis@gnu.org>
6485 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
6487 2000-07-07 Greg McGary <greg@mcgary.org>
6489 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
6490 have no names without leading underscores.
6492 2000-07-07 Ulrich Drepper <drepper@redhat.com>
6494 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
6497 * stdio-common/Makefile (tests): Remove tst-printf here...
6498 (tests-srcs): ...and add it here.
6499 (distribute): Add tst-unbputc.sh and tst-printf.sh.
6500 Add rules to run tst-printf.sh.
6501 * stdio-common/tst-printf.c: Move code around so that there is really
6502 no further output where it's stated.
6503 * stdio-common/tst-printf.sh: New file.
6505 2000-07-07 Mark Kettenis <kettenis@gnu.org>
6507 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
6508 (do_write): Renamed from pwrite.
6509 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
6510 `struct _IO_cookie_file'.
6512 2000-07-07 Ulrich Drepper <drepper@redhat.com>
6514 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
6516 * malloc/tst-mtrace.sh: Run mtrace script.
6518 2000-07-07 Greg McGary <greg@mcgary.org>
6520 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
6521 Move all three components of a bounded pointer.
6523 2000-07-07 Ulrich Drepper <drepper@redhat.com>
6525 * locale/programs/locale.c (write_locales): Don't simply add all
6526 directories found in the subdir, test whether at least the
6527 LC_CTYPE file is in there.
6529 2000-07-06 Ulrich Drepper <drepper@redhat.com>
6531 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
6532 * iconvdata/euc-kr.c: Likewise.
6534 * stdio-common/vfprintf.c (process_string_arg): Check result of
6535 wcrtomb call and bail out if it failed.
6537 * malloc/Makefile (test-srcs): Add tst-mtrace.
6538 (distribute): Add tst-mtrace.sh.
6539 Add rule to run tst-mtrace.sh.
6540 * malloc/tst-mtrace.c: New file.
6541 * malloc/tst-mtrace.sh: New file.
6543 * include/signal.h: Declare __libc_sigaction.
6544 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
6545 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
6546 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6547 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6548 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6549 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6550 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6552 * configure.in: Fix CFLAGS-memprofstat.c definition after
6554 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
6556 2000-07-06 Jakub Jelinek <jakub@redhat.com>
6558 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
6559 instead of NULL to elf_machine_fixup_plt t argument.
6560 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6561 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
6564 2000-07-06 Andreas Jaeger <aj@suse.de>
6566 * crypt/Makefile (LDLIBS-cert): Removed.
6567 (LDLIBS-md5c-test): Removed.
6568 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
6569 ($(objpfx)md5c-test): Likewise for md5c-test.out.
6571 2000-07-06 Andreas Jaeger <aj@suse.de>
6573 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
6574 of the proc system is "proc".
6576 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
6577 thread library for static programs.
6579 2000-07-06 Greg McGary <greg@mcgary.org>
6581 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
6583 * sysdeps/generic/strcpy.c: Add bounds checks.
6584 * sysdeps/unix/fxstat.c: Likewise.
6585 * sysdeps/unix/xstat.c: Likewise.
6586 * sysdeps/unix/common/lxstat.c: Likewise.
6587 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
6588 * sysdeps/unix/sysv/linux/execve.c: Likewise.
6589 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
6590 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
6591 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6592 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
6593 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
6594 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
6595 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6596 * sysdeps/unix/sysv/linux/poll.c: Likewise.
6597 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6598 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6599 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
6600 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6601 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6602 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6603 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6604 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6605 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6606 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
6607 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6608 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
6609 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6610 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
6611 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
6612 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
6613 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6614 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
6615 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
6616 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6617 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6618 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
6619 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6620 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6621 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6622 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6623 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6624 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
6625 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6626 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6627 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6628 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6629 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6630 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6631 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
6632 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
6633 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6634 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
6635 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
6636 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
6637 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
6638 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
6639 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6640 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6641 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6642 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6643 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
6644 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
6645 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
6646 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
6647 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6648 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
6649 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
6650 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
6652 * string/endian.h (__LONG_LONG_PAIR): New macro.
6653 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
6654 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6655 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6656 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6657 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6658 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
6659 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
6660 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6661 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6662 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6663 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6664 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
6666 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
6668 2000-07-06 Andreas Jaeger <aj@suse.de>
6670 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
6673 * math/test-fpucw.c: Include <stdio.h> for printf.
6675 2000-07-05 Greg McGary <greg@mcgary.org>
6677 * sysdeps/generic/bp-checks.h: New file.
6678 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
6679 with list of #include files.
6680 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
6681 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
6682 Don't generate BP thunk if `V' appears in signature.
6683 Generate thunks with complete bounds checks.
6684 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
6685 * sysdeps/unix/inet/syscalls.list: Likewise.
6686 * sysdeps/unix/mman/syscalls.list: Likewise.
6687 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6688 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6689 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6690 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
6692 2000-07-05 Ulrich Drepper <drepper@redhat.com>
6694 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
6695 result. Search first in /etc/mtab (proc/mounts would be stupid).
6696 If mount not in the file fall back on /proc.
6698 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
6699 string got copied in.
6700 Patch by Solar Designer <solar@false.com>.
6702 2000-07-05 Andreas Jaeger <aj@suse.de>
6704 * manual/install.texi (Installation): Update information about
6706 (Configuring and compiling): Update for glibc 2.2.
6708 2000-07-04 Andreas Jaeger <aj@suse.de>
6710 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
6711 (_FPU_IEEE): Likewise.
6713 * math/Makefile (tests): Add test-fpucw.
6715 * math/test-fpucw.c (main): New file.
6717 2000-07-05 Ulrich Drepper <drepper@redhat.com>
6719 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
6721 * locale/programs/ld-collate.c (collate_output): Also write out the
6722 collation sequence values and the wide character string for the
6723 collation symbol table.
6725 * posix/fnmatch.c: Include "../locale/elem-hash.h".
6726 * posix/fnmatch_loop.c: Implement collating symbol handling.
6727 * posix/tst-fnmatch.input: Add more tests, especially for collating
6730 * posix/regex.c: Fix comment.
6732 2000-07-05 Andreas Jaeger <aj@suse.de>
6734 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
6735 (_FPU_GETCW): Remove extra colon.
6736 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
6738 * posix/fnmatch_loop.c (FCT): Only declare len if
6739 !WIDE_CHAR_VERSION to silence GCC.
6741 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
6743 * sysdeps/generic/strchrnul.c: Likewise.
6744 * sysdeps/generic/strlen.c: Likewise.
6745 * sysdeps/generic/strchr.c: Likewise.
6746 * sysdeps/generic/memchr.c: Likewise.
6748 2000-07-04 Ulrich Drepper <drepper@redhat.com>
6750 * posix/fnmatch_loop.c: Implement equivalence class handling.
6751 * posix/tst-fnmatch.input: Add tests for equivalence class
6754 * posix/fnmatch_loop.c: Improve performance for single-byte
6755 character sets by not using btowc.
6757 * posix/tst-fnmatch.input: Add tests for locale dependent
6759 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
6761 * posix/tst-fnmatch.input: Add more test cases.
6763 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
6764 are not aligned to alignof(md5_uint32) do it before calling
6765 __md5_process_bytes.
6766 * crypt/md5.c: Make sure buffers are aligned.
6767 * crypt/md5.h: Likewise.
6768 Reported by Solar Designer <solar@false.com>.
6770 * crypt/Makefile: Add dependencies for test programs.
6772 * Rules: Define LC_ALL=C in environments of all programs we run.
6774 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
6776 2000-07-03 H.J. Lu <hjl@gnu.org>
6778 * locale/programs/ld-ctype.c (ctype_output): The size of iov
6779 is 2 + elem + offset, not 2 + elem + offset + 2.
6781 2000-07-04 Ulrich Drepper <drepper@redhat.com>
6783 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
6785 * posix/Makefile (tests): Add tst-fnmatch.
6786 (tst-fnmatch-ENV): Define.
6787 * posix/tst-fnmatch.c: New file.
6788 * posix/tst-fnmatch.sh: New file.
6790 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
6792 * locale/programs/charmap.c (charmap_read): Prepend
6793 the condition filename == NULL.
6795 2000-07-03 Greg McGary <greg@mcgary.org>
6797 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
6799 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
6800 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
6802 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
6803 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
6804 (FILEBUF_LITERAL): Add cast for CHAIN init.
6805 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
6806 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
6807 Revert type of `fp' to _IO_FILE*.
6808 (_IO_iter_file): Remove cast.
6809 (_IO_iter_next): Elide intermediate member reference.
6811 * sysdeps/powerpc/strchr.S: Check bounds.
6812 Wrap extern symbols in BP_SYM ().
6814 2000-07-03 Andreas Jaeger <aj@suse.de>
6816 * dlfcn/Makefile (generated): New.
6818 2000-07-03 Ulrich Drepper <drepper@redhat.com>
6820 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
6821 (__uflow): Likewise.
6822 (__underflow): Likewise.
6823 * libio/wgenops.c (__wunderflow): Likewise.
6824 * stdio-common/tst-unbputc.c: New file.
6825 * stdio-common/tst-unbputc.sh: New file.
6826 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
6828 * po/en_GB.po: New file.
6829 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
6831 2000-07-01 Andreas Jaeger <aj@suse.de>
6833 * intl/Makefile (generated-dirs): New.
6835 * elf/Makefile (generated): trusted-dirs.h is always generated,
6836 move out of build-shared condition.
6837 (generated): Merge the two entries for build-shared.
6839 2000-07-01 Ulrich Drepper <drepper@redhat.com>
6841 * debug/Makefile (distribute): Add xtrace.sh.
6843 2000-06-30 Ulrich Drepper <drepper@redhat.com>
6845 * version.h (VERSION): Bump to 2.1.91.
6847 * configure.in: Update warning comment. glibc should not be
6850 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
6851 ioperm.c, sys/procfs.h, and sys/io.h.
6853 * sysdeps/powerpc/Dist: Add bp-asm.h.
6855 * assert/Depend: Add localedata.
6856 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
6857 (test-assert-perr-ENV): New. Define LANGUAGE=C.
6859 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
6860 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
6861 relocation address to prevent unaligned trap.
6862 Suggested by Richard Henderson <rth@cygnus.com>.
6864 2000-06-30 Jakub Jelinek <jakub@redhat.com>
6866 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
6867 if redirecting and either redirection is done using defines or
6870 2000-06-30 Ulrich Drepper <drepper@redhat.com>
6872 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
6873 generated expressions.
6874 Patch by Darren McClelland <dmcclell@zetec.com>.
6876 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
6877 since zic uses setlocale and gettext but we cannot make it use the
6878 new locale data since zic calls a shell which might not use the
6881 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
6882 handling the internation currency symbol. POSIX says that the
6883 fourth character is used to separate the currency symbol from the
6884 value. Therefore it does not have to be printed. But we cannot
6885 remove the space if the currency symbol is printed before the
6886 number since this is what many locales expect.
6888 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
6889 whether this information is available.
6891 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
6892 buffers in case the translation is too large. Remember allocated
6893 memory blocks in a list.
6894 (free_mem): Free memory for translations.
6896 * intl/tst-gettext.c: Use correct locale. Improve error messages.
6898 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
6899 information is available set the string length to zero.
6901 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
6903 2000-06-30 Greg McGary <greg@mcgary.org>
6905 * sysdeps/powerpc/bp-asm.h: New file.
6906 * sysdeps/powerpc/__longjmp.S: Check bounds.
6907 Wrap extern symbols in BP_SYM ().
6908 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
6909 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
6910 * sysdeps/powerpc/setjmp.S: Likewise.
6911 * sysdeps/powerpc/add_n.S: Likewise.
6912 * sysdeps/powerpc/addmul_1.S: Likewise.
6913 * sysdeps/powerpc/lshift.S: Likewise.
6914 * sysdeps/powerpc/rshift.S: Likewise.
6915 * sysdeps/powerpc/mul_1.S: Likewise.
6916 * sysdeps/powerpc/sub_n.S: Likewise.
6917 * sysdeps/powerpc/submul_1.S: Likewise.
6918 * sysdeps/powerpc/strlen.S: Likewise.
6919 * sysdeps/powerpc/memset.S: Likewise.
6920 * sysdeps/powerpc/stpcpy.S: Likewise.
6921 * sysdeps/powerpc/strcmp.S: Likewise.
6922 * sysdeps/powerpc/strcpy.S: Likewise.
6923 * sysdeps/powerpc/elf/bzero.S: Likewise.
6925 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
6926 Line up operands column with tabs.
6928 2000-06-30 Ulrich Drepper <drepper@redhat.com>
6930 * elf/Makefile (LDFLAGS-origtest): Actually add it.
6932 * sysdeps/ia64/htonl.S: New file.
6933 * sysdeps/ia64/htons.S: New file.
6934 * sysdeps/ia64/memcpy.S: Replace with version which does not use
6935 floating point registers.
6936 Patches by Dan Pop <Dan.Pop@cern.ch>.
6938 2000-06-30 Andreas Jaeger <aj@suse.de>
6940 * posix/Makefile (tests): tst-exec and tst-spawn only work with
6943 * io/Makefile (CFLAGS-test-lfs.c): New.
6944 (tests): Add test-lfs.
6946 * io/test-lfs.c: New file.
6948 2000-06-30 Jakub Jelinek <jakub@redhat.com>
6950 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
6953 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
6955 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
6957 2000-06-29 Jes Sorensen <jes@linuxcare.com>
6959 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
6960 alias to the fstatfs call.
6962 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
6963 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
6965 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
6966 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
6968 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
6969 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
6970 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
6971 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
6973 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
6974 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
6976 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
6977 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
6979 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
6980 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
6982 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
6984 2000-06-29 Andreas Jaeger <aj@suse.de>
6986 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
6988 (print_err_message): Likewise.
6989 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
6991 2000-06-29 Ulrich Drepper <drepper@redhat.com>
6993 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
6994 used as words is properly aligned.
6996 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
6999 2000-06-29 Greg McGary <greg@mcgary.org>
7001 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
7002 * sysdeps/unix/make-syscalls.sh: Handle signatures of
7003 length 7..9, just in case...
7004 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
7006 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
7007 (POP_ERRNO_LOCATION_RETURN): Fold insns.
7008 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
7009 (PUSH_SIGNAL_MASK): New macro.
7010 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
7011 LEAVE is unnecessary. Check bounds of jmp_buf.
7012 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
7013 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
7014 immediately before tail-call.
7015 * sysdeps/i386/setjmp.S: Likewise.
7016 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7017 * sysdeps/i386/bsd-setjmp.S: Likewise.
7019 2000-06-29 Jakub Jelinek <jakub@redhat.com>
7021 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
7023 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
7024 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
7025 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
7026 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7027 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
7028 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
7029 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
7030 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
7032 2000-06-29 Ulrich Drepper <drepper@redhat.com>
7034 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
7035 we later need to calling free().
7036 Patch by Matt Wilson <msw@redhat.com>.
7038 * stdio-common/tst-printf.c: Add test for above problem.
7040 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
7042 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
7043 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
7045 2000-06-28 Jes Sorensen <jes@linuxcare.com>
7047 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
7048 prototype for abs().
7049 * sysdeps/ieee754/flt-32/s_exp2f.c: Likewise.
7051 2000-06-23 Andreas Jaeger <aj@suse.de>
7053 * config.h.in: Don't use regparm with bounded pointers.
7055 2000-06-29 Ulrich Drepper <drepper@redhat.com>
7057 * stdlib/grouping.h: Correctly handle multibyte thousands
7058 separator and decimal point.
7059 * stdlib/stdtod.c: Likewise.
7060 * sysdeps/generic/strtol.c: Likewise.
7062 * locale/categories.def: Add entries for wide character decimal point
7063 and thousands separator in numeric and monetary category.
7065 2000-06-28 Ulrich Drepper <drepper@redhat.com>
7067 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
7068 second definition and initialization of decimal.
7070 2000-06-28 Greg McGary <greg@mcgary.org>
7072 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
7074 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
7075 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
7077 (_IO_JUMPS): Don't cast THIS--expect arg to be a
7078 (struct _IO_FILE_plus *).
7079 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
7080 THIS, since _IO_JUMPS no longer does it implicitly.
7081 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
7082 arg type as (struct _IO_FILE_plus *).
7083 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
7084 arg as (_IO_strfile *).
7085 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
7086 Declare 1st arg as (_IO_strfile *).
7087 * libio/fileops.c (_IO_new_file_init): Declare
7088 arg type as (struct _IO_FILE_plus *).
7089 * libio/oldfileops.c (_IO_old_file_init): Likewise.
7090 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
7091 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
7092 Declare iteration pointer as (struct _IO_FILE_plus *).
7093 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
7094 (struct _IO_FILE_plus *).
7095 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
7096 * libio/oldstdfiles.c (_IO_list_all): Likewise.
7097 (_IO_check_libio): Set user-visible handles to
7098 (struct _IO_FILE_plus *).
7099 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
7100 to (struct _IO_FILE_plus *).
7102 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
7103 whose high bound includes vtable to all functions that will use
7104 vtable. For streambufs, pass pointer whose bounds include struct
7106 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
7107 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7108 * libio/iofopen.c (_IO_new_fopen): Likewise.
7109 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7110 * libio/iofopen64.c (_IO_fopen64): Likewise.
7111 * libio/iopopen.c (_IO_new_popen): Likewise.
7112 * libio/oldiopopen.c (_IO_old_popen): Likewise.
7113 * libio/memstream.c (open_memstream): Likewise.
7114 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
7115 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
7116 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
7117 * libio/iofopncook.c (_IO_cookie_init): Likewise.
7118 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
7119 * libio/vasprintf.c (_IO_vasprintf): Likewise.
7120 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
7121 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
7122 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
7123 * stdlib/strfmon.c (__strfmon_l): Likewise.
7124 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
7125 (vfprintf): Qualify computed-goto targets as unbounded.
7127 2000-06-28 Ulrich Drepper <drepper@redhat.com>
7129 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
7130 thousands separator correctly.
7132 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
7133 * stdio-common/vfwscanf.c: Likewise.
7135 2000-06-27 Jes Sorensen <jes@linuxcare.com>
7137 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
7138 count into signatures for most calls.
7140 2000-06-28 Ulrich Drepper <drepper@redhat.com>
7142 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
7143 the generic parser now.
7145 2000-06-28 Jes Sorensen <jes@linuxcare.com>
7147 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
7148 table entries are 32 bit on the ia64 (as specified by the ABI),
7149 not 64 bit as on the Alpha.
7151 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
7152 change of objects to use 32 bit hash table indices (see above).
7154 2000-06-28 Jes Sorensen <jes@linuxcare.com>
7156 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
7157 prototype for abs().
7159 2000-06-28 Wolfram Gloger <wg@malloc.de>
7161 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
7162 fails, try mmap_chunk() as a last resort even though n_mmaps_max
7163 may have been reached.
7165 2000-06-28 Ulrich Drepper <drepper@redhat.com>
7167 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
7168 symbols in multi-character weights correctly.
7170 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
7171 depending on whether the input string is empty or not.
7173 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
7174 given state and not avoiding this by modifying a local object.
7175 * wcsmbs/wcrtomb.c: Likewise.
7177 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
7178 object since some incomplete characters might be in there.
7180 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
7181 sequences with first byte 0x8e correctly.
7183 * iconvdata/jis0208.h: Remove redundant test.
7185 2000-06-27 Ulrich Drepper <drepper@redhat.com>
7187 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
7188 Add it where it is needed now.
7190 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
7191 the input charset into account when generating the hash table.
7192 (allocate_arrays): Correct setting default width. Not all empty slots
7193 in the table are filled, only those not covert explicitly by the
7194 locale description and in the charset.
7196 * wctype/towctrans.c (__towctrans): Be graceful and accept error
7197 return values from the wctrans function.
7199 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
7200 wide character version.
7201 For %C handling, test correct pointer variable for NULL.
7203 * wcsmbs/wctob.c: Handle WEOF special.
7205 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
7207 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
7208 always-true test to avoid warning.
7210 2000-06-27 Greg McGary <greg@mcgary.org>
7212 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
7213 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
7214 (symbol_version, default_symbol_version): Factor redundant
7215 definitions out of conditional.
7217 2000-06-27 Jakub Jelinek <jakub@redhat.com>
7219 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
7222 2000-06-26 Ulrich Drepper <drepper@redhat.com>
7224 * include/libc-symbols.h (symbol_version): Add extra level of
7226 (default_symbol_version): Likewise.
7228 2000-06-26 Greg McGary <greg@mcgary.org>
7230 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
7231 for BP return value & push implicit struct-return pointer to
7233 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7234 (SYSCALL_ERROR_HANDLER): Likewise.
7235 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
7236 (SYSCALL_ERROR_HANDLER): Likewise.
7238 * Makeconfig: Add missing comment.
7239 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
7240 BP-flavored startup object.
7241 ($(objpfx)b$(start-installed-name)): New rule.
7242 * include/libc-symbols.h (symbol_set_declare): Change type
7243 of `__start_##set' and `__stop_##set' to pointer-to-function.
7244 (symbol_set_declare): Change type of `set' to array of
7245 pointer-to-function.
7246 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
7247 pointer-to-function.
7249 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
7251 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
7252 Remove clock_* and timer_* entries.
7253 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
7254 arg-count with signatures.
7256 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
7257 Check bounds of arguments.
7258 * sysdeps/i386/addmul_1.S: Likewise.
7259 * sysdeps/i386/lshift.S: Likewise.
7260 * sysdeps/i386/mul_1.S: Likewise.
7261 * sysdeps/i386/rshift.S: Likewise.
7262 * sysdeps/i386/sub_n.S: Likewise.
7263 * sysdeps/i386/submul_1.S: Likewise.
7264 * sysdeps/i386/i586/add_n.S: Likewise.
7265 * sysdeps/i386/i586/addmul_1.S: Likewise.
7266 * sysdeps/i386/i586/lshift.S: Likewise.
7267 * sysdeps/i386/i586/rshift.S: Likewise.
7268 * sysdeps/i386/i586/sub_n.S: Likewise.
7269 * sysdeps/i386/i686/add_n.S: Likewise.
7271 * sysdeps/i386/memchr.S: Likewise.
7272 * sysdeps/i386/memcmp.S: Likewise.
7273 * sysdeps/i386/rawmemchr.S: Likewise.
7274 * sysdeps/i386/i586/bzero.S: Likewise.
7275 * sysdeps/i386/i586/memcpy.S: Likewise.
7276 * sysdeps/i386/i586/mempcpy.S: Likewise.
7277 * sysdeps/i386/i586/memset.S: Likewise.
7278 * sysdeps/i386/i686/bzero.S: Likewise.
7279 * sysdeps/i386/i686/memcpy.S: Likewise.
7280 * sysdeps/i386/i686/mempcpy.S: Likewise.
7281 * sysdeps/i386/i686/memset.S: Likewise.
7283 * sysdeps/i386/stpcpy.S: Likewise.
7284 * sysdeps/i386/stpncpy.S: Likewise.
7285 * sysdeps/i386/strchr.S: Likewise.
7286 * sysdeps/i386/strchrnul.S: Likewise.
7287 * sysdeps/i386/strcspn.S: Likewise.
7288 * sysdeps/i386/strpbrk.S: Likewise.
7289 * sysdeps/i386/strrchr.S: Likewise.
7290 * sysdeps/i386/strspn.S: Likewise.
7291 * sysdeps/i386/strtok.S: Likewise.
7292 * sysdeps/i386/strtok_r.S: Likewise.
7293 * sysdeps/i386/i486/strcat.S: Likewise.
7294 * sysdeps/i386/i486/strlen.S: Likewise.
7295 * sysdeps/i386/i586/strchr.S: Likewise.
7296 * sysdeps/i386/i586/strcpy.S: Likewise.
7297 * sysdeps/i386/i586/strlen.S: Likewise.
7298 * sysdeps/i386/i686/strcmp.S: Likewise.
7299 * sysdeps/i386/i686/strtok.S: Likewise.
7300 * sysdeps/i386/i686/strtok_r.S: Likewise.
7302 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
7303 * sysdeps/i386/fpu/fesetenv.c: Likewise.
7304 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
7305 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
7306 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
7308 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
7309 * sysdeps/i386/mul_1.S: Likewise.
7310 * sysdeps/i386/submul_1.S: Likewise.
7311 * sysdeps/i386/i586/add_n.S: Likewise.
7312 * sysdeps/i386/i586/addmul_1.S: Likewise.
7313 * sysdeps/i386/i586/lshift.S: Likewise.
7314 * sysdeps/i386/i586/mul_1.S: Likewise.
7315 * sysdeps/i386/i586/rshift.S: Likewise.
7316 * sysdeps/i386/i586/sub_n.S: Likewise.
7317 * sysdeps/i386/i586/submul_1.S: Likewise.
7319 2000-06-26 Ulrich Drepper <drepper@redhat.com>
7321 * rt/Makefile (librt-routines): Add clock_nanosleep.
7322 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
7323 * sysdeps/generic/clock_nanosleep.c: New file.
7324 * sysdeps/unix/clock_nanosleep.c: New file.
7325 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
7326 * time/time.h: Declare clock_nanosleep.
7328 2000-06-26 Greg McGary <greg@mcgary.org>
7330 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
7331 INSN1, INSN2, TEXT, GLOBL): Remove macros.
7332 (ALIGN): Cleanup surrounding conditionals.
7334 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
7335 Call ENTER/LEAVE macros.
7336 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
7337 * sysdeps/i386/submul_1.S: Likewise.
7339 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
7340 syntax. Define & use symbolic argument stack offsets. Call
7342 * sysdeps/i386/i586/mul_1.S: Likewise.
7343 * sysdeps/i386/i586/submul_1.S: Likewise.
7345 2000-06-25 Greg McGary <greg@mcgary.org>
7347 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
7350 2000-06-25 Ulrich Drepper <drepper@redhat.com>
7352 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
7353 * iconvdata/gen-8bit-gap.sh: Likewise.
7354 * iconvdata/gen-8bit.sh: Likewise.
7356 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
7358 * locale/programs/ld-collate.c (collate_read): Don't actually read
7359 the copy locale if we are ignoring the content.
7361 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
7364 * locale/programs/ld-collate.c: Correct handling of different
7366 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
7367 as extra parameter from which to copy category information.
7369 (load_locale): Likewise.
7370 * locale/programs/localedef.h: Update prototypes of add_to_readlist
7372 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
7373 * locale/programs/locfile.h: Likewise.
7374 * locale/programs/locfile-kw.gperf: Add entry for script.
7375 * locale/programs/locfile-token.h: Add tok_script.
7377 * locale/programs/locale.c: Update copyright year.
7378 * locale/programs/localedef.c: Likewise.
7380 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
7382 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
7383 Jens Moeller <jens.moeller@waii.com>.
7385 2000-06-24 Ulrich Drepper <drepper@redhat.com>
7387 * locale/programs/ld-name.c (name_finish): Add missing format
7388 specifier to test for name_fmt.
7390 * locale/programs/ld-address.c (iso639): Correct length of string
7392 (iso3166): Likewise.
7394 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
7396 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
7399 * elf/elf.h (NT_PRFPXREG): Define.
7401 2000-06-23 Ulrich Drepper <drepper@redhat.com>
7403 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
7404 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
7406 2000-06-23 Andreas Schwab <schwab@suse.de>
7408 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
7411 2000-06-23 Andreas Jaeger <aj@suse.de>
7413 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
7415 * io/test-stat.c: Add copyright header, mention Maciej.
7417 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
7418 SYS_mincore, SYS_madvise): Added.
7420 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
7423 2000-06-22 Ulrich Drepper <drepper@redhat.com>
7425 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
7426 (CFLAGS-tst_putwc.c): New definition.
7427 * libio/tst_getwc.c: New file.
7428 * libio/tst_getwc.input: New file.
7429 * libio/tst_putwc.c: New file.
7431 * include/string.h: Add prototype for __strdup.
7433 2000-06-22 Greg McGary <greg@mcgary.org>
7435 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
7436 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
7439 2000-06-23 Jes Sorensen <jes@linuxcare.com>
7441 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
7443 2000-06-22 Jes Sorensen <jes@linuxcare.com>
7445 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
7447 2000-06-22 Jes Sorensen <jes@linuxcare.com>
7449 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
7450 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
7452 2000-06-22 Ulrich Drepper <drepper@redhat.com>
7454 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
7455 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
7457 * sysdeps/mach/hurd/bits/stat.h: Likewise.
7458 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7459 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
7460 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7461 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
7462 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
7463 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
7464 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
7465 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7466 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
7467 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
7468 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
7469 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
7470 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
7473 2000-06-22 Andreas Jaeger <aj@suse.de>
7475 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
7478 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
7480 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
7482 2000-06-21 Ulrich Drepper <drepper@redhat.com>
7484 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
7487 2000-06-21 Greg McGary <greg@mcgary.org>
7489 * Makerules (elide-routines.*, elide-bp-thunks):
7490 Define unconditionally.
7492 2000-06-21 Jes Sorensen <jes@linuxcare.com>
7494 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
7496 2000-06-21 Andreas Jaeger <aj@suse.de>
7498 * io/Makefile (tests): Add test-stat.
7499 (CFLAGS-test-stat.c): New.
7501 * io/test-stat.c: New file from Maciej W. Rozycki
7502 <macro@ds2.pg.gda.pl>.
7504 2000-06-21 Jes Sorensen <jes@linuxcare.com>
7506 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
7507 in __rlimit_resource to make them match the kernel order.
7508 rlim_t is always 64 bit, use __rlim64_t to declare it
7511 2000-05-04 Jes Sorensen <jes@linuxcare.com>
7513 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
7514 RLIM_INFINITY before defining it to avoid clash with kernel header
7516 2000-05-03 Jes Sorensen <jes@linuxcare.com>
7518 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
7520 2000-06-21 Ulrich Drepper <drepper@redhat.com>
7522 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
7524 2000-06-21 Andreas Jaeger <aj@suse.de>
7526 * stdio-common/temptest.c: Include <stdlib.h>.
7527 * stdio-common/tst-fileno.c: Likewise.
7528 * stdio-common/scanf4.c: Likewise.
7529 * stdio-common/scanf5.c: Likewise.
7530 * time/clocktest.c: Likewise.
7531 * posix/test-vfork.c: Likewise.
7532 * posix/globtest.c: Likewise.
7533 * io/test-utime.c: Likewise.
7534 * wctype/test_wcfuncs.c: Likewise.
7535 * crypt/cert.c: Likewise.
7537 * stdio-common/tst-printfsz.c: Include <string.h>.
7538 * libio/tst_swscanf.c: Likewise.
7539 * libio/tst_wscanf.c: Likewise.
7540 * posix/runtests.c: Likewise.
7541 * posix/tst-getaddrinfo.c: Likewise.
7542 * posix/wordexp-test.c: Likewise.
7543 * misc/tst-efgcvt.c: Likewise.
7545 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
7546 * nss/test-netdb.c: Likewise.
7548 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
7549 supported kernel for MIPS.
7551 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
7552 * rt/aio_suspend.c: Likewise.
7554 2000-06-20 Ulrich Drepper <drepper@redhat.com>
7556 * math/libm-test.inc: Include <string.h>.
7558 2000-06-20 Jes Sorensen <jes@linuxcare.com>
7560 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
7562 2000-06-20 Jes Sorensen <jes@linuxcare.com>
7564 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
7565 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
7567 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
7569 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
7571 2000-06-20 Jes Sorensen <jes@linuxcare.com>
7573 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
7575 2000-06-20 Ulrich Drepper <drepper@redhat.com>
7577 * locale/programs/ld-collate.c (insert_value): Now take string and
7578 length instead of struct token* parameter. Adjust use of token.
7579 (handle_ellipsis): Likewise.
7580 (collate_read): Allow <Uxxxx> names and transform them into names
7581 to be passed to insert_value and handle_ellipsis.
7583 * locale/programs/ld-ctype.c (uninames): New array with names of
7584 digits in <Uxxxxxxxx> format.
7585 (ctype_finish): Correct search for space character value. Likewise
7586 for default outdigits values.
7588 2000-06-20 Greg McGary <greg@mcgary.org>
7590 * Makerules (objects): Add BP thunks.
7592 2000-06-20 Ulrich Drepper <drepper@redhat.com>
7594 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
7595 in width definitions.
7597 2000-06-20 Andreas Jaeger <aj@suse.de>
7599 * sysdeps/mips/fpu/libm-test-ulps: New file.
7601 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
7604 * sysdeps/mips/fpu/feholdexcpt.c: New file.
7606 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
7608 2000-06-19 Ulrich Drepper <drepper@redhat.com>
7610 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
7611 change in gconv_builtin.h.
7613 * malloc/Makefile: Change all references to memprof into memusage.
7614 * malloc/memprof.c: Rename to...
7615 * malloc/memusage.c: ...this. New file.
7616 * malloc/memprof.sh: Rename to...
7617 * malloc/memusage.sh: ...this. New file.
7618 * malloc/memprofstat.c: Rename to...
7619 * malloc/memusagestat.c: ...this. New file.
7620 * sysdeps/alpha/memprof.h: Rename to..
7621 * sysdeps/alpha/memusage.h: ...this. New file.
7622 * sysdeps/arm/memprof.h: Rename to..
7623 * sysdeps/arm/memusage.h: ...this. New file.
7624 * sysdeps/generic/memprof.h: Rename to..
7625 * sysdeps/generic/memusage.h: ...this. New file.
7626 * sysdeps/i386/memprof.h: Rename to..
7627 * sysdeps/i386/memusage.h: ...this. New file.
7628 * sysdeps/ia64/memprof.h: Rename to..
7629 * sysdeps/ia64/memusage.h: ...this. New file.
7630 * sysdeps/m68k/memprof.h: Rename to..
7631 * sysdeps/m68k/memusage.h: ...this. New file.
7632 * sysdeps/mips/memprof.h: Rename to..
7633 * sysdeps/mips/memusage.h: ...this. New file.
7634 * sysdeps/powerpc/memprof.h: Rename to..
7635 * sysdeps/powerpc/memusage.h: ...this. New file.
7636 * sysdeps/sparc/memprof.h: Rename to..
7637 * sysdeps/sparc/memusage.h: ...this. New file.
7638 * sysdeps/sh/memprof.h: Rename to..
7639 * sysdeps/sh/memusage.h: ...this. New file.
7641 * elf/sprof.c (print_version): Update year.
7643 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
7644 table entry values. Use D_PTR.
7645 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
7646 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
7648 2000-06-20 Jes Sorensen <jes@linuxcare.com>
7650 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
7651 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
7652 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
7653 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
7655 2000-05-05 Jes Sorensen <jes@linuxcare.com>
7657 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
7659 2000-06-16 Jes Sorensen <jes@linuxcare.com>
7661 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
7662 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
7663 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
7665 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
7667 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
7670 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
7671 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
7673 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
7676 2000-06-15 Jes Sorensen <jes@linuxcare.com>
7678 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
7680 2000-06-08 Jes Sorensen <jes@linuxcare.com>
7682 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
7684 2000-06-19 Ulrich Drepper <drepper@redhat.com>
7686 * iconv/gconv_int.h (strict gconv_module): Remove all members
7687 associated with regular expressions. Use a simple string as the
7689 * iconv/gconv_db.c: Remove code handling regular expressions.
7690 * iconv/gconv_conf.c: Likewise.
7691 * iconv/iconv_prog.c: Likewise.
7692 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
7694 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
7695 General namespace cleanup.
7696 (struct __gconv_trans_data): Add next field.
7697 (struct __gconv_step_data): Make __trans a pointer.
7698 * iconv/gconv_conf.c: Split out code to find gconv directories from
7699 __gconv_read_conf in new functions.
7700 * iconv/gconv_int.h: Define new data structure and declare new
7701 functions for handling of gconv directory list.
7702 * iconv/gconv_open.c: Allow more than one error handling step being
7703 used. Call function to load error handling module if it is none
7704 of the builtin transformations.
7705 * iconv/gconv_close.c: Add code to free transliteration data.
7706 * iconv/gconv_trans.c: Add functions to load and unload modules
7707 implementing transliteration etc.
7708 * iconv/skeleton.c: Call all context functions now that more than
7709 one module is allowed.
7710 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
7711 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
7712 where the full error handling using transliteration is needed.
7713 * iconvdata/8bit-gap.c: Likewise.
7714 * iconvdata/8bit-generic.c: Likewise.
7715 * iconvdata/ansi_x3.110.c: Likewise.
7716 * iconvdata/big5.c: Likewise.
7717 * iconvdata/big5hkscs.c: Likewise.
7718 * iconvdata/euc-cn.c: Likewise.
7719 * iconvdata/euc-jp.c: Likewise.
7720 * iconvdata/euc-kr.c: Likewise.
7721 * iconvdata/euc-tw.c: Likewise.
7722 * iconvdata/gbgbk.c: Likewise.
7723 * iconvdata/gbk.c: Likewise.
7724 * iconvdata/iso-2022-cn.c: Likewise.
7725 * iconvdata/iso-2022-jp.c: Likewise.
7726 * iconvdata/iso-2022-kr.c: Likewise.
7727 * iconvdata/iso646.c: Likewise.
7728 * iconvdata/iso8859-1.c: Likewise.
7729 * iconvdata/iso_6937-2.c: Likewise.
7730 * iconvdata/iso_6937.c: Likewise.
7731 * iconvdata/johab.c: Likewise.
7732 * iconvdata/sjis.c: Likewise.
7733 * iconvdata/t.61.c: Likewise.
7734 * iconvdata/uhc.c: Likewise.
7735 * iconvdata/unicode.c: Likewise.
7736 * iconvdata/utf-16.c: Likewise.
7737 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
7738 structure correctly after last change.
7739 * wcsmbs/btowc.c: Likewise.
7740 * wcsmbs/mbrtowc.c: Likewise.
7741 * wcsmbs/mbsnrtowcs.c: Likewise.
7742 * wcsmbs/mbsrtowcs.c: Likewise.
7743 * wcsmbs/wcrtomb.c: Likewise.
7744 * wcsmbs/wcsnrtombs.c: Likewise.
7745 * wcsmbs/wcsrtombs.c: Likewise.
7746 * wcsmbs/wctob.c: Likewise.
7748 * localedata/Makefile: Set -Wno-format for some files since gcc does
7749 not know all the format specifiers.
7751 2000-06-18 Ulrich Drepper <drepper@redhat.com>
7753 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
7755 * locale/lc-time.c (_nl_init_era_entries): Likewise.
7757 2000-06-18 Andreas Jaeger <aj@suse.de>
7759 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
7760 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
7762 2000-06-17 Ulrich Drepper <drepper@redhat.com>
7764 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
7766 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
7768 * locale/programs/ld-ctype.c (ctype_output): Really write out
7769 mboutdigits information.
7770 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
7771 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
7772 * localedata/tests/trans.def: Add outdigit information.
7774 * localedata/tst-mbswcs3.c: Remove comment.
7776 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
7777 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
7778 * libio/tst_wprintf.c (main): Add test for I flag.
7780 * iconv/gconv_trans.c: Implement handling if translit_ignore.
7781 * locale/langinfo.h: Add entries for translit_ignore information.
7782 * locale/categories.def: Add entries for new LC_CTYPE elements.
7783 * locale/C-ctype.c: Add initializers for new fields. Use NULL
7784 pointer instead of "" where possible.
7785 * locale/programs/ld-ctype.c: Write out translit_ignore information.
7786 * intl/Depend: Add localedata.
7787 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
7788 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
7790 2000-06-16 Ulrich Drepper <drepper@redhat.com>
7792 * locale/langinfo.h: Add entries for default_missing information.
7793 * locale/C-ctype.c: Add initializers for new fields.
7794 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
7796 * locale/categories.h: Add entries for all LC_CTYPE values.
7797 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
7800 * localedata/tst-trans.c: Write out an error message if class is
7803 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
7804 * iconv/gconv_open.c: Remove error handling specification from `from'
7806 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
7807 new parameter to always enable transliteration.
7808 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
7810 (struct locale_data): Add new members use_translit and options.
7811 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
7812 character set name contained modifier TRANSLIT.
7813 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
7815 (_nl_unload_locale): Free options string if necessary.
7816 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
7817 the locale names suggested this.
7818 * locale/C-address.c: Add two new initialilzers to adjust data
7819 structure for new format.
7820 * locale/C-collate.c: Likewise.
7821 * locale/C-ctype.c: Likewise.
7822 * locale/C-identification.c: Likewise.
7823 * locale/C-measurement.c: Likewise.
7824 * locale/C-messages.c: Likewise.
7825 * locale/C-monetary.c: Likewise.
7826 * locale/C-name.c: Likewise.
7827 * locale/C-numeric.c: Likewise.
7828 * locale/C-paper.c: Likewise.
7829 * locale/C-telephone.c: Likewise.
7830 * locale/C-time.c: Likewise.
7832 * locale/setlocale.c: Add some more __builtin_expect.
7834 2000-06-15 Ulrich Drepper <drepper@redhat.com>
7836 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
7838 (__gconv_init_fct): Remove two parameters.
7839 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
7840 gconv_transliterate. Remove two parameters.
7841 Change prototypes of builtin functions according to __gconv_fct change.
7842 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
7843 != NULL only during error handling. Stop in this case after the
7845 * iconv/gconv_trans.c: Replace with real implementation for
7846 __gconv_transliterate.
7847 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
7848 * iconv/gconv.c: Change calls to downstream functions once again.
7849 Use NULL for the fifth parameter instead of pointer to output buffer.
7850 * libio/iofwide.c: Likewise.
7851 * wcsmbs/btowc.c: Likewise.
7852 * wcsmbs/mbrtowc.c: Likewise.
7853 * wcsmbs/mbsnrtowcs.c: Likewise.
7854 * wcsmbs/mbsrtowcs.c: Likewise.
7855 * wcsmbs/wcrtomb.c: Likewise.
7856 * wcsmbs/wcsnrtombs.c: Likewise.
7857 * wcsmbs/wcsrtombs.c: Likewise.
7858 * wcsmbs/wctob.c: Likewise.
7859 * iconv/gconv_simple.c: Remove two parameters from error handling
7861 * iconvdata/8bit-gap.c: Likewise.
7862 * iconvdata/8bit-generic.c: Likewise.
7863 * iconvdata/ansi_x3.110.c: Likewise.
7864 * iconvdata/big5.c: Likewise.
7865 * iconvdata/big5hkscs.c: Likewise.
7866 * iconvdata/euc-cn.c: Likewise.
7867 * iconvdata/euc-jp.c: Likewise.
7868 * iconvdata/euc-kr.c: Likewise.
7869 * iconvdata/euc-tw.c: Likewise.
7870 * iconvdata/gbgbk.c: Likewise.
7871 * iconvdata/gbk.c: Likewise.
7872 * iconvdata/iso-2022-cn.c: Likewise.
7873 * iconvdata/iso-2022-jp.c: Likewise.
7874 * iconvdata/iso-2022-kr.c: Likewise.
7875 * iconvdata/iso646.c: Likewise.
7876 * iconvdata/iso8859-1.c: Likewise.
7877 * iconvdata/iso_6937-2.c: Likewise.
7878 * iconvdata/iso_6937.c: Likewise.
7879 * iconvdata/johab.c: Likewise.
7880 * iconvdata/sjis.c: Likewise.
7881 * iconvdata/t.61.c: Likewise.
7882 * iconvdata/uhc.c: Likewise.
7883 * iconvdata/unicode.c: Likewise.
7884 * iconvdata/utf-16.c: Likewise.
7886 2000-06-15 Greg McGary <greg@mcgary.org>
7888 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
7889 of callnum assignment. Tolerate callnum expressions containing
7892 2000-06-14 Ulrich Drepper <drepper@redhat.com>
7894 * login/Makefile (utmpd): Remove rule to build utmpd.
7896 * csu/Versions: Move libgcc frame handling functions from here...
7897 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
7898 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
7899 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
7900 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
7901 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
7902 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
7904 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
7906 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
7908 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
7910 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
7912 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
7914 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
7915 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
7916 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
7917 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
7919 2000-06-14 Jakub Jelinek <jakub@redhat.com>
7921 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
7922 defined, terminate quotes and read them after the comment char.
7923 * configure.in (HAVE_SECTION_QUOTES): Test whether
7924 __attribute__((section ("x"))) puts quotes around x or not.
7925 * config.h.in (HAVE_SECTION_QUOTES): Add.
7926 * configure: Rebuilt.
7928 2000-06-14 Andreas Jaeger <aj@suse.de>
7930 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
7931 depending on the configure option --sysconfdir.
7932 Closes PR libc/1762.
7933 Patch by Andreas Schwab <schwab@suse.de>.
7935 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
7937 Reported by Jim Pick <jim@jimpick.com>.
7939 2000-06-14 Ulrich Drepper <drepper@redhat.com>
7941 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
7942 crashing the application. Emit some simple error message.
7943 Reported by mju@panasas.com [PR libc/1769].
7945 2000-06-13 Ulrich Drepper <drepper@redhat.com>
7947 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
7949 * crypt/Makefile (distribute): Add md5.h.
7951 * Makefile (distribute): Add include/shlib-compat.h.
7953 * Make-dist: Search for tests also in sysdeps hierachy.
7955 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
7956 ufc.c, speeds.c, README.ufc-crypt, and Banner.
7958 * sysdeps/sparc/Subdirs: New file.
7960 * locale/Makefile (distribute): Add weightwc.h and
7961 programs/localedef.h.
7963 * time/Makefile (distribute): Add datemsk.
7965 * sysdeps/ia64/Dist: Add softpipe.h.
7967 * sysdeps/unix/sysv/aix/Dist: New file.
7969 * posix/setpgrp.c: Moved to...
7970 * sysdeps/generic/setpgrp.c: ...here. New file.
7971 * io/mknod.c: Moved to...
7972 * sysdeps/generic/mknod.c: ...here. New file.
7974 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
7976 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
7978 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
7980 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
7981 gprsave0.S, gprrest1.S, and gprrest0.S.
7983 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
7985 * posix/Makefile (routines): Add spawnattr_getsigmask,
7986 spawnattr_getschedpolicy, spawnattr_getschedparam,
7987 spawnattr_setsigmask, spawnattr_setschedpolicy, and
7988 spawnattr_setschedparam.
7989 * posix/Versions: Add posix_spawnattr_getschedpolicy,
7990 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
7991 posix_spawnattr_setschedparam.
7993 * posix/spawnattr_setschedparam.c: Fix typo.
7995 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
7998 * login/programs/utmpd.c: Removed.
7999 * login/programs/utmpd.h: Removed.
8000 * login/programs/utmpd-private.h: Removed.
8002 * Makefile (distribute): Add include/db_185.h and include/db.h.
8004 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
8007 * elf/Makefile (distribute): Add missing files.
8009 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
8010 * elf/eval.c: Moved to...
8011 * dlfcn/eval.c: ...here. New file.
8013 * Makefile (distribute): Also distribute ChangeLog.1?.
8015 * Make-dist (+tsrcs): Remove .args handling here as well.
8017 * rt/Makefile (tests): Add tst-timer.
8018 * sysdeps/generic/tst-timer.c: New file.
8020 * Makerules (sources): Don't add BP sources here.
8022 * login/Makefile (distribute): Remove xtmp.h.
8024 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
8025 is true. Reported by Bruno Haible <haible@ilog.fr>.
8027 2000-06-13 Andreas Jaeger <aj@suse.de>
8029 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
8030 Patch by Ralf Baechle <ralf@gnu.org>.
8032 2000-06-13 Ulrich Drepper <drepper@redhat.com>
8034 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
8035 for mincore syscall.
8037 * misc/sys/cdefs.h: Define __bounded and __unbounded if
8038 __BOUNDED_POINTERS__ is not defined.
8040 2000-06-07 Greg McGary <greg@mcgary.org>
8042 * sysdeps/generic/bp-sym.h: New file.
8043 * sysdeps/generic/bp-start.h: New file.
8044 * sysdeps/i386/elf/start.S: Designate BP symbols.
8045 * sysdeps/generic/libc-start.c: Wrap bounds around
8046 argv & envp and each of their string members.
8048 2000-06-07 Greg McGary <greg@mcgary.org>
8050 * sysdeps/unix/make-syscalls.sh: Add comments to
8051 output that aid debugging & comprehension.
8052 Map simple syscall signatures to number of args.
8053 Generate BP syscall thunk definitions.
8054 * sysdeps/generic/bp-thunks.h: New file.
8055 * sysdeps/unix/syscalls.list: Replace arg-count with
8056 simple return+arg signature.
8057 * sysdeps/unix/common/syscalls.list: Likewise.
8058 * sysdeps/unix/inet/syscalls.list: Likewise.
8059 * sysdeps/unix/mman/syscalls.list: Likewise.
8060 * sysdeps/unix/sysv/syscalls.list: Likewise.
8061 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8062 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8064 2000-06-07 Greg McGary <greg@mcgary.org>
8066 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
8067 for all files *.[cS].
8068 (CFLAGS-.ob): Don't optimize sibling calls.
8069 (bppfx): New variable.
8070 * Makerules (elide-bp-thunks): New variable.
8071 (elide-routines.*): Elide BP-* files for all but *.ob.
8072 (sources): Include bp-thunks.
8074 2000-06-12 Ulrich Drepper <drepper@redhat.com>
8076 * iconv/gconv_simple.c: Remove unnecessary prototype.
8078 * iconv/gconv_trans.c: Pretty print.
8080 * elf/elf.h (R_SH_NUM): Got accidently dropped.
8082 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
8083 minimal kernel versions. Add information about IA-64 kernel.
8085 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
8086 specific minimal supported kernel versions to be specified.
8088 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
8089 step data structure.
8090 * wcsmbs/btowc.c: Likewise.
8091 * wcsmbs/mbrtowc.c: Likewise.
8092 * wcsmbs/mbsnrtowcs.c: Likewise.
8093 * wcsmbs/mbsrtowcs.c: Likewise.
8094 * wcsmbs/wcrtomb.c: Likewise.
8095 * wcsmbs/wcsnrtombs.c: Likewise.
8096 * wcsmbs/wcsrtombs.c: Likewise.
8097 * wcsmbs/wctob.c: Likewise.
8099 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
8100 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
8102 * shlib-versions: Earliest backward compatible version for SH is 2.2.
8104 * misc/sys/cdefs.h: Remove one more __P.
8106 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
8109 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
8110 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
8111 * sysdeps/sh/bits/setjmp.h: ...here. New file.
8113 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
8114 Yutaka Niibe <gniibe@chroot.org>
8116 * configure.in: Add machine sh3, sh4.
8117 * elf/elf.h: Add SH specific declarations of relocations.
8118 * shlib-versions: Add sh*-*-linux* cases.
8120 2000-06-12 Ulrich Drepper <drepper@redhat.com>
8122 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
8123 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
8124 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
8125 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
8126 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
8127 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
8129 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
8130 instead of KERNEL_MATH_EMULATION.
8131 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
8132 KERNEL_MATH_EMULATION.
8134 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
8135 * sysdeps/sh/sh3/dl-machine.h: Moved to...
8136 * sysdeps/sh/dl-machine.h: ...here. New file.
8137 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
8138 and include generic SH version.
8139 * sysdeps/sh/sh3/bits/endian.h: Move to...
8140 * sysdeps/sh/bits/endian.h: ...here. New file.
8141 * sysdeps/sh/sh4/bits/endian.h: Removed.
8142 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
8143 * sysdeps/sh/bits/huge_val.h: ...here. New file.
8144 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
8146 * include/libc-symbols.h (link_warning): Work around a change in
8147 GAS which warns about changing section attributes.
8148 Proposed by Nick Clifton <nickc@redhat.com>.
8150 2000-06-12 H.J. Lu <hjl@gnu.org>
8152 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
8154 2000-06-11 H.J. Lu <hjl@gnu.org>
8156 * sysdeps/i386/fpu/Versions: New file.
8158 2000-06-12 Ulrich Drepper <drepper@redhat.com>
8160 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
8162 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
8165 2000-06-12 Jes Sorensen <jes@linuxcare.com>
8167 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
8168 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
8169 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
8171 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
8172 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
8173 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
8175 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
8176 Yutaka Niibe <gniibe@chroot.org>
8178 * sysdeps/sh/Dist: New file.
8179 * sysdeps/sh/Implies: New file.
8180 * sysdeps/sh/elf/initfini.c: New file.
8181 * sysdeps/sh/gmp-mparam.h: New file.
8182 * sysdeps/sh/init-first.c: New file.
8183 * sysdeps/sh/machine-gmon.h: New file.
8184 * sysdeps/sh/memcpy.S: New file.
8185 * sysdeps/sh/memprof.h: New file.
8186 * sysdeps/sh/memset.S: New file.
8187 * sysdeps/sh/sh3/__longjmp.S: New file.
8188 * sysdeps/sh/sh3/bits/endian.h: New file.
8189 * sysdeps/sh/sh3/bits/huge_val.h: New file.
8190 * sysdeps/sh/sh3/bits/setjmp.h: New file.
8191 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
8192 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
8193 * sysdeps/sh/sh3/dl-machine.h: New file.
8194 * sysdeps/sh/sh3/setjmp.S: New file.
8195 * sysdeps/sh/sh4/__longjmp.S: New file.
8196 * sysdeps/sh/sh4/bits/endian.h: New file.
8197 * sysdeps/sh/sh4/bits/huge_val.h: New file.
8198 * sysdeps/sh/sh4/bits/setjmp.h: New file.
8199 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
8200 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
8201 * sysdeps/sh/sh4/dl-machine.h: New file.
8202 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
8203 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
8204 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
8205 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
8206 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
8207 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
8208 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
8209 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
8210 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
8211 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
8212 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
8213 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
8214 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
8215 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
8216 * sysdeps/sh/sh4/setjmp.S: New file.
8217 * sysdeps/sh/elf/start.S: New file.
8218 * sysdeps/sh/sys/ucontext.h: New file.
8219 * sysdeps/sh/strlen.S: New file.
8220 * sysdeps/sh/sysdep.h: New file.
8221 * sysdeps/unix/sh/sysdep.S: New file.
8222 * sysdeps/unix/sh/sysdep.h: New file.
8223 * sysdeps/unix/sysv/linux/sh/Dist: New file.
8224 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
8225 * sysdeps/unix/sysv/linux/sh/Versions: New file.
8226 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
8227 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
8228 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
8229 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
8230 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
8231 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
8232 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
8233 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
8234 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
8235 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
8236 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
8237 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
8238 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
8239 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
8240 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
8241 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
8242 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
8243 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
8244 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
8245 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
8246 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
8247 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
8248 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
8249 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
8250 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
8251 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
8252 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
8253 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
8254 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
8255 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
8256 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
8257 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
8258 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
8259 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
8260 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
8261 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
8262 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
8263 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
8264 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
8265 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
8266 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8267 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
8268 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
8269 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
8270 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
8271 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
8272 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
8274 2000-06-12 Ulrich Drepper <drepper@redhat.com>
8276 * Rules (%.out): Define GCONV_PATH in the environment.
8277 * assert/Depend: New file.
8278 * iconvdata/Depend: New file.
8279 * intl/Depend: New file.
8280 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
8281 * intl/tst-gettext.sh: Likewise.
8282 * iconv/Makefile (routines): Add gconv_trans.
8283 * iconv/gconv_trans.c: New file.
8284 * iconv/gconv.h (struct __gconv_trans_data): New type.
8285 (__gconv_fct): New parameter with starting position in output buffer.
8286 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
8287 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
8288 (struct __gconv_step): Add new member __trans.
8289 * iconv/gconv_int.h: Pretty print prototypes.
8290 (gconv_transliterate): New prototype.
8291 (__BUILTIN_TRANS): Update for new conversion function interface.
8292 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
8293 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
8294 in names, find appropriate function, and install in the conversion
8295 steps it can be used.
8296 * iconv/skeleton.c: Add additional parameter for beginning of output
8297 buffer. Change calls of downstream functions.
8298 * iconv/loop.c: Change loop function interface completely. Pass in
8299 step and step_data structure. Remove optimization for BODY with
8300 NEED_LENGTH_TEST == 0.
8301 * iconv/gconv_simple.c: Update interfaces of functions. Insert
8302 appropriate error handling code to use transliteration steps. Remove
8303 optimization for BODY with NEED_LENGTH_TEST == 0.
8304 * iconvdata/8bit-gap.c: Likewise.
8305 * iconvdata/8bit-generic.c: Likewise.
8306 * iconvdata/ansi_x3.110.c: Likewise.
8307 * iconvdata/big5.c: Likewise.
8308 * iconvdata/big5hkscs.c: Likewise.
8309 * iconvdata/euc-cn.c: Likewise.
8310 * iconvdata/euc-jp.c: Likewise.
8311 * iconvdata/euc-kr.c: Likewise.
8312 * iconvdata/euc-tw.c: Likewise.
8313 * iconvdata/gbgbk.c: Likewise.
8314 * iconvdata/gbk.c: Likewise.
8315 * iconvdata/iso-2022-cn.c: Likewise.
8316 * iconvdata/iso-2022-jp.c: Likewise.
8317 * iconvdata/iso-2022-kr.c: Likewise.
8318 * iconvdata/iso646.c: Likewise.
8319 * iconvdata/iso8859-1.c: Likewise.
8320 * iconvdata/iso_6937-2.c: Likewise.
8321 * iconvdata/iso_6937.c: Likewise.
8322 * iconvdata/johab.c: Likewise.
8323 * iconvdata/sjis.c: Likewise.
8324 * iconvdata/t.61.c: Likewise.
8325 * iconvdata/uhc.c: Likewise.
8326 * iconvdata/unicode.c: Likewise.
8327 * iconvdata/utf-16.c: Likewise.
8328 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
8330 * wcsmbs/btowc.c: Likewise.
8331 * wcsmbs/mbrtowc.c: Likewise.
8332 * wcsmbs/mbsnrtowcs.c: Likewise.
8333 * wcsmbs/mbsrtowcs.c: Likewise.
8334 * wcsmbs/wcrtomb.c: Likewise.
8335 * wcsmbs/wcsnrtombs.c: Likewise.
8336 * wcsmbs/wcsrtombs.c: Likewise.
8337 * wcsmbs/wctob.c: Likewise.
8339 2000-04-11 Geoff Keating <geoffk@cygnus.com>
8341 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
8342 other header files. Mention about 128-byte cache line sizes.
8343 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
8344 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
8345 for current calling sequence.
8346 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
8348 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
8349 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8351 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
8352 and setrlimit syscalls for backwards compatibility.
8354 2000-06-10 Ulrich Drepper <drepper@redhat.com>
8356 * iconv/skeleton.c: Rename converted written to correcter name
8358 * iconv/gconv.c: Rename converted variable to correcter name
8360 * iconv/gconv_int.h: Likewise.
8361 * iconv/gconv_simple.c: Likewise.
8362 * iconv/iconv.c: Likewise.
8363 * iconv/loop.c: Likewise.
8364 * iconvdata/8bit-gap.c: Likewise.
8365 * iconvdata/8bit-generic.c: Likewise.
8366 * iconvdata/ansi_x3.110.c: Likewise.
8367 * iconvdata/big5.c: Likewise.
8368 * iconvdata/big5hkscs.c: Likewise.
8369 * iconvdata/euc-cn.c: Likewise.
8370 * iconvdata/euc-jp.c: Likewise.
8371 * iconvdata/euc-kr.c: Likewise.
8372 * iconvdata/gbgbk.c: Likewise.
8373 * iconvdata/gbk.c: Likewise.
8374 * iconvdata/iso-2022-cn.c: Likewise.
8375 * iconvdata/iso-2022-jp.c: Likewise.
8376 * iconvdata/iso-2022-kr.c: Likewise.
8377 * iconvdata/iso646.c: Likewise.
8378 * iconvdata/iso8859-1.c: Likewise.
8379 * iconvdata/iso_6937-2.c: Likewise.
8380 * iconvdata/iso_6937.c: Likewise.
8381 * iconvdata/johab.c: Likewise.
8382 * iconvdata/sjis.c: Likewise.
8383 * iconvdata/t.61.c: Likewise.
8384 * iconvdata/uhc.c: Likewise.
8385 * iconvdata/unicode.c: Likewise.
8386 * iconvdata/utf-16.c: Likewise.
8388 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
8389 __cmsg_data field with __extension__.
8391 2000-06-10 David Mosberger <davidm@hpl.hp.com>
8393 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
8395 2000-06-10 Ulrich Drepper <drepper@redhat.com>
8397 * iconv/gconv_simple.c: Fix various small bugs in several
8400 * iconv/loop.c: Fix comment.
8402 2000-06-10 Jakub Jelinek <jakub@redhat.com>
8404 * elf/link.h: Remove libc internal declarations.
8405 * include/link.h: Move them here.
8407 2000-06-09 Ulrich Drepper <drepper@redhat.com>
8409 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
8410 Patch by Dan Pop <Dan.Pop@cern.ch>.
8412 Rewrite error message handling.
8413 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
8415 * elf/dl-error (struct catch): Add objname member.
8416 (_dl_signal_error): Take new parameter with object name. When
8417 passing message on simply store object name and duplicate error
8419 (_dl_catch_error): Take new parameter. Store object name in the
8421 * include/dlfcn.h: Adjust _dl_catch_error prototype.
8422 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
8423 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
8424 (dlerror): Add objname to asprintf() parameters.
8425 (_dl_error_run): Pass new parameter to _dl_catch_error.
8426 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
8427 * elf/dl-open.c (_dl_open): Likewise.
8428 * elf/rtld.c (dl_main): Likewise.
8429 * elf/dl-close.c: Mark error messages with N_().
8430 * elf/dl-deps.c: Likewise.
8431 * elf/dl-error.c: Likewise.
8432 * elf/dl-load.c: Likewise.
8433 * elf/dl-open.c: Likewise.
8434 * elf/dl-reloc.c: Likewise.
8435 * elf/dl-support.c: Likewise.
8436 * elf/dl-sym.c: Likewise.
8437 * elf/dl-version.c: Likewise.
8438 * elf/dl-lookup.c: Add comments about problems with error message
8440 * elf/dl-reloc.c: Likewise.
8441 * elf/dl-version.c: Likewise.
8443 2000-06-09 H.J. Lu <hjl@gnu.org>
8445 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
8448 * dlfcn/Makefile (distribute): Add failtestmod.c.
8449 (tests): Add failtest.
8450 Add rules to build and run failtest.
8451 * dlfcn/failtest.c: New file.
8452 * dlfcn/failtestmod.c: New file.
8454 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
8456 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
8457 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
8458 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
8459 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
8460 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
8462 2000-06-09 Jes Sorensen <jes@linuxcare.com>
8464 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
8465 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
8467 2000-06-09 Jes Sorensen <jes@linuxcare.com>
8468 Ulrich Drepper <drepper@redhat.com>
8470 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
8471 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
8472 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
8473 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
8474 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
8475 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
8477 2000-06-09 Ulrich Drepper <drepper@redhat.com>
8479 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
8480 to find correct mount point despite wrong information from the
8483 2000-06-09 Jes Sorensen <jes@linuxcare.com>
8485 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
8486 the address of a symbol so function pointers are handled properly.
8488 2000-06-08 Ulrich Drepper <drepper@redhat.com>
8490 * sysdeps/i386/Dist: Add bp-asm.h.
8492 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
8493 defaultdir variable instead of "/var/shm" everywhere.
8494 (defaultdir): Change to /dev/shm/.
8496 2000-06-08 Greg McGary <greg@mcgary.org>
8498 * sysdeps/i386/bp-asm.h: New file.
8499 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
8500 offsets. Add ENTER/LEAVE macros for optionally maintaining
8501 frame-pointer chain when debugging.
8502 * sysdeps/i386/add_n.S: Likewise.
8503 * sysdeps/i386/addmul_1.S: Likewise.
8504 * sysdeps/i386/lshift.S: Likewise.
8505 * sysdeps/i386/memchr.S: Likewise.
8506 * sysdeps/i386/memcmp.S: Likewise.
8507 * sysdeps/i386/mul_1.S: Likewise.
8508 * sysdeps/i386/rawmemchr.S: Likewise.
8509 * sysdeps/i386/rshift.S: Likewise.
8510 * sysdeps/i386/stpcpy.S: Likewise.
8511 * sysdeps/i386/stpncpy.S: Likewise.
8512 * sysdeps/i386/strchr.S: Likewise.
8513 * sysdeps/i386/strchrnul.S: Likewise.
8514 * sysdeps/i386/strcspn.S: Likewise.
8515 * sysdeps/i386/strpbrk.S: Likewise.
8516 * sysdeps/i386/strrchr.S: Likewise.
8517 * sysdeps/i386/strspn.S: Likewise.
8518 * sysdeps/i386/strtok.S: Likewise.
8519 * sysdeps/i386/sub_n.S: Likewise.
8520 * sysdeps/i386/submul_1.S: Likewise.
8521 * sysdeps/i386/elf/setjmp.S: Likewise.
8522 * sysdeps/i386/i486/strcat.S: Likewise.
8523 * sysdeps/i386/i486/strlen.S: Likewise.
8524 * sysdeps/i386/i586/add_n.S: Likewise.
8525 * sysdeps/i386/i586/lshift.S: Likewise.
8526 * sysdeps/i386/i586/memcpy.S: Likewise.
8527 * sysdeps/i386/i586/memset.S: Likewise.
8528 * sysdeps/i386/i586/rshift.S: Likewise.
8529 * sysdeps/i386/i586/strchr.S: Likewise.
8530 * sysdeps/i386/i586/strcpy.S: Likewise.
8531 * sysdeps/i386/i586/strlen.S: Likewise.
8532 * sysdeps/i386/i586/sub_n.S: Likewise.
8533 * sysdeps/i386/i686/add_n.S: Likewise.
8534 * sysdeps/i386/i686/memcpy.S: Likewise.
8535 * sysdeps/i386/i686/mempcpy.S: Likewise.
8536 * sysdeps/i386/i686/memset.S: Likewise.
8537 * sysdeps/i386/i686/strcmp.S: Likewise.
8539 2000-06-08 Ulrich Drepper <drepper@redhat.com>
8541 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
8543 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
8544 256 and don't use OPEN_MAX.
8546 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
8547 use it instead of LINK_MAX.
8548 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
8550 2000-06-08 Andreas Jaeger <aj@suse.de>
8552 * libio/genops.c (_IO_list_lock): Only compile body if we're
8554 (_IO_list_unlock): Likewise.
8555 (_IO_list_resetlock): Likewise.
8557 2000-06-07 Ulrich Drepper <drepper@redhat.com>
8559 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
8560 unless user defined it.
8562 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
8563 if not defined by the user.
8565 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
8566 * libio/iofwrite.c (_IO_fwrite): Likewise.
8568 * time/time.h: Add missing __THROW for clock_getcpuclockid
8571 * elf/Makefile (distribute): Add dl-dtprocnum.h.
8572 * include/elf.h: Include also <dl-dtprocnum.h>.
8573 * elf/dl-deps.c: Likewise.
8574 * elf/dl-lookup.c: Likewise.
8575 * elf/dl-runtime.c: Likewise.
8576 * elf/dl-version.c: Likewise.
8577 * elf/do-rel.h: Likewise.
8578 * elf/dynamic-link.h: Likewise.
8579 * elf/link.h: Likewise.
8580 * elf/rtld.c: Likewise.
8581 * sysdeps/generic/dl-dtprocnum.h: New file.
8582 * sysdeps/ia64/dl-dtprocnum.h: New file.
8583 * sysdeps/mips/dl-dtprocnum.h: New file.
8584 * sysdeps/sparc/dl-dtprocnum.h: New file.
8586 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
8588 * elf/do-lookup.h: Add some __builtin_expect.
8590 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
8592 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
8593 (_dl_dynamic_weak): New variable.
8594 * elf/dl-support.c: Likewise.
8595 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
8596 * elf/do-lookup.h: If we find a weak definition treat it like a
8597 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
8598 case treat it like before.
8600 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
8602 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
8604 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
8605 using l_map_start and l_map_end.
8607 * elf/dl-version.c: Add __builtin_expect in many places.
8609 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
8612 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
8614 Lock for stdio stream list becomes global, for use in LinuxThreads.
8616 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
8617 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
8618 _IO_list_resetlock): New interface for iterating global list of
8619 streams without accessing the _IO_list_all global variable,
8620 and for manipulating the lock which protects this list.
8621 * libio/libioP.h: Likewise.
8622 * libio/Version: Add entries for the new functions.
8624 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
8625 pointer to _IO_FILE.
8627 2000-06-07 Ulrich Drepper <drepper@redhat.com>
8629 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
8630 BIT() must actually be BITw().
8632 * locale/programs/ld-ctype.c: Handle SP and space consistently.
8634 * locale/programs/charmap.c: Allow string arguments for
8635 code_set_name and repertoiremap.
8637 2000-06-07 Andreas Jaeger <aj@suse.de>
8639 * elf/Makefile: Build ldconfig only when building shared libraries.
8641 2000-06-07 Jakub Jelinek <jakub@redhat.com>
8643 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
8645 (fdimf, __fdim, fdim): Likewise.
8647 2000-06-07 Ulrich Drepper <drepper@redhat.com>
8649 * locale/findlocale.c: Add __builtin_expect in many places.
8650 * locale/loadlocale.c: Likewise.
8652 2000-06-06 Greg McGary <greg@mcgary.org>
8654 * sysdeps/mips/elf/start.S: Trim redundant code.
8656 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
8657 Use C comments throughout. Line up operands column with tabs.
8658 * sysdeps/powerpc/strchr.S: Likewise.
8659 * sysdeps/powerpc/strcmp.S: Likewise.
8660 * sysdeps/powerpc/strcpy.S: Likewise.
8661 * sysdeps/powerpc/strlen.S: Likewise.
8663 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
8664 Get low part of &__curbrk with @l.
8666 2000-06-06 Ulrich Drepper <drepper@redhat.com>
8668 * iconvdata/utf-16.c: Add __builtin_expect in many places.
8669 * iconvdata/unicode.c: Likewise.
8670 * iconvdata/uhc.c: Likewise.
8671 * iconvdata/t.61.c: Likewise.
8672 * iconvdata/sjis.c: Likewise.
8673 * iconvdata/johab.c: Likewise.
8674 * iconvdata/iso_6937.c: Likewise.
8675 * iconvdata/iso_6937-2.c: Likewise.
8676 * iconvdata/iso8859-1.c: Likewise.
8677 * iconvdata/iso646.c: Likewise.
8678 * iconvdata/iso-2022-kr.c: Likewise.
8679 * iconvdata/iso-2022-jp.c: Likewise.
8680 * iconvdata/iso-2022-cn.c: Likewise.
8681 * iconvdata/gbgbk.c: Likewise.
8682 * iconvdata/gbk.c: Likewise.
8683 * iconvdata/euc-kr.c: Likewise.
8684 * iconvdata/euc-jp.c: Likewise.
8685 * iconvdata/euc-cn.c: Likewise.
8687 2000-06-05 Ulrich Drepper <drepper@redhat.com>
8689 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
8690 * iconvdata/big5.c: Likewise.
8691 * iconvdata/ansi_x3.110.c: Likewise.
8692 * iconvdata/8bit-generic.c: Likewise.
8693 * iconvdata/8bit-gap.c: Likewise.
8694 * iconv/loop.c: Likewise.
8695 * iconv/gconv_db.c: Likewise.
8696 * iconv/gconv_dl.c: Likewise.
8697 * iconv/gconv_simple.c: Likewise.
8698 * iconv/skeleton.c: Likewise.
8700 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
8701 (struct __gconv_step_data): Rename __is_last to __flags.
8702 * iconv/gconv_close.c: Change all uses of __is_last.
8703 * iconv/skeleton.c: Likewise.
8704 * iconvdata/iso-2022-cn.c: Likewise.
8705 * iconvdata/iso-2022-jp.c: Likewise.
8706 * iconvdata/iso-2022-kr.c: Likewise.
8707 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
8708 Recognize IGNORE error handling, set flag, and remove from name.
8709 * iconv/loop.c (ignore_errors_p): Define.
8710 Add flags parameter to both functions.
8711 * iconv/skeleton.c: Pass flags to all conversion functions.
8712 * iconv/gconv_simple.c: Add flags parameter to all functions.
8713 Don't return error for invald error if ignore flag is set.
8714 (ucs4_internal_loop_single): Add missing pointer increment.
8715 (internal_ucs4le_loop_single): Likewise.
8716 * iconv/iconv_prog.c: Implement handling of -c parameter.
8717 * iconvdata/8bit-gap.c: Don't return error for invald error if
8719 * iconvdata/8bit-generic.c: Likewise.
8720 * iconvdata/ansi_x3.110.c: Likewise.
8721 * iconvdata/big5.c: Likewise.
8722 * iconvdata/big5hkscs.c: Likewise.
8723 * iconvdata/euc-cn.c: Likewise.
8724 * iconvdata/euc-jp.c: Likewise.
8725 * iconvdata/euc-kr.c: Likewise.
8726 * iconvdata/gbgbk.c: Likewise.
8727 * iconvdata/gbk.c: Likewise.
8728 * iconvdata/iso-2022-cn.c: Likewise.
8729 * iconvdata/iso-2022-jp.c: Likewise.
8730 * iconvdata/iso-2022-kr.c: Likewise.
8731 * iconvdata/iso646.c: Likewise.
8732 * iconvdata/iso8859-1.c: Likewise.
8733 * iconvdata/iso_6937-2.c: Likewise.
8734 * iconvdata/iso_6937.c: Likewise.
8735 * iconvdata/johab.c: Likewise.
8736 * iconvdata/sjis.c: Likewise.
8737 * iconvdata/t.61.c: Likewise.
8738 * iconvdata/uhc.c: Likewise.
8739 * iconvdata/unicode.c: Likewise.
8740 * iconvdata/utf-16.c: Likewise.
8741 * libio/fileops.c: Likewise.
8742 * libio/iofwide.c: Likewise.
8743 * wcsmbs/btowc.c: Likewise.
8744 * wcsmbs/mbrtowc.c: Likewise.
8745 * wcsmbs/mbsnrtowcs.c: Likewise.
8746 * wcsmbs/mbsrtowcs.c: Likewise.
8747 * wcsmbs/wcrtomb.c: Likewise.
8748 * wcsmbs/wcsnrtombs.c: Likewise.
8749 * wcsmbs/wcsrtombs.c: Likewise.
8750 * wcsmbs/wctob.c: Likewise.
8752 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
8755 2000-06-04 Ulrich Drepper <drepper@redhat.com>
8757 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
8758 counter for the object we are releasing, just decrement it.
8759 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
8761 2000-06-04 Jakub Jelinek <jakub@redhat.com>
8763 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
8766 2000-06-04 Ulrich Drepper <drepper@redhat.com>
8768 * iconvdata/big5hkscs.c: New file.
8769 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
8771 * iconvdata/gconv-modules: Add entry for new module.
8772 * iconvdata/Makefile (modules): Add BIG5HKSCS.
8773 (distribute): Add big5hkscs.c.
8775 2000-06-01 Jakub Jelinek <jakub@redhat.com>
8777 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
8778 inlines to match prototypes in mathcalls.h.
8779 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
8780 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
8781 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
8782 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8784 2000-06-03 Ulrich Drepper <drepper@redhat.com>
8786 * elf/elf.h (SHT_SUNW_move): Define.
8788 * elf/elf.h: Add more Solaris compatiblity definitions.
8790 2000-06-03 Andreas Jaeger <aj@suse.de>
8792 * sysdeps/powerpc/dl-start.S: Close open comment.
8794 2000-06-03 Jakub Jelinek <jakub@redhat.com>
8796 * inet/Versions: Fix typo in rresvport_af export.
8798 2000-06-02 Ulrich Drepper <drepper@redhat.com>
8800 * math/tgmath.h: Pretty print.
8802 2000-06-02 Andreas Jaeger <aj@suse.de>
8804 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
8805 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8807 2000-06-02 Ulrich Drepper <drepper@redhat.com>
8809 * elf/rtld.c (process_envvars): Test for = after variable name.
8811 2000-06-01 Ulrich Drepper <drepper@redhat.com>
8813 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
8814 have extra call to __gmon_start__, use the pointer we already have.
8816 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
8819 * sysdeps/i386/elf/setjmp.S: Work around change is recent
8820 binutils. gas now emits a jump through the PLT instead of a
8821 relative jump if the jump target is an exported symbol.
8823 2000-05-31 Ulrich Drepper <drepper@redhat.com>
8825 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
8827 2000-05-31 Andreas Jaeger <aj@suse.de>
8829 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
8832 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
8833 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8835 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
8837 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
8839 2000-05-30 Ulrich Drepper <drepper@redhat.com>
8841 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
8843 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
8844 * locale/localeconv.c: Make function versioned (with same definition).
8846 * elf/Makefile (modules-names): Strip before using it.
8848 2000-05-30 Andreas Jaeger <aj@suse.de>
8850 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
8851 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
8852 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
8853 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
8854 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
8855 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
8857 2000-05-29 Ulrich Drepper <drepper@redhat.com>
8859 * Makefile: Add GNU make magic.
8861 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
8863 * inet/rcmd.c: Remove __P. Remove unused variables.
8864 (iruserfopen): Make first parameter const.
8865 (ruserok_sa): Return result of ruserok2_sa.
8866 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
8867 * inet/rexec.c: Remove unused variables. Other small cleanups.
8868 * inet/ruserpass.c: Remove __P. Remove unused variables.
8869 (ruserpass): Check results of memory allocation.
8870 * include/netdb.h: Add prototype for ruserpass.
8872 2000-05-29 Andreas Jaeger <aj@suse.de>
8874 * elf/readlib.c (interpreters): Use LD_SO since this is supported
8877 2000-05-29 Jakub Jelinek <jakub@redhat.com>
8879 * inet/rcmd.c (rresvport_af): Use correct port number.
8881 2000-05-26 Andreas Schwab <schwab@suse.de>
8883 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
8884 entries in all-sonames.
8885 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
8886 preserving the old name if different for compatibility.
8888 2000-05-29 Ulrich Drepper <drepper@redhat.com>
8890 * posix/Makefile (tests): Add tst-spawn.
8891 (tst-spawn-ARGS): New variable.
8892 * posix/tst-spawn.c: New file.
8894 * posix/spawn_faction_addclose.c: Correctly account for new entry.
8895 * posix/spawn_faction_adddup2.c: Likewise.
8896 * posix/spawn_faction_addopen.c: Likewise.
8897 * posix/spawni.c: Correctly test for success of dup2 calls.
8899 * posix/tst-preadwrite.c: Check success of malloc call.
8901 2000-05-28 Ulrich Drepper <drepper@redhat.com>
8903 * posix/Makefile (tests): Add tst-exec.
8904 (tst-exec-ARGS): New variable.
8905 * posix/tst-exec.c: New file.
8907 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
8909 2000-05-04 Andreas Jaeger <aj@suse.de>
8911 * string/string.h: Remove __strdup prototype, it's not needed in
8914 2000-05-28 Ulrich Drepper <drepper@redhat.com>
8916 * posix/Makefile (tests): Add tst-fork.
8917 * posix/tst-fork.c: New file.
8919 * resolv/inet_pton.c: Loose __P.
8921 2000-05-21 Jakub Jelinek <jakub@redhat.com>
8923 * libio/libioP.h (_IO_CHECK_WIDE): Define.
8924 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
8925 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
8926 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
8927 _IO_CHECK_WIDE fails.
8929 2000-05-28 Ulrich Drepper <drepper@redhat.com>
8931 * po/da.po: New file.
8933 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
8934 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
8936 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
8937 (Other iconv Implementations): Fix typo.
8938 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
8940 2000-05-27 Andreas Jaeger <aj@suse.de>
8942 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
8944 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
8945 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
8946 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8947 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8948 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
8949 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
8951 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
8952 endianness to decide how to pass arguments.
8953 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8955 * elf/vismain.c: Use test-skeleton interface.
8956 (TEST_FUNCTION): New macro.
8957 (do_test): Renamed from main.
8959 2000-05-27 Ulrich Drepper <drepper@redhat.com>
8961 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
8962 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
8964 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
8965 handling of AI_V4MAPPED flag.
8967 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
8968 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
8969 perform lookup for T_A type and tell getanswer_r to convert the
8970 result with new argument.
8971 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
8972 Don't convert addresses from IPv4 to IPv6 here.
8973 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
8974 IPv6 is wanted. Allow qtype and type from reply to disagree if
8975 IPv4 mapping has to be done. Perform mappings if required by the
8976 caller and not if RES_USE_INET6 bit in _res.options is set.
8977 Add several __builtin_expect.
8979 2000-05-26 Ulrich Drepper <drepper@redhat.com>
8981 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
8983 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
8986 * posix/tst-preadwrite.c: Allow parallel execution of
8987 tst-preadwrite and tst-preadwrite64.
8989 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
8990 * posix/tst-truncate.c: New file.
8991 * posix/tst-truncate64.c: New file.
8993 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
8996 * posix/Makefile (tests): Add tst-preadwrite64.
8997 * posix/tst-preadwrite.c: Alloc file being used also for testing
8998 pread64 and pwrite64.
8999 * posix/tst-preadwrite64.c: New file.
9001 2000-05-26 Andreas Jaeger <aj@suse.de>
9003 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
9004 of arguments dependend on endianness.
9005 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
9007 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
9009 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
9010 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
9011 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9012 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9014 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
9015 endianness to check how to pass argument.
9016 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9018 * elf/ldconfig.h: Update parameter list for process_elf_file.
9020 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
9021 Add parameter file_length and pass it ot process_elf*file.
9023 * sysdeps/generic/readelflib.c (check_ptr): New.
9024 (process_elf_file): Use check_ptr to check all accesses to the
9025 mmapped file. Add parameter file_length.
9027 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
9030 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
9031 Closes PR libc/1573, reported by Bradley White
9032 <bww@laurelnetworks.com>.
9034 2000-05-25 Ulrich Drepper <drepper@redhat.com>
9036 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
9037 __FAST_MATH__ is defined.
9039 2000-05-22 Andreas Jaeger <aj@suse.de>
9041 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
9042 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
9044 * manual/math.texi (FP Function Optimizations): Document gcc
9045 -ffast-math behaviour with mathinlines.
9047 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
9048 functions unless -ffast-math is given to gcc.
9050 2000-05-23 Jakub Jelinek <jakub@redhat.com>
9052 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
9053 __sincosl): Guard with __USE_GNU.
9055 2000-05-24 Ulrich Drepper <drepper@redhat.com>
9057 * csu/Makefile (routines): Add check_fds.
9058 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
9059 binaries. Add various __builtin_expect.
9060 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
9061 * sysdeps/generic/check_fds.c: ...here. New file.
9063 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
9064 binaries if file /etc/suid-debug is available.
9066 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
9067 and wcseqorder members.
9068 (struct locale_collate_t): Likewise.
9069 (collate_finish): Assign collation sequence value to each character.
9070 Create tables for output.
9071 (collate_output): Write out tables with collation sequence information.
9072 * locale/C-collate.c: Provide C locale data for collation sequence
9074 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
9075 _NL_COLLATE_COLLSEQWC.
9076 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
9077 _NL_COLLATE_COLLSEQWC.
9078 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
9079 include fnmatch_loop.c.
9080 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
9081 character is matched by range expression. Use collation sequence
9082 table. Outside glibc fall back on simple character value comparison.
9084 2000-05-24 Andreas Jaeger <aj@suse.de>
9086 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
9089 * intl/Makefile: Run gettext-test only if msgfmt is available.
9091 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
9092 Define it for newer kernels.
9094 2000-05-23 Ulrich Drepper <drepper@redhat.com>
9096 * elf/dl-sym.c: Minor cleanups.
9098 * configure.in: Add test for .protected.
9099 * config.make.in: Add have-protected variable.
9100 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
9101 (tests-vis-yes): Add vismain.
9102 (modules-names): Add $(modules-vis-$(have-protected)).
9103 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
9104 Add rules to generate and run vismain.
9105 * elf/vismain.c: New file.
9106 * elf/vismod1.c: New file.
9107 * elf/vismod2.c: New file.
9108 * elf/vismod3.c: New file.
9110 2000-05-23 Andreas Jaeger <aj@suse.de>
9112 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
9114 * manual/search.texi (Array Sort Function): Document that qsort is
9115 not necessarily in-place.
9117 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
9118 Closes PR libc/1731.
9120 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
9121 * dirent/scandir64.c: Likewise.
9122 * pwd/getpw.c: Likewise.
9123 * stdlib/bsearch.c (bsearch): Likewise.
9124 * stdlib/tst-strtoll.c: Likewise.
9125 * localedata/collate-test.c: Likewise.
9126 * localedata/xfrm-test.c: Likewise.
9127 * posix/bsd-getpgrp.c: Likewise.
9128 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
9129 * sysdeps/generic/bits/siginfo.h: Likewise.
9130 * sysdeps/generic/bits/sockaddr.h: Likewise.
9131 * sysdeps/generic/sys/swap.h: Likewise.
9132 * sysdeps/generic/sys/sysinfo.h: Likewise.
9133 * sysdeps/generic/vfork.c: Likewise.
9134 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
9135 * sysdeps/mach/hurd/fdopen.c: Likewise.
9136 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
9137 * sysdeps/unix/sysv/linux/poll.c: Likewise.
9138 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9139 * sysdeps/unix/sysv/linux/writev.c: Likewise.
9140 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9141 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9142 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
9144 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
9145 * shadow/lckpwdf.c: Likewise.
9146 * stdlib/tst-strtol.c: Likewise.
9147 * sysdeps/generic/tcsetattr.c: Likewise.
9148 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9149 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9151 2000-05-22 Jakub Jelinek <jakub@redhat.com>
9153 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
9154 free it and set to (void *) -1.
9156 2000-05-22 Jakub Jelinek <jakub@redhat.com>
9158 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
9159 not the second character in the range.
9160 * stdio-common/tstscanf.c (main): Add testcase for the above.
9161 Reported by jik@kamens.brookline.ma.us.
9163 2000-05-21 H.J. Lu <hjl@gnu.org>
9165 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
9166 with noexec and noplt parameter.
9167 (do_lookup): Likewise.
9169 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
9170 do_lookup. Support STV_PROTECTED.
9171 (_dl_lookup_symbol_skip): Likewise.
9172 (_dl_lookup_versioned_symbol): Likewise.
9173 (_dl_lookup_versioned_symbol_skip): Likewise.
9175 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
9177 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
9179 2000-05-21 Jakub Jelinek <jakub@redhat.com>
9181 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
9182 * sysdeps/i386/bits/huge_val.h: Likewise.
9183 * sysdeps/ieee754/bits/huge_val.h: Likewise.
9184 * sysdeps/m68k/bits/huge_val.h: Likewise.
9185 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
9186 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
9188 2000-05-22 Andreas Jaeger <aj@suse.de>
9190 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
9193 2000-05-19 Andreas Jaeger <aj@suse.de>
9195 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
9196 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
9197 breaks compilation without linuxthreads.
9199 2000-05-21 Ulrich Drepper <drepper@redhat.com>
9201 * sysdeps/ia64/memccpy.S: New file.
9202 * sysdeps/ia64/memchr.S: New file.
9203 * sysdeps/ia64/memcmp.S: New file.
9204 * sysdeps/ia64/memcpy.S: New file.
9205 * sysdeps/ia64/memmove.S: New file.
9206 * sysdeps/ia64/memset.S: New file.
9207 * sysdeps/ia64/strcat.S: New file.
9208 * sysdeps/ia64/strchr.S: New file.
9209 * sysdeps/ia64/strcmp.S: New file.
9210 * sysdeps/ia64/strcpy.S: New file.
9211 * sysdeps/ia64/strlen.S: New file.
9212 * sysdeps/ia64/strncmp.S: New file.
9213 * sysdeps/ia64/strncpy.S: New file.
9214 * sysdeps/ia64/softpipe.h: New file.
9215 Patches by Dan Pop <Dan.Pop@cern.ch>.
9217 * manual/memory.texi: Document memory handling functions (mlock,
9218 munlock, mlockall, munlockall, brk, and sbrk)
9219 * manual/time.texi: Document timespec and friends.
9220 * manual/conf.texi: Fix references.
9221 * manual/ctype.texi: Likewise.
9222 * manual/errno.texi: Likewise.
9223 * manual/intro.texi: Likewise.
9224 * manual/locale.texi: Likewise.
9225 * manual/sysinfo.texi: Likewise.
9226 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
9228 2000-05-09 Jes Sorensen <jes@linuxcare.com>
9230 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
9231 * sysdeps/ia64/dl-lookupcfg.h: ...here.
9233 2000-05-21 Jakub Jelinek <jakub@redhat.com>
9235 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
9238 2000-05-21 Ulrich Drepper <drepper@redhat.com>
9240 * locale/locale.h (struct lconv): Add new elements from ISO C99.
9241 * locale/localeconv.c: Initialize new elements from ISO C99.
9242 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
9243 new standard elements.
9244 * locale/categories.def: Adjust accordingly.
9246 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
9247 * iconv/iconv.c: Likewise.
9248 * conform/data/iconv.h-data: Likewise.
9249 * iconv/iconv_prog.c (process_block): Remove const from second
9251 (main): Remove const from addr definition.
9252 * manual/charset.texi (Generic Conversion Interface): Remove from
9253 inbuf parameter of iconv.
9255 * intl/dcigettext.c: Fix typo in comment.
9257 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
9259 * resolv/res_libc.c (_res): Initialize _sock to -1.
9261 2000-05-18 Jakub Jelinek <jakub@redhat.com>
9263 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
9264 (fopencookie@@GLIBC_2.2): New.
9265 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
9266 (fopencookie@GLIBC_2.0): New.
9267 * libio/Versions: Add fopencookie to GLIBC_2.2.
9269 2000-05-18 Andreas Jaeger <aj@suse.de>
9271 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
9272 Closes PR libc/1731.
9274 * manual/arith.texi (Parsing of Integers): Fix typo.
9275 Closes PR libc/1744, reported by blp@gnu.org.
9277 2000-05-17 Jakub Jelinek <jakub@redhat.com>
9279 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
9280 __extension__ to hexadecimal floating constant notation.
9281 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
9283 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
9284 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
9286 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
9287 HUGE_VALL): Likewise.
9288 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
9289 HUGE_VALL): Likewise.
9290 (HUGE_VALL): Set to HUGE_VAL on sparc32.
9292 2000-05-17 Andreas Jaeger <aj@suse.de>
9294 * string/envz.h: Add pure attributes if possible.
9296 * string/argz.h: argz_count is a pure function.
9298 * string/strings.h: Add pure and const attributes if possible.
9300 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
9301 possibly searching through the whole memory.
9302 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
9304 2000-05-17 Jakub Jelinek <jakub@redhat.com>
9306 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
9308 (_dl_cache_check_flags): Likewise.
9309 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
9312 2000-05-17 Andreas Jaeger <aj@suse.de>
9314 * manual/creature.texi (Feature Test Macros): Remove paragraph
9315 since the description is wrong.
9316 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
9318 * scripts/config.sub: New version.
9319 * scripts/config.guess: Likewise.
9320 * manual/texinfo.tex: Likewise.
9322 * time/test_time.args: Removed.
9323 * time/Makefile (test_time-ARGS): Added contents here instead.
9325 * posix/tstgetopt.args: Removed.
9326 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
9328 * Rules: Allow arguments for test files to be specified in
9329 Makefile with testname-ARGS; remove rules with .args in it.
9331 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
9332 remove old bogus rule for opendir-tst1.args.
9334 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
9336 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
9337 into objdir. This allows a readonly sourcetree.
9338 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
9340 2000-05-16 Andreas Jaeger <aj@suse.de>,
9341 David Huggins-Daines <dhd@linuxcare.com>
9343 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
9344 cache_data in case of only new cache format correctly.
9346 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
9349 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
9350 struct cache_file_new.
9352 * elf/cache.c (save_cache): Fix str_offset if only new cache is
9355 * elf/cache.c (save_cache): Align struct new_file_cache.
9356 (print_cache): Likewise.
9358 2000-05-13 Jakub Jelinek <jakub@redhat.com>
9360 * elf/soinit.c (__libc_global_ctors): Move
9361 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
9362 * resolv/resolv.h (__res_state): Added __attribute__((const)).
9363 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
9364 variable, don't define it to __res_state call.
9366 2000-05-13 Andreas Jaeger <aj@suse.de>
9368 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
9370 (AF_PPPOX): Likewise.
9371 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
9372 (AF_PPPOX): Likewise.
9374 2000-05-12 Andreas Jaeger <aj@suse.de>
9376 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
9377 Reported by tmoestl@gmx.net, closes PR libc/1732.
9379 2000-05-11 Jan Hubicka <jh@suse.cz>
9381 * misc/sys/cdefs.h: Add support for pure attribute.
9383 * include/string.h: Add __attribute_pure__ to various functions.
9384 * string/string.h: Likewise.
9386 2000-05-10 Jakub Jelinek <jakub@redhat.com>
9388 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
9390 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9392 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
9394 2000-05-10 Jakub Jelinek <jakub@redhat.com>
9396 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
9397 at proper place. Compute the high nibble correctly.
9399 2000-05-09 Jakub Jelinek <jakub@redhat.com>
9401 * elf/ldconfig.c: Include elf.h.
9403 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
9404 (_dl_vsym): Likewise.
9405 Reported by Owen Taylor <otaylor@redhat.com>.
9407 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
9410 2000-05-08 Andreas Jaeger <aj@suse.de>
9412 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
9414 * intl/bindtextdom.c (set_binding_values): Add prototype.
9416 2000-05-08 Jakub Jelinek <jakub@redhat.com>
9418 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
9419 call to elf_machine_fixup_plt.
9420 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9421 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9423 2000-05-08 Jakub Jelinek <jakub@redhat.com>
9425 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
9426 they are not dlclose'd from underneath us.
9428 2000-05-08 Andreas Schwab <schwab@suse.de>
9430 * posix/execle.c: Fix size parameter of memcpy.
9432 2000-05-08 Andreas Schwab <schwab@suse.de>
9434 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
9435 getpagesize syscall if available.
9437 2000-05-08 Andreas Jaeger <aj@suse.de>
9439 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
9442 2000-05-08 Jakub Jelinek <jakub@redhat.com>
9444 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
9445 sizeof(struct link_map *) chunks, not in bytes.
9447 2000-05-07 Ulrich Drepper <drepper@redhat.com>
9449 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
9450 only needed for locale.
9451 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
9452 It's only needed for catgets.
9453 Patches by Greg McGary <gkm@eng.ascend.com>.
9455 2000-05-07 Mark Kettenis <kettenis@gnu.org>
9457 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
9458 Remove duplicate <errno.h> include. Remove inclusion of
9459 <libintl.h> and "nsswitch.h".
9460 (set_cloexec_flag): New function, broken out of dbopen.
9461 (dbopen): Changed return type to `enum
9462 nss_status'. Mostly rewritten to make sure that we do not report
9463 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
9464 (internal_setent): Change return type to nss_status.
9465 Document, and make sure that the function
9466 behaves accordingly. Make dynamically loading the database
9467 library really thread-safe and return NSS_STATUS_UNAVAIL if it
9469 (db_cursor): Return ENOMEM is memory allocation failed. Remove
9471 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
9473 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
9474 c_get function member.
9475 * nss/nss_db/nss_db.h: Add and tweak some comments.
9476 (DBT): Move typedef before NSS_DBC typedef.
9477 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
9479 2000-05-07 H.J. Lu <hjl@gnu.org>
9481 * csu/initfini.c: Moved to ....
9482 * sysdeps/generic/initfini.c: ...here.
9484 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
9486 2000-05-07 Ulrich Drepper <drepper@redhat.com>
9488 * manual/resource.texi: Document POSIX scheduling functions.
9489 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9491 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
9492 reading anything. Reported by Andries.Brouwer@cwi.nl.
9494 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
9495 for x since promotion in comparison might leads to unexpected
9496 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
9498 * iconv/Makefile (tests): Add tst-iconv1.
9499 * iconv/tst-iconv1.c: New file.
9500 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
9501 empty input buffer over full output buffer.
9502 (ucs4_internal_loop): Likewise.
9503 (ucs4_internal_loop_unaligned): Likewise.
9504 (internal_ucs4le_loop): Likewise.
9505 (internal_ucs4le_loop_unaligned): Likewise.
9506 (ucs4le_internal_loop): Likewise.
9507 (ucs4le_internal_loop_unaligned): Likewise.
9508 Reported by yaoz@nih.gov.
9510 2000-05-06 Bruno Haible <haible@clisp.cons.org>
9512 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
9513 returned != __GCONV_OK, there is nothing to clean up.
9515 2000-05-06 Bruno Haible <haible@clisp.cons.org>
9517 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
9518 OUTPUT_CHARSET environment variables.
9520 2000-05-06 Andreas Jaeger <aj@suse.de>
9522 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
9523 (struct cache_file_new): New.
9524 (struct file_entry): New (moved from cache.c).
9525 (struct cache_file): New (moved from cache.c).
9527 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
9528 from _dl_load_cache_lookup.
9529 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
9530 the different cache formats.
9531 New variable cache_new for new format.
9533 * elf/ldconfig.h: Change according to changes in cache.c and
9534 ldconfig.c; remove cache_libcmp; add opt_format.
9536 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
9537 stuff that's defined in those headers.
9538 Add hwcap to struct lib_entry.
9539 (opt_format): New variable to select cache format.
9540 (options): Add format parameter.
9541 (is_hwcap): New function.
9542 (path_hwcap): New function.
9543 (parse_opt): Handle new format parameter.
9544 (search_dir): Handle hwcap, search also subdirectories with hwcap.
9546 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
9547 ldconfig is part of glibc.
9548 Include dl-cache.h and remove stuff that's defined there.
9549 (struct cache_entry): Add new member hwcap.
9550 (print_entry): Print hwcap, cleanup a bit.
9551 (print_cache): Print new and old formats.
9552 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
9553 (save_cache): Save new and old formats.
9554 (add_to_cache): Handle hwcap.
9556 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
9557 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
9558 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
9559 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
9560 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
9561 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
9563 2000-05-05 Bruno Haible <haible@clisp.cons.org>
9565 * intl/dcigettext.c (alignof): New macro.
9566 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
9567 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
9570 2000-05-05 Bruno Haible <haible@clisp.cons.org>
9572 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
9575 2000-05-06 Ulrich Drepper <drepper@redhat.com>
9577 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
9578 (mempcpy): Correct typo is parameter list.
9580 2000-05-06 Andreas Jaeger <aj@suse.de>
9582 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
9583 functions unless -ffast-math is given to gcc.
9585 2000-05-06 Ulrich Drepper <drepper@redhat.com>
9587 * po/ko.po: Update from translation team.
9589 2000-05-05 Ulrich Drepper <drepper@redhat.com>
9591 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
9592 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
9593 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
9594 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
9595 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
9596 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
9598 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
9599 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
9600 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
9602 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
9603 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
9604 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
9605 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
9607 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
9608 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
9610 2000-05-05 Jes Sorensen <jes@linuxcare.com>
9612 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
9613 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
9615 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
9616 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
9618 * sysdeps/ia64/Implies: New file.
9619 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
9620 * sysdeps/ia64/Makefile: New file.
9621 * sysdeps/ia64/gmp-mparam.h: New file,
9623 * sysdeps/ia64/elf/start.S: New file.
9625 * sysdeps/ia64/bits/fenv.h: New file.
9627 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
9629 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
9631 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
9633 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
9634 ia64 has 64 bit .hash entries just as the Alpha.
9636 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
9638 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
9640 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
9642 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
9643 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
9644 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
9645 * sysdeps/ia64/fpu/fegetenv.c: New file.
9646 * sysdeps/ia64/fpu/fegetexcept.c: New file.
9647 * sysdeps/ia64/fpu/fegetround.c: New file.
9648 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
9649 * sysdeps/ia64/fpu/fesetenv.c: New file.
9650 * sysdeps/ia64/fpu/fesetround.c: New file.
9651 * sysdeps/ia64/fpu/feupdateenv.c: New file.
9652 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
9653 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
9654 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
9655 * sysdeps/ia64/fpu/ftestexcept.c: New file.
9657 2000-05-05 Andreas Jaeger <aj@suse.de>
9659 * misc/tst-tsearch.c (main): Correct type for initstate argument.
9661 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
9662 (_dl_string_hwcap): New, does nothing.
9664 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
9665 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
9666 (_dl_string_hwcap): New function, converts from string to hwcap
9668 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
9669 (_DL_HWCAP_COUNT): New.
9670 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
9671 (_dl_string_hwcap): New function, converts from string to hwcap
9673 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
9674 (_DL_HWCAP_COUNT): New.
9675 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
9676 (_dl_string_hwcap): New function, converts from string to hwcap
9679 2000-05-05 Ulrich Drepper <drepper@redhat.com>
9681 * elf/Makefile (distribute): Add dl-lookupcfg.h.
9682 * sysdeps/ia64/Dist: New file.
9684 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
9685 parameter to mprotect and for variable assignments.
9687 2000-05-03 Jes Sorensen <jes@linuxcare.com>
9689 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
9690 validity of map before dereferencing it.
9692 * elf/dl-reloc.c (RESOLVE_MAP): Define.
9694 2000-05-02 Jes Sorensen <jes@linuxcare.com>
9696 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
9697 lookup to the arguments to elf_machine_fixup_plt().
9699 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
9700 of the symbol being resolved to input argument list and make the
9701 function return the pointer to the reloc.
9703 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
9704 return valuie to lookup_t and return the value.
9705 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
9706 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
9707 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
9708 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
9709 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
9710 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
9712 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
9713 Make it an inline function returning value after calling
9714 __elf_machine_fixup_plt().
9716 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
9719 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
9720 obtain the symbol address.
9722 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
9723 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
9725 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
9726 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
9729 2000-04-28 Jes Sorensen <jes@linuxcare.com>
9731 * elf/dl-runtime.c (fixup): Use the portable macros to get the
9732 symbol address of an object.
9734 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
9735 the symbol address of an object.
9737 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
9738 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
9739 (_dl_lookup_symbol_skip): Likewise.
9740 (_dl_lookup_versioned_symbol): Likewise.
9741 (_dl_lookup_versioned_symbol_skip): Likewise.
9743 2000-04-27 Jes Sorensen <jes@linuxcare.com>
9745 * elf/rtld.c (_dl_start): Get the function pointer return address
9746 via _dl_start_address for architectures that need a function
9747 pointer descriptor rather than just a pointer (ia64).
9749 * sysdeps/generic/dl-lookupcfg.h: New file.
9750 * sysdeps/ia64/dl-lookupcfg.h: New file.
9751 * sysdeps/ia64/dl-machine.h: New file.
9752 * sysdeps/ia64/dl-symaddr.c: New file.
9753 * sysdeps/ia64/dl-fptr.c: New file.
9755 * elf/elf.h: Add IA-64 specific definitions.
9757 2000-05-04 Jakub Jelinek <jakub@redhat.com>
9759 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
9762 2000-05-04 Jakub Jelinek <jakub@redhat.com>
9764 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
9767 2000-04-11 Geoff Keating <geoffk@cygnus.com>
9769 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
9770 symbol. Call _dl_init rather than the old way.
9772 2000-05-04 Ulrich Drepper <drepper@redhat.com>
9774 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
9775 test for pointer in range of DSO address space.
9777 2000-05-04 Andreas Jaeger <aj@suse.de>
9779 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
9781 2000-05-03 Ulrich Drepper <drepper@redhat.com>
9783 * locale/findlocale.c (_nl_find_locale): Add new parameter to
9784 calls of _nl_make_l10nflist.
9786 * libio/stdio.h: Make fseeko and ftello prototypes available is
9787 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
9789 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
9790 real unsetenv implementation from 1999-07-29 [PR libc/1714].
9792 2000-05-03 Bruno Haible <haible@clisp.cons.org>
9794 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
9795 before calling tfind.
9797 2000-03-05 Jakub Jelinek <jakub@redhat.com>
9799 * resolv/resolv.h (res_querydomain): Remove redefinition to
9800 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
9802 2000-05-03 Ulrich Drepper <drepper@redhat.com>
9804 * po/gl.po: Update from translation team.
9806 * manual/intro.texi (Program Basics): Change section title.
9807 * manual/process.texi: Fix reference.
9808 (Executing a File): Add reference exec in other section.
9809 * manual/signal.texi: Fix reference.
9810 * manual/startup.texi: Document syscall function.
9811 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
9813 2000-04-29 Bruno Haible <haible@clisp.cons.org>
9815 * intl/libintl.h (bind_textdomain_codeset): New declaration.
9816 * intl/bindtextdom.c (set_binding_values): New function.
9817 (bindtextdomain): Call it.
9818 (bind_textdomain_codeset): New function.
9819 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
9820 (free_mem): Free each binding's codeset.
9821 * intl/gettextP.h (struct binding): Add codeset field.
9822 (_nl_find_domain): Add domainbinding argument.
9823 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
9824 Pass it to _nl_make_l10nflist.
9825 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
9826 (_nl_make_l10nflist): Add domainbinding argument.
9827 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
9828 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
9829 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
9831 * manual/message.texi: New node "Charset conversion in gettext".
9833 2000-04-30 Bruno Haible <haible@clisp.cons.org>
9835 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
9836 appropriate. Handle possible __read error.
9838 2000-04-29 Bruno Haible <haible@clisp.cons.org>
9840 * intl/gettextP.h (__builtin_expect): Define as empty if not a
9842 * intl/loadinfo.h (__builtin_expect): Likewise.
9843 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
9844 __builtin_expect where appropriate.
9845 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9846 * intl/localealias.c (extend_alias_table): Return an error indicator.
9847 (read_alias_file): Bail out if extend_alias_table fails.
9849 2000-04-29 Bruno Haible <haible@clisp.cons.org>
9851 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
9852 * intl/localealias.c: Likewise.
9854 2000-05-01 Bruno Haible <haible@clisp.cons.org>
9856 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
9857 Initialize domain->plural and domain->nplurals even if there is no
9860 2000-05-01 Bruno Haible <haible@clisp.cons.org>
9862 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
9863 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
9864 In case of failure, goto converted.
9866 2000-05-01 Bruno Haible <haible@clisp.cons.org>
9868 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
9869 * iconv/gconv_int.h (norm_add_slashes): Move to here.
9870 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
9873 2000-04-29 Bruno Haible <haible@clisp.cons.org>
9875 * intl/dcigettext.c (transcmp): Compare the domains as well.
9876 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
9878 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
9881 2000-05-03 Ulrich Drepper <drepper@redhat.com>
9883 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
9884 Reported by Bruno Haible.
9886 2000-04-29 Bruno Haible <haible@clisp.cons.org>
9888 * manual/arith.texi: Remove @w from @itemize.
9890 2000-05-02 Andreas Jaeger <aj@suse.de>
9892 * conform/data/tar.h-data: Add some checks for specific values.
9894 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
9897 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
9900 * conform/data/netinet/in.h-data: Add exact checks for the values
9901 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
9903 * conform/data/float.h-data: Add some minimal values.
9905 * conform/conformtest.pl: Test for macros with string constants,
9906 check for minimum and maximum values.
9907 Add limits.h to headers.
9909 * conform/data/cpio.h-data: Test for value of MAGIC.
9911 * conform/data/limits.h-data: New file.
9913 2000-04-30 Bruno Haible <haible@clisp.cons.org>
9915 * math/Makefile (headers): Add bits/fenvinline.h.
9917 2000-05-01 Ulrich Drepper <drepper@redhat.com>
9919 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
9920 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
9922 * posix/Versions: Change posix_spawnattr_getdefault and
9923 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
9924 and posix_spawnattr_setsigdefault respectively.
9925 * posix/spawn.h: Likewise.
9926 * posix/spawnattr_getdefault.h: Likewise.
9927 * posix/spawnattr_setdefault.h: Likewise.
9928 * conform/data/spawn.h-data: Likewise.
9930 2000-05-01 Andreas Jaeger <aj@suse.de>
9932 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
9934 2000-04-30 Ulrich Drepper <drepper@redhat.com>
9936 * manual/sysinfo.texi: Document getdomainname, setdomainname
9938 * manual/string.texi: Fix typo.
9939 * manual/terminal.texi: Document gtty and stty.
9940 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9942 2000-04-30 Andreas Jaeger <aj@suse.de>
9944 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
9945 accordance with Austin Draft.
9947 2000-04-30 Ulrich Drepper <drepper@redhat.com>
9949 * catgets/gencat.c (read_input_file): Use isblank and not isspace
9950 to recognize second character in comment line.
9952 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
9953 ENOBUFS if we are out of memory.
9955 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
9956 available if __USE_XOPEN2K.
9957 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
9958 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9959 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
9960 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9961 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
9962 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9963 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
9964 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
9966 2000-04-29 Ulrich Drepper <drepper@redhat.com>
9968 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
9969 Recognize option -s, -c, and -l.
9971 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
9973 * nscd/nscd.c: Start new session for nscd, drop privilegs
9974 to configured user if requested and no -S parameter are used.
9975 * nscd/nscd.conf: Add new option "server-user".
9976 * nscd/nscd_conf.c: Add support for new "server-user" option.
9977 * nscd/nscd.h: Add declaration for server_user variable.
9978 Based on patch by Chris Wing <wingc@engin.umich.edu>
9980 2000-04-29 Mark Kettenis <kettenis@gnu.org>
9982 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
9983 that changing the __restore and __restore_rt signal return code
9986 2000-04-29 Mark Kettenis <kettenis@gnu.org>
9988 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
9991 2000-04-29 Mark Kettenis <kettenis@gnu.org>
9993 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
9995 2000-04-29 Ulrich Drepper <drepper@redhat.com>
9997 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
9998 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
10000 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
10001 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
10002 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
10003 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
10004 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
10005 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
10006 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
10007 posix_fallocate, and posix_madvise.
10008 * conform/data/netdb.h-data: New file.
10009 * conform/data/pthread.h-data: Add pthread_barrier_t,
10010 pthread_barrierattr_t, pthread_barrier_destroy,
10011 pthread_barrier_init, pthread_barrier_wait,
10012 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
10013 pthread_barrierattr_init, pthread_barrierattr_setpshared,
10014 pthread_condattr_getclock, pthread_condattr_setclock,
10015 pthread_getcpuclockid, pthread_mutex_timedlock,
10016 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
10017 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
10018 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
10019 * conform/data/sched.h-data: Add sched_ss_low_priority,
10020 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
10022 * conform/data/semaphore.h-data: Add sem_timedwait.
10023 * conform/data/signal.h-data: Add SIGIO.
10024 * conform/data/spawn.h-data: New file.
10025 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
10026 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
10027 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
10028 Fix typo in gmtime_r definition.
10029 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
10030 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
10031 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
10032 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
10033 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
10034 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
10035 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
10036 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
10037 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
10038 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
10039 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
10040 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
10041 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
10042 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
10043 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
10044 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
10045 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
10046 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
10047 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
10048 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
10049 typo in off_t definition.
10050 * conform/data/net/if.h-data: New file.
10051 * conform/data/netinet/in.h-data: New file.
10052 * conform/data/netinet/tcp.h-data: New file.
10053 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
10054 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
10055 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
10056 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
10057 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
10058 and posix_typed_mem_open.
10059 * conform/data/sys/socket.h-data: New file.
10060 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
10061 * conform/data/sys/types.h-data: Add pthread_barrier_t,
10062 pthread_barrierattr_t, and pthread_spinlock_t.
10063 * conform/data/sys/un.h-data: New file.
10064 * conform/data/sys/utsname.h-data: New file.
10066 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
10068 * inet/gethstbyad.c (gethostbyname): Likewise.
10069 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
10070 * inet/getipnodebyad.c (getipnodebyad): Likewise.
10071 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
10072 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
10074 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
10075 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
10076 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
10077 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
10078 * resolv/gethnamaddr.c (gethostbyname): Likewise.
10079 * resolv/netdb.h (struct hostent): Fix type of h_length member.
10080 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
10081 and second parameter.
10083 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
10086 2000-04-29 Andreas Jaeger <aj@suse.de>
10088 * conform/data/arpa/inet.h-data: New file.
10090 2000-04-28 Geoff Clare <gwc@unisoft.com>
10092 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
10093 path passed to ftw() or nftw() is an empty string.
10094 Closes PR libc/1710.
10096 2000-04-27 Ulrich Drepper <drepper@redhat.com>
10098 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
10099 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
10100 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
10101 * localedata/tst-mbswcs4.c: New file.
10102 * localedata/tst-mbswcs5.c: New file.
10104 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
10105 == NULL. Little optimization.
10107 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
10108 DT_PREINIT_ARRAYSZ).
10109 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
10111 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
10112 overflows in conversion from ASCII.
10114 2000-04-26 Jakub Jelinek <jakub@redhat.com>
10116 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
10117 * Makerules (full_config_sysdirs): Likewise.
10118 * MakeTAGS (full_config_sysdirs): Likewise.
10120 2000-04-26 Jakub Jelinek <jakub@redhat.com>
10122 * .cvsignore: Remove linuxthreads.
10123 * po/.cvsignore: Remove *.pot.
10124 * posix/glob/.cvsignore: Removed.
10125 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
10127 2000-04-25 Andreas Jaeger <aj@suse.de>
10129 * conform/Makefile (distribute): Also distribute contents of
10132 * Makerules (no_deps): Remove abi-versions.h.
10134 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
10136 2000-04-25 Jakub Jelinek <jakub@redhat.com>
10138 * sysdeps/sparc/sparc64/elf/Dist: Remove.
10139 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
10140 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
10141 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
10142 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
10143 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
10146 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
10148 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
10150 2000-04-23 Bruno Haible <haible@clisp.cons.org>
10152 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
10153 * intl/l10nflist.c: Likewise.
10155 2000-04-23 Bruno Haible <haible@clisp.cons.org>
10157 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
10158 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
10159 * intl/textdomain.c [!_LIBC]: Likewise.
10160 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
10161 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
10162 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
10165 2000-04-23 Bruno Haible <haible@clisp.cons.org>
10167 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
10168 character set conversion also in the case the translation was found
10169 after a hash collision or through binary search. Store the maximum
10170 index together with the converted message. Use iconv() when available.
10171 In case of out of memory during conversion, return the unconverted
10172 translated string, not NULL.
10174 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
10176 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
10177 to avoid name clashes with the ia32 linker.
10179 2000-04-25 Jakub Jelinek <jakub@redhat.com>
10181 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
10184 2000-04-27 Ulrich Drepper <drepper@redhat.com>
10186 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
10187 strtoumax, strfry, and memfrob.
10188 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
10189 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
10191 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
10192 if this function is available.
10194 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
10197 2000-04-27 Jakub Jelinek <jakub@redhat.com>
10199 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
10201 2000-04-27 Ulrich Drepper <drepper@redhat.com>
10203 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
10204 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
10205 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
10206 * localedata/tst-mbswcs3.c: New file.
10208 2000-04-26 Ulrich Drepper <drepper@redhat.com>
10210 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
10211 characters. Don't handle incomplete characters as errors.
10212 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
10213 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
10214 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
10215 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
10216 * localedata/tst-mbswcs2.c: New file.
10218 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
10219 stored character in state in UNPACK_BYTES macro.
10220 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
10221 test for available characters, handle result of BODY code correctly.
10222 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
10223 (distribute): Add tst-mbswcs.sh.
10224 Add rule to run tst-mbswcs.sh.
10225 * localedata/tst-mbswcs.sh: New file.
10226 * localedata/tst-mbswcs1.c: New file.
10228 2000-04-26 Jakub Jelinek <jakub@redhat.com>
10230 * nis/nis_callback.c (__nis_create_callback): Do failed memory
10231 allocation fixups centrally, fix __builtin_expect call, return NULL
10232 on failure, not NIS_NOMEMORY.
10234 2000-04-27 Bruno Haible <haible@clisp.cons.org>
10236 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
10238 * intl/loadinfo.h (internal_function): Define if not already defined.
10240 2000-04-27 Andreas Jaeger <aj@suse.de>
10242 * intl/libintl.h: Fix typo, reported by Bruno Haible
10243 <haible@clisp.cons.org>.
10245 2000-04-25 Ulrich Drepper <drepper@redhat.com>
10247 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
10248 setting the state to GMON_PROF_BUSY.
10250 2000-04-24 Ulrich Drepper <drepper@redhat.com>
10252 * elf/dl-profile.c (_dl_start_profile): define all variables which
10253 do not have to be global as local variables.
10255 * nis/nis_callback.c (__nis_create_callback): Partially undo last
10256 patch. Keep needed tests for failed memory allocation.
10258 * elf/dl-reloc.c (_dl_relocate_object): Add one more
10259 __builtin_expect saying that we don't normally expect to profile.
10261 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
10262 __builtin_expect where desirable.
10264 2000-04-23 Ulrich Drepper <drepper@redhat.com>
10266 * manual/Makefile (chapters): Add syslog.
10267 * manual/syslog.texi: New file.
10268 * manual/math.texi: Fix references.
10269 * manual/terminal.texi: Likewise.
10270 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
10272 2000-04-18 Jakub Jelinek <jakub@redhat.com>
10274 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
10275 stdlib.h was not included or __USE_XOPEN not defined.
10277 2000-04-23 Ulrich Drepper <drepper@redhat.com>
10279 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
10280 Patch by Zack Weinberg <zack@wolery.cumb.org>.
10282 2000-04-22 Ulrich Drepper <drepper@redhat.com>
10284 * manual/examples/subopt.c (mount_opts): Add missing terminating
10286 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
10288 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
10289 * libio/ftello.c: Likewise.
10290 * libio/ftello64.c: Likewise.
10291 * libio/ioftell.c: Likewise.
10292 * sysdeps/generic/memrchr.c: Likewise.
10293 * sysdeps/posix/libc_fatal.c: Likewise.
10294 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10295 * misc/fstab.c: Include <string.h> for strcmp prototype.
10296 * sysdeps/generic/ldsodefs.h: Likewise.
10297 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10298 Patch by Kurt Roeckx <Q@ping.be>.
10300 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
10301 Remove db-open. Change all uses.
10302 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
10304 2000-04-21 Jakub Jelinek <jakub@redhat.com>
10306 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
10307 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
10308 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
10309 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
10310 with .set noat/at to shut up warnings.
10311 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
10312 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
10313 compilation if __NR_pciconfig_iobase is not defined.
10314 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
10317 2000-04-21 Ulrich Drepper <drepper@redhat.com>
10319 * manual/sysinfo.texi: Fix typo.
10320 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
10321 Replace "high precision time" with "high accuracy clock".
10323 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
10325 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
10326 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
10328 * nis/nis_subr.c: Use __builtin_expect.
10329 * nis/ypclnt.c: Likewise.
10330 * nis/nis_getservlist.c: Likewise.
10331 * nis/nis_creategroup.c: Likewise.
10333 * nis/nis_callback.c (__nis_create_callback): Check result of
10334 memory allocation. Fix memory leaks. Use __builtin_expect.
10335 (__nis_destroy_callback): Fix memory leaks.
10337 2000-04-21 Andreas Jaeger <aj@suse.de>
10339 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
10340 * sysdeps/mips/mips64/add_n.S: Likewise.
10341 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
10342 * sysdeps/mips/mips64/lshift.S: Likewise.
10343 * sysdeps/mips/mips64/mul_1.S: Likewise.
10344 * sysdeps/mips/mips64/rshift.S: Likewise.
10345 * sysdeps/mips/mips64/setjmp.S: Likewise.
10346 * sysdeps/mips/mips64/sub_n.S: Likewise.
10347 * sysdeps/mips/mips64/submul_1.S: Likewise
10348 * sysdeps/unix/mips/sysdep.S: Likewise.
10350 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
10351 and update comment. The strtab from _dl_relocate_object can be
10354 2000-04-21 Ulrich Drepper <drepper@redhat.com>
10356 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
10357 * iconv/iconv_close.c (iconv_close): Likewise.
10358 * iconv/iconv_open.c (iconv_open): Likewise.
10360 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
10361 __builtin_expect where useful.
10363 * grp/initgroups.c (initgroups): Test for result of memory
10364 allocation and punt if it fails.
10366 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
10367 * grp/fgetgrent.c (fgetfrent): Likewise.
10368 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
10370 2000-04-21 Jakub Jelinek <jakub@redhat.com>
10372 * libio/vasprintf.c: Include string.h to get memcpy prototype.
10374 2000-04-20 Ulrich Drepper <drepper@redhat.com>
10376 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
10377 don't search for NUL byte to decrement counter.
10378 Reported by Ulrich.Brink@sap.com.
10380 * iconv/gconv_simple.c: Define separate functions to convert from
10381 UCS4/UCS4-LE to the internal encoding.
10382 * iconv/gconv_builtin.h: Use separate functions to convert from
10383 UCS4/UCS4-LE to the internal encoding.
10384 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
10385 __gconv_transform_ucs4le_internal.
10387 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
10388 output buffer overflow. Reported by Ulrich.Brink@sap.com.
10390 * iconv/skeleton.c: Add some more __builtin_expect.
10391 * iconv/loop.c: Likewise.
10393 2000-03-08 H.J. Lu <hjl@gnu.org>
10395 * posix/regex.c (regex_compile): Correctly handle "\{" when
10396 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
10398 2000-04-20 Ulrich Drepper <drepper@redhat.com>
10400 * manual/stdio.texi: Give advise about handling error when using
10402 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
10404 2000-04-19 Jakub Jelinek <jakub@redhat.com>
10406 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
10407 field to nelems * sizeof (uint32_t).
10408 * locale/programs/ld-address.c (address_output): Align word fields
10410 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10411 Don't restart idx pointers to idx end at the duo_int_curr_symbol
10413 Avoid giving arbitrary garbage in the crncystr field.
10414 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
10415 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
10417 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10418 Don't restart idx pointers to idx end at the decimal_point_wc field.
10419 * locale/programs/ld-time.c (time_output): week_1stday should be
10420 word, not byte. Align it properly.
10422 2000-04-19 H.J. Lu <hjl@gnu.org>
10424 * csu/gmon-start.c (_start): Declared as "extern void".
10427 2000-04-18 Andreas Jaeger <aj@suse.de>
10429 * manual/install.texi (Running make install): Don't mention utmpd
10432 2000-04-18 Andreas Jaeger <aj@suse.de>
10434 * linuxthreads/Versions: Use ld instead of ld.so.
10436 * elf/Makefile (ld-map): Use ld.map.
10438 * Versions.def: Use ld instead of ld.so.
10439 * elf/Versions: Likewise.
10440 * sysdeps/mach/hurd/Versions: Likewise.
10442 2000-04-20 Andreas Jaeger <aj@suse.de>
10444 * elf/rtld.c (print_statistics): Move ifndef further up.
10445 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
10446 (dl_main): Likewise.
10448 2000-04-18 Ulrich Drepper <drepper@redhat.com>
10450 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
10451 * gmon/Versions: Move moncontrol to GLIBC_2.2.
10453 * po/cs.po: Update from translation team.
10455 * sysdeps/generic/updwtmp.c: Remove daemon support.
10457 * login/Makefile (routines): Remove utmp_daemon.
10459 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
10460 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
10461 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
10462 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
10464 * elf/rtld.c: Display statitics option also if hp timing is not
10467 * login/programs/connection.c: Removed.
10468 * login/programs/database.c Removed.
10469 * login/programs/error.c: Removed.
10470 * login/programs/request.c: Removed.
10471 * login/programs/xtmp.c: Removed.
10472 * login/programs/xtmp.h: Removed.
10473 * login/Makefile: Remove rules for utmpd.
10474 * login/README.utmpd: Removed.
10475 * login/utmp_daemon.c: Removed.
10476 * login/getutent_r.c: Remove references to daemon functions.
10477 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
10480 2000-04-18 Andreas Jaeger <aj@suse.de>
10482 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
10483 2.2 for libnsl, libresolv, librt, libnss_*.
10485 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
10487 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
10489 2000-04-18 Ulrich Drepper <drepper@redhat.com>
10491 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
10492 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
10493 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
10494 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
10495 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
10496 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
10497 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
10498 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
10499 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
10500 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
10501 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
10502 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
10503 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
10505 * sysdeps/unix/sysv/aix/msync.c: New file.
10506 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
10507 * sysdeps/unix/sysv/aix/net/if.h: New file.
10508 * sysdeps/unix/sysv/aix/pipe.c: New file.
10509 * sysdeps/unix/sysv/aix/poll.c: New file.
10510 * sysdeps/unix/sysv/aix/rename.c: New file.
10511 * sysdeps/unix/sysv/aix/rmdir.c: New file.
10512 * sysdeps/unix/sysv/aix/select.c: New file.
10513 * sysdeps/unix/sysv/aix/semctl.c: New file.
10514 * sysdeps/unix/sysv/aix/semget.c: New file.
10515 * sysdeps/unix/sysv/aix/semop.c: New file.
10516 * sysdeps/unix/sysv/aix/sendto.c: New file.
10517 * sysdeps/unix/sysv/aix/setgroups.c: New file.
10518 * sysdeps/unix/sysv/aix/setpgid.c: New file.
10519 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
10520 * sysdeps/unix/sysv/aix/setpriority.c: New file.
10521 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
10522 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
10523 * sysdeps/unix/sysv/aix/setsid.c: New file.
10524 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
10525 * sysdeps/unix/sysv/aix/shmat.c: New file.
10526 * sysdeps/unix/sysv/aix/shmctl.c: New file.
10527 * sysdeps/unix/sysv/aix/shmdt.c: New file.
10528 * sysdeps/unix/sysv/aix/shmget.c: New file.
10529 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
10530 * sysdeps/unix/sysv/aix/sigstack.c: New file.
10531 * sysdeps/unix/sysv/aix/socket.c: New file.
10532 * sysdeps/unix/sysv/aix/socketpair.c: New file.
10533 * sysdeps/unix/sysv/aix/speed.c: New file.
10534 * sysdeps/unix/sysv/aix/symlink.c: New file.
10535 * sysdeps/unix/sysv/aix/sync.c: New file.
10536 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
10537 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
10538 * sysdeps/unix/sysv/aix/times.c: New file.
10539 * sysdeps/unix/sysv/aix/ulimit.c: New file.
10540 * sysdeps/unix/sysv/aix/umask.c: New file.
10541 * sysdeps/unix/sysv/aix/unlink.c: New file.
10542 * sysdeps/unix/sysv/aix/ustat.c: New file.
10543 * sysdeps/unix/sysv/aix/utimes.c: New file.
10545 2000-04-18 Andreas Jaeger <aj@suse.de>
10547 * manual/startup.texi (Environment Access): Fix putenv prototype
10548 according to recent changes.
10549 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
10552 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
10555 2000-04-18 Ulrich Drepper <drepper@redhat.com>
10557 * posix/Makefile (tests): Add tst-getaddrinfo.
10558 * posix/tst-getaddrinfo.c: New file.
10560 2000-04-17 Ulrich Drepper <drepper@redhat.com>
10562 * manual/sysinfo.texi: Document that umount2 is not widely available.
10564 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
10565 signal timing is not really implemented.
10567 2000-04-17 Andreas Jaeger <aj@suse.de>
10569 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
10571 2000-04-17 Jakub Jelinek <jakub@redhat.com>
10573 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
10576 2000-04-17 Ulrich Drepper <drepper@redhat.com>
10578 * manual/intro.texi: Change reference from System Information to
10580 * manual/users.texi: Likewise.
10581 * manual/conf.texi: Likewise.
10582 * manual/sysinfo.texi: Document mount, umount, and umount2.
10583 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
10585 2000-04-17 Jakub Jelinek <jakub@redhat.com>
10587 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
10588 Create wnumstr as well as numstr to support wide character output
10591 2000-04-15 Jakub Jelinek <jakub@redhat.com>
10593 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
10594 modification and move it...
10595 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
10596 Add -melf64_sparc switch to $(LD) on sparc64-linux.
10597 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
10598 switch to $(LD) on sparc-linux.
10600 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
10602 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
10603 and setresuid from sysdep_routines.
10605 2000-04-17 Ulrich Drepper <drepper@redhat.com>
10607 * manual/Makefile (chapters): Add resource.
10609 * manual/time.texi: Move section on resources to...
10610 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
10612 * manual/setjmp.texi: Adjust back reference.
10613 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
10615 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
10617 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
10618 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
10619 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
10620 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
10621 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
10622 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
10623 * sysdeps/unix/sysv/aix/close.c: Add copyright.
10624 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
10625 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
10626 * sysdeps/unix/sysv/aix/access.c: Add copyright.
10627 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
10628 * sysdeps/unix/sysv/aix/Implies: New file.
10629 * sysdeps/unix/sysv/aix/Versions: New file.
10630 * sysdeps/unix/sysv/aix/bind.c: New file.
10631 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
10632 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
10633 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
10634 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
10635 * sysdeps/unix/sysv/aix/chdir.c: New file.
10636 * sysdeps/unix/sysv/aix/chmod.c: New file.
10637 * sysdeps/unix/sysv/aix/chroot.c: New file.
10638 * sysdeps/unix/sysv/aix/creat.c: New file.
10639 * sysdeps/unix/sysv/aix/dl-close.c: New file.
10640 * sysdeps/unix/sysv/aix/dl-open.c: New file.
10641 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
10642 * sysdeps/unix/sysv/aix/fchdir.c: New file.
10643 * sysdeps/unix/sysv/aix/fchmod.c: New file.
10644 * sysdeps/unix/sysv/aix/getgroups.c: New file.
10645 * sysdeps/unix/sysv/aix/gethostname.c: New file.
10646 * sysdeps/unix/sysv/aix/getpriority.c: New file.
10647 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
10648 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
10649 * sysdeps/unix/sysv/aix/getrusage.c: New file.
10650 * sysdeps/unix/sysv/aix/link.c: New file.
10651 * sysdeps/unix/sysv/aix/madvise.c: New file.
10652 * sysdeps/unix/sysv/aix/mkdir.c: New file.
10653 * sysdeps/unix/sysv/aix/mknod.c: New file.
10654 * sysdeps/unix/sysv/aix/mprotect.c: New file.
10655 * sysdeps/unix/sysv/aix/msgctl.c: New file.
10656 * sysdeps/unix/sysv/aix/msgget.c: New file.
10657 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
10659 2000-04-17 Andreas Jaeger <aj@suse.de>
10661 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
10662 as suggested by Ulrich Drepper.
10663 (__dl_runtime_resolve): Remove unused variable, initialize sym
10665 (RTLD_START): Document OFFSET_GP_GOT.
10666 (OFFSET_GP_GOT): New magic value.
10667 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
10668 (elf_machine_got_rel): Only declare strtab if needed.
10669 (elf_machine_relplt): Removed, it's not needed.
10670 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
10672 * sysdeps/mips/add_n.S: Add newline at EOF.
10673 * sysdeps/mips/rshift.S: Likewise.
10674 * sysdeps/mips/mul_1.S: Likewise.
10675 * sysdeps/mips/lshift.S: Likewise.
10676 * sysdeps/mips/addmul_1.S: Likewise.
10678 2000-04-17 Ulrich Drepper <drepper@redhat.com>
10680 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
10682 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
10683 * elf/dl-lookup.c: Likewise.
10684 * elf/dl-init.c (_dl_init): Likewise.
10685 * elf/dl-fini.c (_dl_fini): Likewise.
10686 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
10687 * elf/dl-close.c (_dl_close): Likewise.
10688 * elf/rtld.c (_dl_start_final): Likewise.
10690 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
10692 2000-04-15 Ulrich Drepper <drepper@redhat.com>
10694 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
10695 only fall back on using Linux.
10697 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
10698 Before testing versions check that we actually loaded the object
10699 and whether we are in trace mode. If not loaded during tracing don't
10700 test versions in this object.
10701 (_dl_check_all_versions): Take new parameter and pass to
10702 _dl_check_map_versions.
10703 * sysdeps/generic/ldsodefs.h: Update prototypes for
10704 _dl_check_all_versions and _dl_check_map_versions.
10705 * elf/rtld.c (struct version_check_args): Add dotrace.
10706 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
10707 (dl_main): Pass info about trace mode to version_check_doit.
10708 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
10709 _dl_check_all_versions.
10711 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
10713 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
10715 * manual/argp.texi: Document index parameter of argp_parse.
10717 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
10719 2000-04-14 Andreas Jaeger <aj@suse.de>
10721 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
10722 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
10724 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
10726 2000-04-15 Ulrich Drepper <drepper@redhat.com>
10728 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
10729 compat_symbol call for old adjtime.
10731 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
10732 function interface. Patch by Richard Henderson <rth@cygnus.com>.
10734 * posix/Makefile (headers): Add spawn.h.
10735 (distribute): Add spawn_int.h.
10736 (routines): Add spawn_faction_init, spawn_faction_destroy,
10737 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
10738 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
10739 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
10740 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
10741 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
10742 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
10743 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
10744 posix_spawnattr_init, posix_spawnattr_destroy,
10745 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
10746 posix_spawnattr_getflags, posix_spawnattr_setflags,
10747 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
10749 * posix/spawn.c: New file.
10750 * posix/spawn.h: New file.
10751 * posix/spawn_faction_addclose.c: New file.
10752 * posix/spawn_faction_adddup2.c: New file.
10753 * posix/spawn_faction_addopen.c: New file.
10754 * posix/spawn_faction_destroy.c: New file.
10755 * posix/spawn_faction_init.c: New file.
10756 * posix/spawn_int.h: New file.
10757 * posix/spawnattr_destroy.c: New file.
10758 * posix/spawnattr_getdefault.c: New file.
10759 * posix/spawnattr_getflags.c: New file.
10760 * posix/spawnattr_getpgroup.c: New file.
10761 * posix/spawnattr_getschedparam.c: New file.
10762 * posix/spawnattr_getschedpolicy.c: New file.
10763 * posix/spawnattr_getsigmask.c: New file.
10764 * posix/spawnattr_init.c: New file.
10765 * posix/spawnattr_setdefault.c: New file.
10766 * posix/spawnattr_setflags.c: New file.
10767 * posix/spawnattr_setpgroup.c: New file.
10768 * posix/spawnattr_setschedparam.c: New file.
10769 * posix/spawnattr_setschedpolicy.c: New file.
10770 * posix/spawnattr_setsigmask.c: New file.
10771 * posix/spawni.c: New file.
10772 * posix/spawnp.c: New file.
10774 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
10775 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
10777 2000-04-14 Ulrich Drepper <drepper@redhat.com>
10779 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
10780 * malloc/malloc.c: Implement posix_memalign for glibc.
10781 * include/stdlib.h: Add prototype for __posix_memalign.
10782 * stdlib/stdlib.h: Add prototype for posix_memalign.
10784 2000-04-14 Andreas Jaeger <aj@suse.de>
10786 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
10788 (elf_machine_got_rel): Cast sym correctly.
10790 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
10791 * sysdeps/mips/addmul_1.S: Likewise.
10792 * sysdeps/mips/lshift.S: Likewise.
10793 * sysdeps/mips/mul_1.S: Likewise.
10794 * sysdeps/mips/rshift.S: Likewise.
10795 * sysdeps/mips/sub_n.S: Likewise.
10796 * sysdeps/mips/submul_1.S: Likewise.
10798 * stdlib/stdlib.h: Fix typo in comment.
10800 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
10801 2.2 for libdl, ld and libm.
10803 * sysdeps/generic/madvise.c: Fix typos.
10805 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
10807 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
10809 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
10812 2000-04-14 Ulrich Drepper <drepper@redhat.com>
10814 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
10815 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
10816 Make old name weak alias.
10817 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
10818 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
10819 Make old name weak alias.
10820 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
10822 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
10823 posix_fallocate, and posix_fallocate64.
10824 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
10825 posix_fallocate, and posix_fallocate64.
10826 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
10827 posix_fallocate, and posix_fallocate64.
10828 * sysdeps/generic/fadvise.c: New file.
10829 * sysdeps/generic/fadvise64.c: New file.
10830 * sysdeps/generic/fallocate.c: New file.
10831 * sysdeps/generic/fallocate64.c: New file.
10832 * sysdeps/posix/fallocate.c: New file.
10833 * sysdeps/posix/fallocate64.c: New file.
10834 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
10835 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
10836 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
10837 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
10838 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
10839 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
10840 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10841 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
10842 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10844 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
10845 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10847 2000-04-13 Ulrich Drepper <drepper@redhat.com>
10849 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
10850 * misc/sys/mman.h (posix_madvise): Add prototype.
10851 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
10852 old name and posix_madvise weak aliases.
10853 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10854 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
10855 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
10856 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
10857 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
10858 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10859 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10861 2000-04-13 Andreas Jaeger <aj@suse.de>
10863 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
10865 (elf_machine_got_rel): Only add runtime display if needed.
10866 (elf_machine_got_rel): Handle symbol versioning.
10868 2000-04-13 Andreas Jaeger <aj@suse.de>
10870 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
10872 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
10875 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
10876 with some applications.
10877 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
10879 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
10880 * sysdeps/mips/bsd-_setjmp.S: Likewise.
10881 * sysdeps/mips/setjmp.S: Likewise.
10883 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
10885 2000-04-13 Ulrich Drepper <drepper@redhat.com>
10887 * posix/globtest.sh: Work around inconsistency with expanding ~/
10888 in shell (PR libc/1690). Reported by patsmith@pobox.com.
10890 2000-04-12 Ulrich Drepper <drepper@redhat.com>
10892 * posix/getconf.c: Add support for many more POSIX options.
10893 * sysdeps/posix/sysconf.c: Likewise.
10894 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
10895 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
10897 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
10898 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
10899 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
10900 CLOCK_THREAD_CPUTIME_ID.
10901 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
10902 CLOCK_PROCESS_CPUTIME_ID.
10903 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
10904 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
10905 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
10906 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
10908 * malloc/Makefile (tests): Add tst-calloc.
10909 * malloc/tst-calloc.c: New file.
10911 * sysdeps/arm/libm-test-ulps: New file.
10913 * malloc/malloc.c: Undo all of today's changes.
10915 * locale/programs/locale.c (show_info): Don't try to look into
10916 data for LC_ALL (there is none).
10918 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
10919 avoid writing over boundary.
10920 Patch by Greg McGary <gkm@eng.ascend.com>.
10922 * sysdeps/arm/memprof.h: New file.
10924 2000-04-12 Andreas Jaeger <aj@suse.de>
10926 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
10928 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
10929 for memmem declaration.
10931 2000-04-12 Ulrich Drepper <drepper@redhat.com>
10933 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
10935 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
10937 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
10939 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
10940 Patch by Bart Veer <bartv@redhat.com>.
10942 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
10943 function interface.
10945 2000-04-11 Andreas Jaeger <aj@suse.de>
10947 * sysdeps/mips/dl-machine.h: Update some comments.
10948 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
10950 2000-04-11 Ulrich Drepper <drepper@redhat.com>
10952 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
10953 _POSIX_SHARED_MEMORY_OBJECTS.
10955 * rt/Makefile (tests): Add tst-shm.
10956 Add rules to generate tst-shm.
10957 * rt/tst-shm.c: New file.
10959 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
10962 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
10963 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
10964 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
10965 * sysdeps/generic/shm_open.c: New file.
10966 * sysdeps/generic/shm_unlink.c: New file.
10967 * sysdeps/unix/sysv/linux/shm_open.c: New file.
10968 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
10969 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
10970 __endmntent, __getmntent_r, __setmntent, and __statfs.
10972 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
10973 fragmentation by allocating new memory at the end instead of
10976 * posix/globtest.sh: Fix last change.
10978 2000-04-10 Philip Blundell <philb@gnu.org>
10980 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
10981 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
10982 IPV6_DROP_MEMBERSHIP.
10983 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
10986 2000-04-11 Ulrich Drepper <drepper@redhat.com>
10988 * elf/readlib (process_file): Close streams in case of an error.
10990 2000-04-09 Andreas Jaeger <aj@suse.de>
10992 * elf/readlib.c (process_file): Check if file is big enough to
10993 contain aout and ELF headers.
10994 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
10996 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
10998 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
11000 2000-04-11 Ulrich Drepper <drepper@redhat.com>
11002 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
11004 * rt/Makefile (tests): Add tst-clock.
11005 Add rules to build tst-clock.
11006 * rt/tst-clock.c: New file.
11007 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
11008 about initialization of nsec.
11009 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
11010 about initialization of freq. Set retval to zero if successful.
11011 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
11013 2000-04-10 Ulrich Drepper <drepper@redhat.com>
11015 * Versions.def (librt): Add GLIBC_2.2.
11016 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
11017 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
11018 timer_getoverr, timer_gettime, and timer_settime.
11019 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
11020 clock_settime, timer_create, timer_delete, timer_getoverrun,
11021 timer_gettime, and timer_settime.
11022 * sysdeps/generic/clock_getcpuclockid.c: New file.
11023 * sysdeps/generic/get_clockfreq.c: New file.
11024 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
11025 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
11026 * sysdeps/mach/hurd/i386/bits/time.h: New file.
11027 * sysdeps/unix/i386/i586/clock_getres.c: New file.
11028 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
11029 * sysdeps/unix/i386/i686/Implies: New file.
11030 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
11031 * time/Makefile (routines): Move clock_getres, clock_gettime,
11032 clock_settime, timer_create, timer_delete, timer_getoverr,
11033 timer_gettime, and timer_settime to rt/Makefile.
11034 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
11035 clock_settime, timer_create, timer_delete, timer_getoverrun,
11036 timer_gettime, and timer_settime.
11037 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
11039 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
11040 and not const as attribute name.
11042 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
11044 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
11046 2000-04-10 Andreas Schwab <schwab@suse.de>
11048 * posix/globtest.sh: Skip tests that depend on unreadable
11049 directories if run as root.
11051 2000-04-10 Ulrich Drepper <drepper@redhat.com>
11053 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
11054 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
11056 2000-04-09 Ulrich Drepper <drepper@redhat.com>
11058 * sysdeps/unix/clock_gettime.c: New file.
11059 * sysdeps/unix/clock_settime.c: New file.
11060 * sysdeps/posix/clock_getres.c: New file.
11062 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
11064 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
11065 lseek call be passing in a buffer which never allow a successful
11066 first getdents syscall if not at leas the initial entry can be
11067 stored in the user buffer.
11069 * localedata/Makefile: Add rules to clean up directories created by
11072 2000-04-09 Geoff Clare <gwc@unisoft.com>
11074 * localedata/tst-fmon.data: Added new tests for strfmon()
11075 using test locales with all combinations of cs_precedes,
11076 sign_posn and sep_by_space.
11077 * localedata/tst-fmon.sh: Updated to support the new tests.
11078 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
11079 the localedef source for the new strfmon() test locale.
11080 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
11081 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
11082 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
11083 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
11084 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
11085 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
11086 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
11087 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
11088 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
11089 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
11090 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
11091 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
11092 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
11093 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
11095 * stdlib/strfmon.c: Correct problems with missing or extra
11096 spaces for unusual combinations of sign_posn and sep_by_space.
11097 Improved left-precision alignment code.
11099 2000-04-07 Andreas Jaeger <aj@suse.de>
11101 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
11103 2000-04-10 Andreas Jaeger <aj@suse.de>
11105 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
11107 2000-04-09 Ulrich Drepper <drepper@redhat.com>
11109 Implement handling of restartable conversion functions according to
11111 * iconv/gconv.h (__gconv_fct): Add additional parameter.
11112 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
11113 * iconv/gconv.c: Pass additional parameter to conversion function.
11114 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
11115 (internal_ucs4le_loop_single): New function.
11116 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
11117 (__gconv_transform_internal_ascii): Likewise.
11118 (__gconv_transform_internal_utf8): Likewise.
11119 (__gconv_transform_utf8_internal): Likewise.
11120 (__gconv_transform_ucs2_internal): Likewise.
11121 (__gconv_transform_internal_ucs2): Likewise.
11122 (__gconv_transform_ucs2reverse_internal): Likewise.
11123 (__gconv_transform_internal_ucs2reverse): Likewise.
11124 (internal_ucs4le_loop_unaligned): Before return
11125 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
11126 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
11127 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
11128 * iconv/loop.c: Fit in definition of function to convert one character
11129 for processing of left-over bytes from the state object.
11130 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
11131 inend to match names in loop functions.
11132 (RESET_INPUT_BUFFER): Change apprpriately.
11133 (gconv): If needed, call function to process bytes from the state
11134 object. Similar at the end: store left over bytes if input is
11136 Take extra argument and add new argument to all calls of the
11137 conversion function.
11138 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
11139 information in the state object to not conflict with length count.
11140 * iconvdata/iso-2022-jp.c: Likewise.
11141 * iconvdata/iso-2022-kr.c: Likewise.
11142 * iconvdata/unicode.c: Adjust for change change in parameters of
11144 * iconvdata/utf-16.c: Likewise.
11145 * libio/iofwide.c: Add new parameter to all calls of conversion
11147 * wcsmbs/btowc.c: Likewise.
11148 * wcsmbs/mbrtowc.c: Likewise.
11149 * wcsmbs/mbsnrtowcs.c: Likewise.
11150 * wcsmbs/mbsrtowcs.c: Likewise.
11151 * wcsmbs/wcrtomb.c: Likewise.
11152 * wcsmbs/wcsnrtombs.c: Likewise.
11153 * wcsmbs/wcsrtombs.c: Likewise.
11154 * wcsmbs/wctob.c: Likewise.
11156 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
11159 2000-04-07 Andreas Jaeger <aj@suse.de>
11161 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
11164 2000-04-07 Ulrich Drepper <drepper@redhat.com>
11166 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
11167 element a union to allow byte access.
11168 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
11170 * iconvdata/iso-2022-jp.c: Likewise.
11171 * iconvdata/iso-2022-kr.c: Likewise.
11172 * wcsmbs/mbsinit.c: Likewise.
11173 * stdlib/mblen.c: Likewise.
11174 * stdio-common/printf-parse.h: Likewise.
11176 2000-04-06 Ulrich Drepper <drepper@redhat.com>
11178 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
11179 kernel does not allow relative seeks on descriptors associated
11180 with directories. Go back to get the position in the directory
11181 every time we enter the function. Return -1 and set errno if one
11182 entry could be read from the kernel but does not fit into the
11183 buffer passed in by the user.
11185 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
11186 Support ..(2).. ellipsis.
11187 (parse_charmap): Recognize ..(2).. etc and pass step down.
11188 Correctly generate names for UCS4 characters.
11190 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
11191 (ctype_finish): We know the wide character value for <SP>,
11193 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
11194 (charclass_ucs4_ellipsis): Likewise.
11195 (read_translit_ignore_entry): Store ellipsis step.
11196 (ctype_read): Recognize ..(2).. etc and pass step down.
11198 * locale/programs/linereader.c (lr_token): When seeing comment
11199 character ignore only rest of line in sources but stop at escaped
11201 Recognize ..(2).. and ....(2).....
11203 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
11204 and tok_ellipsis4_2.
11206 2000-04-06 Andreas Jaeger <aj@suse.de>
11208 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
11209 removed, remove it here also.
11210 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
11211 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
11212 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
11213 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
11215 2000-04-06 Jakub Jelinek <jakub@redhat.com>
11217 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
11218 include bits/sigcontext.h.
11219 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11221 2000-04-06 Ulrich Drepper <drepper@redhat.com>
11223 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
11224 collation symbol definition. Value in quivalence definition must
11225 be defined, don't check that it is not.
11227 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
11228 values as character names.
11230 * locale/programs/ld-ctype.c (get_character): Handle missing
11231 repertoire map correctly.
11233 2000-04-05 Cristian Gafton <gafton@redhat.com>
11235 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
11236 because it is used in generic code.
11237 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
11238 * wcsmbs/wcwidth.h: Declare __ctype32_b.
11239 * intl/gettext.c: Include <locale.h>.
11240 * intl/ngettext.c: Likewise.
11242 2000-04-05 Jakub Jelinek <jakub@redhat.com>
11244 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
11245 socklen_t type for size.
11246 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
11247 init function interface.
11248 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11249 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
11251 (__jmp_buf): Declare the whole type structure here, don't use
11254 2000-04-05 Ulrich Drepper <drepper@redhat.com>
11256 * iconv/skeleton.c (put16u): Fix typo.
11257 Reported by Bruno Haible <haible@ilog.fr>.
11259 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
11260 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
11261 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
11262 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
11263 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
11264 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
11266 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
11267 * Makefile (distribute): Add abi-versions.awk and
11269 Patches by Torsten Duwe <duwe@caldera.de>.
11271 2000-04-05 Andreas Schwab <schwab@suse.de>
11273 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
11275 2000-04-05 Andreas Schwab <schwab@suse.de>
11277 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
11278 entry point, used on Hurd.
11280 2000-04-04 Andreas Jaeger <aj@suse.de>
11282 * intl/Makefile: Only run the gettext test with shared libraries.
11284 2000-03-16 Mark Kettenis <kettenis@gnu.org>
11286 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
11287 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
11289 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
11291 * Makeconfig: Undo last change.
11292 * configure.in: If --disable-shared was given, don't set VERSIONING,
11293 don't define DO_VERSIONING, and don't give scare warning for no
11295 * configure: Regenerated.
11297 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
11299 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
11301 2000-04-04 Andreas Jaeger <aj@suse.de>
11303 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
11305 2000-04-04 Ulrich Drepper <drepper@redhat.com>
11307 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
11308 STV_HIDDEN and STV_INTERNAL during lookup.
11309 (profile_fixup): Likewise.
11310 * elf/dl-reloc.c (RESOLVE): Likewise.
11312 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
11313 unaligned so that it compiles for system which need unaligned
11316 2000-04-04 Andreas Schwab <schwab@suse.de>
11318 * elf/cache.c (print_entry): Only look at the type field when
11321 2000-04-04 Andreas Schwab <schwab@suse.de>
11323 * iconvdata/big5.c (BODY): Fix typo.
11325 2000-04-04 Andreas Schwab <schwab@suse.de>
11327 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
11328 function interface. Remove unused _dl_start_user entry point.
11330 2000-04-03 Andreas Jaeger <aj@suse.de>
11332 * include/arpa/inet.h (__inet_aton): Add protoype.
11334 2000-04-01 Andreas Jaeger <aj@suse.de>
11336 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
11338 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
11339 * sysdeps/mach/mips/thread_state.h: Likewise.
11341 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
11342 * sysdeps/generic/fegetenv.c: Likewise.
11343 * sysdeps/generic/fesetenv.c: Likewise.
11344 * sysdeps/generic/feupdateenv.c: Likewise.
11345 * sysdeps/generic/fraiseexcpt.c: Likewise.
11346 * sysdeps/generic/fsetexcptflg.c: Likewise.
11347 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
11348 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
11349 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
11350 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11352 2000-04-02 H.J. Lu <hjl@gnu.org>
11354 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
11356 2000-04-03 Ulrich Drepper <drepper@redhat.com>
11358 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
11359 (add_name_to_object): Add cast in malloc call.
11360 (fillin_rpath): Optimize loop to initialize ->status a bit.
11362 * sysdeps/i386/dl-machine.h: Undo last change.
11363 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
11364 Restore %edx register after call here.
11366 * sysdeps/arm/atomicity.h: New file.
11367 Contributed by Jesper Skov <jskov@redhat.com>.
11369 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
11371 * Makeconfig (preprocess-versions): Undo last change.
11372 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
11374 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
11375 here, before we might move the stack.
11376 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
11377 (init1): And not here.
11379 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
11380 change, to restore argc value in call-clobbered register after
11381 RTLD_START_SPECIAL_INIT, which will contain a call.
11383 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
11384 allocating and initializing L->l_initfini.
11386 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
11388 2000-04-03 Ulrich Drepper <drepper@redhat.com>
11390 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
11391 RUNPATH, RPATH, and LD_LIBRARY_PATH.
11392 (open_path): Change type of fourth parameter. Make pointer to array
11393 of pointers. Create variable dirs with original type.
11394 Track whether any directory for the object exists and if not,
11395 change *DIRSP to (void*) -1 to signal there is no such search path.
11396 (_dl_map_object): Change all calls of open_path.
11397 Rewrite decompose_rpath calls.
11399 2000-03-31 Andreas Schwab <schwab@suse.de>
11401 * string/strfry.c: Declare STATE as array of char instead of int
11402 and do not initialize it (done by initstate_r). Pass correct
11405 2000-04-03 Ulrich Drepper <drepper@redhat.com>
11407 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
11409 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
11410 instruction out of the code.
11412 2000-04-02 Ulrich Drepper <drepper@redhat.com>
11414 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
11415 element at this position.
11417 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
11418 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
11419 l_reldeps elements.
11420 * elf/dl-lookup.c (add_dependency): New function.
11421 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
11422 dynamically loaded object.
11423 (_dl_lookup_symbol_skip): Likewise.
11424 (_dl_lookup_versioned_symbol): Likewise.
11425 (_dl_lookup_versioned_symbol_skip): Likewise.
11426 * elf/dl-open.c: Don't define _dl_load_lock here...
11427 * elf/rtld.c: ...but here...
11428 * elf/dl-support.c: ...and here.
11429 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
11430 through relocation.
11431 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
11433 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
11435 * dlfcn/glrefmain.c: Add one more debug message.
11437 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
11439 * Makerules (sysd-versions): Use ( ) instead of { }.
11441 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
11442 optimize for the non-debugging case.
11443 * elf/dl-lookup.c: Likewise.
11444 * sysdeps/generic/libc-start.c: Likewise.
11446 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
11448 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
11449 (init1): Don't initialize __environ here, since init already does it.
11450 (first_init): New function, broken out of _init.
11451 (_hurd_stack_setup): Use it.
11452 [SHARED] (_dl_init_first): New function, renamed from old _init.
11453 (init1) [SHARED]: Don't call posixland_init here.
11454 (posixland_init): Take ENVP arg, so signature is usual for initializer.
11455 [SHARED] (_init): Define as alias for posixland_init.
11456 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
11457 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
11458 RTLD_START_SPECIAL_INIT before calling initializers.
11459 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
11460 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
11461 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
11462 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
11464 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
11465 since we define the function with the name `tmpfile'.
11467 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
11468 * hurd/Versions: Likewise.
11470 2000-04-02 Ulrich Drepper <drepper@redhat.com>
11472 * elf/dl-runtime.c (fixup): Fix typo in comment.
11474 * resolv/netdb.h (getnameinfo): All length parameters are of type
11476 * inet/getnameinfo.c: Likewise.
11478 2000-04-01 Ulrich Drepper <drepper@redhat.com>
11480 * posix/unistd.h (socklen_t): Define if it has not yet happened.
11481 (gethostname): Change type of second parameter to socklen_t.
11482 * include/unistd.h (__gethostname): Change type of second
11483 parameter to socklen_t.
11484 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
11485 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
11486 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
11487 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
11489 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
11490 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
11491 Allow definition elsewhere.
11492 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
11493 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11494 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
11495 * sysdeps/generic/bits/types.h: Define __socklen_t.
11496 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
11497 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
11498 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
11499 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
11500 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
11501 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
11502 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
11504 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
11505 (inet_lnaof): Likewise.
11506 (inet_netof): Likewise.
11507 (inet_network): Likewise.
11508 (inet_aton): Likewise.
11509 (inet_makeaddr): Change parameter types to in_addr_t.
11510 (inet_neta): Likewise.
11511 (inet_ntop): Change type of last parameter to socklen_t.
11512 (inet_aton): Only make available if __USE_MISC.
11513 (inet_neta): Likewise.
11514 (inet_net_ntop): Likewise.
11515 (inet_net_pton): Likewise.
11516 (inet_nsap_ntoa): Likewise.
11518 * inet/in.h: Define in_port_t type.
11519 Define in_addr_t type.
11520 (struct in_addr): Use in_addr_t in definition.
11521 (IN_CLASSA): Use cast to in_addr_t.
11522 (IN_CLASSB): Likewise.
11523 (IN_CLASSC): Likewise.
11524 (IN_CLASSD): Likewise.
11525 (IN_EXPERIMENTAL): Likewise.
11526 (IN_BADCLASS): Likewise.
11527 (INADDR_ANY): Likewise.
11528 (INADDR_BROADCAST): Likewise.
11529 (INADDR_NONE): Likewise.
11530 (INADDR_LOOPBACK): Likewise.
11531 (INADDR_UNSPEC_GROUP): Likewise.
11532 (INADDR_ALLHOSTS_GROUP): Likewise.
11533 (INADDR_ALLRTRS_GROUP): Likewise.
11534 (INADDR_MAX_LOCAL_GROUP): Likewise.
11535 (struct sockaddr_in): Use in_port_t for sin_port element.
11536 (struct sockaddr_in6): Use in_port_t for sin6_port element.
11537 Use uint8_t instead of u_int8_t.
11539 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
11540 Call __inet_aton instead of inet_aton.
11541 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
11543 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
11544 (innetgr): Likewise.
11545 (struct addrinfo): Use socklen_t for ai_addrlen element.
11547 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
11548 IPV6_RECVERR): New defines.
11550 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
11551 * inet/getnetbyad.c: Likewise.
11552 * inet/getnetbyad_r.c: Likewise.
11553 * nis/nss_nis/nis-network.c: Likewise.
11554 * nis/nssplus_nis/nisplus-network.c: Likewise.
11555 * nss/nss_files/files-network.c: Likewise.
11556 * resolv/netdb.h: Define uint32_t if not already happened.
11557 Include bits/netdb.h. Remove definition of struct netent.
11558 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
11559 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
11560 * sysdeps/generic/bits/netdb.h: New file.
11561 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
11563 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
11564 (tests): Add glrefmain.
11565 Add rules to build modules and run tests. Ignore result of glrefmain
11566 for now since it fails.
11567 * dlfcn/glrefmain.c: New file.
11568 * dlfcn/glreflib1.c: New file.
11569 * dlfcn/glreflib2.c: New file.
11571 * test-skeleton.c: Include <string.h> for strsignal prototype.
11573 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
11576 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
11577 former init-first.h. Initialize __libc_multiple_libcs.
11579 2000-03-31 Ulrich Drepper <drepper@redhat.com>
11581 * iconv/skeleton.c: Define access macros with u suffix. Adjust
11582 #if expression for use of unaligned function to the one used in
11583 the definition of these functions.
11584 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
11585 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
11586 (internal_ucs4le_loop_unaligned): New function.
11588 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
11589 (tests): Add order.
11590 (module-names): Add dep1, dep2, dep3, and dep4.
11591 Add dependencies for dep* modules and order.
11592 Define rule for order.out which checks the result.
11593 * elf/dep1.c: New file.
11594 * elf/dep2.c: New file.
11595 * elf/dep3.c: New file.
11596 * elf/dep4.c: New file.
11597 * elf/order.c: New file.
11599 * elf/dl-init.c: Fix typo in comment.
11601 2000-03-31 Andreas Jaeger <aj@suse.de>
11603 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
11604 init function interface.
11605 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
11607 2000-03-31 Andreas Jaeger <aj@suse.de>
11609 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
11610 * sysdeps/mips/fpu/fegetenv.c: Likewise.
11611 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
11612 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
11613 * sysdeps/mips/fpu/fesetenv.c: Likewise.
11615 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
11616 anymore, update comment.
11618 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11620 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
11621 SHLIB_COMPAT - the struct is always needed.
11623 2000-03-31 Ulrich Drepper <drepper@redhat.com>
11625 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
11626 * elf/dl-support.c: Define _dl_starting_up.
11628 2000-03-30 Ulrich Drepper <drepper@redhat.com>
11630 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
11631 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
11633 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
11635 * elf/Makefile (dl-routines): Remove preinit.
11636 * elf/Versions: Remove _dl_preinit.
11637 * elf/dl-preinit.c: Removed. Move content into...
11638 * elf/dl-init.c: ...here.
11639 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
11641 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
11644 2000-03-29 Geoff Clare <gwc@unisoft.com>
11646 * stdlib/strfmon.c: Corrected problems with the code that
11647 sets default values for [np]_sep_by_space and
11648 [np]_sign_posn; also the new positive/negative alignment
11649 code from the previous patch was not quite right for
11650 [np]_sign_posn = 0.
11652 * localedata/tst-fmon.data: Changes corresponding to the
11653 two sets of fixes made to stdlib/strfmon.c.
11655 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
11657 * malloc/malloc.c: Declare bit flags UL so that they will not
11658 default to int size when being inverted.
11660 2000-03-29 Andreas Jaeger <aj@suse.de>
11662 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
11663 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
11665 2000-03-29 Andreas Jaeger <aj@suse.de>,
11666 Ralf Baechle <ralf@uni-koblenz.de>
11668 * Makeconfig: Introduce new variable SHARED to mark code used in
11669 the shared library.
11670 * elf/dl-close.c: Use it instead of PIC.
11671 * elf/dl-load.c: Likewise.
11672 * elf/dl-open.c: Likewise.
11673 * hurd/geteuids.c: Likewise.
11674 * include/libc-symbols.h: Likewise.
11675 * include/shlib-compat.h: Likewise.
11676 * libio/freopen.c: Likewise.
11677 * linuxthreads/cancel.c: Likewise.
11678 * linuxthreads/pthread.c: Likewise.
11679 * linuxthreads/wrapsyscall.c: Likewise.
11680 * nss/nsswitch.c: Likewise.
11681 * stdio-common/vfprintf.c: Likewise.
11682 * sysdeps/arm/init-first.c: Likewise.
11683 * sysdeps/i386/init-first.c: Likewise
11684 * sysdeps/generic/init-first.c: Likewise.
11685 * sysdeps/generic/libc-start.c: Likewise.
11686 * sysdeps/mips/init-first.c: Likewise.
11687 * sysdeps/powerpc/elf/libc-start.c: Likewise.
11688 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11689 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
11690 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
11691 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11693 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
11695 2000-03-29 Andreas Jaeger <aj@suse.de>
11697 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
11698 Use D_PTR to access relocated entries in l_info.
11699 (elf_machine_rela): Likewise.
11701 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
11703 (elf_machine_rela): Likewise.
11705 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
11707 (__elf_machine_fixup_plt): Likewise.
11708 (__process_machine_rela): Likewise.
11710 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
11711 (elf_machine_rela): Likewise.
11713 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
11714 (elf_machine_rel): Likewise.
11716 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
11717 (elf_machine_fixup_plt): Likewise.
11718 (elf_machine_rela): Likewise.
11720 2000-03-29 Andreas Jaeger <aj@suse.de>
11722 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
11723 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11724 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11725 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
11726 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
11727 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
11728 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
11729 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
11730 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11731 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
11732 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
11733 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
11734 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
11735 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
11736 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11738 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
11739 macros, remove K&R prototypes.
11741 2000-03-30 Ulrich Drepper <drepper@redhat.com>
11743 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
11744 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
11747 2000-03-30 Andreas Jaeger <aj@suse.de>
11749 * misc/sys/cdefs.h: Remove K&R support.
11751 2000-03-30 Ulrich Drepper <drepper@redhat.com>
11753 * iconv/skeleton.c: Avoid compiling unaligned versions in some
11755 * iconv/loop.c: Likewise.
11757 2000-03-29 Bruno Haible <haible@clisp.cons.org>
11759 * iconv/loop.c (put16): Remove __const. Fix access index.
11760 (put32): Remove __const. Use uint32_t instead of uint16_t.
11761 * iconv/skeleton.c: Likewise.
11763 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
11765 * mach/Versions (libc: GLIBC_2.0)
11766 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
11767 __vm_allocate on this.
11768 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
11769 mutex- and spinlock-related symbols on this.
11770 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
11771 New version set. Lock-related symbols go here instead in this case.
11772 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
11773 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
11774 cthread_getspecific, cthread_setspecific, __libc_getspecific.
11776 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
11777 Put them here instead.
11778 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
11779 New version set. Those cthreads symbols go here instead in this case.
11780 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
11782 2000-03-30 Ulrich Drepper <drepper@redhat.com>
11784 * elf/dl-init.c (_dl_init): We don't need to call constructors
11785 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
11787 Implement dynamic determination of constructor/destructor order in
11788 the dynamic linker.
11789 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
11790 (GLIBC_2.2): Add _dl_init.
11791 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
11792 r_duplist is not anymore allocated separately. l_initfini is and
11793 therefore free it if necessary.
11794 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
11795 malloc block. Otherwise allocate l_initfini list only.
11796 Put dependencies for the object in l_initfini list.
11797 Sort dependencies for the object to be loaded topologically.
11798 * elf/dl-fini.c: Before running the destructors sort the topologically.
11799 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
11800 call constructors instead of iterating over the pointers. Get list of
11801 objects for which to run constructors from l_initfini element. Accept
11802 argc, argv, and env as parameters and pass them to the constructors.
11803 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
11804 with size of dynamic section.
11805 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
11806 _dl_init_next and calling constructors ourself.
11807 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
11808 Take argc, argv, and env as parameters and pass them to the
11809 constructors. Rewrite to call all constructors and not iterate over
11811 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
11812 precompute l_initcount and l_preinitcount.
11813 * elf/link.h (struct link_map): Add l_ldnum member.
11814 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
11815 l_initcount, and l_preinitcount. Add l_initfini.
11816 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
11818 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
11819 function interface.
11820 * sysdeps/unix/sysv/linux/init-first.h: Removed.
11821 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
11822 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
11823 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
11824 conventions now match.
11826 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
11827 effect for shared objects. Don't emit message and call only for
11830 2000-03-29 Ulrich Drepper <drepper@redhat.com>
11832 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
11833 CSA_Z243.4-1985-1..UCS2.
11834 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
11837 2000-03-29 Andreas Jaeger <aj@suse.de>
11839 * include/unistd.h: Remove duplicate entry for __rmdir.
11840 Remove declaration of __mkdir since __mkdir is declared in
11843 * manual/creature.texi (Feature Test Macros): Fix typo, reported
11844 by Michael Deutschmann <michael@talamasca.ocis.net>.
11846 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
11847 * sysdeps/mips/fpu/fegetenv.c: Likewise.
11848 * sysdeps/mips/fpu/fesetenv.c: Likewise.
11849 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
11850 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
11852 2000-03-28 Andreas Jaeger <aj@suse.de>
11854 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
11855 declaration, the prototype is defined via bits/mathcalls.h.
11856 (__sincosf): Likewise.
11857 (__sincosl): Likewise.
11859 (ldexpf): Likewise.
11860 (ldexpl): Likewise.
11861 (__finite): Likewise.
11862 (__inline_mathcodeNP): New macro without prototype
11864 (__inline_mathcodeNP2): Likewise.
11865 (__inline_mathcodeNP3): Likewise.
11866 (__inline_mathcodeNP_): Likewise.
11867 (__inline_mathcodeNP2_): Likewise.
11868 (__inline_mathcodeNP3_): Likewise.
11869 (__inline_mathopNP): Likewise.
11870 (__inline_mathop_declNP): Likewise.
11871 (__inline_mathop_declNP_): Likewise.
11872 (__inline_mathcode_): Use __inline_mathcodeNP_.
11873 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
11874 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
11875 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
11876 (__expm1l): Don't define prototype, the prototype is defined via
11879 (__expl): Likewise.
11882 (__atan2l): Likewise.
11887 (__fabsl): Likewise.
11905 (__sqrtl): Likewise.
11915 2000-03-28 Ulrich Drepper <drepper@redhat.com>
11917 * Makerules: If make variable md5 is defined to yes after
11918 generating dependencies generate MD5 sum for the object.
11920 * iconv/gconv_builtin.h: Fix length in transformation definition
11923 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
11925 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
11926 allow as well reading from/writing to unaligned addresses on machines
11927 which don't support this in hardware. Use FCTNAME macro to define
11928 function name. Include the file a second time for platforms which
11929 need special unaligned handling.
11930 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
11931 to access potentially unaligned addresses. These macros are intended
11932 to be used only outside the loops.
11933 (unaligned): New definition. In case the machine can handle unaligned
11934 access define as zero. Otherwise as a variable which is initialized
11935 as nonzero in case the buffer passed in at runtime is unaligned with
11936 respect to the character set encoding involved.
11937 Call aligned or unaligned looop functions according to unaligned
11939 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
11940 of direct casting pointer to potentially handle unaligned memory
11942 * iconvdata/8bit-generic.c: Likewise.
11943 * iconvdata/ansi_x3.110.c: Likewise.
11944 * iconvdata/big5.c: Likewise.
11945 * iconvdata/euc-cn.c: Likewise.
11946 * iconvdata/euc-jp.c: Likewise.
11947 * iconvdata/euc-kr.c: Likewise.
11948 * iconvdata/euc-tw.c: Likewise.
11949 * iconvdata/gbk.c: Likewise.
11950 * iconvdata/iso-2022-cn.c: Likewise.
11951 * iconvdata/iso-2022-jp.c: Likewise.
11952 * iconvdata/iso-2022-kr.c: Likewise.
11953 * iconvdata/iso646.c: Likewise.
11954 * iconvdata/iso_6937-2.c: Likewise.
11955 * iconvdata/iso_6937.c: Likewise.
11956 * iconvdata/johab.c: Likewise.
11957 * iconvdata/sjis.c: Likewise.
11958 * iconvdata/t.61.c: Likewise.
11959 * iconvdata/uhc.c: Likewise.
11960 * iconvdata/unicode.c: Likewise.
11961 * iconvdata/utf-16.c: Likewise.
11963 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
11966 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
11967 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
11969 * malloc/mcheck.h (mcheck_check_all): Declare.
11971 * stdio-common/Makefile (tests): Add tst-obprintf.
11973 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
11975 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
11976 Declare pthread_sigmask.
11978 * csu/version.c: Add 2000 to copyright years.
11979 Remove Emacs local variables section.
11981 2000-03-23 Bruno Haible <haible@clisp.cons.org>
11983 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
11984 __gconv_transform_internal_ucs2little): Remove declarations.
11985 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
11986 __gconv_transform_internal_ucs2): Never need to bswap_16.
11987 (__gconv_transform_ucs2reverse_internal,
11988 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
11990 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
11992 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
11993 obsoleting version not being defined at all, in which case the
11994 result is always true.
11996 * Makeconfig (preprocess-versions): New canned sequence for running
11997 cpp on shlib-versions and the like.
11998 (soversions.i): Use it.
11999 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
12000 Versions.def and Versions files.
12002 2000-03-27 Ulrich Drepper <drepper@redhat.com>
12004 * stdio-common/tst-obprintf.c (main): Add another check to see
12005 obstack_printf handling all possible beginnings of the block
12006 inside an obstack chunk.
12008 * locale/programs/localedef.c: Use __malloc_initialize_hook to
12009 install mcheck handler.
12011 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
12014 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
12016 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
12018 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
12019 on [HAVE_ELF && DO_VERSIONING].
12021 2000-03-27 Ulrich Drepper <drepper@redhat.com>
12023 * stdio-common/tst-obprintf.c: New file.
12025 2000-03-26 Ulrich Drepper <drepper@redhat.com>
12027 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
12028 _IO_OVERFLOW directly instead through __overflow.
12030 * locale/programs/localedef.c (construct_output_path): If path
12031 contains a / compute the end of the directory name correctly.
12033 * include/features.h: Undef and document __USE_XOPEN2K.
12035 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
12036 whenever a function is called. Initiated by calling mcheck_pedantic
12038 * malloc/mcheck.h: Declare mcheck_pedantic.
12039 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
12040 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
12043 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
12045 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
12046 * dlfcn/dlopenold.c: Likewise.
12047 * nss/getXXbyYY_r.c: Likewise.
12048 * nss/getXXent_r.c: Likewise.
12049 * hurd/hurdinit.c: Likewise.
12050 * hurd/compat-20.c: Likewise.
12051 * libio/oldiofopen.c: Likewise.
12052 * libio/oldiofclose.c: Likewise.
12053 * libio/oldiofdopen.c: Likewise.
12054 * libio/oldfileops.c: Likewise.
12055 * libio/oldstdfiles.c: Likewise.
12056 * libio/oldiofsetpos.c: Likewise.
12057 * libio/oldiofgetpos.c: Likewise.
12058 * libio/oldiofgetpos64.c: Likewise.
12059 * libio/oldiofsetpos64.c: Likewise.
12060 * libio/oldiopopen.c: Likewise.
12061 * libio/oldpclose.c: Likewise.
12062 * libio/oldtmpfile.c: Likewise.
12063 * libio/freopen.c (freopen): Likewise.
12064 * libio/iofclose.c (_IO_new_fclose): Likewise.
12066 * sysdeps/mach/sys/reboot.h: Include <features.h>.
12067 (reboot): Declare it.
12069 * libio/Makefile (headers): Add bits/stdio-lock.h here.
12071 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
12073 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
12075 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
12076 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
12077 We need this for the sbrk decl, which can be included without Unix98.
12079 2000-03-20 Richard Henderson <rth@cygnus.com>
12081 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
12082 argument to yperr2nss is an int, not size_t.
12083 * posix/regex.c (print_partial_compiled_pattern): Cast all
12084 ptrdiff_t to long for printing.
12085 (print_compiled_pattern): Use Z for printing size_t.
12086 * posix/testfnm.c (tests): Avoid trigraphs.
12087 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
12088 Use a C comment, not an assembly comment.
12090 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
12091 of __ASSUME_32BITUIDS.
12093 2000-03-26 Ulrich Drepper <drepper@redhat.com>
12095 * libio/iofopncook.c: Remove K&R prototypes.
12097 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
12099 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
12100 an initial value of 1024 instead of RLIM_INFINITY.
12102 * Versions.def (libmachuser, libhurduser): Remove these sections,
12103 since these libraries do not presently use symbol versions.
12105 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
12106 is RLIM_INFINITY, return -1 instead.
12108 2000-03-24 Andreas Jaeger <aj@suse.de>
12110 * Makefile (postclean): Added soversions.i.
12112 2000-03-24 Scott Bambrough <scottb@netwinder.org>
12114 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
12115 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
12116 and _FPU_IEEE. Change _FPU_RESERVED.
12118 2000-03-24 Scott Bambrough <scottb@netwinder.org>
12120 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
12122 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
12124 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
12125 (gaih_inet): Remove unused duplicate variable.
12127 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
12128 Don't use __libc_sa_len, which only exists for Linux. Just handle
12129 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
12130 only flavors supported by this function anyway.
12132 2000-03-24 Geoff Clare <gwc@unisoft.com>
12134 * stdlib/strfmon.c: Corrected problems with missing signs and
12135 missing or extra spaces; allow for sign strings longer than
12136 one character; add padding to ensure positive and negative
12137 formats are aligned when a left precision is used.
12139 2000-03-26 Ulrich Drepper <drepper@redhat.com>
12141 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
12142 Patch by John Mizel <John.Mizel@msdw.com>.
12144 2000-03-25 Ulrich Drepper <drepper@redhat.com>
12146 * manual/install.texi: Remove references to crypt add-on.
12148 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
12150 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
12151 section while taking the _hurd_rlimit_lock.
12152 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
12154 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
12156 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
12159 * sysdeps/mach/hurd/if_index.c: New file.
12161 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
12162 * sysdeps/gnu/net/if.h: here.
12163 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
12164 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
12165 * sysdeps/generic/net/if.h: New file. Declares just the standard
12166 functions and `struct if_nameindex' type.
12167 * socket/Makefile (headers): Add net/if.h here.
12168 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
12169 * sysdeps/mach/hurd/Dist: Remove it here.
12170 * sysdeps/unix/sysv/linux/Dist: And here.
12171 * sysdeps/generic/if_index.c: Include <net/if.h>.
12173 2000-03-24 Andreas Jaeger <aj@suse.de>
12175 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
12176 access relocated entries in l_info.
12177 (elf_machine_got_rel): Likewise.
12178 (elf_machine_runtime_setup): Likewise.
12179 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
12180 (elf_machine_runtime_setup): Likewise.
12181 (__dl_runtime_resolve): Likewise.
12183 2000-03-23 Ulrich Drepper <drepper@redhat.com>
12185 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
12186 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
12187 according to RFC 2553.
12188 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
12189 * inet/getnameinfo.c: Likewise.
12190 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
12192 2000-03-23 Bruno Haible <haible@clisp.cons.org>
12194 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
12195 Remove no-op pointer increment.
12197 2000-03-23 Andreas Jaeger <aj@suse.de>
12199 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
12200 follow change for libio.h from 2000-03-10.
12202 2000-03-23 Andreas Jaeger <aj@suse.de>
12204 * elf/dl-addr.c: Adjust include paths for ldsodefs location
12206 * elf/dl-debug.c: Likewise.
12207 * elf/dl-deps.c: Likewise.
12208 * elf/dl-error.c: Likewise.
12209 * elf/dl-fini.c: Likewise.
12210 * elf/dl-init.c: Likewise.
12211 * elf/dl-load.c: Likewise.
12212 * elf/dl-lookup.c: Likewise.
12213 * elf/dl-minimal.c: Likewise.
12214 * elf/dl-object.c: Likewise.
12215 * elf/dl-open.c: Likewise.
12216 * elf/dl-preinit.c: Likewise.
12217 * elf/dl-profile.c: Likewise.
12218 * elf/dl-profstub.c: Likewise.
12219 * elf/dl-reloc.c: Likewise.
12220 * elf/dl-runtime.c: Likewise.
12221 * elf/dl-support.c: Likewise.
12222 * elf/dl-symbol.c: Likewise.
12223 * elf/dl-version.c: Likewise.
12224 * elf/rtld.c: Likewise.
12225 * elf/sprof.c: Likewise.
12226 * sysdeps/generic/dl-cache.c: Likewise.
12227 * sysdeps/generic/dl-origin.c: Likewise.
12228 * sysdeps/generic/dl-sysdep.c: Likewise.
12229 * sysdeps/generic/elf/backtracesyms.c: Likewise.
12230 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12231 * sysdeps/generic/libc-start.c: Likewise.
12232 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12233 * sysdeps/powerpc/dl-machine.c: Likewise.
12234 * sysdeps/powerpc/elf/libc-start.c: Likewise.
12235 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12236 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12237 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
12239 * elf/ldsodefs.h: Move file to ...
12240 * sysdeps/generic/ldsodefs.h: ... here.
12242 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
12244 * sysdeps/mips/elf/ldsodefs.h: New file.
12246 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
12248 (_dl_check_map_versions): Likewise.
12249 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12250 * elf/dl-load.c (_dl_init_paths): Likewise.
12251 (_dl_map_object): Likewise.
12252 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
12253 (elf_get_dynamic_info): Likewise.
12254 * elf/do-lookup.h (FCT): Likewise.
12255 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
12256 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12257 * elf/dl-addr.c (_dl_addr): Likewise.
12258 * elf/dl-runtime.c (profile_fixup): Likewise.
12260 * elf/dl-init.c (_dl_init_next): Likewise.
12261 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
12262 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
12263 (DISTINGUISH_LIB_VERSIONS): Likewise.
12264 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
12265 (elf_machine_rel): Likewise.
12267 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
12268 for writable dynamic section.
12270 2000-03-22 Ulrich Drepper <drepper@redhat.com>
12272 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
12273 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
12275 2000-03-22 Andreas Jaeger <aj@suse.de>
12277 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
12278 from latest Linux kernel.
12280 2000-03-21 Andreas Jaeger <aj@suse.de>
12282 * Versions.def: Add version 2.1.4.
12284 2000-03-21 Ulrich Drepper <drepper@redhat.com>
12286 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
12287 * libio/oldiofopen.c: Likewise.
12288 * libio/oldiofclose.c: Likewise.
12289 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
12291 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
12293 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
12294 indicating the first version set to obsolete the conditionalized code.
12295 (compat_symbol): New macro.
12296 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
12297 rhs be the ABI_* macro for the subsuming version. Assign increasing
12298 integer values to the ABI_* macros for supported versions.
12299 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
12300 compat_symbol macro.
12302 2000-03-21 Ulrich Drepper <drepper@redhat.com>
12304 * nscd/connections.c (nscd_run): Pretty print.
12305 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
12307 * manual/charset.texi: Fix typos. Rephrase.
12308 * manual/process.texi: Likewise.
12309 * manual/signal.texi: Likewise.
12310 Patches by Mike Coleman <mkc@kc.net>.
12312 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
12314 * libio/iofdopen.c: Likewise.
12315 * libio/iofgetpos.c: Likewise.
12316 * libio/iofgetpos64.c: Likewise.
12317 * libio/iofopen.c: Likewise.
12318 * libio/iofsetpos.c: Likewise.
12319 * libio/iofsetpos64.c: Likewise.
12320 * libio/iopopen.c: Likewise.
12321 * libio/oldiofopen.c: Likewise.
12322 * libio/pclose.c: Likewise.
12323 * sysdeps/gnu/siglist.c: Likewise.
12324 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
12326 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
12327 chance to expand VERSION_##lib##_##version.
12329 * libio/fileops.c: Use new macros from shlib-compat.h to define
12331 * libio/iofclose.c: Likewise.
12332 * libio/oldiofclose.c: Likewise.
12333 Patch by Roland McGrath <roland@frob.com>.
12335 2000-03-21 Jakub Jelinek <jakub@redhat.com>
12337 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
12338 Lay out struct sigcontext according to what really gets passed on
12340 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
12341 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
12342 (prgregset_t, prfpregset_t): Define to elf_* types.
12343 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
12344 Define to correct value.
12345 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
12347 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
12349 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
12351 * scripts/firstversions.awk: Allow multiple version sets in the
12352 "earliest version" specification, meaning that version sets in the
12353 gaps between listed versions should be folded into the earliest later
12354 version that is explicitly listed.
12355 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
12356 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
12358 2000-03-21 Ulrich Drepper <drepper@redhat.com>
12360 * iconv/gconv_builtin.c: Include <endian.h>.
12361 * iconv/gconv_builtin.h: Add UCS-BE aliases.
12362 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
12363 according to current platform.
12364 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
12365 __gconv_transform_internal_ucs2reverse, and
12366 __gconv_transform_internal_ucs4le.
12367 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
12368 __gconv_transform_ucs2reverse_internal and
12369 __gconv_transform_internal_ucs2reverse.
12370 * iconvdata/Makefile (modules): Add UNICODE.
12371 (distribute): Add unicode.c.
12372 * iconvdata/gconv-modules: Add definitions for UNICODE module.
12373 * iconvdata/unicode.c: New file.
12375 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
12376 determine byte order of input and convert accordingly.
12378 * iconvdata/utf-16.c (gconv_init): Fix typo.
12380 2000-03-20 Ulrich Drepper <drepper@redhat.com>
12382 * iconvdata/gconv-modules: Fix typo.
12384 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
12387 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
12389 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
12391 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
12393 2000-03-20 Ulrich Drepper <drepper@redhat.com>
12395 * misc/Makefile (routines): Add mincore.
12397 2000-03-20 Andreas Jaeger <aj@suse.de>
12399 * sysdeps/generic/mincore.c: New stub file.
12401 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
12402 from latest Linux kernel.
12404 2000-03-20 Ulrich Drepper <drepper@redhat.com>
12406 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
12407 _SC_GETPW_R_SIZE_MAX.
12409 2000-03-20 Richard Henderson <rth@cygnus.com>
12411 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
12414 2000-03-20 Richard Henderson <rth@cygnus.com>
12416 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
12417 of arithmetic instructions.
12419 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
12420 with the fpcr. Protect from INV exception.
12421 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
12422 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
12423 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
12425 * sysdeps/alpha/fpu/s_copysign.c: New.
12426 * sysdeps/alpha/fpu/s_copysignf.c: New.
12427 * sysdeps/alpha/fpu/s_fabs.c: New.
12428 * sysdeps/alpha/fpu/s_fabsf.c: New.
12429 * sysdeps/alpha/fpu/s_rint.c: New.
12430 * sysdeps/alpha/fpu/s_rintf.c: New.
12432 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
12434 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
12436 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
12437 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
12438 Use physical addresses not KSEG addresses.
12439 (io_system): Add PYXIS.
12440 (io): Remove hae.reg, sys, hae_shift.
12441 (stb_mb, stw_mb, stl_mb, __sethae): New.
12442 (inline_outb, inline_outw, inline_outl): Don't set hae.
12443 (inline_inb, inline_inw, inline_inl): Likewise.
12444 (dense_sethae): New null function.
12445 (struct cpuinfo_data): New.
12446 (process_cpuinfo): Use local and stack variables, not static.
12447 Move readlink check here from init_iosys.
12448 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
12450 (_hae_shift): Calculate it here.
12451 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
12452 add pciconfig_iobase.
12454 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
12456 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
12457 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
12459 * scripts/versions.awk: Fixed version renaming code to distinguish
12460 libraries properly.
12462 2000-03-19 Ulrich Drepper <drepper@redhat.com>
12464 * include/stdlib.h: Add prototype for __cxa_atexit.
12466 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
12467 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
12469 2000-03-17 Cristian Gafton <gafton@redhat.com>
12471 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
12472 existing rtld-installed-name.
12473 ($(rtld-installed-name)): Request libc-$(version) be installed too.
12474 replace existing rtld-installed-name using $(symbolic-link-prog).
12476 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
12478 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
12479 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
12480 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
12481 but not the former.
12483 2000-03-19 Ulrich Drepper <drepper@redhat.com>
12485 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
12486 glob64. Since there is no glob64 in the LFS proposal applications
12487 can assume that glob handles LFS situations. glob64 is only needed
12488 if alternative filesystem functions are used.
12490 2000-03-19 Geoff Clare <gwc@unisoft.com>
12492 * sysdeps/generic/glob.c: Correct gl_pathc value returned
12493 when GLOB_DOOFFS is set; correct handling of patterns
12494 containing escaped wildcards (and no unescaped ones);
12495 GLOB_ERR flag was being ignored in some situations.
12497 * posix/globtest.c, posix/globtest.sh: Updated to include
12498 tests for the problems fixed by the above changes to glob.c.
12500 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
12502 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
12504 * Makeconfig (soversion.i): Use only first match for each lib.
12506 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
12508 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
12509 rather than $(sysd-dirs-done) to protect these rules.
12511 * Makerules (version-renames.def): Target removed.
12512 (Versions.all): Depend on soversions.i directly and parse it.
12514 * Makeconfig (soversions.i): New target, input-reading parts of
12515 soversions.mk generation moved here; result is a canonicalized
12516 list "LIB VERSION [SET]" for this configuration.
12517 (soversions.mk): Use that as input. Don't emit map-firstversions.
12518 * Makerules (version-renames.def): New target, generated from
12519 soversions.i with contents that was in $(map-firstversions).
12520 (Versions.all): Don't depend on soversions.mk, depend on
12521 version-renames.def instead; just cat it into the input.
12523 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
12524 for $(map-firstversions), which better handles it being empty.
12526 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
12527 supported version for libc 0.2.90.libio to GLIBC_2.2.
12529 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
12530 and use it to emit new variable `map-firstversions'.
12531 * scripts/firstversions.awk: New file.
12532 * Makerules (Versions.all): Use scripts/firstversions.awk and
12533 the $(map-firstversions) value to generate a modified versions list
12534 that includes renames in "A = B" syntax for each version set earlier
12535 than the "earliest symbol version" named in shlib-versions.
12536 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
12537 rename version set A to B in the output to the intermediate file.
12538 * scripts/abi-versions.awk: New file.
12539 * Makerules (abi-versions.h): New target, generated by that script.
12540 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
12541 * include/shlib-compat.h: New file, uses that generated header.
12543 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
12545 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
12546 after stripping # comments, and then run it through cpp.
12547 This allows things like "%ifdef FOO" based on config.h settings.
12548 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
12550 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
12551 and other errors that indicate a pseudo-receive happened, grok through
12552 the message buffer for port rights that need references fixed up.
12554 2000-03-16 Andreas Jaeger <aj@suse.de>
12556 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
12558 * sysdeps/unix/sysv/linux/madvise.c: Remove.
12560 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
12561 from latest Linux kernel.
12562 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
12564 * misc/sys/mman.h: Add prototype for mincore.
12566 2000-03-17 Ulrich Drepper <drepper@redhat.com>
12568 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
12569 entry for GLIBC_2.0 version of setrlimit.
12570 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
12572 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
12574 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
12575 * nis/nss_compat/compat-initgroups.c: Likewise.
12576 * nis/nss_nis/nis-initgroups.c: Likewise.
12577 * nis/nss_nis/nis-netgrp.c: Likewise.
12578 * nis/nss_nis/nis-proto.c: Likewise.
12579 * nis/nss_nis/nis-rpc.c: Likewise.
12580 * nis/nss_nis/nis-service.c: Likewise.
12581 * nis/ypclnt.c: Likewise.
12583 2000-03-16 Andreas Jaeger <aj@suse.de>
12585 * manual/Makefile: MAKEINFO is set to `:' from configure if it
12586 doesn't exist, correct checks. Fixes PR libc/1649.
12588 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
12590 * nscd/hstcache.c: Restore correct UID.
12591 * nscd/pwdcache.c: Likewise.
12592 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
12594 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
12596 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
12597 macros for register names, in line with 2000-03-14 linux change.
12599 * sysdeps/mach/sched_yield.c: New file.
12601 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
12603 * sysdeps/generic/lockfile.c: Include <stdio.h>
12604 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
12605 case <libio.h> defined them.
12606 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
12608 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
12609 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
12611 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
12612 for more pleasing parse error.
12614 2000-03-16 Ulrich Drepper <drepper@redhat.com>
12616 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
12618 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
12620 * elf/Makefile: Add rules to compile and run constload1 test.
12621 * elf/constload1.c: New file.
12622 * elf/constload2.c: New file.
12623 * elf/constload3.c: New file.
12625 2000-03-15 Ulrich Drepper <drepper@redhat.com>
12627 * sysdeps/posix/open64.c: Make __open64 weak alias.
12628 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
12629 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
12630 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
12631 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12632 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
12633 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
12634 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
12635 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
12636 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12637 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
12639 2000-03-14 Ulrich Drepper <drepper@redhat.com>
12641 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
12642 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
12644 2000-03-16 Mark Kettenis <kettenis@gnu.org>
12646 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
12647 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
12649 2000-03-08 Andreas Jaeger <aj@suse.de>
12651 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
12653 2000-03-14 Ulrich Drepper <drepper@redhat.com>
12655 * timezone/africa: Update from tzdata2000d.
12656 * timezone/asia: Likewise.
12657 * timezone/australasia: Likewise.
12658 * timezone/europe: Likewise.
12659 * timezone/northamerica: Likewise.
12660 * timezone/southamerica: Likewise.
12662 * po/fr.po: Update from translation team.
12663 * po/de.po: Likewise.
12665 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
12666 last parameter. Move code to add map to global scope from here...
12667 * elf/dl-open.c (dl_open_worker): ...here.
12668 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
12669 * elf/rtld.c: Adjust call to _dl_map_object_deps.
12671 * locale/programs/ld-collate.c (collate_read): Fix warning.
12673 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
12674 values and macros for register names.
12676 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
12677 returned by seek cookie function is -1.
12679 2000-03-14 Andreas Jaeger <aj@suse.de>
12681 * locale/localeconv.c (localeconv): Fix typo.
12682 Reported by Andre Charbonneau <andrec@corel.com>.
12684 2000-03-14 Ulrich Drepper <drepper@redhat.com>
12686 * iconv/skeleton.c: Increment __invocation_counter in inner loop
12687 since modules depend on it counting the number of times the conversion
12688 function got called.
12690 * iconv/gconv_open.c: Optimize loop to setup step data structure.
12692 * iconv/gconv.h: Pretty print.
12694 2000-03-04 Ulrich Drepper <drepper@redhat.com>
12696 * posix/wordexp-test.c: Correct one of the tests added in the last
12697 change. Really get the root passwd entry to check again ~root.
12699 2000-03-10 Andreas Jaeger <aj@suse.de>
12701 * manual/filesys.texi (Working Directory): Fix last patch.
12702 Patch by Martin Buchholz <martin@xemacs.org>.
12704 2000-03-10 Andreas Jaeger <aj@suse.de>
12706 * manual/creature.texi (Feature Test Macros): Fix language.
12708 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
12710 * mach/devstream.c (devstream_write, devstream_read): New functions.
12711 (input, output): Functions removed.
12712 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
12713 using only the vanilla fopencookie interface.
12715 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
12716 as macro for __io_functions.
12717 (funcsio): Use cookie_io_functions_t type name.
12718 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
12720 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
12722 (fopencookie): Use it.
12723 * libio/libio.h: Declare _IO_cookie_init.
12724 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
12727 * libio/libio.h (__io_seek_fn): Fix second argument type
12728 to be a pointer, in line with the manual and the old stdio.
12729 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
12731 * sysdeps/generic/bits/stdio-lock.h: New file.
12732 This is a stub with #error, but that's better than no file at all.
12734 2000-03-09 Martin Buchholz <martin@xemacs.org>
12736 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
12737 * manual/message.texi (Using gettextized software): Doc Fixes.
12738 * manual/message.texi (Message Translation): Doc Fixes.
12739 * manual/filesys.texi (File Size): Doc Fixes.
12740 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
12741 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
12742 * iconv/gconv_db.c (find_derivation): Doc Fixes.
12743 * manual/install.texi: Doc Fixes.
12744 * manual/search.texi (Hash Search Function): Doc Fixes.
12745 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
12746 * FAQ.in: Doc Fixes.
12747 * config.h.in: Doc Fixes.
12748 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
12749 Doc Fixes. `allows to' is not correct English.
12751 * elf/rtld.c: Doc fixes.
12752 * manual/creature.texi (Feature Test Macros): Doc fixes.
12753 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
12755 * manual/filesys.texi (Working Directory): Check for ERANGE to
12758 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
12760 * string/argz-stringify.c (__argz_stringify): Fix loop termination
12761 conditions so as not to clobber the final '\0' when there is only one
12762 element in the vector.
12764 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
12766 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
12767 broken by 2000-02-27 change.
12769 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
12771 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
12773 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
12774 argument type, for 2000-02-22 change in signal/signal.h declaration.
12776 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
12778 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
12779 to getdirentries64 (no __), since the Linux implementation
12780 has no __ name, and there is no declaration for the __ name.
12782 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
12784 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
12785 sed regexp so as not to break directory names including /../ within.
12787 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
12788 The sysdeps/generic file is right for BSD. This file was in fact the
12789 Hurd file, but the only difference was the WNOREAP flag that was never
12790 actually implemented or used anywhere.
12792 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
12793 since AC_PATH_PROG already does it for us.
12794 (PERL): Rewrite check added in 2000-02-29 change for syntactic
12795 correctness and sh portability. I replaced the broken check
12796 with a more sensible implementation of the apparently intended
12797 semantics, which might still be questionable. Using expr causes
12798 a non-numeric value for `perl -V:apiversion` to be accepted,
12799 refusing to use only a perl that reports a number less than 5;
12800 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
12801 * configure: Regenerated.
12803 2000-03-08 Andreas Jaeger <aj@suse.de>
12805 * manual/crypt.texi: Fix paths.
12807 2000-03-07 Andreas Jaeger <aj@suse.de>
12809 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
12811 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
12814 2000-03-06 Andreas Jaeger <aj@suse.de>
12816 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
12817 in __sgn1l, otherwise g++ fails to parse this.
12818 Reported by Sean Chen <sean.chen@turbolinux.com>.
12820 2000-03-03 Geoff Keating <geoffk@cygnus.com>
12822 * configure.in: Compute sizeof-long-double.
12823 * configure: Regenerated.
12824 * config.make.in: Make sizeof-long-double available to sub-makes.
12826 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
12828 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
12831 2000-03-03 Geoff Keating <geoffk@cygnus.com>
12833 * Makeconfig (rpath-dirs): Add crypt.
12834 (all-subdirs): Remove md5crypt.
12835 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
12836 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
12837 * sysdeps/generic/crypt-entry.c: Delete.
12838 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
12839 * sysdeps/generic/crypt.h: Delete.
12840 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
12841 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
12842 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
12843 * sysdeps/generic/des_impl.c: Delete.
12844 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
12845 * crypt/sysdeps: Delete.
12846 * crypt/crypt_util.c: Don't use `patchlevel.h'.
12847 * md5-crypt/Versions: Move to crypt/.
12848 * md5-crypt/md5-crypt.c: Move to crypt/.
12849 * md5-crypt/md5.c: Move to crypt/.
12850 * md5-crypt/md5c-test.c: Move to crypt/.
12851 * md5-crypt/md5test.c: Move to crypt/.
12852 * md5-crypt: Delete.
12853 * crypt/Makefile: Adjust for new structure.
12855 2000-03-03 Paul Eggert <eggert@twinsun.com>
12857 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
12858 define to 1 if not defined.
12860 2000-03-03 Andreas Jaeger <aj@suse.de>
12862 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
12864 2000-03-03 Andreas Jaeger <aj@suse.de>
12866 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
12868 (xdr_int64_t): Correctly handle lower half.
12869 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
12871 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
12873 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
12876 2000-03-02 Andreas Jaeger <aj@suse.de>
12878 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
12881 2000-03-02 Andreas Jaeger <aj@suse.de>
12883 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
12885 2000-03-01 Andreas Jaeger <aj@suse.de>
12887 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
12888 (tests): Added tst-getdate.
12890 * time/tst-getdate.c: New file.
12892 * time/datemsk: New file, needed for tst-getdate.
12894 2000-02-29 Cristian Gafton <gafton@redhat.com>
12896 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
12898 2000-02-17 H.J. Lu <hjl@gnu.org>
12900 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
12902 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
12904 (svcudp_recv): Set up message with the new "xp_pad" field for
12906 (svcudp_reply): Support IP_PKTINFO if available.
12908 2000-03-01 Andreas Jaeger <aj@suse.de>
12910 * time/getdate.c (check_mday): Fix check for february.
12911 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
12912 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
12914 2000-03-02 Andreas Jaeger <aj@suse.de>
12916 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
12917 g++ fails to parse this.
12918 Reported by Sean Chen <sean.chen@turbolinux.com>.
12920 2000-02-28 Ulrich Drepper <drepper@redhat.com>
12922 * io/creat.c: Moved to...
12923 * sysdeps/generic/creat.c: ...here.
12924 * io/creat64.c: Moved to...
12925 * sysdeps/generic/creat64.c: ...here.
12926 * io/lockf.c: Moved to...
12927 * sysdeps/generic/lockf.c: ...here.
12929 * crypt/crypt.texi: Moved to...
12930 * manual/crypt.texi: ...here.
12931 * crypt/examples/genpass.c: Moved to...
12932 * manual/examples/genpass.c: ...here.
12933 * crypt/examples/mygenpass.c: Moved to...
12934 * manual/examples/mygenpass.c: ...here.
12935 * crypt/examples/testpass.c: Moved to...
12936 * manual/examples/testpass.c: ...here.
12938 * manual/Makefile (chapters): Add crypt.
12939 * manual/conf.texi: Add usual header for not-last chapter.
12940 * manual/crypt.texi: Add special header for last chapter.
12942 2000-02-28 Geoff Keating <geoffk@cygnus.com>
12944 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
12945 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
12946 complain if there is no crypt add-on.
12947 * crypt/configure: Removed.
12949 * crypt/crypt.texi: Update documentation of US export restrictions
12950 to match the 14 Jan 2000 regulations.
12952 2000-02-28 Geoff Keating <geoffk@cygnus.com>
12954 * crypt: New subdirectory, merged in from the crypt add-on.
12956 2000-02-28 Ulrich Drepper <drepper@redhat.com>
12958 * include/unistd.h: Add __rmdir and __mkdir prototypes.
12961 See ChangeLog.10 for earlier changes.