1 2000-10-05 Jakub Jelinek <jakub@redhat.com>
3 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: New file.
5 2000-10-02 Jakub Jelinek <jakub@redhat.com>
7 * sunrpc/svc_udp.c (svcudp_recv): Set msg_controllen to all
8 remaining xp_pad space.
10 2000-10-05 Jakub Jelinek <jakub@redhat.com>
12 * elf/dl-close.c (_dl_close): Check imap's l_flags_1 for
13 DF_1_NODELETE, not list[i]'s.
15 2000-10-04 Ulrich Drepper <drepper@redhat.com>
17 * iconvdata/euc-kr.c (euckr_from_ucs4): Handle U20a9.
18 (BODY from direction): Map \x5c to U20a9.
19 * iconvdata/testdata/EUC-KR..UTF8: Adjust to this change.
20 * iconvdata/EUC-KR.irreversible: New file.
21 * iconvdata/Makefile (distribute): Add EUC-KR.irreversible.
23 * argp/argp-parse.c (argp_default_argp): Set libc as message domain.
24 (argp_version_argp): Likewise.
26 2000-10-04 Jakub Jelinek <jakub@redhat.com>
28 * stdio-common/vfscanf.c (_IO_vfscanf): For [ conversion do
29 input_error() if EOF is seen before processing.
30 * stdio-common/tstscanf.c (main): Add testcase.
32 2000-10-04 Ulrich Drepper <drepper@redhat.com>
34 * argp/argp-help.c: Make sure we get the correct gettext and
36 * argp/argp-parse.c: Likewise.
38 2000-10-03 Ulrich Drepper <drepper@redhat.com>
40 * locale/programs/linereader.c (get_string): Also clear wide
41 string info if illegal_string.
43 2000-10-03 Andreas Schwab <schwab@suse.de>
45 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: New file.
47 2000-10-02 Jakub Jelinek <jakub@redhat.com>
49 * elf/nextmod1.c (failing_rtld_next_use): Ensure it is not tail call
52 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: New file.
54 2000-10-02 Ralf Baechle <ralf@gnu.org>
56 * sysdeps/unix/sysv/linux/mips/sys/tas.h: Add missing .mips0 at the
57 end of inline assembler code.
59 2000-10-02 Ulrich Drepper <drepper@redhat.com>
61 * include/features.h [__USE_FILE_OFFSET && !__REDIRECT]: Define
62 __USE_LARGEFILE64 and __USE_LARGEFILE to 1 and not nothing.
64 2000-10-02 Andreas Jaeger <aj@suse.de>
66 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Synch with Linux
69 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Add RLIMIT_LOCKS.
71 2000-10-01 Ralf Baechle <ralf@gnu.org>
73 * sysdeps/mips/dl-machine.h (RTLD_START): Fix computation of envp
74 argument passed to _dl_init.
76 2000-09-30 Bruno Haible <haible@clisp.cons.org>
78 * locale/programs/charmap-dir.h: New file.
79 * locale/programs/charmap-dir.c: New file.
80 * locale/programs/linereader.h (lr_create): New declaration.
81 * locale/programs/linereader.c (lr_create): New function, split out
83 (lr_open): Tailcall lr_create.
84 * locale/programs/locale.c: Include "charmap-dir.h". Don't include
86 (xstrdup): New declaration.
87 (more_help): Use xstrdup instead of strdup.
88 (write_locales): Likewise. When encountering a symbolic link, call
90 (write_charmaps): Simplify using the charmap-dir.h functions.
91 Use xstrdup instead of strdup.
92 * locale/programs/charmap.c: Include "charmap-dir.h". Don't include
93 <dirent.h> and <unistd.h>.
94 (cmlr_open): New function.
95 (charmap_read): Use cmlr_open instead of lr_open. Simplify using the
96 charmap-dir.h functions.
97 * locale/Makefile (distribute): Add charmap-dir.h.
98 (lib-modules): Add charmap-dir.
99 (CFLAGS-charmap-dir.c): Set to -Wno-write-strings, because posix_spawn
100 wants a 'char **', not a 'const char **'.
101 * include/spawn.h: New file.
103 2000-09-30 Bruno Haible <haible@clisp.cons.org>
105 * posix/spawn_faction_init.c: Include "spawn_int.h".
106 (__posix_spawn_file_actions_realloc): Fix second realloc argument.
108 2000-09-30 Bruno Haible <haible@clisp.cons.org>
110 * locale/programs/config.h (DEFAULT_CHARMAP): Set to ANSI_X3.4-1968.
112 2000-09-30 Bruno Haible <haible@clisp.cons.org>
114 * wcsmbs/wcwidth.h (__ctype32_wctype): Remove declaration.
115 (internal_wcwidth): Remove the tests for L'\0' and iswprint.
116 * locale/programs/ld-ctype.c (find_idx): If max == NULL, return
117 a pointer to the table entry, without extending the table.
118 (allocate_arrays): Set a width only for characters with 'print'
119 property. Set the width of L'\0' to 0.
120 * locale/C-ctype.c (_nl_C_LC_CTYPE_width): Use default entry 0xff
121 for unprintable characters. Set entry of NUL to 0.
123 2000-09-30 Bruno Haible <haible@clisp.cons.org>
125 * locale/programs/charmap.c (charmap_read): Avoid redundant tests.
126 Don't forget to call closedir when the filename was found as a
129 2000-09-30 Bruno Haible <haible@clisp.cons.org>
131 * iconv/gconv.h (__gconv_trans_context_fct): Change first argument's
134 2000-09-30 Bruno Haible <haible@clisp.cons.org>
136 * locale/programs/ld-ctype.c (wctype_table_init): Initialize level1,
137 level2, and level3 as well.
138 (wctype_table_add): Remove a few unnecessary conditionals.
140 2000-09-30 Ralf Baechle <ralf@gnu.org>
142 * wcsmbs/Versions [libc] (GLIBC_2.0): Add __mbrtowc.
144 2000-09-30 H.J. Lu <hjl@gnu.org>
146 * sysdeps/ieee754/ldbl-96/s_ceill.c (__ceill): Handle overflow.
147 * sysdeps/ieee754/ldbl-96/s_floorl.c (__floorl): Likewise.
149 2000-09-29 H.J. Lu <hjl@gnu.org>
151 * math/libm-test.inc (init_max_error): Clear all exceptions
152 before starting test.
153 (acosh_test): Test for existence of function.
154 (asinh_test): Likewise.
155 (atan2_test): Likewise.
156 (cabs_test): Likewise.
157 (cacos_test): Likewise.
158 (cacosh_test): Likewise.
159 (casin_test): Likewise.
160 (casinh_test): Likewise.
161 (catan_test): Likewise.
162 (catanh_test): Likewise.
163 (ccos_test): Likewise.
164 (ccosh_test): Likewise.
165 (cexp_test): Likewise.
166 (clog_test): Likewise.
167 (clog10_test): Likewise.
168 (cosh_test): Likewise.
169 (cpow_test): Likewise.
170 (csin_test): Likewise.
171 (csinh_test): Likewise.
172 (csqrt_test): Likewise.
173 (ctan_test): Likewise.
174 (ctanh_test): Likewise.
175 (fmod_test): Likewise.
176 (hypot_test): Likewise.
177 (remainder_test): Likewise.
178 (remquo_test): Likewise.
179 (sincos_test): Likewise.
180 (sinh_test): Likewise.
181 (tanh_test): Likewise.
183 2000-09-29 H.J. Lu <hjl@gnu.org>
185 * sysdeps/ia64/ieee754.h: New file.
187 * sysdeps/ia64/fpu/math_ldbl.h: New file.
189 2000-09-30 Jakub Jelinek <jakub@redhat.com>
191 * elf/ldconfig.h (FLAG_X8664_LIB64): Define.
192 * sysdeps/unix/sysv/linux/i386/readelflib.c: New file.
194 2000-09-30 Ulrich Drepper <drepper@redhat.com>
196 * manual/charset.texi: Correct notations, reference to C90 amd 1,
197 and some other details.
198 * manual/ctype.texi: Likewise.
199 Patches by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
201 2000-09-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
203 * sysdeps/ieee754/flt-32/s_frexpf.c: Make it aliasing safe.
205 2000-09-29 Ulrich Drepper <drepper@redhat.com>
207 * elf/cache.c (save_cache): Initialize __unused field in new cache
208 as well to get reproducable results.
210 2000-09-29 H.J. Lu <hjl@gnu.org>
212 * sysdeps/ia64/fpu/libm-test-ulps: Updated for long double.
214 2000-09-29 H.J. Lu <hjl@gnu.org>
216 * sysdeps/ia64/bits/huge_val.h: New file.
218 2000-09-29 Ulrich Drepper <drepper@redhat.com>
220 * elf/chroot_canon.c: Don't report a failure if the last path
221 component is not available.
222 * elf/ldconfig.c (parse_conf): Use canonicalized name when reporting
225 * elf/cache.c (print_cache): Use stat64 instead of stat.
226 * elf/ldconfig.c (chroot_stat): Likewise.
227 (create_links): Likewise.
228 (manual_link): Likewise.
229 (search_dir): Likewise.
230 * elf/readlib.c (process_file): Likewise.
232 * Makefile (install): Set LC_ALL and LANGUAGE to C before running
235 2000-09-29 Jakub Jelinek <jakub@redhat.com>
237 * elf/chroot_canon.c: New file.
238 * elf/Makefile: Build and distribute it.
239 * elf/ldconfig.h (process_file): Add real_file_name argument.
240 (chroot_canon): Add prototype.
241 * elf/ldconfig.c (cache_file): Remove const.
243 (create_links): Add real_path argument.
244 If opt_chroot, maintain both real and given filenames.
245 (manual_link): Likewise.
246 (search_dir): Likewise.
247 (parse_conf): If opt_chroot, use chroot_canon to find the real
249 (main): For -r, try to use chroot, if it fails, leave opt_chroot set
250 and use chroot_canon where appropriate to do the same as if chroot
252 * elf/readlib.c (process_file): Add real_file_name argument, pass it
255 2000-09-29 Ulrich Drepper <drepper@redhat.com>
257 * math/complex.h (_Complex): We can be more specific when _Complex
258 is defined by the compiler.
260 2000-09-29 H.J. Lu <hjl@gnu.org>
262 * sysdeps/unix/sysv/linux/ia64/dl-cache.h: New.
264 * elf/cache.c (print_entry): Replace 64bit with IA-64 in message
265 for x86/IA-64 binary.
267 2000-09-29 Andreas Schwab <schwab@suse.de>
269 * sysdeps/unix/sysv/linux/ia64/readelflib.c: New file.
271 * elf/cache.c (print_entry): Check for FLAG_IA64_LIB64.
273 2000-09-29 Mark Kettenis <kettenis@gnu.org>
275 * sysdeps/mach/hurd/dl-sysdep.c (__access): New function. Dummy
276 implementation for use by the dynamic linker.
278 2000-09-29 Andreas Jaeger <aj@suse.de>
280 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Protect DN_* by
282 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
283 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
284 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
285 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
286 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
287 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
289 2000-09-29 Andreas Jaeger <aj@suse.de>
291 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Synch with Linux
293 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
294 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
295 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
296 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
297 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
298 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
300 2000-09-29 David Mosberger <davidm@hpl.hp.com>
302 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__ia64_syscall): Cleanup.
304 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Implement.
306 2000-06-10 David Mosberger <davidm@hpl.hp.com>
308 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix it so it actually
309 works: call to __sigjmp_save must be done unconditionally to
310 ensure jmp_buf is initialized properly.
312 2000-09-27 Andreas Jaeger <aj@suse.de>
314 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Synch with Linux
317 2000-09-29 Jakub Jelinek <jakub@redhat.com>
319 * nscd/nscd-client.h (NSCD_VERSION): Bump to 3.
320 Use nscd_ssize_t where appropriate.
321 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use nscd_ssize_t instead of
322 ssize_t where appropriate.
323 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
324 * nscd/hstcache.c (cache_addhst): Likewise.
325 * nscd/grpcache.c (cache_addgr): Likewise.
326 * sysdeps/generic/nscd-types.h: New file.
327 * sysdeps/alpha/nscd-types.h: New file.
329 2000-09-29 Ulrich Drepper <drepper@redhat.com>
331 * inet/getnameinfo.c (nrl_domainname): Use symbolic constant
332 INADDR_LOOPBACK instead of numeric value.
334 2000-09-28 H.J. Lu <hjl@gnu.org>
336 * sysdeps/ia64/dl-machine.h (RTLD_START): Adjust _dl_argv by
338 (ELF_MACHINE_FIXED_STACK): Removed.
340 2000-09-29 Andreas Jaeger <aj@suse.de>
342 * sysdeps/unix/sysv/linux/s390/lockf64.c: New file.
344 * sysdeps/unix/sysv/linux/s390/fcntl.c: New file.
346 * sysdeps/unix/sysv/linux/powerpc/lockf64.c: New file.
348 * sysdeps/unix/sysv/linux/powerpc/fcntl.c: New file.
350 2000-09-28 Ulrich Drepper <drepper@redhat.com>
352 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle unaligned
353 relocation also for R_ALPHA_RELATIVE.
354 Reported by Ivan Kokshaysky <ink@jurassic.park.msu.ru>.
356 2000-09-18 Bruno Haible <haible@clisp.cons.org>
358 * intl/dcigettext.c: Outside libc, use local variable names that don't
359 clash with those in libc.
360 * intl/bindtextdom.c: Likewise.
361 * intl/textdomain.c: Likewise.
363 2000-09-28 Ulrich Drepper <drepper@redhat.com>
365 * elf/ldconfig.c (parse_conf): Print full name of config dir
366 including chroot() path.
367 (main): Remove trailing / from opt_chroot string.
369 * include/features.h: Correct description of what happens if no
370 *_SOURCE macro is defined.
372 * sysdeps/posix/getaddrinfo.c (gaih_inet): Handle req->ai_socktype
373 correctly. Reported by Felix von Leitner <leitner@convergence.de>.
375 2000-09-19 H.J. Lu <hjl@gnu.org>
377 * malloc/malloc.h (__memalign_hook): Fix the parameter order.
378 * malloc/malloc.c (__memalign_hook): Likewise.
379 (memalign_hook_ini): Likewise.
381 2000-09-28 Ulrich Drepper <drepper@redhat.com>
383 * stdio-common/tmpnam.c (tmpnam): Optimize a bit.
385 * sysdeps/posix/getaddrinfo.c (gaih_local): Don't use tmpnam, use
386 underlying functions directly.
388 * sysdeps/unix/sysv/linux/bits/resource.h: Add RLIMIT_LOCKS.
389 * sysdeps/unix/sysv/linux/arm/bits/resource.h: Likewise.
390 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Likewise.
391 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
392 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: Likewise.
393 * sysdeps/unix/sysv/linux/sh/bits/resource.h: Likewise.
394 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
396 2000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
398 * sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_IPC64, only
399 define it for powerpc for kernel >= 2.4.0.
400 * sysdeps/unix/sysv/linux/msgctl.c: Test for __ASSUME_IPC64, not
402 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
403 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
404 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Sync with kernel.
405 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: New file.
406 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: New file.
407 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: New file.
409 2000-09-28 Martin Schwidefsksy <schwidefsky@de.ibm.com>
411 * sysdeps/s390/atomicity.h: Fix compare_and_swap.
413 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h
414 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
416 2000-09-28 Denis Joseph Barrow <djbarrow@de.ibm.com>
418 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from
420 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Fix ucontext structure.
422 2000-09-27 Andreas Schwab <schwab@suse.de>
424 * math/Makefile (distribute): Explicitly add the long double test
425 sources, to get them included even if long double is not supported.
427 2000-09-27 Jes Sorensen <jes@linuxcare.com>
429 * elf/soinit.c (struct object): Move definition to gccframe.h and
430 include it. Problem identified by HJ Lu.
432 * sysdeps/ia64/gccframe.h: New file. ia64 specific version of
433 struct object to be searched for frame unwind info.
434 * sysdeps/generic/gccframe.h: New file. Generic version of
435 struct object to be searched for frame unwind info.
437 2000-09-28 Ulrich Drepper <drepper@redhat.com>
439 * manual/errno.texi: Correct error text for ENXIO.
440 Reported by Jörg Schilling <schilling@fokus.gmd.de>.
442 2000-09-27 Jes Sorensen <jes@linuxcare.com>
444 * sysdeps/ia64/fpu/fsetexcptflg.c (fesetexceptflag): Set the
445 exception status bits rather than the exception disable bits.
446 Don't include math.h.
448 * sysdeps/ia64/fpu/fgetexcptflg.c (fegetexceptflag): Report the
449 status of exceptions currently raised rather than which exceptions
452 * sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Typecase to fenv_t
453 rather than unsigned long int.
455 * sysdeps/ia64/fpu/fedisblxcpt.c (fedisableexcept): Only disable
456 the exceptions actually requested by the caller and not just
457 disable all exceptions.
459 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Exceptions on
460 the ia64 are enabled by clearing the respective bits in the fpsr,
463 * sysdeps/ia64/bits/fenv.h: typedef fexcept_t and fenv_t to
464 unsigned long int rather than unsigned long to be consistent with
465 the coding conventions.
467 2000-09-20 H.J. Lu <hjl@gnu.org>
469 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Use fenv_t instead of
471 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
473 2000-09-28 Ulrich Drepper <drepper@redhat.com>
475 * string/bits/string2.h: Unify #if usage.
477 2000-09-27 Jakub Jelinek <jakub@redhat.com>
479 * math/test-fenv.c (feexcp_mask_test): If enabling all exceptions
480 and disabling underflow or overflow, disable inexact as well.
482 2000-09-26 Andreas Jaeger <aj@suse.de>
484 * sysdeps/gnu/netinet/tcp.h: Add tcp_info defines and types.
486 * sysdeps/unix/sysv/linux/sys/mount.h (enum): New flag MS_BIND.
488 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETLKW64,
489 F_GETLK64, F_SETLK64): Update from Linux-2.4.0-test9-pre4.
491 * elf/ldconfig.c (search_dir): Allow unlimited path length.
492 (create_links): Likewise.
494 2000-09-27 Ulrich Drepper <drepper@redhat.com>
496 * posix/tst-dir.c: Test a few error cases of chdir.
498 2000-09-26 Ulrich Drepper <drepper@redhat.com>
500 * math/math_private.h: Don't add long double prototypes if
501 NO_LONG_DOUBLE is defined.
503 * sysdeps/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove
505 * sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise.
506 * sysdeps/unix/i386/i586/clock_getres.c (EXTRA_CLOCK_CASES): Likewise.
508 * sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC.
510 2000-09-26 Jakub Jelinek <jakub@redhat.com>
512 * sysdeps/sparc/sparc32/bits/endian.h: Remove.
513 * sysdeps/sparc/sparc32/ieee754.h: New.
514 * sysdeps/sparc/sparc64/bits/endian.h: Move...
515 * sysdeps/sparc/bits/endian.h: ...here.
516 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Optimize.
517 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Check
518 %o1, not %o0 to see if we're parent or child. Optimize.
520 2000-09-26 Jes Sorensen <jes@linuxcare.com>
522 * sysdeps/unix/sysv/linux/ia64/fork.S: New file (based on code
524 * sysdeps/unix/sysv/linux/ia64/vfork.S: New file (based on
526 * sysdeps/unix/sysv/linux/ia64/fork.c: Deleted (obsoleted by fork.S).
528 2000-09-20 H.J. Lu <hjl@gnu.org>
530 * sysdeps/ia64/fpu/printf_fphex.c: New file.
532 * sysdeps/ia64/fpu/libm-test-ulps: New file.
534 2000-09-17 H.J. Lu <hjl@gnu.org>
536 * sysdeps/ia64/Makefile (long-double-fcts): New. Defined as yes.
538 * sysdeps/ia64/fpu/s_isinfl.c: New file. Include
539 sysdeps/i386/fpu/s_isinfl.c.
541 * sysdeps/ia64/fpu/s_isnanl.c: New file. Include
542 sysdeps/i386/fpu/s_isnanl.c.
544 * sysdeps/ia64/fpu/s_nextafterl.c: New file. Include
545 sysdeps/i386/fpu/s_nextafterl.c.
547 * sysdeps/ia64/fpu/bits/mathdef.h: New file. Copied from
548 sysdeps/i386/fpu/bits/mathdef.h.
550 2000-09-16 H.J. Lu <hjl@gnu.org>
552 * sysdeps/generic/ldsodefs.h (DL_UNMAP): New. Defined if
553 DL_UNMAP_IS_SPECIAL is not defined.
555 * sysdeps/ia64/dl-lookupcfg.h (DL_UNMAP_IS_SPECIAL): Defined.
556 (_dl_unmap): New prototype.
557 (DL_UNMAP): New. Defined as _dl_unmap.
559 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_unmap.
561 * elf/dl-close.c (_dl_close): Replace __munmap with DL_UNMAP.
563 2000-09-16 H.J. Lu <hjl@gnu.org>
565 * sysdeps/generic/ldsodefs.h (DL_LOOKUP_ADDRESS): New. Defined
566 if ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
568 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): New
570 (DL_LOOKUP_ADDRESS): New. Defined as _dl_lookup_address.
572 * sysdeps/ia64/dl-fptr.c (_dl_lookup_address): New. Lookup
573 the memory location of a function from a function descriptor.
575 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_lookup_address.
577 * elf/dl-addr.c (_dl_addr): Use DL_LOOKUP_ADDRESS to get the
580 2000-09-14 Jes Sorensen <jes@linuxcare.com>
582 * sysdeps/ia64/bits/byteswap.h (__bswap_16): Don't mark output
583 variable as input argument.
584 (__bswap_32): Likewise.
586 * sysdeps/ia64/dl-machine.h: Add missing stop bit in RTLD_START()
587 - found by Jim Wilson <wilson@cygnus.com>
589 2000-09-26 Ulrich Drepper <drepper@redhat.com>
591 * string/strxfrm.c: Only require alignment on __alignof__ (int32_t)
594 2000-09-26 Andreas Schwab <schwab@suse.de>
596 * locale/programs/ld-collate.c (collate_output): Only require
597 alignment on __alignof__ (int32_t) instead of 4.
598 * locale/loadlocale.c (_nl_load_locale): Likewise.
599 * string/strcoll.c: Likewise.
601 2000-09-26 Jes Sorensen <jes@linuxcare.com>
603 * sysdeps/ieee754/ldbl-96/e_atan2l.c (__ieee754_atan2l): Add
604 parentheses around arithmetic used in | statement to kill compiler
607 * math/math_private.h: Add prototype for __finitel.
608 (__ilogbl): Likewise.
609 (__isinfl): Likewise.
610 (__isnanl): Likewise.
612 (__copysignl): Likewise.
613 (__expm1l): Likewise.
614 (__floorl): Likewise.
615 (__frexpl): Likewise.
616 (__ldexpl): Likewise.
617 (__log1pl): Likewise.
620 (__scalbnl): Likewise.
623 (__sincosl): Likewise.
625 2000-09-26 Andreas Schwab <schwab@suse.de>
627 * sysdeps/m68k/fpu/libm-test-ulps: New file
629 2000-09-26 Ulrich Drepper <drepper@redhat.com>
631 * locale/langinfo.h (__nl_langinfo_l): Add prototype.
633 2000-09-26 Andreas Jaeger <aj@suse.de>
635 * misc/mkstemp64.c: New file.
636 * misc/Makefile (routines): Add mkstemp64.
637 * stdlib/stdlib.h: Add prototype and redirection magic.
638 * misc/Versions: Add mkstemp64.
640 2000-09-26 Thorsten Kukuk <kukuk@suse.de>
642 * nscd/dbg_log.c (dbg_log): Add missing format string.
644 2000-09-26 Ulrich Drepper <drepper@redhat.com>
646 * catgets/catgets.c (catopen): Use getenv instead of __secure_getenv
647 since we filter out the variable once.
648 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
649 * locale/newlocale.c (__newlocale): Likewise.
650 * locale/setlocale.c (setlocale): Likewise.
651 * malloc/malloc.c (ptmalloc_init): Likewise.
652 * resolv/res_hconf.c (_res_hconf_init): Likewise.
653 * resolv/res_init.c (__res_vinit): Likewise.
654 * time/tzfile.c (__tzfile_read): Likewise.
655 * sysdeps/generic/unsecvars.h: New file.
656 * elf/dl-support.c (non_dynamic_init): Use it here to remove variables.
657 * elf/rtld.c (process_envvars): Likewise.
658 * elf/Makefile (distribute): Add unsecvars.h.
660 * misc/daemon.c (daemon): Fail if !noclose and we cannot open the
661 real /dev/null device.
663 * sysdeps/generic/check_fds.c: Include device-nrs.h.
664 * sysdeps/generic/device-nrs.h: New file.
665 * sysdeps/unix/sysv/linux/device-nrs.h: New file.
666 * misc/Makefile (distribute): Add device-nrs.h.
668 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Use O_TRUNC to
669 remove possible garbage at the end of the file.
671 2000-09-25 Ulrich Drepper <drepper@redhat.com>
673 * stdio-common/tmpnam_r.c: Warn about insecure tmpnam_r.
674 * stdio-common/tmpnam.c: Warn about insecure tmpnam.
675 * stdio-common/tempnam.c: Warn about insecure tempnam.
676 * misc/mktemp.c: Warn about insecure mktemp.
678 * sysdeps/generic/check_fds.c: Check that file opened is really
680 * posix/wordexp.c (exec_comm_child): Likewise.
682 * elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW.
684 * locale/Makefile (routines): Add nl_langinfo_l.
685 * locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l.
686 * locale/nl_langinfo_l.c: New file.
687 * locale/nl_langinfo.c: Allow use of file for __nl_langinfo_l
690 2000-09-23 Bruno Haible <haible@clisp.cons.org>
692 * iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0.
693 (__gbk_to_ucs): Conditionalize private area mappings.
694 (__gbk_from_ucs4_tab9): Likewise.
695 (BODY for TO_LOOP): Likewise.
696 * iconvdata/testdata/GBK: Don't use characters not yet in Unicode.
697 * iconvdata/testdata/GBK..UTF-8: Likewise.
698 * iconvdata/tst-tables.sh: Enable GBK test.
700 2000-09-23 Bruno Haible <haible@clisp.cons.org>
702 * iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015.
703 (__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015.
704 (BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds
706 * iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA.
707 * iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015.
709 2000-09-23 Bruno Haible <haible@clisp.cons.org>
711 * iconvdata/johab.c (final_to_ucs): Fix typos.
712 (jamo_from_ucs_table): Likewise.
713 (BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges
714 0xD9E6..0xD9FE and 0xDEF2..0xDEFE.
715 (BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in
716 the range 0xD9E6..0xD9FE.
717 * iconvdata/tst-tables.sh: Enable JOHAB testing.
719 2000-09-25 Ulrich Drepper <drepper@redhat.com>
721 * iconv/gconv_conf.c (__gconv_get_path): Fix problem with relative
724 2000-09-24 Ulrich Drepper <drepper@redhat.com>
726 * libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if
727 stream is in wide mode.
729 * stdio-common/vfprintf.c (buffered_vfprintf): Orient stream.
731 2000-09-21 Bruno Haible <haible@clisp.cons.org>
733 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count
735 (INIT_PARAMS, UPDATE_PARAMS): Likewise.
737 2000-09-21 Bruno Haible <haible@clisp.cons.org>
739 * stdio-common/vfscanf.c (__vfscanf, _IO_vfscanf): Fix bugs in
740 reallocation logic for MALLOC (%as, %aS formats).
742 2000-09-24 Ulrich Drepper <drepper@redhat.com>
744 * stdio-common/vfprintf.c (process_arg): Handle %hhn.
745 Add missing case in va_arg handling for numbers.
746 * stdio-common/tst-printf.c (main): Add tests for %hhu and %hhn
748 * stdio/tst-printf.sh: Adjust expected results.
749 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
751 2000-09-20 Bruno Haible <haible@clisp.cons.org>
753 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80.
754 (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half
756 * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits
757 as equivalent to uppercase hexadecimal digits.
759 2000-09-20 Bruno Haible <haible@clisp.cons.org>
761 * iconvdata/testdata/EUC-KR..UTF8: New file.
762 * iconvdata/testdata/EUC-TW: New file.
763 * iconvdata/testdata/EUC-TW..UTF8: New file.
764 * iconvdata/testdata/EUC-JP: New file.
765 * iconvdata/testdata/EUC-JP..UTF8: New file.
766 * iconvdata/testdata/ISO-2022-JP: New file.
767 * iconvdata/testdata/ISO-2022-JP..UTF8: New file.
768 * iconvdata/testdata/ISO-2022-JP-2: New file.
769 * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file.
770 * iconvdata/testdata/ISO-2022-KR: Add a few more lines.
771 * iconvdata/testdata/ISO-2022-KR..UTF8: New file.
772 * iconvdata/testdata/ISO-2022-CN: New file.
773 * iconvdata/testdata/ISO-2022-CN..UTF8: New file.
774 * iconvdata/testdata/ISO-2022-CN-EXT: New file.
775 * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file.
776 * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2,
777 ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW.
779 2000-09-24 Andreas Jaeger <aj@suse.de>
781 * elf/ldconfig.c (add_dir): Move logic to add entry to list to new
782 function add_single_dir.
783 (add_single_dir): New function.
784 (search_dir): Use add_single_dir instead of recursing.
786 * sysdeps/generic/dl-cache.h: Include stdint.h.
787 (struct file_entry_new): Use fixed sizes for interoperability
788 between 32bit and 64bit systems, add __unused to make alignment
790 (CACHE_VERSION): Increment.
791 (struct cache_file_new): Use fixed sizes, add one more unused
792 entry to make alignment explicit.
794 2000-09-24 Ulrich Drepper <drepper@redhat.com>
796 * elf/ldconfig.c (search_dir): Make more use of d_type information.
798 2000-09-23 Ulrich Drepper <drepper@redhat.com>
800 * stdio-common/printf-parse.h (parse_one_spec): Clear
801 spec->info.i18n. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
803 2000-09-18 Mark Kettenis <kettenis@gnu.org>
805 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO):
806 #undef since we don't have msync.
808 * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int
809 constant since that is what clock_t is.
810 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
812 2000-09-11 Mark Kettenis <kettenis@gnu.org>
814 * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of
815 multiply by LOAD_SCALE.
817 2000-09-22 Jakub Jelinek <jakub@redhat.com>
819 * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW.
820 (crypt_r, setkey_r, encrypt_r): Likewise.
822 2000-09-22 Andreas Jaeger <aj@suse.de>
824 * locale/programs/repertoire.c (repertoiremap_hash): Don't specify
827 * sysdeps/alpha/fpu/libm-test-ulps: New file.
828 From Christian Iseli <chris@ludwig-alpha.unil.ch>.
830 2000-09-21 Andreas Jaeger <aj@suse.de>
832 * math/libm-test.inc (atan_test): Test for existence of function.
833 (expm1_test): Likewise.
834 (acos_test): Likewise.
835 (asin_test): Likewise.
836 (exp_test): Likewise.
837 (log10_test): Likewise.
838 (log_test): Likewise.
839 (pow_test): Likewise.
840 (sqrt_test): Likewise.
841 (cos_test): Likewise.
842 (sin_test): Likewise.
843 (tan_test): Likewise.
844 (log1p_test): Likewise.
845 (log2_test): Likewise.
847 * sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6.
849 * libio/oldiofsetpos64.c: Fix alias names.
851 2000-09-21 Martin Buchholz <martin@xemacs.org>
853 * manual/terminal.texi (Allocation): Sample code correction.
855 2000-09-20 Andreas Jaeger <aj@suse.de>
857 * iconvdata/Makefile (generated): Add tst-tables.out.
859 * intl/Makefile (generated): Add test output.
861 2000-09-19 Andreas Jaeger <aj@suse.de>
863 * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer.
864 Reported by Jens-Uwe Mager <jum@helios.de>.
866 2000-09-18 Ulrich Drepper <drepper@redhat.com>
868 * version.h (VERSION): Bump to 2.1.94.
870 * sysdeps/mips/Dist: Add fpu/fenv_libc.h.
871 * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c.
872 * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c.
873 * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h.
875 * malloc/mtrace.c (mtrace): Mark stream as close on exec.
877 2000-09-17 Bruno Haible <haible@clisp.cons.org>
879 * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the
880 range 0xD800..0xDFFF.
881 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
882 (BODY for FROM_LOOP): Likewise.
883 * iconv/gconv_simple.c (ucs2_internal_loop): Likewise.
884 (internal_ucs2_loop): Likewise.
885 (ucs2reverse_internal_loop): Likewise.
886 (internal_ucs2reverse_loop): Likewise.
888 2000-09-17 Bruno Haible <haible@clisp.cons.org>
890 * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding
893 2000-09-17 Bruno Haible <haible@clisp.cons.org>
895 * iconvdata/tst-table-from.c (main): Fix test for error on stdout.
896 * iconvdata/tst-table-to.c (main): Likewise.
898 2000-09-17 Bruno Haible <haible@clisp.cons.org>
900 * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from
902 * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration.
903 * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h".
904 (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set,
905 CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values.
906 (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3.
907 Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT.
908 (BODY for TO_LOOP): Fix usage of `set' vs. `used'. Fix typo that
909 caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643
910 plane 3. Fix shift sequences. Output announcement for SS2 and SS3
911 encodings when needed. When outputting an announcement, don't clear
912 most other announcements.
914 2000-09-17 Bruno Haible <haible@clisp.cons.org>
916 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun.
917 (BODY for TO_LOOP): Fix usage of `set' vs. `used'.
919 2000-09-14 Bruno Haible <haible@clisp.cons.org>
921 * intl/Versions: Add bind_textdomain_codeset.
923 2000-09-16 Ralf Baechle <ralf@gnu.org>
925 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare
927 (_RTLD_EPILOGUE): Reformat. Declare size of entry function.
928 (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so
929 it will even work when not loaded to the standard address.
930 (RTLD_START): Reformat. Call _dl_start in a way that is safe even
931 before the dynamic linker itself is relocated.
933 2000-09-18 Andreas Jaeger <aj@suse.de>
935 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
936 __ASSUME_32BITUIDS for MIPS.
937 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file.
938 * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h.
940 2000-09-17 H.J. Lu <hjl@gnu.org>
942 * catgets/Makefile ($(objpfx)de/libc.cat): Use
943 $(make-target-directory) instead of mkdir.
945 2000-09-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
947 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
948 __ASSUME_32BITUIDS for __powerpc__.
949 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
950 * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.
952 2000-09-17 Ulrich Drepper <drepper@redhat.com>
954 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
956 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
958 2000-09-16 Jakub Jelinek <jakub@redhat.com>
960 * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
962 * sysdeps/m68k/Implies: Likewise.
963 * sysdeps/sparc/sparc64/Implies: Likewise.
965 2000-09-16 Jakub Jelinek <jakub@redhat.com>
967 * elf/readlib.c (process_file): Don't error for stale .so links either.
969 2000-09-16 Ulrich Drepper <drepper@redhat.com>
971 * elf/dl-load.c (_dl_map_object_from_fd): Add one more
974 * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
975 Patch by Thorsten Kukuk <kukuk@suse.de>.
977 * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
979 (modules-names): Add defaultmod1 and defaultmod2.
980 Add rules to build test objects.
982 2000-09-15 Ulrich Drepper <drepper@redhat.com>
984 * wctype/wctype.h: Always include <bits/types.h>.
985 Reported by Jim Meyering <meyering@ascend.com>.
987 * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
988 * elf/dl-support.c: Likewise.
990 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
991 st_blocks member in stat and stat64 structs.
992 Patch by Bill Nottingham <notting@redhat.com>.
994 * iconvdata/tst-tables.sh: Add warning that GB18030 test might
997 * math/complex.h: Don't define _Complex macro for gcc 3. Add
998 __extension__ to _Complex_I definition since gcc warns if -pedantic.
999 * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
1000 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1002 * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
1003 necessary. Move includes of POSIX and Unix limits files to the end.
1004 * stdlib/Makefile (tests): Add tst-limits.
1005 * stdlib/tst-limits.h: New file.
1007 2000-09-15 Andreas Jaeger <aj@suse.de>
1009 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.
1011 * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
1013 2000-09-15 Jakub Jelinek <jakub@redhat.com>
1015 * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
1017 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
1018 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
1020 2000-09-15 Ulrich Drepper <drepper@redhat.com>
1022 * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
1024 (modules-names): Add nextmod1 and nextmod2.
1025 Add rules to build and run next.
1026 * elf/next.c: New file.
1027 * elf/nextmod1.c: New file.
1028 * elf/nextmod2.c: New file.
1030 2000-09-14 Jakub Jelinek <jakub@redhat.com>
1032 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
1034 2000-09-15 Andreas Jaeger <aj@suse.de>
1036 * sysdeps/mips/fpu/fenv_libc.h: New file.
1037 * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h
1038 * sysdeps/mips/fpu/fegetexcept.c: Likewise.
1039 * sysdeps/mips/fpu/fedisblxcpt.c: Likewise.
1041 * sysdeps/mips/fpu/feenablxcpt.c: New file.
1042 * sysdeps/mips/fpu/fegetexcept.c: New file.
1043 * sysdeps/mips/fpu/fedisblxcpt.c: New file.
1045 2000-09-14 Ulrich Drepper <drepper@redhat.com>
1047 * intl/Makefile: Avoid unnecessary test reruns.
1049 * stdio-common/tst-printf.sh: Also allow output from 64-bit machines.
1051 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
1052 to not use sysctl(). Too many architectures have problems with it.
1054 2000-09-14 Andreas Jaeger <aj@suse.de>
1056 * scripts/config.sub: New version from subversions.gnu.org.
1058 * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
1061 2000-09-14 Jakub Jelinek <jakub@redhat.com>
1063 * posix/regex.c (compile_range): Cast collseq index to unsigned char
1064 to avoid accessing data before collseq.
1066 * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
1067 pasting strings together.
1069 2000-09-14 Greg McGary <greg@mcgary.org>
1071 * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in
1073 * sysdeps/generic/bp-semctl.h: Likewise.
1074 * sysdeps/generic/bp-start.h: Likewise.
1075 * sysdeps/generic/bp-sym.h: Likewise.
1076 * sysdeps/generic/bp-thunks.h: Likewise. Include <stdio.h> to get
1079 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1081 * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
1084 * elf/elf.h: Add missing official relocations.
1086 * libio/stdio.h: Define __FILE if __need___FILE is defined.
1087 * stdio/stdio.h: Likewise.
1088 * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
1089 * include/stdio.h: Handle __need___FILE like __need_FILE.
1090 * include/wchar.h: Use __FILE instead of FILE.
1091 * libio/fwprintf.c: Include <stdio.h> for FILE definition.
1092 * libio/fwscanf.c: Likewise.
1093 * libio/getwc.c: Likewise.
1095 * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
1096 * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
1097 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
1099 * assert/assert.h: Update comment header about ISO C section.
1100 * math/complex.h: Likewise.
1101 * ctype/ctype.h: Likewise.
1102 * include/errno.h: Likewise.
1103 * include/limits.h: Likewise.
1104 * locale/locale.h: Likewise.
1105 * math/math.h: Likewise.
1106 * setjmp/setjmp.h: Likewise.
1107 * signal/signal.h: Likewise.
1108 * stdio/stdio.h: Likewise.
1109 * libio/stdio.h: Likewise.
1110 * stdlib/stdlib.h: Likewise.
1111 * string/string.h: Likewise.
1112 * time/time.h: Likewise.
1113 * wcsmbs/wchar.h: Likewise.
1114 * wctype/wctype.h: Likewise.
1115 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1117 2000-09-13 Andreas Jaeger <aj@suse.de>
1119 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
1120 for no more entries.
1121 * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
1122 * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
1123 Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
1125 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1127 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
1128 constant since this is what clock_t is.
1129 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
1130 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
1131 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
1132 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
1134 * time/time.h: Don't defined clockid_t and timer_t unless POSIX
1135 definitions are requested.
1137 2000-09-13 Andreas Jaeger <aj@suse.de>
1139 * shlib-versions: libBrokenLocale needs minimal version for ia64,
1140 sparc64 and sh to synch with libc.
1142 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1144 * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
1145 (distribute): Add iso-2022-cn-ext.c.
1146 Add definitions to compile the new module.
1147 * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
1148 * iconvdata/iso-2022-cn-ext.c: New file.
1149 * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
1150 ucs4_from_isoir165. Increment input pointer if successful.
1152 * csu/Makefile: Work around a gcc bug when creating csu-dummies.
1154 * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
1156 2000-09-01 Jes Sorensen <jes@linuxcare.com>
1158 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
1159 __syscall_getdents64 wrapper.
1161 * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
1163 2000-09-12 Ulrich Drepper <drepper@redhat.com>
1165 * iconvdata/gb18030.c: Many many changes. Make consistent with
1166 charmap and with itself.
1167 * iconvdata/tst-tables.sh: Test GB18030.
1169 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1171 * iconv/skeleton.c: Fix last patch, add missing parameter to
1172 unaligned function call.
1174 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1176 * locale/programs/ld-collate.c (collate_read): Fix typo in handling
1177 of decimal ellipsis.
1179 2000-09-11 Bruno Haible <haible@clisp.cons.org>
1181 * locale/programs/ld-collate.c (collate_read): Always initialize
1184 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1186 * locale/programs/ld-collate.c (collate_finish): Upper bound for
1187 ruleidx is 128, not 256.
1189 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1191 * locale/programs/ld-collate.c (collate_read): Correct check for
1192 already inserted entries.
1194 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1196 * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
1199 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1201 * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
1202 MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
1204 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1206 * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
1209 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1211 * iconvdata/utf-7.c: New file.
1212 * iconvdata/gconv-modules (UTF-7): New module entries.
1213 * iconvdata/Makefile (modules): Add UTF-7.
1214 (distribute): Add utf-7.c.
1215 * iconvdata/testdata/UTF-7: New file.
1216 * iconvdata/testdata/UTF-7..UTF8: New file.
1217 * iconvdata/TESTS (UTF-7): New entry.
1218 * iconvdata/run-iconv-test.sh: Fix confusing output.
1220 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1222 * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
1224 2000-09-10 David S. Miller <davem@redhat.com>
1226 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
1227 frame pointer offset for non-fast path.
1229 2000-09-10 Ulrich Drepper <drepper@redhat.com>
1231 * locale/programs/3level.h (*_init): Initialize level1, level2,
1233 (*_add): Remove a few unnecessary conditionals.
1235 2000-09-05 Wolfram Gloger <wg@malloc.de>
1237 * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
1238 ensure usability of mutex as an `in use' flag.
1240 2000-09-10 Ulrich Drepper <drepper@redhat.com>
1242 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
1244 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
1245 ugly GMON_WEAK_START hack.
1246 Patch by Philip Blundell <philb@gnu.org>.
1248 * sysdeps/i386/i486/bits/string.h: Pretty printing.
1250 2000-09-09 Ulrich Drepper <drepper@redhat.com>
1252 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
1253 and PPC_ICBI asm for broken compilers.
1254 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1256 2000-09-09 Andreas Jaeger <aj@suse.de>
1258 * manual/message.texi (Advanced gettext functions): Fix typo.
1260 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
1263 2000-09-09 Ulrich Drepper <drepper@redhat.com>
1265 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
1267 * sysdeps/ia64/memccpy.S: Likewise.
1268 Patches by Jim Wilson <wilson@redhat.com>.
1270 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
1271 before trying to read /proc.
1272 Patch by Matt Wilson <msw@redhat.com>.
1273 * include/sys/utsname.h: Declare __uname.
1274 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
1275 * sysdeps/mach/hurd/uname.c: Likewise.
1276 * sysdeps/unix/syscalls.list: Likewise.
1278 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
1281 2000-09-08 Ulrich Drepper <drepper@redhat.com>
1283 * posix/getopt.c (_getopt_internal): When long_only is set always
1284 recognize conflicts just like before.
1286 2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1288 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
1290 2000-09-08 Greg McGary <greg@mcgary.org>
1292 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
1293 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
1294 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
1296 2000-09-08 Andreas Jaeger <aj@suse.de>
1298 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
1300 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
1302 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
1303 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
1304 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
1306 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1308 * iconvdata/tst-tables.sh: Enable EUC-KR test.
1310 * elf/dl-load.c (lose): Decrement _nl_loaded.
1311 (_dl_map_object_from_fd): Don't try to dlopen executables.
1313 * iconvdata/tst-tables.sh: Actually return with an error if
1314 something goes wrong.
1315 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
1316 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
1318 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
1320 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
1321 * iconvdata/tst-table-from.c: Include <string.h>.
1322 (try): Correct cast in iconv call.
1324 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
1326 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
1327 (sysdep_routines): Remove dl-start.
1328 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1330 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
1332 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
1333 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
1335 2000-09-06 Andreas Schwab <schwab@suse.de>
1337 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
1339 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1341 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
1343 * scripts/config.sub: Strip out -unknown for Linux targets.
1344 Patch by Scott Bambrough <scottb@netwinder.org>.
1346 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
1349 2000-09-07 Andreas Jaeger <aj@suse.de>
1351 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
1353 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
1356 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
1358 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
1359 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
1361 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
1363 * stdlib/tst-bsearch.c (main): Add more test cases.
1365 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
1366 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1367 Reported by GOTO Masanori <gotom@debian.or.jp>.
1369 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1371 * posix/Makefile (tests): Add tst-dir.
1372 (tst-dir-ARGS): New variable.
1373 * posix/tst-dir.c: New file.
1375 2000-09-07 Andreas Jaeger <aj@suse.de>
1377 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
1380 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
1382 2000-09-06 Ulrich Drepper <drepper@redhat.com>
1384 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
1385 use the hack with tryopen_o_directory to determine at runtime
1387 * sysdeps/unix/sysv/linux/opendir.c: New file.
1388 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1389 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
1391 * catgets/Depend: New file. Add intl.
1392 * catgets/Makefile (tests): Add tst-catgets.
1393 (generated): Remove de.msg.
1394 (generated-dirs): Add de.
1395 Add dependency if tst-catgets output on de/libc.cat.
1396 * catgets/tst-catgets.c: New file.
1398 * po/ja.po: New file.
1399 * po/el.po: Update from translation team.
1401 * wcsmbs/Depend: New file.
1402 * wcsmbs/Makefile (tests): Add tst-btowc.
1403 (tst-btowc-ENV): Define.
1404 * wcsmbs/tst-btowc.c: New file.
1406 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
1407 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
1409 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
1411 * stdlib/Makefile (tests): Add tst-bsearch.
1412 * stdlib/tst-bsearch.c: New file.
1414 * posix/getopt.c (_getopt_internal): Don't recognize an option
1415 name as ambiguous if it's a prefix for more than one name but the
1416 other struct option values are identical.
1418 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
1419 Don't depend on visual inspection of the output file to recognize
1421 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
1423 2000-09-06 Andreas Jaeger <aj@suse.de>
1425 * sysdeps/alpha/soft-fp/Dist: New file.
1426 * sysdeps/i386/soft-fp/Dist: New file.
1427 * sysdeps/mips/mips64/soft-fp/Dist: New file.
1428 * sysdeps/mips/soft-fp/Dist: New file.
1429 * sysdeps/powerpc/soft-fp/Dist: New file.
1430 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
1431 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
1433 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
1434 Use sysdep_routines instead of routines to fix make dist failure.
1435 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
1437 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
1439 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
1440 sysdep_headers instead of headers for make dist.
1442 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
1445 2000-09-06 Andreas Schwab <schwab@suse.de>
1447 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
1449 2000-09-06 Andreas Jaeger <aj@suse.de>
1451 * soft-fp/Makefile (distribute): Remove ChangeLog.
1453 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
1454 sysdep_routines instead of routines for make dist.
1456 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1458 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
1459 compatibility check for old stream and call _IO_wide in doubt.
1460 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
1461 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
1462 needed tst for such an old structure and don't do anything.
1463 * libio/freopen.c: Remove declaration of _IO_stdin_used.
1465 2000-09-06 Andreas Jaeger <aj@suse.de>
1467 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
1468 sysdep-dl-routines and sysdep_routines instead of rtld-routines
1471 * soft-fp/ChangeLog: Merged with this file.
1473 2000-06-13 Ulrich Drepper <drepper@redhat.com>
1475 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
1477 * soft-fp/Makefile (distribute): Add the math functions, too.
1479 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
1481 2000-03-03 Geoff Keating <geoffk@cygnus.com>
1483 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
1486 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
1487 * soft-fp/sysdeps/powerpc/q_*: New files.
1489 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1491 * stdio-common/vfprintf.c (process_string_arg): Handle precision
1492 in wide char case correctly. Don't allocate too long temporary
1493 strings with alloca.
1495 * stdio-common/Makefile (tests): Add tst-swprintf.
1496 (tst-swprintf-ENV): New variable.
1497 * stdio-common/tst-swprintf.c: New file.
1499 2000-09-05 Andreas Jaeger <aj@suse.de>
1501 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
1502 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
1503 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1505 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1507 * configure.in: Strip out "unknown" from configuration names.
1509 2000-09-05 Andreas Jaeger <aj@suse.de>
1511 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
1513 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
1514 * sysdeps/sparc/sparc32/Implies: Likewise.
1515 * sysdeps/powerpc/Implies: Likewise.
1517 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
1518 * libio/oldiofgetpos64.c: Likewise.
1520 * soft-fp/Makefile (distribute): Remove configure.
1522 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
1524 * soft-fp/configure: Remove.
1526 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
1527 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
1529 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
1530 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
1532 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
1533 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
1535 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
1536 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
1538 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
1539 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
1541 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
1542 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
1544 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
1545 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
1547 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
1548 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
1550 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
1551 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
1553 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
1554 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
1556 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
1557 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
1559 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
1560 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
1562 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
1563 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
1565 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
1566 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
1568 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
1569 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
1571 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
1572 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
1574 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
1575 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
1577 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
1578 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
1580 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
1581 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
1583 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
1584 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
1586 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
1587 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
1589 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
1590 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
1592 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
1593 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
1595 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
1596 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
1598 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
1599 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
1601 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
1602 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
1604 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
1605 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
1607 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
1608 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
1610 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
1611 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
1613 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
1614 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
1616 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
1617 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
1619 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
1620 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
1622 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
1623 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
1625 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
1626 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
1628 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
1629 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
1631 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
1632 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
1634 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
1635 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
1637 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
1638 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
1640 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
1641 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
1643 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
1644 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
1646 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
1647 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
1649 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
1650 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
1652 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
1653 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
1655 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
1656 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
1658 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
1659 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
1661 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
1662 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
1664 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
1665 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
1667 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
1668 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
1670 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
1671 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
1673 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
1674 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
1676 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
1677 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
1679 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
1680 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
1682 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
1683 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
1685 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
1686 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
1688 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
1689 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
1691 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
1692 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
1694 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
1695 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
1697 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
1698 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
1700 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
1701 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
1703 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
1704 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
1706 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
1707 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
1709 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
1710 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
1712 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
1713 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
1715 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
1716 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
1718 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
1719 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
1721 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
1722 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
1724 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
1725 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
1727 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
1728 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
1730 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
1731 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
1733 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
1734 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
1736 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
1737 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
1739 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
1740 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
1742 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
1743 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
1745 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
1746 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
1748 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
1749 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
1751 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
1752 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
1754 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
1755 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
1757 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
1758 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
1760 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
1761 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
1763 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
1764 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
1766 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
1767 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
1769 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
1770 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
1772 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
1773 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
1775 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
1776 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
1778 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
1779 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
1781 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
1782 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
1784 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
1785 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
1787 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
1788 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
1790 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
1791 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
1793 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
1794 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
1796 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
1797 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
1799 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
1800 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
1802 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
1803 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
1805 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
1806 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
1808 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
1809 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
1811 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
1812 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
1814 * soft-fp/sysdeps/powerpc/Versions: Move from here...
1815 * sysdeps/powerpc/soft-fp/Versions: ... to here.
1817 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
1818 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
1820 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
1821 change symbol version.
1822 * libio/oldiofgetpos64.c: Likewise.
1823 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
1825 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
1827 Reported by dyky@kondara.org, closes PR libc/1886.
1829 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
1832 2000-09-04 Ulrich Drepper <drepper@redhat.com>
1834 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
1835 script when ^C is hit.
1837 * locale/programs/localedef.c (construct_output_path): Correct
1838 computation of endp after asprintf.
1839 * locale/programs/locfile.c (write_locale_data): Don't add extra
1842 2000-09-05 Andreas Jaeger <aj@suse.de>
1844 * scripts/config.guess: New upstream version.
1845 * scripts/config.sub: Likewise.
1846 * manual/texinfo.tex: Likewise.
1848 2000-09-04 Andreas Schwab <schwab@suse.de>
1850 * elf/Makefile (all-dl-routines): New variable.
1851 (elide-routines.os): Use it instead of $(dl-routines).
1852 (all-rtld-routines): New variable.
1853 (extra-objs): Use it instead of $(rtld-routines).
1854 ($(objpfx)dl-allobjs.os): Likewise.
1855 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
1856 sysdep-dl-routines and sysdep_routines instead of rtld-routines
1859 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1861 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
1862 Set fname to NULL if the module wasn't found.
1864 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1866 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
1867 true if trans->name already ends in ".so".
1869 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1871 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
1873 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
1874 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
1875 (__gconv_release_shlib): Change return type to void.
1876 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
1877 step->__counter here.
1878 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
1879 if the reference is zero.
1880 (release_step): New function.
1881 (gen_steps): Always initialize the __counter to 1. Use release_step.
1882 Don't call the destructor on the step whose initializer failed.
1883 (increment_counter): Use release_step. Don't normally run destructors
1885 (__gconv_close_transform): Use release_step.
1887 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1889 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
1890 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
1892 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1894 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
1895 If the first byte is 0x8E, don't ask for 4 bytes until it has been
1896 verified that the second byte is valid. Leave it to cns11643_to_ucs4
1897 to check for incomplete input.
1898 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
1899 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
1900 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
1901 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
1903 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
1904 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
1905 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
1906 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
1909 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1911 * iconv/gconv_db.c (find_derivation): Always use the least-cost
1914 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1916 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
1919 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1921 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
1922 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
1925 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1927 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
1929 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1931 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
1933 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1935 * iconvdata/tst-tables.sh: New file.
1936 * iconvdata/tst-table.sh: New file.
1937 * iconvdata/tst-table-from.c: New file.
1938 * iconvdata/tst-table-to.c: New file.
1939 * iconvdata/tst-table-charmap.sh: New file.
1940 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
1941 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
1942 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
1943 ISIRI-3342.irreversible, SJIS.irreversible.
1944 (tests): Add dependency on tst-tables.out.
1945 (tst-tables.out, tst-tables-clean): New rules.
1946 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
1947 * iconvdata/ISIRI-3342.irreversible: New file.
1948 * iconvdata/EUC-JP.irreversible: New file.
1949 * iconvdata/SJIS.irreversible: New file.
1951 2000-09-04 Ulrich Drepper <drepper@redhat.com>
1953 * manual/locale.texi (General Numeric): Update description of
1954 representation of the grouping information in the locale data.
1955 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
1957 2000-09-04 Andreas Jaeger <aj@suse.de>
1959 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
1960 * iconv/iconv_prog.c (options): Fix typo.
1961 Reported by dyky@kondara.org, closes PR libc/1885.
1963 2000-09-04 Andreas Jaeger <aj@suse.de>
1965 * sysdeps/generic/fegetenv.c: It's __fegetenv.
1966 Reported by Rob Levin <lilo@transvirtual.com>.
1968 2000-09-03 Ulrich Drepper <drepper@redhat.com>
1970 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
1971 to the typedefs of __timezone_ptr_t.
1972 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
1974 2000-09-02 Jakub Jelinek <jakub@redhat.com>
1976 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
1979 2000-09-01 H.J. Lu <hjl@gnu.org>
1981 * Makeconfig (built-program-cmd): Don't use the dynamic linker
1982 to run a binary if it is in $(tests-static).
1984 * Rules (binaries-static): Add $(tests-static).
1986 2000-09-02 Andreas Jaeger <aj@suse.de>
1988 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
1990 * libio/fmemopen.c (fmemopen_close): Revert one part of last
1993 2000-09-01 Ulrich Drepper <drepper@redhat.com>
1995 * iconvdata/big5hkscs.c: Regenerated from charmap.
1996 * iconvdata/testdata/BIG5HKSCS: Regenerated.
1997 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
1999 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
2000 statement. General cleanup.
2002 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2004 * wctype/wcfuncs.c (iswblank): New function.
2005 * wctype/wcfuncs_l.c (__iswblank_l): New function.
2006 * wctype/wcextra.c: Remove file.
2007 * wctype/wcextra_l.c: Remove file.
2008 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
2010 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2012 * locale/programs/ld-collate.c (collate_output): Remove redundant
2014 * string/strcoll.c: Likewise.
2015 * string/strxfrm.c: Include assert.h. Add assert calls like in
2018 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2020 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
2021 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
2022 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
2023 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
2024 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
2025 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
2026 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
2027 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
2028 _NL_CTYPE_GAP5/6 respectively.
2030 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
2031 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
2032 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
2033 Don't initialize __ctype_names and __ctype_width.
2034 * wctype/cname-lookup.h: Remove file.
2035 * wctype/Makefile (distribute): Remove cname-lookup.h.
2036 * wctype/wchar-lookup.h: Include stdint.h.
2037 * wctype/wctype.c (__wctype): Assume new locale format.
2038 * wctype/wctype_l.c (__wctype_l): Likewise.
2039 * wctype/iswctype.c: Don't include cname-lookup.h.
2040 (__iswctype): Assume new locale format.
2041 * wctype/iswctype_l.c: Don't include cname-lookup.h.
2042 (__iswctype_l): Assume new locale format.
2043 * wctype/wctrans.c: Don't include ctype.h.
2044 (wctrans): Assume new locale format.
2045 * wctype/wctrans_l.c (__wctrans_l): Likewise.
2046 * wctype/towctrans.c: Don't include cname-lookup.h.
2047 (__towctrans): Assume new locale format.
2048 * wctype/towctrans_l.c: Don't include cname-lookup.h.
2049 (__towctrans_l): Assume new locale format.
2050 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
2051 localeinfo.h instead.
2052 (__NO_WCTYPE): Remove unused macro.
2053 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
2055 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
2056 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
2057 (towlower, towupper): Likewise.
2058 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
2059 localeinfo.h instead.
2060 (__NO_WCTYPE): Remove unused macro.
2061 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
2062 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
2063 __iswxdigit_l): Assume new locale format.
2064 (__towlower_l, __towupper_l): Likewise.
2065 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
2066 (__ctype32_b): Remove declaration.
2067 (internal_wcwidth): Assume new locale format.
2068 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
2069 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
2070 to map32_b, rename width_3level to width.
2071 (ctype_output): Always create new locale format. Don't emit
2072 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
2073 (allocate_arrays): Always create new locale format.
2075 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
2076 * locale/weightwc.h (findidx): Assume new locale format.
2077 * string/strcoll.c (wcscoll): Remove local variables size, layers,
2079 * string/strxfrm.c (wcsxfrm): Likewise.
2080 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
2081 local variable collseq to 'const char *'.
2082 (SUFFIX): Don't use, don't undefine.
2083 * posix/fnmatch.c: Remove SUFFIX definition.
2084 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
2085 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
2086 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
2087 (collate_finish): Always create new locale format. Remove local
2088 variables min_total, act_size.
2089 (collate_output): Always create new locale format. Remove local
2090 variables table_size, names, tablewc. Rename tablewc_3level to
2093 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2095 * locale/programs/ld-collate.c (obstack_int32_grow,
2096 obstack_int32_grow_fast): New inline functions.
2097 (output_weightwc, collate_output): Use them where possible.
2099 2000-09-01 Ulrich Drepper <drepper@redhat.com>
2101 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
2102 patch (_mode -> _flags).
2104 * libio/Makefile (headers): Add stdio_ext.h.
2105 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
2106 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
2107 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
2108 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
2109 __fsetlocking, and _flushlbf.
2110 * libio/__fbufsize.c: New file.
2111 * libio/__flbf.c: New file.
2112 * libio/__fpending.c: New file.
2113 * libio/__fpurge.c: New file.
2114 * libio/__freadable.c: New file.
2115 * libio/__freading.c: New file.
2116 * libio/__fsetlocking.c: New file.
2117 * libio/__fwritable.c: New file.
2118 * libio/__fwriting.c: New file.
2119 * libio/stdio_ext.h: New file.
2120 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
2121 * libio/libio.h (_IO_USER_LOCK): Define.
2122 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
2123 test _IO_USER_LOCK flag first.
2125 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
2128 2000-09-01 Andreas Jaeger <aj@suse.de>
2130 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
2132 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
2134 2000-08-31 Ulrich Drepper <drepper@redhat.com>
2136 * math/Makefile (tests): Add tst-defintions.
2137 * math/tst-definitions.c: New file.
2139 * stdlib/Makefile (headers): Add bits/wchar.h.
2140 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
2141 * sysdeps/generic/bits/wchar.h: New file.
2142 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
2143 file to define WCHAR_MIN and WCHAR_MAX.
2144 Change UINT*8_MAX and UIN*16_MAX value to type int.
2145 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
2146 file to define WCHAR_MIN and WCHAR_MAX.
2147 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
2149 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
2150 * sysdeps/generic/bits/mathdef.h: Likewise.
2151 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2152 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2153 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
2154 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
2155 * locale/locale.h (struct lconv): Add __ prefix to the new members
2157 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
2158 imaxdiv optimizations.
2159 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
2160 * sysdeps/wordsize-64/ldiv.c: Likewise.
2161 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
2163 * sysdeps/generic/bits/fenv.h: Likewise.
2164 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2165 * sysdeps/ia64/bits/fenv.h: Likewise.
2166 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
2167 * sysdeps/mips/bits/fenv.h: Likewise.
2168 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2169 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2170 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2172 * inet/rcmd.c: Use *stat64 instead of *stat internally.
2173 * inet/ruserpass.c: Likewise.
2174 * catgets/open_catalog.c: Likewise.
2175 * intl/loadmsgcat.c: Likewise.
2176 * io/getdirname.c: Likewise.
2177 * locale/loadlocale.c: Likewise.
2178 * misc/getusershell.c: Likewise.
2179 * stdlib/canonicalize.c: Likewise.
2180 * sysdeps/posix/euidaccess.c: Likewise.
2181 * sysdeps/posix/isfdtype.c: Likewise.
2182 * sysdeps/posix/posix_fallocate.c: Likewise.
2183 * sysdeps/posix/tempname.c: Likewise.
2184 * sysdeps/unix/grantpt.c: Likewise.
2185 * sysdeps/unix/opendir.c: Likewise.
2186 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
2187 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
2188 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2189 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
2190 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2191 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2192 * sysvipc/ftok.c: Likewise.
2193 * time/getdate.c: Likewise.
2195 * time/getdate.c: Add extra access test.
2197 2000-08-31 Ulrich Drepper <drepper@redhat.com>
2199 * version.h (VERSION): Bump to 2.1.93.
2201 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
2202 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
2204 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
2205 Make this a new rule depending on tst-gettext.out and run mtrace.
2206 * intl/tst-gettext.c: Call mtrace.
2207 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
2209 * elf/dl-reloc.c: Add a few more __builtin_expect.
2211 * configure.in: Remove --with-gettext option.
2213 * intl/dcigettext.c (free_mem): Correct freeing of
2214 _nl_domain_bindings list.
2216 * sysdeps/generic/setenv.c (free_mem): New function. Free all
2219 * intl/locale.alias: Add aliases for bokmal and nynorsk.
2221 * locale/iso-639.def: Fix 639-1 code for Bokmal.
2223 * stdio-common/itoa-digits.c: Move upper digits to...
2224 * stdio-common/itoa-udigits.c: ...here. New file.
2225 * stdio-common/Makefile (routines): Add itoa-udigits.
2227 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
2228 relocate ld.so don't add supprt for relocations which should not
2231 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
2232 __secure_getenv. Instead test __libc_enable_secure once.
2234 * io/pwd.c (main): Provide a good example, use *_unlocked function.
2236 2000-08-30 Ulrich Drepper <drepper@redhat.com>
2238 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
2239 whether the new record should be freed if it's a duplicate.
2240 (add_module): Adjust insert_module call.
2241 (__gconv_read_conf): Likewise.
2242 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
2244 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
2246 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
2248 * include/link.h (struct r_search_path_struct): New.
2249 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
2250 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
2252 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
2253 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
2254 added at startup time.
2255 * elf/dl-load.c: Fix memory handling. r_search_path_struct
2256 contains element to remember fact that we can free memory.
2257 (all_dirs): Renamed to _dl_all_dirs. Made global.
2258 (_dl_init_all_dirs): New variable.
2259 (fillin_rpath): Save one malloc call.
2260 (decompose_rpath): Change interface. New first parameter points to
2261 r_search_path_struct.
2262 (_dl_init_paths): Adjust for changes. Mark all memory as not
2263 deletable. Set _dl_init_all_paths value.
2264 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
2265 parameter replaced with r_search_path_struct *. Information about
2266 freeing now contained in r_search_path_struct.
2267 (_dl_map_object): Adjust for above changes.
2269 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
2271 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
2272 when adding new entries.
2274 * elf/dl-load.c (fillin_rpath): Make local copy of where string
2275 since the object being loaded can be unloaded.
2277 * iconvdata/Makefile (tests): Add tst-loading.
2278 * iconvdata/tst-loading.c: New file.
2280 2000-08-29 Bruno Haible <haible@clisp.cons.org>
2282 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
2283 When comparing a char with an int, always cast the char to
2284 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
2285 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
2287 2000-08-30 Ulrich Drepper <drepper@redhat.com>
2289 * time/strftime.c (my_strftime): Add compatibility code for use
2290 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
2292 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
2293 return 0 for success but always < 0 on failure.
2295 * nss/getXXbyYY_r.c: Define result to *result before including
2298 2000-08-30 Andreas Jaeger <aj@suse.de>
2300 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
2302 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2304 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
2306 * iconvdata/TESTS: Add BIG5HKSCS entry.
2307 * iconvdata/testdata/BIG5HKSCS: New file.
2308 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
2310 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
2313 * libio/iogetline.c: Set mode before the loop in case n==0.
2314 * libio/iogetwline.c: Likewise.
2316 2000-08-29 H.J. Lu <hjl@gnu.org>
2318 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
2320 (_IO_new_file_overflow): Likewise.
2321 * libio/genops.c (_IO_flush_all): Likewise.
2322 * libio/ioftell.c (_IO_ftell): Likewise.
2324 2000-08-29 Akira Higuchi <a@kondara.org>
2326 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
2327 and __end_fct fields of struct __gconv_step.
2328 * iconv/Makefile (tests): Add iconv-bug2.
2329 * iconv/iconv-bug2.c: New file.
2331 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
2332 instead of 'inptr - inend' to ksc5601_to_ucs4.
2334 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
2336 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
2337 character or shift sequence is found at the end of the input
2338 string, return__GCONV_INCOMPLETE_INPUT instead of
2339 __GCONV_EMPTY_INPUT.
2340 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
2341 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
2343 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
2344 __GCONV_ILLEGAL_INPUT for 8bit characters.
2346 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2348 * signal/signal.h (sigpause): Move __THROW before __asm__.
2350 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
2351 names don't match don't return.
2352 Patch by Olaf Kirch <okir@flash.lst.de>.
2354 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2356 * time/strftime.c (my_strftime): Handle # flag for %b as well.
2358 2000-08-27 H.J. Lu <hjl@gnu.org>
2360 * posix/Makefile (otherlibs): Add for building with static-nss
2363 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2365 * libio/stdio.h: Add fmemopen prototype.
2367 2000-08-25 Andreas Jaeger <aj@suse.de>
2369 * libio/Makefile (routines): Add fmemopen.
2370 (tests): Add test-fmemopen.
2371 * libio/Versions: Add fmemopen with version GLIBC_2.2.
2372 * libio/test-fmemopen.c: New file.
2373 * libio/fmemopen.c: New file.
2374 Patches by Hanno Mueller <kontakt@hanno.de>.
2376 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2378 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
2379 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
2381 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
2382 to avoid crashing statically linked applications.
2384 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2386 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
2387 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
2389 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
2390 If the result is fits in the buffer, copy only as many bytes as needed.
2392 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
2393 buffer after copying numbuf into it.
2394 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
2396 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2398 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
2399 the result. When string_len < len, don't clear the rest of the buffer.
2401 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2403 Support for new LC_COLLATE format.
2404 * locale/coll-lookup.h: New file.
2405 * locale/weightwc.h (findidx): When size == 0, call
2406 collidx_table_lookup.
2407 * wcsmbs/wcscoll.c: Include coll-lookup.h.
2408 * wcsmbs/wcsxfrm.c: Likewise.
2409 * posix/fnmatch.c: Likewise.
2410 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
2411 collseq_table_lookup.
2412 * locale/programs/3level.h: New file.
2413 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
2414 by including "3level.h".
2415 * locale/programs/ld-collate.c (wchead_table, collidx_table,
2416 collseq_table): New types, defined by including "3level.h".
2417 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
2418 (encoding_mask, encoding_byte): Remove.
2419 (utf8_encode): Use simple shifts instead.
2420 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
2421 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
2422 (collate_output): New local variable tablewc_3level. When
2423 !oldstyle_tables, set table_size to 0 and names to NULL and fill
2424 tablewc_3level instead of tablewc. Change format of TABLEWC and
2425 COLLSEQWC entries written to the file.
2426 * locale/C-collate.c (collseqwc): Change format.
2427 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
2429 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
2431 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2433 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
2434 (locale_ctype_t): New charnames_idx field.
2435 (ctype_startup): Initialize charnames_idx field.
2436 (find_idx): Speed up dramatically by using charnames_idx inverse table.
2438 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2440 * locale/C-ctype.c: Switch to new locale format.
2441 (_nl_C_LC_CTYPE_names): Remove array.
2442 (STRUCT_CTYPE_CLASS): New macro.
2443 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
2444 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
2445 New three-level tables.
2446 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
2447 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
2448 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
2449 12 class tables and 2 map tables at the end.
2450 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
2451 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
2452 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
2454 (b): Remove trailing semicolon.
2455 (__ctype_names, __ctype_width): Don't initialize.
2456 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
2458 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2460 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
2461 is guaranteed to be allocated with the same malloc() and may be
2463 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
2464 been set to empty by an earlier open_path call, don't pass it again.
2466 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2468 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
2469 we are not optimizing.
2471 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
2474 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
2476 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2478 2000-08-28 Andreas Jaeger <aj@suse.de>
2480 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
2482 2000-08-28 Mark Kettenis <kettenis@gnu.org>
2484 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
2485 getpeername. Use ISO C style function definition.
2486 (getpeername): Provide weak alias.
2487 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
2488 setrlimit. Use ISO C style function definition.
2489 (setrlimit): Provide weak alias.
2491 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
2493 * shlib-versions: Add a rule for S/390 to the libm version list.
2494 * sysdeps/s390/Versions: New file.
2495 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
2496 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
2497 * sysdeps/unix/sysv/linux/s390/Versions: New file.
2498 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
2499 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
2500 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
2501 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
2502 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
2503 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
2504 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
2505 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
2506 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
2507 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
2508 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
2509 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
2510 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
2511 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
2512 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
2514 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2516 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
2517 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
2519 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
2520 * elf/dl-close.c (_dl_close): Print debug message if object is not
2522 * elf/dl-open.c (dl_open_worked): Print message about opencount before
2523 returning to caller.
2525 * po/zh.po: Renamed to...
2526 * po/zh_TW.po: ...this.
2528 2000-08-27 Geoff Keating <geoffk@cygnus.com>
2530 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
2532 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
2533 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
2534 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
2535 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
2537 2000-08-27 Ulrich Drepper <drepper@redhat.com>
2539 * locale/programs/ld-collate.c (insert_weights): Also update
2540 backpointer of next element.
2541 (collate_read): Allow definition of new collation symbols in stage 2.
2542 Symbol after reorder-after can be UCS4 value.
2543 Allow reordering of collation symbols and elements.
2544 Do not only move reorder entry in new position. Instead call
2545 insert_weight to do this and read the weights.
2547 * locale/findlocale.c (free_mem): Add cast to avoid warning.
2549 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
2550 to determine invalid locale name.
2551 * locale/findlocale.c (_nl_find_locale): Likewise.
2553 * posix/annexc.c: Correct test for unavailable feature.
2555 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
2558 2000-08-26 Ulrich Drepper <drepper@redhat.com>
2560 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
2563 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
2564 (sysdep_routines): Add oldgetrlimit64.
2566 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
2567 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
2568 (tests): Add unload, reldep, reldep2, and reldep3.
2569 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
2571 Add rules to build and run unload, reldep, reldep2, and reldep3.
2572 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
2573 Don't create relocation dependency if it is nonzero.
2574 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
2575 can never happen here.
2576 (_dl_lookup_versioned_symbol): Add new parameter explicit.
2577 Don't create relocation dependency if it is nonzero.
2578 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
2579 stuff. This can never happen here.
2580 * sysdeps/generic/ldsodefs.h: Change prototypes.
2581 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
2582 _dl_lookup_up and _dl_lookup_versioned_symbol.
2584 * elf/dl-runtime.c (fixup): Likewise.
2585 (profile_fixup): Likewise.
2586 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
2588 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
2589 * elf/rtld.c (dl_main): Likewise.
2590 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
2591 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
2592 and pass down the caller map.
2593 (_dl_vsym): Likewise.
2594 * elf/reldep.c: New file.
2595 * elf/reldep2.c: New file.
2596 * elf/reldep3.c: New file.
2597 * elf/reldepmod1.c: New file.
2598 * elf/reldepmod2.c: New file.
2599 * elf/reldepmod3.c: New file.
2600 * elf/reldepmod4.c: New file.
2601 * elf/unload.c: New file.
2602 * elf/unloadmod.c: New file.
2604 * elf/do-lookup.h: Remove unused undef_name parameter.
2605 * elf/dl-lookup.c: Adjust callers.
2607 2000-08-25 Ulrich Drepper <drepper@redhat.com>
2609 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
2610 irreversible in recursive call of conversion function to signal that
2611 no error handling is wanted.
2612 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
2613 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
2614 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
2615 recursive error handling call, otherwise to &lirreversible. Use it
2616 for calls to conversion functions.
2617 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
2619 (ucs4_internal_loop_unaligned): Likewise.
2620 (ucs4le_internal_loop): Likewise.
2621 (ucs4le_internal_loop_unaligned): Likewise.
2623 2000-08-25 Greg McGary <greg@mcgary.org>
2625 * sysdeps/i386/memchr.S: Check high bound against chars
2627 * sysdeps/i386/memcmp.S: Likewise.
2628 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
2629 account for pointers that lie one beyond end-of-buffer.
2631 2000-08-25 Ulrich Drepper <drepper@redhat.com>
2633 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
2634 * elf/nodelete.c (fini_ran): New global variable.
2635 (do_test): Before every dlclose call clear fini_ran and test
2636 afterwards that it is not set by the destructors.
2637 * elf/nodelmod1.c: Add destructor which sets fini_ran.
2638 * elf/nodelmod2.c: Likewise.
2639 * elf/nodelmod4.c: Likewise.
2641 2000-08-21 Jes Sorensen <jes@linuxcare.com>
2643 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
2644 getrlimit to the list.
2646 2000-08-18 Jes Sorensen <jes@linuxcare.com>
2648 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
2649 long double format so use ldbl-96 instead of ldbl-128.
2651 2000-08-25 Ulrich Drepper <drepper@redhat.com>
2653 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
2654 even if bits 10 a 11 are non-zero.
2655 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
2657 * Makeconfig: Ensures the soversions.mk part of Makefile gets
2658 included before building gnu/lib-names.h
2659 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2661 * elf/dl-close.c (_dl_close): Don't run destructors of objects
2662 marked DF_1_NODELETE.
2664 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
2665 since we call sigaction in the child.
2667 2000-08-25 Andreas Jaeger <aj@suse.de>
2669 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
2672 2000-08-25 Andreas Jaeger <aj@suse.de>
2674 * manual/arith.texi (Control Functions): Clarify possible
2675 arguments. Closes PR libc/1856.
2677 2000-08-24 H.J. Lu <hjl@gnu.org>
2679 * stdio-common/Makefile (tests): Don't do it for cross compiling.
2680 * malloc/Makefile (tests): Likewise.
2682 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2684 * iconvdata/unicode.c (gconv_init): Correct test for direction.
2686 2000-08-24 Andreas Jaeger <aj@suse.de>
2688 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
2689 only if LIBGD is available.
2691 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2693 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
2694 problems with now restrict parameter types.
2695 (convaddr4to6): Likewise.
2697 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
2699 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
2700 * sysdeps/s390/fpu/feenablxcpt.c: New file.
2701 * sysdeps/s390/fpu/fegetexcept.c: New file.
2702 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
2705 2000-08-24 Andreas Jaeger <aj@suse.de>
2707 * malloc/Makefile (extra-objs): Add memusagestat.o.
2708 (generated): Added memusage and memusagestat for make clean.
2710 * libio/tst_putwc.c (do_test): Delete temporary file.
2711 Move inclusion of test-skeleton to front to have prototype for
2714 * posix/Makefile (generated): Add wordexp-tst.out.
2716 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2718 * resolv/res_hconf.c (free_mem): Remove not needed if.
2720 * time/tzset.c (free_mem): New function.
2721 * string/strsignal.c (free_mem): New function.
2722 * inet/inet_ntoa.c (free_mem): New function.
2723 * sunrpc/clnt_perr.c (free_mem): New function.
2725 2000-08-24 Andreas Jaeger <aj@suse.de>
2727 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
2728 * sysdeps/unix/sysv/syscalls.list: Likewise.
2730 * posix/unistd.h: Move internal prototypes from here ...
2731 * include/unistd.h: ... to here.
2733 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
2735 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2737 * grp/initgroups.c (initgroups): Deallocate groups array.
2738 Reported by jani.raiha@sonera.com [PR libc/1868].
2740 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
2741 * sysdeps/alpha/Dist: Likewise.
2743 2000-08-23 Ulrich Drepper <drepper@redhat.com>
2745 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
2746 destructor). Reported by Solar Designer <solar@false.com>.
2748 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
2749 avoid adding double slashes.
2751 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2753 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
2754 out of the __REDIRECT macro.
2756 2000-08-23 Ulrich Drepper <drepper@redhat.com>
2758 * stdio-common/vfscanf.c: Add %F format support.
2760 * locale/programs/ld-ctype.c (ctype_output): Make sure
2761 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
2762 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
2763 (ctype_read): Enable returning of wide character strings for reading
2764 transliteration information.
2766 2000-08-23 Andreas Jaeger <aj@suse.de>
2768 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
2769 Use static __inline instead of _EXTERN_INLINE.
2771 * misc/sys/select.h: Move prototypes of __select from here ...
2772 * include/sys/select.h: ... to here.
2774 * socket/sys/socket.h: Move prototypes of __send and __connect
2776 * include/sys/socket.h: ... to here.
2778 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
2781 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2783 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
2784 __setrlimit as strong name. Takes only 2 arguments.
2786 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
2787 takes only 2 arguments.
2789 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
2791 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
2793 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
2795 2000-08-23 Ulrich Drepper <drepper@redhat.com>
2797 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
2798 default_missing character being specified, pick the first
2801 2000-08-23 Andreas Jaeger <aj@suse.de>
2803 * include/wchar.h: Add some pure attributes.
2805 * time/time.h: Add const attribute for dysize.
2807 * include/stdlib.h: Add malloc attribute to __posix memalign.
2809 * stdlib/stdlib.h: Add some pure and malloc attributes.
2810 * wcsmbs/wchar.h: Likewise.
2812 * dirent/dirent.h: Add some pure attributes.
2813 * include/dirent.h: Likewise.
2815 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2817 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
2820 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2822 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
2823 missing buffer size checks.
2825 2000-08-23 Andreas Jaeger <aj@suse.de>
2827 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
2829 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2831 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
2832 otherwise __LINUX_KERNEL_VERSION might not be defined.
2833 (MIN): Define if not already defined.
2835 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2837 * stdio-common/vfprintf.c: Handle %F format.
2838 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
2839 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2841 * stdio-common/tstdiomisc.c: Add test for %F printf format.
2843 * po/zh.po: New file.
2845 * iconvdata/sjis.c: In conversion from UCS4, correct test for
2846 enough room in target buffer.
2847 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
2848 * iconvdata/bug-iconv1.c: New file.
2849 * iconvdata/Makefile (tests): Add bug-iconv1.
2851 * locale/iso-4217.def: Update entry for Nicaragua.
2853 2000-08-22 Mark Kettenis <kettenis@gnu.org>
2855 * hurd/hurdsig.c: Rearrange headers a bit.
2856 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
2857 when cthreads is being used.
2859 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2861 * elf/Makefile (distribute): Add dl-osinfo.h.
2862 * sysdeps/generic/dl-osinfo.h: New file.
2863 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
2864 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
2866 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
2867 only for !SHARED case. Get the code from dl-osinfo.h.
2869 * stdlib/random_r.c: Cleanups.
2870 * stdlib/tst-random.c: New file.
2871 * stdlib/Makefile (tests): Add tst-random.
2872 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
2874 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
2876 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
2877 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
2878 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
2879 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
2881 2000-08-22 Jakub Jelinek <jakub@redhat.com>
2883 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
2884 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
2885 (__syscall__sysctl): Add.
2887 2000-08-21 Andreas Jaeger <aj@suse.de>
2889 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
2891 * stdlib/tst-strtoll.c: Likewise.
2893 2000-08-21 Ulrich Drepper <drepper@redhat.com>
2895 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
2897 (__initstate_r): Set errno on error.
2898 (__random_r): Likewise.
2899 (__setstate_r): Correct offset when computing
2900 new rptr and fptr. Test for arg_state being NULL.
2901 Reported by Michael Fischer <fischer@cs.yale.edu>.
2903 * posix/regex.h: Add macro definitions to allow compiling outside
2906 * sysdeps/i370/Implies: Removed.
2907 * sysdeps/mvs/Implies: Removed.
2909 * catgets/catgets.c (catopen): Filter out env_var values with / if
2912 * locale/findlocale.c (_nl_find_locale): Move test for unusable
2913 locale name after all getenvs.
2915 * configure.in: Allow sed versions like 3.02.8.
2916 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
2918 2000-08-21 Marko Myllynen <myllynen@lut.fi>
2920 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
2922 2000-08-21 Ulrich Drepper <drepper@redhat.com>
2924 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
2925 of gethostbyname2_r call.
2927 * intl/locale.alias: Add aliases for Korean.
2929 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
2931 * sysdeps/s390/__longjmp.c: Remove unused variable result.
2932 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
2933 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
2934 * sysdeps/s390/fpu/fegetenv.c: New file.
2935 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
2936 * sysdeps/s390/fpu/feholdexcpt.c: New file.
2937 * sysdeps/s390/fpu/fenv_libc.h: New file.
2938 * sysdeps/s390/fpu/fesetenv.c: New file.
2939 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
2940 * sysdeps/s390/fpu/feupdateenv.c: New file.
2941 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
2942 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
2943 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
2944 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
2945 * sysdeps/s390/fpu/ftestexcept.c: New file.
2946 * sysdeps/s390/fpu/libm-test-ulps: New file.
2947 * sysdeps/s390/gmp-mparam.h: Add end of comment.
2948 * sysdeps/s390/initfini.c: New file.
2949 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
2950 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
2951 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
2952 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
2953 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
2954 sys/procfs.h as proposed by Mark Kettenis.
2955 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
2957 2000-08-21 Andreas Jaeger <aj@suse.de>
2959 * include/poll.h: Include include/sys/poll.h to get __poll
2962 * io/sys/poll.h: Move __poll declaration from here...
2963 * include/sys/poll.h: ...to here.
2965 * include/sys/socket.h (__getpeername): Add declaration.
2967 * include/wchar.h (__vswprintf): Add declaration.
2969 * include/stdio.h (__flockfile): Add declaration.
2970 (__funlockfile): Likewise.
2972 2000-08-20 Ulrich Drepper <drepper@redhat.com>
2974 * misc/sys/cdefs.h: Define __restrict_arr.
2975 * include/sys/time.h: Add restrict where required by AGd4.
2976 * inet/arpa/inet.h: Likewise.
2977 * io/sys/stat.h: Likewise.
2978 * io/sys/statvfs.h: Likewise.
2979 * misc/search.h: Likewise.
2980 * misc/sys/select.h: Likewise.
2981 * posix/glob.h: Likewise.
2982 * posix/regex.h: Likewise.
2983 * posix/spawn.h: Likewise.
2984 * posix/unistd.h: Likewise.
2985 * rt/aio.h: Likewise.
2986 * signal/signal.h: Likewise.
2987 * socket/sys/socket.h: Likewise.
2988 * stdlib/ucontext.h: Likewise.
2989 * streams/stropts.h: Likewise.
2990 * string/string.h: Likewise.
2991 * time/time.h: Likewise.
2992 * time/sys/time.h: Likewise.
2994 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
2995 and posix_spawnattr_setscheparam.
2997 * libio/stdio.h: Make cuserid prototype again available for all
3000 * argp/argp-help.c: Unify use of function aliases to make more compact
3002 * include/libintl.h: Likewise.
3003 * inet/rcmd.c: Likewise.
3004 * intl/dcigettext.c: Likewise.
3005 * libio/iofputws.c: Likewise.
3006 * libio/iofputws_u.c: Likewise.
3007 * libio/iogetwline.c: Likewise.
3008 * libio/swprintf.c: Likewise.
3009 * malloc/malloc.c: Likewise.
3010 * nss/digits_dots.c: Likewise.
3011 * posix/fnmatch.c: Likewise.
3012 * posix/spawn_faction_addclose.c: Likewise.
3013 * posix/spawn_faction_adddup2.c: Likewise.
3014 * posix/spawn_faction_addopen.c: Likewise.
3015 * posix/spawni.c: Likewise.
3016 * posix/wordexp.c: Likewise.
3017 * posix/spawni.c: Likewise.
3018 * resolv/res_hconf.c: Likewise.
3019 * resolv/res_init.c: Likewise.
3020 * shadow/lckpwdf.c: Likewise.
3021 * signal/sighold.c: Likewise.
3022 * signal/sigrelse.c: Likewise.
3023 * stdio-common/printf-parse.h: Likewise.
3024 * stdio-common/printf-prs.c: Likewise.
3025 * stdio-common/printf_fp.c: Likewise.
3026 * stdio-common/vfprintf.c: Likewise.
3027 * stdio-common/vfscanf.c: Likewise.
3028 * stdlib/rpmatch.c: Likewise.
3029 * sunrpc/create_xid.c: Likewise.
3030 * sunrpc/key_call.c: Likewise.
3031 * sysdeps/generic/setrlimit64.c: Likewise.
3032 * sysdeps/generic/utmp_file.c: Likewise.
3033 * sysdeps/generic/vlimit.c: Likewise.
3034 * sysdeps/posix/posix_fallocate.c: Likewise.
3035 * sysdeps/posix/posix_fallocate64.c: Likewise.
3036 * sysdeps/posix/sigpause.c: Likewise.
3037 * sysdeps/posix/sigset.c: Likewise.
3038 * sysdeps/unix/grantpt.c: Likewise.
3039 * sysdeps/unix/bsd/ualarm.c: Likewise.
3040 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
3041 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
3042 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3043 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
3044 * time/strftime.c: Likewise.
3045 * wcsmbs/wcscoll.c: Likewise.
3046 * wcsmbs/wcsxfrm.c: Likewise.
3048 * time/tst-getdate.c (main): Make error messages more human readable.
3050 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
3051 postinc/predec instruction.
3052 (_FPU_SETCW): Likewise.
3053 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3055 2000-08-20 Andreas Jaeger <aj@suse.de>
3057 * time/tst-getdate.c (main): Increase error in case of wrong
3059 Fix typo in test case.
3061 2000-08-20 Ulrich Drepper <drepper@redhat.com>
3063 * ctype/ctype.h (isblank): Make available if ISO C99.
3064 * wctype/wctype.h (iswblank): Make available if ISO C99.
3065 * math/math.h (signgam): Don't make available if ISO C99.
3066 * math/tgmath.h (tgamma): Renamed from gamma.
3067 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
3069 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
3071 * intl/plural.y (new_exp): Take number of optional parameters in
3072 second parameter. Test for correct number of parameters and free
3073 correctly in case of failure. Adjust all callers.
3074 (yylex): Allow ';' as terminator character.
3076 2000-08-19 Ulrich Drepper <drepper@redhat.com>
3078 * locale/lc-time.c (free_mem): New function. Free alt_digits and
3081 * locale/findlocale.c (free_mem): Also free here->filename.
3083 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
3085 * math/test-fenv.c (feenv_tests): Clear all exceptions before
3087 (feexcp_nomask_test): Correct printf args.
3088 (feexcp_mask_test): Likewise.
3090 2000-08-19 Andreas Jaeger <aj@suse.de>
3092 * inet/tst-gethnm.c: Include string.h to provide prototype for
3095 * malloc/mtrace.pl (usage): Inform about --help.
3097 2000-08-19 Wolfram Gloger <wg@malloc.de>
3099 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
3102 2000-08-19 Andreas Jaeger <aj@suse.de>
3104 * shlib-versions: Remove libnss_db, libdb and libdb1.
3106 2000-08-19 Jakub Jelinek <jakub@redhat.com>
3108 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
3109 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
3110 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
3111 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
3112 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
3113 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
3114 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
3115 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
3116 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
3117 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
3119 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
3120 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
3122 2000-08-18 Jakub Jelinek <jakub@redhat.com>
3124 * include/glob.h (__glob64): Add prototype.
3125 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
3126 define glob and glob_in_dir.
3127 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
3128 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
3129 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
3130 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
3131 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
3132 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
3133 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
3134 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
3136 2000-08-18 Jakub Jelinek <jakub@redhat.com>
3138 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
3140 2000-08-17 Andreas Jaeger <aj@suse.de>
3142 * math/test-fenv.c (fe_single_test): New function.
3143 (fe_env_tests): Use fe_single_test.
3144 (feenable_test): New tests for feenable/fedisable and
3146 (feexcp_mask_test): New function.
3147 (feexcp_nomask_test): New function.
3149 2000-08-19 Richard Henderson <rth@cygnus.com>
3151 * sysdeps/alpha/fpu/fenv_libc.h: New file.
3152 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
3153 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
3154 * sysdeps/alpha/fpu/fesetround.c: Likewise.
3155 * sysdeps/alpha/fpu/fegetround.c: Likewise.
3156 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
3157 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
3158 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
3159 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
3160 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
3161 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
3162 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
3163 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
3164 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
3165 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
3166 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
3167 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
3169 2000-08-19 Andreas Jaeger <aj@suse.de>
3171 * elf/constload1.c: Include <stdio.h> for puts prototype.
3173 2000-08-19 Ulrich Drepper <drepper@redhat.com>
3175 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
3176 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
3177 a dynamically loaded object remove old l_initfini list.
3178 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
3179 remove some dynamically allocated memory blocks in the dynamic
3180 loading data structures.
3181 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
3182 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
3183 Instead call _dl_check_map_versions only for the dependencies.
3184 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
3185 information of initial objects as not free-able.
3186 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
3189 * elf/filter.c: Call mtrace.
3190 * elf/restest1.c: Likewise. Close the objects.
3191 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
3194 * elf/constload1.c: Add comment explaining not freed memory.
3196 2000-08-18 Andreas Jaeger <aj@suse.de>
3198 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
3199 alignment for structs stat and stat64.
3200 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3202 2000-08-17 Ulrich Drepper <drepper@redhat.com>
3204 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
3205 handling. Patch by Richard Henderson <rth@twiddle.net>.
3207 * nss/Versions: Remove libnss_db information.
3209 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3211 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
3212 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
3213 * sysdeps/sparc/fpu/fegetexcept.c: New file.
3214 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
3216 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
3219 2000-08-17 Ulrich Drepper <drepper@redhat.com>
3221 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
3222 (_FPU_SETCW): Likewise.
3223 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3225 * stdio-common/printf_fp.c: Fix chars_needed computation.
3226 Patch by Greg McGary <greg@mcgary.org>.
3228 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3230 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
3231 _dl_loaded are NULL.
3233 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3235 * manual/arith.texi (feholdexcept): Returns 0 on success.
3237 2000-08-17 Andreas Jaeger <aj@suse.de>
3239 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
3241 Reported by Andi Kleen <ak@suse.de>.
3243 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3245 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
3246 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
3247 * sysdeps/alpha/fpu/fegetexcept.c: New file.
3249 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3251 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
3252 of buf->st_ino and kbuf->st_ino, not __st_ino.
3253 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
3254 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
3255 directive so that only linux/getdents.c is used, not some
3256 architecture specific one.
3258 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3260 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
3261 enabled, not disabled exceptions.
3262 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3263 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
3265 2000-08-17 Greg McGary <greg@mcgary.org>
3267 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
3268 from test program name when constructing suffix for $(LDLIBS-*).
3269 (bounded-thread-library): New variable.
3271 [build-shared, build-static] (libcrypt-dep): Remove variable.
3272 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
3273 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3274 * linuxthreads/Makefile (libpthread, librt): Remove variables.
3275 (librt-tests): Add variable. (tests): Use it.
3276 [build-shared, build-static]
3277 ($(addprefix $(objpfx),$(tests)),
3278 $(addprefix $(objpfx),$(librt-tests))):
3279 Consolidate individual dependencies.
3281 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
3283 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
3284 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3286 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
3288 [build-shared, build-static]
3289 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
3290 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3292 2000-08-17 Greg McGary <greg@mcgary.org>
3294 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
3295 * sysdeps/unix/make-syscalls.sh: Likewise.
3296 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3297 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3298 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3299 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
3300 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
3302 2000-08-17 Greg McGary <greg@mcgary.org>
3304 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
3305 Wrap extern symbols in BP_SYM ().
3306 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3307 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3308 * sysdeps/i386/fpu/s_remquo.S: Likewise.
3309 * sysdeps/i386/fpu/s_remquof.S: Likewise.
3310 * sysdeps/i386/fpu/s_remquol.S: Likewise.
3311 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3312 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3313 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3314 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3315 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3317 2000-08-16 Andreas Schwab <schwab@suse.de>
3319 * sysdeps/m68k/fpu/fegetexcept.c: New file.
3320 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
3321 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
3323 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3325 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
3326 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
3327 * elf/dl-support.c: Define _nl_nloaded.
3328 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
3329 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
3330 object to global list.
3331 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
3332 from _dl_loaded list.
3333 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3334 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
3337 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
3339 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
3341 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
3343 2000-08-16 Andreas Jaeger <aj@suse.de>
3345 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
3347 2000-08-15 Marko Myllynen <myllynen@lut.fi>
3349 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
3351 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3353 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
3354 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
3355 (sysdep_routines): Add oldgetrlimit64.
3356 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
3357 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3359 * include/link.h: Undo last patches. Hurd now has stat64.
3360 * elf/Makefile: Likewise.
3361 * elf/dl-load.c: Likewise.
3362 * elf/dl-misc.c: Likewise.
3363 * elf/dl-profile.c: Likewise.
3364 * sysdeps/generic/sysd-link.h: Removed.
3365 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
3367 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
3368 thread event callback function.
3369 (__aio_notify_only): Use function above.
3370 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
3372 2000-08-16 Mark Kettenis <kettenis@gnu.org>
3374 * sysdeps/mach/hurd/lseek64.c: New file.
3376 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3378 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
3380 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
3382 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
3384 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
3386 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3388 * sysdeps/mach/hurd/xstatconv.c: New file.
3389 * sysdeps/mach/hurd/fxstat64.c: New file.
3390 * sysdeps/mach/hurd/lxstat64.c: New file.
3391 * sysdeps/mach/hurd/xstat64.c: New file.
3392 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
3394 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3396 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
3397 Initialize, needed for change in common symbol handling in newer
3398 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
3400 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3402 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
3403 * elf/constload2.c: Add destructor to unload constload3.
3405 * include/link.h: Include sysd-link.h.
3406 * sysdeps/generic/sysd-link.h: New file.
3407 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
3408 * elf/Makefile (distribute): Add sysd-link.h.
3409 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
3410 types and functions directly.
3411 * elf/dl-misc.c: Likewise.
3412 * elf/dl-profile.c: Likewise.
3414 * elf/loadfail.c (main): Close all successfully loaded objects.
3416 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
3418 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
3419 there is already one.
3421 * elf/dl-close.c: Pretty print.
3423 2000-08-14 Ulrich Drepper <drepper@redhat.com>
3425 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
3426 global (with file scope). Add __libc_subfreeres function to free the
3428 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
3429 in ttyname function.
3431 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
3433 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
3435 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
3436 mapping them to /x5c and /x7e respectively.
3438 * locale/programs/ld-ctype.c: Add support for more definitions after
3441 2000-08-14 Jakub Jelinek <jakub@redhat.com>
3443 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
3444 * sysdeps/unix/sysv/linux/kernel-features.h
3445 (__ASSUME_GETDENTS64_SYSCALL): Define.
3446 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
3447 syscall if available to get d_type fields.
3448 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
3449 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
3450 __lxstat64): Export at GLIBC_2.2.
3451 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
3453 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
3454 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
3455 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
3456 getdirentries64, versionsort64): Remove.
3457 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
3458 getdirentries64, versionsort64): Remove.
3460 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3462 * posix/Makefile: Remove rules to generate glob package.
3464 * posix/Makefile (tests): Add tst-regexloc.
3465 (tst-regexloc-ENV): Add LOCPATH.
3466 * posix/tst-regexloc.c: New file.
3468 2000-08-12 Andreas Jaeger <aj@suse.de>
3470 * include/features.h (__STDC_ISO_10646__): Define.
3471 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
3473 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3475 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
3477 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
3478 for revision 6 and up).
3480 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
3482 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
3483 to get definitions of just these types.
3485 * signal/signal.h: Define thread signal handling functions also for
3488 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
3490 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3491 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
3492 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3493 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3495 * sysvipc/sys/shm.h: Define pid_t for XPG.
3497 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
3498 they are not anymore required here.
3500 * wcsmbs/wchar.h: Make the various wide char string and stream
3501 functions available for the respective XPG versions.
3503 * nss/Makefile: Remove rules to build and distribute nss_db.
3505 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
3506 * sysdeps/generic/scandir64.c: Likewise.
3507 * sysdeps/generic/versionsort64.c: Likewise.
3509 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3510 Benjamin Koznik <bkoz@redhat.com>
3512 * libio/fileops.c: Merge with libstdc++-v3.
3513 * libio/genops.c: Likewise.
3514 * libio/iofclose.c: Likewise.
3515 * libio/iofopen.c: Likewise.
3516 * libio/iofwide.c: Likewise.
3517 * libio/libio.h: Likewise.
3518 * libio/libioP.h: Likewise.
3519 * libio/stdfiles.c: Likewise.
3520 * libio/stdio.c: Likewise.
3521 * libio/wfileops.c: Likewise.
3522 * libio/wgenops.c: Likewise.
3524 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
3526 2000-08-12 Ulrich Drepper <drepper@redhat.com>
3528 * locale/programs/localedef.c: Implement --prefix option to allow
3529 writing in standard places of alternative install directories.
3531 * posix/regex.c (compile_range): Implement collation sequence
3532 handling for glibc. Use simple character ordering otherwise and
3535 2000-08-12 Mark Kettenis <kettenis@gnu.org>
3537 * sysdeps/generic/scandir64.c: Include <dirent.h>.
3539 2000-08-12 Andreas Jaeger <aj@suse.de>
3541 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
3542 __USE_FILE_OFFSET64 correctly for locking.
3543 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3545 2000-08-12 Jakub Jelinek <jakub@redhat.com>
3547 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3548 Define for 2.4.1 on sparc as well.
3549 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
3550 for F_GETLK64, F_SETLK64, and F_SETLKW64.
3551 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
3552 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
3554 2000-08-12 Ulrich Drepper <drepper@redhat.com>
3556 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
3559 2000-08-12 Andreas Jaeger <aj@suse.de>
3561 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
3562 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
3564 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
3565 mips2 for assembler.
3567 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
3568 if fnctl64 is not available for F_*LK*64.
3570 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
3572 2000-08-12 Ulrich Drepper <drepper@redhat.com>
3574 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3575 Define for 2.4.1 on x86.
3576 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
3577 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
3578 for F_GETLK64, F_SETLK64, and F_SETLKW64.
3580 * dirent/dirent.h: Define DT_WHT.
3582 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
3583 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
3584 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
3585 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
3586 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
3587 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
3589 2000-08-11 Ulrich Drepper <drepper@redhat.com>
3591 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
3592 lookup, pass pointer to array with NULL pointer [PR libc/1858].
3593 * inet/Makefile (tests): Add tst-gethnm.
3594 * inet/tst-gethnm.c: New file.
3596 * rt/aio_cancel.c: If canceling a specific request which is running
3597 *really* do nothing.
3598 * rt/aio_misc.h: Add `done' to states of a request.
3599 * rt/aio_misc.c: Add several tests for the correct state.
3600 Simplify request table memory handling.
3602 2000-08-10 Jakub Jelinek <jakub@redhat.com>
3604 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
3605 * dirent/scandir64.c: Move...
3606 * sysdeps/generic/scandir64.c: ...here.
3607 * dirent/alphasort64.c: Move...
3608 * sysdeps/generic/alphasort64.c: ...here.
3609 * dirent/versionsort64.c: Move...
3610 * sysdeps/generic/versionsort64.c: ...here.
3611 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
3612 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
3613 Export symbols at GLIBC_2.2.
3614 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
3615 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
3616 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
3617 __versionsort64): Add prototypes.
3618 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
3619 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
3621 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
3623 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
3624 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
3625 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
3626 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
3628 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
3629 Adjust for kernel-2.4.0-test6 layout.
3630 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
3631 GLIBC_2.1 and GLIBC_2.2.
3632 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
3633 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
3634 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
3635 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
3636 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
3637 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
3638 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
3639 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
3640 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
3641 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
3642 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
3643 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
3644 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
3645 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
3647 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
3648 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
3649 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
3650 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
3651 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
3652 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
3653 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
3655 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
3656 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
3658 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
3659 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
3660 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
3661 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
3662 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
3664 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
3666 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
3668 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
3669 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
3670 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
3671 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
3672 st_ino from __st_ino.
3673 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
3674 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
3675 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
3676 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
3677 set __st_ino in addition to st_ino.
3678 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
3679 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
3680 __old_getdents64 as well.
3681 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
3682 getdirentries64 and old_getdirentries64 as well.
3683 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
3684 __GETDENTS): Define.
3685 (GETDENTS64): Remove.
3686 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
3688 (GETDENTS64): Remove.
3689 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
3690 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
3691 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
3693 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
3694 __old_readdir64_r as well.
3695 * sysdeps/unix/sysv/linux/kernel-features.h: Define
3696 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
3698 2000-08-08 Jes Sorensen <jes@linuxcare.com>
3700 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
3701 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
3702 define of the kernel.
3703 Add missing __SEG_PSTKOVF definition.
3704 Adjust the padding of struct siginfo and struct sigevent to
3705 match the fact that sigval_t is 64 bit.
3707 2000-08-10 Ulrich Drepper <drepper@redhat.com>
3709 * timezone/zic.c: Update from tzcode2000f.
3710 * timezone/australasia: Update from tzdata2000f.
3711 * timezone/europe: Likewise.
3712 * timezone/southamerica: Likewise.
3713 * timezone/yearistype: Likewise.
3715 2000-08-10 Andreas Jaeger <aj@suse.de>
3717 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
3718 stat with current MIPS kernel.
3720 2000-08-01 Mark Kettenis <kettenis@gnu.org>
3722 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
3723 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
3724 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
3725 Remove the junk that's only relevant in the Linux kernel itself.
3726 Add a warning saying that this file is now obsolete, and include
3728 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
3729 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
3730 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
3731 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
3732 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
3733 and add the notice that the file is primarily there for GDB.
3734 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
3736 2000-08-09 Jakub Jelinek <jakub@redhat.com>
3738 * time/tzfile.c (__tzfile_compute): __tzstring zones
3741 2000-08-09 Jakub Jelinek <jakub@redhat.com>
3743 * resolv/resolv.h (__res_state): Surround prototype with
3744 __BEGIN_DECLS/__END_DECLS.
3745 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
3747 2000-08-04 Jes Sorensen <jes@linuxcare.com>
3749 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
3750 Make independant of asm/resource.h from the Linux kernel.
3752 2000-08-06 Bruno Haible <haible@clisp.cons.org>
3754 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
3756 2000-08-06 Bruno Haible <haible@clisp.cons.org>
3758 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
3759 * locale/Makefile (locale-CPPFLAGS): Likewise.
3761 2000-08-09 Ulrich Drepper <drepper@redhat.com>
3763 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
3766 2000-08-03 Jakub Jelinek <jakub@redhat.com>
3768 * misc/Versions (mincore): Export at GLIBC_2.2.
3770 2000-08-03 Bruno Haible <haible@clisp.cons.org>
3772 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
3774 2000-08-02 Mark Kettenis <kettenis@gnu.org>
3776 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
3777 socketpair. Made socketpair a weak alias.
3778 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
3779 __socketpair. Use S_IFIFO protocol to make pipes POSIX
3780 conforming, but fall back on the old protocol if the socket server
3782 * include/sys/socket.h: Add prototype for __socketpair.
3784 2000-08-09 Andreas Schwab <schwab@suse.de>
3786 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
3787 long long modifier is seen.
3789 * elf/nodelete.c (do_test): Remove reference to undefined member
3791 * rt/tst-aio4.c (do_test): Likewise.
3793 * configure.in: Add `-lm' when checking for libgd.
3794 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
3797 2000-08-09 Andreas Jaeger <aj@suse.de>
3799 * configure.in: Change required make versions.
3801 * manual/install.texi (Tools for Compilation): Document required
3803 (Supported Configurations): Update list of supported
3806 2000-08-08 Ulrich Drepper <drepper@redhat.com>
3808 * locale/linereader.c (get_string): Don't print an error is a string
3809 contains an unknown character.
3811 2000-08-06 Ulrich Drepper <drepper@redhat.com>
3813 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
3814 (new_symbol): Take new parameters with name of the symbol.
3816 (handle_ellipsis): Don't only allow character symbols.
3817 (collate_read): Allow string of collating elements contain invalid
3818 characters; ignore entry in this case.
3819 Handle ellipsis of collating symbols before first order_start.
3820 Allow ellipsis in state 0.
3822 2000-08-04 Ulrich Drepper <drepper@redhat.com>
3824 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
3826 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
3828 2000-08-04 Greg McGary <greg@mcgary.org>
3830 * posix/regex.c (SET_HIGH_BOUND): New macro.
3831 (MOVE_BUFFER_POINTER): Use it.
3832 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
3833 (EXTEND_BUFFER): Use it.
3835 2000-08-03 Ulrich Drepper <drepper@redhat.com>
3837 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
3838 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
3839 _wide_data but from _IO_FILE directly.
3840 * libio/iofclose.c: Likewise.
3841 * libio/wfileops.c: Likewise.
3843 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
3844 * libio/libioP.h: Change prototypes.
3846 2000-08-03 Greg McGary <greg@mcgary.org>
3848 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
3849 frame pointer early so that we save caller's frame pointer.
3850 * sysdeps/i386/elf/setjmp.S: Likewise.
3852 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
3853 * io/test-utime.c: Test passing NULL as utimbuf* arg.
3855 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
3856 (MOVE_BUFFER_POINTER): Handle high_bound properly.
3857 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
3859 2000-08-03 Ulrich Drepper <drepper@redhat.com>
3861 * iconvdata/big5.c: Updated.
3862 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
3864 2000-08-02 Ulrich Drepper <drepper@redhat.com>
3866 * Makeconfig (all-subdirs): Add conform.
3867 * conform/Makefile: Include ../Rules.
3869 * Makefile (README): Add rules to generate here as well.
3871 2000-08-02 Ulrich Drepper <drepper@redhat.com>
3873 * version.h (VERSION): Bump to 2.1.92.
3875 * sysdeps/ia64/Dist: Add _mcount.S.
3877 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
3879 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
3881 * elf/Makefile (distribute): Add missing modules.
3883 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
3885 * posix/regex.c (compile_range): Translate range start and end
3886 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
3888 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
3891 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
3893 2000-08-02 Andreas Jaeger <aj@suse.de>
3895 * elf/elf.h (EM_S390): Added.
3896 (R_390_*): New relocs for S390.
3898 * sysdeps/unix/sysv/linux/s390/Dist: New file.
3899 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
3900 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
3901 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
3902 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
3903 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3904 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
3905 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
3906 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
3907 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
3908 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
3909 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
3910 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
3911 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
3912 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
3913 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
3914 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
3915 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
3916 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
3917 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
3918 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
3919 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
3920 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
3921 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
3922 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
3923 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
3924 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
3925 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
3926 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
3927 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
3928 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
3929 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
3930 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
3931 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
3932 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
3933 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
3934 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
3935 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
3936 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
3937 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
3938 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
3939 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
3940 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
3941 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
3942 * sysdeps/s390/sysdep.h: New file.
3943 * sysdeps/s390/sys/ucontext.h: New file.
3944 * sysdeps/s390/sub_n.S: New file.
3945 * sysdeps/s390/strncpy.S: New file.
3946 * sysdeps/s390/strcpy.S: New file.
3947 * sysdeps/s390/stackinfo.h: New file.
3948 * sysdeps/s390/setjmp.S: New file.
3949 * sysdeps/s390/s390-mcount.S: New file.
3950 * sysdeps/s390/mul_1.S: New file.
3951 * sysdeps/s390/memusage.h: New file.
3952 * sysdeps/s390/memset.S: New file.
3953 * sysdeps/s390/memcpy.S: New file.
3954 * sysdeps/s390/memchr.S: New file.
3955 * sysdeps/s390/machine-gmon.h: New file.
3956 * sysdeps/s390/ldbl2mpn.c: New file.
3957 * sysdeps/s390/gmp-mparam.h: New file.
3958 * sysdeps/s390/fpu/fpu_control.h: New file.
3959 * sysdeps/s390/fpu/fesetround.c: New file.
3960 * sysdeps/s390/fpu/fegetround.c: New file.
3961 * sysdeps/s390/fpu/fclrexcpt.c: New file.
3962 * sysdeps/s390/fpu/bits/fenv.h: New file.
3963 * sysdeps/s390/ffs.c: New file.
3964 * sysdeps/s390/elf/start.S: New file.
3965 * sysdeps/s390/elf/setjmp.S: New file.
3966 * sysdeps/s390/elf/bsd-setjmp.S: New file.
3967 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
3968 * sysdeps/s390/dl-machine.h: New file.
3969 * sysdeps/s390/bzero.S: New file.
3970 * sysdeps/s390/bsd-setjmp.S: New file.
3971 * sysdeps/s390/bsd-_setjmp.S: New file.
3972 * sysdeps/s390/bits/string.h: New file.
3973 * sysdeps/s390/bits/setjmp.h: New file.
3974 * sysdeps/s390/bits/huge_val.h: New file.
3975 * sysdeps/s390/bits/endian.h: New file.
3976 * sysdeps/s390/bits/byteswap.h: New file.
3977 * sysdeps/s390/bcopy.S: New file.
3978 * sysdeps/s390/backtrace.c: New file.
3979 * sysdeps/s390/atomicity.h: New file.
3980 * sysdeps/s390/asm-syntax.h: New file.
3981 * sysdeps/s390/addmul_1.S: New file.
3982 * sysdeps/s390/add_n.S: New file.
3983 * sysdeps/s390/abort-instr.h: New file.
3984 * sysdeps/s390/__longjmp.c: New file.
3985 * sysdeps/s390/Makefile: New file.
3986 * sysdeps/s390/Implies: New file.
3987 * sysdeps/s390/Dist: New file.
3988 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
3990 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3992 Remove incompatible IPv6 extension of RPC.
3993 * sunrpc/Makefile: Undo changes.
3994 * sunrpc/rpc_main.c: Likewise.
3995 * sunrpc/rpc/clnt.h: Likewise.
3996 * sunrpc/rpc/svc.h: Likewise.
3997 * sunrpc/bindrsvprt6.c: Removed.
3998 * sunrpc/clnt_tcp6.c: Removed.
3999 * sunrpc/clnt_udp6.c: Removed.
4000 * sunrpc/svc_tcp6.c: Removed.
4001 * sunrpc/svc_udp6.c: Removed.
4003 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
4004 dgettext, and dcgettetxt.
4006 * intl/locale.alias: Update japanese aliases.
4008 * sysdeps/ia64/bits/byteswap.h: New file.
4009 Patch by Dan Pop <Dan.Pop@cern.ch>.
4011 * misc/sys/cdefs.h: Define __attribute_format_arg__.
4012 * intl/libintl.h: Use it here instead of using __attribute__ directly.
4014 2000-07-13 H.J. Lu <hjl@gnu.org>
4016 * posix/regex.c (re_max_failures): Set to 4000.
4018 2000-08-01 Ulrich Drepper <drepper@redhat.com>
4020 * gnulib/Makefile (tests): Add tst-gcc.
4021 * gnulib/tst-gcc.c: New file.
4023 * assert/Makefile (routines): Add __assert.
4024 * assert/Versions: Export __assert for glibc 2.2.
4025 * assert/__assert.c: New file.
4026 * assert/assert.h: Declare __assert.
4028 2000-07-27 Bruno Haible <haible@clisp.cons.org>
4030 * locale/localeinfo.h (_ISCTYPE): New macro.
4031 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
4032 LC_CTYPE locale format.
4033 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
4034 (ctype_output): Output class_b[nr] right before class_3level[nr].
4035 (allocate_arrays): Fill class_b, similarly to class_3level.
4037 2000-08-01 Ulrich Drepper <drepper@redhat.com>
4038 Joseph S. Myers <jsm28@cam.ac.uk>
4040 * math/tgmath.h: Make standard compliant. Don't ask how.
4042 2000-07-04 H.J. Lu <hjl@gnu.org>
4044 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
4045 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
4046 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
4048 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4050 * include/features.h (_XOPEN_SOURCE): Update the explanation.
4051 (__USE_LARGEFILE): Add an explanation.
4052 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
4053 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
4055 2000-08-01 Ulrich Drepper <drepper@redhat.com>
4057 * libio/Makefile: Enable exception handling for genops, wgenops,
4058 fileops, and wfileops.
4060 2000-07-29 Mark Kettenis <kettenis@gnu.org>
4062 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
4063 acount that elf/rtld's main program might remove some varibales
4064 from the environment if we're trying to be secure. Move the Hurd
4065 startup data if necessary, or, if we there is no startup data,
4066 make sure the magical convention that ARGV[0] is stored just after
4067 the environment list.
4069 2000-08-01 Philip Blundell <philb@gnu.org>
4071 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
4072 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
4073 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
4074 oldsetrlimit for GLIBC_2.0.
4076 2000-08-01 Andreas Jaeger <aj@suse.de>
4078 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
4079 (LINE_PARSER): Allow any number of spaces between ip address and
4080 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
4082 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
4084 * include/netdb.h: Remove getipnodebyaddr and friends, leave
4087 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
4088 _nss_nisplus_getipnodebyname_r.
4090 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
4091 now, getipnodebyname is deprecated.
4092 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
4095 * inet/Makefile (routines): Don't build getipnodebyaddr and
4098 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
4100 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
4102 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
4104 * wctype/Makefile (distribute): Add wchar-lookup.h.
4106 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
4108 * iconvdata/Makefile (distribute): Add isiri-3342.h.
4110 2000-08-01 Andreas Schwab <schwab@suse.de>
4112 * Make-dist (dist): Resolve `..' in file names.
4114 2000-08-01 Andreas Jaeger <aj@suse.de>
4116 * stdio-common/Makefile (distribute): Remove removed files, add
4119 * Makefile (distribute): Remove include/db_185.h and db.h.
4121 * include/db_185.h: Remove, it's not needed anymore.
4122 * include/db.h: Likewise.
4124 2000-07-31 Ulrich Drepper <drepper@redhat.com>
4126 * inet/Makefile (tests): Remove tst-ipnode.
4127 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
4130 2000-07-31 Jes Sorensen <jes@linuxcare.com>
4132 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
4133 endp statements have already been added.
4135 2000-04-18 David Mosberger <davidm@hpl.hp.com>
4137 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
4138 <sysdeps/ia64/sysdep.h>.
4140 * sysdeps/ia64/_mcount.S: New file.
4142 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
4143 __gmon_start__. Fix up extraneous whitespace.
4145 2000-01-12 H.J. Lu <hjl@gnu.org>
4147 * sysdeps/ia64/elf/initfini.c: New file.
4149 2000-07-31 Jes Sorensen <jes@linuxcare.com>
4151 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
4152 dependency between branch and ar.pfs write.
4154 2000-07-31 H.J. Lu <hjl@gnu.org>
4156 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
4157 handle the wchar_t array.
4159 2000-07-31 Ulrich Drepper <drepper@redhat.com>
4161 * iconvdata/gb18030.c: Don't map to and from positions in ISO
4162 10646 which are not yet assigned.
4163 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
4165 2000-07-31 Andreas Jaeger <aj@suse.de>
4167 * inet/Versions: Remove getipnodebyaddr and friends from
4170 * resolv/netdb.h: Remove getipnodebyaddr and friends.
4172 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4174 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
4175 ch >= 0x81 && ch2 < 0x40 as invalid.
4177 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4179 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
4180 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
4182 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4184 * iconvdata/johab.c (BODY for TO_LOOP): After calling
4185 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
4187 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4189 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
4191 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
4193 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4195 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
4197 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4199 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
4200 (from_ucs4): Change values of U+00A4 and U+00ED.
4201 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
4203 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4205 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
4206 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
4208 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4210 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
4211 * iconvdata/isiri-3342.h: New file.
4212 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
4213 treat 0x80 as a gap.
4215 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4217 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
4218 (utf8_encode): Use simple shifts instead. Fix return value.
4220 2000-07-31 Ulrich Drepper <drepper@redhat.com>
4222 * timezone/private.h: Update from tzcode2000e.
4223 * timezone/asia: Update from tzdata2000e.
4224 * timezone/australasia: Likewise.
4225 * timezone/europe: Likewise.
4226 * timezone/northamerica: Likewise.
4227 * timezone/zone-tab: Likewise.
4229 2000-07-30 Ralf Baechle <ralf@gnu.org>
4231 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
4232 the order of struct sigaltstack members is different.
4234 2000-07-26 Philip Blundell <philb@gnu.org>
4236 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
4238 2000-07-29 Ulrich Drepper <drepper@redhat.com>
4240 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
4241 * locale/programs/ld-ctype.c: Adjust for this.
4243 * locale/programs/ld-collate.c: Add more alignment checks.
4244 * locale/string/strcoll.c: Likewise.
4246 2000-07-30 Mark Kettenis <kettenis@gnu.org>
4248 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
4249 outside USE_IN_LIBIO block.
4251 2000-07-26 Philip Blundell <philb@gnu.org>
4253 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
4254 (elf_machine_rel): Use it for out-of-range PC24 relocs.
4256 2000-07-28 Philip Blundell <philb@gnu.org>
4258 * math/test-fpucw.c: Ignore reserved bits in control word.
4260 2000-07-28 Philip Blundell <philb@gnu.org>
4262 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
4263 (ret): Redefine to PSEUDO_RET.
4264 (PSEUDO): Remove jump to syscall_error.
4266 2000-07-29 Mark Kettenis <kettenis@gnu.org>
4268 * resolv/README: Add some information about using the resolver in
4269 multi-threaded code and with C++. Spelling fixes.
4271 2000-07-29 Mark Kettenis <kettenis@gnu.org>
4273 * resolv/resolv.h (struct __sockaddr_in): Remove.
4274 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
4276 2000-07-29 Greg McGary <greg@mcgary.org>
4278 * Rules (test-bp-inputs, make-test-out): New variables.
4279 ($(objpfx)%-bp.out): New rule.
4280 ($(objpfx)%.out): Rewrite in terms of new variables.
4282 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
4283 internal function that uses vtable.
4284 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4285 * libio/vswprintf.c (_IO_vswprintf): Likewise.
4287 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
4288 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
4289 (chunk_align): Likewise.
4291 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
4292 in a way that conforms to decl, and avoids spurious bounds violation.
4294 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
4295 * sysdeps/generic/frame.h: Likewise.
4296 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
4297 around return value.
4298 (__backtrace): Qualify frame-pointer chain and return address
4299 pointers as __unbounded. Wrap bounds around variable `current'.
4300 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
4301 around return value.
4302 (catch_segfault): Qualify frame-pointer chain and return address
4303 pointers as __unbounded. Wrap bounds around variable `current'.
4304 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
4305 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
4306 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
4308 (__backtrace): Qualify frame-pointer chain and return address
4309 pointers as __unbounded. Wrap bounds around variable `current'.
4311 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
4312 * sysdeps/i386/mul_1.S: Likewise.
4313 * sysdeps/i386/submul_1.S: Likewise.
4314 * sysdeps/i386/i586/addmul_1.S: Likewise.
4315 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
4316 * sysdeps/i386/i586/submul_1.S: Likewise.
4318 2000-07-27 Andreas Jaeger <aj@suse.de>
4320 * libio/Depend: New file, libio needs localedata for tests.
4321 * posix/Depend: Likewise.
4323 2000-07-28 Ulrich Drepper <drepper@redhat.com>
4325 * stdio-common/_i18n_itoa.c: Removed.
4326 * stdio-common/_i18n_itoa.h: Removed.
4327 * stdio-common/_i18n_itowa.c: Removed.
4328 * stdio-common/_i18n_itowa.h: Removed.
4329 * stdio-common/_i18n_number.h: New file.
4330 * stdio-common/Depend: New file.
4331 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
4332 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
4333 printing. Change printing of numbers with locale specific digits to
4334 use new code in _i18n_number.h.
4335 * stdio-common/Makefile (routines): Remove _i18n_itoa and
4338 * stdio-common/bug13.c: Improve messages.
4340 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
4341 (set_class_defaults): Always search also for Uxxxx names.
4342 Detect insufficient number of outdigits.
4344 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
4346 2000-07-27 Bruno Haible <haible@clisp.cons.org>
4348 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
4349 _NL_CTYPE_MAP_NAMES.
4350 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
4351 * wctype/wcfuncs.c (towlower, towupper): Use them.
4352 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
4353 * wctype/wctrans.c (wctrans): Likewise.
4354 * wctype/wctrans_l.c (__wctrans_l): Likewise.
4356 2000-07-27 Bruno Haible <haible@clisp.cons.org>
4358 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
4359 Use the optimized version of this function outside glibc as well.
4361 2000-07-27 Jakub Jelinek <jakub@redhat.com>
4363 * locale/indigits.h (indigit_value): Correct.
4364 * locale/indigitswc.h (indigitwc_value): Correct.
4365 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
4366 conversion, add GROUP checking for it, fix GROUP number
4367 conversion with strlen(thousands) > 1.
4368 Honour width correctly in the presence of floating
4369 decimal points and thousands separators.
4370 * stdio-common/tst-sscanf.c: New test.
4371 * stdio-common/Makefile: Add it to tests.
4372 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
4373 thousands separators and group argument is non-zero.
4375 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4377 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
4378 starts at GLIBC_2.2.
4380 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4382 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
4383 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
4385 (headers): Add sys/tas.h.
4386 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
4387 GLIBC_2.2 from libc.
4388 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
4389 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
4392 2000-07-28 Andreas Jaeger <aj@suse.de>
4394 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
4396 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
4397 ($(objpfx)tst-dladdr.out): new.
4398 (tests): Add tst-dladdr.
4399 ($(objpfx)glrefmain): Use libdl.
4401 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
4404 2000-07-27 Jes Sorensen <jes@linuxcare.com>
4406 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
4407 ftruncate(64) calls.
4409 2000-07-27 Jes Sorensen <jes@linuxcare.com>
4411 * intl/tst-translit.c: Include string.h to get prototype for
4414 2000-07-27 Jes Sorensen <jes@linuxcare.com>
4416 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
4417 name and add weak alias for __fork.
4419 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
4420 & pwrite to use __libc_<name> as strong names instead of
4423 * include/sched.h: Add clone2 prototype.
4425 2000-07-26 Jes Sorensen <jes@linuxcare.com>
4427 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
4428 procedure name twice.
4430 2000-07-27 Philip Blundell <philb@gnu.org>
4432 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
4434 2000-07-27 Andreas Jaeger <aj@suse.de>
4436 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
4437 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
4438 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4439 Reported by Andi Kleen <ak@suse.de>.
4441 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
4442 (do_wait): Test requests with aio_return64.
4443 (do_test): Change callers of do_wait.
4445 2000-07-26 Andreas Jaeger <aj@suse.de>
4447 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
4448 (do_wait): Test requests with aio_return.
4449 (do_test): Change callers of do_wait.
4451 2000-07-27 Ulrich Drepper <drepper@redhat.com>
4453 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
4454 from request list. Don't do the list handling here, call
4455 __aio_remove_request.
4456 * rt/aio_misc.h: Add prototype for __aio_remove_request.
4457 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
4458 request might already be processed. Don't do the list handling
4459 here, call __aio_remove_request.
4461 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
4464 * rt/aio_misc.c: Add comment explaining why writer memory barriers
4467 2000-07-27 Greg McGary <greg@mcgary.org>
4469 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
4470 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
4471 in union init. Pass zero for ignored semnum arg to semctl.
4472 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
4474 2000-07-26 Greg McGary <greg@mcgary.org>
4476 * sysdeps/gnu/bits/msq.h: Qualify kernel's
4477 data structure pointers as __unbounded.
4478 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4479 * sysdeps/generic/bp-semctl.h: New file.
4480 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
4481 pointers as __unbounded. Check bounds of syscall args.
4482 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4483 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
4484 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4485 * sysdeps/unix/sysv/linux/semop.c: Likewise.
4486 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
4487 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4488 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
4489 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
4490 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
4491 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
4492 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
4493 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
4494 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
4495 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
4496 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
4497 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
4499 2000-07-26 Ulrich Drepper <drepper@redhat.com>
4501 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
4503 * locale/C-ctype.c: Likewise.
4504 * wcsmbs/wcsmbsload.c: Likewise.
4506 2000-07-26 Greg McGary <greg@mcgary.org>
4508 * Makeconfig (+link-bounded, link-libc-bounded,
4509 link-extra-libs-bounded): New variables.
4510 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
4511 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
4512 * Rules (tests-bp.out): New variable.
4513 (tests): Conditionally add BP tests.
4514 (binaries-bounded): Add variable and associated rule.
4515 * csu/Makefile [build-bounded] (extra-objs, install-lib):
4516 Move conditional stuff after place where condition is defined.
4518 * malloc/malloc.c (bp-checks.h): Add #include.
4519 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
4520 (_bin_at): Add unbounded version of bin_at.
4521 (IAV, chunk_alloc): Use unbounded _bin_at.
4522 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
4523 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
4524 Wrap BOUNDED_N around return value.
4525 (chunk_realloc): Adjust oldsize once.
4527 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
4528 (__ubp_memchr): Add correct decl.
4529 (_CHECK_STRING): Use __ubp_memchr.
4530 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4531 New alias for unbounded-pointer __memchr.
4532 * sysdeps/i386/memchr.S: Likewise.
4533 * sysdeps/ia64/memchr.S: Likewise.
4534 * sysdeps/m68k/memchr.S: Likewise.
4535 * sysdeps/sparc/sparc32/memchr.S: Likewise.
4536 * sysdeps/sparc/sparc64/memchr.S: Likewise.
4537 * sysdeps/vax/memchr.s: Likewise.
4539 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
4540 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
4541 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
4542 * sysdeps/i386/i686/strtok.S: Likewise.
4543 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
4544 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
4546 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
4547 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
4549 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
4550 bounds of copy_result to mount_proc.
4552 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4554 * wctype/wctype.h (__wctrans_l): New declaration.
4555 * wctype/wctrans_l.c: New file.
4556 * wctype/Makefile (routines): Add wctrans_l.
4558 2000-07-26 Ulrich Drepper <drepper@redhat.com>
4560 * posix/fnmatch_loop.c: Fixes for use outside glibc.
4561 Patch by MacGyver <macgyver@tos.net>.
4563 2000-07-26 Andreas Jaeger <aj@suse.de>
4565 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
4566 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
4567 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
4569 * rt/tst-aio.c (test_file): Fix typo.
4570 * rt/tst-aio64.c (test_file): Likewise.
4572 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
4573 * rt/Makefile: Add rules to build and run tst-aio3.
4575 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
4576 it's not needed and confuses only.
4578 2000-07-26 Ulrich Drepper <drepper@redhat.com>
4580 * resolv/res_init.c: Add support for nameserver communication with
4582 * resolv/res_send.c: Likewise.
4583 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
4585 Patch by <venaas@nvg.ntnu.no>.
4587 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4589 * locale/programs/ld-ctype.c (wctype_table_get): New function.
4590 (wcwidth_table_get): New function.
4591 (wcwidth_table_add): Call it.
4592 (wctrans_table_get): New function.
4593 (wctrans_table_add): Call it.
4595 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4597 * rt/lio_listio.c (lio_listio): Always disable individual
4599 * rt/Makefile: Add rules to build and run tst-aio2.
4600 * rt/tst-aio2.c: New file.
4602 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
4603 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
4605 2000-07-25 Mark Kettenis <kettenis@gnu.org>
4607 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
4608 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
4609 leading and trailing spaces from host, user and domain name.
4611 2000-07-25 Jes Sorensen <jes@linuxcare.com>
4613 * csu/defs.awk: Add support for need_endp.
4615 2000-07-25 Mark Kettenis <kettenis@gnu.org>
4617 * resolv/resolv.h: Remove __P from res_send_qhook and
4618 res_send_rhook typedefs.
4620 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4622 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
4624 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4626 * iconv/gconv_builtin.h: Add WCHAR_T alias.
4628 2000-07-25 Mark Kettenis <kettenis@gnu.org>
4630 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
4631 calling thread, set the cancellation flag and return success
4634 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4636 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
4637 * libio/tst-widetext.c: New file.
4638 * libio/tst-widetext.input: New file.
4640 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
4642 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
4643 empty external buffer correctly.
4645 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4647 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
4648 __STRING(entry) and not #entry.
4649 (_RTLD_EPILOGUE): Likewise.
4650 * sysdeps/mips/mips64/dl-machine.h: Likewise.
4652 2000-07-25 Andreas Jaeger <aj@suse.de>
4654 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
4655 according to changes in test program, run also with static only
4657 ($(objpfx)tst-printf.out): Likewise.
4659 * stdio-common/tst-unbputc.sh: Likewise.
4660 * stdio-common/tst-printf.sh: Likewise.
4662 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4664 * libio/wfileops.c (_IO_wdo_write): Correct return value.
4666 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
4669 * libio/fileops.c: Pretty print.
4671 2000-07-23 Bruno Haible <haible@clisp.cons.org>
4673 * wctype/wchar-lookup.h: New file.
4674 * wctype/iswctype.c: Include "wchar-lookup.h".
4675 (__iswctype): Support alternate locale format with 3-level tables.
4676 * wctype/iswctype_l.c (__iswctype_l): Likewise.
4677 * wctype/towctrans.c (__towctrans): Likewise.
4678 * wctype/towctrans_l.c (__towctrans_l): Likewise.
4679 * wctype/wcfuncs.c: Include "wchar-lookup.h".
4680 (__ctype32_wctype, __ctype32_wctrans): Declare external.
4681 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
4682 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
4683 __iswxdigit, towlower, towupper): Support alternate locale format
4684 with 3-level tables.
4685 * wctype/wcextra.c (iswblank): Likewise.
4686 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
4687 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
4688 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
4689 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
4690 format with 3-level tables.
4691 * wctype/wcextra_l.c (__iswblank_l): Likewise.
4692 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
4693 format, return a 3-level table pointer.
4694 * wctype/wctype_l.c (__wctype_l): Likewise.
4695 * wctype/wctrans.c (wctrans): Likewise.
4696 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
4697 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
4698 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
4699 (iswctype): Remove macro definition.
4700 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
4701 (internal_wcwidth): Support alternate locale format with 3-level
4703 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
4705 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
4706 Define them as being type "word".
4707 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
4708 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
4709 __ctype32_width): New exported variables.
4710 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
4711 alternate locale format. Don't initialize __ctype_names and
4712 __ctype_width in the alternate locale format.
4713 * locale/programs/localedef.h (oldstyle_tables): New declaration.
4714 * locale/programs/localedef.c (oldstyle_tables): New variable.
4715 (OPT_OLDSTYLE): New macro.
4716 (options): Add --old-style option.
4717 (parse_opt): Handle --old-style option.
4718 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
4719 map_offset, class_3level, map_3level, width_3level members.
4720 (ctype_output): Support for alternate locale format: Computation of
4721 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
4722 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
4723 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
4724 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
4725 now contain both class and map tables.
4726 (struct wctype_table): New type.
4727 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
4729 (struct wcwidth_table): New type.
4730 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
4732 (struct wctrans_table): New type.
4733 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
4735 (allocate_arrays): Support for alternate locale format: Set
4736 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
4737 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
4738 to the first 256 characters. Compute ctype->map_3level. Set
4739 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
4740 instead of ctype->width.
4742 2000-07-24 Ulrich Drepper <drepper@redhat.com>
4744 * libio/iogetwline.c (_IO_getwline_info): Use wide character
4747 2000-07-24 Jakub Jelinek <jakub@redhat.com>
4749 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
4750 in wide characters, not bytes.
4751 * libio/tst_putwc.c (do_test): Add test for writing lots of data
4754 2000-07-22 Bruno Haible <haible@clisp.cons.org>
4756 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
4757 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
4758 LC_MEASUREMENT, LC_IDENTIFICATION.
4760 * locale/xlocale.h (struct __locale_struct): Increase size of
4762 * locale/duplocale.c (__duplocale): Copy newly added categories as
4764 * locale/freelocale.c (__freelocale): Free newly added categories.
4765 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
4766 If a base is given, use it, don't simply return it.
4768 2000-07-22 Bruno Haible <haible@clisp.cons.org>
4770 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
4771 variables, copied_key and copied_salt, instead of boolean variables.
4773 2000-07-24 Andreas Jaeger <aj@suse.de>
4775 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
4778 * grp/initgroups.c (initgroups_dyn_function): Renamed from
4779 initgroups_function, adopted prototype for change from 2000-07-23.
4780 (initgroups): Follow type change.
4782 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
4783 & PAGE_MASK case, reformat.
4785 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
4786 from stdin and setup environment.
4788 2000-07-24 Andreas Schwab <schwab@suse.de>
4790 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
4792 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4794 * string/endian.h: Explain the _*_ENDIAN constant values a bit
4795 more. Patch by scarlet@mit.edu [PR libc/1799].
4797 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
4800 * argp/argp-parse.c (parser_finalize): Reverse order in which
4801 parsers are run for ARGP_KEY_END. [PR libc/1755].
4803 * grp/initgroups.c (initgroups): Don't limit the possible number
4804 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
4805 the setgroups call while the call fails and descrease the number
4806 of groups each round.
4807 The name of the initgroups function in the NSS modules changed.
4808 (compat_call): Adapt for dynamic resizing.
4809 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4810 Implement dynamic resizing.
4811 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4813 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
4814 * hesiod/Versions: Change exported interface name.
4815 * nis/Versions: Change exported interface name.
4817 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4819 * locale/iso-639.def: Some errors corrected.
4820 Patch by Keld Simonsen.
4822 * include/limits.h: Update non-gcc portion.
4823 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4825 2000-07-22 Mark Kettenis <kettenis@gnu.org>
4827 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
4828 program's data space, reallocate only the space that was just
4829 deallocated to release its backing space.
4831 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4833 * stdio-common/vfprintf.c (process_string_arg): For wide character
4834 version, handle precision also correctly.
4836 * nss/nss_files/files-hosts.c: Correct problem with three or more
4837 entries with the same name.
4839 * nss/nss_files/files-hosts.c: Implement multi handling.
4840 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
4842 2000-07-22 Ulrich Drepper <drepper@redhat.com>
4844 * nss/nss_files/files-parse.c: Don't pollute namespace by using
4847 * grp/Makefile: Change Makefiles and tests to run only when necessary.
4848 * malloc/Makefile: Likewise.
4849 * malloc/tst-mtrace.sh: Likewise.
4850 * posix/Makefile: Likewise.
4851 * posix/globtest.sh: Likewise.
4852 * posix/wordexp-tst.sh: Likewise.
4853 * string/Makefile: Likewise.
4855 2000-07-22 Mark Kettenis <kettenis@gnu.org>
4857 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
4858 size instead of LC_ALL to take into account the new locale
4861 2000-07-22 Ulrich Drepper <drepper@redhat.com>
4863 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
4864 remainders of hash table.
4865 * locale/categories.def: Remove remainders of transliteration
4867 * locale/langinfo.h: Likewise.
4868 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
4869 transliteration tables.
4871 * locale/gen-translit.pl: New file.
4872 * locale/C-translit.h.in: New file.
4873 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
4874 data pointers with data from this file.
4875 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
4876 and gen-translit.pl.
4877 Add rule to generate C-translit.h.
4878 * intl/tst-translit.c (main): Update for now performed
4881 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
4882 (it's no input error).
4883 * stdio-common/tstscanf.c: Add test case for format %f with input --.
4884 * stdio-common/scanf12.c: Correct expected result for first scanf.
4886 * stdio-common/vfprintf.c (process_string_arg): Correct handling
4887 of multibyte character strings in %s format with precision.
4889 2000-07-21 Ulrich Drepper <drepper@redhat.com>
4891 * locale/programs/ld-collate.c (collate_read): Allow collating
4892 symbols and elements be named in reorder-after instructions.
4893 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
4895 * locale/programs/ld-collate.c (handle_ellipsis): Test for
4896 duplication with generated name, not the name of the first
4898 Patch by Yong Li <yong.li@asu.edu>.
4900 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
4901 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4903 2000-07-21 Wolfram Gloger <wg@malloc.de>
4905 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
4906 allocations only if a non-main arena cannot be extended.
4908 2000-07-21 Ulrich Drepper <drepper@redhat.com>
4910 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
4911 in DF_1_NODEFLIB handling.
4913 2000-07-21 Andreas Jaeger <aj@suse.de>
4915 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
4918 * libio/fwide.c: Include <wchar.h> for prototype.
4920 2000-07-21 Greg McGary <greg@mcgary.org>
4922 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
4923 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
4924 Define in terms of chunk_at_offset.
4925 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
4926 (next_bin, prev_bin): offset by size of real array elements.
4927 (chunk_align): Make `m' a scalar, since that's how it's used.
4929 2000-07-21 Greg McGary <greg@mcgary.org>
4931 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
4933 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
4934 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
4935 Wrap bounds around argv & envp and each of their string members.
4936 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
4937 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
4938 symbol in BP_SYM (). Discard bounds of address arg.
4939 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
4940 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
4941 Discard bounds on address arg, add bounds to return value.
4943 2000-07-20 Ulrich Drepper <drepper@redhat.com>
4945 * elf/Makefile (tests): Add filter. Add rules to generate filter.
4946 * elf/filter.c: New file.
4947 * elf/filtmod1.c: New file.
4948 * elf/filtmod2.c: New file.
4950 * elf/rtld.c: Define _dl_bind_not variable.
4951 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
4952 * elf/dl-support.c: Likewise.
4953 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
4954 * elf/dl-runtime.c (fixup): Don't remember looked up value if
4956 (profile_fixup): Likewise.
4958 * libio/Makefile (routines): Add fwide.
4959 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
4960 fwide now. Internal calls to _IO_fwide must do locking themselves
4961 or don't need locking.
4962 * libio/fwide.c: New file.
4964 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
4966 * elf/Makefile: Add no modules for nodelete test.
4967 * elf/nodelmod3.c: New file.
4968 * elf/nodelmod4.c: New file.
4969 * elf/nodelete.c: Also test case where dependency of dlopen() object
4972 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
4973 * elf/nodlopen.c: New file.
4974 * elf/nodlopenmod.c: New file.
4975 * include/dlfcn.h: Define __RTLD_DLOPEN.
4976 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
4977 and this is a dlopen() call, do not load the binary.
4978 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
4979 * dlfcn/dlopenold.c: Likewise.
4980 * configure.in: Add test for -z nodelete option.
4981 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
4983 2000-07-20 Mark Kettenis <kettenis@gnu.org>
4985 Make Hesiod NSS module thread-safe.
4987 * hesiod/README.hesiod: Update.
4989 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
4990 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
4991 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
4992 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
4994 * hesiod/nss_hesiod/hesiod-init.c: New file.
4995 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
4996 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
4997 * hesiod/nss_hesiod/nss_hesiod.h: New file.
4998 * hesiod/nss_hesiod/hesiod-service.c
4999 (_nss_hesiod_getservbyport_r): New function. Provide support for
5000 looking up services by port number.
5001 * hesiod/nss_hesiod/hesiod-proto.c: New file.
5003 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
5004 * hesiod/hesiod.h: Likewise.
5005 * hesiod/hesiod_p.h: Likewise.
5007 2000-07-20 Mark Kettenis <kettenis@gnu.org>
5009 Fix problems with `struct __res_state' getting too big.
5010 * resolv/resolv.h (struct __sockaddr_in): New definition.
5011 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
5012 the private parts of the structure to save some space.
5013 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
5014 (struct sockaddr_in *) in call to sock_eq.
5015 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
5017 2000-07-20 Ulrich Drepper <drepper@redhat.com>
5019 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
5020 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
5022 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
5023 to _dl_map_object. Return immediately if no object loaded.
5024 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
5025 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
5026 if it exists into l_flags_1 word.
5027 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
5028 it to determine whether loading is wanted or not.
5029 (_dl_map_object): Likewise.
5030 Call _dl_map_object_from_fd with new parameter.
5031 * sysdeps/generic/ldsodefs.h: Update prototype.
5032 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
5033 * elf/rtld.c: Likewise.
5034 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5035 * elf/Makefile (tests): Add noload. Add rules to generate noload.
5036 * elf/noload.c: New file.
5037 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
5038 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
5039 * sysdeps/mips/bits/dlfcn.h: Likewise.
5040 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
5041 (tests-nodelete-yes): Define.
5042 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
5043 Add rules to build nodelete and modules.
5044 * elf/nodelete.c: New file.
5045 * elf/nodelmod1.c: New file.
5046 * elf/nodelmod2.c: New file.
5047 * configure.in: Add test for -z nodelete option.
5048 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
5050 * libio/Makefile (tests): Add tst_wprintf2.
5051 (tst_wprintf2-ARGS): Define.
5052 * libio/tst_wprintf2.c: New file.
5053 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
5055 * libio/wfiledoalloc.c: Only allocate external buffer if this
5056 hasn't happened yet.
5058 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
5059 something in the buffer. gconv call can write up to end of the
5060 buffer, not only _IO_write_end.
5061 (_IO_wfile_overflow): Allocate also external buffer.
5063 2000-07-19 Ulrich Drepper <drepper@redhat.com>
5065 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
5066 strings with precision in vfwprintf correctly.
5067 * stdio-common/vfprintf.c: Fix completely broken handling of
5068 unbuffered wide character streams.
5069 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
5071 * resolv/Makefile (distribute): Add README.
5073 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
5075 2000-07-18 Mark Kettenis <kettenis@gnu.org>
5077 Update resolver code to BIND 8.2.3-T5B.
5079 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
5081 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
5082 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
5084 * resolv/Banner: BIND-8.2.3-T5B.
5086 * resolv/base64.c: Update from BIND 8.2.3-T5B.
5087 * resolv/herror.c: Likewise.
5088 * resolv/inet_addr.c: Likewise.
5089 * resolv/inet_net_ntop.c: Likewise.
5090 * resolv/inet_net_pton.c: Likewise.
5091 * resolv/inet_neta.c: Likewise.
5092 * resolv/inet_ntop.c: Likewise.
5093 * resolv/nsap_addr.c: Likewise.
5094 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
5095 IPv6 addresses (ISC bug #520).
5097 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
5098 * resolv/ns_parse.c: Likewise.
5099 * resolv/ns_netint.c: Likewise.
5100 * resolv/ns_samedomain.c: Likewise.
5101 * resolv/ns_ttl.c: Likewise.
5102 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
5103 RCS ID in object file.
5105 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
5106 * resolv/res_mkquery.c: Likewise.
5107 * resolv/res_query.c: Likewise.
5108 * resolv/res_init.c: Likewise.
5109 (res_setoptions): Mark internal.
5110 * resolv/res_send.c: Likewise.
5111 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
5112 by using poll instead.
5113 * resolv/res_comp.c: Likewise.
5114 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
5115 weak alias for __dn_expand.
5116 * resolv/res_data.c: Likewise.
5117 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
5118 in _res.options. Avoids a potential security risk by avoiding a
5120 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
5121 res_mkquery, res_query, res_querydomain adn res_search weak
5122 aliases for __res_mkquery, __res_query, __res_querydomain and
5124 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
5125 instead to avoid close(0).
5126 (res_init): Always use the static resolver context.
5127 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
5128 alias for __res_init.
5130 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
5131 RES_SET_H_ERRNO and accompanying comment to...
5132 * include/resolv.h: ... here.
5134 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
5135 * resolv/arpa/nameser_compat.h: Likewise.
5137 2000-07-18 Ulrich Drepper <drepper@redhat.com>
5139 * nss/makedb.c (main): Compare result of load_db with
5140 NSS_STATUS_SUCCESS and not 0.
5141 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
5143 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
5145 2000-07-18 Greg McGary <greg@mcgary.org>
5147 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
5148 (EXTEND_BUFFER): Use it.
5150 2000-07-18 Ulrich Drepper <drepper@redhat.com>
5152 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
5153 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
5154 __builtin_return_address.
5155 * dlfcn/dlopenold.c: Likewise.
5156 * dlfcn/dlsym.c: Likewise.
5157 * dlfcn/dlvsym.c: Likewise.
5158 * elf/dl-profstub.c: Likewise.
5159 * malloc/malloc.c: Likewise.
5160 * sysdeps/generic/machine-gmon.h: Likewise.
5161 Based on a patch by schwidefsky@de.ibm.com.
5163 2000-07-18 Andreas Jaeger <aj@suse.de>
5165 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
5166 NULL to elf_machine_fixup_plt t argument to silence GCC.
5168 * include/string.h: Add prototype for __memchr.
5170 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
5172 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
5175 2000-07-18 Ulrich Drepper <drepper@redhat.com>
5177 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
5179 * locale/C-ctype.c: Add initializers for gap elements.
5180 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
5183 2000-07-16 Ulrich Drepper <drepper@redhat.com>
5185 * nscd/nscd.c (print_version): Update copyright year.
5187 2000-07-17 Greg McGary <greg@mcgary.org>
5189 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
5190 keyletters F, I, S, W. Remove unused keyletter V. Surround
5191 signature argnames with angle-brackets for use as word delimiters,
5192 and to induce syntax errors for any args not handled. Split
5193 multi-echo echoes and comment each stage.
5194 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
5195 * sysdeps/unix/inet/syscalls.list: Likewise.
5196 * sysdeps/unix/mman/syscalls.list: Likewise.
5197 * sysdeps/unix/syscalls.list: Likewise.
5198 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5199 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5200 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5201 * sysdeps/unix/sysv/syscalls.list: Likewise.
5202 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
5204 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
5205 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
5206 qualifiers. Don't check NULL-terminator of argv & envp.
5207 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
5208 unbounded pointer type in word-size assertion.
5209 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
5210 cases to stifle warnings.
5212 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
5214 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5216 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
5217 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
5220 * Makerules (o-objects): Supplement with $(o-objects$o).
5221 * string/Makefile (o-objects.ob): Add variable to pull
5222 unbounded versions of memcpy, memset and memchr into libc_b.
5224 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
5225 rather than non-existent __ubp_memchr.
5226 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
5227 (_CHECK_STRING, _CHECK_N): New macros.
5228 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
5229 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
5230 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
5231 Add weak alias "memchr".
5232 * sysdeps/generic/memchr.c: Likewise.
5233 * sysdeps/i386/memchr.S: Likewise.
5234 * sysdeps/ia64/memchr.S: Likewise.
5235 * sysdeps/m68k/memchr.S: Likewise.
5236 * sysdeps/sparc/sparc32/memchr.S: Likewise.
5237 * sysdeps/sparc/sparc64/memchr.S: Likewise.
5238 * sysdeps/vax/memchr.s: Likewise.
5240 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
5242 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
5243 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
5244 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
5245 __BOUNDED_POINTERS__.
5246 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
5247 for __BOUNDED_POINTERS__.
5249 2000-07-17 Bruno Haible <haible@clisp.cons.org>
5251 * iconv/gconv_open.c (__gconv_open): Initialize the __data
5252 field of struct __gconv_trans_data differently. Don't pass NULL to
5253 trans_init_fct. Simplify list append operation.
5255 2000-07-14 Bruno Haible <haible@clisp.cons.org>
5257 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
5258 not only those having tsearch.
5260 2000-07-17 Ulrich Drepper <drepper@redhat.com>
5262 * locale/langinfo.h: Add placeholder values in enum for removed
5265 2000-07-17 Jakub Jelinek <jakub@redhat.com>
5267 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
5268 chain if the PHDR check fails.
5270 2000-07-17 Mark Kettenis <kettenis@gnu.org>
5272 * nss/getent.c (print_hosts): Make sure we always print a space
5273 between numeric addresses and hostnames.
5275 2000-07-17 Wolfram Gloger <wg@malloc.de>
5277 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
5278 i.e. if n_mmaps_max>0.
5280 2000-07-16 Mark Kettenis <kettenis@gnu.org>
5282 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
5283 values to remove possible clash with other AI_* constants.
5284 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
5285 hexadecimal constants to stress the fact they're in fact
5288 2000-07-15 Mark Kettenis <kettenis@gnu.org>
5290 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
5291 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
5292 instead of res_init.
5294 2000-07-16 Ulrich Drepper <drepper@redhat.com>
5296 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
5297 parameters of memset calls to avoid warnings.
5299 2000-07-15 Ulrich Drepper <drepper@redhat.com>
5301 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
5304 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
5305 Patch by Greg McGary <greg@mcgary.org>.
5307 * io/Makefile (tests): Add tst-getcwd.
5308 * io/tst-getcwd.c: New file.
5310 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
5312 2000-07-15 Jakub Jelinek <jakub@redhat.com>
5314 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
5317 2000-07-13 Jakub Jelinek <jakub@redhat.com>
5319 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
5320 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
5322 2000-07-12 H.J. Lu <hjl@gnu.org>
5324 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
5326 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
5327 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
5328 (sysdep-routines): Add clone2.
5329 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
5331 2000-07-13 Jes Sorensen <jes@linuxcare.com>
5333 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
5334 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
5336 2000-06-05 David Mosberger <davidm@hpl.hp.com>
5338 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
5339 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
5340 Change type of si_band from "int" to "long".
5341 (si_imm) [USE_GNU]: Define
5342 (si_isr) [USE_GNU]: Likewise.
5343 (ILL_BREAK) [USE_GNU]: Likewise.
5344 (FPE_DECOVF) [USE_GNU]: Likewise.
5345 (FPE_DECDIV) [USE_GNU]: Likewise.
5346 (FPE_DECERR) [USE_GNU]: Likewise.
5347 (FPE_INVASC) [USE_GNU]: Likewise.
5348 (FPE_INVDEC) [USE_GNU]: Likewise.
5349 (TRAP_BRANCH) [USE_GNU]: Likewise.
5350 (TRAP_HWBKPT) [USE_GNU]: Likewise.
5352 2000-07-06 Jes Sorensen <jes@linuxcare.com>
5354 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
5355 bits/sigcontext as struct mcontext does not depend on it.
5357 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
5359 2000-07-04 Jes Sorensen <jes@linuxcare.com>
5361 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
5363 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
5365 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
5367 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5369 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
5371 2000-07-15 Ulrich Drepper <drepper@redhat.com>
5373 * intl/Makefile (test-srcs): Add tst-translit.
5375 Add rules to build and run tst-translit.
5376 * intl/tst-translit.c: New file.
5377 * intl/tst-translit.sh: New file.
5378 * intl/translit.po: New file.
5380 2000-07-14 Ulrich Drepper <drepper@redhat.com>
5382 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
5383 transliteration function did its job, continue, don't stop.
5385 * iconvdata/iso646.c: Little optimizations in body for conversion
5388 2000-07-14 Mark Kettenis <kettenis@gnu.org>
5390 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
5392 2000-07-14 Mark Kettenis <kettenis@gnu.org>
5394 * configure.in: Check for pwd binary.
5395 * config.make.in: Add PWD_P to be subsituted.
5396 * Makerules: Use $(PWD_P) instead of /bin/pwd.
5398 2000-07-14 Ulrich Drepper <drepper@redhat.com>
5400 * iconvdata/Makefile (modules): Add GB18030.
5401 (distribute): Add gb18030.c.
5402 * iconvdata/gconv-modules: Add entries for GB18030 module.
5403 * iconvdata/gb18030.c: New file.
5404 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
5407 2000-07-13 Andreas Jaeger <aj@suse.de>
5409 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
5412 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
5413 * inet/getnetgrent.c (free_mem): Likewise.
5414 * misc/mntent.c (free_mem): Likewise.
5415 * nss/getXXbyYY.c (free_mem): Likewise.
5416 * nss/getXXent.c (free_mem): Likewise.
5417 * pwd/fgetpwent.c (free_mem): Likewise.
5418 * shadow/fgetspent.c (free_mem): Likewise.
5420 2000-07-14 Ulrich Drepper <drepper@redhat.com>
5422 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
5423 64-bit architecture correctly [PR libc/1794].
5425 2000-07-13 Ulrich Drepper <drepper@redhat.com>
5427 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
5428 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
5429 report that we are out of memory.
5430 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5431 * elf/dl-libc.c (dlerror_run): Likewise.
5432 * elf/dl-open.c (_dl_open): Likewise.
5433 * elf/rtld.c (dl_main): Likewise.
5434 * elf/dl-error.c: Define _dl_out_of_memory.
5435 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
5437 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
5440 * dlfcn/dlerror.c (free_key_mem): Also free error string.
5442 * iconv/loop.c: Fix comment.
5444 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
5446 2000-07-13 Andreas Jaeger <aj@suse.de>
5448 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
5449 getcwd (NULL, size) with size > 0.
5450 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
5452 2000-07-13 Andreas Jaeger <aj@suse.de>
5454 * posix/Makefile: Remove build rules for libposix.
5456 2000-07-13 Andreas Schwab <schwab@suse.de>
5458 * sysdeps/generic/glob.c (glob): Fix memory leak.
5459 [SHELL]: Remove reference to undefined variable `files'.
5462 2000-07-13 Andreas Jaeger <aj@suse.de>
5464 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
5467 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
5468 memory if it was allocated.
5470 2000-07-12 Ulrich Drepper <drepper@redhat.com>
5472 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
5475 * iconv/gconv_open.c (__gconv_open): Reapply
5476 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5478 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
5480 * iconv/gconv_open.c: Undo last two changes for now. They break
5483 2000-07-12 Andreas Jaeger <aj@suse.de>
5485 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
5487 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
5488 (CFLAGS-dl-cache.c): Likewise.
5489 (CFLAGS-ldconfig.c): Added, passes directory locations.
5491 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
5493 * elf/ldconfig.c (LD_SO_CONF): Likewise.
5494 (main): Use configured LIBDIR and SLIBDIR.
5496 2000-07-11 Jakub Jelinek <jakub@redhat.com>
5498 * math/bits/cmathcalls.h (cimag): Add __THROW.
5499 (creal, conj): Likewise.
5500 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
5503 2000-07-12 H.J. Lu <hjl@gnu.org>
5505 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
5506 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
5508 2000-07-12 Ulrich Drepper <drepper@redhat.com>
5510 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
5513 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5515 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
5517 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5519 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
5522 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5524 * iconv/gconv_open.c (__gconv_open): Initialize
5525 result->__steps[cnt].__data.
5527 2000-07-12 Mark Kettenis <kettenis@gnu.org>
5529 * nss/getent.c (services_keys): Pass port number in network byte
5530 order in call to getservbyport.
5532 2000-07-11 Andreas Jaeger <aj@suse.de>
5534 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
5536 * intl/Makefile (do-gettext-test): Likewise.
5537 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
5539 2000-07-11 Andreas Schwab <schwab@suse.de>
5541 * Makeconfig (run-program-prefix): New rule.
5542 (built-program-cmd): Use run-program-prefix.
5544 2000-07-12 Ulrich Drepper <drepper@redhat.com>
5546 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
5547 and NOEXPR unconditionally available.
5549 2000-07-12 Greg McGary <greg@mcgary.org>
5551 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
5552 * sysdeps/posix/open64.c: Likewise.
5553 * sysdeps/generic/fegetenv.c: Likewise.
5554 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
5555 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5556 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5557 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
5558 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
5559 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
5561 2000-07-11 Greg McGary <greg@mcgary.org>
5563 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
5564 Add extra level of macro expansion.
5565 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
5566 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
5567 is available at the time `select' prototype is declared.
5568 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
5569 Collect non-versioned weak aliases. Consider only non-versioned
5570 aliases for the user-visible systemcall name. Do checks inline with
5571 call to primitive system call.
5572 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
5573 stand-alone bounds checks to suppress unused value warnings.
5574 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
5576 2000-07-10 Mark Kettenis <kettenis@gnu.org>
5578 * sysdeps/mach/hurd/check_fds.c: New file. Implements
5579 file descriptor checking in SUID programs for the Hurd.
5581 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
5582 res_hostalias instead of __hostalias for thread-safety.
5584 2000-07-09 Mark Kettenis <kettenis@gnu.org>
5586 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
5587 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
5589 2000-07-10 Ulrich Drepper <drepper@redhat.com>
5591 * include/features.h: Include ISO C99 features if the compiler used
5592 is an ISO C99 compiler.
5593 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
5595 2000-07-08 Mark Kettenis <kettenis@gnu.org>
5597 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
5599 2000-07-10 Andreas Jaeger <aj@suse.de>
5601 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
5602 it's overridden by libpthreads.
5603 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5604 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5605 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5606 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5607 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5609 * malloc/Makefile: Run tst-mtrace only with shared libs.
5611 * stdio-common/Makefile: Run unbputc and tst-printf tests only
5614 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5616 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
5617 that gpreg really points to the GOT section of the calling object.
5618 Scan all PT_LOAD segments of objects for stub_pc, instead of only
5619 checking a start address of first one.
5621 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
5624 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
5626 2000-07-10 Andreas Jaeger <aj@suse.de>
5628 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
5629 (string_alias->strong_alias).
5631 2000-07-08 Mark Kettenis <kettenis@gnu.org>
5633 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
5635 2000-07-07 Greg McGary <greg@mcgary.org>
5637 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
5638 have no names without leading underscores.
5640 2000-07-07 Ulrich Drepper <drepper@redhat.com>
5642 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
5645 * stdio-common/Makefile (tests): Remove tst-printf here...
5646 (tests-srcs): ...and add it here.
5647 (distribute): Add tst-unbputc.sh and tst-printf.sh.
5648 Add rules to run tst-printf.sh.
5649 * stdio-common/tst-printf.c: Move code around so that there is really
5650 no further output where it's stated.
5651 * stdio-common/tst-printf.sh: New file.
5653 2000-07-07 Mark Kettenis <kettenis@gnu.org>
5655 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
5656 (do_write): Renamed from pwrite.
5657 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
5658 `struct _IO_cookie_file'.
5660 2000-07-07 Ulrich Drepper <drepper@redhat.com>
5662 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
5664 * malloc/tst-mtrace.sh: Run mtrace script.
5666 2000-07-07 Greg McGary <greg@mcgary.org>
5668 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
5669 Move all three components of a bounded pointer.
5671 2000-07-07 Ulrich Drepper <drepper@redhat.com>
5673 * locale/programs/locale.c (write_locales): Don't simply add all
5674 directories found in the subdir, test whether at least the
5675 LC_CTYPE file is in there.
5677 2000-07-06 Ulrich Drepper <drepper@redhat.com>
5679 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
5680 * iconvdata/euc-kr.c: Likewise.
5682 * stdio-common/vfprintf.c (process_string_arg): Check result of
5683 wcrtomb call and bail out if it failed.
5685 * malloc/Makefile (test-srcs): Add tst-mtrace.
5686 (distribute): Add tst-mtrace.sh.
5687 Add rule to run tst-mtrace.sh.
5688 * malloc/tst-mtrace.c: New file.
5689 * malloc/tst-mtrace.sh: New file.
5691 * include/signal.h: Declare __libc_sigaction.
5692 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
5693 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
5694 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5695 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5696 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5697 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5698 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5700 * configure.in: Fix CFLAGS-memprofstat.c definition after
5702 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
5704 2000-07-06 Jakub Jelinek <jakub@redhat.com>
5706 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
5707 instead of NULL to elf_machine_fixup_plt t argument.
5708 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5709 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
5712 2000-07-06 Andreas Jaeger <aj@suse.de>
5714 * crypt/Makefile (LDLIBS-cert): Removed.
5715 (LDLIBS-md5c-test): Removed.
5716 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
5717 ($(objpfx)md5c-test): Likewise for md5c-test.out.
5719 2000-07-06 Andreas Jaeger <aj@suse.de>
5721 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
5722 of the proc system is "proc".
5724 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
5725 thread library for static programs.
5727 2000-07-06 Greg McGary <greg@mcgary.org>
5729 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
5731 * sysdeps/generic/strcpy.c: Add bounds checks.
5732 * sysdeps/unix/fxstat.c: Likewise.
5733 * sysdeps/unix/xstat.c: Likewise.
5734 * sysdeps/unix/common/lxstat.c: Likewise.
5735 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5736 * sysdeps/unix/sysv/linux/execve.c: Likewise.
5737 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
5738 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
5739 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5740 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5741 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
5742 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
5743 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
5744 * sysdeps/unix/sysv/linux/poll.c: Likewise.
5745 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5746 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5747 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
5748 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5749 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5750 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5751 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5752 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5753 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5754 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
5755 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5756 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
5757 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5758 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
5759 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5760 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
5761 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5762 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
5763 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
5764 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
5765 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5766 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
5767 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5768 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5769 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5770 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5771 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5772 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
5773 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5774 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5775 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5776 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5777 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5778 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5779 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
5780 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
5781 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5782 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
5783 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
5784 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
5785 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
5786 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
5787 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5788 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5789 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5790 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5791 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
5792 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
5793 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
5794 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
5795 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5796 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
5797 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
5798 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
5800 * string/endian.h (__LONG_LONG_PAIR): New macro.
5801 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
5802 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5803 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5804 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5805 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5806 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5807 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5808 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5809 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5810 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5811 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5812 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
5814 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
5816 2000-07-06 Andreas Jaeger <aj@suse.de>
5818 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
5821 * math/test-fpucw.c: Include <stdio.h> for printf.
5823 2000-07-05 Greg McGary <greg@mcgary.org>
5825 * sysdeps/generic/bp-checks.h: New file.
5826 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
5827 with list of #include files.
5828 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
5829 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
5830 Don't generate BP thunk if `V' appears in signature.
5831 Generate thunks with complete bounds checks.
5832 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
5833 * sysdeps/unix/inet/syscalls.list: Likewise.
5834 * sysdeps/unix/mman/syscalls.list: Likewise.
5835 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5836 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5837 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5838 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
5840 2000-07-05 Ulrich Drepper <drepper@redhat.com>
5842 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
5843 result. Search first in /etc/mtab (proc/mounts would be stupid).
5844 If mount not in the file fall back on /proc.
5846 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
5847 string got copied in.
5848 Patch by Solar Designer <solar@false.com>.
5850 2000-07-05 Andreas Jaeger <aj@suse.de>
5852 * manual/install.texi (Installation): Update information about
5854 (Configuring and compiling): Update for glibc 2.2.
5856 2000-07-04 Andreas Jaeger <aj@suse.de>
5858 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
5859 (_FPU_IEEE): Likewise.
5861 * math/Makefile (tests): Add test-fpucw.
5863 * math/test-fpucw.c (main): New file.
5865 2000-07-05 Ulrich Drepper <drepper@redhat.com>
5867 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
5869 * locale/programs/ld-collate.c (collate_output): Also write out the
5870 collation sequence values and the wide character string for the
5871 collation symbol table.
5873 * posix/fnmatch.c: Include "../locale/elem-hash.h".
5874 * posix/fnmatch_loop.c: Implement collating symbol handling.
5875 * posix/tst-fnmatch.input: Add more tests, especially for collating
5878 * posix/regex.c: Fix comment.
5880 2000-07-05 Andreas Jaeger <aj@suse.de>
5882 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
5883 (_FPU_GETCW): Remove extra colon.
5884 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5886 * posix/fnmatch_loop.c (FCT): Only declare len if
5887 !WIDE_CHAR_VERSION to silence GCC.
5889 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
5891 * sysdeps/generic/strchrnul.c: Likewise.
5892 * sysdeps/generic/strlen.c: Likewise.
5893 * sysdeps/generic/strchr.c: Likewise.
5894 * sysdeps/generic/memchr.c: Likewise.
5896 2000-07-04 Ulrich Drepper <drepper@redhat.com>
5898 * posix/fnmatch_loop.c: Implement equivalence class handling.
5899 * posix/tst-fnmatch.input: Add tests for equivalence class
5902 * posix/fnmatch_loop.c: Improve performance for single-byte
5903 character sets by not using btowc.
5905 * posix/tst-fnmatch.input: Add tests for locale dependent
5907 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
5909 * posix/tst-fnmatch.input: Add more test cases.
5911 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
5912 are not aligned to alignof(md5_uint32) do it before calling
5913 __md5_process_bytes.
5914 * crypt/md5.c: Make sure buffers are aligned.
5915 * crypt/md5.h: Likewise.
5916 Reported by Solar Designer <solar@false.com>.
5918 * crypt/Makefile: Add dependencies for test programs.
5920 * Rules: Define LC_ALL=C in environments of all programs we run.
5922 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
5924 2000-07-03 H.J. Lu <hjl@gnu.org>
5926 * locale/programs/ld-ctype.c (ctype_output): The size of iov
5927 is 2 + elem + offset, not 2 + elem + offset + 2.
5929 2000-07-04 Ulrich Drepper <drepper@redhat.com>
5931 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
5933 * posix/Makefile (tests): Add tst-fnmatch.
5934 (tst-fnmatch-ENV): Define.
5935 * posix/tst-fnmatch.c: New file.
5936 * posix/tst-fnmatch.sh: New file.
5938 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
5940 * locale/programs/charmap.c (charmap_read): Prepend
5941 the condition filename == NULL.
5943 2000-07-03 Greg McGary <greg@mcgary.org>
5945 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
5947 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
5948 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
5950 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
5951 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
5952 (FILEBUF_LITERAL): Add cast for CHAIN init.
5953 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
5954 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
5955 Revert type of `fp' to _IO_FILE*.
5956 (_IO_iter_file): Remove cast.
5957 (_IO_iter_next): Elide intermediate member reference.
5959 * sysdeps/powerpc/strchr.S: Check bounds.
5960 Wrap extern symbols in BP_SYM ().
5962 2000-07-03 Andreas Jaeger <aj@suse.de>
5964 * dlfcn/Makefile (generated): New.
5966 2000-07-03 Ulrich Drepper <drepper@redhat.com>
5968 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
5969 (__uflow): Likewise.
5970 (__underflow): Likewise.
5971 * libio/wgenops.c (__wunderflow): Likewise.
5972 * stdio-common/tst-unbputc.c: New file.
5973 * stdio-common/tst-unbputc.sh: New file.
5974 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
5976 * po/en_GB.po: New file.
5977 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
5979 2000-07-01 Andreas Jaeger <aj@suse.de>
5981 * intl/Makefile (generated-dirs): New.
5983 * elf/Makefile (generated): trusted-dirs.h is always generated,
5984 move out of build-shared condition.
5985 (generated): Merge the two entries for build-shared.
5987 2000-07-01 Ulrich Drepper <drepper@redhat.com>
5989 * debug/Makefile (distribute): Add xtrace.sh.
5991 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5993 * version.h (VERSION): Bump to 2.1.91.
5995 * configure.in: Update warning comment. glibc should not be
5998 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
5999 ioperm.c, sys/procfs.h, and sys/io.h.
6001 * sysdeps/powerpc/Dist: Add bp-asm.h.
6003 * assert/Depend: Add localedata.
6004 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
6005 (test-assert-perr-ENV): New. Define LANGUAGE=C.
6007 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
6008 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
6009 relocation address to prevent unaligned trap.
6010 Suggested by Richard Henderson <rth@cygnus.com>.
6012 2000-06-30 Jakub Jelinek <jakub@redhat.com>
6014 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
6015 if redirecting and either redirection is done using defines or
6018 2000-06-30 Ulrich Drepper <drepper@redhat.com>
6020 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
6021 generated expressions.
6022 Patch by Darren McClelland <dmcclell@zetec.com>.
6024 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
6025 since zic uses setlocale and gettext but we cannot make it use the
6026 new locale data since zic calls a shell which might not use the
6029 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
6030 handling the internation currency symbol. POSIX says that the
6031 fourth character is used to separate the currency symbol from the
6032 value. Therefore it does not have to be printed. But we cannot
6033 remove the space if the currency symbol is printed before the
6034 number since this is what many locales expect.
6036 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
6037 whether this information is available.
6039 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
6040 buffers in case the translation is too large. Remember allocated
6041 memory blocks in a list.
6042 (free_mem): Free memory for translations.
6044 * intl/tst-gettext.c: Use correct locale. Improve error messages.
6046 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
6047 information is available set the string length to zero.
6049 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
6051 2000-06-30 Greg McGary <greg@mcgary.org>
6053 * sysdeps/powerpc/bp-asm.h: New file.
6054 * sysdeps/powerpc/__longjmp.S: Check bounds.
6055 Wrap extern symbols in BP_SYM ().
6056 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
6057 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
6058 * sysdeps/powerpc/setjmp.S: Likewise.
6059 * sysdeps/powerpc/add_n.S: Likewise.
6060 * sysdeps/powerpc/addmul_1.S: Likewise.
6061 * sysdeps/powerpc/lshift.S: Likewise.
6062 * sysdeps/powerpc/rshift.S: Likewise.
6063 * sysdeps/powerpc/mul_1.S: Likewise.
6064 * sysdeps/powerpc/sub_n.S: Likewise.
6065 * sysdeps/powerpc/submul_1.S: Likewise.
6066 * sysdeps/powerpc/strlen.S: Likewise.
6067 * sysdeps/powerpc/memset.S: Likewise.
6068 * sysdeps/powerpc/stpcpy.S: Likewise.
6069 * sysdeps/powerpc/strcmp.S: Likewise.
6070 * sysdeps/powerpc/strcpy.S: Likewise.
6071 * sysdeps/powerpc/elf/bzero.S: Likewise.
6073 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
6074 Line up operands column with tabs.
6076 2000-06-30 Ulrich Drepper <drepper@redhat.com>
6078 * elf/Makefile (LDFLAGS-origtest): Actually add it.
6080 * sysdeps/ia64/htonl.S: New file.
6081 * sysdeps/ia64/htons.S: New file.
6082 * sysdeps/ia64/memcpy.S: Replace with version which does not use
6083 floating point registers.
6084 Patches by Dan Pop <Dan.Pop@cern.ch>.
6086 2000-06-30 Andreas Jaeger <aj@suse.de>
6088 * posix/Makefile (tests): tst-exec and tst-spawn only work with
6091 * io/Makefile (CFLAGS-test-lfs.c): New.
6092 (tests): Add test-lfs.
6094 * io/test-lfs.c: New file.
6096 2000-06-30 Jakub Jelinek <jakub@redhat.com>
6098 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
6101 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
6103 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
6105 2000-06-29 Jes Sorensen <jes@linuxcare.com>
6107 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
6108 alias to the fstatfs call.
6110 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
6111 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
6113 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
6114 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
6116 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
6117 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
6118 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
6119 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
6121 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
6122 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
6124 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
6125 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
6127 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
6128 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
6130 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
6132 2000-06-29 Andreas Jaeger <aj@suse.de>
6134 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
6136 (print_err_message): Likewise.
6137 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
6139 2000-06-29 Ulrich Drepper <drepper@redhat.com>
6141 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
6142 used as words is properly aligned.
6144 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
6147 2000-06-29 Greg McGary <greg@mcgary.org>
6149 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
6150 * sysdeps/unix/make-syscalls.sh: Handle signatures of
6151 length 7..9, just in case...
6152 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
6154 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
6155 (POP_ERRNO_LOCATION_RETURN): Fold insns.
6156 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
6157 (PUSH_SIGNAL_MASK): New macro.
6158 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
6159 LEAVE is unnecessary. Check bounds of jmp_buf.
6160 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
6161 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
6162 immediately before tail-call.
6163 * sysdeps/i386/setjmp.S: Likewise.
6164 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6165 * sysdeps/i386/bsd-setjmp.S: Likewise.
6167 2000-06-29 Jakub Jelinek <jakub@redhat.com>
6169 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
6171 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
6172 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
6173 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
6174 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6175 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
6176 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
6177 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
6178 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
6180 2000-06-29 Ulrich Drepper <drepper@redhat.com>
6182 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
6183 we later need to calling free().
6184 Patch by Matt Wilson <msw@redhat.com>.
6186 * stdio-common/tst-printf.c: Add test for above problem.
6188 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
6190 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
6191 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
6193 2000-06-28 Jes Sorensen <jes@linuxcare.com>
6195 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
6196 prototype for abs().
6197 * sysdeps/ieee754/flt-32/s_exp2f.c: Likewise.
6199 2000-06-23 Andreas Jaeger <aj@suse.de>
6201 * config.h.in: Don't use regparm with bounded pointers.
6203 2000-06-29 Ulrich Drepper <drepper@redhat.com>
6205 * stdlib/grouping.h: Correctly handle multibyte thousands
6206 separator and decimal point.
6207 * stdlib/stdtod.c: Likewise.
6208 * sysdeps/generic/strtol.c: Likewise.
6210 * locale/categories.def: Add entries for wide character decimal point
6211 and thousands separator in numeric and monetary category.
6213 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6215 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
6216 second definition and initialization of decimal.
6218 2000-06-28 Greg McGary <greg@mcgary.org>
6220 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
6222 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
6223 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
6225 (_IO_JUMPS): Don't cast THIS--expect arg to be a
6226 (struct _IO_FILE_plus *).
6227 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
6228 THIS, since _IO_JUMPS no longer does it implicitly.
6229 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
6230 arg type as (struct _IO_FILE_plus *).
6231 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
6232 arg as (_IO_strfile *).
6233 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
6234 Declare 1st arg as (_IO_strfile *).
6235 * libio/fileops.c (_IO_new_file_init): Declare
6236 arg type as (struct _IO_FILE_plus *).
6237 * libio/oldfileops.c (_IO_old_file_init): Likewise.
6238 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
6239 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
6240 Declare iteration pointer as (struct _IO_FILE_plus *).
6241 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
6242 (struct _IO_FILE_plus *).
6243 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
6244 * libio/oldstdfiles.c (_IO_list_all): Likewise.
6245 (_IO_check_libio): Set user-visible handles to
6246 (struct _IO_FILE_plus *).
6247 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
6248 to (struct _IO_FILE_plus *).
6250 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
6251 whose high bound includes vtable to all functions that will use
6252 vtable. For streambufs, pass pointer whose bounds include struct
6254 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
6255 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6256 * libio/iofopen.c (_IO_new_fopen): Likewise.
6257 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6258 * libio/iofopen64.c (_IO_fopen64): Likewise.
6259 * libio/iopopen.c (_IO_new_popen): Likewise.
6260 * libio/oldiopopen.c (_IO_old_popen): Likewise.
6261 * libio/memstream.c (open_memstream): Likewise.
6262 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
6263 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
6264 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
6265 * libio/iofopncook.c (_IO_cookie_init): Likewise.
6266 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
6267 * libio/vasprintf.c (_IO_vasprintf): Likewise.
6268 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
6269 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
6270 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
6271 * stdlib/strfmon.c (__strfmon_l): Likewise.
6272 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
6273 (vfprintf): Qualify computed-goto targets as unbounded.
6275 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6277 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
6278 thousands separator correctly.
6280 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
6281 * stdio-common/vfwscanf.c: Likewise.
6283 2000-06-27 Jes Sorensen <jes@linuxcare.com>
6285 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
6286 count into signatures for most calls.
6288 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6290 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
6291 the generic parser now.
6293 2000-06-28 Jes Sorensen <jes@linuxcare.com>
6295 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
6296 table entries are 32 bit on the ia64 (as specified by the ABI),
6297 not 64 bit as on the Alpha.
6299 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
6300 change of objects to use 32 bit hash table indices (see above).
6302 2000-06-28 Jes Sorensen <jes@linuxcare.com>
6304 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
6305 prototype for abs().
6307 2000-06-28 Wolfram Gloger <wg@malloc.de>
6309 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
6310 fails, try mmap_chunk() as a last resort even though n_mmaps_max
6311 may have been reached.
6313 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6315 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
6316 symbols in multi-character weights correctly.
6318 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
6319 depending on whether the input string is empty or not.
6321 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
6322 given state and not avoiding this by modifying a local object.
6323 * wcsmbs/wcrtomb.c: Likewise.
6325 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
6326 object since some incomplete characters might be in there.
6328 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
6329 sequences with first byte 0x8e correctly.
6331 * iconvdata/jis0208.h: Remove redundant test.
6333 2000-06-27 Ulrich Drepper <drepper@redhat.com>
6335 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
6336 Add it where it is needed now.
6338 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
6339 the input charset into account when generating the hash table.
6340 (allocate_arrays): Correct setting default width. Not all empty slots
6341 in the table are filled, only those not covert explicitly by the
6342 locale description and in the charset.
6344 * wctype/towctrans.c (__towctrans): Be graceful and accept error
6345 return values from the wctrans function.
6347 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
6348 wide character version.
6349 For %C handling, test correct pointer variable for NULL.
6351 * wcsmbs/wctob.c: Handle WEOF special.
6353 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
6355 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
6356 always-true test to avoid warning.
6358 2000-06-27 Greg McGary <greg@mcgary.org>
6360 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
6361 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
6362 (symbol_version, default_symbol_version): Factor redundant
6363 definitions out of conditional.
6365 2000-06-27 Jakub Jelinek <jakub@redhat.com>
6367 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
6370 2000-06-26 Ulrich Drepper <drepper@redhat.com>
6372 * include/libc-symbols.h (symbol_version): Add extra level of
6374 (default_symbol_version): Likewise.
6376 2000-06-26 Greg McGary <greg@mcgary.org>
6378 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
6379 for BP return value & push implicit struct-return pointer to
6381 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6382 (SYSCALL_ERROR_HANDLER): Likewise.
6383 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
6384 (SYSCALL_ERROR_HANDLER): Likewise.
6386 * Makeconfig: Add missing comment.
6387 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
6388 BP-flavored startup object.
6389 ($(objpfx)b$(start-installed-name)): New rule.
6390 * include/libc-symbols.h (symbol_set_declare): Change type
6391 of `__start_##set' and `__stop_##set' to pointer-to-function.
6392 (symbol_set_declare): Change type of `set' to array of
6393 pointer-to-function.
6394 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
6395 pointer-to-function.
6397 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
6399 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
6400 Remove clock_* and timer_* entries.
6401 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
6402 arg-count with signatures.
6404 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
6405 Check bounds of arguments.
6406 * sysdeps/i386/addmul_1.S: Likewise.
6407 * sysdeps/i386/lshift.S: Likewise.
6408 * sysdeps/i386/mul_1.S: Likewise.
6409 * sysdeps/i386/rshift.S: Likewise.
6410 * sysdeps/i386/sub_n.S: Likewise.
6411 * sysdeps/i386/submul_1.S: Likewise.
6412 * sysdeps/i386/i586/add_n.S: Likewise.
6413 * sysdeps/i386/i586/addmul_1.S: Likewise.
6414 * sysdeps/i386/i586/lshift.S: Likewise.
6415 * sysdeps/i386/i586/rshift.S: Likewise.
6416 * sysdeps/i386/i586/sub_n.S: Likewise.
6417 * sysdeps/i386/i686/add_n.S: Likewise.
6419 * sysdeps/i386/memchr.S: Likewise.
6420 * sysdeps/i386/memcmp.S: Likewise.
6421 * sysdeps/i386/rawmemchr.S: Likewise.
6422 * sysdeps/i386/i586/bzero.S: Likewise.
6423 * sysdeps/i386/i586/memcpy.S: Likewise.
6424 * sysdeps/i386/i586/mempcpy.S: Likewise.
6425 * sysdeps/i386/i586/memset.S: Likewise.
6426 * sysdeps/i386/i686/bzero.S: Likewise.
6427 * sysdeps/i386/i686/memcpy.S: Likewise.
6428 * sysdeps/i386/i686/mempcpy.S: Likewise.
6429 * sysdeps/i386/i686/memset.S: Likewise.
6431 * sysdeps/i386/stpcpy.S: Likewise.
6432 * sysdeps/i386/stpncpy.S: Likewise.
6433 * sysdeps/i386/strchr.S: Likewise.
6434 * sysdeps/i386/strchrnul.S: Likewise.
6435 * sysdeps/i386/strcspn.S: Likewise.
6436 * sysdeps/i386/strpbrk.S: Likewise.
6437 * sysdeps/i386/strrchr.S: Likewise.
6438 * sysdeps/i386/strspn.S: Likewise.
6439 * sysdeps/i386/strtok.S: Likewise.
6440 * sysdeps/i386/strtok_r.S: Likewise.
6441 * sysdeps/i386/i486/strcat.S: Likewise.
6442 * sysdeps/i386/i486/strlen.S: Likewise.
6443 * sysdeps/i386/i586/strchr.S: Likewise.
6444 * sysdeps/i386/i586/strcpy.S: Likewise.
6445 * sysdeps/i386/i586/strlen.S: Likewise.
6446 * sysdeps/i386/i686/strcmp.S: Likewise.
6447 * sysdeps/i386/i686/strtok.S: Likewise.
6448 * sysdeps/i386/i686/strtok_r.S: Likewise.
6450 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
6451 * sysdeps/i386/fpu/fesetenv.c: Likewise.
6452 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
6453 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
6454 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
6456 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
6457 * sysdeps/i386/mul_1.S: Likewise.
6458 * sysdeps/i386/submul_1.S: Likewise.
6459 * sysdeps/i386/i586/add_n.S: Likewise.
6460 * sysdeps/i386/i586/addmul_1.S: Likewise.
6461 * sysdeps/i386/i586/lshift.S: Likewise.
6462 * sysdeps/i386/i586/mul_1.S: Likewise.
6463 * sysdeps/i386/i586/rshift.S: Likewise.
6464 * sysdeps/i386/i586/sub_n.S: Likewise.
6465 * sysdeps/i386/i586/submul_1.S: Likewise.
6467 2000-06-26 Ulrich Drepper <drepper@redhat.com>
6469 * rt/Makefile (librt-routines): Add clock_nanosleep.
6470 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
6471 * sysdeps/generic/clock_nanosleep.c: New file.
6472 * sysdeps/unix/clock_nanosleep.c: New file.
6473 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
6474 * time/time.h: Declare clock_nanosleep.
6476 2000-06-26 Greg McGary <greg@mcgary.org>
6478 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
6479 INSN1, INSN2, TEXT, GLOBL): Remove macros.
6480 (ALIGN): Cleanup surrounding conditionals.
6482 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
6483 Call ENTER/LEAVE macros.
6484 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
6485 * sysdeps/i386/submul_1.S: Likewise.
6487 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
6488 syntax. Define & use symbolic argument stack offsets. Call
6490 * sysdeps/i386/i586/mul_1.S: Likewise.
6491 * sysdeps/i386/i586/submul_1.S: Likewise.
6493 2000-06-25 Greg McGary <greg@mcgary.org>
6495 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
6498 2000-06-25 Ulrich Drepper <drepper@redhat.com>
6500 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
6501 * iconvdata/gen-8bit-gap.sh: Likewise.
6502 * iconvdata/gen-8bit.sh: Likewise.
6504 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
6506 * locale/programs/ld-collate.c (collate_read): Don't actually read
6507 the copy locale if we are ignoring the content.
6509 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
6512 * locale/programs/ld-collate.c: Correct handling of different
6514 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
6515 as extra parameter from which to copy category information.
6517 (load_locale): Likewise.
6518 * locale/programs/localedef.h: Update prototypes of add_to_readlist
6520 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
6521 * locale/programs/locfile.h: Likewise.
6522 * locale/programs/locfile-kw.gperf: Add entry for script.
6523 * locale/programs/locfile-token.h: Add tok_script.
6525 * locale/programs/locale.c: Update copyright year.
6526 * locale/programs/localedef.c: Likewise.
6528 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
6530 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
6531 Jens Moeller <jens.moeller@waii.com>.
6533 2000-06-24 Ulrich Drepper <drepper@redhat.com>
6535 * locale/programs/ld-name.c (name_finish): Add missing format
6536 specifier to test for name_fmt.
6538 * locale/programs/ld-address.c (iso639): Correct length of string
6540 (iso3166): Likewise.
6542 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
6544 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
6547 * elf/elf.h (NT_PRFPXREG): Define.
6549 2000-06-23 Ulrich Drepper <drepper@redhat.com>
6551 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
6552 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
6554 2000-06-23 Andreas Schwab <schwab@suse.de>
6556 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
6559 2000-06-23 Andreas Jaeger <aj@suse.de>
6561 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
6563 * io/test-stat.c: Add copyright header, mention Maciej.
6565 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
6566 SYS_mincore, SYS_madvise): Added.
6568 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
6571 2000-06-22 Ulrich Drepper <drepper@redhat.com>
6573 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
6574 (CFLAGS-tst_putwc.c): New definition.
6575 * libio/tst_getwc.c: New file.
6576 * libio/tst_getwc.input: New file.
6577 * libio/tst_putwc.c: New file.
6579 * include/string.h: Add prototype for __strdup.
6581 2000-06-22 Greg McGary <greg@mcgary.org>
6583 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
6584 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
6587 2000-06-23 Jes Sorensen <jes@linuxcare.com>
6589 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
6591 2000-06-22 Jes Sorensen <jes@linuxcare.com>
6593 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
6595 2000-06-22 Jes Sorensen <jes@linuxcare.com>
6597 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
6598 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
6600 2000-06-22 Ulrich Drepper <drepper@redhat.com>
6602 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
6603 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
6605 * sysdeps/mach/hurd/bits/stat.h: Likewise.
6606 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6607 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
6608 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6609 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
6610 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
6611 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
6612 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
6613 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6614 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
6615 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
6616 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
6617 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
6618 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
6621 2000-06-22 Andreas Jaeger <aj@suse.de>
6623 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
6626 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
6628 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
6630 2000-06-21 Ulrich Drepper <drepper@redhat.com>
6632 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
6635 2000-06-21 Greg McGary <greg@mcgary.org>
6637 * Makerules (elide-routines.*, elide-bp-thunks):
6638 Define unconditionally.
6640 2000-06-21 Jes Sorensen <jes@linuxcare.com>
6642 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
6644 2000-06-21 Andreas Jaeger <aj@suse.de>
6646 * io/Makefile (tests): Add test-stat.
6647 (CFLAGS-test-stat.c): New.
6649 * io/test-stat.c: New file from Maciej W. Rozycki
6650 <macro@ds2.pg.gda.pl>.
6652 2000-06-21 Jes Sorensen <jes@linuxcare.com>
6654 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
6655 in __rlimit_resource to make them match the kernel order.
6656 rlim_t is always 64 bit, use __rlim64_t to declare it
6659 2000-05-04 Jes Sorensen <jes@linuxcare.com>
6661 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
6662 RLIM_INFINITY before defining it to avoid clash with kernel header
6664 2000-05-03 Jes Sorensen <jes@linuxcare.com>
6666 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
6668 2000-06-21 Ulrich Drepper <drepper@redhat.com>
6670 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
6672 2000-06-21 Andreas Jaeger <aj@suse.de>
6674 * stdio-common/temptest.c: Include <stdlib.h>.
6675 * stdio-common/tst-fileno.c: Likewise.
6676 * stdio-common/scanf4.c: Likewise.
6677 * stdio-common/scanf5.c: Likewise.
6678 * time/clocktest.c: Likewise.
6679 * posix/test-vfork.c: Likewise.
6680 * posix/globtest.c: Likewise.
6681 * io/test-utime.c: Likewise.
6682 * wctype/test_wcfuncs.c: Likewise.
6683 * crypt/cert.c: Likewise.
6685 * stdio-common/tst-printfsz.c: Include <string.h>.
6686 * libio/tst_swscanf.c: Likewise.
6687 * libio/tst_wscanf.c: Likewise.
6688 * posix/runtests.c: Likewise.
6689 * posix/tst-getaddrinfo.c: Likewise.
6690 * posix/wordexp-test.c: Likewise.
6691 * misc/tst-efgcvt.c: Likewise.
6693 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
6694 * nss/test-netdb.c: Likewise.
6696 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
6697 supported kernel for MIPS.
6699 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
6700 * rt/aio_suspend.c: Likewise.
6702 2000-06-20 Ulrich Drepper <drepper@redhat.com>
6704 * math/libm-test.inc: Include <string.h>.
6706 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6708 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
6710 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6712 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
6713 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
6715 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
6717 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
6719 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6721 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
6723 2000-06-20 Ulrich Drepper <drepper@redhat.com>
6725 * locale/programs/ld-collate.c (insert_value): Now take string and
6726 length instead of struct token* parameter. Adjust use of token.
6727 (handle_ellipsis): Likewise.
6728 (collate_read): Allow <Uxxxx> names and transform them into names
6729 to be passed to insert_value and handle_ellipsis.
6731 * locale/programs/ld-ctype.c (uninames): New array with names of
6732 digits in <Uxxxxxxxx> format.
6733 (ctype_finish): Correct search for space character value. Likewise
6734 for default outdigits values.
6736 2000-06-20 Greg McGary <greg@mcgary.org>
6738 * Makerules (objects): Add BP thunks.
6740 2000-06-20 Ulrich Drepper <drepper@redhat.com>
6742 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
6743 in width definitions.
6745 2000-06-20 Andreas Jaeger <aj@suse.de>
6747 * sysdeps/mips/fpu/libm-test-ulps: New file.
6749 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
6752 * sysdeps/mips/fpu/feholdexcpt.c: New file.
6754 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
6756 2000-06-19 Ulrich Drepper <drepper@redhat.com>
6758 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
6759 change in gconv_builtin.h.
6761 * malloc/Makefile: Change all references to memprof into memusage.
6762 * malloc/memprof.c: Rename to...
6763 * malloc/memusage.c: ...this. New file.
6764 * malloc/memprof.sh: Rename to...
6765 * malloc/memusage.sh: ...this. New file.
6766 * malloc/memprofstat.c: Rename to...
6767 * malloc/memusagestat.c: ...this. New file.
6768 * sysdeps/alpha/memprof.h: Rename to..
6769 * sysdeps/alpha/memusage.h: ...this. New file.
6770 * sysdeps/arm/memprof.h: Rename to..
6771 * sysdeps/arm/memusage.h: ...this. New file.
6772 * sysdeps/generic/memprof.h: Rename to..
6773 * sysdeps/generic/memusage.h: ...this. New file.
6774 * sysdeps/i386/memprof.h: Rename to..
6775 * sysdeps/i386/memusage.h: ...this. New file.
6776 * sysdeps/ia64/memprof.h: Rename to..
6777 * sysdeps/ia64/memusage.h: ...this. New file.
6778 * sysdeps/m68k/memprof.h: Rename to..
6779 * sysdeps/m68k/memusage.h: ...this. New file.
6780 * sysdeps/mips/memprof.h: Rename to..
6781 * sysdeps/mips/memusage.h: ...this. New file.
6782 * sysdeps/powerpc/memprof.h: Rename to..
6783 * sysdeps/powerpc/memusage.h: ...this. New file.
6784 * sysdeps/sparc/memprof.h: Rename to..
6785 * sysdeps/sparc/memusage.h: ...this. New file.
6786 * sysdeps/sh/memprof.h: Rename to..
6787 * sysdeps/sh/memusage.h: ...this. New file.
6789 * elf/sprof.c (print_version): Update year.
6791 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
6792 table entry values. Use D_PTR.
6793 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
6794 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
6796 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6798 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
6799 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
6800 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
6801 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
6803 2000-05-05 Jes Sorensen <jes@linuxcare.com>
6805 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
6807 2000-06-16 Jes Sorensen <jes@linuxcare.com>
6809 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
6810 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
6811 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
6813 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
6815 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
6818 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
6819 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
6821 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
6824 2000-06-15 Jes Sorensen <jes@linuxcare.com>
6826 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
6828 2000-06-08 Jes Sorensen <jes@linuxcare.com>
6830 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
6832 2000-06-19 Ulrich Drepper <drepper@redhat.com>
6834 * iconv/gconv_int.h (strict gconv_module): Remove all members
6835 associated with regular expressions. Use a simple string as the
6837 * iconv/gconv_db.c: Remove code handling regular expressions.
6838 * iconv/gconv_conf.c: Likewise.
6839 * iconv/iconv_prog.c: Likewise.
6840 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
6842 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
6843 General namespace cleanup.
6844 (struct __gconv_trans_data): Add next field.
6845 (struct __gconv_step_data): Make __trans a pointer.
6846 * iconv/gconv_conf.c: Split out code to find gconv directories from
6847 __gconv_read_conf in new functions.
6848 * iconv/gconv_int.h: Define new data structure and declare new
6849 functions for handling of gconv directory list.
6850 * iconv/gconv_open.c: Allow more than one error handling step being
6851 used. Call function to load error handling module if it is none
6852 of the builtin transformations.
6853 * iconv/gconv_close.c: Add code to free transliteration data.
6854 * iconv/gconv_trans.c: Add functions to load and unload modules
6855 implementing transliteration etc.
6856 * iconv/skeleton.c: Call all context functions now that more than
6857 one module is allowed.
6858 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
6859 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
6860 where the full error handling using transliteration is needed.
6861 * iconvdata/8bit-gap.c: Likewise.
6862 * iconvdata/8bit-generic.c: Likewise.
6863 * iconvdata/ansi_x3.110.c: Likewise.
6864 * iconvdata/big5.c: Likewise.
6865 * iconvdata/big5hkscs.c: Likewise.
6866 * iconvdata/euc-cn.c: Likewise.
6867 * iconvdata/euc-jp.c: Likewise.
6868 * iconvdata/euc-kr.c: Likewise.
6869 * iconvdata/euc-tw.c: Likewise.
6870 * iconvdata/gbgbk.c: Likewise.
6871 * iconvdata/gbk.c: Likewise.
6872 * iconvdata/iso-2022-cn.c: Likewise.
6873 * iconvdata/iso-2022-jp.c: Likewise.
6874 * iconvdata/iso-2022-kr.c: Likewise.
6875 * iconvdata/iso646.c: Likewise.
6876 * iconvdata/iso8859-1.c: Likewise.
6877 * iconvdata/iso_6937-2.c: Likewise.
6878 * iconvdata/iso_6937.c: Likewise.
6879 * iconvdata/johab.c: Likewise.
6880 * iconvdata/sjis.c: Likewise.
6881 * iconvdata/t.61.c: Likewise.
6882 * iconvdata/uhc.c: Likewise.
6883 * iconvdata/unicode.c: Likewise.
6884 * iconvdata/utf-16.c: Likewise.
6885 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
6886 structure correctly after last change.
6887 * wcsmbs/btowc.c: Likewise.
6888 * wcsmbs/mbrtowc.c: Likewise.
6889 * wcsmbs/mbsnrtowcs.c: Likewise.
6890 * wcsmbs/mbsrtowcs.c: Likewise.
6891 * wcsmbs/wcrtomb.c: Likewise.
6892 * wcsmbs/wcsnrtombs.c: Likewise.
6893 * wcsmbs/wcsrtombs.c: Likewise.
6894 * wcsmbs/wctob.c: Likewise.
6896 * localedata/Makefile: Set -Wno-format for some files since gcc does
6897 not know all the format specifiers.
6899 2000-06-18 Ulrich Drepper <drepper@redhat.com>
6901 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
6903 * locale/lc-time.c (_nl_init_era_entries): Likewise.
6905 2000-06-18 Andreas Jaeger <aj@suse.de>
6907 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
6908 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
6910 2000-06-17 Ulrich Drepper <drepper@redhat.com>
6912 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
6914 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
6916 * locale/programs/ld-ctype.c (ctype_output): Really write out
6917 mboutdigits information.
6918 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
6919 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
6920 * localedata/tests/trans.def: Add outdigit information.
6922 * localedata/tst-mbswcs3.c: Remove comment.
6924 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
6925 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
6926 * libio/tst_wprintf.c (main): Add test for I flag.
6928 * iconv/gconv_trans.c: Implement handling if translit_ignore.
6929 * locale/langinfo.h: Add entries for translit_ignore information.
6930 * locale/categories.def: Add entries for new LC_CTYPE elements.
6931 * locale/C-ctype.c: Add initializers for new fields. Use NULL
6932 pointer instead of "" where possible.
6933 * locale/programs/ld-ctype.c: Write out translit_ignore information.
6934 * intl/Depend: Add localedata.
6935 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
6936 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
6938 2000-06-16 Ulrich Drepper <drepper@redhat.com>
6940 * locale/langinfo.h: Add entries for default_missing information.
6941 * locale/C-ctype.c: Add initializers for new fields.
6942 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
6944 * locale/categories.h: Add entries for all LC_CTYPE values.
6945 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
6948 * localedata/tst-trans.c: Write out an error message if class is
6951 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
6952 * iconv/gconv_open.c: Remove error handling specification from `from'
6954 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
6955 new parameter to always enable transliteration.
6956 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
6958 (struct locale_data): Add new members use_translit and options.
6959 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
6960 character set name contained modifier TRANSLIT.
6961 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
6963 (_nl_unload_locale): Free options string if necessary.
6964 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
6965 the locale names suggested this.
6966 * locale/C-address.c: Add two new initialilzers to adjust data
6967 structure for new format.
6968 * locale/C-collate.c: Likewise.
6969 * locale/C-ctype.c: Likewise.
6970 * locale/C-identification.c: Likewise.
6971 * locale/C-measurement.c: Likewise.
6972 * locale/C-messages.c: Likewise.
6973 * locale/C-monetary.c: Likewise.
6974 * locale/C-name.c: Likewise.
6975 * locale/C-numeric.c: Likewise.
6976 * locale/C-paper.c: Likewise.
6977 * locale/C-telephone.c: Likewise.
6978 * locale/C-time.c: Likewise.
6980 * locale/setlocale.c: Add some more __builtin_expect.
6982 2000-06-15 Ulrich Drepper <drepper@redhat.com>
6984 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
6986 (__gconv_init_fct): Remove two parameters.
6987 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
6988 gconv_transliterate. Remove two parameters.
6989 Change prototypes of builtin functions according to __gconv_fct change.
6990 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
6991 != NULL only during error handling. Stop in this case after the
6993 * iconv/gconv_trans.c: Replace with real implementation for
6994 __gconv_transliterate.
6995 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
6996 * iconv/gconv.c: Change calls to downstream functions once again.
6997 Use NULL for the fifth parameter instead of pointer to output buffer.
6998 * libio/iofwide.c: Likewise.
6999 * wcsmbs/btowc.c: Likewise.
7000 * wcsmbs/mbrtowc.c: Likewise.
7001 * wcsmbs/mbsnrtowcs.c: Likewise.
7002 * wcsmbs/mbsrtowcs.c: Likewise.
7003 * wcsmbs/wcrtomb.c: Likewise.
7004 * wcsmbs/wcsnrtombs.c: Likewise.
7005 * wcsmbs/wcsrtombs.c: Likewise.
7006 * wcsmbs/wctob.c: Likewise.
7007 * iconv/gconv_simple.c: Remove two parameters from error handling
7009 * iconvdata/8bit-gap.c: Likewise.
7010 * iconvdata/8bit-generic.c: Likewise.
7011 * iconvdata/ansi_x3.110.c: Likewise.
7012 * iconvdata/big5.c: Likewise.
7013 * iconvdata/big5hkscs.c: Likewise.
7014 * iconvdata/euc-cn.c: Likewise.
7015 * iconvdata/euc-jp.c: Likewise.
7016 * iconvdata/euc-kr.c: Likewise.
7017 * iconvdata/euc-tw.c: Likewise.
7018 * iconvdata/gbgbk.c: Likewise.
7019 * iconvdata/gbk.c: Likewise.
7020 * iconvdata/iso-2022-cn.c: Likewise.
7021 * iconvdata/iso-2022-jp.c: Likewise.
7022 * iconvdata/iso-2022-kr.c: Likewise.
7023 * iconvdata/iso646.c: Likewise.
7024 * iconvdata/iso8859-1.c: Likewise.
7025 * iconvdata/iso_6937-2.c: Likewise.
7026 * iconvdata/iso_6937.c: Likewise.
7027 * iconvdata/johab.c: Likewise.
7028 * iconvdata/sjis.c: Likewise.
7029 * iconvdata/t.61.c: Likewise.
7030 * iconvdata/uhc.c: Likewise.
7031 * iconvdata/unicode.c: Likewise.
7032 * iconvdata/utf-16.c: Likewise.
7034 2000-06-15 Greg McGary <greg@mcgary.org>
7036 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
7037 of callnum assignment. Tolerate callnum expressions containing
7040 2000-06-14 Ulrich Drepper <drepper@redhat.com>
7042 * login/Makefile (utmpd): Remove rule to build utmpd.
7044 * csu/Versions: Move libgcc frame handling functions from here...
7045 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
7046 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
7047 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
7048 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
7049 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
7050 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
7052 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
7054 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
7056 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
7058 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
7060 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
7062 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
7063 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
7064 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
7065 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
7067 2000-06-14 Jakub Jelinek <jakub@redhat.com>
7069 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
7070 defined, terminate quotes and read them after the comment char.
7071 * configure.in (HAVE_SECTION_QUOTES): Test whether
7072 __attribute__((section ("x"))) puts quotes around x or not.
7073 * config.h.in (HAVE_SECTION_QUOTES): Add.
7074 * configure: Rebuilt.
7076 2000-06-14 Andreas Jaeger <aj@suse.de>
7078 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
7079 depending on the configure option --sysconfdir.
7080 Closes PR libc/1762.
7081 Patch by Andreas Schwab <schwab@suse.de>.
7083 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
7085 Reported by Jim Pick <jim@jimpick.com>.
7087 2000-06-14 Ulrich Drepper <drepper@redhat.com>
7089 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
7090 crashing the application. Emit some simple error message.
7091 Reported by mju@panasas.com [PR libc/1769].
7093 2000-06-13 Ulrich Drepper <drepper@redhat.com>
7095 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
7097 * crypt/Makefile (distribute): Add md5.h.
7099 * Makefile (distribute): Add include/shlib-compat.h.
7101 * Make-dist: Search for tests also in sysdeps hierachy.
7103 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
7104 ufc.c, speeds.c, README.ufc-crypt, and Banner.
7106 * sysdeps/sparc/Subdirs: New file.
7108 * locale/Makefile (distribute): Add weightwc.h and
7109 programs/localedef.h.
7111 * time/Makefile (distribute): Add datemsk.
7113 * sysdeps/ia64/Dist: Add softpipe.h.
7115 * sysdeps/unix/sysv/aix/Dist: New file.
7117 * posix/setpgrp.c: Moved to...
7118 * sysdeps/generic/setpgrp.c: ...here. New file.
7119 * io/mknod.c: Moved to...
7120 * sysdeps/generic/mknod.c: ...here. New file.
7122 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
7124 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
7126 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
7128 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
7129 gprsave0.S, gprrest1.S, and gprrest0.S.
7131 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
7133 * posix/Makefile (routines): Add spawnattr_getsigmask,
7134 spawnattr_getschedpolicy, spawnattr_getschedparam,
7135 spawnattr_setsigmask, spawnattr_setschedpolicy, and
7136 spawnattr_setschedparam.
7137 * posix/Versions: Add posix_spawnattr_getschedpolicy,
7138 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
7139 posix_spawnattr_setschedparam.
7141 * posix/spawnattr_setschedparam.c: Fix typo.
7143 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
7146 * login/programs/utmpd.c: Removed.
7147 * login/programs/utmpd.h: Removed.
7148 * login/programs/utmpd-private.h: Removed.
7150 * Makefile (distribute): Add include/db_185.h and include/db.h.
7152 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
7155 * elf/Makefile (distribute): Add missing files.
7157 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
7158 * elf/eval.c: Moved to...
7159 * dlfcn/eval.c: ...here. New file.
7161 * Makefile (distribute): Also distribute ChangeLog.1?.
7163 * Make-dist (+tsrcs): Remove .args handling here as well.
7165 * rt/Makefile (tests): Add tst-timer.
7166 * sysdeps/generic/tst-timer.c: New file.
7168 * Makerules (sources): Don't add BP sources here.
7170 * login/Makefile (distribute): Remove xtmp.h.
7172 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
7173 is true. Reported by Bruno Haible <haible@ilog.fr>.
7175 2000-06-13 Andreas Jaeger <aj@suse.de>
7177 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
7178 Patch by Ralf Baechle <ralf@gnu.org>.
7180 2000-06-13 Ulrich Drepper <drepper@redhat.com>
7182 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
7183 for mincore syscall.
7185 * misc/sys/cdefs.h: Define __bounded and __unbounded if
7186 __BOUNDED_POINTERS__ is not defined.
7188 2000-06-07 Greg McGary <greg@mcgary.org>
7190 * sysdeps/generic/bp-sym.h: New file.
7191 * sysdeps/generic/bp-start.h: New file.
7192 * sysdeps/i386/elf/start.S: Designate BP symbols.
7193 * sysdeps/generic/libc-start.c: Wrap bounds around
7194 argv & envp and each of their string members.
7196 2000-06-07 Greg McGary <greg@mcgary.org>
7198 * sysdeps/unix/make-syscalls.sh: Add comments to
7199 output that aid debugging & comprehension.
7200 Map simple syscall signatures to number of args.
7201 Generate BP syscall thunk definitions.
7202 * sysdeps/generic/bp-thunks.h: New file.
7203 * sysdeps/unix/syscalls.list: Replace arg-count with
7204 simple return+arg signature.
7205 * sysdeps/unix/common/syscalls.list: Likewise.
7206 * sysdeps/unix/inet/syscalls.list: Likewise.
7207 * sysdeps/unix/mman/syscalls.list: Likewise.
7208 * sysdeps/unix/sysv/syscalls.list: Likewise.
7209 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7210 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
7212 2000-06-07 Greg McGary <greg@mcgary.org>
7214 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
7215 for all files *.[cS].
7216 (CFLAGS-.ob): Don't optimize sibling calls.
7217 (bppfx): New variable.
7218 * Makerules (elide-bp-thunks): New variable.
7219 (elide-routines.*): Elide BP-* files for all but *.ob.
7220 (sources): Include bp-thunks.
7222 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7224 * iconv/gconv_simple.c: Remove unnecessary prototype.
7226 * iconv/gconv_trans.c: Pretty print.
7228 * elf/elf.h (R_SH_NUM): Got accidently dropped.
7230 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
7231 minimal kernel versions. Add information about IA-64 kernel.
7233 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
7234 specific minimal supported kernel versions to be specified.
7236 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
7237 step data structure.
7238 * wcsmbs/btowc.c: Likewise.
7239 * wcsmbs/mbrtowc.c: Likewise.
7240 * wcsmbs/mbsnrtowcs.c: Likewise.
7241 * wcsmbs/mbsrtowcs.c: Likewise.
7242 * wcsmbs/wcrtomb.c: Likewise.
7243 * wcsmbs/wcsnrtombs.c: Likewise.
7244 * wcsmbs/wcsrtombs.c: Likewise.
7245 * wcsmbs/wctob.c: Likewise.
7247 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
7248 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
7250 * shlib-versions: Earliest backward compatible version for SH is 2.2.
7252 * misc/sys/cdefs.h: Remove one more __P.
7254 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
7257 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
7258 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
7259 * sysdeps/sh/bits/setjmp.h: ...here. New file.
7261 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
7262 Yutaka Niibe <gniibe@chroot.org>
7264 * configure.in: Add machine sh3, sh4.
7265 * elf/elf.h: Add SH specific declarations of relocations.
7266 * shlib-versions: Add sh*-*-linux* cases.
7268 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7270 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
7271 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
7272 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
7273 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
7274 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
7275 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
7277 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
7278 instead of KERNEL_MATH_EMULATION.
7279 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
7280 KERNEL_MATH_EMULATION.
7282 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
7283 * sysdeps/sh/sh3/dl-machine.h: Moved to...
7284 * sysdeps/sh/dl-machine.h: ...here. New file.
7285 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
7286 and include generic SH version.
7287 * sysdeps/sh/sh3/bits/endian.h: Move to...
7288 * sysdeps/sh/bits/endian.h: ...here. New file.
7289 * sysdeps/sh/sh4/bits/endian.h: Removed.
7290 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
7291 * sysdeps/sh/bits/huge_val.h: ...here. New file.
7292 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
7294 * include/libc-symbols.h (link_warning): Work around a change in
7295 GAS which warns about changing section attributes.
7296 Proposed by Nick Clifton <nickc@redhat.com>.
7298 2000-06-12 H.J. Lu <hjl@gnu.org>
7300 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
7302 2000-06-11 H.J. Lu <hjl@gnu.org>
7304 * sysdeps/i386/fpu/Versions: New file.
7306 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7308 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
7310 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
7313 2000-06-12 Jes Sorensen <jes@linuxcare.com>
7315 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
7316 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
7317 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
7319 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
7320 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
7321 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
7323 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
7324 Yutaka Niibe <gniibe@chroot.org>
7326 * sysdeps/sh/Dist: New file.
7327 * sysdeps/sh/Implies: New file.
7328 * sysdeps/sh/elf/initfini.c: New file.
7329 * sysdeps/sh/gmp-mparam.h: New file.
7330 * sysdeps/sh/init-first.c: New file.
7331 * sysdeps/sh/machine-gmon.h: New file.
7332 * sysdeps/sh/memcpy.S: New file.
7333 * sysdeps/sh/memprof.h: New file.
7334 * sysdeps/sh/memset.S: New file.
7335 * sysdeps/sh/sh3/__longjmp.S: New file.
7336 * sysdeps/sh/sh3/bits/endian.h: New file.
7337 * sysdeps/sh/sh3/bits/huge_val.h: New file.
7338 * sysdeps/sh/sh3/bits/setjmp.h: New file.
7339 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
7340 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
7341 * sysdeps/sh/sh3/dl-machine.h: New file.
7342 * sysdeps/sh/sh3/setjmp.S: New file.
7343 * sysdeps/sh/sh4/__longjmp.S: New file.
7344 * sysdeps/sh/sh4/bits/endian.h: New file.
7345 * sysdeps/sh/sh4/bits/huge_val.h: New file.
7346 * sysdeps/sh/sh4/bits/setjmp.h: New file.
7347 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
7348 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
7349 * sysdeps/sh/sh4/dl-machine.h: New file.
7350 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
7351 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
7352 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
7353 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
7354 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
7355 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
7356 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
7357 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
7358 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
7359 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
7360 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
7361 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
7362 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
7363 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
7364 * sysdeps/sh/sh4/setjmp.S: New file.
7365 * sysdeps/sh/elf/start.S: New file.
7366 * sysdeps/sh/sys/ucontext.h: New file.
7367 * sysdeps/sh/strlen.S: New file.
7368 * sysdeps/sh/sysdep.h: New file.
7369 * sysdeps/unix/sh/sysdep.S: New file.
7370 * sysdeps/unix/sh/sysdep.h: New file.
7371 * sysdeps/unix/sysv/linux/sh/Dist: New file.
7372 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
7373 * sysdeps/unix/sysv/linux/sh/Versions: New file.
7374 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
7375 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
7376 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
7377 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
7378 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
7379 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
7380 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
7381 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
7382 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
7383 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
7384 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
7385 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
7386 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
7387 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
7388 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
7389 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
7390 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
7391 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
7392 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
7393 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
7394 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
7395 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
7396 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
7397 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
7398 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
7399 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
7400 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
7401 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
7402 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
7403 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
7404 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
7405 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
7406 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
7407 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
7408 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
7409 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
7410 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
7411 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
7412 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
7413 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
7414 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7415 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
7416 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
7417 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
7418 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
7419 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
7420 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
7422 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7424 * Rules (%.out): Define GCONV_PATH in the environment.
7425 * assert/Depend: New file.
7426 * iconvdata/Depend: New file.
7427 * intl/Depend: New file.
7428 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
7429 * intl/tst-gettext.sh: Likewise.
7430 * iconv/Makefile (routines): Add gconv_trans.
7431 * iconv/gconv_trans.c: New file.
7432 * iconv/gconv.h (struct __gconv_trans_data): New type.
7433 (__gconv_fct): New parameter with starting position in output buffer.
7434 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
7435 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
7436 (struct __gconv_step): Add new member __trans.
7437 * iconv/gconv_int.h: Pretty print prototypes.
7438 (gconv_transliterate): New prototype.
7439 (__BUILTIN_TRANS): Update for new conversion function interface.
7440 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
7441 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
7442 in names, find appropriate function, and install in the conversion
7443 steps it can be used.
7444 * iconv/skeleton.c: Add additional parameter for beginning of output
7445 buffer. Change calls of downstream functions.
7446 * iconv/loop.c: Change loop function interface completely. Pass in
7447 step and step_data structure. Remove optimization for BODY with
7448 NEED_LENGTH_TEST == 0.
7449 * iconv/gconv_simple.c: Update interfaces of functions. Insert
7450 appropriate error handling code to use transliteration steps. Remove
7451 optimization for BODY with NEED_LENGTH_TEST == 0.
7452 * iconvdata/8bit-gap.c: Likewise.
7453 * iconvdata/8bit-generic.c: Likewise.
7454 * iconvdata/ansi_x3.110.c: Likewise.
7455 * iconvdata/big5.c: Likewise.
7456 * iconvdata/big5hkscs.c: Likewise.
7457 * iconvdata/euc-cn.c: Likewise.
7458 * iconvdata/euc-jp.c: Likewise.
7459 * iconvdata/euc-kr.c: Likewise.
7460 * iconvdata/euc-tw.c: Likewise.
7461 * iconvdata/gbgbk.c: Likewise.
7462 * iconvdata/gbk.c: Likewise.
7463 * iconvdata/iso-2022-cn.c: Likewise.
7464 * iconvdata/iso-2022-jp.c: Likewise.
7465 * iconvdata/iso-2022-kr.c: Likewise.
7466 * iconvdata/iso646.c: Likewise.
7467 * iconvdata/iso8859-1.c: Likewise.
7468 * iconvdata/iso_6937-2.c: Likewise.
7469 * iconvdata/iso_6937.c: Likewise.
7470 * iconvdata/johab.c: Likewise.
7471 * iconvdata/sjis.c: Likewise.
7472 * iconvdata/t.61.c: Likewise.
7473 * iconvdata/uhc.c: Likewise.
7474 * iconvdata/unicode.c: Likewise.
7475 * iconvdata/utf-16.c: Likewise.
7476 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
7478 * wcsmbs/btowc.c: Likewise.
7479 * wcsmbs/mbrtowc.c: Likewise.
7480 * wcsmbs/mbsnrtowcs.c: Likewise.
7481 * wcsmbs/mbsrtowcs.c: Likewise.
7482 * wcsmbs/wcrtomb.c: Likewise.
7483 * wcsmbs/wcsnrtombs.c: Likewise.
7484 * wcsmbs/wcsrtombs.c: Likewise.
7485 * wcsmbs/wctob.c: Likewise.
7487 2000-04-11 Geoff Keating <geoffk@cygnus.com>
7489 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
7490 other header files. Mention about 128-byte cache line sizes.
7491 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
7492 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
7493 for current calling sequence.
7494 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
7496 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
7497 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7499 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
7500 and setrlimit syscalls for backwards compatibility.
7502 2000-06-10 Ulrich Drepper <drepper@redhat.com>
7504 * iconv/skeleton.c: Rename converted written to correcter name
7506 * iconv/gconv.c: Rename converted variable to correcter name
7508 * iconv/gconv_int.h: Likewise.
7509 * iconv/gconv_simple.c: Likewise.
7510 * iconv/iconv.c: Likewise.
7511 * iconv/loop.c: Likewise.
7512 * iconvdata/8bit-gap.c: Likewise.
7513 * iconvdata/8bit-generic.c: Likewise.
7514 * iconvdata/ansi_x3.110.c: Likewise.
7515 * iconvdata/big5.c: Likewise.
7516 * iconvdata/big5hkscs.c: Likewise.
7517 * iconvdata/euc-cn.c: Likewise.
7518 * iconvdata/euc-jp.c: Likewise.
7519 * iconvdata/euc-kr.c: Likewise.
7520 * iconvdata/gbgbk.c: Likewise.
7521 * iconvdata/gbk.c: Likewise.
7522 * iconvdata/iso-2022-cn.c: Likewise.
7523 * iconvdata/iso-2022-jp.c: Likewise.
7524 * iconvdata/iso-2022-kr.c: Likewise.
7525 * iconvdata/iso646.c: Likewise.
7526 * iconvdata/iso8859-1.c: Likewise.
7527 * iconvdata/iso_6937-2.c: Likewise.
7528 * iconvdata/iso_6937.c: Likewise.
7529 * iconvdata/johab.c: Likewise.
7530 * iconvdata/sjis.c: Likewise.
7531 * iconvdata/t.61.c: Likewise.
7532 * iconvdata/uhc.c: Likewise.
7533 * iconvdata/unicode.c: Likewise.
7534 * iconvdata/utf-16.c: Likewise.
7536 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
7537 __cmsg_data field with __extension__.
7539 2000-06-10 David Mosberger <davidm@hpl.hp.com>
7541 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
7543 2000-06-10 Ulrich Drepper <drepper@redhat.com>
7545 * iconv/gconv_simple.c: Fix various small bugs in several
7548 * iconv/loop.c: Fix comment.
7550 2000-06-10 Jakub Jelinek <jakub@redhat.com>
7552 * elf/link.h: Remove libc internal declarations.
7553 * include/link.h: Move them here.
7555 2000-06-09 Ulrich Drepper <drepper@redhat.com>
7557 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
7558 Patch by Dan Pop <Dan.Pop@cern.ch>.
7560 Rewrite error message handling.
7561 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
7563 * elf/dl-error (struct catch): Add objname member.
7564 (_dl_signal_error): Take new parameter with object name. When
7565 passing message on simply store object name and duplicate error
7567 (_dl_catch_error): Take new parameter. Store object name in the
7569 * include/dlfcn.h: Adjust _dl_catch_error prototype.
7570 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
7571 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
7572 (dlerror): Add objname to asprintf() parameters.
7573 (_dl_error_run): Pass new parameter to _dl_catch_error.
7574 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
7575 * elf/dl-open.c (_dl_open): Likewise.
7576 * elf/rtld.c (dl_main): Likewise.
7577 * elf/dl-close.c: Mark error messages with N_().
7578 * elf/dl-deps.c: Likewise.
7579 * elf/dl-error.c: Likewise.
7580 * elf/dl-load.c: Likewise.
7581 * elf/dl-open.c: Likewise.
7582 * elf/dl-reloc.c: Likewise.
7583 * elf/dl-support.c: Likewise.
7584 * elf/dl-sym.c: Likewise.
7585 * elf/dl-version.c: Likewise.
7586 * elf/dl-lookup.c: Add comments about problems with error message
7588 * elf/dl-reloc.c: Likewise.
7589 * elf/dl-version.c: Likewise.
7591 2000-06-09 H.J. Lu <hjl@gnu.org>
7593 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
7596 * dlfcn/Makefile (distribute): Add failtestmod.c.
7597 (tests): Add failtest.
7598 Add rules to build and run failtest.
7599 * dlfcn/failtest.c: New file.
7600 * dlfcn/failtestmod.c: New file.
7602 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
7604 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
7605 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
7606 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
7607 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
7608 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
7610 2000-06-09 Jes Sorensen <jes@linuxcare.com>
7612 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
7613 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
7615 2000-06-09 Jes Sorensen <jes@linuxcare.com>
7616 Ulrich Drepper <drepper@redhat.com>
7618 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
7619 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
7620 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
7621 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
7622 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
7623 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
7625 2000-06-09 Ulrich Drepper <drepper@redhat.com>
7627 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
7628 to find correct mount point despite wrong information from the
7631 2000-06-09 Jes Sorensen <jes@linuxcare.com>
7633 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
7634 the address of a symbol so function pointers are handled properly.
7636 2000-06-08 Ulrich Drepper <drepper@redhat.com>
7638 * sysdeps/i386/Dist: Add bp-asm.h.
7640 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
7641 defaultdir variable instead of "/var/shm" everywhere.
7642 (defaultdir): Change to /dev/shm/.
7644 2000-06-08 Greg McGary <greg@mcgary.org>
7646 * sysdeps/i386/bp-asm.h: New file.
7647 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
7648 offsets. Add ENTER/LEAVE macros for optionally maintaining
7649 frame-pointer chain when debugging.
7650 * sysdeps/i386/add_n.S: Likewise.
7651 * sysdeps/i386/addmul_1.S: Likewise.
7652 * sysdeps/i386/lshift.S: Likewise.
7653 * sysdeps/i386/memchr.S: Likewise.
7654 * sysdeps/i386/memcmp.S: Likewise.
7655 * sysdeps/i386/mul_1.S: Likewise.
7656 * sysdeps/i386/rawmemchr.S: Likewise.
7657 * sysdeps/i386/rshift.S: Likewise.
7658 * sysdeps/i386/stpcpy.S: Likewise.
7659 * sysdeps/i386/stpncpy.S: Likewise.
7660 * sysdeps/i386/strchr.S: Likewise.
7661 * sysdeps/i386/strchrnul.S: Likewise.
7662 * sysdeps/i386/strcspn.S: Likewise.
7663 * sysdeps/i386/strpbrk.S: Likewise.
7664 * sysdeps/i386/strrchr.S: Likewise.
7665 * sysdeps/i386/strspn.S: Likewise.
7666 * sysdeps/i386/strtok.S: Likewise.
7667 * sysdeps/i386/sub_n.S: Likewise.
7668 * sysdeps/i386/submul_1.S: Likewise.
7669 * sysdeps/i386/elf/setjmp.S: Likewise.
7670 * sysdeps/i386/i486/strcat.S: Likewise.
7671 * sysdeps/i386/i486/strlen.S: Likewise.
7672 * sysdeps/i386/i586/add_n.S: Likewise.
7673 * sysdeps/i386/i586/lshift.S: Likewise.
7674 * sysdeps/i386/i586/memcpy.S: Likewise.
7675 * sysdeps/i386/i586/memset.S: Likewise.
7676 * sysdeps/i386/i586/rshift.S: Likewise.
7677 * sysdeps/i386/i586/strchr.S: Likewise.
7678 * sysdeps/i386/i586/strcpy.S: Likewise.
7679 * sysdeps/i386/i586/strlen.S: Likewise.
7680 * sysdeps/i386/i586/sub_n.S: Likewise.
7681 * sysdeps/i386/i686/add_n.S: Likewise.
7682 * sysdeps/i386/i686/memcpy.S: Likewise.
7683 * sysdeps/i386/i686/mempcpy.S: Likewise.
7684 * sysdeps/i386/i686/memset.S: Likewise.
7685 * sysdeps/i386/i686/strcmp.S: Likewise.
7687 2000-06-08 Ulrich Drepper <drepper@redhat.com>
7689 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
7691 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
7692 256 and don't use OPEN_MAX.
7694 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
7695 use it instead of LINK_MAX.
7696 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
7698 2000-06-08 Andreas Jaeger <aj@suse.de>
7700 * libio/genops.c (_IO_list_lock): Only compile body if we're
7702 (_IO_list_unlock): Likewise.
7703 (_IO_list_resetlock): Likewise.
7705 2000-06-07 Ulrich Drepper <drepper@redhat.com>
7707 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
7708 unless user defined it.
7710 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
7711 if not defined by the user.
7713 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
7714 * libio/iofwrite.c (_IO_fwrite): Likewise.
7716 * time/time.h: Add missing __THROW for clock_getcpuclockid
7719 * elf/Makefile (distribute): Add dl-dtprocnum.h.
7720 * include/elf.h: Include also <dl-dtprocnum.h>.
7721 * elf/dl-deps.c: Likewise.
7722 * elf/dl-lookup.c: Likewise.
7723 * elf/dl-runtime.c: Likewise.
7724 * elf/dl-version.c: Likewise.
7725 * elf/do-rel.h: Likewise.
7726 * elf/dynamic-link.h: Likewise.
7727 * elf/link.h: Likewise.
7728 * elf/rtld.c: Likewise.
7729 * sysdeps/generic/dl-dtprocnum.h: New file.
7730 * sysdeps/ia64/dl-dtprocnum.h: New file.
7731 * sysdeps/mips/dl-dtprocnum.h: New file.
7732 * sysdeps/sparc/dl-dtprocnum.h: New file.
7734 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
7736 * elf/do-lookup.h: Add some __builtin_expect.
7738 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
7740 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
7741 (_dl_dynamic_weak): New variable.
7742 * elf/dl-support.c: Likewise.
7743 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
7744 * elf/do-lookup.h: If we find a weak definition treat it like a
7745 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
7746 case treat it like before.
7748 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
7750 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
7752 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
7753 using l_map_start and l_map_end.
7755 * elf/dl-version.c: Add __builtin_expect in many places.
7757 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
7760 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
7762 Lock for stdio stream list becomes global, for use in LinuxThreads.
7764 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
7765 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
7766 _IO_list_resetlock): New interface for iterating global list of
7767 streams without accessing the _IO_list_all global variable,
7768 and for manipulating the lock which protects this list.
7769 * libio/libioP.h: Likewise.
7770 * libio/Version: Add entries for the new functions.
7772 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
7773 pointer to _IO_FILE.
7775 2000-06-07 Ulrich Drepper <drepper@redhat.com>
7777 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
7778 BIT() must actually be BITw().
7780 * locale/programs/ld-ctype.c: Handle SP and space consistently.
7782 * locale/programs/charmap.c: Allow string arguments for
7783 code_set_name and repertoiremap.
7785 2000-06-07 Andreas Jaeger <aj@suse.de>
7787 * elf/Makefile: Build ldconfig only when building shared libraries.
7789 2000-06-07 Jakub Jelinek <jakub@redhat.com>
7791 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
7793 (fdimf, __fdim, fdim): Likewise.
7795 2000-06-07 Ulrich Drepper <drepper@redhat.com>
7797 * locale/findlocale.c: Add __builtin_expect in many places.
7798 * locale/loadlocale.c: Likewise.
7800 2000-06-06 Greg McGary <greg@mcgary.org>
7802 * sysdeps/mips/elf/start.S: Trim redundant code.
7804 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
7805 Use C comments throughout. Line up operands column with tabs.
7806 * sysdeps/powerpc/strchr.S: Likewise.
7807 * sysdeps/powerpc/strcmp.S: Likewise.
7808 * sysdeps/powerpc/strcpy.S: Likewise.
7809 * sysdeps/powerpc/strlen.S: Likewise.
7811 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
7812 Get low part of &__curbrk with @l.
7814 2000-06-06 Ulrich Drepper <drepper@redhat.com>
7816 * iconvdata/utf-16.c: Add __builtin_expect in many places.
7817 * iconvdata/unicode.c: Likewise.
7818 * iconvdata/uhc.c: Likewise.
7819 * iconvdata/t.61.c: Likewise.
7820 * iconvdata/sjis.c: Likewise.
7821 * iconvdata/johab.c: Likewise.
7822 * iconvdata/iso_6937.c: Likewise.
7823 * iconvdata/iso_6937-2.c: Likewise.
7824 * iconvdata/iso8859-1.c: Likewise.
7825 * iconvdata/iso646.c: Likewise.
7826 * iconvdata/iso-2022-kr.c: Likewise.
7827 * iconvdata/iso-2022-jp.c: Likewise.
7828 * iconvdata/iso-2022-cn.c: Likewise.
7829 * iconvdata/gbgbk.c: Likewise.
7830 * iconvdata/gbk.c: Likewise.
7831 * iconvdata/euc-kr.c: Likewise.
7832 * iconvdata/euc-jp.c: Likewise.
7833 * iconvdata/euc-cn.c: Likewise.
7835 2000-06-05 Ulrich Drepper <drepper@redhat.com>
7837 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
7838 * iconvdata/big5.c: Likewise.
7839 * iconvdata/ansi_x3.110.c: Likewise.
7840 * iconvdata/8bit-generic.c: Likewise.
7841 * iconvdata/8bit-gap.c: Likewise.
7842 * iconv/loop.c: Likewise.
7843 * iconv/gconv_db.c: Likewise.
7844 * iconv/gconv_dl.c: Likewise.
7845 * iconv/gconv_simple.c: Likewise.
7846 * iconv/skeleton.c: Likewise.
7848 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
7849 (struct __gconv_step_data): Rename __is_last to __flags.
7850 * iconv/gconv_close.c: Change all uses of __is_last.
7851 * iconv/skeleton.c: Likewise.
7852 * iconvdata/iso-2022-cn.c: Likewise.
7853 * iconvdata/iso-2022-jp.c: Likewise.
7854 * iconvdata/iso-2022-kr.c: Likewise.
7855 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
7856 Recognize IGNORE error handling, set flag, and remove from name.
7857 * iconv/loop.c (ignore_errors_p): Define.
7858 Add flags parameter to both functions.
7859 * iconv/skeleton.c: Pass flags to all conversion functions.
7860 * iconv/gconv_simple.c: Add flags parameter to all functions.
7861 Don't return error for invald error if ignore flag is set.
7862 (ucs4_internal_loop_single): Add missing pointer increment.
7863 (internal_ucs4le_loop_single): Likewise.
7864 * iconv/iconv_prog.c: Implement handling of -c parameter.
7865 * iconvdata/8bit-gap.c: Don't return error for invald error if
7867 * iconvdata/8bit-generic.c: Likewise.
7868 * iconvdata/ansi_x3.110.c: Likewise.
7869 * iconvdata/big5.c: Likewise.
7870 * iconvdata/big5hkscs.c: Likewise.
7871 * iconvdata/euc-cn.c: Likewise.
7872 * iconvdata/euc-jp.c: Likewise.
7873 * iconvdata/euc-kr.c: Likewise.
7874 * iconvdata/gbgbk.c: Likewise.
7875 * iconvdata/gbk.c: Likewise.
7876 * iconvdata/iso-2022-cn.c: Likewise.
7877 * iconvdata/iso-2022-jp.c: Likewise.
7878 * iconvdata/iso-2022-kr.c: Likewise.
7879 * iconvdata/iso646.c: Likewise.
7880 * iconvdata/iso8859-1.c: Likewise.
7881 * iconvdata/iso_6937-2.c: Likewise.
7882 * iconvdata/iso_6937.c: Likewise.
7883 * iconvdata/johab.c: Likewise.
7884 * iconvdata/sjis.c: Likewise.
7885 * iconvdata/t.61.c: Likewise.
7886 * iconvdata/uhc.c: Likewise.
7887 * iconvdata/unicode.c: Likewise.
7888 * iconvdata/utf-16.c: Likewise.
7889 * libio/fileops.c: Likewise.
7890 * libio/iofwide.c: Likewise.
7891 * wcsmbs/btowc.c: Likewise.
7892 * wcsmbs/mbrtowc.c: Likewise.
7893 * wcsmbs/mbsnrtowcs.c: Likewise.
7894 * wcsmbs/mbsrtowcs.c: Likewise.
7895 * wcsmbs/wcrtomb.c: Likewise.
7896 * wcsmbs/wcsnrtombs.c: Likewise.
7897 * wcsmbs/wcsrtombs.c: Likewise.
7898 * wcsmbs/wctob.c: Likewise.
7900 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
7903 2000-06-04 Ulrich Drepper <drepper@redhat.com>
7905 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
7906 counter for the object we are releasing, just decrement it.
7907 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
7909 2000-06-04 Jakub Jelinek <jakub@redhat.com>
7911 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
7914 2000-06-04 Ulrich Drepper <drepper@redhat.com>
7916 * iconvdata/big5hkscs.c: New file.
7917 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
7919 * iconvdata/gconv-modules: Add entry for new module.
7920 * iconvdata/Makefile (modules): Add BIG5HKSCS.
7921 (distribute): Add big5hkscs.c.
7923 2000-06-01 Jakub Jelinek <jakub@redhat.com>
7925 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
7926 inlines to match prototypes in mathcalls.h.
7927 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
7928 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
7929 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
7930 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7932 2000-06-03 Ulrich Drepper <drepper@redhat.com>
7934 * elf/elf.h (SHT_SUNW_move): Define.
7936 * elf/elf.h: Add more Solaris compatiblity definitions.
7938 2000-06-03 Andreas Jaeger <aj@suse.de>
7940 * sysdeps/powerpc/dl-start.S: Close open comment.
7942 2000-06-03 Jakub Jelinek <jakub@redhat.com>
7944 * inet/Versions: Fix typo in rresvport_af export.
7946 2000-06-02 Ulrich Drepper <drepper@redhat.com>
7948 * math/tgmath.h: Pretty print.
7950 2000-06-02 Andreas Jaeger <aj@suse.de>
7952 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
7953 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7955 2000-06-02 Ulrich Drepper <drepper@redhat.com>
7957 * elf/rtld.c (process_envvars): Test for = after variable name.
7959 2000-06-01 Ulrich Drepper <drepper@redhat.com>
7961 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
7962 have extra call to __gmon_start__, use the pointer we already have.
7964 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
7967 * sysdeps/i386/elf/setjmp.S: Work around change is recent
7968 binutils. gas now emits a jump through the PLT instead of a
7969 relative jump if the jump target is an exported symbol.
7971 2000-05-31 Ulrich Drepper <drepper@redhat.com>
7973 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
7975 2000-05-31 Andreas Jaeger <aj@suse.de>
7977 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
7980 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
7981 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7983 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
7985 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
7987 2000-05-30 Ulrich Drepper <drepper@redhat.com>
7989 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
7991 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
7992 * locale/localeconv.c: Make function versioned (with same definition).
7994 * elf/Makefile (modules-names): Strip before using it.
7996 2000-05-30 Andreas Jaeger <aj@suse.de>
7998 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
7999 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
8000 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
8001 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
8002 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
8003 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
8005 2000-05-29 Ulrich Drepper <drepper@redhat.com>
8007 * Makefile: Add GNU make magic.
8009 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
8011 * inet/rcmd.c: Remove __P. Remove unused variables.
8012 (iruserfopen): Make first parameter const.
8013 (ruserok_sa): Return result of ruserok2_sa.
8014 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
8015 * inet/rexec.c: Remove unused variables. Other small cleanups.
8016 * inet/ruserpass.c: Remove __P. Remove unused variables.
8017 (ruserpass): Check results of memory allocation.
8018 * include/netdb.h: Add prototype for ruserpass.
8020 2000-05-29 Andreas Jaeger <aj@suse.de>
8022 * elf/readlib.c (interpreters): Use LD_SO since this is supported
8025 2000-05-29 Jakub Jelinek <jakub@redhat.com>
8027 * inet/rcmd.c (rresvport_af): Use correct port number.
8029 2000-05-26 Andreas Schwab <schwab@suse.de>
8031 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
8032 entries in all-sonames.
8033 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
8034 preserving the old name if different for compatibility.
8036 2000-05-29 Ulrich Drepper <drepper@redhat.com>
8038 * posix/Makefile (tests): Add tst-spawn.
8039 (tst-spawn-ARGS): New variable.
8040 * posix/tst-spawn.c: New file.
8042 * posix/spawn_faction_addclose.c: Correctly account for new entry.
8043 * posix/spawn_faction_adddup2.c: Likewise.
8044 * posix/spawn_faction_addopen.c: Likewise.
8045 * posix/spawni.c: Correctly test for success of dup2 calls.
8047 * posix/tst-preadwrite.c: Check success of malloc call.
8049 2000-05-28 Ulrich Drepper <drepper@redhat.com>
8051 * posix/Makefile (tests): Add tst-exec.
8052 (tst-exec-ARGS): New variable.
8053 * posix/tst-exec.c: New file.
8055 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
8057 2000-05-04 Andreas Jaeger <aj@suse.de>
8059 * string/string.h: Remove __strdup prototype, it's not needed in
8062 2000-05-28 Ulrich Drepper <drepper@redhat.com>
8064 * posix/Makefile (tests): Add tst-fork.
8065 * posix/tst-fork.c: New file.
8067 * resolv/inet_pton.c: Loose __P.
8069 2000-05-21 Jakub Jelinek <jakub@redhat.com>
8071 * libio/libioP.h (_IO_CHECK_WIDE): Define.
8072 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
8073 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
8074 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
8075 _IO_CHECK_WIDE fails.
8077 2000-05-28 Ulrich Drepper <drepper@redhat.com>
8079 * po/da.po: New file.
8081 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
8082 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
8084 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
8085 (Other iconv Implementations): Fix typo.
8086 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
8088 2000-05-27 Andreas Jaeger <aj@suse.de>
8090 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
8092 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
8093 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
8094 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8095 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8096 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
8097 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
8099 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
8100 endianness to decide how to pass arguments.
8101 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8103 * elf/vismain.c: Use test-skeleton interface.
8104 (TEST_FUNCTION): New macro.
8105 (do_test): Renamed from main.
8107 2000-05-27 Ulrich Drepper <drepper@redhat.com>
8109 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
8110 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
8112 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
8113 handling of AI_V4MAPPED flag.
8115 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
8116 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
8117 perform lookup for T_A type and tell getanswer_r to convert the
8118 result with new argument.
8119 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
8120 Don't convert addresses from IPv4 to IPv6 here.
8121 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
8122 IPv6 is wanted. Allow qtype and type from reply to disagree if
8123 IPv4 mapping has to be done. Perform mappings if required by the
8124 caller and not if RES_USE_INET6 bit in _res.options is set.
8125 Add several __builtin_expect.
8127 2000-05-26 Ulrich Drepper <drepper@redhat.com>
8129 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
8131 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
8134 * posix/tst-preadwrite.c: Allow parallel execution of
8135 tst-preadwrite and tst-preadwrite64.
8137 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
8138 * posix/tst-truncate.c: New file.
8139 * posix/tst-truncate64.c: New file.
8141 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
8144 * posix/Makefile (tests): Add tst-preadwrite64.
8145 * posix/tst-preadwrite.c: Alloc file being used also for testing
8146 pread64 and pwrite64.
8147 * posix/tst-preadwrite64.c: New file.
8149 2000-05-26 Andreas Jaeger <aj@suse.de>
8151 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
8152 of arguments dependend on endianness.
8153 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
8155 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
8157 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
8158 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
8159 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8160 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8162 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
8163 endianness to check how to pass argument.
8164 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8166 * elf/ldconfig.h: Update parameter list for process_elf_file.
8168 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
8169 Add parameter file_length and pass it ot process_elf*file.
8171 * sysdeps/generic/readelflib.c (check_ptr): New.
8172 (process_elf_file): Use check_ptr to check all accesses to the
8173 mmapped file. Add parameter file_length.
8175 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
8178 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
8179 Closes PR libc/1573, reported by Bradley White
8180 <bww@laurelnetworks.com>.
8182 2000-05-25 Ulrich Drepper <drepper@redhat.com>
8184 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
8185 __FAST_MATH__ is defined.
8187 2000-05-22 Andreas Jaeger <aj@suse.de>
8189 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
8190 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
8192 * manual/math.texi (FP Function Optimizations): Document gcc
8193 -ffast-math behaviour with mathinlines.
8195 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
8196 functions unless -ffast-math is given to gcc.
8198 2000-05-23 Jakub Jelinek <jakub@redhat.com>
8200 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
8201 __sincosl): Guard with __USE_GNU.
8203 2000-05-24 Ulrich Drepper <drepper@redhat.com>
8205 * csu/Makefile (routines): Add check_fds.
8206 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
8207 binaries. Add various __builtin_expect.
8208 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
8209 * sysdeps/generic/check_fds.c: ...here. New file.
8211 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
8212 binaries if file /etc/suid-debug is available.
8214 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
8215 and wcseqorder members.
8216 (struct locale_collate_t): Likewise.
8217 (collate_finish): Assign collation sequence value to each character.
8218 Create tables for output.
8219 (collate_output): Write out tables with collation sequence information.
8220 * locale/C-collate.c: Provide C locale data for collation sequence
8222 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
8223 _NL_COLLATE_COLLSEQWC.
8224 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
8225 _NL_COLLATE_COLLSEQWC.
8226 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
8227 include fnmatch_loop.c.
8228 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
8229 character is matched by range expression. Use collation sequence
8230 table. Outside glibc fall back on simple character value comparison.
8232 2000-05-24 Andreas Jaeger <aj@suse.de>
8234 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
8237 * intl/Makefile: Run gettext-test only if msgfmt is available.
8239 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
8240 Define it for newer kernels.
8242 2000-05-23 Ulrich Drepper <drepper@redhat.com>
8244 * elf/dl-sym.c: Minor cleanups.
8246 * configure.in: Add test for .protected.
8247 * config.make.in: Add have-protected variable.
8248 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
8249 (tests-vis-yes): Add vismain.
8250 (modules-names): Add $(modules-vis-$(have-protected)).
8251 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
8252 Add rules to generate and run vismain.
8253 * elf/vismain.c: New file.
8254 * elf/vismod1.c: New file.
8255 * elf/vismod2.c: New file.
8256 * elf/vismod3.c: New file.
8258 2000-05-23 Andreas Jaeger <aj@suse.de>
8260 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
8262 * manual/search.texi (Array Sort Function): Document that qsort is
8263 not necessarily in-place.
8265 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
8266 Closes PR libc/1731.
8268 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
8269 * dirent/scandir64.c: Likewise.
8270 * pwd/getpw.c: Likewise.
8271 * stdlib/bsearch.c (bsearch): Likewise.
8272 * stdlib/tst-strtoll.c: Likewise.
8273 * localedata/collate-test.c: Likewise.
8274 * localedata/xfrm-test.c: Likewise.
8275 * posix/bsd-getpgrp.c: Likewise.
8276 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
8277 * sysdeps/generic/bits/siginfo.h: Likewise.
8278 * sysdeps/generic/bits/sockaddr.h: Likewise.
8279 * sysdeps/generic/sys/swap.h: Likewise.
8280 * sysdeps/generic/sys/sysinfo.h: Likewise.
8281 * sysdeps/generic/vfork.c: Likewise.
8282 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
8283 * sysdeps/mach/hurd/fdopen.c: Likewise.
8284 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
8285 * sysdeps/unix/sysv/linux/poll.c: Likewise.
8286 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8287 * sysdeps/unix/sysv/linux/writev.c: Likewise.
8288 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8289 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8290 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
8292 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
8293 * shadow/lckpwdf.c: Likewise.
8294 * stdlib/tst-strtol.c: Likewise.
8295 * sysdeps/generic/tcsetattr.c: Likewise.
8296 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8297 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8299 2000-05-22 Jakub Jelinek <jakub@redhat.com>
8301 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
8302 free it and set to (void *) -1.
8304 2000-05-22 Jakub Jelinek <jakub@redhat.com>
8306 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
8307 not the second character in the range.
8308 * stdio-common/tstscanf.c (main): Add testcase for the above.
8309 Reported by jik@kamens.brookline.ma.us.
8311 2000-05-21 H.J. Lu <hjl@gnu.org>
8313 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
8314 with noexec and noplt parameter.
8315 (do_lookup): Likewise.
8317 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
8318 do_lookup. Support STV_PROTECTED.
8319 (_dl_lookup_symbol_skip): Likewise.
8320 (_dl_lookup_versioned_symbol): Likewise.
8321 (_dl_lookup_versioned_symbol_skip): Likewise.
8323 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
8325 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
8327 2000-05-21 Jakub Jelinek <jakub@redhat.com>
8329 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
8330 * sysdeps/i386/bits/huge_val.h: Likewise.
8331 * sysdeps/ieee754/bits/huge_val.h: Likewise.
8332 * sysdeps/m68k/bits/huge_val.h: Likewise.
8333 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
8334 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
8336 2000-05-22 Andreas Jaeger <aj@suse.de>
8338 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
8341 2000-05-19 Andreas Jaeger <aj@suse.de>
8343 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
8344 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
8345 breaks compilation without linuxthreads.
8347 2000-05-21 Ulrich Drepper <drepper@redhat.com>
8349 * sysdeps/ia64/memccpy.S: New file.
8350 * sysdeps/ia64/memchr.S: New file.
8351 * sysdeps/ia64/memcmp.S: New file.
8352 * sysdeps/ia64/memcpy.S: New file.
8353 * sysdeps/ia64/memmove.S: New file.
8354 * sysdeps/ia64/memset.S: New file.
8355 * sysdeps/ia64/strcat.S: New file.
8356 * sysdeps/ia64/strchr.S: New file.
8357 * sysdeps/ia64/strcmp.S: New file.
8358 * sysdeps/ia64/strcpy.S: New file.
8359 * sysdeps/ia64/strlen.S: New file.
8360 * sysdeps/ia64/strncmp.S: New file.
8361 * sysdeps/ia64/strncpy.S: New file.
8362 * sysdeps/ia64/softpipe.h: New file.
8363 Patches by Dan Pop <Dan.Pop@cern.ch>.
8365 * manual/memory.texi: Document memory handling functions (mlock,
8366 munlock, mlockall, munlockall, brk, and sbrk)
8367 * manual/time.texi: Document timespec and friends.
8368 * manual/conf.texi: Fix references.
8369 * manual/ctype.texi: Likewise.
8370 * manual/errno.texi: Likewise.
8371 * manual/intro.texi: Likewise.
8372 * manual/locale.texi: Likewise.
8373 * manual/sysinfo.texi: Likewise.
8374 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8376 2000-05-09 Jes Sorensen <jes@linuxcare.com>
8378 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
8379 * sysdeps/ia64/dl-lookupcfg.h: ...here.
8381 2000-05-21 Jakub Jelinek <jakub@redhat.com>
8383 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
8386 2000-05-21 Ulrich Drepper <drepper@redhat.com>
8388 * locale/locale.h (struct lconv): Add new elements from ISO C99.
8389 * locale/localeconv.c: Initialize new elements from ISO C99.
8390 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
8391 new standard elements.
8392 * locale/categories.def: Adjust accordingly.
8394 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
8395 * iconv/iconv.c: Likewise.
8396 * conform/data/iconv.h-data: Likewise.
8397 * iconv/iconv_prog.c (process_block): Remove const from second
8399 (main): Remove const from addr definition.
8400 * manual/charset.texi (Generic Conversion Interface): Remove from
8401 inbuf parameter of iconv.
8403 * intl/dcigettext.c: Fix typo in comment.
8405 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
8407 * resolv/res_libc.c (_res): Initialize _sock to -1.
8409 2000-05-18 Jakub Jelinek <jakub@redhat.com>
8411 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
8412 (fopencookie@@GLIBC_2.2): New.
8413 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
8414 (fopencookie@GLIBC_2.0): New.
8415 * libio/Versions: Add fopencookie to GLIBC_2.2.
8417 2000-05-18 Andreas Jaeger <aj@suse.de>
8419 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
8420 Closes PR libc/1731.
8422 * manual/arith.texi (Parsing of Integers): Fix typo.
8423 Closes PR libc/1744, reported by blp@gnu.org.
8425 2000-05-17 Jakub Jelinek <jakub@redhat.com>
8427 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
8428 __extension__ to hexadecimal floating constant notation.
8429 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
8431 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
8432 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
8434 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
8435 HUGE_VALL): Likewise.
8436 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
8437 HUGE_VALL): Likewise.
8438 (HUGE_VALL): Set to HUGE_VAL on sparc32.
8440 2000-05-17 Andreas Jaeger <aj@suse.de>
8442 * string/envz.h: Add pure attributes if possible.
8444 * string/argz.h: argz_count is a pure function.
8446 * string/strings.h: Add pure and const attributes if possible.
8448 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
8449 possibly searching through the whole memory.
8450 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
8452 2000-05-17 Jakub Jelinek <jakub@redhat.com>
8454 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
8456 (_dl_cache_check_flags): Likewise.
8457 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
8460 2000-05-17 Andreas Jaeger <aj@suse.de>
8462 * manual/creature.texi (Feature Test Macros): Remove paragraph
8463 since the description is wrong.
8464 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
8466 * scripts/config.sub: New version.
8467 * scripts/config.guess: Likewise.
8468 * manual/texinfo.tex: Likewise.
8470 * time/test_time.args: Removed.
8471 * time/Makefile (test_time-ARGS): Added contents here instead.
8473 * posix/tstgetopt.args: Removed.
8474 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
8476 * Rules: Allow arguments for test files to be specified in
8477 Makefile with testname-ARGS; remove rules with .args in it.
8479 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
8480 remove old bogus rule for opendir-tst1.args.
8482 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
8484 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
8485 into objdir. This allows a readonly sourcetree.
8486 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
8488 2000-05-16 Andreas Jaeger <aj@suse.de>,
8489 David Huggins-Daines <dhd@linuxcare.com>
8491 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
8492 cache_data in case of only new cache format correctly.
8494 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
8497 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
8498 struct cache_file_new.
8500 * elf/cache.c (save_cache): Fix str_offset if only new cache is
8503 * elf/cache.c (save_cache): Align struct new_file_cache.
8504 (print_cache): Likewise.
8506 2000-05-13 Jakub Jelinek <jakub@redhat.com>
8508 * elf/soinit.c (__libc_global_ctors): Move
8509 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
8510 * resolv/resolv.h (__res_state): Added __attribute__((const)).
8511 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
8512 variable, don't define it to __res_state call.
8514 2000-05-13 Andreas Jaeger <aj@suse.de>
8516 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
8518 (AF_PPPOX): Likewise.
8519 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
8520 (AF_PPPOX): Likewise.
8522 2000-05-12 Andreas Jaeger <aj@suse.de>
8524 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
8525 Reported by tmoestl@gmx.net, closes PR libc/1732.
8527 2000-05-11 Jan Hubicka <jh@suse.cz>
8529 * misc/sys/cdefs.h: Add support for pure attribute.
8531 * include/string.h: Add __attribute_pure__ to various functions.
8532 * string/string.h: Likewise.
8534 2000-05-10 Jakub Jelinek <jakub@redhat.com>
8536 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
8538 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8540 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
8542 2000-05-10 Jakub Jelinek <jakub@redhat.com>
8544 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
8545 at proper place. Compute the high nibble correctly.
8547 2000-05-09 Jakub Jelinek <jakub@redhat.com>
8549 * elf/ldconfig.c: Include elf.h.
8551 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
8552 (_dl_vsym): Likewise.
8553 Reported by Owen Taylor <otaylor@redhat.com>.
8555 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
8558 2000-05-08 Andreas Jaeger <aj@suse.de>
8560 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
8562 * intl/bindtextdom.c (set_binding_values): Add prototype.
8564 2000-05-08 Jakub Jelinek <jakub@redhat.com>
8566 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
8567 call to elf_machine_fixup_plt.
8568 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8569 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8571 2000-05-08 Jakub Jelinek <jakub@redhat.com>
8573 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
8574 they are not dlclose'd from underneath us.
8576 2000-05-08 Andreas Schwab <schwab@suse.de>
8578 * posix/execle.c: Fix size parameter of memcpy.
8580 2000-05-08 Andreas Schwab <schwab@suse.de>
8582 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
8583 getpagesize syscall if available.
8585 2000-05-08 Andreas Jaeger <aj@suse.de>
8587 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
8590 2000-05-08 Jakub Jelinek <jakub@redhat.com>
8592 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
8593 sizeof(struct link_map *) chunks, not in bytes.
8595 2000-05-07 Ulrich Drepper <drepper@redhat.com>
8597 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
8598 only needed for locale.
8599 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
8600 It's only needed for catgets.
8601 Patches by Greg McGary <gkm@eng.ascend.com>.
8603 2000-05-07 Mark Kettenis <kettenis@gnu.org>
8605 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
8606 Remove duplicate <errno.h> include. Remove inclusion of
8607 <libintl.h> and "nsswitch.h".
8608 (set_cloexec_flag): New function, broken out of dbopen.
8609 (dbopen): Changed return type to `enum
8610 nss_status'. Mostly rewritten to make sure that we do not report
8611 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
8612 (internal_setent): Change return type to nss_status.
8613 Document, and make sure that the function
8614 behaves accordingly. Make dynamically loading the database
8615 library really thread-safe and return NSS_STATUS_UNAVAIL if it
8617 (db_cursor): Return ENOMEM is memory allocation failed. Remove
8619 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
8621 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
8622 c_get function member.
8623 * nss/nss_db/nss_db.h: Add and tweak some comments.
8624 (DBT): Move typedef before NSS_DBC typedef.
8625 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
8627 2000-05-07 H.J. Lu <hjl@gnu.org>
8629 * csu/initfini.c: Moved to ....
8630 * sysdeps/generic/initfini.c: ...here.
8632 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
8634 2000-05-07 Ulrich Drepper <drepper@redhat.com>
8636 * manual/resource.texi: Document POSIX scheduling functions.
8637 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8639 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
8640 reading anything. Reported by Andries.Brouwer@cwi.nl.
8642 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
8643 for x since promotion in comparison might leads to unexpected
8644 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
8646 * iconv/Makefile (tests): Add tst-iconv1.
8647 * iconv/tst-iconv1.c: New file.
8648 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
8649 empty input buffer over full output buffer.
8650 (ucs4_internal_loop): Likewise.
8651 (ucs4_internal_loop_unaligned): Likewise.
8652 (internal_ucs4le_loop): Likewise.
8653 (internal_ucs4le_loop_unaligned): Likewise.
8654 (ucs4le_internal_loop): Likewise.
8655 (ucs4le_internal_loop_unaligned): Likewise.
8656 Reported by yaoz@nih.gov.
8658 2000-05-06 Bruno Haible <haible@clisp.cons.org>
8660 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
8661 returned != __GCONV_OK, there is nothing to clean up.
8663 2000-05-06 Bruno Haible <haible@clisp.cons.org>
8665 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
8666 OUTPUT_CHARSET environment variables.
8668 2000-05-06 Andreas Jaeger <aj@suse.de>
8670 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
8671 (struct cache_file_new): New.
8672 (struct file_entry): New (moved from cache.c).
8673 (struct cache_file): New (moved from cache.c).
8675 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
8676 from _dl_load_cache_lookup.
8677 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
8678 the different cache formats.
8679 New variable cache_new for new format.
8681 * elf/ldconfig.h: Change according to changes in cache.c and
8682 ldconfig.c; remove cache_libcmp; add opt_format.
8684 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
8685 stuff that's defined in those headers.
8686 Add hwcap to struct lib_entry.
8687 (opt_format): New variable to select cache format.
8688 (options): Add format parameter.
8689 (is_hwcap): New function.
8690 (path_hwcap): New function.
8691 (parse_opt): Handle new format parameter.
8692 (search_dir): Handle hwcap, search also subdirectories with hwcap.
8694 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
8695 ldconfig is part of glibc.
8696 Include dl-cache.h and remove stuff that's defined there.
8697 (struct cache_entry): Add new member hwcap.
8698 (print_entry): Print hwcap, cleanup a bit.
8699 (print_cache): Print new and old formats.
8700 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
8701 (save_cache): Save new and old formats.
8702 (add_to_cache): Handle hwcap.
8704 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
8705 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
8706 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
8707 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
8708 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
8709 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
8711 2000-05-05 Bruno Haible <haible@clisp.cons.org>
8713 * intl/dcigettext.c (alignof): New macro.
8714 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
8715 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
8718 2000-05-05 Bruno Haible <haible@clisp.cons.org>
8720 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
8723 2000-05-06 Ulrich Drepper <drepper@redhat.com>
8725 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
8726 (mempcpy): Correct typo is parameter list.
8728 2000-05-06 Andreas Jaeger <aj@suse.de>
8730 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
8731 functions unless -ffast-math is given to gcc.
8733 2000-05-06 Ulrich Drepper <drepper@redhat.com>
8735 * po/ko.po: Update from translation team.
8737 2000-05-05 Ulrich Drepper <drepper@redhat.com>
8739 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
8740 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
8741 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
8742 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
8743 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
8744 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
8746 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
8747 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
8748 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
8750 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
8751 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
8752 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
8753 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
8755 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
8756 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
8758 2000-05-05 Jes Sorensen <jes@linuxcare.com>
8760 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
8761 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
8763 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
8764 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
8766 * sysdeps/ia64/Implies: New file.
8767 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
8768 * sysdeps/ia64/Makefile: New file.
8769 * sysdeps/ia64/gmp-mparam.h: New file,
8771 * sysdeps/ia64/elf/start.S: New file.
8773 * sysdeps/ia64/bits/fenv.h: New file.
8775 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
8777 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
8779 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
8781 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
8782 ia64 has 64 bit .hash entries just as the Alpha.
8784 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
8786 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
8788 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
8790 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
8791 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
8792 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
8793 * sysdeps/ia64/fpu/fegetenv.c: New file.
8794 * sysdeps/ia64/fpu/fegetexcept.c: New file.
8795 * sysdeps/ia64/fpu/fegetround.c: New file.
8796 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
8797 * sysdeps/ia64/fpu/fesetenv.c: New file.
8798 * sysdeps/ia64/fpu/fesetround.c: New file.
8799 * sysdeps/ia64/fpu/feupdateenv.c: New file.
8800 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
8801 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
8802 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
8803 * sysdeps/ia64/fpu/ftestexcept.c: New file.
8805 2000-05-05 Andreas Jaeger <aj@suse.de>
8807 * misc/tst-tsearch.c (main): Correct type for initstate argument.
8809 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8810 (_dl_string_hwcap): New, does nothing.
8812 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8813 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8814 (_dl_string_hwcap): New function, converts from string to hwcap
8816 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
8817 (_DL_HWCAP_COUNT): New.
8818 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8819 (_dl_string_hwcap): New function, converts from string to hwcap
8821 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
8822 (_DL_HWCAP_COUNT): New.
8823 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8824 (_dl_string_hwcap): New function, converts from string to hwcap
8827 2000-05-05 Ulrich Drepper <drepper@redhat.com>
8829 * elf/Makefile (distribute): Add dl-lookupcfg.h.
8830 * sysdeps/ia64/Dist: New file.
8832 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
8833 parameter to mprotect and for variable assignments.
8835 2000-05-03 Jes Sorensen <jes@linuxcare.com>
8837 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
8838 validity of map before dereferencing it.
8840 * elf/dl-reloc.c (RESOLVE_MAP): Define.
8842 2000-05-02 Jes Sorensen <jes@linuxcare.com>
8844 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
8845 lookup to the arguments to elf_machine_fixup_plt().
8847 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
8848 of the symbol being resolved to input argument list and make the
8849 function return the pointer to the reloc.
8851 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
8852 return valuie to lookup_t and return the value.
8853 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
8854 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
8855 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
8856 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
8857 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
8858 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
8860 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
8861 Make it an inline function returning value after calling
8862 __elf_machine_fixup_plt().
8864 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
8867 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
8868 obtain the symbol address.
8870 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
8871 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
8873 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
8874 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
8877 2000-04-28 Jes Sorensen <jes@linuxcare.com>
8879 * elf/dl-runtime.c (fixup): Use the portable macros to get the
8880 symbol address of an object.
8882 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
8883 the symbol address of an object.
8885 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
8886 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
8887 (_dl_lookup_symbol_skip): Likewise.
8888 (_dl_lookup_versioned_symbol): Likewise.
8889 (_dl_lookup_versioned_symbol_skip): Likewise.
8891 2000-04-27 Jes Sorensen <jes@linuxcare.com>
8893 * elf/rtld.c (_dl_start): Get the function pointer return address
8894 via _dl_start_address for architectures that need a function
8895 pointer descriptor rather than just a pointer (ia64).
8897 * sysdeps/generic/dl-lookupcfg.h: New file.
8898 * sysdeps/ia64/dl-lookupcfg.h: New file.
8899 * sysdeps/ia64/dl-machine.h: New file.
8900 * sysdeps/ia64/dl-symaddr.c: New file.
8901 * sysdeps/ia64/dl-fptr.c: New file.
8903 * elf/elf.h: Add IA-64 specific definitions.
8905 2000-05-04 Jakub Jelinek <jakub@redhat.com>
8907 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
8910 2000-05-04 Jakub Jelinek <jakub@redhat.com>
8912 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
8915 2000-04-11 Geoff Keating <geoffk@cygnus.com>
8917 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
8918 symbol. Call _dl_init rather than the old way.
8920 2000-05-04 Ulrich Drepper <drepper@redhat.com>
8922 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
8923 test for pointer in range of DSO address space.
8925 2000-05-04 Andreas Jaeger <aj@suse.de>
8927 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
8929 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8931 * locale/findlocale.c (_nl_find_locale): Add new parameter to
8932 calls of _nl_make_l10nflist.
8934 * libio/stdio.h: Make fseeko and ftello prototypes available is
8935 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
8937 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
8938 real unsetenv implementation from 1999-07-29 [PR libc/1714].
8940 2000-05-03 Bruno Haible <haible@clisp.cons.org>
8942 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
8943 before calling tfind.
8945 2000-03-05 Jakub Jelinek <jakub@redhat.com>
8947 * resolv/resolv.h (res_querydomain): Remove redefinition to
8948 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
8950 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8952 * po/gl.po: Update from translation team.
8954 * manual/intro.texi (Program Basics): Change section title.
8955 * manual/process.texi: Fix reference.
8956 (Executing a File): Add reference exec in other section.
8957 * manual/signal.texi: Fix reference.
8958 * manual/startup.texi: Document syscall function.
8959 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8961 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8963 * intl/libintl.h (bind_textdomain_codeset): New declaration.
8964 * intl/bindtextdom.c (set_binding_values): New function.
8965 (bindtextdomain): Call it.
8966 (bind_textdomain_codeset): New function.
8967 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
8968 (free_mem): Free each binding's codeset.
8969 * intl/gettextP.h (struct binding): Add codeset field.
8970 (_nl_find_domain): Add domainbinding argument.
8971 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
8972 Pass it to _nl_make_l10nflist.
8973 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
8974 (_nl_make_l10nflist): Add domainbinding argument.
8975 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
8976 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
8977 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
8979 * manual/message.texi: New node "Charset conversion in gettext".
8981 2000-04-30 Bruno Haible <haible@clisp.cons.org>
8983 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
8984 appropriate. Handle possible __read error.
8986 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8988 * intl/gettextP.h (__builtin_expect): Define as empty if not a
8990 * intl/loadinfo.h (__builtin_expect): Likewise.
8991 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
8992 __builtin_expect where appropriate.
8993 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8994 * intl/localealias.c (extend_alias_table): Return an error indicator.
8995 (read_alias_file): Bail out if extend_alias_table fails.
8997 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8999 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
9000 * intl/localealias.c: Likewise.
9002 2000-05-01 Bruno Haible <haible@clisp.cons.org>
9004 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
9005 Initialize domain->plural and domain->nplurals even if there is no
9008 2000-05-01 Bruno Haible <haible@clisp.cons.org>
9010 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
9011 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
9012 In case of failure, goto converted.
9014 2000-05-01 Bruno Haible <haible@clisp.cons.org>
9016 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
9017 * iconv/gconv_int.h (norm_add_slashes): Move to here.
9018 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
9021 2000-04-29 Bruno Haible <haible@clisp.cons.org>
9023 * intl/dcigettext.c (transcmp): Compare the domains as well.
9024 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
9026 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
9029 2000-05-03 Ulrich Drepper <drepper@redhat.com>
9031 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
9032 Reported by Bruno Haible.
9034 2000-04-29 Bruno Haible <haible@clisp.cons.org>
9036 * manual/arith.texi: Remove @w from @itemize.
9038 2000-05-02 Andreas Jaeger <aj@suse.de>
9040 * conform/data/tar.h-data: Add some checks for specific values.
9042 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
9045 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
9048 * conform/data/netinet/in.h-data: Add exact checks for the values
9049 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
9051 * conform/data/float.h-data: Add some minimal values.
9053 * conform/conformtest.pl: Test for macros with string constants,
9054 check for minimum and maximum values.
9055 Add limits.h to headers.
9057 * conform/data/cpio.h-data: Test for value of MAGIC.
9059 * conform/data/limits.h-data: New file.
9061 2000-04-30 Bruno Haible <haible@clisp.cons.org>
9063 * math/Makefile (headers): Add bits/fenvinline.h.
9065 2000-05-01 Ulrich Drepper <drepper@redhat.com>
9067 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
9068 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
9070 * posix/Versions: Change posix_spawnattr_getdefault and
9071 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
9072 and posix_spawnattr_setsigdefault respectively.
9073 * posix/spawn.h: Likewise.
9074 * posix/spawnattr_getdefault.h: Likewise.
9075 * posix/spawnattr_setdefault.h: Likewise.
9076 * conform/data/spawn.h-data: Likewise.
9078 2000-05-01 Andreas Jaeger <aj@suse.de>
9080 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
9082 2000-04-30 Ulrich Drepper <drepper@redhat.com>
9084 * manual/sysinfo.texi: Document getdomainname, setdomainname
9086 * manual/string.texi: Fix typo.
9087 * manual/terminal.texi: Document gtty and stty.
9088 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9090 2000-04-30 Andreas Jaeger <aj@suse.de>
9092 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
9093 accordance with Austin Draft.
9095 2000-04-30 Ulrich Drepper <drepper@redhat.com>
9097 * catgets/gencat.c (read_input_file): Use isblank and not isspace
9098 to recognize second character in comment line.
9100 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
9101 ENOBUFS if we are out of memory.
9103 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
9104 available if __USE_XOPEN2K.
9105 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
9106 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9107 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
9108 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9109 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
9110 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9111 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
9112 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
9114 2000-04-29 Ulrich Drepper <drepper@redhat.com>
9116 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
9117 Recognize option -s, -c, and -l.
9119 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
9121 * nscd/nscd.c: Start new session for nscd, drop privilegs
9122 to configured user if requested and no -S parameter are used.
9123 * nscd/nscd.conf: Add new option "server-user".
9124 * nscd/nscd_conf.c: Add support for new "server-user" option.
9125 * nscd/nscd.h: Add declaration for server_user variable.
9126 Based on patch by Chris Wing <wingc@engin.umich.edu>
9128 2000-04-29 Mark Kettenis <kettenis@gnu.org>
9130 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
9131 that changing the __restore and __restore_rt signal return code
9134 2000-04-29 Mark Kettenis <kettenis@gnu.org>
9136 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
9139 2000-04-29 Mark Kettenis <kettenis@gnu.org>
9141 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
9143 2000-04-29 Ulrich Drepper <drepper@redhat.com>
9145 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
9146 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
9148 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
9149 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
9150 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
9151 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
9152 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
9153 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
9154 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
9155 posix_fallocate, and posix_madvise.
9156 * conform/data/netdb.h-data: New file.
9157 * conform/data/pthread.h-data: Add pthread_barrier_t,
9158 pthread_barrierattr_t, pthread_barrier_destroy,
9159 pthread_barrier_init, pthread_barrier_wait,
9160 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
9161 pthread_barrierattr_init, pthread_barrierattr_setpshared,
9162 pthread_condattr_getclock, pthread_condattr_setclock,
9163 pthread_getcpuclockid, pthread_mutex_timedlock,
9164 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
9165 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
9166 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
9167 * conform/data/sched.h-data: Add sched_ss_low_priority,
9168 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
9170 * conform/data/semaphore.h-data: Add sem_timedwait.
9171 * conform/data/signal.h-data: Add SIGIO.
9172 * conform/data/spawn.h-data: New file.
9173 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
9174 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
9175 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
9176 Fix typo in gmtime_r definition.
9177 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
9178 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
9179 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
9180 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
9181 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
9182 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
9183 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
9184 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
9185 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
9186 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
9187 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
9188 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
9189 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
9190 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
9191 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
9192 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
9193 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
9194 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
9195 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
9196 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
9197 typo in off_t definition.
9198 * conform/data/net/if.h-data: New file.
9199 * conform/data/netinet/in.h-data: New file.
9200 * conform/data/netinet/tcp.h-data: New file.
9201 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
9202 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
9203 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
9204 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
9205 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
9206 and posix_typed_mem_open.
9207 * conform/data/sys/socket.h-data: New file.
9208 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
9209 * conform/data/sys/types.h-data: Add pthread_barrier_t,
9210 pthread_barrierattr_t, and pthread_spinlock_t.
9211 * conform/data/sys/un.h-data: New file.
9212 * conform/data/sys/utsname.h-data: New file.
9214 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
9216 * inet/gethstbyad.c (gethostbyname): Likewise.
9217 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
9218 * inet/getipnodebyad.c (getipnodebyad): Likewise.
9219 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
9220 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
9222 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
9223 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
9224 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
9225 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
9226 * resolv/gethnamaddr.c (gethostbyname): Likewise.
9227 * resolv/netdb.h (struct hostent): Fix type of h_length member.
9228 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
9229 and second parameter.
9231 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
9234 2000-04-29 Andreas Jaeger <aj@suse.de>
9236 * conform/data/arpa/inet.h-data: New file.
9238 2000-04-28 Geoff Clare <gwc@unisoft.com>
9240 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
9241 path passed to ftw() or nftw() is an empty string.
9242 Closes PR libc/1710.
9244 2000-04-27 Ulrich Drepper <drepper@redhat.com>
9246 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
9247 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
9248 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
9249 * localedata/tst-mbswcs4.c: New file.
9250 * localedata/tst-mbswcs5.c: New file.
9252 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
9253 == NULL. Little optimization.
9255 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
9256 DT_PREINIT_ARRAYSZ).
9257 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
9259 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
9260 overflows in conversion from ASCII.
9262 2000-04-26 Jakub Jelinek <jakub@redhat.com>
9264 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
9265 * Makerules (full_config_sysdirs): Likewise.
9266 * MakeTAGS (full_config_sysdirs): Likewise.
9268 2000-04-26 Jakub Jelinek <jakub@redhat.com>
9270 * .cvsignore: Remove linuxthreads.
9271 * po/.cvsignore: Remove *.pot.
9272 * posix/glob/.cvsignore: Removed.
9273 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
9275 2000-04-25 Andreas Jaeger <aj@suse.de>
9277 * conform/Makefile (distribute): Also distribute contents of
9280 * Makerules (no_deps): Remove abi-versions.h.
9282 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
9284 2000-04-25 Jakub Jelinek <jakub@redhat.com>
9286 * sysdeps/sparc/sparc64/elf/Dist: Remove.
9287 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
9288 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
9289 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
9290 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
9291 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
9294 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
9296 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
9298 2000-04-23 Bruno Haible <haible@clisp.cons.org>
9300 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
9301 * intl/l10nflist.c: Likewise.
9303 2000-04-23 Bruno Haible <haible@clisp.cons.org>
9305 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
9306 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
9307 * intl/textdomain.c [!_LIBC]: Likewise.
9308 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
9309 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
9310 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
9313 2000-04-23 Bruno Haible <haible@clisp.cons.org>
9315 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
9316 character set conversion also in the case the translation was found
9317 after a hash collision or through binary search. Store the maximum
9318 index together with the converted message. Use iconv() when available.
9319 In case of out of memory during conversion, return the unconverted
9320 translated string, not NULL.
9322 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
9324 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
9325 to avoid name clashes with the ia32 linker.
9327 2000-04-25 Jakub Jelinek <jakub@redhat.com>
9329 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
9332 2000-04-27 Ulrich Drepper <drepper@redhat.com>
9334 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
9335 strtoumax, strfry, and memfrob.
9336 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
9337 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9339 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
9340 if this function is available.
9342 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
9345 2000-04-27 Jakub Jelinek <jakub@redhat.com>
9347 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
9349 2000-04-27 Ulrich Drepper <drepper@redhat.com>
9351 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
9352 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
9353 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
9354 * localedata/tst-mbswcs3.c: New file.
9356 2000-04-26 Ulrich Drepper <drepper@redhat.com>
9358 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
9359 characters. Don't handle incomplete characters as errors.
9360 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
9361 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
9362 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
9363 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
9364 * localedata/tst-mbswcs2.c: New file.
9366 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
9367 stored character in state in UNPACK_BYTES macro.
9368 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
9369 test for available characters, handle result of BODY code correctly.
9370 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
9371 (distribute): Add tst-mbswcs.sh.
9372 Add rule to run tst-mbswcs.sh.
9373 * localedata/tst-mbswcs.sh: New file.
9374 * localedata/tst-mbswcs1.c: New file.
9376 2000-04-26 Jakub Jelinek <jakub@redhat.com>
9378 * nis/nis_callback.c (__nis_create_callback): Do failed memory
9379 allocation fixups centrally, fix __builtin_expect call, return NULL
9380 on failure, not NIS_NOMEMORY.
9382 2000-04-27 Bruno Haible <haible@clisp.cons.org>
9384 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
9386 * intl/loadinfo.h (internal_function): Define if not already defined.
9388 2000-04-27 Andreas Jaeger <aj@suse.de>
9390 * intl/libintl.h: Fix typo, reported by Bruno Haible
9391 <haible@clisp.cons.org>.
9393 2000-04-25 Ulrich Drepper <drepper@redhat.com>
9395 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
9396 setting the state to GMON_PROF_BUSY.
9398 2000-04-24 Ulrich Drepper <drepper@redhat.com>
9400 * elf/dl-profile.c (_dl_start_profile): define all variables which
9401 do not have to be global as local variables.
9403 * nis/nis_callback.c (__nis_create_callback): Partially undo last
9404 patch. Keep needed tests for failed memory allocation.
9406 * elf/dl-reloc.c (_dl_relocate_object): Add one more
9407 __builtin_expect saying that we don't normally expect to profile.
9409 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
9410 __builtin_expect where desirable.
9412 2000-04-23 Ulrich Drepper <drepper@redhat.com>
9414 * manual/Makefile (chapters): Add syslog.
9415 * manual/syslog.texi: New file.
9416 * manual/math.texi: Fix references.
9417 * manual/terminal.texi: Likewise.
9418 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9420 2000-04-18 Jakub Jelinek <jakub@redhat.com>
9422 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
9423 stdlib.h was not included or __USE_XOPEN not defined.
9425 2000-04-23 Ulrich Drepper <drepper@redhat.com>
9427 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
9428 Patch by Zack Weinberg <zack@wolery.cumb.org>.
9430 2000-04-22 Ulrich Drepper <drepper@redhat.com>
9432 * manual/examples/subopt.c (mount_opts): Add missing terminating
9434 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
9436 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
9437 * libio/ftello.c: Likewise.
9438 * libio/ftello64.c: Likewise.
9439 * libio/ioftell.c: Likewise.
9440 * sysdeps/generic/memrchr.c: Likewise.
9441 * sysdeps/posix/libc_fatal.c: Likewise.
9442 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9443 * misc/fstab.c: Include <string.h> for strcmp prototype.
9444 * sysdeps/generic/ldsodefs.h: Likewise.
9445 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9446 Patch by Kurt Roeckx <Q@ping.be>.
9448 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
9449 Remove db-open. Change all uses.
9450 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
9452 2000-04-21 Jakub Jelinek <jakub@redhat.com>
9454 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
9455 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
9456 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
9457 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
9458 with .set noat/at to shut up warnings.
9459 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
9460 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
9461 compilation if __NR_pciconfig_iobase is not defined.
9462 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
9465 2000-04-21 Ulrich Drepper <drepper@redhat.com>
9467 * manual/sysinfo.texi: Fix typo.
9468 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
9469 Replace "high precision time" with "high accuracy clock".
9471 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
9473 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
9474 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
9476 * nis/nis_subr.c: Use __builtin_expect.
9477 * nis/ypclnt.c: Likewise.
9478 * nis/nis_getservlist.c: Likewise.
9479 * nis/nis_creategroup.c: Likewise.
9481 * nis/nis_callback.c (__nis_create_callback): Check result of
9482 memory allocation. Fix memory leaks. Use __builtin_expect.
9483 (__nis_destroy_callback): Fix memory leaks.
9485 2000-04-21 Andreas Jaeger <aj@suse.de>
9487 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
9488 * sysdeps/mips/mips64/add_n.S: Likewise.
9489 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
9490 * sysdeps/mips/mips64/lshift.S: Likewise.
9491 * sysdeps/mips/mips64/mul_1.S: Likewise.
9492 * sysdeps/mips/mips64/rshift.S: Likewise.
9493 * sysdeps/mips/mips64/setjmp.S: Likewise.
9494 * sysdeps/mips/mips64/sub_n.S: Likewise.
9495 * sysdeps/mips/mips64/submul_1.S: Likewise
9496 * sysdeps/unix/mips/sysdep.S: Likewise.
9498 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
9499 and update comment. The strtab from _dl_relocate_object can be
9502 2000-04-21 Ulrich Drepper <drepper@redhat.com>
9504 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
9505 * iconv/iconv_close.c (iconv_close): Likewise.
9506 * iconv/iconv_open.c (iconv_open): Likewise.
9508 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
9509 __builtin_expect where useful.
9511 * grp/initgroups.c (initgroups): Test for result of memory
9512 allocation and punt if it fails.
9514 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
9515 * grp/fgetgrent.c (fgetfrent): Likewise.
9516 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
9518 2000-04-21 Jakub Jelinek <jakub@redhat.com>
9520 * libio/vasprintf.c: Include string.h to get memcpy prototype.
9522 2000-04-20 Ulrich Drepper <drepper@redhat.com>
9524 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
9525 don't search for NUL byte to decrement counter.
9526 Reported by Ulrich.Brink@sap.com.
9528 * iconv/gconv_simple.c: Define separate functions to convert from
9529 UCS4/UCS4-LE to the internal encoding.
9530 * iconv/gconv_builtin.h: Use separate functions to convert from
9531 UCS4/UCS4-LE to the internal encoding.
9532 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
9533 __gconv_transform_ucs4le_internal.
9535 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
9536 output buffer overflow. Reported by Ulrich.Brink@sap.com.
9538 * iconv/skeleton.c: Add some more __builtin_expect.
9539 * iconv/loop.c: Likewise.
9541 2000-03-08 H.J. Lu <hjl@gnu.org>
9543 * posix/regex.c (regex_compile): Correctly handle "\{" when
9544 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
9546 2000-04-20 Ulrich Drepper <drepper@redhat.com>
9548 * manual/stdio.texi: Give advise about handling error when using
9550 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
9552 2000-04-19 Jakub Jelinek <jakub@redhat.com>
9554 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
9555 field to nelems * sizeof (uint32_t).
9556 * locale/programs/ld-address.c (address_output): Align word fields
9558 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9559 Don't restart idx pointers to idx end at the duo_int_curr_symbol
9561 Avoid giving arbitrary garbage in the crncystr field.
9562 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
9563 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
9565 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9566 Don't restart idx pointers to idx end at the decimal_point_wc field.
9567 * locale/programs/ld-time.c (time_output): week_1stday should be
9568 word, not byte. Align it properly.
9570 2000-04-19 H.J. Lu <hjl@gnu.org>
9572 * csu/gmon-start.c (_start): Declared as "extern void".
9575 2000-04-18 Andreas Jaeger <aj@suse.de>
9577 * manual/install.texi (Running make install): Don't mention utmpd
9580 2000-04-18 Andreas Jaeger <aj@suse.de>
9582 * linuxthreads/Versions: Use ld instead of ld.so.
9584 * elf/Makefile (ld-map): Use ld.map.
9586 * Versions.def: Use ld instead of ld.so.
9587 * elf/Versions: Likewise.
9588 * sysdeps/mach/hurd/Versions: Likewise.
9590 2000-04-20 Andreas Jaeger <aj@suse.de>
9592 * elf/rtld.c (print_statistics): Move ifndef further up.
9593 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
9594 (dl_main): Likewise.
9596 2000-04-18 Ulrich Drepper <drepper@redhat.com>
9598 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
9599 * gmon/Versions: Move moncontrol to GLIBC_2.2.
9601 * po/cs.po: Update from translation team.
9603 * sysdeps/generic/updwtmp.c: Remove daemon support.
9605 * login/Makefile (routines): Remove utmp_daemon.
9607 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
9608 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
9609 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
9610 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
9612 * elf/rtld.c: Display statitics option also if hp timing is not
9615 * login/programs/connection.c: Removed.
9616 * login/programs/database.c Removed.
9617 * login/programs/error.c: Removed.
9618 * login/programs/request.c: Removed.
9619 * login/programs/xtmp.c: Removed.
9620 * login/programs/xtmp.h: Removed.
9621 * login/Makefile: Remove rules for utmpd.
9622 * login/README.utmpd: Removed.
9623 * login/utmp_daemon.c: Removed.
9624 * login/getutent_r.c: Remove references to daemon functions.
9625 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
9628 2000-04-18 Andreas Jaeger <aj@suse.de>
9630 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
9631 2.2 for libnsl, libresolv, librt, libnss_*.
9633 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
9635 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
9637 2000-04-18 Ulrich Drepper <drepper@redhat.com>
9639 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
9640 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
9641 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
9642 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
9643 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
9644 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
9645 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
9646 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
9647 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
9648 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
9649 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
9650 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
9651 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
9653 * sysdeps/unix/sysv/aix/msync.c: New file.
9654 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
9655 * sysdeps/unix/sysv/aix/net/if.h: New file.
9656 * sysdeps/unix/sysv/aix/pipe.c: New file.
9657 * sysdeps/unix/sysv/aix/poll.c: New file.
9658 * sysdeps/unix/sysv/aix/rename.c: New file.
9659 * sysdeps/unix/sysv/aix/rmdir.c: New file.
9660 * sysdeps/unix/sysv/aix/select.c: New file.
9661 * sysdeps/unix/sysv/aix/semctl.c: New file.
9662 * sysdeps/unix/sysv/aix/semget.c: New file.
9663 * sysdeps/unix/sysv/aix/semop.c: New file.
9664 * sysdeps/unix/sysv/aix/sendto.c: New file.
9665 * sysdeps/unix/sysv/aix/setgroups.c: New file.
9666 * sysdeps/unix/sysv/aix/setpgid.c: New file.
9667 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
9668 * sysdeps/unix/sysv/aix/setpriority.c: New file.
9669 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
9670 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
9671 * sysdeps/unix/sysv/aix/setsid.c: New file.
9672 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
9673 * sysdeps/unix/sysv/aix/shmat.c: New file.
9674 * sysdeps/unix/sysv/aix/shmctl.c: New file.
9675 * sysdeps/unix/sysv/aix/shmdt.c: New file.
9676 * sysdeps/unix/sysv/aix/shmget.c: New file.
9677 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
9678 * sysdeps/unix/sysv/aix/sigstack.c: New file.
9679 * sysdeps/unix/sysv/aix/socket.c: New file.
9680 * sysdeps/unix/sysv/aix/socketpair.c: New file.
9681 * sysdeps/unix/sysv/aix/speed.c: New file.
9682 * sysdeps/unix/sysv/aix/symlink.c: New file.
9683 * sysdeps/unix/sysv/aix/sync.c: New file.
9684 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
9685 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
9686 * sysdeps/unix/sysv/aix/times.c: New file.
9687 * sysdeps/unix/sysv/aix/ulimit.c: New file.
9688 * sysdeps/unix/sysv/aix/umask.c: New file.
9689 * sysdeps/unix/sysv/aix/unlink.c: New file.
9690 * sysdeps/unix/sysv/aix/ustat.c: New file.
9691 * sysdeps/unix/sysv/aix/utimes.c: New file.
9693 2000-04-18 Andreas Jaeger <aj@suse.de>
9695 * manual/startup.texi (Environment Access): Fix putenv prototype
9696 according to recent changes.
9697 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
9700 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
9703 2000-04-18 Ulrich Drepper <drepper@redhat.com>
9705 * posix/Makefile (tests): Add tst-getaddrinfo.
9706 * posix/tst-getaddrinfo.c: New file.
9708 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9710 * manual/sysinfo.texi: Document that umount2 is not widely available.
9712 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
9713 signal timing is not really implemented.
9715 2000-04-17 Andreas Jaeger <aj@suse.de>
9717 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
9719 2000-04-17 Jakub Jelinek <jakub@redhat.com>
9721 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
9724 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9726 * manual/intro.texi: Change reference from System Information to
9728 * manual/users.texi: Likewise.
9729 * manual/conf.texi: Likewise.
9730 * manual/sysinfo.texi: Document mount, umount, and umount2.
9731 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9733 2000-04-17 Jakub Jelinek <jakub@redhat.com>
9735 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
9736 Create wnumstr as well as numstr to support wide character output
9739 2000-04-15 Jakub Jelinek <jakub@redhat.com>
9741 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
9742 modification and move it...
9743 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
9744 Add -melf64_sparc switch to $(LD) on sparc64-linux.
9745 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
9746 switch to $(LD) on sparc-linux.
9748 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
9750 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
9751 and setresuid from sysdep_routines.
9753 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9755 * manual/Makefile (chapters): Add resource.
9757 * manual/time.texi: Move section on resources to...
9758 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
9760 * manual/setjmp.texi: Adjust back reference.
9761 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9763 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
9765 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
9766 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
9767 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
9768 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
9769 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
9770 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
9771 * sysdeps/unix/sysv/aix/close.c: Add copyright.
9772 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
9773 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
9774 * sysdeps/unix/sysv/aix/access.c: Add copyright.
9775 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
9776 * sysdeps/unix/sysv/aix/Implies: New file.
9777 * sysdeps/unix/sysv/aix/Versions: New file.
9778 * sysdeps/unix/sysv/aix/bind.c: New file.
9779 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
9780 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
9781 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
9782 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
9783 * sysdeps/unix/sysv/aix/chdir.c: New file.
9784 * sysdeps/unix/sysv/aix/chmod.c: New file.
9785 * sysdeps/unix/sysv/aix/chroot.c: New file.
9786 * sysdeps/unix/sysv/aix/creat.c: New file.
9787 * sysdeps/unix/sysv/aix/dl-close.c: New file.
9788 * sysdeps/unix/sysv/aix/dl-open.c: New file.
9789 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
9790 * sysdeps/unix/sysv/aix/fchdir.c: New file.
9791 * sysdeps/unix/sysv/aix/fchmod.c: New file.
9792 * sysdeps/unix/sysv/aix/getgroups.c: New file.
9793 * sysdeps/unix/sysv/aix/gethostname.c: New file.
9794 * sysdeps/unix/sysv/aix/getpriority.c: New file.
9795 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
9796 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
9797 * sysdeps/unix/sysv/aix/getrusage.c: New file.
9798 * sysdeps/unix/sysv/aix/link.c: New file.
9799 * sysdeps/unix/sysv/aix/madvise.c: New file.
9800 * sysdeps/unix/sysv/aix/mkdir.c: New file.
9801 * sysdeps/unix/sysv/aix/mknod.c: New file.
9802 * sysdeps/unix/sysv/aix/mprotect.c: New file.
9803 * sysdeps/unix/sysv/aix/msgctl.c: New file.
9804 * sysdeps/unix/sysv/aix/msgget.c: New file.
9805 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
9807 2000-04-17 Andreas Jaeger <aj@suse.de>
9809 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
9810 as suggested by Ulrich Drepper.
9811 (__dl_runtime_resolve): Remove unused variable, initialize sym
9813 (RTLD_START): Document OFFSET_GP_GOT.
9814 (OFFSET_GP_GOT): New magic value.
9815 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
9816 (elf_machine_got_rel): Only declare strtab if needed.
9817 (elf_machine_relplt): Removed, it's not needed.
9818 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
9820 * sysdeps/mips/add_n.S: Add newline at EOF.
9821 * sysdeps/mips/rshift.S: Likewise.
9822 * sysdeps/mips/mul_1.S: Likewise.
9823 * sysdeps/mips/lshift.S: Likewise.
9824 * sysdeps/mips/addmul_1.S: Likewise.
9826 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9828 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
9830 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
9831 * elf/dl-lookup.c: Likewise.
9832 * elf/dl-init.c (_dl_init): Likewise.
9833 * elf/dl-fini.c (_dl_fini): Likewise.
9834 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9835 * elf/dl-close.c (_dl_close): Likewise.
9836 * elf/rtld.c (_dl_start_final): Likewise.
9838 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
9840 2000-04-15 Ulrich Drepper <drepper@redhat.com>
9842 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
9843 only fall back on using Linux.
9845 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
9846 Before testing versions check that we actually loaded the object
9847 and whether we are in trace mode. If not loaded during tracing don't
9848 test versions in this object.
9849 (_dl_check_all_versions): Take new parameter and pass to
9850 _dl_check_map_versions.
9851 * sysdeps/generic/ldsodefs.h: Update prototypes for
9852 _dl_check_all_versions and _dl_check_map_versions.
9853 * elf/rtld.c (struct version_check_args): Add dotrace.
9854 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
9855 (dl_main): Pass info about trace mode to version_check_doit.
9856 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
9857 _dl_check_all_versions.
9859 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
9861 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9863 * manual/argp.texi: Document index parameter of argp_parse.
9865 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
9867 2000-04-14 Andreas Jaeger <aj@suse.de>
9869 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
9870 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
9872 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
9874 2000-04-15 Ulrich Drepper <drepper@redhat.com>
9876 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
9877 compat_symbol call for old adjtime.
9879 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
9880 function interface. Patch by Richard Henderson <rth@cygnus.com>.
9882 * posix/Makefile (headers): Add spawn.h.
9883 (distribute): Add spawn_int.h.
9884 (routines): Add spawn_faction_init, spawn_faction_destroy,
9885 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
9886 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
9887 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
9888 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
9889 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
9890 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
9891 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
9892 posix_spawnattr_init, posix_spawnattr_destroy,
9893 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
9894 posix_spawnattr_getflags, posix_spawnattr_setflags,
9895 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
9897 * posix/spawn.c: New file.
9898 * posix/spawn.h: New file.
9899 * posix/spawn_faction_addclose.c: New file.
9900 * posix/spawn_faction_adddup2.c: New file.
9901 * posix/spawn_faction_addopen.c: New file.
9902 * posix/spawn_faction_destroy.c: New file.
9903 * posix/spawn_faction_init.c: New file.
9904 * posix/spawn_int.h: New file.
9905 * posix/spawnattr_destroy.c: New file.
9906 * posix/spawnattr_getdefault.c: New file.
9907 * posix/spawnattr_getflags.c: New file.
9908 * posix/spawnattr_getpgroup.c: New file.
9909 * posix/spawnattr_getschedparam.c: New file.
9910 * posix/spawnattr_getschedpolicy.c: New file.
9911 * posix/spawnattr_getsigmask.c: New file.
9912 * posix/spawnattr_init.c: New file.
9913 * posix/spawnattr_setdefault.c: New file.
9914 * posix/spawnattr_setflags.c: New file.
9915 * posix/spawnattr_setpgroup.c: New file.
9916 * posix/spawnattr_setschedparam.c: New file.
9917 * posix/spawnattr_setschedpolicy.c: New file.
9918 * posix/spawnattr_setsigmask.c: New file.
9919 * posix/spawni.c: New file.
9920 * posix/spawnp.c: New file.
9922 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
9923 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
9925 2000-04-14 Ulrich Drepper <drepper@redhat.com>
9927 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
9928 * malloc/malloc.c: Implement posix_memalign for glibc.
9929 * include/stdlib.h: Add prototype for __posix_memalign.
9930 * stdlib/stdlib.h: Add prototype for posix_memalign.
9932 2000-04-14 Andreas Jaeger <aj@suse.de>
9934 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
9936 (elf_machine_got_rel): Cast sym correctly.
9938 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
9939 * sysdeps/mips/addmul_1.S: Likewise.
9940 * sysdeps/mips/lshift.S: Likewise.
9941 * sysdeps/mips/mul_1.S: Likewise.
9942 * sysdeps/mips/rshift.S: Likewise.
9943 * sysdeps/mips/sub_n.S: Likewise.
9944 * sysdeps/mips/submul_1.S: Likewise.
9946 * stdlib/stdlib.h: Fix typo in comment.
9948 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
9949 2.2 for libdl, ld and libm.
9951 * sysdeps/generic/madvise.c: Fix typos.
9953 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
9955 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
9957 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
9960 2000-04-14 Ulrich Drepper <drepper@redhat.com>
9962 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
9963 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
9964 Make old name weak alias.
9965 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
9966 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
9967 Make old name weak alias.
9968 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
9970 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
9971 posix_fallocate, and posix_fallocate64.
9972 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
9973 posix_fallocate, and posix_fallocate64.
9974 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
9975 posix_fallocate, and posix_fallocate64.
9976 * sysdeps/generic/fadvise.c: New file.
9977 * sysdeps/generic/fadvise64.c: New file.
9978 * sysdeps/generic/fallocate.c: New file.
9979 * sysdeps/generic/fallocate64.c: New file.
9980 * sysdeps/posix/fallocate.c: New file.
9981 * sysdeps/posix/fallocate64.c: New file.
9982 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
9983 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
9984 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
9985 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
9986 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
9987 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
9988 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9989 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
9990 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9992 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
9993 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9995 2000-04-13 Ulrich Drepper <drepper@redhat.com>
9997 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
9998 * misc/sys/mman.h (posix_madvise): Add prototype.
9999 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
10000 old name and posix_madvise weak aliases.
10001 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10002 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
10003 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
10004 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
10005 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
10006 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10007 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10009 2000-04-13 Andreas Jaeger <aj@suse.de>
10011 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
10013 (elf_machine_got_rel): Only add runtime display if needed.
10014 (elf_machine_got_rel): Handle symbol versioning.
10016 2000-04-13 Andreas Jaeger <aj@suse.de>
10018 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
10020 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
10023 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
10024 with some applications.
10025 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
10027 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
10028 * sysdeps/mips/bsd-_setjmp.S: Likewise.
10029 * sysdeps/mips/setjmp.S: Likewise.
10031 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
10033 2000-04-13 Ulrich Drepper <drepper@redhat.com>
10035 * posix/globtest.sh: Work around inconsistency with expanding ~/
10036 in shell (PR libc/1690). Reported by patsmith@pobox.com.
10038 2000-04-12 Ulrich Drepper <drepper@redhat.com>
10040 * posix/getconf.c: Add support for many more POSIX options.
10041 * sysdeps/posix/sysconf.c: Likewise.
10042 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
10043 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
10045 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
10046 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
10047 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
10048 CLOCK_THREAD_CPUTIME_ID.
10049 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
10050 CLOCK_PROCESS_CPUTIME_ID.
10051 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
10052 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
10053 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
10054 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
10056 * malloc/Makefile (tests): Add tst-calloc.
10057 * malloc/tst-calloc.c: New file.
10059 * sysdeps/arm/libm-test-ulps: New file.
10061 * malloc/malloc.c: Undo all of today's changes.
10063 * locale/programs/locale.c (show_info): Don't try to look into
10064 data for LC_ALL (there is none).
10066 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
10067 avoid writing over boundary.
10068 Patch by Greg McGary <gkm@eng.ascend.com>.
10070 * sysdeps/arm/memprof.h: New file.
10072 2000-04-12 Andreas Jaeger <aj@suse.de>
10074 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
10076 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
10077 for memmem declaration.
10079 2000-04-12 Ulrich Drepper <drepper@redhat.com>
10081 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
10083 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
10085 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
10087 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
10088 Patch by Bart Veer <bartv@redhat.com>.
10090 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
10091 function interface.
10093 2000-04-11 Andreas Jaeger <aj@suse.de>
10095 * sysdeps/mips/dl-machine.h: Update some comments.
10096 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
10098 2000-04-11 Ulrich Drepper <drepper@redhat.com>
10100 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
10101 _POSIX_SHARED_MEMORY_OBJECTS.
10103 * rt/Makefile (tests): Add tst-shm.
10104 Add rules to generate tst-shm.
10105 * rt/tst-shm.c: New file.
10107 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
10110 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
10111 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
10112 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
10113 * sysdeps/generic/shm_open.c: New file.
10114 * sysdeps/generic/shm_unlink.c: New file.
10115 * sysdeps/unix/sysv/linux/shm_open.c: New file.
10116 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
10117 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
10118 __endmntent, __getmntent_r, __setmntent, and __statfs.
10120 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
10121 fragmentation by allocating new memory at the end instead of
10124 * posix/globtest.sh: Fix last change.
10126 2000-04-10 Philip Blundell <philb@gnu.org>
10128 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
10129 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
10130 IPV6_DROP_MEMBERSHIP.
10131 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
10134 2000-04-11 Ulrich Drepper <drepper@redhat.com>
10136 * elf/readlib (process_file): Close streams in case of an error.
10138 2000-04-09 Andreas Jaeger <aj@suse.de>
10140 * elf/readlib.c (process_file): Check if file is big enough to
10141 contain aout and ELF headers.
10142 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
10144 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
10146 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
10148 2000-04-11 Ulrich Drepper <drepper@redhat.com>
10150 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
10152 * rt/Makefile (tests): Add tst-clock.
10153 Add rules to build tst-clock.
10154 * rt/tst-clock.c: New file.
10155 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
10156 about initialization of nsec.
10157 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
10158 about initialization of freq. Set retval to zero if successful.
10159 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
10161 2000-04-10 Ulrich Drepper <drepper@redhat.com>
10163 * Versions.def (librt): Add GLIBC_2.2.
10164 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
10165 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
10166 timer_getoverr, timer_gettime, and timer_settime.
10167 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
10168 clock_settime, timer_create, timer_delete, timer_getoverrun,
10169 timer_gettime, and timer_settime.
10170 * sysdeps/generic/clock_getcpuclockid.c: New file.
10171 * sysdeps/generic/get_clockfreq.c: New file.
10172 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
10173 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
10174 * sysdeps/mach/hurd/i386/bits/time.h: New file.
10175 * sysdeps/unix/i386/i586/clock_getres.c: New file.
10176 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
10177 * sysdeps/unix/i386/i686/Implies: New file.
10178 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
10179 * time/Makefile (routines): Move clock_getres, clock_gettime,
10180 clock_settime, timer_create, timer_delete, timer_getoverr,
10181 timer_gettime, and timer_settime to rt/Makefile.
10182 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
10183 clock_settime, timer_create, timer_delete, timer_getoverrun,
10184 timer_gettime, and timer_settime.
10185 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
10187 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
10188 and not const as attribute name.
10190 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
10192 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
10194 2000-04-10 Andreas Schwab <schwab@suse.de>
10196 * posix/globtest.sh: Skip tests that depend on unreadable
10197 directories if run as root.
10199 2000-04-10 Ulrich Drepper <drepper@redhat.com>
10201 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
10202 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
10204 2000-04-09 Ulrich Drepper <drepper@redhat.com>
10206 * sysdeps/unix/clock_gettime.c: New file.
10207 * sysdeps/unix/clock_settime.c: New file.
10208 * sysdeps/posix/clock_getres.c: New file.
10210 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
10212 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
10213 lseek call be passing in a buffer which never allow a successful
10214 first getdents syscall if not at leas the initial entry can be
10215 stored in the user buffer.
10217 * localedata/Makefile: Add rules to clean up directories created by
10220 2000-04-09 Geoff Clare <gwc@unisoft.com>
10222 * localedata/tst-fmon.data: Added new tests for strfmon()
10223 using test locales with all combinations of cs_precedes,
10224 sign_posn and sep_by_space.
10225 * localedata/tst-fmon.sh: Updated to support the new tests.
10226 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
10227 the localedef source for the new strfmon() test locale.
10228 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
10229 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
10230 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
10231 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
10232 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
10233 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
10234 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
10235 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
10236 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
10237 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
10238 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
10239 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
10240 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
10241 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
10243 * stdlib/strfmon.c: Correct problems with missing or extra
10244 spaces for unusual combinations of sign_posn and sep_by_space.
10245 Improved left-precision alignment code.
10247 2000-04-07 Andreas Jaeger <aj@suse.de>
10249 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
10251 2000-04-10 Andreas Jaeger <aj@suse.de>
10253 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
10255 2000-04-09 Ulrich Drepper <drepper@redhat.com>
10257 Implement handling of restartable conversion functions according to
10259 * iconv/gconv.h (__gconv_fct): Add additional parameter.
10260 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
10261 * iconv/gconv.c: Pass additional parameter to conversion function.
10262 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
10263 (internal_ucs4le_loop_single): New function.
10264 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
10265 (__gconv_transform_internal_ascii): Likewise.
10266 (__gconv_transform_internal_utf8): Likewise.
10267 (__gconv_transform_utf8_internal): Likewise.
10268 (__gconv_transform_ucs2_internal): Likewise.
10269 (__gconv_transform_internal_ucs2): Likewise.
10270 (__gconv_transform_ucs2reverse_internal): Likewise.
10271 (__gconv_transform_internal_ucs2reverse): Likewise.
10272 (internal_ucs4le_loop_unaligned): Before return
10273 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
10274 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
10275 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
10276 * iconv/loop.c: Fit in definition of function to convert one character
10277 for processing of left-over bytes from the state object.
10278 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
10279 inend to match names in loop functions.
10280 (RESET_INPUT_BUFFER): Change apprpriately.
10281 (gconv): If needed, call function to process bytes from the state
10282 object. Similar at the end: store left over bytes if input is
10284 Take extra argument and add new argument to all calls of the
10285 conversion function.
10286 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
10287 information in the state object to not conflict with length count.
10288 * iconvdata/iso-2022-jp.c: Likewise.
10289 * iconvdata/iso-2022-kr.c: Likewise.
10290 * iconvdata/unicode.c: Adjust for change change in parameters of
10292 * iconvdata/utf-16.c: Likewise.
10293 * libio/iofwide.c: Add new parameter to all calls of conversion
10295 * wcsmbs/btowc.c: Likewise.
10296 * wcsmbs/mbrtowc.c: Likewise.
10297 * wcsmbs/mbsnrtowcs.c: Likewise.
10298 * wcsmbs/mbsrtowcs.c: Likewise.
10299 * wcsmbs/wcrtomb.c: Likewise.
10300 * wcsmbs/wcsnrtombs.c: Likewise.
10301 * wcsmbs/wcsrtombs.c: Likewise.
10302 * wcsmbs/wctob.c: Likewise.
10304 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
10307 2000-04-07 Andreas Jaeger <aj@suse.de>
10309 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
10312 2000-04-07 Ulrich Drepper <drepper@redhat.com>
10314 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
10315 element a union to allow byte access.
10316 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
10318 * iconvdata/iso-2022-jp.c: Likewise.
10319 * iconvdata/iso-2022-kr.c: Likewise.
10320 * wcsmbs/mbsinit.c: Likewise.
10321 * stdlib/mblen.c: Likewise.
10322 * stdio-common/printf-parse.h: Likewise.
10324 2000-04-06 Ulrich Drepper <drepper@redhat.com>
10326 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
10327 kernel does not allow relative seeks on descriptors associated
10328 with directories. Go back to get the position in the directory
10329 every time we enter the function. Return -1 and set errno if one
10330 entry could be read from the kernel but does not fit into the
10331 buffer passed in by the user.
10333 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
10334 Support ..(2).. ellipsis.
10335 (parse_charmap): Recognize ..(2).. etc and pass step down.
10336 Correctly generate names for UCS4 characters.
10338 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
10339 (ctype_finish): We know the wide character value for <SP>,
10341 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
10342 (charclass_ucs4_ellipsis): Likewise.
10343 (read_translit_ignore_entry): Store ellipsis step.
10344 (ctype_read): Recognize ..(2).. etc and pass step down.
10346 * locale/programs/linereader.c (lr_token): When seeing comment
10347 character ignore only rest of line in sources but stop at escaped
10349 Recognize ..(2).. and ....(2).....
10351 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
10352 and tok_ellipsis4_2.
10354 2000-04-06 Andreas Jaeger <aj@suse.de>
10356 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
10357 removed, remove it here also.
10358 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
10359 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
10360 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
10361 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
10363 2000-04-06 Jakub Jelinek <jakub@redhat.com>
10365 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
10366 include bits/sigcontext.h.
10367 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10369 2000-04-06 Ulrich Drepper <drepper@redhat.com>
10371 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
10372 collation symbol definition. Value in quivalence definition must
10373 be defined, don't check that it is not.
10375 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
10376 values as character names.
10378 * locale/programs/ld-ctype.c (get_character): Handle missing
10379 repertoire map correctly.
10381 2000-04-05 Cristian Gafton <gafton@redhat.com>
10383 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
10384 because it is used in generic code.
10385 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
10386 * wcsmbs/wcwidth.h: Declare __ctype32_b.
10387 * intl/gettext.c: Include <locale.h>.
10388 * intl/ngettext.c: Likewise.
10390 2000-04-05 Jakub Jelinek <jakub@redhat.com>
10392 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
10393 socklen_t type for size.
10394 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
10395 init function interface.
10396 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10397 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
10399 (__jmp_buf): Declare the whole type structure here, don't use
10402 2000-04-05 Ulrich Drepper <drepper@redhat.com>
10404 * iconv/skeleton.c (put16u): Fix typo.
10405 Reported by Bruno Haible <haible@ilog.fr>.
10407 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
10408 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
10409 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
10410 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
10411 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
10412 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
10414 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
10415 * Makefile (distribute): Add abi-versions.awk and
10417 Patches by Torsten Duwe <duwe@caldera.de>.
10419 2000-04-05 Andreas Schwab <schwab@suse.de>
10421 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
10423 2000-04-05 Andreas Schwab <schwab@suse.de>
10425 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
10426 entry point, used on Hurd.
10428 2000-04-04 Andreas Jaeger <aj@suse.de>
10430 * intl/Makefile: Only run the gettext test with shared libraries.
10432 2000-03-16 Mark Kettenis <kettenis@gnu.org>
10434 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
10435 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
10437 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
10439 * Makeconfig: Undo last change.
10440 * configure.in: If --disable-shared was given, don't set VERSIONING,
10441 don't define DO_VERSIONING, and don't give scare warning for no
10443 * configure: Regenerated.
10445 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
10447 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
10449 2000-04-04 Andreas Jaeger <aj@suse.de>
10451 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
10453 2000-04-04 Ulrich Drepper <drepper@redhat.com>
10455 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
10456 STV_HIDDEN and STV_INTERNAL during lookup.
10457 (profile_fixup): Likewise.
10458 * elf/dl-reloc.c (RESOLVE): Likewise.
10460 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
10461 unaligned so that it compiles for system which need unaligned
10464 2000-04-04 Andreas Schwab <schwab@suse.de>
10466 * elf/cache.c (print_entry): Only look at the type field when
10469 2000-04-04 Andreas Schwab <schwab@suse.de>
10471 * iconvdata/big5.c (BODY): Fix typo.
10473 2000-04-04 Andreas Schwab <schwab@suse.de>
10475 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
10476 function interface. Remove unused _dl_start_user entry point.
10478 2000-04-03 Andreas Jaeger <aj@suse.de>
10480 * include/arpa/inet.h (__inet_aton): Add protoype.
10482 2000-04-01 Andreas Jaeger <aj@suse.de>
10484 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
10486 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
10487 * sysdeps/mach/mips/thread_state.h: Likewise.
10489 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
10490 * sysdeps/generic/fegetenv.c: Likewise.
10491 * sysdeps/generic/fesetenv.c: Likewise.
10492 * sysdeps/generic/feupdateenv.c: Likewise.
10493 * sysdeps/generic/fraiseexcpt.c: Likewise.
10494 * sysdeps/generic/fsetexcptflg.c: Likewise.
10495 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
10496 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
10497 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10498 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10500 2000-04-02 H.J. Lu <hjl@gnu.org>
10502 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
10504 2000-04-03 Ulrich Drepper <drepper@redhat.com>
10506 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
10507 (add_name_to_object): Add cast in malloc call.
10508 (fillin_rpath): Optimize loop to initialize ->status a bit.
10510 * sysdeps/i386/dl-machine.h: Undo last change.
10511 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
10512 Restore %edx register after call here.
10514 * sysdeps/arm/atomicity.h: New file.
10515 Contributed by Jesper Skov <jskov@redhat.com>.
10517 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
10519 * Makeconfig (preprocess-versions): Undo last change.
10520 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
10522 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
10523 here, before we might move the stack.
10524 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
10525 (init1): And not here.
10527 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
10528 change, to restore argc value in call-clobbered register after
10529 RTLD_START_SPECIAL_INIT, which will contain a call.
10531 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
10532 allocating and initializing L->l_initfini.
10534 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
10536 2000-04-03 Ulrich Drepper <drepper@redhat.com>
10538 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
10539 RUNPATH, RPATH, and LD_LIBRARY_PATH.
10540 (open_path): Change type of fourth parameter. Make pointer to array
10541 of pointers. Create variable dirs with original type.
10542 Track whether any directory for the object exists and if not,
10543 change *DIRSP to (void*) -1 to signal there is no such search path.
10544 (_dl_map_object): Change all calls of open_path.
10545 Rewrite decompose_rpath calls.
10547 2000-03-31 Andreas Schwab <schwab@suse.de>
10549 * string/strfry.c: Declare STATE as array of char instead of int
10550 and do not initialize it (done by initstate_r). Pass correct
10553 2000-04-03 Ulrich Drepper <drepper@redhat.com>
10555 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
10557 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
10558 instruction out of the code.
10560 2000-04-02 Ulrich Drepper <drepper@redhat.com>
10562 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
10563 element at this position.
10565 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
10566 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
10567 l_reldeps elements.
10568 * elf/dl-lookup.c (add_dependency): New function.
10569 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
10570 dynamically loaded object.
10571 (_dl_lookup_symbol_skip): Likewise.
10572 (_dl_lookup_versioned_symbol): Likewise.
10573 (_dl_lookup_versioned_symbol_skip): Likewise.
10574 * elf/dl-open.c: Don't define _dl_load_lock here...
10575 * elf/rtld.c: ...but here...
10576 * elf/dl-support.c: ...and here.
10577 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
10578 through relocation.
10579 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
10581 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
10583 * dlfcn/glrefmain.c: Add one more debug message.
10585 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
10587 * Makerules (sysd-versions): Use ( ) instead of { }.
10589 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
10590 optimize for the non-debugging case.
10591 * elf/dl-lookup.c: Likewise.
10592 * sysdeps/generic/libc-start.c: Likewise.
10594 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
10596 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
10597 (init1): Don't initialize __environ here, since init already does it.
10598 (first_init): New function, broken out of _init.
10599 (_hurd_stack_setup): Use it.
10600 [SHARED] (_dl_init_first): New function, renamed from old _init.
10601 (init1) [SHARED]: Don't call posixland_init here.
10602 (posixland_init): Take ENVP arg, so signature is usual for initializer.
10603 [SHARED] (_init): Define as alias for posixland_init.
10604 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
10605 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
10606 RTLD_START_SPECIAL_INIT before calling initializers.
10607 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
10608 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
10609 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
10610 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
10612 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
10613 since we define the function with the name `tmpfile'.
10615 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
10616 * hurd/Versions: Likewise.
10618 2000-04-02 Ulrich Drepper <drepper@redhat.com>
10620 * elf/dl-runtime.c (fixup): Fix typo in comment.
10622 * resolv/netdb.h (getnameinfo): All length parameters are of type
10624 * inet/getnameinfo.c: Likewise.
10626 2000-04-01 Ulrich Drepper <drepper@redhat.com>
10628 * posix/unistd.h (socklen_t): Define if it has not yet happened.
10629 (gethostname): Change type of second parameter to socklen_t.
10630 * include/unistd.h (__gethostname): Change type of second
10631 parameter to socklen_t.
10632 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
10633 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
10634 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
10635 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
10637 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
10638 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
10639 Allow definition elsewhere.
10640 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
10641 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10642 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
10643 * sysdeps/generic/bits/types.h: Define __socklen_t.
10644 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
10645 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
10646 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10647 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10648 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
10649 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
10650 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
10652 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
10653 (inet_lnaof): Likewise.
10654 (inet_netof): Likewise.
10655 (inet_network): Likewise.
10656 (inet_aton): Likewise.
10657 (inet_makeaddr): Change parameter types to in_addr_t.
10658 (inet_neta): Likewise.
10659 (inet_ntop): Change type of last parameter to socklen_t.
10660 (inet_aton): Only make available if __USE_MISC.
10661 (inet_neta): Likewise.
10662 (inet_net_ntop): Likewise.
10663 (inet_net_pton): Likewise.
10664 (inet_nsap_ntoa): Likewise.
10666 * inet/in.h: Define in_port_t type.
10667 Define in_addr_t type.
10668 (struct in_addr): Use in_addr_t in definition.
10669 (IN_CLASSA): Use cast to in_addr_t.
10670 (IN_CLASSB): Likewise.
10671 (IN_CLASSC): Likewise.
10672 (IN_CLASSD): Likewise.
10673 (IN_EXPERIMENTAL): Likewise.
10674 (IN_BADCLASS): Likewise.
10675 (INADDR_ANY): Likewise.
10676 (INADDR_BROADCAST): Likewise.
10677 (INADDR_NONE): Likewise.
10678 (INADDR_LOOPBACK): Likewise.
10679 (INADDR_UNSPEC_GROUP): Likewise.
10680 (INADDR_ALLHOSTS_GROUP): Likewise.
10681 (INADDR_ALLRTRS_GROUP): Likewise.
10682 (INADDR_MAX_LOCAL_GROUP): Likewise.
10683 (struct sockaddr_in): Use in_port_t for sin_port element.
10684 (struct sockaddr_in6): Use in_port_t for sin6_port element.
10685 Use uint8_t instead of u_int8_t.
10687 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
10688 Call __inet_aton instead of inet_aton.
10689 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
10691 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
10692 (innetgr): Likewise.
10693 (struct addrinfo): Use socklen_t for ai_addrlen element.
10695 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
10696 IPV6_RECVERR): New defines.
10698 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
10699 * inet/getnetbyad.c: Likewise.
10700 * inet/getnetbyad_r.c: Likewise.
10701 * nis/nss_nis/nis-network.c: Likewise.
10702 * nis/nssplus_nis/nisplus-network.c: Likewise.
10703 * nss/nss_files/files-network.c: Likewise.
10704 * resolv/netdb.h: Define uint32_t if not already happened.
10705 Include bits/netdb.h. Remove definition of struct netent.
10706 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
10707 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
10708 * sysdeps/generic/bits/netdb.h: New file.
10709 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
10711 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
10712 (tests): Add glrefmain.
10713 Add rules to build modules and run tests. Ignore result of glrefmain
10714 for now since it fails.
10715 * dlfcn/glrefmain.c: New file.
10716 * dlfcn/glreflib1.c: New file.
10717 * dlfcn/glreflib2.c: New file.
10719 * test-skeleton.c: Include <string.h> for strsignal prototype.
10721 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
10724 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
10725 former init-first.h. Initialize __libc_multiple_libcs.
10727 2000-03-31 Ulrich Drepper <drepper@redhat.com>
10729 * iconv/skeleton.c: Define access macros with u suffix. Adjust
10730 #if expression for use of unaligned function to the one used in
10731 the definition of these functions.
10732 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
10733 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
10734 (internal_ucs4le_loop_unaligned): New function.
10736 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
10737 (tests): Add order.
10738 (module-names): Add dep1, dep2, dep3, and dep4.
10739 Add dependencies for dep* modules and order.
10740 Define rule for order.out which checks the result.
10741 * elf/dep1.c: New file.
10742 * elf/dep2.c: New file.
10743 * elf/dep3.c: New file.
10744 * elf/dep4.c: New file.
10745 * elf/order.c: New file.
10747 * elf/dl-init.c: Fix typo in comment.
10749 2000-03-31 Andreas Jaeger <aj@suse.de>
10751 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
10752 init function interface.
10753 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
10755 2000-03-31 Andreas Jaeger <aj@suse.de>
10757 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
10758 * sysdeps/mips/fpu/fegetenv.c: Likewise.
10759 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
10760 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
10761 * sysdeps/mips/fpu/fesetenv.c: Likewise.
10763 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
10764 anymore, update comment.
10766 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10768 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
10769 SHLIB_COMPAT - the struct is always needed.
10771 2000-03-31 Ulrich Drepper <drepper@redhat.com>
10773 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
10774 * elf/dl-support.c: Define _dl_starting_up.
10776 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10778 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
10779 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
10781 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
10783 * elf/Makefile (dl-routines): Remove preinit.
10784 * elf/Versions: Remove _dl_preinit.
10785 * elf/dl-preinit.c: Removed. Move content into...
10786 * elf/dl-init.c: ...here.
10787 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
10789 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
10792 2000-03-29 Geoff Clare <gwc@unisoft.com>
10794 * stdlib/strfmon.c: Corrected problems with the code that
10795 sets default values for [np]_sep_by_space and
10796 [np]_sign_posn; also the new positive/negative alignment
10797 code from the previous patch was not quite right for
10798 [np]_sign_posn = 0.
10800 * localedata/tst-fmon.data: Changes corresponding to the
10801 two sets of fixes made to stdlib/strfmon.c.
10803 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
10805 * malloc/malloc.c: Declare bit flags UL so that they will not
10806 default to int size when being inverted.
10808 2000-03-29 Andreas Jaeger <aj@suse.de>
10810 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
10811 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
10813 2000-03-29 Andreas Jaeger <aj@suse.de>,
10814 Ralf Baechle <ralf@uni-koblenz.de>
10816 * Makeconfig: Introduce new variable SHARED to mark code used in
10817 the shared library.
10818 * elf/dl-close.c: Use it instead of PIC.
10819 * elf/dl-load.c: Likewise.
10820 * elf/dl-open.c: Likewise.
10821 * hurd/geteuids.c: Likewise.
10822 * include/libc-symbols.h: Likewise.
10823 * include/shlib-compat.h: Likewise.
10824 * libio/freopen.c: Likewise.
10825 * linuxthreads/cancel.c: Likewise.
10826 * linuxthreads/pthread.c: Likewise.
10827 * linuxthreads/wrapsyscall.c: Likewise.
10828 * nss/nsswitch.c: Likewise.
10829 * stdio-common/vfprintf.c: Likewise.
10830 * sysdeps/arm/init-first.c: Likewise.
10831 * sysdeps/i386/init-first.c: Likewise
10832 * sysdeps/generic/init-first.c: Likewise.
10833 * sysdeps/generic/libc-start.c: Likewise.
10834 * sysdeps/mips/init-first.c: Likewise.
10835 * sysdeps/powerpc/elf/libc-start.c: Likewise.
10836 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10837 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
10838 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
10839 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10841 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
10843 2000-03-29 Andreas Jaeger <aj@suse.de>
10845 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
10846 Use D_PTR to access relocated entries in l_info.
10847 (elf_machine_rela): Likewise.
10849 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
10851 (elf_machine_rela): Likewise.
10853 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
10855 (__elf_machine_fixup_plt): Likewise.
10856 (__process_machine_rela): Likewise.
10858 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
10859 (elf_machine_rela): Likewise.
10861 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
10862 (elf_machine_rel): Likewise.
10864 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
10865 (elf_machine_fixup_plt): Likewise.
10866 (elf_machine_rela): Likewise.
10868 2000-03-29 Andreas Jaeger <aj@suse.de>
10870 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
10871 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10872 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10873 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
10874 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10875 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
10876 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
10877 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
10878 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10879 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
10880 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
10881 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
10882 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
10883 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
10884 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10886 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
10887 macros, remove K&R prototypes.
10889 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10891 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
10892 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
10895 2000-03-30 Andreas Jaeger <aj@suse.de>
10897 * misc/sys/cdefs.h: Remove K&R support.
10899 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10901 * iconv/skeleton.c: Avoid compiling unaligned versions in some
10903 * iconv/loop.c: Likewise.
10905 2000-03-29 Bruno Haible <haible@clisp.cons.org>
10907 * iconv/loop.c (put16): Remove __const. Fix access index.
10908 (put32): Remove __const. Use uint32_t instead of uint16_t.
10909 * iconv/skeleton.c: Likewise.
10911 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
10913 * mach/Versions (libc: GLIBC_2.0)
10914 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
10915 __vm_allocate on this.
10916 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
10917 mutex- and spinlock-related symbols on this.
10918 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
10919 New version set. Lock-related symbols go here instead in this case.
10920 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
10921 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
10922 cthread_getspecific, cthread_setspecific, __libc_getspecific.
10924 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
10925 Put them here instead.
10926 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
10927 New version set. Those cthreads symbols go here instead in this case.
10928 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
10930 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10932 * elf/dl-init.c (_dl_init): We don't need to call constructors
10933 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
10935 Implement dynamic determination of constructor/destructor order in
10936 the dynamic linker.
10937 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
10938 (GLIBC_2.2): Add _dl_init.
10939 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
10940 r_duplist is not anymore allocated separately. l_initfini is and
10941 therefore free it if necessary.
10942 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
10943 malloc block. Otherwise allocate l_initfini list only.
10944 Put dependencies for the object in l_initfini list.
10945 Sort dependencies for the object to be loaded topologically.
10946 * elf/dl-fini.c: Before running the destructors sort the topologically.
10947 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
10948 call constructors instead of iterating over the pointers. Get list of
10949 objects for which to run constructors from l_initfini element. Accept
10950 argc, argv, and env as parameters and pass them to the constructors.
10951 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
10952 with size of dynamic section.
10953 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
10954 _dl_init_next and calling constructors ourself.
10955 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
10956 Take argc, argv, and env as parameters and pass them to the
10957 constructors. Rewrite to call all constructors and not iterate over
10959 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
10960 precompute l_initcount and l_preinitcount.
10961 * elf/link.h (struct link_map): Add l_ldnum member.
10962 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
10963 l_initcount, and l_preinitcount. Add l_initfini.
10964 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
10966 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
10967 function interface.
10968 * sysdeps/unix/sysv/linux/init-first.h: Removed.
10969 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
10970 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
10971 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
10972 conventions now match.
10974 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
10975 effect for shared objects. Don't emit message and call only for
10978 2000-03-29 Ulrich Drepper <drepper@redhat.com>
10980 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
10981 CSA_Z243.4-1985-1..UCS2.
10982 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
10985 2000-03-29 Andreas Jaeger <aj@suse.de>
10987 * include/unistd.h: Remove duplicate entry for __rmdir.
10988 Remove declaration of __mkdir since __mkdir is declared in
10991 * manual/creature.texi (Feature Test Macros): Fix typo, reported
10992 by Michael Deutschmann <michael@talamasca.ocis.net>.
10994 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
10995 * sysdeps/mips/fpu/fegetenv.c: Likewise.
10996 * sysdeps/mips/fpu/fesetenv.c: Likewise.
10997 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
10998 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
11000 2000-03-28 Andreas Jaeger <aj@suse.de>
11002 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
11003 declaration, the prototype is defined via bits/mathcalls.h.
11004 (__sincosf): Likewise.
11005 (__sincosl): Likewise.
11007 (ldexpf): Likewise.
11008 (ldexpl): Likewise.
11009 (__finite): Likewise.
11010 (__inline_mathcodeNP): New macro without prototype
11012 (__inline_mathcodeNP2): Likewise.
11013 (__inline_mathcodeNP3): Likewise.
11014 (__inline_mathcodeNP_): Likewise.
11015 (__inline_mathcodeNP2_): Likewise.
11016 (__inline_mathcodeNP3_): Likewise.
11017 (__inline_mathopNP): Likewise.
11018 (__inline_mathop_declNP): Likewise.
11019 (__inline_mathop_declNP_): Likewise.
11020 (__inline_mathcode_): Use __inline_mathcodeNP_.
11021 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
11022 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
11023 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
11024 (__expm1l): Don't define prototype, the prototype is defined via
11027 (__expl): Likewise.
11030 (__atan2l): Likewise.
11035 (__fabsl): Likewise.
11053 (__sqrtl): Likewise.
11063 2000-03-28 Ulrich Drepper <drepper@redhat.com>
11065 * Makerules: If make variable md5 is defined to yes after
11066 generating dependencies generate MD5 sum for the object.
11068 * iconv/gconv_builtin.h: Fix length in transformation definition
11071 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
11073 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
11074 allow as well reading from/writing to unaligned addresses on machines
11075 which don't support this in hardware. Use FCTNAME macro to define
11076 function name. Include the file a second time for platforms which
11077 need special unaligned handling.
11078 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
11079 to access potentially unaligned addresses. These macros are intended
11080 to be used only outside the loops.
11081 (unaligned): New definition. In case the machine can handle unaligned
11082 access define as zero. Otherwise as a variable which is initialized
11083 as nonzero in case the buffer passed in at runtime is unaligned with
11084 respect to the character set encoding involved.
11085 Call aligned or unaligned looop functions according to unaligned
11087 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
11088 of direct casting pointer to potentially handle unaligned memory
11090 * iconvdata/8bit-generic.c: Likewise.
11091 * iconvdata/ansi_x3.110.c: Likewise.
11092 * iconvdata/big5.c: Likewise.
11093 * iconvdata/euc-cn.c: Likewise.
11094 * iconvdata/euc-jp.c: Likewise.
11095 * iconvdata/euc-kr.c: Likewise.
11096 * iconvdata/euc-tw.c: Likewise.
11097 * iconvdata/gbk.c: Likewise.
11098 * iconvdata/iso-2022-cn.c: Likewise.
11099 * iconvdata/iso-2022-jp.c: Likewise.
11100 * iconvdata/iso-2022-kr.c: Likewise.
11101 * iconvdata/iso646.c: Likewise.
11102 * iconvdata/iso_6937-2.c: Likewise.
11103 * iconvdata/iso_6937.c: Likewise.
11104 * iconvdata/johab.c: Likewise.
11105 * iconvdata/sjis.c: Likewise.
11106 * iconvdata/t.61.c: Likewise.
11107 * iconvdata/uhc.c: Likewise.
11108 * iconvdata/unicode.c: Likewise.
11109 * iconvdata/utf-16.c: Likewise.
11111 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
11114 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
11115 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
11117 * malloc/mcheck.h (mcheck_check_all): Declare.
11119 * stdio-common/Makefile (tests): Add tst-obprintf.
11121 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
11123 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
11124 Declare pthread_sigmask.
11126 * csu/version.c: Add 2000 to copyright years.
11127 Remove Emacs local variables section.
11129 2000-03-23 Bruno Haible <haible@clisp.cons.org>
11131 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
11132 __gconv_transform_internal_ucs2little): Remove declarations.
11133 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
11134 __gconv_transform_internal_ucs2): Never need to bswap_16.
11135 (__gconv_transform_ucs2reverse_internal,
11136 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
11138 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
11140 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
11141 obsoleting version not being defined at all, in which case the
11142 result is always true.
11144 * Makeconfig (preprocess-versions): New canned sequence for running
11145 cpp on shlib-versions and the like.
11146 (soversions.i): Use it.
11147 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
11148 Versions.def and Versions files.
11150 2000-03-27 Ulrich Drepper <drepper@redhat.com>
11152 * stdio-common/tst-obprintf.c (main): Add another check to see
11153 obstack_printf handling all possible beginnings of the block
11154 inside an obstack chunk.
11156 * locale/programs/localedef.c: Use __malloc_initialize_hook to
11157 install mcheck handler.
11159 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
11162 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
11164 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
11166 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
11167 on [HAVE_ELF && DO_VERSIONING].
11169 2000-03-27 Ulrich Drepper <drepper@redhat.com>
11171 * stdio-common/tst-obprintf.c: New file.
11173 2000-03-26 Ulrich Drepper <drepper@redhat.com>
11175 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
11176 _IO_OVERFLOW directly instead through __overflow.
11178 * locale/programs/localedef.c (construct_output_path): If path
11179 contains a / compute the end of the directory name correctly.
11181 * include/features.h: Undef and document __USE_XOPEN2K.
11183 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
11184 whenever a function is called. Initiated by calling mcheck_pedantic
11186 * malloc/mcheck.h: Declare mcheck_pedantic.
11187 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
11188 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
11191 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
11193 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
11194 * dlfcn/dlopenold.c: Likewise.
11195 * nss/getXXbyYY_r.c: Likewise.
11196 * nss/getXXent_r.c: Likewise.
11197 * hurd/hurdinit.c: Likewise.
11198 * hurd/compat-20.c: Likewise.
11199 * libio/oldiofopen.c: Likewise.
11200 * libio/oldiofclose.c: Likewise.
11201 * libio/oldiofdopen.c: Likewise.
11202 * libio/oldfileops.c: Likewise.
11203 * libio/oldstdfiles.c: Likewise.
11204 * libio/oldiofsetpos.c: Likewise.
11205 * libio/oldiofgetpos.c: Likewise.
11206 * libio/oldiofgetpos64.c: Likewise.
11207 * libio/oldiofsetpos64.c: Likewise.
11208 * libio/oldiopopen.c: Likewise.
11209 * libio/oldpclose.c: Likewise.
11210 * libio/oldtmpfile.c: Likewise.
11211 * libio/freopen.c (freopen): Likewise.
11212 * libio/iofclose.c (_IO_new_fclose): Likewise.
11214 * sysdeps/mach/sys/reboot.h: Include <features.h>.
11215 (reboot): Declare it.
11217 * libio/Makefile (headers): Add bits/stdio-lock.h here.
11219 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
11221 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
11223 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
11224 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
11225 We need this for the sbrk decl, which can be included without Unix98.
11227 2000-03-20 Richard Henderson <rth@cygnus.com>
11229 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
11230 argument to yperr2nss is an int, not size_t.
11231 * posix/regex.c (print_partial_compiled_pattern): Cast all
11232 ptrdiff_t to long for printing.
11233 (print_compiled_pattern): Use Z for printing size_t.
11234 * posix/testfnm.c (tests): Avoid trigraphs.
11235 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
11236 Use a C comment, not an assembly comment.
11238 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
11239 of __ASSUME_32BITUIDS.
11241 2000-03-26 Ulrich Drepper <drepper@redhat.com>
11243 * libio/iofopncook.c: Remove K&R prototypes.
11245 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
11247 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
11248 an initial value of 1024 instead of RLIM_INFINITY.
11250 * Versions.def (libmachuser, libhurduser): Remove these sections,
11251 since these libraries do not presently use symbol versions.
11253 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
11254 is RLIM_INFINITY, return -1 instead.
11256 2000-03-24 Andreas Jaeger <aj@suse.de>
11258 * Makefile (postclean): Added soversions.i.
11260 2000-03-24 Scott Bambrough <scottb@netwinder.org>
11262 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
11263 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
11264 and _FPU_IEEE. Change _FPU_RESERVED.
11266 2000-03-24 Scott Bambrough <scottb@netwinder.org>
11268 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
11270 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
11272 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
11273 (gaih_inet): Remove unused duplicate variable.
11275 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
11276 Don't use __libc_sa_len, which only exists for Linux. Just handle
11277 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
11278 only flavors supported by this function anyway.
11280 2000-03-24 Geoff Clare <gwc@unisoft.com>
11282 * stdlib/strfmon.c: Corrected problems with missing signs and
11283 missing or extra spaces; allow for sign strings longer than
11284 one character; add padding to ensure positive and negative
11285 formats are aligned when a left precision is used.
11287 2000-03-26 Ulrich Drepper <drepper@redhat.com>
11289 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
11290 Patch by John Mizel <John.Mizel@msdw.com>.
11292 2000-03-25 Ulrich Drepper <drepper@redhat.com>
11294 * manual/install.texi: Remove references to crypt add-on.
11296 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
11298 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
11299 section while taking the _hurd_rlimit_lock.
11300 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
11302 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
11304 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
11307 * sysdeps/mach/hurd/if_index.c: New file.
11309 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
11310 * sysdeps/gnu/net/if.h: here.
11311 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
11312 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
11313 * sysdeps/generic/net/if.h: New file. Declares just the standard
11314 functions and `struct if_nameindex' type.
11315 * socket/Makefile (headers): Add net/if.h here.
11316 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
11317 * sysdeps/mach/hurd/Dist: Remove it here.
11318 * sysdeps/unix/sysv/linux/Dist: And here.
11319 * sysdeps/generic/if_index.c: Include <net/if.h>.
11321 2000-03-24 Andreas Jaeger <aj@suse.de>
11323 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
11324 access relocated entries in l_info.
11325 (elf_machine_got_rel): Likewise.
11326 (elf_machine_runtime_setup): Likewise.
11327 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
11328 (elf_machine_runtime_setup): Likewise.
11329 (__dl_runtime_resolve): Likewise.
11331 2000-03-23 Ulrich Drepper <drepper@redhat.com>
11333 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
11334 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
11335 according to RFC 2553.
11336 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
11337 * inet/getnameinfo.c: Likewise.
11338 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
11340 2000-03-23 Bruno Haible <haible@clisp.cons.org>
11342 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
11343 Remove no-op pointer increment.
11345 2000-03-23 Andreas Jaeger <aj@suse.de>
11347 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
11348 follow change for libio.h from 2000-03-10.
11350 2000-03-23 Andreas Jaeger <aj@suse.de>
11352 * elf/dl-addr.c: Adjust include paths for ldsodefs location
11354 * elf/dl-debug.c: Likewise.
11355 * elf/dl-deps.c: Likewise.
11356 * elf/dl-error.c: Likewise.
11357 * elf/dl-fini.c: Likewise.
11358 * elf/dl-init.c: Likewise.
11359 * elf/dl-load.c: Likewise.
11360 * elf/dl-lookup.c: Likewise.
11361 * elf/dl-minimal.c: Likewise.
11362 * elf/dl-object.c: Likewise.
11363 * elf/dl-open.c: Likewise.
11364 * elf/dl-preinit.c: Likewise.
11365 * elf/dl-profile.c: Likewise.
11366 * elf/dl-profstub.c: Likewise.
11367 * elf/dl-reloc.c: Likewise.
11368 * elf/dl-runtime.c: Likewise.
11369 * elf/dl-support.c: Likewise.
11370 * elf/dl-symbol.c: Likewise.
11371 * elf/dl-version.c: Likewise.
11372 * elf/rtld.c: Likewise.
11373 * elf/sprof.c: Likewise.
11374 * sysdeps/generic/dl-cache.c: Likewise.
11375 * sysdeps/generic/dl-origin.c: Likewise.
11376 * sysdeps/generic/dl-sysdep.c: Likewise.
11377 * sysdeps/generic/elf/backtracesyms.c: Likewise.
11378 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11379 * sysdeps/generic/libc-start.c: Likewise.
11380 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11381 * sysdeps/powerpc/dl-machine.c: Likewise.
11382 * sysdeps/powerpc/elf/libc-start.c: Likewise.
11383 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11384 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11385 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
11387 * elf/ldsodefs.h: Move file to ...
11388 * sysdeps/generic/ldsodefs.h: ... here.
11390 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
11392 * sysdeps/mips/elf/ldsodefs.h: New file.
11394 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
11396 (_dl_check_map_versions): Likewise.
11397 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11398 * elf/dl-load.c (_dl_init_paths): Likewise.
11399 (_dl_map_object): Likewise.
11400 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
11401 (elf_get_dynamic_info): Likewise.
11402 * elf/do-lookup.h (FCT): Likewise.
11403 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
11404 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11405 * elf/dl-addr.c (_dl_addr): Likewise.
11406 * elf/dl-runtime.c (profile_fixup): Likewise.
11408 * elf/dl-init.c (_dl_init_next): Likewise.
11409 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
11410 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
11411 (DISTINGUISH_LIB_VERSIONS): Likewise.
11412 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
11413 (elf_machine_rel): Likewise.
11415 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
11416 for writable dynamic section.
11418 2000-03-22 Ulrich Drepper <drepper@redhat.com>
11420 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
11421 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
11423 2000-03-22 Andreas Jaeger <aj@suse.de>
11425 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
11426 from latest Linux kernel.
11428 2000-03-21 Andreas Jaeger <aj@suse.de>
11430 * Versions.def: Add version 2.1.4.
11432 2000-03-21 Ulrich Drepper <drepper@redhat.com>
11434 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
11435 * libio/oldiofopen.c: Likewise.
11436 * libio/oldiofclose.c: Likewise.
11437 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
11439 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
11441 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
11442 indicating the first version set to obsolete the conditionalized code.
11443 (compat_symbol): New macro.
11444 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
11445 rhs be the ABI_* macro for the subsuming version. Assign increasing
11446 integer values to the ABI_* macros for supported versions.
11447 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
11448 compat_symbol macro.
11450 2000-03-21 Ulrich Drepper <drepper@redhat.com>
11452 * nscd/connections.c (nscd_run): Pretty print.
11453 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
11455 * manual/charset.texi: Fix typos. Rephrase.
11456 * manual/process.texi: Likewise.
11457 * manual/signal.texi: Likewise.
11458 Patches by Mike Coleman <mkc@kc.net>.
11460 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
11462 * libio/iofdopen.c: Likewise.
11463 * libio/iofgetpos.c: Likewise.
11464 * libio/iofgetpos64.c: Likewise.
11465 * libio/iofopen.c: Likewise.
11466 * libio/iofsetpos.c: Likewise.
11467 * libio/iofsetpos64.c: Likewise.
11468 * libio/iopopen.c: Likewise.
11469 * libio/oldiofopen.c: Likewise.
11470 * libio/pclose.c: Likewise.
11471 * sysdeps/gnu/siglist.c: Likewise.
11472 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
11474 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
11475 chance to expand VERSION_##lib##_##version.
11477 * libio/fileops.c: Use new macros from shlib-compat.h to define
11479 * libio/iofclose.c: Likewise.
11480 * libio/oldiofclose.c: Likewise.
11481 Patch by Roland McGrath <roland@frob.com>.
11483 2000-03-21 Jakub Jelinek <jakub@redhat.com>
11485 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
11486 Lay out struct sigcontext according to what really gets passed on
11488 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
11489 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
11490 (prgregset_t, prfpregset_t): Define to elf_* types.
11491 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
11492 Define to correct value.
11493 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
11495 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
11497 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
11499 * scripts/firstversions.awk: Allow multiple version sets in the
11500 "earliest version" specification, meaning that version sets in the
11501 gaps between listed versions should be folded into the earliest later
11502 version that is explicitly listed.
11503 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
11504 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
11506 2000-03-21 Ulrich Drepper <drepper@redhat.com>
11508 * iconv/gconv_builtin.c: Include <endian.h>.
11509 * iconv/gconv_builtin.h: Add UCS-BE aliases.
11510 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
11511 according to current platform.
11512 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
11513 __gconv_transform_internal_ucs2reverse, and
11514 __gconv_transform_internal_ucs4le.
11515 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
11516 __gconv_transform_ucs2reverse_internal and
11517 __gconv_transform_internal_ucs2reverse.
11518 * iconvdata/Makefile (modules): Add UNICODE.
11519 (distribute): Add unicode.c.
11520 * iconvdata/gconv-modules: Add definitions for UNICODE module.
11521 * iconvdata/unicode.c: New file.
11523 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
11524 determine byte order of input and convert accordingly.
11526 * iconvdata/utf-16.c (gconv_init): Fix typo.
11528 2000-03-20 Ulrich Drepper <drepper@redhat.com>
11530 * iconvdata/gconv-modules: Fix typo.
11532 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
11535 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
11537 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
11539 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
11541 2000-03-20 Ulrich Drepper <drepper@redhat.com>
11543 * misc/Makefile (routines): Add mincore.
11545 2000-03-20 Andreas Jaeger <aj@suse.de>
11547 * sysdeps/generic/mincore.c: New stub file.
11549 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
11550 from latest Linux kernel.
11552 2000-03-20 Ulrich Drepper <drepper@redhat.com>
11554 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
11555 _SC_GETPW_R_SIZE_MAX.
11557 2000-03-20 Richard Henderson <rth@cygnus.com>
11559 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
11562 2000-03-20 Richard Henderson <rth@cygnus.com>
11564 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
11565 of arithmetic instructions.
11567 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
11568 with the fpcr. Protect from INV exception.
11569 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
11570 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
11571 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
11573 * sysdeps/alpha/fpu/s_copysign.c: New.
11574 * sysdeps/alpha/fpu/s_copysignf.c: New.
11575 * sysdeps/alpha/fpu/s_fabs.c: New.
11576 * sysdeps/alpha/fpu/s_fabsf.c: New.
11577 * sysdeps/alpha/fpu/s_rint.c: New.
11578 * sysdeps/alpha/fpu/s_rintf.c: New.
11580 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
11582 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
11584 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
11585 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
11586 Use physical addresses not KSEG addresses.
11587 (io_system): Add PYXIS.
11588 (io): Remove hae.reg, sys, hae_shift.
11589 (stb_mb, stw_mb, stl_mb, __sethae): New.
11590 (inline_outb, inline_outw, inline_outl): Don't set hae.
11591 (inline_inb, inline_inw, inline_inl): Likewise.
11592 (dense_sethae): New null function.
11593 (struct cpuinfo_data): New.
11594 (process_cpuinfo): Use local and stack variables, not static.
11595 Move readlink check here from init_iosys.
11596 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
11598 (_hae_shift): Calculate it here.
11599 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
11600 add pciconfig_iobase.
11602 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
11604 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
11605 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
11607 * scripts/versions.awk: Fixed version renaming code to distinguish
11608 libraries properly.
11610 2000-03-19 Ulrich Drepper <drepper@redhat.com>
11612 * include/stdlib.h: Add prototype for __cxa_atexit.
11614 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
11615 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
11617 2000-03-17 Cristian Gafton <gafton@redhat.com>
11619 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
11620 existing rtld-installed-name.
11621 ($(rtld-installed-name)): Request libc-$(version) be installed too.
11622 replace existing rtld-installed-name using $(symbolic-link-prog).
11624 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
11626 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
11627 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
11628 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
11629 but not the former.
11631 2000-03-19 Ulrich Drepper <drepper@redhat.com>
11633 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
11634 glob64. Since there is no glob64 in the LFS proposal applications
11635 can assume that glob handles LFS situations. glob64 is only needed
11636 if alternative filesystem functions are used.
11638 2000-03-19 Geoff Clare <gwc@unisoft.com>
11640 * sysdeps/generic/glob.c: Correct gl_pathc value returned
11641 when GLOB_DOOFFS is set; correct handling of patterns
11642 containing escaped wildcards (and no unescaped ones);
11643 GLOB_ERR flag was being ignored in some situations.
11645 * posix/globtest.c, posix/globtest.sh: Updated to include
11646 tests for the problems fixed by the above changes to glob.c.
11648 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
11650 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
11652 * Makeconfig (soversion.i): Use only first match for each lib.
11654 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
11656 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
11657 rather than $(sysd-dirs-done) to protect these rules.
11659 * Makerules (version-renames.def): Target removed.
11660 (Versions.all): Depend on soversions.i directly and parse it.
11662 * Makeconfig (soversions.i): New target, input-reading parts of
11663 soversions.mk generation moved here; result is a canonicalized
11664 list "LIB VERSION [SET]" for this configuration.
11665 (soversions.mk): Use that as input. Don't emit map-firstversions.
11666 * Makerules (version-renames.def): New target, generated from
11667 soversions.i with contents that was in $(map-firstversions).
11668 (Versions.all): Don't depend on soversions.mk, depend on
11669 version-renames.def instead; just cat it into the input.
11671 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
11672 for $(map-firstversions), which better handles it being empty.
11674 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
11675 supported version for libc 0.2.90.libio to GLIBC_2.2.
11677 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
11678 and use it to emit new variable `map-firstversions'.
11679 * scripts/firstversions.awk: New file.
11680 * Makerules (Versions.all): Use scripts/firstversions.awk and
11681 the $(map-firstversions) value to generate a modified versions list
11682 that includes renames in "A = B" syntax for each version set earlier
11683 than the "earliest symbol version" named in shlib-versions.
11684 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
11685 rename version set A to B in the output to the intermediate file.
11686 * scripts/abi-versions.awk: New file.
11687 * Makerules (abi-versions.h): New target, generated by that script.
11688 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
11689 * include/shlib-compat.h: New file, uses that generated header.
11691 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
11693 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
11694 after stripping # comments, and then run it through cpp.
11695 This allows things like "%ifdef FOO" based on config.h settings.
11696 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
11698 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
11699 and other errors that indicate a pseudo-receive happened, grok through
11700 the message buffer for port rights that need references fixed up.
11702 2000-03-16 Andreas Jaeger <aj@suse.de>
11704 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
11706 * sysdeps/unix/sysv/linux/madvise.c: Remove.
11708 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
11709 from latest Linux kernel.
11710 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
11712 * misc/sys/mman.h: Add prototype for mincore.
11714 2000-03-17 Ulrich Drepper <drepper@redhat.com>
11716 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
11717 entry for GLIBC_2.0 version of setrlimit.
11718 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
11720 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
11722 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
11723 * nis/nss_compat/compat-initgroups.c: Likewise.
11724 * nis/nss_nis/nis-initgroups.c: Likewise.
11725 * nis/nss_nis/nis-netgrp.c: Likewise.
11726 * nis/nss_nis/nis-proto.c: Likewise.
11727 * nis/nss_nis/nis-rpc.c: Likewise.
11728 * nis/nss_nis/nis-service.c: Likewise.
11729 * nis/ypclnt.c: Likewise.
11731 2000-03-16 Andreas Jaeger <aj@suse.de>
11733 * manual/Makefile: MAKEINFO is set to `:' from configure if it
11734 doesn't exist, correct checks. Fixes PR libc/1649.
11736 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
11738 * nscd/hstcache.c: Restore correct UID.
11739 * nscd/pwdcache.c: Likewise.
11740 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
11742 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
11744 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
11745 macros for register names, in line with 2000-03-14 linux change.
11747 * sysdeps/mach/sched_yield.c: New file.
11749 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
11751 * sysdeps/generic/lockfile.c: Include <stdio.h>
11752 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
11753 case <libio.h> defined them.
11754 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
11756 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
11757 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
11759 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
11760 for more pleasing parse error.
11762 2000-03-16 Ulrich Drepper <drepper@redhat.com>
11764 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
11766 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
11768 * elf/Makefile: Add rules to compile and run constload1 test.
11769 * elf/constload1.c: New file.
11770 * elf/constload2.c: New file.
11771 * elf/constload3.c: New file.
11773 2000-03-15 Ulrich Drepper <drepper@redhat.com>
11775 * sysdeps/posix/open64.c: Make __open64 weak alias.
11776 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
11777 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
11778 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
11779 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11780 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
11781 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
11782 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
11783 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
11784 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11785 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
11787 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11789 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
11790 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
11792 2000-03-16 Mark Kettenis <kettenis@gnu.org>
11794 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
11795 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
11797 2000-03-08 Andreas Jaeger <aj@suse.de>
11799 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
11801 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11803 * timezone/africa: Update from tzdata2000d.
11804 * timezone/asia: Likewise.
11805 * timezone/australasia: Likewise.
11806 * timezone/europe: Likewise.
11807 * timezone/northamerica: Likewise.
11808 * timezone/southamerica: Likewise.
11810 * po/fr.po: Update from translation team.
11811 * po/de.po: Likewise.
11813 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
11814 last parameter. Move code to add map to global scope from here...
11815 * elf/dl-open.c (dl_open_worker): ...here.
11816 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
11817 * elf/rtld.c: Adjust call to _dl_map_object_deps.
11819 * locale/programs/ld-collate.c (collate_read): Fix warning.
11821 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
11822 values and macros for register names.
11824 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
11825 returned by seek cookie function is -1.
11827 2000-03-14 Andreas Jaeger <aj@suse.de>
11829 * locale/localeconv.c (localeconv): Fix typo.
11830 Reported by Andre Charbonneau <andrec@corel.com>.
11832 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11834 * iconv/skeleton.c: Increment __invocation_counter in inner loop
11835 since modules depend on it counting the number of times the conversion
11836 function got called.
11838 * iconv/gconv_open.c: Optimize loop to setup step data structure.
11840 * iconv/gconv.h: Pretty print.
11842 2000-03-04 Ulrich Drepper <drepper@redhat.com>
11844 * posix/wordexp-test.c: Correct one of the tests added in the last
11845 change. Really get the root passwd entry to check again ~root.
11847 2000-03-10 Andreas Jaeger <aj@suse.de>
11849 * manual/filesys.texi (Working Directory): Fix last patch.
11850 Patch by Martin Buchholz <martin@xemacs.org>.
11852 2000-03-10 Andreas Jaeger <aj@suse.de>
11854 * manual/creature.texi (Feature Test Macros): Fix language.
11856 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
11858 * mach/devstream.c (devstream_write, devstream_read): New functions.
11859 (input, output): Functions removed.
11860 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
11861 using only the vanilla fopencookie interface.
11863 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
11864 as macro for __io_functions.
11865 (funcsio): Use cookie_io_functions_t type name.
11866 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
11868 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
11870 (fopencookie): Use it.
11871 * libio/libio.h: Declare _IO_cookie_init.
11872 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
11875 * libio/libio.h (__io_seek_fn): Fix second argument type
11876 to be a pointer, in line with the manual and the old stdio.
11877 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
11879 * sysdeps/generic/bits/stdio-lock.h: New file.
11880 This is a stub with #error, but that's better than no file at all.
11882 2000-03-09 Martin Buchholz <martin@xemacs.org>
11884 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
11885 * manual/message.texi (Using gettextized software): Doc Fixes.
11886 * manual/message.texi (Message Translation): Doc Fixes.
11887 * manual/filesys.texi (File Size): Doc Fixes.
11888 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
11889 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
11890 * iconv/gconv_db.c (find_derivation): Doc Fixes.
11891 * manual/install.texi: Doc Fixes.
11892 * manual/search.texi (Hash Search Function): Doc Fixes.
11893 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
11894 * FAQ.in: Doc Fixes.
11895 * config.h.in: Doc Fixes.
11896 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
11897 Doc Fixes. `allows to' is not correct English.
11899 * elf/rtld.c: Doc fixes.
11900 * manual/creature.texi (Feature Test Macros): Doc fixes.
11901 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
11903 * manual/filesys.texi (Working Directory): Check for ERANGE to
11906 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
11908 * string/argz-stringify.c (__argz_stringify): Fix loop termination
11909 conditions so as not to clobber the final '\0' when there is only one
11910 element in the vector.
11912 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
11914 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
11915 broken by 2000-02-27 change.
11917 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
11919 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
11921 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
11922 argument type, for 2000-02-22 change in signal/signal.h declaration.
11924 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
11926 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
11927 to getdirentries64 (no __), since the Linux implementation
11928 has no __ name, and there is no declaration for the __ name.
11930 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
11932 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
11933 sed regexp so as not to break directory names including /../ within.
11935 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
11936 The sysdeps/generic file is right for BSD. This file was in fact the
11937 Hurd file, but the only difference was the WNOREAP flag that was never
11938 actually implemented or used anywhere.
11940 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
11941 since AC_PATH_PROG already does it for us.
11942 (PERL): Rewrite check added in 2000-02-29 change for syntactic
11943 correctness and sh portability. I replaced the broken check
11944 with a more sensible implementation of the apparently intended
11945 semantics, which might still be questionable. Using expr causes
11946 a non-numeric value for `perl -V:apiversion` to be accepted,
11947 refusing to use only a perl that reports a number less than 5;
11948 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
11949 * configure: Regenerated.
11951 2000-03-08 Andreas Jaeger <aj@suse.de>
11953 * manual/crypt.texi: Fix paths.
11955 2000-03-07 Andreas Jaeger <aj@suse.de>
11957 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
11959 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
11962 2000-03-06 Andreas Jaeger <aj@suse.de>
11964 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
11965 in __sgn1l, otherwise g++ fails to parse this.
11966 Reported by Sean Chen <sean.chen@turbolinux.com>.
11968 2000-03-03 Geoff Keating <geoffk@cygnus.com>
11970 * configure.in: Compute sizeof-long-double.
11971 * configure: Regenerated.
11972 * config.make.in: Make sizeof-long-double available to sub-makes.
11974 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
11976 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
11979 2000-03-03 Geoff Keating <geoffk@cygnus.com>
11981 * Makeconfig (rpath-dirs): Add crypt.
11982 (all-subdirs): Remove md5crypt.
11983 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
11984 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
11985 * sysdeps/generic/crypt-entry.c: Delete.
11986 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
11987 * sysdeps/generic/crypt.h: Delete.
11988 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
11989 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
11990 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
11991 * sysdeps/generic/des_impl.c: Delete.
11992 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
11993 * crypt/sysdeps: Delete.
11994 * crypt/crypt_util.c: Don't use `patchlevel.h'.
11995 * md5-crypt/Versions: Move to crypt/.
11996 * md5-crypt/md5-crypt.c: Move to crypt/.
11997 * md5-crypt/md5.c: Move to crypt/.
11998 * md5-crypt/md5c-test.c: Move to crypt/.
11999 * md5-crypt/md5test.c: Move to crypt/.
12000 * md5-crypt: Delete.
12001 * crypt/Makefile: Adjust for new structure.
12003 2000-03-03 Paul Eggert <eggert@twinsun.com>
12005 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
12006 define to 1 if not defined.
12008 2000-03-03 Andreas Jaeger <aj@suse.de>
12010 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
12012 2000-03-03 Andreas Jaeger <aj@suse.de>
12014 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
12016 (xdr_int64_t): Correctly handle lower half.
12017 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
12019 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
12021 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
12024 2000-03-02 Andreas Jaeger <aj@suse.de>
12026 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
12029 2000-03-02 Andreas Jaeger <aj@suse.de>
12031 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
12033 2000-03-01 Andreas Jaeger <aj@suse.de>
12035 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
12036 (tests): Added tst-getdate.
12038 * time/tst-getdate.c: New file.
12040 * time/datemsk: New file, needed for tst-getdate.
12042 2000-02-29 Cristian Gafton <gafton@redhat.com>
12044 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
12046 2000-02-17 H.J. Lu <hjl@gnu.org>
12048 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
12050 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
12052 (svcudp_recv): Set up message with the new "xp_pad" field for
12054 (svcudp_reply): Support IP_PKTINFO if available.
12056 2000-03-01 Andreas Jaeger <aj@suse.de>
12058 * time/getdate.c (check_mday): Fix check for february.
12059 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
12060 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
12062 2000-03-02 Andreas Jaeger <aj@suse.de>
12064 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
12065 g++ fails to parse this.
12066 Reported by Sean Chen <sean.chen@turbolinux.com>.
12068 2000-02-28 Ulrich Drepper <drepper@redhat.com>
12070 * io/creat.c: Moved to...
12071 * sysdeps/generic/creat.c: ...here.
12072 * io/creat64.c: Moved to...
12073 * sysdeps/generic/creat64.c: ...here.
12074 * io/lockf.c: Moved to...
12075 * sysdeps/generic/lockf.c: ...here.
12077 * crypt/crypt.texi: Moved to...
12078 * manual/crypt.texi: ...here.
12079 * crypt/examples/genpass.c: Moved to...
12080 * manual/examples/genpass.c: ...here.
12081 * crypt/examples/mygenpass.c: Moved to...
12082 * manual/examples/mygenpass.c: ...here.
12083 * crypt/examples/testpass.c: Moved to...
12084 * manual/examples/testpass.c: ...here.
12086 * manual/Makefile (chapters): Add crypt.
12087 * manual/conf.texi: Add usual header for not-last chapter.
12088 * manual/crypt.texi: Add special header for last chapter.
12090 2000-02-28 Geoff Keating <geoffk@cygnus.com>
12092 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
12093 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
12094 complain if there is no crypt add-on.
12095 * crypt/configure: Removed.
12097 * crypt/crypt.texi: Update documentation of US export restrictions
12098 to match the 14 Jan 2000 regulations.
12100 2000-02-28 Geoff Keating <geoffk@cygnus.com>
12102 * crypt: New subdirectory, merged in from the crypt add-on.
12104 2000-02-28 Ulrich Drepper <drepper@redhat.com>
12106 * include/unistd.h: Add __rmdir and __mkdir prototypes.
12109 See ChangeLog.10 for earlier changes.