1 2001-07-25 Jakub Jelinek <jakub@redhat.com>
3 * elf/Makefile (routines): Add dl-iteratephdr and
5 (elide-routines.os): Add dl-iteratephdr-static.
6 * elf/dl-iteratephdr.c: New file.
7 * elf/link.h (struct dl_phdr_info): New definition.
8 (dl_iterate_phdr): New prototype.
9 * elf/Versions (dl_iterate_phdr): Add at GLIBC_2.2.4.
10 * include/link.h (struct dl_phdr_info): New definition.
11 (dl_iterate_phdr, __dl_iterate_phdr): New prototypes.
12 * sysdeps/generic/dl-iteratephdr-static.c: New file.
13 * sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: New file.
15 2001-07-24 Igor Khavkine <i_khavki@alcor.concordia.ca>
17 * hurd/hurdsig.c (_hurdsig_init): Fix incorrect initialization
20 2001-06-22 Jakub Jelinek <jakub@redhat.com>
22 * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
23 gaps below main executable.
25 2001-07-22 Bruno Haible <haible@clisp.cons.org>
27 * intl/libintl.h (ngettext, dngettext, dcngettext): Use both msgid1
28 and msgid2 for printf format argument checking.
30 2001-07-24 Ulrich Drepper <drepper@redhat.com>
32 * iconv/gconv_cache.c (find_module): Don't allocate room for the
33 filename. Use alloca, we don't need it beyond this function.
34 (__gconv_release_cache): New function.
35 * iconv/gconv_db.c (__gconv_close_transform): Call
36 __gconv_release_cache after the steps are handled.
37 * iconv/gconv_dl.c (__gconv_find_shlib): Allocate file name in the
39 * iconv/gconv_int.h: Add prototype fpr __gconv_release_cache.
41 * iconv/gconv_cache.c (__gconv_lookup_cache): Catch one more
42 boundary case and reject it.
44 2001-07-24 Andreas Jaeger <aj@suse.de>
46 * manual/examples/longopt.c (main): Fix which options take arguments.
48 2001-07-24 Ulrich Drepper <drepper@redhat.com>
50 * iconvdata/Makefile: Add dependencies for tst-loading test.
52 2001-07-24 Andreas Jaeger <aj@suse.de>
54 * iconv/iconvconfig.c (name_insert): Make static to avoid warning.
56 2001-07-23 Ulrich Drepper <drepper@redhat.com>
58 * locale/programs/locale.c (write_locales): Disable implicit
59 locking for the stream. Use feof_unlocked instead of feof.
61 * sysdeps/unix/sysv/linux/i386/makecontext.S: Initialize %fs, %gs,
62 and floating-point status as well.
64 * libio/iofclose.c (_IO_new_fclose): Unlink descriptor first to
66 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
67 * libio/genops.c (_IO_un_link): Get stream lock since it's not
68 always done in the caller.
69 (_IO_link_in): Likewise.
71 * libio/genops.c (_IO_list_all_stamp): New variable.
72 (_IO_un_link): Bump _IO_list_all_stamp after removing from list.
73 (_IO_link): Likewise for insertion.
74 (flush_cleanup): New function.
75 (_IO_flush_all): Get list_all_lock and all individual locks for the
76 streams. Detect and handle changes to the _IO_list_all list.
77 (_IO_flush_all_linebuffered): Likewise.
78 * sysdeps/generic/bits/stdio-lock.h: Define
79 _IO_cleanup_region_start_noarg.
80 * sysdeps/mach/hurd/bits/stdio-lock.c: Likewise.
82 * stdio-common/printf.h: Fix typo in comment.
84 * iconv/gconv_cache.c (__gconv_lookup_cache): Handle encoding from
86 * iconv/iconvconfig.c: Create a special record for the INTERNAL
87 encoding name in the output file.
89 2001-07-23 Jakub Jelinek <jakub@redhat.com>
91 * sunrpc/svc_tcp.c (svctcp_rendezvous_abort): New function.
92 (svctcp_rendezvous_op): Use it.
93 * sunrpc/svc_unix.c (svcunix_rendezvous_abort): New function.
94 (svcunix_rendezvous_op): Use it.
96 2001-07-23 Andreas Schwab <schwab@suse.de>
98 * math/Makefile (CPPFLAGS-test-ifloat.c, CPPFLAGS-test-idouble.c,
99 CPPFLAGS-test-ildoubl.c): Renamed from CFLAGS-*.
100 (math-CPPFLAGS): Set this instead of CPPFLAGS.
102 2001-07-23 Ulrich Drepper <drepper@redhat.com>
104 * elf/elf.h: Add more definitions from Sun's latest version.
106 2001-07-23 Stephen L Moshier <moshier@mediaone.net>
108 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Return proper
109 sign for 0 input and set divide by zero exception for -1 input.
110 Return argument if NaN or infinity.
112 2001-07-23 Andreas Jaeger <aj@suse.de>
114 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add some deltas.
116 2001-07-23 Ulrich Drepper <drepper@redhat.com>
118 * iconv/gconv_cache.c (__gconv_lookup_cache): Select correct
119 module for conversion direction.
121 2001-07-23 Stephen L Moshier <moshier@mediaone.net>
123 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Return proper
124 sign for 0 input. Return NaN with no exception for NaN input.
126 2001-07-23 Ulrich Drepper <drepper@redhat.com>
128 * iconv/gconv_builtin.h: ISO-106464/UTF-8/ transformation must
131 2001-07-23 Andreas Jaeger <aj@suse.de>
133 * iconv/iconvconfig.c: Include <sys/cdefs.h> and use
134 __attribute_malloc__ for older GCC versions.
135 * iconv/strtab.c: Likewise.
136 Add prototypes to avoid warnings.
138 2001-07-22 Roland McGrath <roland@frob.com>
140 * hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND
141 and SA_NODEFER options. Spurred to action by Igor Khavkine.
143 * sysdeps/generic/bits/sigaction.h [__USE_UNIX98 || __USE_MISC]
144 (SA_NODEFER, SA_RESETHAND): New macros, same bit values as FreeBSD.
145 [__USE_MISC] (SA_INTERRUPT): New macro, value 0.
146 [__USE_MISC] (SA_NOMASK, SA_ONESHOT, SA_STACK): New macros, aliases
147 as in other sysdeps versions of this file.
149 * sysdeps/generic/bits/sigaction.h (struct sigaction): Use a union
150 and provide sa_handler and sa_sigaction member names as macros, as
151 done in other sysdeps versions of this file.
152 Suggested by Igor Khavkine <i_khavki@alcor.concordia.ca>.
154 2001-07-23 Ulrich Drepper <drepper@redhat.com>
156 * posix/regex.c: Revamp memory allocation for WCHAR functions to
157 not use too much stack.
159 2001-07-22 Ulrich Drepper <drepper@redhat.com>
161 * iconv/iconvconfig.c (write_output): Update comment explaining
164 * elf/dl-load.c (_dl_dst_count): In SUID binaries expand $ORIGIN
166 (_dl_dst_substitute): Likewise.
168 * iconv/iconvconfig.c: Remove --verbose option. Comment out
171 * iconv/strtab.c (morememory): Fix little memory handling problem.
173 2001-07-22 Andreas Schwab <schwab@suse.de>
175 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don't
176 mark asm input operand as clobbered.
177 * sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise.
179 2001-07-22 Ulrich Drepper <drepper@redhat.com>
181 * iconv/gconv_builtin.c (struct builtin_map): Remove init and end
183 (BUILTIN_TRANSFORMATION): Remove Init and End parameters.
184 (__gconv_get_builtin_trans): Initialize __init_fct and __end_fct to
186 * iconv/gconv_builtin.h: Remove NULL parameters for Init and End in
187 all BUILTIN_TRANSFORMATION calls.
188 * iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Remove Init and End
190 * iconv/gconv_simple.c: Likewise.
191 * iconv/gconv_db.c (gen_steps): Internal converters don't have
192 initializers, move the code accordingly.
194 * iconv/gconv_conf.c (__gconv_read_conf): Don't read configuration
195 file if STATIC_GCONV is defined.
197 * iconv/gconv_conf.c (__gconv_path_envvar): New global variable.
198 (__gconv_get_path): Use it instead of call getenv.
199 (__gconv_read_conf): First see whether cache can be used. If yes,
200 don't do any work here.
201 * iconv/gconv_db.c (__gconv_release_step): Renamed from release_step
202 and exported. Change callers.
203 (__gconv_find_transform): First call __gconv_lookup_cache and only
204 continue if it signals no cache available. Remove some unnecessary
206 * iconv/gconv_int.h: Declare __gconv_path_envvar, __gconv_lookup_cache,
207 __gconv_release_step, and __gconv_loaded_cache.
208 * iconv/gconv_cache.c: New file.
209 * iconv/iconvconfig.c: New file.
210 * iconv/iconvconfig.h: New file.
211 * iconv/strtab.c: New file.
212 * iconv/Makefile: Add rules to build new files and programs.
214 2001-07-20 Roland McGrath <roland@frob.com>
216 * sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type
217 from `dev_t' (st_rdev value) `const struct stat *'.
218 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Likewise.
219 * libio/filedoalloc.c (_IO_file_doallocate): Change caller.
220 * sysdeps/mach/hurd/device-nrs.h: New file.
222 * libio/stdio_ext.h: Moved to ...
223 * stdio-common/stdio_ext.h: ... here.
224 * libio/Makefile (headers): Move stdio_ext.h from here ...
225 * stdio-common/Makefile (headers): ... to here.
226 * include/stdio_ext.h: New file.
227 * stdio/Makefile (routines): Add the stdio_ext.h functions here.
228 * stdio/Versions (GLIBC_2.2.4): Export the stdio_ext.h functions.
229 * stdio/__flbf.c: New file.
230 * stdio/__fbufsize.c: New file.
231 * stdio/__fpending.c: New file.
232 * stdio/__fpurge.c: New file.
233 * stdio/__freadable.c: New file.
234 * stdio/__freading.c: New file.
235 * stdio/__fsetlocking.c: New file.
236 * stdio/__fwritable.c: New file.
237 * stdio/__fwriting.c: New file.
239 2001-07-20 Ulrich Drepper <drepper@redhat.com>
240 Andreas Jaeger <aj@suse.de>
242 * elf/ldconfig.c (search_dir): Avoid use of uninitialized memory.
243 Add a few __builtin_expect to mark unlikely error cases.
245 2001-07-20 Andreas Jaeger <aj@suse.de>
247 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Synch with kernel.
248 Patch by Daniel Jacobowitz <dan@debian.org>.
250 2001-07-19 Ulrich Drepper <drepper@redhat.com>
252 * intl/localealias.c: Remove unnecessary prototype.
254 * Makefile: Add html goal.
255 * manual/Makefile: Likewise.
257 2001-07-18 Ulrich Drepper <drepper@redhat.com>
259 * libio/filedoalloc.c (_IO_file_doallocate): A few more minor
260 cleanups and improvements.
262 2001-07-18 Andreas Schwab <schwab@suse.de>
264 * posix/regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
265 underscore character.
267 2001-07-18 Jakub Jelinek <jakub@redhat.com>
269 * malloc/malloc (new_heap): Don't call munmap for zero length.
271 2001-07-18 Ulrich Drepper <drepper@redhat.com>
273 * libio/filedoalloc.c (_IO_file_doallocate): Use DEV_TTY_P if
274 available to determine whether descriptor is for tty before
277 * sysdeps/unix/sysv/linux/device-nrs.h: Define DEV_TTY_P.
278 * sysdeps/generic/device-nrs.h: Likewise.
280 2001-07-18 Andreas Jaeger <aj@suse.de>
282 * time/Makefile (tst-getdate-ENV): Add TZDIR to environment.
284 * time/Depend: New, add dependency on timezone.
286 * time/tst-getdate.c: Add testcase for bug report by Hendrik
287 Uhlmann <HUhlmann@stn-atlas.de>.
288 * time/datemsk: Likewise.
290 2001-07-17 Ulrich Drepper <drepper@redhat.com>
292 * elf/ldconfig.c (parse_conf): Disable implicit locking for the
293 stream. Remove some unnecessary initializers.
295 2001-07-17 Andreas Jaeger <aj@suse.de>
297 * elf/ldconfig.c: Add new variable hwcap_mask to honour LD_HWCAP_MASK.
298 (is_hwcap_platform): Use it.
299 (set_hwcap): New function to set hwcap_mask.
300 (main): Call set_hwcap.
302 2001-07-17 Jakub Jelinek <jakub@redhat.com>
304 * time/getdate.c (__getdate_r): Initialize tm_isdst, tm_gmtoff and
305 tm_zone before calling strptime.
307 2001-07-17 Andreas Schwab <schwab@suse.de>
309 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Fix last change.
311 2001-07-17 Ulrich Drepper <drepper@redhat.com>
313 * inet/rcmd.c (iruserfopen): Disable implicit locking for the stream.
314 * inet/ruserpass.c (ruserpass): Likewise.
315 * nss/nsswitch.c (nss_parse_file): Likewise.
316 * resolv/res_hconf.c (_res_hconf_init): Likewise.
317 * resolv/res_init.c (__res_vinit): Likewise.
318 * gmon/bb_exit_func.c (__bb_exit_func): Likewise.
319 * misc/getpass.c (getpass): Likewise.
320 * misc/getusershell.c (initshells): Likewise.
321 * misc/getttyent.c (setttyent): Likewise.
322 * misc/mntent_r.c (__setmntent): Likewise.
323 * time/getdate.c (__getdate_r): Likewise.
324 * time/tzfile.c (__tzfile_read): Likewise.
325 * iconv/gconv_conf.c (read_conf_file): Likewise.
326 * intl/localealias.c (read_alias_file): Disable implicit locking
327 for the stream. Use _unlocked functions for glibc.
328 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Disable
329 implicit locking for the stream.
330 (__get_nprocs_conf): Likewise.
331 (phys_pages_info): Likewise.
333 2001-07-16 Ulrich Drepper <drepper@redhat.com>
335 * nscd/connections.c: Print messages caused by user application
336 only if debug_level > 0. Add little performance improvements.
337 Use TEMP_FAILURE_RETRY around write calls.
338 * nscd/grpcache.c: Likewise.
339 * nscd/hstcache.c: Likewise.
340 * nscd/pwdcache.c: Likewise.
342 2001-07-13 H.J. Lu <hjl@gnu.org>
344 * sysdeps/mips/dl-machine.h (MAP_BASE_ADDR): Removed.
345 (elf_machine_got_rel): Defined only if RTLD_BOOTSTRAP is not defined.
346 (RESOLVE_GOTSYM): Rewrite to use RESOLVE.
348 * sysdeps/mips/rtld-ldscript.in: Removed.
349 * sysdeps/mips/rtld-parms: Likewise.
350 * sysdeps/mips/mips64/rtld-parms: Likewise.
351 * sysdeps/mips/mipsel/rtld-parms: Likewise.
353 2001-07-16 Ulrich Drepper <drepper@redhat.com>
355 * catgets/test-gencat.sh: Use <<"EOF" instead of <<EOF to prevent
356 substitution in here document.
358 2001-07-16 Andreas Schwab <schwab@suse.de>
360 * sysdeps/posix/spawni.c: Fix typo when iterating over signal numbers.
362 2001-07-16 Andreas Schwab <schwab@suse.de>
364 * math/libm-test.inc (check_float_internal): Fix sign bit test of
367 2001-07-16 Jakub Jelinek <jakub@redhat.com>
369 * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Make it PIC friendly.
371 2001-07-15 Ulrich Drepper <drepper@redhat.com>
373 * malloc/obstack.c: Define __attribute__ for non-gcc compilers.
374 Patch by Jim Meyering <jim@meyering.net>.
376 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
378 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder
379 fields in the sigaction struct to match the definition in the kernel.
381 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
383 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the
386 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
388 * sysdeps/s390/s390-32/bits/setjmp.h: Add leading underscores
389 to the entries in the __jmp_buf structure.
390 * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
392 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
394 * sysdeps/s390/s390-32/bcopy.S: Use mvcle for big blocks
395 (> 64K) and a mvc loop for small blocks.
396 * sysdeps/s390/s390-32/memcpy.S: Likewise.
397 * sysdeps/s390/s390-64/bcopy.S: Likewise.
398 * sysdeps/s390/s390-64/memcpy.S: Likewise.
400 2001-07-15 Andreas Schwab <schwab@suse.de>
402 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: New file.
403 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: New file.
405 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Check _dl_pagesize
406 first. Default to 4096, not EXEC_PAGESIZE.
408 * iconv/loop.c (put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]:
411 2001-07-09 Andreas Jaeger <aj@suse.de>
413 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2.
415 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM,
416 HWCAP_I386_XMM2 to enum.
418 2001-07-13 Andreas Jaeger <aj@suse.de>
420 * libio/fileops.c: Include unistd.h for lseek64 prototype. Closes
423 2001-07-12 Ulrich Drepper <drepper@redhat.com>
425 * Makeconfig: Add some more changes to handle AIX linker better.
427 2001-07-12 H.J. Lu <hjl@gnu.org>
429 * sysdeps/generic/segfault.c: Include <errno.h>.
431 2001-07-01 Andreas Jaeger <aj@suse.de>
433 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate
434 sbrk. Closes PR libc/2312.
436 2001-07-01 Andreas Jaeger <aj@suse.de>
438 * sysdeps/generic/segfault.c (install_handler): Handle case that
439 the output file does not exists. Closes PR libc/2345.
441 2001-07-11 Ulrich Drepper <drepper@redhat.com>
443 * intl/locale.alias: Use he language code for hebrew, not il
446 2001-07-11 Jakub Jelinek <jakub@redhat.com>
448 * iconv/gconv_int.h: Fix comment typo.
450 2001-07-11 Igor Khavkine <i_khavki@alcor.concordia.ca>
452 * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.
454 2001-07-07 Roland McGrath <roland@frob.com>
456 * hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0.
458 2001-07-10 Stephen L Moshier <moshier@mediaone.net>
460 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Fix
461 backwards conditional in test for x == 1.0.
463 2001-07-10 Andreas Jaeger <aj@suse.de>
465 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh
468 2001-07-09 Andreas Jaeger <aj@suse.de>
470 * sysdeps/unix/sysv/linux/configure.in: Revert patch from
471 2001-07-05 for sysconfdir handling.
472 * config.make.in (sysconfdir): Likewise.
473 * configure.in: Likewise.
475 * configure.in: Always assign libc_cv_sysconfdir.
477 2001-07-08 Ulrich Drepper <drepper@redhat.com>
479 * Makerules [AIX] (build-shlib-helper): Precede linker options
482 * Makeconfig (config-LDFLAGS): Add ld.so only for ELF.
484 * sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to
485 what we define in <stdio.h>.
487 * iconv/iconv_prog.c (main): Don't unconditionally define
488 variables only use if _POSIX_MAPPED_FILES is defined.
490 * sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type.
491 * sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.
493 * sysdeps/unix/sysv/aix/recv.c: New file.
495 * sysdeps/unix/sysv/aix/recvfrom.c: Fix various types.
497 2001-07-07 Ulrich Drepper <drepper@redhat.com>
499 * sysdeps/generic/recv.c: Fix return type.
501 * sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo.
503 * sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add
504 declarations for asm functions.
506 * include/libc-symbols.h: Provide more dummy definitions for the
507 case if GNU ld isn't used.
509 * libio/freopen.c: Include <stdlib.h> for free declaration.
510 * libio/freopen64.c: Likewise.
512 * sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
514 2001-07-06 Jakub Jelinek <jakub@redhat.com>
516 * sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm
517 explicitly into .text section.
519 2001-04-16 Jes Sorensen <jes@linuxcare.com>
521 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
522 Add 16 longwords reserved for future use to match changes in the
525 2001-07-03 Jes Sorensen <jes@trained-monkey.org>
527 * sysdeps/ia64/strncpy.S: Call strnlen() when determining the
528 string length rather than strlen(). Solves the performance problem
529 of doing strlen on a 5MB string when strncpy was called with a
530 length argument of 5 bytes.
532 2001-07-02 Jakub Jelinek <jakub@redhat.com>
534 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
535 R_SPARC_UA16 and R_SPARC_UA32.
536 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
538 2001-07-01 Stephen L Moshier <moshier@mediaone.net>
540 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl):
541 acosh(x) = ln(2x) if x > 2^30.
542 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
543 acosh(x) = ln(2x) if x > 2^54.
545 2001-07-07 Mark Kettenis <kettenis@gnu.org>
547 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal):
548 Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and
549 KERN_WRITE_PROTECTION_FAILURE.
551 2001-07-07 Ulrich Drepper <drepper@redhat.com>
553 * posix/regex.c: Limit string length printed in debug messages to
556 * configure.in: Don't warn about versioning if not on ELF system.
558 2001-07-07 Andreas Jaeger <aj@suse.de>
560 * sysdeps/*: Put files from GNU MP Library under LGPL v2.1.
562 2001-07-06 Ulrich Drepper <drepper@redhat.com>
564 * po/gl.po: Update from translation team.
566 2001-07-06 Andreas Jaeger <aj@suse.de>
568 * sysdeps/unix/sysv/linux/configure.in: Fix handling of
571 * manual/libc-texinfo.sh: Add note for the FDL.
573 * manual/argp.texi (Argp Example 4): Fix texinfo warning.
575 * manual/libc.texinfo: Regenerated.
577 * manual/fdl.texi: Fix node.
579 * config.make.in (sysconfdir): Replace correctly.
580 Closes PR libc/2369, reported by Peter Simons <simons@cryp.to>.
582 * sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no
585 * sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add
587 Rework handling of missing linuxthreads add-on.
589 * configure.in: Remove unused sysconfdir substitution.
591 * manual/Makefile (texis): Add fdl.texi.
592 * manual/fdl.texi: New.
593 * manual/socket.texi (Host Names): Improve grammar, fix overflow hbox.
594 * manual/libc.texinfo: Add fdl, update titlepage.
595 Patches by Brian Youmans <3diff@gnu.org>.
597 * sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for
600 2001-07-06 Paul Eggert <eggert@twinsun.com>
602 * manual/argp.texi: Remove ignored LGPL copyright notice; it's
603 not appropriate for documentation anyway.
604 * manual/libc-texinfo.sh: "Library General Public License" ->
605 "Lesser General Public License".
606 * COPYING: Fix Y2k bug in sample copyright notices.
607 * manual/lesser.texi: Renamed from manual/lgpl.texinfo,
608 as fsf.org uses the name "lesser.texi".
609 * manual/Makefile (texis): Follow rename.
611 2001-07-06 Andreas Jaeger <aj@suse.de>
613 * All files under GPL/LGPL version 2: Place under LGPL version
616 2001-07-05 Andreas Jaeger <aj@suse.de>
618 Synch with Linux 2.4.6:
619 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
623 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
627 * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
630 * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
633 * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
636 * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
639 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.
641 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.
643 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.
645 * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
647 2001-07-04 Roland McGrath <roland@frob.com>
649 * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
650 wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
651 rather than doing a mach_port_insert_right call first.
653 2001-06-26 Roland McGrath <roland@frob.com>
655 * hurd/hurdioctl.c: Include <string.h> for memcpy decl.
657 2001-07-03 Andreas Jaeger <aj@suse.de>
659 * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for
662 2001-07-01 Mark Kettenis <kettenis@gnu.org>
664 * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
665 the Hurd pfinet server, using equivalent code from the Linux
666 version in sysdeps/unix/sysv/linux/if_index.c. In detail:
667 Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
668 <hurd/pfinet.h>. Don't include <sys/mman.h> and <hurd/fsys.h>
670 (if_nametoindex): New implementation using SIOCGIFINDEX.
671 (if_freenameindex): Straight copy of the Linux version.
672 (if_nameindex): New implementation based on pfinet_siocgifconf and
674 (if_indextoname): New implementation using SIOCGIFNAME.
675 (map_interfaces): Function removed.
676 From Marcus Brinkmann <marcus@gnu.org>.
678 2001-06-30 Jakub Jelinek <jakub@redhat.com>
680 * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
681 gaps below main executable.
683 2001-06-19 Andreas Jaeger <aj@suse.de>
685 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
688 2001-06-29 Andreas Jaeger <aj@suse.de>
690 * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
691 Patch by Stephen L Moshier <moshier@mediaone.net>.
693 2001-06-28 Ulrich Drepper <drepper@redhat.com>
695 * manual/argp.texi: Tons of cleanups.
696 Patch by Clifford U. Smith <cuel@swbell.net>.
698 2001-06-28 Mark Kettenis <kettenis@gnu.org>
700 * manual/users.texi (Setting Groups): Correct initgroups
701 documentation. Add documentation for getgrouplist.
703 2001-06-28 H.J. Lu <hjl@gnu.org>
705 * locale/findlocale.c (locale_file_list): Renamed to ...
706 (_nl_locale_file_list): This. Make it extern.
707 (free_mem): Move to ...
708 * locale/setlocale.c (free_mem): Here.
710 2001-06-28 Mark Kettenis <kettenis@gnu.org>
712 * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
713 (__libc_read): Don't call __pread. Use _hurd_fd_read directly
715 * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
716 (__libc_write): Don't call __pwrite. Use _hurd_fd_write directly
719 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
720 -Wl,-soname option lost in 2001-06-16 change.
722 2001-06-27 Ulrich Drepper <drepper@redhat.com>
724 * posix/tst-regex.c: Pass REG_NEWLINE to regcomp. Add extra tests.
725 Restrict printing of string in debug mode to 100 characters to make
726 the output useful for long input texts.
728 * posix/Makefile: Add rules to build and run tst-regex.
730 2001-06-20 Isamu Hasegawa <isamu@yamato.ibm.com>
732 * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
733 (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
734 (wcs_re_match_2_internal): Check whether the wcs buffers need
735 seting up or not, and skip seting up routin if not needed.
737 2001-06-26 Isamu Hasegawa <isamu@yamato.ibm.com>
739 * posix/regex.c (count_mbs_length): Use binary search for optimization.
741 2001-06-27 Ulrich Drepper <drepper@redhat.com>
743 * posix/tst-regex.c: Fix several bugs. Add more tests.
745 2001-06-26 Mark Kettenis <kettenis@gnu.org>
747 * hurd/Makefile (user-interfaces): Add pfinet.
748 * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
750 (siocgifconf): New function. Register it with HURD_HANDLE_IOCTL
751 as the handler for SIOCGIFCONF.
752 * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
753 SIOCGIFFLAGS to be of IOC type ifreq_short. Modify SIOCSIFMETRIC
754 and SIOCGIFMETRIC to be of IOC type ifreq_int. Add new macro
755 definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
757 From Marcus Brunkmann <marcus@gnu.org>.
759 2001-06-25 Ulrich Drepper <drepper@redhat.com>
761 * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
762 and _IOT_ifreq_int. Patch by Mark Kettenis <kettenis@wins.uva.nl>.
764 * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
765 _dl_catch_error calls.
767 2001-06-22 Jakub Jelinek <jakub@redhat.com>
769 * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
772 2001-06-01 Wolfram Gloger <wg@malloc.de>
774 * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
775 ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
776 when malloc_atfork is in use.
778 2001-06-22 Andreas Jaeger <aj@suse.de>
780 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
783 * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
785 Add unused attributes to avoid warnings.
787 * elf/reldep4mod4.c: Add prototype to avoid warning.
788 * elf/reldep4mod2.c: Likewise.
790 * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
793 2001-06-18 Roland McGrath <roland@frob.com>
795 * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
797 2001-06-20 Alexandre Oliva <aoliva@redhat.com>
799 * sysdeps/unix/sysv/settimeofday.c: Include time.h.
801 2001-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
803 * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
805 2001-05-09 Michael Keezer <mkeezer@redhat.com>
807 * Makeconfig: Added AIX-ld support for DSO.
808 * Makerules: Likewise.
809 * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
810 (defaultmod2.so): Likewise.
811 * debug/Makefile: Conditionalize use of elf/ld.so.
812 * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
814 * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
815 * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
816 (f/g)prrest(0/1) static only.
817 * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
818 * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
820 * sysdeps/unix/sysv/aix/setitimer.c: New file.
821 * sysdeps/unix/sysv/aix/sleep.c: New file.
822 * sysdeps/unix/sysv/aix/usleep.c: New file.
823 * sysdeps/unix/sysv/aix/dl-addr.c: New file.
824 * sysdeps/unix/sysv/aix/dl-error.c: New file.
825 * sysdeps/unix/sysv/aix/dl-support.c: New file.
826 * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
828 2001-06-19 Ulrich Drepper <drepper@redhat.com>
830 * po/es.po: Update from translation team.
832 2001-06-19 Andreas Jaeger <aj@suse.de>
834 * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
836 * math/libm-test.inc (tanh_test): Test for 2^-56.
838 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
839 equals argument when x < 2^-55.
840 Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
842 2001-06-17 Alan Modra <amodra@bigpond.net.au>
844 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs
845 at unaligned address.
847 2001-06-18 Ulrich Drepper <drepper@redhat.com>
849 * posix/regex.c: Reorganize code to build code twice, once for single
850 byte, once for multi-byte charsets. Choose function set adequate for
852 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
854 * po/nl.po: Update from translation team.
856 2001-06-09 Bruno Haible <haible@clisp.cons.org>
858 * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
859 (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
860 * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
862 2001-05-26 Bruno Haible <haible@clisp.cons.org>
864 * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
865 * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
867 2001-06-17 Roland McGrath <roland@frob.com>
869 * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
870 not LIO_READ + 1 (which is the value of LIO_WRITE!).
872 * Makerules (build-module-helper-objlist): New variable,
873 broken out of build-module. Insert --whole-archive/--no-whole-archive
874 immediately each *_pic.a file in the link object list.
875 (whole-archive): New variable, used by that.
876 (build-module-objlist): New variable using build-module-helper-objlist.
877 (build-module, build-module-helper): Use it.
878 (build-shlib-objlist): New variable using build-module-helper-objlist.
879 (build-shlib): Use that.
880 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
882 * posix/spawni.c: Moved to ...
883 * sysdeps/posix/spawni.c: ... here.
884 * sysdeps/generic/spawni.c: New file.
886 2001-06-16 Roland McGrath <roland@frob.com>
888 * hurd/Makefile (routines): Add lookup-retry.
889 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
890 * hurd/lookup-retry.c: ... into here, new file.
891 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
892 using of duplicate code here.
894 * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
896 2001-06-17 Ulrich Drepper <drepper@redhat.com>
898 * po/ja.po: Update from translation team.
900 2001-06-04 Bruno Haible <haible@clisp.cons.org>
902 * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
903 compare_files): New functions.
904 (write_locale_data): Use xmalloc. Compare the file with the locale
905 data files for the same category in other locales, and reuse it if
908 2001-06-07 Mark Kettenis <kettenis@gnu.org>
910 * grp/initgroups.c (initgroups): Factor out re-usable code into...
911 (internal_getgrouplist): ... new function.
912 (getgrouplist): New function.
913 * grp/grp.h (getgrouplist): New prototype.
914 * grp/Versions [2.2.4]: Add getgrouplist.
916 2001-06-16 Ulrich Drepper <drepper@redhat.com>
918 * inet/netinet/ip6.h: Fix comments in ip6_hdr.
919 Patch by Pekka Savola <pekkas@netcore.fi>.
921 2001-06-15 Roland McGrath <roland@frob.com>
923 * rt/Makefile (aio-routines, clock-routines, timer-routines): New
924 variables, broken out of librt-routines.
925 (librt-routines): Set using those.
926 (extra-libs, extra-libc-others, tests): Set these unconditionally.
927 (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
928 * sysdeps/generic/aio_fsync.c: New file.
929 * sysdeps/generic/aio_misc.c: New file.
930 * sysdeps/generic/aio_write.c: New file.
931 * sysdeps/generic/aio_write64.c: New file.
932 * sysdeps/generic/aio_read64.c: New file.
933 * sysdeps/generic/aio_read.c: New file.
934 * sysdeps/generic/aio_notify.c: New file.
935 * sysdeps/generic/lio_listio64.c: New file.
936 * sysdeps/generic/lio_listio.c: New file.
937 * sysdeps/generic/aio_cancel.c: New file.
938 * sysdeps/generic/aio_misc.h: New file.
939 * sysdeps/generic/aio_suspend.c: New file.
940 * rt/aio_cancel.c: Moved to ...
941 * sysdeps/pthread/aio_cancel.c: ... here.
942 * rt/aio_fsync.c: Moved to ...
943 * sysdeps/pthread/aio_fsync.c: ... here.
944 * rt/aio_misc.c: Moved to ...
945 * sysdeps/pthread/aio_misc.c: ... here.
946 * rt/aio_misc.h: Moved to ...
947 * sysdeps/pthread/aio_misc.h: ... here.
948 * rt/aio_notify.c: Moved to ...
949 * sysdeps/pthread/aio_notify.c: ... here.
950 * rt/aio_read.c: Moved to ...
951 * sysdeps/pthread/aio_read.c: ... here.
952 * rt/aio_read64.c: Moved to ...
953 * sysdeps/pthread/aio_read64.c: ... here.
954 * rt/aio_suspend.c: Moved to ...
955 * sysdeps/pthread/aio_suspend.c: ... here.
956 * rt/aio_write.c: Moved to ...
957 * sysdeps/pthread/aio_write.c: ... here.
958 * rt/aio_write64.c: Moved to ...
959 * sysdeps/pthread/aio_write64.c: ... here.
960 * rt/lio_listio.c: Moved to ...
961 * sysdeps/pthread/lio_listio.c: ... here.
962 * rt/lio_listio64.c: Moved to ...
963 * sysdeps/pthread/lio_listio64.c: ... here.
965 2001-06-14 Roland McGrath <roland@frob.com>
967 * configure.in: Let sysdeps Implies files in add-ons bring in
968 sysdeps directories from the main source and other add-ons too.
970 2001-06-15 Jakub Jelinek <jakub@redhat.com>
972 * math/test-misc.c (main): Add tests for nextafter and nexttoward
973 with +-Inf as second argument.
975 * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
977 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
978 * sysdeps/i386/fpu/s_nexttoward.c: New.
979 * sysdeps/i386/fpu/s_nexttowardf.c: New.
980 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
981 check for NaN, optimize x==+-0 handling.
982 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
983 * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
984 check for NaN, fix sign in x==+-0 case.
985 * sysdeps/ia64/fpu/s_nexttoward.c: New.
986 * sysdeps/ia64/fpu/s_nexttowardf.c: New.
988 2001-06-15 H.J. Lu <hjl@gnu.org>
990 * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
991 * rt/tst-aio3.c (do_test): Likewise.
992 * rt/tst-aio4.c (do_test): Likewise.
993 * rt/tst-aio5.c (do_test): Likewise.
994 * rt/tst-aio6.c (do_test): Likewise.
996 2001-06-15 Andreas Schwab <schwab@suse.de>
998 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
999 * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
1001 2001-06-15 Andreas Jaeger <aj@suse.de>
1003 * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
1005 2001-06-14 Andreas Schwab <schwab@suse.de>
1007 * elf/ldconfig.c (search_dir): Fix check for regular file.
1009 * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
1010 * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
1012 2001-06-14 Roland McGrath <roland@frob.com>
1014 * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
1015 (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
1017 2001-06-13 Roland McGrath <roland@frob.com>
1019 * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
1021 * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
1022 so the label is not considered unused.
1024 * sysdeps/mach/hurd/pwrite64.c: New file.
1025 * sysdeps/mach/hurd/pread64.c: New file.
1027 * sysdeps/mach/hurd/pread.c
1028 (__libc_pread): Define this name, with __pread as an alias.
1029 * sysdeps/mach/hurd/pwrite.c
1030 (__libc_pwrite): Define this name, with __pwrite as an alias.
1032 Implement POSIX "shared memory objects" as regular
1033 files residing in the /var/run/shm/ directory.
1034 This works on any system that supports _POSIX_MAPPED_FILES,
1035 to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
1036 * sysdeps/posix/shm_open.c: New file.
1037 * sysdeps/posix/shm_unlink.c: New file.
1038 * sysdeps/mach/hurd/bits/posix_opt.h
1039 (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
1041 * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
1042 Use raise instead of __aio_sigqueue.
1044 * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
1045 * sysdeps/mach/hurd/pwrite.c: Likewise.
1047 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
1048 [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
1049 as default version set.
1051 2001-06-13 Ulrich Drepper <drepper@redhat.com>
1053 * libio/iolibio.h (_IO_freopen): Correct last parameter to
1055 (_IO_freopen64): Likewise.
1056 Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
1058 * elf/elf.h: Add a few more EM_* constants.
1060 2001-06-12 Bruno Haible <haible@clisp.cons.org>
1062 * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
1064 2001-06-09 Ben Collins <bcollins@debian.org>
1066 * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
1067 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1068 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1069 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1070 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1071 * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
1074 2001-06-13 Ulrich Drepper <drepper@redhat.com>
1076 * time/sys/time.h: Don't use enum __itimer_which ever for
1077 __itimer_which_t for C++.
1078 Reported by Martin Buchholz <martin@xemacs.org>.
1080 * po/fr.po: Update from translation team.
1082 2001-06-12 H.J. Lu <hjl@gnu.org>
1084 * configure.in: Fix typos in missing program names.
1085 * configure: Regenerated.
1087 2001-06-12 Andreas Jaeger <aj@suse.de>
1089 * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
1091 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1093 2001-06-11 Andreas Jaeger <aj@suse.de>
1095 * sysdeps/ieee754/ldbl-128/e_coshl.c: New file. Contributed by
1096 Stephen L Moshier <moshier@mediaone.net>.
1098 * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
1100 * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1101 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1103 2001-06-11 Michael Deutschmann <michael@talamasca.ocis.net>
1105 * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
1106 Use my_signo instead of MY_SIGNO and initialize it so that the
1107 used signal is always available.
1109 2001-06-11 Andreas Jaeger <aj@suse.de>,
1110 Michael Deutschmann <michael@talamasca.ocis.net>
1112 * io/test-lfs.c (do_prepare): Clean up error messages.
1113 (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
1114 (do_test): Likewise.
1116 2001-06-11 Andreas Jaeger <aj@suse.de>
1118 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
1119 IMAXBEL): Make always visible since they're needed by POSIX.
1120 Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
1122 2001-06-10 Ben Collins <bcollins@debian.org>
1124 * sysdeps/arm/elf/start.S: Use #function, not @function, for
1127 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
1130 2001-06-07 H.J. Lu <hjl@gnu.org>
1132 * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
1134 2001-06-10 Roland McGrath <roland@frob.com>
1136 * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
1137 * elf/reldep4mod4.c: Likewise.
1139 2001-06-10 Mark Kettenis <kettenis@gnu.org>
1141 * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
1143 2001-06-08 Andreas Schwab <schwab@suse.de>
1145 * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
1146 Don't dereference at end of string.
1148 2001-06-06 Roland McGrath <roland@frob.com>
1150 * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
1151 From Robert Bihlmeyer <robbe@orcus.priv.at>.
1153 2001-06-06 Ulrich Drepper <drepper@redhat.com>
1155 * po/ko.po: Update from translation team.
1157 2001-06-06 Andreas Jaeger <aj@suse.de>
1159 * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
1161 Reported by Robert Bernecky <bernecky@acm.org>.
1163 2001-06-06 Jakub Jelinek <jakub@redhat.com>
1165 * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
1166 * sysdeps/ia64/elf/start.S: Likewise.
1167 * sysdeps/sh/elf/start.S: Likewise.
1168 * sysdeps/s390/s390-32/elf/start.S: Likewise.
1169 * sysdeps/s390/s390-64/elf/start.S: Likewise.
1171 2001-06-05 Matthew Wilcox <willy@ldl.fc.hp.com>
1173 * sysdeps/hppa/bsd-_setjmp.S: New.
1174 * sysdeps/hppa/bsd-setjmp.S: New.
1176 * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
1177 gcc warnings about multi-line strings.
1179 * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
1180 * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
1182 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
1183 setrlimit directly instead of using wrappers.
1185 2001-05-01 Richard Hirst <rhirst@linuxcare.com>
1187 * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
1188 * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
1190 2001-06-05 Philipp Thomas <pthomas@suse.de>
1192 * nis/nis_call.c (__nisbind_connect): Don't mark for translation
1193 what can't be translated.
1195 2001-06-06 Ulrich Drepper <drepper@redhat.com>
1197 * timezone/zic.c: Update from tzcode2001c.
1198 * timezone/private.h: Likewise.
1199 * timezone/africa: Update from tzdata2001c.
1200 * timezone/asia: Likewise.
1201 * timezone/europe: Likewise.
1202 * timezone/northamerica: Likewise.
1203 * timezone/southamerica: Likewise.
1204 * timezone/zone.tab: Likewise.
1206 2001-06-04 Bruno Haible <haible@clisp.cons.org>
1208 * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
1209 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
1210 UNICODE_TAG_HANDLER.
1211 (__gconv_transform_internal_ucs2): Likewise.
1212 (__gconv_transform_internal_ucs2reverse): Likewise.
1213 * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
1214 * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
1215 * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
1216 * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
1217 * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
1218 * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
1219 * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
1220 * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
1221 * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
1222 * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
1223 * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
1224 * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
1225 * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
1226 * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
1227 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1228 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1229 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1230 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1231 * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
1232 * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
1233 * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
1234 * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
1235 * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
1236 * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
1237 * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
1238 * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
1239 * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
1240 * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
1241 * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
1242 * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
1243 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
1244 * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
1245 TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
1246 TAG_language_zh, CURRENT_TAG_MASK): New enum values.
1247 (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
1248 is already selected but set2 or tag are set.
1249 (conversion): New enum type.
1250 (cvlist_t): New type.
1251 (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
1252 (conversion_lists): New array.
1253 (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. If "ja",
1254 prefer conversion to Japanese character sets. If "zh", prefer
1255 conversion to GB2312. If "ko", prefer conversion to KSC5601. Small
1257 (INIT_PARAMS): Add tag.
1258 (UPDATE_PARAMS): Add tag.
1260 2001-06-04 Bruno Haible <haible@clisp.cons.org>
1262 * locale/programs/locfile.c (write_locale_data): Before creat(),
1263 unlink the file, to avoid crashing the processes that mmap it. Change
1264 a double slash to a single slash. Free fname in case of error return.
1266 2001-06-02 Jakub Jelinek <jakub@redhat.com>
1268 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
1269 changes, do the special handling for denormal numbers, not for
1270 normalized numbers (patch by <trevin@xmission.com>).
1272 * math/test-misc.c (main): Test frexpl with denormal arguments.
1274 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1276 * math/libm-test.inc (llround_test): Add two new llround tests.
1277 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
1278 overflow when rounding away from zero.
1280 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1282 * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
1283 * math/math_private.h (__ieee754_log2, __ieee754_log2f,
1284 __ieee754_log2l): New prototypes.
1285 * sysdeps/generic/w_log2.c: New file.
1286 * sysdeps/generic/w_log2f.c: New file.
1287 * sysdeps/generic/w_log2l.c: New file.
1288 * sysdeps/generic/s_log2l.c: Move...
1289 * sysdeps/generic/e_log2l.c: ...to here. Rename to __ieee754_log2l.
1290 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
1292 * sysdeps/i386/fpu/s_log2.S: Move...
1293 * sysdeps/i386/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
1294 * sysdeps/i386/fpu/s_log2f.S: Move...
1295 * sysdeps/i386/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
1296 * sysdeps/i386/fpu/s_log2l.S: Move...
1297 * sysdeps/i386/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
1298 * sysdeps/m68k/fpu/s_log2.c: Move...
1299 * sysdeps/m68k/fpu/e_log2.c: ...to here. Rename to __ieee754_log2.
1300 * sysdeps/m68k/fpu/s_log2f.c: Move...
1301 * sysdeps/m68k/fpu/e_log2f.c: ...to here. Rename to __ieee754_log2f.
1302 * sysdeps/m68k/fpu/s_log2l.c: Move...
1303 * sysdeps/m68k/fpu/e_log2l.c: ...to here. Rename to __ieee754_log2l.
1304 * sysdeps/ieee754/dbl-64/s_log2.c: Move...
1305 * sysdeps/ieee754/dbl-64/e_log2.c: ...to here. Rename to
1307 * sysdeps/ieee754/flt-32/s_log2f.c: Move...
1308 * sysdeps/ieee754/flt-32/e_log2f.c: ...to here. Rename to
1311 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1313 * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
1314 even arguments which result in denormalized exp2 are accepted.
1315 (__exp2): Arguments equal to u_threshold already result into
1317 * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
1318 * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
1319 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
1320 low, with corrected lowmark use greaterequal, not greater.
1321 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1323 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1325 * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
1326 * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
1327 * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
1328 * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
1329 * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
1330 * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
1331 * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
1332 * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
1334 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1336 * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
1337 gave non-finite result instead of using constant in generic
1339 * sysdeps/generic/w_coshf.c (__coshf): Likewise.
1340 * sysdeps/generic/w_cosh.c (__cosh): Likewise.
1341 * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
1342 (__exp10): Test if finite argument gave non-finite result.
1343 * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
1345 * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
1348 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1350 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
1351 overflow threshold constant (log(LDBL_MAX)+M_LN2l).
1353 2001-05-29 Bruno Haible <haible@clisp.cons.org>
1355 * locale/programs/ld-ctype.c (idx_table): New struct type.
1356 (idx_table_init, idx_table_get, idx_table_add): New functions.
1357 (MAX_CHARNAMES_IDX): Remove macro.
1358 (locale_ctype_t): Change type of charnames_idx field.
1359 (ctype_startup): Change initialization of charnames_idx field.
1360 (find_idx): Use idx_table_get and idx_table_add for speed.
1362 * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
1363 computation of characters in a range.
1365 2001-05-29 Bruno Haible <haible@clisp.cons.org>
1367 * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
1369 (__ucs_to_gb18030_tab1): Likewise.
1370 (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
1371 (BODY for TO_LOOP): Likewise.
1372 * iconvdata/tst-table-charmap.sh: Update for charmaps containing
1374 * iconvdata/tst-table-from.c (bmp_only): New variable.
1375 (utf8_decode): If bmp_only, don't return characters outside Unicode
1377 (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print
1378 a conversion line if utf8_decode returns NULL.
1379 * iconvdata/tst-table-to.c (main): When testing encodings other than
1380 UTF-8 and GB18030, loop upto U+30000 instead of U+10000. Use UTF-8
1381 instead of UCS-2 as input.
1382 * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
1385 2001-05-29 Bruno Haible <haible@clisp.cons.org>
1387 * iconvdata/cns11643l1.c: Update to Unicode 3.1.
1388 (__cns11643l1_to_ucs4_tab): Regenerated.
1389 (__cns11643l1_from_ucs4_tab12): Regenerated.
1390 * iconvdata/cns11643.c: Update to Unicode 3.1.
1391 (__cns11643l14_to_ucs4_tab): Remove array.
1392 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
1393 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
1394 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
1395 (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
1396 (__cns11643_from_ucs4p2_tab): New array.
1397 * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
1398 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
1399 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
1400 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
1401 (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
1402 (__cns11643_from_ucs4_tab): Remove declaration.
1403 (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
1405 (ucs4_to_cns11643): Update for new arrays. Treat U+3400..U+4DFF and
1407 * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
1409 (__cns11643_from_ucs4p0_tab): New declaration.
1410 (ucs4_to_cns11643l2): Update for new arrays.
1411 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
1413 (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
1414 * iconvdata/EUC-TW.irreversible: New file.
1415 * iconvdata/tst-table.sh: Use it.
1416 * iconvdata/Makefile (distribute): Add CP1255.irreversible,
1417 CP1258.irreversible, EUC-TW.irreversible.
1419 2001-05-29 Bruno Haible <haible@clisp.cons.org>
1421 * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
1422 mathematical symbols.
1424 2001-06-05 Andreas Jaeger <aj@suse.de>
1426 * manual/stdio.texi (Portable Positioning): Fix description of
1427 fpos_t and fpos64_t.
1429 2001-06-06 Ulrich Drepper <drepper@redhat.com>
1431 * sysdeps/generic/wordexp.c: Undo last patch. Use strndupa instead.
1433 * po/sk.po: Update from translation team.
1435 2001-06-05 Andreas Jaeger <aj@suse.de>
1437 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
1438 tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
1439 Closes PR libc/2315.
1441 2001-06-05 Ulrich Drepper <drepper@redhat.com>
1443 * sysdeps/generic/wordexp.c: Add missing free.
1444 Patch by yeti@physics.muni.cz.
1446 2001-06-02 Tom Browder <tbrowder@home.com>
1448 * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
1449 within bounds when lag > 0.
1451 2001-06-05 Ulrich Drepper <drepper@redhat.com>
1453 * po/tr.po: New file.
1455 2001-06-05 Andreas Jaeger <aj@suse.de>
1457 * manual/libm-err-tab.pl (parse_ulps): Fix typo.
1459 2001-06-04 H.J. Lu <hjl@gnu.org>
1461 * sysdeps/alpha/elf/start.S: Add .type for the entry point.
1462 * sysdeps/arm/elf/start.S: Likewise.
1463 * sysdeps/hppa/elf/start.S: Likewise.
1464 * sysdeps/i386/elf/start.S: Likewise.
1465 * sysdeps/m68k/elf/start.S: Likewise.
1466 * sysdeps/mips/elf/start.S: Likewise.
1467 * sysdeps/ia64/elf/start.S: Likewise.
1468 * sysdeps/sh/elf/start.S: Likewise.
1469 * sysdeps/s390/s390-32/elf/start.S: Likewise.
1470 * sysdeps/s390/s390-64/elf/start.S: Likewise.
1471 * sysdeps/cris/elf/start.S: Likewise.
1473 2001-06-04 Bruce Mitchener <bruce@cubik.org>
1475 * manual/resource.texi: Correct setpriority/nice documentation.
1477 * sysdeps/unix/nice.c: Correct nice() implementation.
1479 2001-06-04 Andreas Jaeger <aj@suse.de>
1481 * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
1482 Stephen L Moshier <moshier@mediaone.net>.
1484 2001-06-03 Roland McGrath <roland@frob.com>
1486 * Makefile (postclean): Remove obsolete sysd-Makefile.
1488 2001-06-01 Roland McGrath <roland@frob.com>
1490 * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
1491 and use compat_symbol/versioned_symbol instead of plain
1492 symbol_version/default_symbol_version.
1493 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
1494 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
1495 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
1496 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
1497 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
1498 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
1499 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
1500 * sysdeps/arm/fpu/fegetenv.c: Likewise.
1501 * sysdeps/arm/fpu/fesetenv.c: Likewise.
1502 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
1503 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
1504 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
1505 * sysdeps/i386/fpu/fegetenv.c: Likewise.
1506 * sysdeps/i386/fpu/fesetenv.c: Likewise.
1507 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
1508 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
1509 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1510 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1511 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
1512 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
1513 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
1514 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
1515 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
1516 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
1517 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
1518 * sysdeps/powerpc/fclrexcpt.c: Likewise.
1519 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
1520 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1521 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1522 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
1523 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
1524 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
1526 * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
1527 * iconvdata/iso-2022-cn-ext.c: Likewise.
1529 2001-06-01 Andreas Jaeger <aj@suse.de>
1531 * Versions.def: Add version 2.2.4.
1533 2001-06-01 Ulrich Drepper <drepper@redhat.com>
1535 * socket/Makefile (routines): Add sockatmark.
1536 * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
1537 * socket/sys/socket.h: Add prototype for sockatmark.
1538 * sysdeps/generic/sockatmark.c: New file.
1539 * sysdeps/unix/sockatmark.c: New file.
1541 2001-06-01 Andreas Jaeger <aj@suse.de>
1543 * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
1545 (cfsetospeed): Likewise.
1546 Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
1548 2001-05-31 Joseph S. Myers <jsm28@cam.ac.uk>
1550 * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
1552 2001-05-30 Martin Schwidefsky <schwidefsky@de.ibm.com>
1554 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
1555 needs to have the same aligment as the kernel structure.
1557 2001-05-29 Jakub Jelinek <jakub@redhat.com>
1559 * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
1560 u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
1561 * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
1562 u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
1563 against multiple definition.
1565 2001-05-30 Ulrich Drepper <drepper@redhat.com>
1567 * po/da.po: Update from translation team.
1569 2001-05-29 Andreas Jaeger <aj@suse.de>
1571 * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
1572 Stephen L Moshier <moshier@mediaone.net>.
1574 * math/libm-test.inc (sinh_test): Add new test case.
1576 * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
1578 Patch by Stephen L Moshier <moshier@mediaone.net>.
1580 2001-05-23 Andreas Jaeger <aj@suse.de>
1582 * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
1583 * iconvdata/testdata/WINDOWS-1255..UTF8: this.
1585 2001-05-27 Andreas Jaeger <aj@suse.de>
1587 * manual/stdio.texi (String Streams): Fix fmemopen description.
1588 Reported by Michal Kochanowicz <michal@michal.waw.pl>.
1590 2001-05-26 H.J. Lu <hjl@gnu.org>
1592 * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
1593 to s_sigsuspend. Add s_mmap2.
1595 * sysdeps/mips/atomicity.h: New file.
1597 * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
1599 * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
1602 2001-05-25 Bruce Mitchener <bruce@cubik.org>
1604 * manual/ctype.texi: Minor fix.
1605 * manual/install.texi: Likewise.
1606 * manual/startup.texi: Likewise.
1607 * manual/examples/dir.c: Use perror() rather than puts().
1609 2001-05-25 David Mosberger <davidm@hpl.hp.com>
1611 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
1612 #endif directive inside a comment to avoid compiler warnings.
1614 2001-05-25 Philipp Thomas <pthomas@suse.de>
1616 * nis/nis_print.c (nis_nstype2str): Don't mark names of
1617 naming services for translation, only UNKNOWN needs it.
1618 Add comment to prevent it for the future.
1620 2001-05-25 Joseph S. Myers <jsm28@cam.ac.uk>
1622 * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
1623 3.1 and non-GCC C99 compilers.
1625 2001-05-22 David Mosberger <davidm@hpl.hp.com>
1627 * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
1629 * sysdeps/ia64/memcpy.S: Likewise.
1631 * sysdeps/ia64/bcopy.S: New file.
1633 * sysdeps/ia64/bzero.S: New file (derived from memset.S).
1635 2001-05-26 Ulrich Drepper <drepper@redhat.com>
1637 * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
1639 2001-05-24 Ulrich Drepper <drepper@redhat.com>
1641 * iconvdata/Makefile: Add rules for CP10007.
1642 * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
1643 * iconvdata/cp10007.c: New file.
1644 * iconvdata/tst-tables.sh: Add CP10007.
1646 2001-05-23 kaz Kojima <kkojima@rr.iij4u.or.jp>
1648 * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
1649 (_dl_runtime_profile): Likewise..
1651 2001-05-23 Thorsten Kukuk <kukuk@suse.de>
1653 * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
1654 * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
1656 2001-05-19 H.J. Lu <hjl@gnu.org>
1658 * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
1659 errstring of the failed DSO to _dl_signal_error ().
1661 2001-05-23 Ulrich Drepper <drepper@redhat.com>
1663 * iconvdata/gconv-modules: Add more aliases to enable use in
1666 2001-05-23 Andreas Jaeger <aj@suse.de>
1668 * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
1669 Remove, it's not used anywhere anymore.
1670 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
1671 (CFLAGS-initfini.s): Likewise.
1672 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1673 (CFLAGS-initfini.s): Likewise.
1674 * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
1676 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
1679 2001-05-21 Bruno Haible <haible@clisp.cons.org>
1681 * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
1682 use 0 instead, and rely on the converter to do the flush.
1683 * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
1685 (utf8_test_2, utf8_test_3): New function.
1686 (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
1688 2001-05-22 Jakub Jelinek <jakub@redhat.com>
1690 * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
1692 * elf/Makefile (distribute): Add reldep4mod[1234].c.
1693 (tests): Add reldep4.
1694 (modules-names): Add reldep4mod[1234].
1695 (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
1696 * elf/reldep4.c: New file.
1697 * elf/reldep4mod1.c: Likewise.
1698 * elf/reldep4mod2.c: Likewise.
1699 * elf/reldep4mod3.c: Likewise.
1700 * elf/reldep4mod4.c: Likewise.
1702 2001-05-18 Jakub Jelinek <jakub@redhat.com>
1704 * elf/dl-lookup.c (PROTECTED): Remove defines.
1705 (add_dependency): Mark it with internal_function.
1706 (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
1707 (_dl_lookup_symbol, _dl_lookup_symbol_skip,
1708 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
1709 it if we don't want do_lookup* inlined.
1711 2001-05-18 Jakub Jelinek <jakub@redhat.com>
1713 * include/link.h (struct r_scope_elem): Remove r_duplist and
1715 * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
1716 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
1718 (_dl_lookup_versioned_symbol_skip): Likewise.
1719 * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
1720 (_dl_map_object_deps): Don't compute duplicate list.
1722 * elf/dl-symbol.c: Removed.
1723 * elf/Makefile (routines): Remove dl-symbol.
1725 2001-05-22 Ulrich Drepper <drepper@redhat.com>
1727 * po/el.po: Update from translation team.
1728 * po/sv.po: Likewise.
1730 2001-05-20 Bruno Haible <haible@clisp.cons.org>
1732 * iconvdata/cp1255.c: Completely rewritten.
1733 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
1734 * iconvdata/testdata/WINDOWS-1255: New file.
1735 * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
1736 * iconvdata/TESTS: Add WINDOWS-1255 test.
1737 * iconvdata/CP1255.irreversible: New file.
1739 2001-05-20 Bruno Haible <haible@clisp.cons.org>
1741 * iconvdata/cp1258.c: Completely rewritten.
1742 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
1743 * iconvdata/testdata/WINDOWS-1258: New file.
1744 * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
1745 * iconvdata/TESTS: Add WINDOWS-1258 test.
1746 * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
1747 the main call, and flush it afterwards.
1748 (utf8_decode): Return a string, possibly containing several Unicode
1750 (main): Update all utf8_decode calls.
1751 * iconvdata/CP1258.irreversible: New file.
1753 2001-05-20 Bruno Haible <haible@clisp.cons.org>
1755 * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
1756 * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2. In the
1757 first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
1758 EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
1759 the next step. In the second case, clear the state without calling
1761 * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
1762 data->__outbuf, and outend instead of data->__outbufend.
1763 * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
1764 * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
1765 * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
1766 * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
1767 * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
1768 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
1769 * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
1770 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
1771 * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
1773 2001-05-21 Jakub Jelinek <jakub@redhat.com>
1775 * elf/rtld.c (dl_main): Compute l_map_end for the main program.
1776 * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
1777 If match == _dl_loaded, caller can still come from the main program.
1778 (_dl_vsym): Likewise.
1779 * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
1780 * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
1781 * elf/restest2.c: New test.
1782 * elf/Makefile (tests): Add restest2.
1783 (restest2, LDFLAGS-restest2): Add rules.
1785 2001-05-22 Ulrich Drepper <drepper@redhat.com>
1787 * intl/Makefile: Add a few more dependencies to avoid races in the
1790 2001-05-22 Andreas Jaeger <aj@suse.de>
1792 * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
1793 Stephen L Moshier <moshier@mediaone.net>.
1795 2001-05-22 Martin Schwidefsky <schwidefsky@de.ibm.com>
1797 * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
1798 return addresses instead of the stack pointers.
1799 * sysdeps/s390/s390-64/backtrace.c: Likewise.
1801 2001-05-21 Jakub Jelinek <jakub@redhat.com>
1803 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
1804 bits/sigcontext.h instead of bits/sigstack.h.
1805 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
1806 multiple-inclusion guards.
1808 2001-05-21 Andreas Jaeger <aj@suse.de>
1810 * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
1811 Patch by Philipp Thomas <pthomas@suse.de>.
1813 2001-05-17 Bruce Mitchener <bruce@cubik.org>
1815 * manual/arpg.texi: Spelling, misc fixes.
1816 * manual/arith.texi: Likewise.
1817 * manual/crypt.texi: Likewise.
1818 * manual/debug.texi: Likewise.
1819 * manual/getopt.texi: Likewise.
1820 * manual/intro.texi: Likewise.
1821 * manual/memory.texi: Likewise.
1822 * manual/nss.texi: Likewise.
1823 * manual/pattern.texi: Likewise.
1824 * manual/process.texi: Likewise.
1825 * manual/resource.texi: Likewise.
1826 * manual/search.texi: Likewise.
1827 * manual/setjmp.texi: Likewise.
1828 * manual/signal.texi: Likewise.
1829 * manual/socket.texi: Likewise.
1830 * manual/stdio.texi: Likewise.
1831 * manual/string.texi: Likewise.
1832 * manual/sysinfo.texi: Likewise.
1833 * manual/terminal.texi: Likewise.
1834 * manual/llio.texi: Document madvise().
1836 2001-05-20 Roland McGrath <roland@frob.com>
1838 * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
1839 found within $(add-ons) directories too.
1840 [linuxthreads add-on]: Move variable settings for linuxthreads
1841 to new file linuxthreads/Makeconfig.
1843 2001-05-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1845 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1846 Define for linux >= 2.4.5 on powerpc.
1847 (__ASSUME_MMAP2_SYSCALL): Likewise.
1849 2001-05-19 Roland McGrath <roland@frob.com>
1851 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
1852 result port when failing with ELOOP. Do the ELOOP check when
1853 following an absolute symlink target as well as relative.
1854 Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
1856 2001-05-18 Andreas Jaeger <aj@suse.de>
1858 * po/fr.po: Free software is "logiciel libre".
1859 Patch by Martin Michlmayr <tbm@cyrius.com>.
1861 * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
1862 Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
1864 2001-05-17 David Mosberger <davidm@hpl.hp.com>
1866 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
1868 2001-05-17 Ulrich Drepper <drepper@redhat.com>
1870 * elf/dl-profile.c (_dl_mcount): Check whether state is
1871 GMON_PROF_ON before doing anything.
1873 2001-05-17 H.J. Lu <hjl@gnu.org>
1875 * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
1877 2001-05-17 Ulrich Drepper <drepper@redhat.com>
1879 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
1880 CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
1881 Reported by Mark Burton <markb@ordern.com>.
1883 2001-05-17 Jakub Jelinek <jakub@redhat.com>
1885 * elf/ldconfig.c (add_dir): Only warn about stat failure if
1887 (search_dir): Likewise.
1889 2001-05-17 Ulrich Drepper <drepper@redhat.com>
1891 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
1892 parameter of xaddl. Patch by H . J . Lu <hjl@lucon.org>.
1894 2001-05-14 Bruno Haible <haible@clisp.cons.org>
1896 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
1897 without previous announcement, reject it regularly, don't abort.
1899 2001-05-16 Ulrich Drepper <drepper@redhat.com>
1901 * math/tgmath.h: Fix handling of int parameters to binary and
1902 ternary functions. Reported by mitr@volny.cz.
1904 * math/test-tgmath.c: Add tests for calls with integer parameters.
1906 2001-05-15 Jakub Jelinek <jakub@redhat.com>
1908 * sunrpc/rpc_thread.c (rpc_default): Remove.
1909 (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
1911 (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
1912 __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
1913 * sunrpc/auth_none.c (authnone_private): Fix a typo.
1915 2001-05-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
1917 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
1919 2001-05-16 Bruce Mitchener <bruce@cubik.org>
1921 * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
1923 2001-05-15 Andreas Jaeger <aj@suse.de>
1925 * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
1926 Stephen L Moshier <moshier@mediaone.net>.
1928 * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
1930 * math/libm-test.inc: Add comment with ToDo.
1932 * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
1933 accurate algorithm. Patch by Stephen L Moshier <moshier@mediaone.net>.
1935 * sysdeps/i386/fpu/e_expl.S: Removed.
1937 2001-05-14 Roland McGrath <roland@frob.com>
1939 * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
1940 static pattern rule also that also covers
1941 $(objpx)g$(static-start-installed-name).
1942 [$(start-installed-name) != $(static-start-installed-name)]
1943 (extra-objs, omit-deps, install-lib): Add
1944 $(static-start-installed-name) and g$(static-start-installed-name).
1945 * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
1946 just setting static-start-installed-name is now sufficient.
1947 (extra-objs): Add static-start.o here.
1948 (CFLAGS-initfini.s): Remove obsolete variable.
1949 * sysdeps/mach/hurd/i386/Makeconfig: New file.
1950 Define static-start-installed-name here.
1952 * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
1953 * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
1955 * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
1956 associated hair. Instead, just use $(wildcard ...) in the include.
1958 * configure.in (critic_missing, aux_missing): Collect in these vars
1959 the names of the missing programs, and include them in the error msgs.
1960 * configure: Regenerated.
1962 2001-05-14 Andreas Jaeger <aj@suse.de>
1964 * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
1966 * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
1968 2001-05-14 Stephen L Moshier <moshier@mediaone.net>
1970 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
1972 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1974 * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
1975 as well if swapping strings.
1976 Make sure stop is not past end of second string.
1977 * posix/bug-regex4.c: New test.
1978 * posix/Makefile (tests): Add bug-regex4.
1980 2001-05-10 Andreas Jaeger <aj@suse.de>
1982 * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
1985 2001-05-12 Andreas Jaeger <aj@suse.de>
1987 * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
1988 internal prototypes.
1989 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1990 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1991 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1992 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1993 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1994 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1995 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1997 * math/math_private.h: Add prototypes for internal functions of
1998 the IBM Accurate Mathematical Library.
2000 * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
2002 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2004 * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
2005 internal prototypes.
2006 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2007 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2008 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2009 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2010 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2011 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2012 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2013 * sysdeps/generic/e_rem_pio2l.c: Likewise.
2014 (__ieee754_rem_pio2l): Fix prototype.
2016 * math/math_private.h (__copysign): Add internal prototype.
2018 2001-05-11 Andreas Jaeger <aj@suse.de>
2020 * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
2021 * sysdeps/unix/sysv/linux/mips/configure.in: ...here. New file.
2023 2001-05-11 Andreas Jaeger <aj@suse.de>
2025 * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
2028 * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
2029 format directive. Patch by Steven J. Hill <sjhill@cotw.com>.
2031 2001-05-11 Roland McGrath <roland@frob.com>
2033 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
2034 $(build-module) here, since we don't need the full magilla.
2035 Just use $(build-module-helper) and append our special options.
2037 2001-05-09 Andreas Schwab <schwab@suse.de>
2039 * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
2042 2001-05-07 H.J. Lu <hjl@gnu.org>
2044 * elf/ldconfig.c (dir_entry): Add ino and dev.
2045 (add_single_dir): Compare ino and dev to check if 2 directory
2046 paths are the same or not. Free entry->path for duplicates.
2047 (add_dir): Initialize ino and dev for entry.
2048 (search_dir): Handle symlink to directory.
2050 2001-05-07 Andreas Jaeger <aj@suse.de>
2052 * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
2054 * math/libm-test.inc (exp_test): Add some more tests.
2055 (pow_test): Run double only test also for long double.
2057 * math/test-ldouble.c (TEST_LDOUBLE): Define.
2058 * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
2060 * sysdeps/generic/bits/confname.h: Remove extra comma at end of
2062 Closes PR libc/2240.
2064 * scripts/config.guess: Imported from gnu.org.
2065 * scripts/config.sub: Likewise.
2067 2001-05-05 Jakub Jelinek <jakub@redhat.com>
2069 * include/features.h (__USE_EXTERN_INLINES): Don't define if
2070 __NO_INLINE__ is defined.
2071 * ctype/ctype.h (tolower, toupper): Change the guard condition to
2072 __USE_EXTERN_INLINES check only.
2073 * stdlib/stdlib.h (strtod, ...): Likewise.
2074 * wcsmbs/wchar.h (mbrlen): Likewise.
2075 * string/string.h: Only include bits/string.h and bits/string2.h
2076 if __NO_INLINE__ is not defined.
2078 2001-05-07 Andreas Jaeger <aj@suse.de>
2080 * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
2083 2001-05-04 H.J. Lu <hjl@gnu.org>
2085 * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
2088 2001-05-06 Andreas Jaeger <aj@suse.de>
2090 * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
2091 * sysdeps/i386/fpu/e_fmodl.S: Removed.
2092 * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
2093 * sysdeps/i386/fpu/e_atan2l.S: Removed.
2094 * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
2095 * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
2096 * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
2097 * sysdeps/i386/fpu/e_acosl.S: Removed.
2098 * sysdeps/i386/fpu/s_atanl.S: Removed.
2099 * sysdeps/i386/fpu/e_sqrtl.S: Removed.
2101 2001-05-05 Mark Kettenis <kettenis@gnu.org>
2103 * sysdeps/mach/hurd/bits/environments.h: Add comment from
2104 sysdeps/generic/bits/environments.h. Define _POSIX_V6_* values.
2106 2001-04-30 Jakub Jelinek <jakub@redhat.com>
2108 * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
2109 that _CS_LFS_CFLAGS can fall through to the empty returned string
2110 case. Add FALLTHROUGH comment.
2112 2001-04-29 Ralf Baechle <ralf@gnu.org>
2114 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
2115 definitions match the kernel definitions.
2116 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
2117 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2119 2001-04-29 Ben Collins <bcollins@debian.org>
2121 * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
2123 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
2124 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2125 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2126 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
2127 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
2128 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2129 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2130 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2131 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2132 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2133 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2134 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2135 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
2136 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2137 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
2138 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2139 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2140 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2141 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2142 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
2143 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
2144 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
2145 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2147 2001-04-29 Andreas Schwab <schwab@suse.de>
2149 * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
2152 2001-04-29 Andreas Jaeger <aj@suse.de>
2154 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2155 Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
2157 * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
2159 (AF_WANPIPE): Likewise.
2162 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
2163 for Linux generic version.
2164 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
2165 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2166 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2167 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
2169 * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
2171 2001-04-27 Ulrich Drepper <drepper@redhat.com>
2173 * nis/nss-nis.h: Correct test for invalid error number.
2174 * nis/nss-nisplus.h: Likewise.
2176 * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
2178 2001-04-26 Ulrich Drepper <drepper@redhat.com>
2180 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
2182 * string/strcoll.c: Fix two memory allocation problems.
2183 * string/Makefile (tests): Add bug-strcoll1.
2184 * string/bug-strcoll1.c: New file.
2186 * malloc/mcheck.c (mcheck): Call malloc once before setting the
2187 hooks to allow the internal check hooks to be set up if necessary.
2189 * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
2190 and rename to __yperr2nss_tab. Change YPERR_COUNT into variable
2192 * nis/nss-nis.c: New file.
2193 * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
2194 and rename to __niserr2nss_tab. Change NISERR_COUNT into variable
2196 * nis/nss-nisplus.c: New file.
2197 * nis/Makefile (libnss_compat-routines): Add nss-nis.
2198 (libnss_nis-routines): Likewise.
2199 (libnss_nisplus-routines): Add nss-nisplus.
2201 * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
2202 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2203 * nis/nss_nisplus/nisplus-grp.c: Likewise.
2204 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2205 * nis/nss_nisplus/nisplus-network.c: Likewise.
2206 * nis/nss_nisplus/nisplus-proto.c: Likewise.
2207 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2208 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2209 * nis/nss_nisplus/nisplus-service.c: Likewise.
2210 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2211 * nis/nss_nis/nis-alias.c: Likewise.
2212 * nis/nss_nis/nis-ethers.c: Likewise.
2213 * nis/nss_nis/nis-grp.c: Likewise.
2214 * nis/nss_nis/nis-network.c: Likewise.
2215 * nis/nss_nis/nis-proto.c: Likewise.
2216 * nis/nss_nis/nis-pwd.c: Likewise.
2217 * nis/nss_nis/nis-spwd.c: Likewise.
2218 * nis/nss_compat/compat-grp.c: Likewise.
2219 * nis/nss_compat/compat-initgroups.c: Likewise.
2220 * nis/nss_compat/compat-pwd.c: Likewise.
2221 * nis/nss_compat/compat-spwd.c: Likewise.
2223 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
2224 optimizations. Patch by Jakub Jelinek <jakub@redhat.com>.
2226 2001-04-26 Andreas Jaeger <aj@suse.de>
2228 * po/zh_TW.po: Update.
2229 Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
2231 2001-04-25 Ulrich Drepper <drepper@redhat.com>
2233 * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
2234 compiler command line.
2235 * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
2236 command line for malloc.c.
2238 2001-04-25 Jakub Jelinek <jakub@redhat.com>
2240 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
2241 * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
2242 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
2243 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
2244 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here. Adjust
2245 struct msghdr for __WORDSIZE == 32.
2246 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
2247 * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
2248 for __WORDSIZE == 32.
2249 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
2250 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
2252 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
2253 Rename from longjmp, make longjmp weak alias to it.
2255 2001-04-24 David S. Miller <davem@redhat.com>
2257 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
2259 2001-04-25 Matthew Wilcox <willy@ldl.fc.hp.com>
2261 * sysdeps/hppa/stackinfo.h: New file.
2262 * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
2263 * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
2264 * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
2265 * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
2266 of PA kernel features.
2268 2001-04-25 Ulrich Drepper <drepper@redhat.com>
2270 * locale/programs/localedef.c (main): Always set a file name for
2272 * locale/programs/locfile.c (locfile_read): filename is allowed to
2275 2001-04-12 Paul Bame <paul_bame@hp.com>
2277 * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
2280 2001-04-24 Ulrich Drepper <drepper@redhat.com>
2282 * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
2283 _XBS5_LPBIG_OFFBIG): Define to -1.
2286 * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
2287 * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
2288 * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2289 * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2291 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
2292 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
2294 2001-03-21 Alan Modra <alan@one.net.au>
2296 * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
2297 value from application so that constructors in non-PIC libs work.
2299 2000-12-13 Jes Sorensen <jes@linuxcare.com>
2301 * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
2302 function pointer, hence load the jump address and gp from the
2303 function pointer before jumping.
2305 2001-04-24 Andreas Jaeger <aj@suse.de>
2307 * sysdeps/generic/send.c (__send): Return ssize_t.
2308 * sysdeps/mach/hurd/send.c (__send): Likewise.
2309 * sysdeps/mach/hurd/recv.c (recv): Likewise.
2310 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
2311 * sysdeps/generic/sendto.c (sendto): Likewise.
2312 * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
2313 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
2314 * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
2315 * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
2317 * socket/sys/socket.h: send* and recv* return ssize_t.
2319 * include/sys/socket.h: send returns ssize_t.
2321 * sysdeps/i386/fpu_control.h: Fix comments.
2323 2001-04-24 Ulrich Drepper <drepper@redhat.com>
2325 * sysdeps/ia64/Dist: Add hp-timing.c.
2326 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
2327 * posix/Makefile (distribute): Add tst-getconf.sh.
2328 * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
2330 2001-04-23 Ulrich Drepper <drepper@redhat.com>
2332 * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
2333 * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
2334 * sysdeps/ia64/hp-timing.c: New file.
2335 * sysdeps/ia64/hp-timing.h: New file.
2336 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
2337 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
2339 * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
2340 using #ifdef whether the clock is available.
2341 * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
2343 * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
2344 it into data section.
2346 * sysdeps/unix/i386/i586/clock_getres.c: Removed.
2347 * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
2348 * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
2349 * sysdeps/unix/i386/i586/clock_settime.c: Removed.
2350 * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
2351 * sysdeps/generic/cpuclock-init.h: Removed.
2352 * sysdeps/unix/i386/i686/Implies: Removed.
2353 * sysdeps/unix/i386/i686/tempname.c: Removed.
2354 * sysdeps/i386/i686/Versions: New file.
2355 * sysdeps/unix/i386/i586/Versions: Removed.
2357 * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
2358 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
2359 * sysdeps/unix/clock_gettime.c: Likewise.
2360 * sysdeps/unix/clock_nanosleep.c: Likewise.
2361 * sysdeps/unix/clock_settime.c: Likewise.
2362 * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
2363 RANDOM_BITS use CPU clock.
2365 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
2366 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
2367 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
2368 * sysdeps/sparc/Versions: New file.
2370 * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
2371 hp-timing.h definitions.
2372 * sysdeps/generic/dl-sysdep.c: Likewise.
2374 * include/libc-internal.h: Include hp-timing.h. Use hp_timing_t in
2375 __get_clockfreq prototype.
2377 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2378 Use hp_timing_t type.
2379 * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
2381 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
2383 * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
2384 whether named file is a regular file or a block device.
2385 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2387 2001-04-23 Andreas Jaeger <aj@suse.de>
2389 * nscd/nscd.h: Add noreturn attribute for start_threads.
2391 2001-04-22 Ulrich Drepper <drepper@redhat.com>
2393 * posix/getconf.c: Fix names of XBS5 LFS test variables.
2394 Add missing configuration variables from XPG6.
2395 * posix/tst-getconf.c: New file.
2396 * posix/Makefile (generated): Add tst-getconf.out.
2397 (tests): Add ($objpfx)tst-getconf.out.
2398 Add rule to run tst-getconf.sh.
2399 * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
2401 * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
2403 * sysdeps/posix/pathconf.c: Likewise.
2404 * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
2405 and _SC_SYMLOOP_MAX.
2407 2001-04-22 Philip Blundell <philb@gnu.org>
2409 * sysdeps/arm/fpu/feenablxcpt.c: New file.
2410 * sysdeps/arm/fpu/fedisablxcpt.c: New file.
2411 * sysdeps/arm/fpu/fegetexcpt.c: New file.
2413 2001-04-22 Philip Blundell <philb@gnu.org>
2415 * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
2416 Renamed from struct user_fp.
2417 (struct user_regs): New.
2418 (struct user): Use struct user_regs rather than struct pt_regs to
2419 avoid dependency on asm/ptrace.h. Use struct user_fpregs in place
2420 of struct user_fp and struct user_fp_struct.
2421 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
2424 2001-04-22 Philip Blundell <philb@gnu.org>
2426 * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
2427 sys/procfs.h, and tell the user to include that file instead.
2428 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
2429 surrounded with #if 0.
2430 (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
2432 (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
2433 elf_fpregset_t respectively.
2435 2001-04-22 Philip Blundell <philb@gnu.org>
2437 * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
2438 address that faulted.
2440 2001-04-21 Ulrich Drepper <drepper@redhat.com>
2442 * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
2444 * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
2445 * posix/confstr.c: Handle _CS_POSIX_V6_* values.
2446 * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
2447 * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
2449 * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
2450 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2451 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2452 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2454 2001-04-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2456 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
2459 2001-04-21 Ulrich Drepper <drepper@redhat.com>
2461 * posix/getopt.h: Treat __cplusplus like __STDC__.
2463 2001-04-20 John S. Marvin <jsm@fc.hp.com>
2465 * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
2468 2001-04-20 Richard Hirst <rhirst@linuxcare.com>
2470 * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
2471 and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
2473 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
2474 entry so the ptrace.c wrapper is used.
2476 2001-04-20 Alan Modra <amodra@one.net.au>
2478 * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
2479 (DL_FUNCTION_ADDRESS): Define.
2480 (DL_DT_INIT_ADDRESS): Define.
2481 (DL_DT_FINI_ADDRESS): Define.
2482 * sysdeps/hppa/Versions: Add _dl_function_address.
2483 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
2484 * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
2485 _dl_function_address.
2487 2001-04-21 Andreas Jaeger <aj@suse.de>
2489 * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
2490 * resolv/gai_misc.c (handle_requests): Likewise.
2491 * malloc/obstack.c (print_and_abort): Likewise.
2492 * malloc/mcheck.c (mabort): Likewise.
2494 * sysdeps/unix/i386/i586/clock_settime.c: Include
2495 "libc-internal.h" for __get_clockfreq declaration.
2497 2001-04-21 Ulrich Drepper <drepper@redhat.com>
2499 * elf/dl-support.c: Include cpuclock-init.h. Use CPUCLOCK_VARDEF and
2500 CPUCLOCK_INIT if defined.
2501 * sysdeps/generic/dl-sysdep.c: Likewise.
2502 * sysdeps/generic/cpuclock-init.h: New file.
2503 * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
2504 * sysdeps/unix/i386/i586/Versions: New file.
2505 * sysdeps/unix/i386/i586/clock_settime.c: New file.
2506 * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
2507 separately by calling __pthread_clock_gettime if this function is
2508 available. Subtract offset from tsc value before computing time value.
2510 2001-04-20 Ulrich Drepper <drepper@redhat.com>
2512 * iconv/iconv_prog.c (print_known_names): If printing goes not to
2513 a tty print in a more machine-friendly way.
2515 * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
2516 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2518 2001-04-20 Andreas Jaeger <aj@suse.de>
2520 * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
2522 2001-04-20 Andreas Schwab <schwab@suse.de>
2524 * sysdeps/m68k/fpu/libm-test-ulps: Update.
2526 2001-04-19 Alan Modra <amodra@one.net.au>
2528 * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
2529 * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
2530 (CFLAGS-.os): Remove.
2532 * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
2534 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
2535 gregset): Correct for new kernel definitions.
2537 2001-04-19 Alan Modra <alan@linuxcare.com.au>
2539 * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
2540 generate unwind info by hand.
2542 2001-04-19 Ulrich Drepper <drepper@redhat.com>
2544 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
2546 * configure.in: Correct regular expression for msgfmt.
2547 Patch by Bruno Haible <haible@ilog.fr>.
2549 2001-04-19 Andreas Jaeger <aj@suse.de>
2551 * po/el.po: Add comment explaining what's broken.
2553 * po/Makefile (BROKEN_LINGUAS): New.
2554 (ALL_LINGUAS): Don't add broken languages.
2556 2001-04-19 Roland McGrath <roland@frob.com>
2558 * sysdeps/mach/hurd/mlock.c: New file.
2559 * sysdeps/mach/hurd/munlock.c: New file.
2560 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
2562 * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
2563 * sysdeps/generic/mlock.c: New file.
2564 * sysdeps/generic/munlock.c: New file.
2565 * sysdeps/generic/mlockall.c: New file.
2566 * sysdeps/generic/munlockall.c: New file.
2567 * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
2568 * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
2569 mlockall, munlockall): Change caller field to - from EXTRA.
2570 Don't use __ names; not used (and not declared in include/sys/mman.h).
2572 * hurd/privports.c (__get_privileged_ports): Renamed with __.
2573 Use __ names for calls we make.
2574 (get_privileged_ports): Add alias.
2575 * hurd/hurd.h: Declare it with the __ name.
2576 * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
2577 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
2578 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2580 * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
2581 nothing if it's zero.
2583 2001-04-19 Matthew Wilcox <willy@ldl.fc.hp.com>
2585 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
2586 Change to return a signed result for compatibility with other
2587 architectures, and correctness.
2589 2001-04-19 Ulrich Drepper <drepper@redhat.com>
2591 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
2592 HPPA always had them. Patch by Matthew Wilcox <matthew@wil.cx>.
2594 2001-04-19 Andreas Jaeger <aj@suse.de>
2596 * configure.in: Require gettext 0.10.36 or newer.
2598 * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
2600 * po/zh_TW.po: Remove extraneous backslashes.
2602 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
2605 2001-04-18 Jakub Jelinek <jakub@redhat.com>
2607 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
2608 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
2609 * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
2610 * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
2611 Copy first word of uc_sigmask into __uc_sigmask.
2612 * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
2613 Save uc_link around trap. Copy __uc_sigmask into first word of
2614 uc_sigmask, clear the rest. Make sure setcontext to the created
2615 context doesn't do this though.
2616 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
2617 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
2618 uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
2619 64bit version, make uc_sigmask __sigset_t in the 32bit version.
2621 2001-04-19 Andreas Jaeger <aj@suse.de>
2623 * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
2625 * rt/Makefile (otherlibs): Added for static NSS.
2627 * glibcbug.in (BUGGLIBC): Send to new alias.
2629 2001-04-02 Andreas Schwab <schwab@suse.de>
2631 * Makerules (build-module): Make sure exit codes get checked
2632 properly and remove unnecessary slashes.
2634 2001-04-17 Ulrich Drepper <drepper@redhat.com>
2636 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2637 Handle kernels which report only three digits after the decimal point.
2638 Reported by Van Okamura <van.okamura@oracle.com>.
2640 * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
2642 2001-04-17 David S. Miller <davem@redhat.com>
2644 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
2645 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2647 2001-04-17 Jakub Jelinek <jakub@redhat.com>
2649 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
2650 desired exceptions are raised for exceptional values.
2651 * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
2652 cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
2653 clog_test, log_test, log1p_test, tan_test): Increase precision of
2654 expected values to satisfy ldbl-128.
2655 * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
2656 * sysdeps/arm/libm-test-ulps: Likewise.
2657 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2658 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2659 * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
2660 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2661 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2662 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2663 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2664 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2665 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2667 2001-04-17 Andreas Jaeger <aj@suse.de>
2669 * configure.in: Move test for critical programs up.
2671 2001-04-16 Stephen L Moshier <moshier@mediaone.net>
2673 * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
2675 (pSx, qSx): Replace by shorter approximation.
2676 Use f suffix on float constants.
2678 2001-04-16 Ulrich Drepper <drepper@redhat.com>
2680 * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
2681 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2683 * string/string.h: Replace const in attribute list with __const__.
2685 2001-04-16 Roland McGrath <roland@frob.com>
2687 * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
2688 instead of the constant NGROUPS_MAX. That way, the limit can be
2689 raised in the kernel configuration without having to recompile libc.
2691 * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
2692 define NGROUPS_MAX; we don't use it here.
2694 2001-04-16 Andreas Jaeger <aj@suse.de>
2696 * math/libm-test.inc (atan2_test): Add more testcases.
2698 * iconv/gconv_db.c: Include gconv_charset.h for
2699 __gconv_lookup_alias prototype.
2701 2001-04-13 Ulrich Drepper <drepper@redhat.com>
2703 * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
2704 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2706 2001-04-13 Jes Sorensen <jes@linuxcare.com>
2708 * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
2710 2001-04-13 Jes Sorensen <jes@linuxcare.com>
2712 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
2713 explicitly pad struct siginfo instead of relying on compiler padding.
2715 2001-04-12 Ulrich Drepper <drepper@redhat.com>
2717 * sysdeps/ia64/Dist: Add elf/entry.h.
2719 * iconvdata/Makefile (distribute): Add TESTS2.
2721 2001-04-13 Jakub Jelinek <jakub@redhat.com>
2723 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
2724 Calculate load address differently.
2726 2001-04-12 Bruno Haible <haible@clisp.cons.org>
2728 * iconvdata/TESTS2: New file.
2729 * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
2730 * iconvdata/testdata/alfabeta..UTF-8: New file.
2731 * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
2732 * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
2733 * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
2734 * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
2736 2001-04-11 Bruno Haible <haible@clisp.cons.org>
2738 * iconvdata/utf-32.c: New file.
2739 * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
2740 * iconvdata/Makefile (modules): Add UTF-32.
2741 (distribute): Add utf-32.c.
2743 2001-04-11 Bruno Haible <haible@clisp.cons.org>
2745 * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
2746 changing it in the state. After incrementing 'inptr', store it back.
2747 * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
2750 2001-04-11 Bruno Haible <haible@clisp.cons.org>
2752 * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
2755 2001-04-11 David Mosberger <davidm@hpl.hp.com>
2757 * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
2758 * sysdeps/ia64/htons.S: Likewise.
2760 * sysdeps/ia64/memset.S: Add unwind directives.
2761 * sysdeps/ia64/strncpy.S: Likewise.
2762 * sysdeps/ia64/strcat.S: Likewise.
2764 * sysdeps/ia64/memccpy.S: Add unwind directives. Drop superfluous
2766 * sysdeps/ia64/strchr.S: Likewise.
2767 * sysdeps/ia64/memmove.S: Likewise.
2768 * sysdeps/ia64/memcpy.S: Likewise.
2769 * sysdeps/ia64/memcmp.S: Likewise.
2770 * sysdeps/ia64/memchr.S: Likewise.
2771 * sysdeps/ia64/strcmp.S: Likewise.
2772 * sysdeps/ia64/strlen.S: Likewise.
2773 * sysdeps/ia64/strcpy.S: Likewise.
2774 * sysdeps/ia64/strncmp.S: Likewise.
2776 2001-04-11 Jakub Jelinek <jakub@redhat.com>
2778 * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
2779 fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
2780 fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
2781 fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
2783 2001-04-11 Andreas Jaeger <aj@suse.de>
2785 * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
2787 2001-04-11 Andreas Schwab <schwab@suse.de>
2789 * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
2791 2001-04-11 Ulrich Drepper <drepper@redhat.com>
2793 * sysdeps/arm/stackinfo.h: New file.
2795 2001-04-08 Thorsten Kukuk <kukuk@suse.de>
2797 * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
2798 rpcgen to generate thread safe code.
2800 2001-04-10 Andreas Jaeger <aj@suse.de>
2802 * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
2804 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2806 * elf/dl-minimal.c (__assert_fail): Change error string. It's
2807 most of the time no bug in ld.so.
2808 (__assert_perror_fail): Likewise.
2810 2001-04-11 Hans-Peter Nilsson <hp@axis.com>
2812 * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
2813 from struct to unsigned int.
2815 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2817 * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
2818 AT_IGNOREPPC): New defines.
2819 * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
2820 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2821 Define for newer powerpc kernels.
2822 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
2823 DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
2825 2000-4-10 kaz Kojima <kkojima@rr.iij4u.or.jp>
2827 * sysdeps/sh/stackinfo.h: New file.
2829 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2831 * locale/tst-C-locale.c (run_test): Add tests for locale objects.
2832 * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
2833 __ctype_tolower, and __ctype_toupper elements.
2835 * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
2836 Reported by Konstantin Osipov <rabid@spylog.ru>.
2838 * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
2841 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2843 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
2844 * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
2845 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
2846 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
2848 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2850 * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
2851 message. Based on a patch by HJ Lu.
2853 2001-04-10 Andreas Schwab <schwab@suse.de>
2855 * math/libm-test.inc (csinh_test): Don't require the invalid
2856 exception for csinh (x + iNaN), but make it optional.
2858 2001-04-09 David Mosberger <davidm@hpl.hp.com>
2860 * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
2862 * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
2863 * sysdeps/ia64/elf/entry.h: New file.
2864 * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
2866 * elf/rtld.c: Don't declare ENTRY_POINT. Use ENTRY_POINT instead
2868 * sysdeps/generic/dl-sysdep.c: Likewise.
2869 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2870 * sysdeps/ia64/elf/start.S: Save base address of register backing
2871 store in __libc_ia64_register_backing_store_base.
2873 2001-04-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
2875 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
2876 value of getcontext.
2877 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2878 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
2879 value of setcontext.
2880 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2881 * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
2882 call by changing the saved context.
2884 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2886 * sysdeps/alpha/stackinfo.h: New file.
2887 * sysdeps/ia64/stackinfo.h: New file.
2889 2001-04-10 Andreas Schwab <schwab@suse.de>
2891 * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
2893 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2895 2001-04-09 Ulrich Drepper <drepper@redhat.com>
2897 * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
2898 * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
2900 * libio/Makefile (distribute): Add fd_to_filename.h.
2902 2001-04-05 David S. Miller <davem@redhat.com>
2904 Add hp-timing support for sparcv9/sparc64 targets.
2905 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
2906 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
2907 * sysdeps/sparc/sparc64/hp-timing.c: New file
2908 * sysdeps/sparc/sparc64/hp-timing.h: New file
2909 * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
2910 * sysdeps/sparc/sparc64/Makefile: Likewise.
2912 2001-04-09 Jakub Jelinek <jakub@redhat.com>
2914 * sysdeps/generic/fd_to_filename.h: New file.
2915 * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
2916 * libio/freopen.c (freopen): If FILENAME is NULL, try to get
2917 filename from the open file descriptor.
2918 * libio/freopen64.c (freopen64): Likewise.
2920 2001-04-09 Bruno Haible <haible@clisp.cons.org>
2922 * misc/error.c (error): fflush stdout also if
2923 error_print_progname != NULL.
2924 (error_at_line): Likewise.
2926 2001-04-07 Bruno Haible <haible@clisp.cons.org>
2928 * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
2929 (struct binding): Add codeset_cntr field.
2930 (_nl_load_domain): Add domainbinding argument.
2931 (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
2932 (_nl_find_msg): New declaration, moved here from loadinfo.h.
2933 * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
2934 (_nl_make_l10nflist): Remove domainbinding argument.
2935 (_nl_find_msg): Move declaration to gettextP.h.
2936 * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
2937 to 0. Increment it when ->codeset is changed.
2938 * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
2939 (_nl_find_msg): Add domainbinding argument. Reinitialize the converter
2940 if domainbinding->codeset_cntr has been incremented.
2941 * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
2942 _nl_make_l10nflist(). Pass it to _nl_load_domain() instead.
2943 * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
2944 * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
2945 from _nl_load_domain. Append //TRANSLIT also when using libiconv.
2946 (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
2947 (_nl_load_domain): Add domainbinding argument. Call
2948 _nl_init_domain_conv.
2949 (_nl_unload_domain): Call _nl_free_domain_conv.
2950 * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
2951 (test-srcs): Add tst-codeset.
2952 (tests): Depend on tst-codeset.out.
2953 (tst-codeset.out): New rule.
2954 (CFLAGS-tst-codeset.c): New variable.
2955 * intl/tst-codeset.sh: New file.
2956 * intl/tstcodeset.po: New file.
2957 * intl/tst-codeset.c: New file.
2958 * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
2961 2001-04-07 Roland McGrath <roland@frob.com>
2963 * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
2965 2001-03-31 Roland McGrath <roland@frob.com>
2967 * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
2968 copying send rights into child. When we hit our name for our proc
2969 port, just copy NEWPROC directly instead of repeating proc_task2proc
2970 to install the child's port.
2972 2001-04-08 Roland McGrath <roland@frob.com>
2974 * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
2975 in second column, to provide default values for third column.
2976 * shlib-versions: Add comments about using DEFAULT in second column.
2977 (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
2978 (cris-.*-linux.*): Likewise.
2980 2001-04-09 Ulrich Drepper <drepper@redhat.com>
2982 * Makefile (distribute): Add scripts/documented.sh.
2983 * scripts/documented.sh: New file.
2985 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2987 * sysdeps/unix/sysv/linux/cris/Dist: New file.
2988 * sysdeps/unix/sysv/linux/cris/Makefile: New file.
2989 * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
2990 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
2991 * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
2992 * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
2993 * sysdeps/unix/sysv/linux/cris/brk.c: New file.
2994 * sysdeps/unix/sysv/linux/cris/chown.c: New file.
2995 * sysdeps/unix/sysv/linux/cris/clone.S: New file.
2996 * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
2997 * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
2998 * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
2999 * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
3000 * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
3001 * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
3002 * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
3003 * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
3004 * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
3005 * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
3006 * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
3007 * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
3008 * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
3009 * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
3010 * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
3011 * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
3012 * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
3013 * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
3014 * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
3015 * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
3016 * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
3017 * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
3018 * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
3019 * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
3020 * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
3021 * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
3022 * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
3023 * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
3024 * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
3025 * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
3026 * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
3027 * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
3028 * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
3029 * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
3030 * sysdeps/unix/sysv/linux/cris/socket.S: New file.
3031 * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
3032 * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
3033 * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
3034 * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
3035 * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
3036 * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
3038 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3040 * sysdeps/cris/Dist: New file.
3041 * sysdeps/cris/Implies: New file.
3042 * sysdeps/cris/Makefile: New file.
3043 * sysdeps/cris/__longjmp.S: New file.
3044 * sysdeps/cris/_mcount.S: New file.
3045 * sysdeps/cris/bits/endian.h: New file.
3046 * sysdeps/cris/bits/setjmp.h: New file.
3047 * sysdeps/cris/bits/string.h: New file.
3048 * sysdeps/cris/dl-machine.h: New file.
3049 * sysdeps/cris/elf/start.S: New file.
3050 * sysdeps/cris/machine-gmon.h: New file.
3051 * sysdeps/cris/memcopy.h: New file.
3052 * sysdeps/cris/memusage.h: New file.
3053 * sysdeps/cris/setjmp.S: New file.
3054 * sysdeps/cris/sysdep.h: New file.
3055 * sysdeps/cris/wordcopy.c: New file.
3057 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3059 * elf/elf.h: Add new relocations for CRIS.
3061 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3063 * shlib-versions: Add cases for Linux on CRIS.
3065 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3067 * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
3068 ';' for comments and '@' for line separator.
3070 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3072 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
3073 typo; s/==/=/ for assignment.
3075 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3077 * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
3079 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3081 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
3082 empty input before checking full output.
3084 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3086 * iconv/gconv.c (__gconv): Don't derefer parameter cd before
3089 2001-04-08 Ulrich Drepper <drepper@redhat.com>
3091 * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
3093 2001-04-07 Stephen L Moshier <moshier@mediaone.net>
3095 * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
3098 2001-04-07 Ulrich Drepper <drepper@redhat.com>
3100 * stdlib/tst-setcontext.c (main): Add a test for setcontext.
3102 * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
3103 * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
3104 * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
3105 * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
3106 * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
3107 * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
3109 2001-04-07 Andreas Jaeger <aj@suse.de>
3111 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
3112 instead of separate sin and cos.
3113 (__ieee754_j1l): Likewise.
3115 2001-04-06 Ulrich Drepper <drepper@redhat.com>
3117 * sysdeps/ia64/abort-instr.h: New file. Code by David Mosberger.
3119 * sysdeps/ia64/atomicity.h: New file. Copied from libstdc++.
3121 * sysdeps/i386/i486/atomicity.h: Clean up the asms.
3123 * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
3125 * sysdeps/generic/e_scalbf.c: Likewise.
3126 * sysdeps/generic/e_scalbl.c: Likewise.
3127 Patch by Mark Hatle <fray@mvista.com>.
3129 2001-04-05 David S. Miller <davem@redhat.com>
3131 * sysdeps/sparc/abort-instr.h: New file.
3133 2001-04-05 Matt Wilson <msw@redhat.com>
3135 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
3136 added code to parse new 2.4 format.
3137 (GET_NPROCS_CONF_PARSER): Likewise.
3139 2001-04-05 David S. Miller <davem@redhat.com>
3141 * scripts/config.sub: Recognize sparcv9b like sparcv9.
3142 * configure.in: Add sparcv9b.
3143 * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
3144 * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
3145 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
3147 2001-04-06 David Mosberger <davidm@hpl.hp.com>
3149 * stdlib/tst-setcontext.c: Move st2[] to global scope.
3150 (f2): Verify that stack pointer is inside st2[].
3152 * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
3153 * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
3155 2001-04-06 Ulrich Drepper <drepper@redhat.com>
3157 * timezone/antarctica: Update from tzdata2001b.
3158 * timezone/asia: Likewise.
3159 * timezone/australasia: Likewise.
3160 * timezone/europe: Likewise.
3161 * timezone/northamerica: Likewise.
3163 * iconv/iconv_open.c: Move strip and upstr definitions...
3164 * iconv/gconv_charset.h: ...here. New file.
3165 * iconv/gconv_db.c (once): Move to file level.
3166 (do_lookup_alias): Split out from __gconv_find_transform.
3167 (__gconv_find_transform): Call do_lookup_alias.
3168 (__gconv_loopup_alias): New function.
3169 * locale/langinfo.h: Define _NL_*_CODESET values for all categories
3171 * locale/categories.def: Add entries for new _NL_*_CODESET values.
3172 * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
3173 * locale/C-address.c: Initialize _NL_*_CODESET element.
3174 * locale/C-collate.c: Likewise.
3175 * locale/C-identification.c: Likewise.
3176 * locale/C-measurement.c: Likewise.
3177 * locale/C-messages.c: Likewise.
3178 * locale/C-monetary.c: Likewise.
3179 * locale/C-name.c: Likewise.
3180 * locale/C-numeric.c: Likewise.
3181 * locale/C-paper.c: Likewise.
3182 * locale/C-telephone.c: Likewise.
3183 * locale/C-time.c: Likewise.
3184 * locale/localeinfo.h: Declare _nl_C_codeset.
3185 * locale/C_name.c: Define _nl_C_codeset.
3186 * locale/findlocale.c: Before accepting locale check that the used
3187 charset does not conflict with what the locale name said.
3188 * locale/programs/ld-address.c: Emit codeset information.
3189 * locale/programs/ld-collate.c: Likewise.
3190 * locale/programs/ld-identification.c: Likewise.
3191 * locale/programs/ld-measurement.c: Likewise.
3192 * locale/programs/ld-messages.c: Likewise.
3193 * locale/programs/ld-monetary.c: Likewise.
3194 * locale/programs/ld-name.c: Likewise.
3195 * locale/programs/ld-numeric.c: Likewise.
3196 * locale/programs/ld-paper.c: Likewise.
3197 * locale/programs/ld-telephone.c: Likewise.
3198 * locale/programs/ld-time.c: Likewise.
3200 * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
3201 if the locale data couldn't be found.
3203 * string/Makefile: Define tst-strxfrm-ENV.
3205 * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
3207 2001-04-06 Andreas Jaeger <aj@suse.de>
3209 * include/sys/profil.h: New file.
3211 * dlfcn/modatexit.c: Add prototypes to silence GCC.
3212 * dlfcn/modcxaatexit.c: Likewise.
3213 * elf/globalmod1.c: Likewise.
3215 2001-04-05 David S. Miller <davem@redhat.com>
3217 * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
3218 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
3219 capability flags table and HWCAP_IMPORTANT, increase
3220 _DL_HWCAP_COUNT to 6.
3221 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3223 2001-04-04 David Mosberger <davidm@hpl.hp.com>
3225 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
3226 initialization of stack_end (bug reported by Zheng Gengbin
3227 <gzheng@students.uiuc.edu>).
3229 2001-04-05 Ulrich Drepper <drepper@redhat.com>
3231 * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
3233 2001-04-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
3235 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
3237 2001-04-05 Ulrich Drepper <drepper@redhat.com>
3239 * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
3240 * sysdeps/i386/fpu/e_asinl.S: Removed. Too inaccurate.
3242 * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
3244 2001-04-04 Ulrich Drepper <drepper@redhat.com>
3246 * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
3247 define simple replacements here. Patch by Michael Keezer.
3249 * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
3250 * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
3251 Contributed by Stephen L Moshier <moshier@mediaone.net>.
3253 * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
3256 2001-04-01 Andreas Jaeger <aj@suse.de>
3258 * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
3261 * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
3263 2001-04-04 Ulrich Drepper <drepper@redhat.com>
3265 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
3266 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
3268 2001-04-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
3270 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
3271 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
3272 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
3273 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
3274 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
3275 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
3276 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
3277 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
3278 * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
3280 2001-04-04 Andreas Jaeger <aj@suse.de>
3282 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
3285 2001-04-04 Ulrich Drepper <drepper@redhat.com>
3287 * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
3288 * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
3289 * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
3290 (unsigned_dec): Likewise.
3291 Patch by atai@jezebel.dreamhost.com.
3293 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
3294 pointer to int as last parameter of yp_match.
3295 Patch by kanazawa@flab.fujitsu.co.jp.
3297 2001-04-03 Ulrich Drepper <drepper@redhat.com>
3299 * resolv/netdb.h (gai_strerror): Make return value const.
3300 * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
3301 * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
3302 Add strings for new error values.
3304 2001-03-29 Michael Keezer <mkeezer@redhat.com>
3306 * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
3307 * login/tst-utmp.c: Handle case where ut_tv is not available but
3309 * sysdeps/unix/sysv/aix/utmpx.h: New file.
3310 * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
3311 _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
3312 * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
3313 * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
3314 to access RTCU timer reg.
3315 * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
3316 added dl-libc, dl-open,dl-sym, dl-close to misc.
3317 * sysdeps/unix/sysv/aix/start.c: New file. Start code.
3318 * sysdeps/unix/sysv/aix/dlldr.h: New file. AIX __loadx defines.
3319 * sysdeps/unix/sysv/aix/dl-close.c: New file. AIX dl-close.
3320 * sysdeps/unix/sysv/aix/dl-open.c: New file. AIX dl-open.
3321 * sysdeps/unix/sysv/aix/dl-sym.c: New file. AIX dl-sym.
3322 * sysdeps/unix/sysv/aix/dl-libc.c: New file. libc_dl-xxx support.
3323 * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
3325 * sysdeps/generic/strtoull.c: Likewise.
3326 * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
3327 * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
3328 sysdeps/generic/memset.c.
3329 * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
3331 2001-04-03 Ulrich Drepper <drepper@redhat.com>
3333 * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
3334 * locale/programs/charmap.c: Define null_pointer if
3335 NEED_NULL_POINTER is defined.
3337 * misc/dirname.c (dirname): Handle multiple slashes correctly.
3339 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
3341 * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
3343 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
3345 * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
3346 * sysdeps/s390/s390-64/bcopy.S: Likewise.
3347 * sysdeps/s390/s390-32/mempcy.S: Likewise.
3348 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3350 2001-04-02 Bruno Haible <haible@clisp.cons.org>
3352 * manual/message.texi (Advanced gettext functions): More specific
3353 syntax in the plural formula examples.
3355 2001-04-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3357 * sysdeps/powerpc/atomicity.h: Silence warnings.
3358 * sysdeps/powerpc/dl-machine.h: Likewise.
3359 * sysdeps/powerpc/register-dump.h: Likewise.
3360 * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
3362 2001-04-02 Andreas Jaeger <aj@suse.de>
3364 * misc/tst-dirname.c (main): Add more tests, derived from a bug
3365 report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
3367 2001-04-01 Andreas Jaeger <aj@suse.de>
3369 * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
3371 * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
3373 2001-04-01 H.J. Lu <hjl@gnu.org>
3375 * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
3377 * stdlib/isomac.c (macrofile): Likewise.
3379 2001-03-30 Thorsten Kukuk <kukuk@suse.de>
3381 * inet/rcmd.c: Allow AF_UNSPEC as parameter.
3382 * nis/ypclnt.c (yp_all): Print error message only at last try,
3383 check for protocoll error only if we don't have a network error.
3385 2001-04-02 Andreas Schwab <schwab@suse.de>
3387 * resolv/res_data.c (res_isourserver): Fix cast.
3389 2001-04-02 Andreas Jaeger <aj@suse.de>
3391 * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
3394 * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
3396 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
3398 * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
3400 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
3402 * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
3403 warning about unused variable.
3405 * string/string.h (strndupa): Add cast for C++ conformance.
3406 (strdupa): Likewise.
3407 Fixes PR libc/2173, reported by tbrowder@home.com.
3409 2001-03-30 Roland McGrath <roland@frob.com>
3411 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
3412 options after $(build-module), which is no longer a single command.
3413 (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
3414 (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
3415 variables using it. Reported by Mark Kettenis <kettenis@gnu.org>.
3417 2001-03-11 Roland McGrath <roland@frob.com>
3419 * elf/rtld.c (dl_main): Add cast to quiet warning.
3420 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3421 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
3422 (__gconv_read_conf): Likewise.
3423 * iconv/gconv_db.c (gen_steps): Likewise.
3424 (__gconv_find_transform): Likewise.
3425 * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
3426 (fopen_uncompressed): Use const in second argument's type.
3428 2001-03-11 Roland McGrath <roland@frob.com>
3430 * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
3432 * mach/mach_error.h: Fix ancient #endif syntax.
3433 * hurd/hurdmalloc.c: Likewise.
3435 * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
3436 compare_and_swap): Add volatile qualifier to first arg, to bring
3437 these prototypes in line with all the other implementations.
3438 Add a #warning to remind the builder that these are not atomic.
3440 2001-03-04 Roland McGrath <roland@frob.com>
3442 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
3443 member of TEMP_F so its type is _IO_FILE * as expected.
3445 * hurd/fopenport.c (seekio): Conditionalize type of POS argument
3446 on [USE_IN_LIBIO]. Check the value for overflow, since for libio
3447 it might exceed off_t's range.
3449 2001-02-25 Roland McGrath <roland@frob.com>
3451 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
3452 * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
3454 * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
3455 macro instead of an inline function,
3456 (MSG_EXAMINE): Likewise.
3458 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
3460 * hurd/get-host.c: Include <string.h> for decls of built-ins.
3461 * hurd/hurdchdir.c: Likewise.
3462 * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
3463 * sysdeps/mach/hurd/opendir.c: Likewise.
3465 * mach/mach_init.c: Include <unistd.h> for _exit decl.
3467 * mach/errsystems.awk: Give output file a trailing newline.
3469 * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
3470 the script will use our compiler for the cpp stage.
3472 With --enable-all-warnings we get a whole bunch of warnings,
3473 and these are just a few fixes; there are more needed to silence it.
3474 * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
3475 decls before extern inline defns to quiet gcc warning.
3476 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
3477 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
3479 2001-03-31 Andreas Jaeger <aj@suse.de>
3481 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
3482 (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
3483 (ARPHRD_CISCO): New.
3484 Changes from Linux 2.4.3.
3486 2001-03-30 Isamu Hasegawa <isamu@yamato.ibm.com>
3488 * posix/regex.c: Avoid an access violation if malloc fails.
3490 2001-03-30 Andreas Jaeger <aj@suse.de>
3492 * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
3494 2001-03-29 Ulrich Drepper <drepper@redhat.com>
3496 * posix/regex.c: Remove unnecessary ifs.
3498 * math/bits/mathcalls.h: Remove infnan declaration.
3500 2001-03-29 H.J. Lu <hjl@gnu.org>
3502 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
3503 and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
3504 * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
3506 2001-03-29 Isamu Hasegawa <isamu@yamato.ibm.com>
3508 * posix/regex.c: Fix typo and add a sentinel.
3510 2001-03-29 Ulrich Drepper <drepper@redhat.com>
3512 * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
3513 O_NOFOLLOW. Suggested by Christoph Roland.
3515 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
3517 * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
3518 * sysdeps/s390/s390-32/bits/string.h: Remove.
3519 * sysdeps/s390/s390-64/bits/string.h: Remove.
3520 * sysdeps/s390/s390-32/strcmp.S: New file.
3521 * sysdeps/s390/s390-64/strcmp.S: New file.
3523 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
3525 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
3526 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3528 2001-03-27 Ulrich Drepper <drepper@redhat.com>
3530 * version.h (VERSION): Bump to 2.2.3.
3532 * stdlib/isomac.c (fmt): Don't define _LIBC.
3533 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
3534 LOW_HALF only if _LIBC is defined.
3536 * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
3538 * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
3540 * posix/tst-fnmatch.input: Add test cases for matching empty strings.
3542 * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions...
3543 * include/endian.h: ...to here.
3545 2001-03-27 kaz Kojima <kkojima@rr.iij4u.or.jp>
3547 * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
3548 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
3550 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
3552 * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
3554 2001-03-26 Ulrich Drepper <drepper@redhat.com>
3556 * sysdeps/ia64/fpu/Dist: Add new files to distribute.
3557 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
3558 * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
3560 * gmon/Makefile (headers): Add sys/profil.h.
3562 2001-03-18 Andreas Jaeger <aj@suse.de>
3564 * manual/install.texi (Tools for Compilation): Advise to use GCC
3566 (Supported Configurations): Mention s390x.
3568 2001-03-26 Ben Collins <bcollins@debian.org>
3570 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
3571 defines to match other architectures.
3573 2001-03-26 Ulrich Drepper <drepper@redhat.com>
3575 * libio/Makefile (tests): Add tst-ext.
3576 * libio/tst-ext.c: New file.
3578 * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
3580 2001-03-25 Ulrich Drepper <drepper@redhat.com>
3582 Add changes which were in this form in the original patch by
3583 Eric Norum <eric.norum@usask.ca>.
3584 * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
3586 * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
3587 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3588 __rpc_thread_svc_max_pollfd.
3589 Define svc_fdset, get_rpc_createerr, svc_pollfd, and
3591 * sunrpc/rpc_thread.c: Handle first thread special, it uses the
3593 Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
3594 __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
3595 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset,
3596 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3597 __rpc_thread_svc_max_pollfd.
3598 * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
3600 * sunrpc/clnt_perr.c: Likewise.
3601 * sunrpc/clnt_simp.c: Likewise.
3602 * sunrpc/clnt_tcp.c: Likewise.
3603 * sunrpc/clnt_udp.c: Likewise.
3604 * sunrpc/clnt_unix.c: Likewise.
3605 * sunrpc/pm_getport.c: Likewise.
3607 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
3608 syscall checks for negative n so don't test here as well.
3610 2001-03-23 Jes Sorensen <jes@linuxcare.com>
3612 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
3613 * sysdeps/ia64/sysdep.h: ...here.
3615 * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
3616 * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
3618 * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
3619 declare instead of LEAF(). Suggestion from David Mosberger.
3621 2001-03-21 David Mosberger <davidm@hpl.hp.com>
3623 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
3625 (PSEUDO): Drop .psr and .lsb directives.
3627 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind
3629 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
3631 * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
3633 * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
3634 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
3635 * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
3636 longer needed). Add unwind directives.
3638 * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
3639 ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
3641 2001-03-21 Paul Eggert <eggert@twinsun.com>
3643 * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
3644 (RE_SYNTAX_POSIX_EGREP): Use it.
3645 * posix/regex.c (regex_compile): Implement it.
3647 2001-03-21 Paul Eggert <eggert@twinsun.com>
3649 * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
3650 Rewrite to avoid duplicate code.
3652 2001-03-21 H.J. Lu <hjl@gnu.org>
3654 * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
3655 for cross-compiling.
3656 ($(objpfx)tst-pathopt.out): Undo the last change.
3658 2001-03-24 Mark Kettenis <kettenis@gnu.org>
3660 * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
3661 sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
3663 * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
3664 (_dl_argv): Declare.
3665 (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
3667 2001-03-22 Andreas Jaeger <aj@suse.de>
3669 * iconvdata/Makefile (generated): Add iconv-test.xxx.
3671 * posix/Makefile (generated): Add bug-regex2.mtrace and
3674 2001-03-21 Ulrich Drepper <drepper@redhat.com>
3676 * csu/version.c (__gnu_get_libc_release): Add prototype.
3677 (__gnu_get_libc_version): Likewise.
3678 * include/gnu/libc-version.h: Remove prototypes for not exported
3681 2001-03-21 Jes Sorensen <jes@linuxcare.com>
3683 * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
3684 for internationalized printfs to work.
3686 2001-03-09 Bruno Haible <haible@clisp.cons.org>
3688 * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
3689 avoid compiler warning.
3690 (_nl_find_msg): Add casts to avoid compiler warnings.
3692 2001-03-21 Ulrich Drepper <drepper@redhat.com>
3694 * gmon/Makefile (routines): Add sprofil.
3695 (tests): Add tst-sprofil.
3696 (noprof): Add sprofil.
3697 * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
3699 2001-03-20 David Mosberger <davidm@hpl.hp.com>
3701 * sysdeps/generic/sprofil.c: New file.
3702 * sysdeps/posix/sprofil.c: New file.
3703 * gmon/tst-sprofil.c: New file.
3704 * gmon/sys/profil.h: New file.
3706 2001-03-20 Andreas Schwab <schwab@suse.de>
3708 * include/unistd.h: Adjust prototype of __gethostname.
3710 2001-03-20 Jakub Jelinek <jakub@redhat.com>
3712 * sysdeps/sparc/stackinfo.h: New file.
3714 2001-03-21 Andreas Jaeger <aj@suse.de>
3716 * elf/global.c (main): Use proper prototype.
3718 2001-03-20 Ulrich Drepper <drepper@redhat.com>
3720 * sunrpc/Makefile (routines): Add rpc_thread.
3721 (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
3722 * sunrpc/rpc_thread.c: New file.
3723 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
3724 * sunrpc/auth_none.c: Don't use global variables. Access state in
3725 thread-local storage.
3726 * sunrpc/clnt_perr.c: Likewise.
3727 * sunrpc/clnt_raw.c: Likewise.
3728 * sunrpc/clnt_simp.c: Likewise.
3729 * sunrpc/key_call.c: Likewise.
3730 * sunrpc/rpc_common.c: Likewise.
3731 * sunrpc/svc.c: Likewise.
3732 * sunrpc/svc_raw.c: Likewise.
3733 * sunrpc/svc_simple.c: Likewise.
3734 * sunrpc/svcauth_des.c: Likewise.
3735 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3736 _HURD_THREADVAR_RPC_VARS.
3737 * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
3738 * include/rpc/rpc.h: Define data structures for internal thread-local
3740 Based on patches by Eric Norum <eric.norum@usask.ca>.
3742 * elf/dl-load.c: Various little optimizations.
3744 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
3745 LINUX_LINK_MAX only if the statfs function is not implemented for
3748 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
3749 LINUX_LINK_MAX only if the fstatfs function is not implemented for
3752 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3754 * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
3756 * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
3757 (_dl_dst_substitute): Likewise.
3759 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3761 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
3763 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3765 * intl/gettextP.h (struct expression): Add operators lnot, less_than,
3766 greater_than, less_or_equal, greater_or_equal. Replace args2/args3
3767 union by a 'nargs' counter and an 'args[]' array.
3768 * intl/plural.y: Don't include stdarg.h.
3769 (new_exp): Take an array of arguments instead of varargs.
3770 (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
3771 ('?' ':'): Make right-associative.
3772 (EQUOP2): New token, replaces '=' and '!'.
3773 (CMPOP2): New token.
3774 (ADDOP2): New token, replaces '+' and '-'.
3775 (MULOP2): New token, replaces '*', '/' and '%'.
3777 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
3778 (start): Call YYABORT here.
3779 (FREE_EXPRESSION): Update.
3780 (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
3781 Update for new token symbols.
3782 * intl/loadmsgcat.c (plvar, plone, germanic_plural,
3783 init_germanic_plural): Update.
3784 * intl/dcigettext.c (_nl_find_msg): Optimize for space.
3785 (plural_eval): Recognize comparison and '!' operators. Optimize for
3788 2001-03-10 Bruno Haible <haible@clisp.cons.org>
3790 * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
3793 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3795 * intl/loadmsgcat.c: Include headers needed for alloca().
3797 (_nl_load_domain): Add fallback code for platforms lacking alloca.
3798 * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
3800 (read_alias_file): Simplify fallback code for platforms lacking
3803 2001-01-07 Bruno Haible <haible@clisp.cons.org>
3805 * intl/gettextP.h (__gettextdebug): Remove declaration.
3806 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
3808 (gettext_free_exp__, gettextparse__): New non-libc declarations.
3809 * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
3810 not __gettextparse, __gettext_free_exp.
3811 * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
3813 2001-02-24 Bruno Haible <haible@clisp.cons.org>
3815 * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
3817 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3819 * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
3820 lacking strtoul, like SunOS4.
3822 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3824 * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
3826 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3828 * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
3830 * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
3831 * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
3832 * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
3835 2001-01-07 Bruno Haible <haible@clisp.cons.org>
3837 * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
3838 bindtextdomain__, bind_textdomain_codeset__): New declarations, from
3840 * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
3841 * intl/dcgettext.c: Likewise.
3842 * intl/dcigettext.c: Likewise.
3843 * intl/dcngettext.c: Likewise.
3844 * intl/dngettext.c: Likewise.
3845 * intl/finddomain.c: Likewise.
3846 * intl/ngettext.c: Likewise.
3847 * intl/textdomain.c: Likewise.
3848 * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
3850 * intl/gettext.c: Likewise. Don't include locale.h.
3852 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3854 * intl/gettextP.h (ZERO): New macro.
3855 (struct binding): Always use ZERO.
3856 * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
3857 lack it, like SunOS4.
3858 (set_binding_values): Use offsetof, not sizeof.
3859 * intl/dcigettext.c (offsetof): Provide fallback for platforms that
3860 lack it, like SunOS4.
3861 (ZERO): Remove macro.
3862 (struct transmem_list): Use ZERO.
3863 (DCIGETTEXT): Use offsetof, not sizeof.
3865 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3867 * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
3869 * intl/bindtextdom.c: Don't include gettext.h.
3870 * intl/dcgettext.c: Likewise.
3871 * intl/dcigettext.c: Likewise.
3872 * intl/dcngettext.c: Likewise.
3873 * intl/dngettext.c: Likewise.
3874 * intl/finddomain.c: Likewise.
3875 * intl/localealias.c: Likewise.
3876 * intl/ngettext.c: Likewise.
3877 * intl/plural.y: Likewise.
3878 * intl/textdomain.c: Likewise.
3880 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3882 * intl/gettext.h: Don't include <stdio.h>.
3884 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3886 * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
3887 * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
3889 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3891 * sysdeps/unix/i386/i686/tempname.c: New file.
3893 * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
3894 defined use this macro to get some bits of randomness instead of
3895 the usual gettimeofday or time calls.
3897 2001-03-16 Paul Eggert <eggert@twinsun.com>
3899 * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
3900 not defined, and if UINT64_MAX is not defined.
3902 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3904 * elf/cache.c: Mark and have translated a few more messages.
3906 2001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
3908 * elf/cache.c: Add case for FLAG_S390_LIB64.
3909 * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
3910 * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
3911 * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
3913 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3915 * string/Makefile (tests): Add tst-strxfrm.
3916 * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert.
3917 * string/Depend: New file.
3919 2001-03-19 Paul Eggert <eggert@twinsun.com>
3921 * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
3922 when given the empty string in nontrivial locales.
3924 2001-03-17 H.J. Lu <hjl@gnu.org>
3926 * manual/Makefile (install): Use $(INSTALL_DATA) instead of
3927 cp to install `dir'.
3929 2001-03-19 Andreas Schwab <schwab@suse.de>
3931 * Makerules (build-shlib): Make sure exit codes get checked
3934 2001-03-18 Ulrich Drepper <drepper@redhat.com>
3936 * Makerules (build-shlib): Remove unnecessary slashes introduced in
3939 * configure.in: Test for -Bgroup option of linker.
3940 * config.make.in: Define have-Bgroup.
3942 * conform/data/unistd.h-data: Require gethostname.
3943 * posix/unistd.h: Make gethostname prototype available for
3946 * crypt/Makefile: When generating DSO link with libc_nonshared.a.
3947 * debug/Makefile: Likewise.
3948 * dlfcn/Makefile: Likewise.
3949 * hesiod/Makefile: Likewise.
3950 * iconvdata/extra-module.mk: Likewise.
3951 * locale/Makefile: Likewise.
3952 * login/Makefile: Likewise.
3953 * math/Makefile: Likewise.
3954 * nis/Makefile: Likewise.
3955 * nss/Makefile: Likewise.
3956 * resolv/Makefile: Likewise.
3957 * rt/Makefile: Likewise.
3959 2001-03-17 Ulrich Drepper <drepper@redhat.com>
3961 * inet/Makefile (tests): Remove left-over comment.
3963 * posix/unistd.h (gethostname): Change type of second parameter
3964 back to size_t as per upcoming XPG6.
3965 * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
3966 parameter back to size_t as per upcoming XPG6.
3967 * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
3968 * sysdeps/unix/sysv/gethostname.c: Likewise.
3969 * sysdeps/mach/hurd/gethostname.c: Likewise.
3970 * sysdeps/generic/gethostname.c: Likewise.
3972 2001-03-16 Ulrich Drepper <drepper@redhat.com>
3974 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3977 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
3980 2001-02-06 Jakub Jelinek <jakub@redhat.com>
3982 * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
3983 looking for name matches.
3985 2001-02-26 Jakub Jelinek <jakub@redhat.com>
3987 * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
3988 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
3989 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
3990 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3991 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
3992 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
3993 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
3994 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
3995 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
3996 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
3997 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
3998 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
4000 2001-03-16 Ulrich Drepper <drepper@redhat.com>
4002 * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
4003 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4005 * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
4007 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4009 2001-03-16 David Mosberger <davidm@hpl.hp.com>
4011 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
4012 Drop hack that was needed for 2.1.1 kernel headers.
4014 * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
4016 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
4017 overlay with kernel's "struct sigcontext".
4019 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
4020 sys/rse.h for "misc" subdir.
4021 (sysdep_routines): Add __start_context for "stdlib" subdir.
4023 * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
4024 kernel file of the same name).
4026 * stdlib/Makefile (tests): Add tst-setcontext.
4027 * stdlib/tst-setcontext.c: New file (based on a sample program by
4030 * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
4031 * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
4032 * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
4033 * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
4034 * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
4036 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
4037 instead of shift & and.
4039 2001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
4041 * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
4042 * sysdeps/s390/bits/huge_val.h: ...here.
4043 * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
4044 * sysdeps/s390/s390-64/ffs.c: Move to...
4045 * sysdeps/s390/ffs.c: ...here.
4046 * sysdeps/s390/s390-32/ffs.c: Remove.
4048 2001-03-16 Jakub Jelinek <jakub@redhat.com>
4050 * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
4051 update osversion from more recent library.
4053 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4055 * sysdeps/unix/sysv/linux/s390/Dist: Move to...
4056 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
4057 * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
4058 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
4059 * sysdeps/unix/sysv/linux/s390/Versions: Move to...
4060 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
4061 * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
4062 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
4063 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
4064 * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
4065 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
4066 * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
4067 * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
4068 * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
4069 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
4070 * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
4071 * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
4072 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
4073 * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
4074 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
4075 * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
4076 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
4077 * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
4078 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
4079 * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
4080 * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
4081 * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
4082 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
4083 * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
4084 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
4085 * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
4086 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
4087 * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
4088 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
4089 * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
4090 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
4091 * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
4092 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
4093 * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
4094 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
4095 * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
4096 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
4097 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
4098 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
4099 * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
4100 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
4101 * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
4102 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
4103 * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
4104 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
4105 * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
4106 * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
4107 * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
4108 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
4109 * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
4110 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
4111 * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
4112 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
4113 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
4114 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
4115 * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
4116 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
4117 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
4118 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
4119 * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
4120 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
4121 * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
4122 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
4123 * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
4124 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
4125 * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
4126 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
4127 * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
4128 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
4129 * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
4130 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
4131 * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
4132 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
4133 * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
4134 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
4135 * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
4136 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
4137 * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
4138 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
4139 * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
4140 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
4141 * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
4142 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
4143 * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
4144 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
4145 * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
4146 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
4147 * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
4148 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
4149 * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
4150 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
4151 * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
4152 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
4153 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
4154 * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
4155 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
4156 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
4157 * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
4158 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
4159 * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
4160 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
4161 * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
4162 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
4163 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4164 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
4165 * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
4166 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
4167 * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
4168 * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
4170 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4172 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
4173 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
4174 * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
4175 * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
4176 * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
4177 * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
4178 * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
4179 * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
4180 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
4181 * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
4182 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
4183 * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
4184 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
4185 * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
4186 * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
4187 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
4188 * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
4189 * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
4190 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
4191 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
4192 * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
4193 * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
4194 * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
4195 * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
4196 * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
4197 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
4198 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
4199 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
4200 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
4201 * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
4202 * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
4203 * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
4204 * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
4205 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
4206 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
4207 * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
4208 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
4209 * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
4210 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
4211 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
4212 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
4213 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
4214 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
4215 * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
4216 * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
4217 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
4218 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
4219 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
4220 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
4221 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
4222 * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
4223 * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
4224 * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
4226 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4228 * sysdeps/s390/Dist: Move to...
4229 * sysdeps/s390/390-32/Dist: ...here.
4230 * sysdeps/s390/Implies: Move to...
4231 * sysdeps/s390/s390-32/Implies: ...here.
4232 * sysdeps/s390/Makefile: Move to...
4233 * sysdeps/s390/s390-32/Makefile: ...here.
4234 * sysdeps/s390/Versions: Move to...
4235 * sysdeps/s390-32/s390/Versions: ...here.
4236 * sysdeps/s390/add_n.S: Move to...
4237 * sysdeps/s390/s390-32/add_n.S: ...here.
4238 * sysdeps/s390/addmul_1.S: Move to...
4239 * sysdeps/s390/s390-32/addmul_1.S: ...here.
4240 * sysdeps/s390/atomicity.h: Move to...
4241 * sysdeps/s390/s390-32/atomicity.h: ...here.
4242 * sysdeps/s390/backtrace.c: Move to...
4243 * sysdeps/s390/s390-32/backtrace.c: ...here.
4244 * sysdeps/s390/bcopy.S: Move to...
4245 * sysdeps/s390/s390-32/bcopy.S: ...here.
4246 * sysdeps/s390/bits/byteswap.h: Move to...
4247 * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
4248 * sysdeps/s390/bits/huge_val.h: Move to...
4249 * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
4250 * sysdeps/s390/bsd-_setjmp.S: Move to...
4251 * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
4252 * sysdeps/s390/bsd-setjmp.S: Move to...
4253 * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
4254 * sysdeps/s390/bzero.S: Move to...
4255 * sysdeps/s390/s390-32/bzero.S: ...here.
4256 * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
4257 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
4258 * sysdeps/s390/elf/bsd-setjmp.S: Move to...
4259 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
4260 * sysdeps/s390/elf/start.S: Move to...
4261 * sysdeps/s390/s390-32/elf/start.S: ...here.
4262 * sysdeps/s390/ffs.c: Move to...
4263 * sysdeps/s390/s390-32/ffs.c: ...here.
4264 * sysdeps/s390/memchr.S: Move to...
4265 * sysdeps/s390/s390-32/memchr.S: ...here.
4266 * sysdeps/s390/memcpy.S: Move to...
4267 * sysdeps/s390/s390-32/memcpy.S: ...here.
4268 * sysdeps/s390/memset.S: Move to...
4269 * sysdeps/s390/s390-32/memset.S: ...here.
4270 * sysdeps/s390/mul_1.S: Move to...
4271 * sysdeps/s390/s390-32/mul_1.S: ...here.
4272 * sysdeps/s390/s390-mcount.S: Move to...
4273 * sysdeps/s390/s390-32/s390-mcount.S: ...here.
4274 * sysdeps/s390/strcpy.S: Move to...
4275 * sysdeps/s390/s390-32/strcpy.S: ...here.
4276 * sysdeps/s390/strncpy.S: Move to...
4277 * sysdeps/s390/s390-32/strncpy.S: ...here.
4278 * sysdeps/s390/sub_n.S: Move to...
4279 * sysdeps/s390/s390-32/sub_n.S: ...here.
4281 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4283 * sysdeps/s390/s390-64/Dist: New file.
4284 * sysdeps/s390/s390-64/Implies: New file.
4285 * sysdeps/s390/s390-64/Makefile: New file.
4286 * sysdeps/s390/s390-64/__longjmp.c: New file.
4287 * sysdeps/s390/s390-64/add_n.S: New file.
4288 * sysdeps/s390/s390-64/atomicity.h: New file.
4289 * sysdeps/s390/s390-64/backtrace.c: New file.
4290 * sysdeps/s390/s390-64/bcopy.S: New file.
4291 * sysdeps/s390/s390-64/bits/byteswap.h: New file.
4292 * sysdeps/s390/s390-64/bits/huge_val.h: New file.
4293 * sysdeps/s390/s390-64/bits/setjmp.h: New file.
4294 * sysdeps/s390/s390-64/bits/string.h: New file.
4295 * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
4296 * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
4297 * sysdeps/s390/s390-64/bzero.S: New file.
4298 * sysdeps/s390/s390-64/dl-machine.h: New file.
4299 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
4300 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
4301 * sysdeps/s390/s390-64/elf/setjmp.S: New file.
4302 * sysdeps/s390/s390-64/elf/start.S: New file.
4303 * sysdeps/s390/s390-64/ffs.c: New file.
4304 * sysdeps/s390/s390-64/initfini.c: New file.
4305 * sysdeps/s390/s390-64/memchr.S: New file.
4306 * sysdeps/s390/s390-64/memcpy.S: New file.
4307 * sysdeps/s390/s390-64/memset.S: New file.
4308 * sysdeps/s390/s390-64/s390x-mcount.S: New file.
4309 * sysdeps/s390/s390-64/setjmp.S: New file.
4310 * sysdeps/s390/s390-64/strcpy.S: New file.
4311 * sysdeps/s390/s390-64/strncpy.S: New file.
4312 * sysdeps/s390/s390-64/sub_n.S: New file.
4313 * sysdeps/s390/s390-64/sysdep.h: New file.
4315 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4317 * scripts/config.guess: Add support for Linux on 64 bit S/390.
4318 * scripts/config.sub: Likewise.
4320 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4322 * configure.in: Add support for 64 bit S/390.
4324 * elf/elf.h: Add new relocations for 64 bit S/390.
4326 * shlib-versions: Add rules for Linux on 64 bit S/390.
4328 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4330 * sysdeps/s390/__longjmp.c: Move to...
4331 * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code
4332 to load the floating point registers that should be saved
4333 according to the ABI.
4335 * sysdeps/s390/bits/setjmp.h: Move to...
4336 * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid
4337 the use of long long in the __jmp_buf type definition.
4339 * sysdeps/s390/bits/string.h: Move to...
4340 * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing
4341 #ifndef _FORCE_INLINES.
4343 * sysdeps/s390/dl-machine.h: Move to...
4344 * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the
4345 executables EI_CLASS in elf_machine_matches_host.
4347 * sysdeps/s390/elf/setjmp.S: Move to...
4348 * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace
4349 branches to globally defined symbol __sigsetjmp by branches to
4350 a local label (this avoids the generation of a R_390_PC16DBL
4351 relocation in -fpic code).
4353 * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
4354 calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
4356 * sysdeps/s390/initfini.c: Move to...
4357 * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with
4360 * sysdeps/s390/setjmp.S: Move to...
4361 * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the
4362 floating point registers that should be saved according to the ABI.
4364 * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
4366 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4367 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
4368 sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
4370 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4372 * configure.in: Change machine=s390 to machine=s390/s390-32.
4374 * elf/elf.h: Correct comment for R_390_PLT16DBL.
4376 2001-03-12 Jakub Jelinek <jakub@redhat.com>
4378 * csu/Makefile (abi-tag.h): Define OS and version separately, allow
4379 version to be overriden from config.h.
4380 * csu/abi-note.S: Use OS and version separately, include config.h.
4381 * elf/dl-load.c (_dl_osversion): New.
4382 (_dl_map_object_from_fd): Kill some warnings.
4383 (open_verify): Check .note.ABI-tag of the library if present.
4384 * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
4385 * elf/cache.c (struct cache_entry): Add osversion.
4386 (print_entry): Print osversion.
4387 (print_cache): Pass osversion to it.
4388 (compare): Sort according to osversion.
4389 (save_cache): Set osversion.
4390 (add_to_cache): Add osversion argument.
4391 * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
4392 process_elf_file): Add osversion argument.
4393 * elf/readlib.c (process_file): Likewise.
4394 * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
4395 * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
4396 process_elf32_file, process_elf64_file): Likewise.
4397 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
4398 process_elf32_file, process_elf64_file): Likewise.
4399 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
4400 process_elf32_file, process_elf64_file): Likewise.
4401 * elf/ldconfig.c (manual_link): Pass it.
4402 (search_dir): Issue diagnostic if two libs with the same soname in
4403 the same directory have different .note.ABI-tag. Record osversion in
4404 dlib_entry and use it from there.
4405 (struct lib_entry): Remove.
4406 (struct dlib_entry): Add osversion.
4407 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
4409 * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
4410 field with osversion.
4411 * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
4412 * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
4413 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
4414 version in _dl_osversion.
4415 * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
4416 * Makerules (build-shlib-helper, build-module-helper): New.
4417 (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
4419 * config.h.in (__ABI_TAG_VERSION): Add.
4420 * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
4421 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
4422 Handle LD_ASSUME_KERNEL.
4423 * sysdeps/unix/sysv/linux/dl-librecon.h: New.
4425 2001-03-15 Ulrich Drepper <drepper@redhat.com>
4427 * timezone/antarctica: Update from tzdata2001a.
4428 * timezone/asia: Likewise.
4429 * timezone/australasia: Likewise.
4430 * timezone/backward: Likewise.
4431 * timezone/etcetera: Likewise.
4432 * timezone/europe: Likewise.
4433 * timezone/leapseconds: Likewise.
4434 * timezone/northamerica: Likewise.
4435 * timezone/southamerica: Likewise.
4436 * timezone/systemv: Likewise.
4437 * timezone/yearistype: Likewise.
4438 * timezone/zone.tab: Likewise.
4439 * timezone/tzdump.c: Update from tzcode2001a.
4441 2001-03-15 H.J. Lu <hjl@gnu.org>
4443 * intl/Makefile: Fix a typo.
4445 2001-03-14 David Mosberger <davidm@hpl.hp.com>
4447 * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
4448 writing arc structures.
4450 2001-03-15 H.J. Lu <hjl@gnu.org>
4452 * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
4455 2001-03-13 Andreas Schwab <schwab@suse.de>
4457 * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
4459 2001-03-15 Ulrich Drepper <drepper@redhat.com>
4461 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
4462 for control message fitting into message data.
4463 Patch by James Antill <james@and.org>.
4465 * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
4468 * posix/fnmatch_loop.c: Optimize handling of ?() and @().
4469 * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
4471 * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
4472 * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
4473 avoid running binaries with libc versions without FNM_EXTMATCH support.
4475 * include/wchar.h: Add prototype for __wcscat.
4476 * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
4478 * posix/fnmatch.h (FNM_EXTMATCH): Define.
4479 * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
4480 (posixly_correct): Move global variable here.
4481 (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
4482 (fnmatch): Pretty printing.
4483 * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
4484 * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
4485 * posix/tst-fnmatch.input: Add tests for extended matching.
4487 * posix/testfnm.c: Add test for patterns with multiple ** before /.
4488 * posix/fnmatch_loop.c: Fix problem with the test above.
4490 2001-03-14 Ulrich Drepper <drepper@redhat.com>
4492 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
4495 * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
4497 2001-03-12 Andreas Jaeger <aj@suse.de>
4499 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4500 Use EM_X86_64 instead of EM_X8664.
4502 2001-03-12 Ulrich Drepper <drepper@redhat.com>
4504 * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
4506 * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
4509 * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
4512 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
4516 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
4518 (__ieee754_acos): Likewise.
4520 2001-03-12 Andreas Jaeger <aj@suse.de>
4522 * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
4523 Fix typo. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
4525 * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
4528 2001-03-11 Roland McGrath <roland@frob.com>
4530 * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
4532 2001-03-11 Ulrich Drepper <drepper@redhat.com>
4534 * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
4537 * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
4540 Last-bit accurate math library implementation by IBM Haifa.
4541 Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
4542 <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
4543 Anna Reitman <reitman@il.ibm.com>.
4544 * math/Makefile (dbl-only-routines): New variable.
4545 (libm-routines): Add $(dbl-only-routines).
4546 * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
4547 * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
4549 * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
4551 * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
4553 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
4555 * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
4557 * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
4558 remainder implementation.
4559 * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
4561 * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
4563 * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
4564 * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
4565 * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
4567 * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
4568 * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
4570 * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
4572 * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
4574 * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
4575 * sysdeps/ieee754/dbl-64/MathLib.h: New file.
4576 * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
4577 * sysdeps/ieee754/dbl-64/atnat.h: New file.
4578 * sysdeps/ieee754/dbl-64/atnat2.h: New file.
4579 * sysdeps/ieee754/dbl-64/branred.c: New file.
4580 * sysdeps/ieee754/dbl-64/branred.h: New file.
4581 * sysdeps/ieee754/dbl-64/dla.h: New file.
4582 * sysdeps/ieee754/dbl-64/doasin.c: New file.
4583 * sysdeps/ieee754/dbl-64/doasin.h: New file.
4584 * sysdeps/ieee754/dbl-64/dosincos.c: New file.
4585 * sysdeps/ieee754/dbl-64/dosincos.h: New file.
4586 * sysdeps/ieee754/dbl-64/endian.h: New file.
4587 * sysdeps/ieee754/dbl-64/halfulp.c: New file.
4588 * sysdeps/ieee754/dbl-64/mpa.c: New file.
4589 * sysdeps/ieee754/dbl-64/mpa.h: New file.
4590 * sysdeps/ieee754/dbl-64/mpa2.h: New file.
4591 * sysdeps/ieee754/dbl-64/mpatan.c: New file.
4592 * sysdeps/ieee754/dbl-64/mpatan.h: New file.
4593 * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
4594 * sysdeps/ieee754/dbl-64/mpexp.c: New file.
4595 * sysdeps/ieee754/dbl-64/mpexp.h: New file.
4596 * sysdeps/ieee754/dbl-64/mplog.c: New file.
4597 * sysdeps/ieee754/dbl-64/mplog.h: New file.
4598 * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
4599 * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
4600 * sysdeps/ieee754/dbl-64/mptan.c: New file.
4601 * sysdeps/ieee754/dbl-64/mydefs.h: New file.
4602 * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
4603 * sysdeps/ieee754/dbl-64/root.tbl: New file.
4604 * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
4605 * sysdeps/ieee754/dbl-64/sincos32.c: New file.
4606 * sysdeps/ieee754/dbl-64/sincos32.h: New file.
4607 * sysdeps/ieee754/dbl-64/slowexp.c: New file.
4608 * sysdeps/ieee754/dbl-64/slowpow.c: New file.
4609 * sysdeps/ieee754/dbl-64/uasncs.h: New file.
4610 * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
4611 * sysdeps/ieee754/dbl-64/uexp.h: New file.
4612 * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
4613 * sysdeps/ieee754/dbl-64/ulog.h: New file.
4614 * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
4615 * sysdeps/ieee754/dbl-64/upow.h: New file.
4616 * sysdeps/ieee754/dbl-64/upow.tbl: New file.
4617 * sysdeps/ieee754/dbl-64/urem.h: New file.
4618 * sysdeps/ieee754/dbl-64/uroot.h: New file.
4619 * sysdeps/ieee754/dbl-64/usncs.h: New file.
4620 * sysdeps/ieee754/dbl-64/utan.h: New file.
4621 * sysdeps/ieee754/dbl-64/utan.tbl: New file.
4622 * sysdeps/i386/fpu/branred.c: New file.
4623 * sysdeps/i386/fpu/doasin.c: New file.
4624 * sysdeps/i386/fpu/dosincos.c: New file.
4625 * sysdeps/i386/fpu/halfulp.c: New file.
4626 * sysdeps/i386/fpu/mpa.c: New file.
4627 * sysdeps/i386/fpu/mpatan.c: New file.
4628 * sysdeps/i386/fpu/mpatan2.c: New file.
4629 * sysdeps/i386/fpu/mpexp.c: New file.
4630 * sysdeps/i386/fpu/mplog.c: New file.
4631 * sysdeps/i386/fpu/mpsqrt.c: New file.
4632 * sysdeps/i386/fpu/mptan.c: New file.
4633 * sysdeps/i386/fpu/sincos32.c: New file.
4634 * sysdeps/i386/fpu/slowexp.c: New file.
4635 * sysdeps/i386/fpu/slowpow.c: New file.
4636 * sysdeps/ia64/fpu/branred.c: New file.
4637 * sysdeps/ia64/fpu/doasin.c: New file.
4638 * sysdeps/ia64/fpu/dosincos.c: New file.
4639 * sysdeps/ia64/fpu/halfulp.c: New file.
4640 * sysdeps/ia64/fpu/mpa.c: New file.
4641 * sysdeps/ia64/fpu/mpatan.c: New file.
4642 * sysdeps/ia64/fpu/mpatan2.c: New file.
4643 * sysdeps/ia64/fpu/mpexp.c: New file.
4644 * sysdeps/ia64/fpu/mplog.c: New file.
4645 * sysdeps/ia64/fpu/mpsqrt.c: New file.
4646 * sysdeps/ia64/fpu/mptan.c: New file.
4647 * sysdeps/ia64/fpu/sincos32.c: New file.
4648 * sysdeps/ia64/fpu/slowexp.c: New file.
4649 * sysdeps/ia64/fpu/slowpow.c: New file.
4650 * sysdeps/m68k/fpu/branred.c: New file.
4651 * sysdeps/m68k/fpu/doasin.c: New file.
4652 * sysdeps/m68k/fpu/dosincos.c: New file.
4653 * sysdeps/m68k/fpu/halfulp.c: New file.
4654 * sysdeps/m68k/fpu/mpa.c: New file.
4655 * sysdeps/m68k/fpu/mpatan.c: New file.
4656 * sysdeps/m68k/fpu/mpatan2.c: New file.
4657 * sysdeps/m68k/fpu/mpexp.c: New file.
4658 * sysdeps/m68k/fpu/mplog.c: New file.
4659 * sysdeps/m68k/fpu/mpsqrt.c: New file.
4660 * sysdeps/m68k/fpu/mptan.c: New file.
4661 * sysdeps/m68k/fpu/sincos32.c: New file.
4662 * sysdeps/m68k/fpu/slowexp.c: New file.
4663 * sysdeps/m68k/fpu/slowpow.c: New file.
4665 * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
4668 2001-03-11 Andreas Jaeger <aj@suse.de>
4670 * elf/elf.h (EM_*): Synch with official list.
4672 2001-03-07 David Mosberger <davidm@hpl.hp.com>
4674 * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
4676 2001-03-07 Jes Sorensen <jes@linuxcare.com>
4678 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
4679 variables addr & len.
4681 2001-02-22 Jes Sorensen <jes@linuxcare.com>
4683 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
4684 punctuation in asm constraint.
4686 2001-03-07 Mark Kettenis <kettenis@gnu.org>
4688 * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
4689 <time.h> to get definition of `struct timespec'.
4691 2001-03-08 Jakub Jelinek <jakub@redhat.com>
4693 * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
4694 LD_WARN=1, not if LD_WARN is unset.
4696 2001-03-07 Andreas Schwab <schwab@suse.de>
4698 * elf/ldconfig.h: Moved to ...
4699 * sysdeps/generic/ldconfig.h: ... here.
4700 * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
4701 * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
4702 * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
4703 * elf/readlib.c (interpreters, known_libs): Use
4704 SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
4705 instead of hard coding old names.
4707 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4709 * catgets/Makefile (generated): Add test-gencat.h.
4710 (sample.SJIS.cat): Also generate header.
4711 * catgets/sample.SJIS: Add new set and message, both with symbolic
4713 * catgets/test-gencat.sh: Also compare generated header with what
4716 2001-03-07 Jakub Jelinek <jakub@redhat.com>
4718 * catgets/gencat.c (read_input_file): Preserve properly symbolic
4721 2001-03-06 Andreas Jaeger <aj@suse.de>
4723 * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
4725 (elf_machine_pltrel_p): Likewise.
4726 * sysdeps/powerpc/dl-machine.h: Likewise.
4727 * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
4729 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4731 * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
4734 2001-03-05 Philip Blundell <philb@gnu.org>
4736 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
4737 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
4738 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
4739 (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
4742 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4744 * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
4746 * dlfcn/tstcxaatexit.c (main): Likewise.
4748 2001-03-10 Andreas Jaeger <aj@suse.de>
4750 * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
4752 2001-03-09 Andreas Jaeger <aj@suse.de>
4754 * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
4755 both new and old EM_S390 values.
4756 (EM_S390_OLD): New constant.
4758 * elf/elf.h (EM_S390): Use official value.
4760 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4762 * conform/data/sys/socket.h-data: Allow SO* symbols.
4764 2001-03-07 Andreas Schwab <schwab@suse.de>
4766 * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
4767 routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
4769 2001-03-07 Andreas Jaeger <aj@suse.de>
4771 * resolv/Makefile (routines): Only build gai_sigqueue when threads
4774 2001-03-07 Jakub Jelinek <jakub@redhat.com>
4776 * elf/ldconfig.c (_dl_sysdep_message): Remove.
4777 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
4779 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
4781 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
4782 _dl_error_printf instead of _dl_sysdep_error.
4783 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4784 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
4785 Use _dl_printf instead of _dl_sysdep_message.
4786 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
4789 2001-03-06 Ben Collins <bcollins@debian.org>
4791 * manual/arith.texi (Integers): Fix documentation of fast and
4792 least integer typedefs.
4794 2001-03-06 Jakub Jelinek <jakub@redhat.com>
4796 * resolv/Depend: New file.
4797 * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
4798 when libpthread is built.
4800 2001-03-06 Andreas Jaeger <aj@suse.de>
4802 * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
4804 * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
4805 Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
4807 2001-03-05 Ulrich Drepper <drepper@redhat.com>
4809 * stdlib/Versions: Remove __new_exitfn again. Not needed.
4811 2001-03-05 Andreas Jaeger <aj@suse.de>
4813 * stdlib/msort.c (qsort): Don't use alloca in a function call.
4815 2001-03-05 Ulrich Drepper <drepper@redhat.com>
4817 * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
4818 __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still
4820 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4821 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
4822 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4823 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
4824 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4825 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4826 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4828 2001-03-04 Andreas Jaeger <aj@suse.de>
4830 * stdlib/longlong.h: Don't use multi-line strings.
4831 * iconvdata/tst-loading.c: Likewise.
4833 * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
4836 2001-03-04 Ulrich Drepper <drepper@redhat.com>
4838 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
4840 * rt/lio_listio.c: Add a few asserts.
4842 * elf/global.c: New file.
4843 * elf/globalmod1.c: New file.
4844 * elf/Makefile: Add rules to build and run global.
4846 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
4847 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4848 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4849 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4850 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4852 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
4853 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4855 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
4857 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
4858 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4860 * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
4862 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
4864 2001-03-04 Andreas Jaeger <aj@suse.de>
4866 * resolv/tst-aton.c: Add testcase for IP with four periods.
4868 * resolv/inet_addr.c: Don't recognize an IP with four periods.
4869 Patch by Andre' Breiler <A.Breiler@gmx.net>.
4871 2001-02-27 Philip Blundell <pb@futuretv.com>
4873 * elf/elf.h: Add new ARM definitions from latest (B-01)
4874 specification. Correct naming of EF_ARM_ALIGN8 et al.
4876 2001-03-04 Ulrich Drepper <drepper@redhat.com>
4878 * stdio-common/tst-printf.sh: Remove bashisms.
4879 Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
4881 2001-03-03 Ulrich Drepper <drepper@redhat.com>
4883 * Versions.def: Add libanl definition.
4884 * shlib-versions: Add entry for libanl.
4885 * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
4886 (routines): Add gai_sigqueue.
4887 (extra-libs): Add libanl.
4888 (libanl-routines): New variable.
4889 Add rules to build libanl and ga_test.
4890 * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
4891 [libanl]: New library.
4892 * resolv/netdb.h: Add definitions for libanl.
4893 * resolv/getaddrinfo_a.c: New file.
4894 * resolv/gai_cancel.c: New file.
4895 * resolv/gai_error.c: New file.
4896 * resolv/gai_misc.c: New file.
4897 * resolv/gai_misc.h: New file.
4898 * resolv/gai_notify.c: New file.
4899 * resolv/gai_suspend.c: New file.
4900 * resolv/ga_test.c: New file.
4901 * sysdeps/generic/gai_sigqueue.c: New file.
4902 * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
4903 * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
4904 and provide only that definition.
4905 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4906 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4907 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4908 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4909 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4910 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4912 * rt/aio_misc.c: Fix typos in comments.
4913 * rt/lio_listio.c: Pretty printing. Little optimization in request
4916 * elf/rtld.c: Remove commented out code.
4918 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
4919 Update for real 2.4 kernels.
4921 2001-03-01 Ulrich Drepper <drepper@redhat.com>
4923 * elf/dl-load.c: Pretty printing.
4925 * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
4928 2001-02-28 Ulrich Drepper <drepper@redhat.com>
4930 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
4931 relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
4933 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
4935 * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
4938 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
4940 2001-02-27 Ulrich Drepper <drepper@redhat.com>
4942 * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
4945 * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
4947 * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
4948 _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf,
4949 _dl_debug_printf_c, and _dl_printf.
4950 * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
4951 _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
4952 _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c,
4953 _dl_printf, _dl_error_printf, and _dl_fatal_printf.
4954 * elf/dl-close.c: Replace use of old output functions with the new
4956 * elf/dl-deps.c: Likewise.
4957 * elf/dl-error.c: Likewise.
4958 * elf/dl-fini.c: Likewise.
4959 * elf/dl-init.c: Likewise.
4960 * elf/dl-load.c: Likewise.
4961 * elf/dl-lookup.c: Likewise.
4962 * elf/dl-minimal.c: Likewise.
4963 * elf/dl-open.c: Likewise.
4964 * elf/dl-profile.c: Likewise.
4965 * elf/dl-reloc.c: Likewise.
4966 * elf/dl-version.c: Likewise.
4967 * elf/do-lookup.h: Likewise.
4968 * elf/rtld.c: Likewise.
4969 * sysdeps/generic/dl-cache.c: Likewise.
4970 * sysdeps/generic/dl-sysdep.c: Likewise.
4971 * sysdeps/generic/libc-start.c: Likewise.
4972 * sysdeps/i386/dl-machine.h: Likewise.
4973 * sysdeps/arm/dl-machine.h: Likewise.
4974 * sysdeps/hppa/dl-machine.h: Likewise.
4975 * sysdeps/m68k/dl-machine.h: Likewise.
4976 * sysdeps/powerpc/dl-machine.h: Likewise.
4977 * sysdeps/s390/dl-machine.h: Likewise.
4978 * sysdeps/sh/dl-machine.h: Likewise.
4979 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4980 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
4981 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4983 * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
4985 * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
4986 supported by assembler.
4988 * sysdeps/generic/ldsodefs.h: Remove commented-out variable
4991 * elf/rtld.c: Little optimizations in handling _dl_lazy.
4993 * elf/cache.c (save_cache): Portability changes.
4994 * elf/dl-profile.c (_dl_start_profile): Likewise.
4996 * elf/sln.c: Cleanups. Remove arbitrary limits.
4998 * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
4999 * elf/dl-deps.c: Likewise.
5000 * elf/dl-fini.c: Likewise.
5001 * elf/dl-init.c: Likewise.
5002 * elf/dl-load.c: Likewise.
5003 * elf/dl-lookup.c: Likewise.
5004 * elf/dl-open.c: Likewise.
5005 * elf/dl-reloc.c: Likewise.
5006 * elf/dl-support.c: Likewise.
5007 * elf/dl-version.c: Likewise.
5008 * elf/do-lookup.h: Likewise.
5009 * elf/rtld.c: Likewise.
5010 * sysdeps/generic/dl-cache.c: Likewise.
5011 * sysdeps/generic/ldsodefs.h: Likewise.
5012 * sysdeps/generic/libc-start.c: Likewise.
5013 * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
5014 Export _dl_debug_mask.
5015 * Versions.def: Define GLIBC_2.2.3 for ld.
5017 2001-02-26 Greg McGary <greg@mcgary.org>
5019 * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
5021 2001-02-26 Paul Eggert <eggert@twinsun.com>
5023 Modify mkstemp.c and tempname.c so that they can be used by
5024 GNU applications on non-glibc platforms.
5026 * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
5028 * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
5029 Include <stddef.h>, <stdint.h>, <string.h> only if
5030 STDC_HEADERS || _LIBC.
5031 Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
5032 Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
5033 Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
5034 (__set_errno): Define this macro if <errno.h> doesn't.
5035 (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
5036 Define these macros if <stdio.h> doesn't.
5037 (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
5038 Define these macros if <sys/stat.h> doesn't.
5039 Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
5040 (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
5041 lxstat64, __xstat64): Define if not _LIBC.
5042 (struct_stat64): New macro.
5043 (direxists, __gen_tempname): Use it, to avoid a
5044 portability problem with Solaris 8.
5045 (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
5046 (__gen_tempname): Invoke gettimeofday only if
5047 HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
5048 Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
5049 octal values like 0600.
5051 2001-02-26 Ulrich Drepper <drepper@redhat.com>
5053 * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
5054 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5056 * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
5057 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5059 * posix/wordexp-test.c (testit): Remove warnings.
5061 * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
5062 (tests): Add tstatexit and tstcxaatexit.
5063 (module-names): Add modatexit and modcxaatexit.
5064 Add rules to build and run tstatexit and tstcxaatexit.
5065 * dlfcn/modatexit.c: New file.
5066 * dlfcn/modcxaatexit.c: New file.
5067 * dlfcn/tstatexit.c: New file.
5068 * dlfcn/tstcxaatexit.c: New file.
5070 * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
5071 .hidden is available.
5072 * io/stat.c: If .hidden is available use it to avoid exporting
5074 * io/fstat.c: Likewise.
5075 * io/lstat.c: Likewise.
5076 * io/stat64.c: Likewise.
5077 * io/fstat64.c: Likewise.
5078 * io/lstat64.c: Likewise.
5079 * sysdeps/generic/mknod.c: Likewise.
5081 * malloc/mtrace.c: Use __cxa_atexit and not atexit.
5082 * sysdeps/generic/bb_init_func.c: Likewise.
5083 * sysdeps/generic/libc-start.c: Likewise.
5085 * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
5086 (atexit): Implement using __cxa_atexit.
5087 Use .hidden if availble to avoid exporting atexit.
5088 * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
5089 * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
5090 * stdlib/Makefile (routines): Add old_atexit.
5091 (static-only-routines): Add atexit.
5092 Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
5093 * stdlib/old_atexit.c: New file.
5095 * intl/Makefile: Remove bogus endif.
5097 2001-02-26 Andreas Jaeger <aj@suse.de>
5099 * iconvdata/Makefile (tests): Fix typo in last patch.
5101 * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
5103 Reported by Achim Gottinger <achim@gentoo.org>.
5105 2001-02-25 Andreas Jaeger <aj@suse.de>
5107 * intl/Makefile (plural.c): Reorder rules so that they work if
5108 BISON doesn't exist.
5110 2001-02-25 Ulrich Drepper <drepper@redhat.com>
5112 * intl/locale.alias: Don't use nb_NO but define aliases for it.
5114 2001-02-23 Ulrich Drepper <drepper@redhat.com>
5116 * sysdeps/i386/strtok.S: Continue to return NULL after the first
5119 2001-02-23 Andreas Jaeger <aj@suse.de>
5121 * string/tester.c (test_strtok_r): Add testcase.
5122 (test_strtok_r): Always initialize cp for proper checking.
5124 * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
5125 returning NULL correctly.
5126 Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
5127 * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
5129 2001-02-23 Ulrich Drepper <drepper@redhat.com>
5131 * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
5132 including <stddef.h>.
5133 * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
5134 * include/libc-symbols.h (weak_alias): Don't use .weak if
5135 HAVE_ASM_GLOBAL_DOT_NAME is defined.
5136 Patches by Michael Keezer <mkeezer@redhat.com>.
5138 * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
5139 Patch by Michael Keezer <mkeezer@redhat.com>.
5141 * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
5142 * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
5143 (sysdep_routines): Remove restf.S and savef.S.
5144 * sysdeps/unix/sysv/aix/restf.S: Removed.
5145 * sysdeps/unix/sysv/aix/savef.S: Removed.
5146 * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define
5147 alternative names used on some platforms.
5148 * sysdeps/powerpc/fprsave.S: Likewise.
5149 * sysdeps/powerpc/gprrest0.S: Likewise.
5150 * sysdeps/powerpc/gprrest1.S: Likewise.
5151 * sysdeps/powerpc/gprsave0.S: Likewise.
5152 * sysdeps/powerpc/gprsave1.S: Likewise.
5153 Patch by Michael Keezer <mkeezer@redhat.com>.
5155 2001-02-22 Ulrich Drepper <drepper@redhat.com>
5157 * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
5159 2001-02-22 Andreas Jaeger <aj@suse.de>
5161 * string/tst-strtok.c (main): Fix error messages.
5163 2001-02-22 Andreas Jaeger <aj@suse.de>
5165 * math/Makefile: Remove omit-long-double-fcts.
5167 2001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5169 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
5170 avoid problems on MIPS I.
5171 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
5173 * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
5176 2001-02-21 Ulrich Drepper <drepper@redhat.com>
5178 * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
5180 * sysdeps/generic/ftime.c: Include <time.h>.
5182 * configure.in: Don't check for libgd if user passed --without-gd.
5183 Patch by Achim Gottinger <achim@gentoo.org>.
5185 * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
5186 first time this happened.
5187 * string/Makefile (tests): Add tst-strtok.
5189 2001-02-21 Andreas Jaeger <aj@suse.de>
5191 * string/tst-strtok.c: New testcase, reported by
5192 Andrew Church <achurch@achurch.org>.
5194 2001-02-20 Ulrich Drepper <drepper@redhat.com>
5196 * libio/iofwide.c: Remove fwide alias.
5198 2001-02-20 Andreas Jaeger <aj@suse.de>
5200 * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
5202 Reported by Achim Gottinger <achim@gentoo.org>.
5204 2001-02-19 Ulrich Drepper <drepper@redhat.com>
5206 * iconv/tst-iconv1.c (main): Remove debugging code.
5208 * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
5209 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5211 * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
5213 * sysdeps/generic/e_scalbf.c: Likewise.
5214 * sysdeps/generic/e_scalbl.c: Likewise.
5216 * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
5217 libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
5219 (routines): Replace libm_error with libc_libm_error.
5220 * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
5221 * sysdeps/ia64/fpu/libc_libm_error.c: New file.
5223 2001-02-18 Mark Kettenis <kettenis@gnu.org>
5225 * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
5226 (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
5228 2001-02-17 H.J. Lu <hjl@gnu.org>
5230 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
5231 scratch registers across the system call.
5233 2001-02-19 Andreas Jaeger <aj@suse.de>
5235 * malloc/Makefile (tests): Run mtrace only when perl is available.
5236 Reported by Achim Gottinger <achim@gentoo.org>.
5238 2001-02-19 Ulrich Drepper <drepper@redhat.com>
5240 * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
5241 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5243 * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
5244 * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
5245 * math/libm-test.inc (j1_test): Mark constants as long double.
5246 (jn_test): Likewise.
5247 (y1_test): Likewise.
5248 (yn_test): Likewise.
5250 * libio/iogetline.c: Move return until after last statement.
5252 * localedata/show-ucs-data.c: Don't show < > for better readability.
5254 * sysdeps/ia64/fpu/Dist: New file.
5255 * sysdeps/ia64/fpu/Makefile: New file.
5256 * sysdeps/ia64/fpu/Versions: New file.
5257 * sysdeps/ia64/fpu/e_acos.S: New file.
5258 * sysdeps/ia64/fpu/e_acosf.S: New file.
5259 * sysdeps/ia64/fpu/e_acosl.S: New file.
5260 * sysdeps/ia64/fpu/e_asin.S: New file.
5261 * sysdeps/ia64/fpu/e_asinf.S: New file.
5262 * sysdeps/ia64/fpu/e_asinl.S: New file.
5263 * sysdeps/ia64/fpu/e_atan2.S: New file.
5264 * sysdeps/ia64/fpu/e_atan2f.S: New file.
5265 * sysdeps/ia64/fpu/e_atan2l.c: New file.
5266 * sysdeps/ia64/fpu/e_cosh.S: New file.
5267 * sysdeps/ia64/fpu/e_coshf.S: New file.
5268 * sysdeps/ia64/fpu/e_coshl.S: New file.
5269 * sysdeps/ia64/fpu/e_exp.S: New file.
5270 * sysdeps/ia64/fpu/e_expf.S: New file.
5271 * sysdeps/ia64/fpu/e_expl.c: New file.
5272 * sysdeps/ia64/fpu/e_fmod.S: New file.
5273 * sysdeps/ia64/fpu/e_fmodf.S: New file.
5274 * sysdeps/ia64/fpu/e_fmodl.S: New file.
5275 * sysdeps/ia64/fpu/e_hypot.S: New file.
5276 * sysdeps/ia64/fpu/e_hypotf.S: New file.
5277 * sysdeps/ia64/fpu/e_hypotl.S: New file.
5278 * sysdeps/ia64/fpu/e_log.S: New file.
5279 * sysdeps/ia64/fpu/e_log10.c: New file.
5280 * sysdeps/ia64/fpu/e_log10f.c: New file.
5281 * sysdeps/ia64/fpu/e_log10l.c: New file.
5282 * sysdeps/ia64/fpu/e_logf.S: New file.
5283 * sysdeps/ia64/fpu/e_logl.c: New file.
5284 * sysdeps/ia64/fpu/e_pow.S: New file.
5285 * sysdeps/ia64/fpu/e_powf.S: New file.
5286 * sysdeps/ia64/fpu/e_powl.S: New file.
5287 * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
5288 * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
5289 * sysdeps/ia64/fpu/e_remainder.S: New file.
5290 * sysdeps/ia64/fpu/e_remainderf.S: New file.
5291 * sysdeps/ia64/fpu/e_remainderl.S: New file.
5292 * sysdeps/ia64/fpu/e_scalb.S: New file.
5293 * sysdeps/ia64/fpu/e_scalbf.S: New file.
5294 * sysdeps/ia64/fpu/e_scalbl.S: New file.
5295 * sysdeps/ia64/fpu/e_sinh.S: New file.
5296 * sysdeps/ia64/fpu/e_sinhf.S: New file.
5297 * sysdeps/ia64/fpu/e_sinhl.S: New file.
5298 * sysdeps/ia64/fpu/e_sqrt.S: New file.
5299 * sysdeps/ia64/fpu/e_sqrtf.S: New file.
5300 * sysdeps/ia64/fpu/e_sqrtl.S: New file.
5301 * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
5302 * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
5303 * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
5304 * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
5305 * sysdeps/ia64/fpu/libm_error.c: New file.
5306 * sysdeps/ia64/fpu/libm_frexp4.S: New file.
5307 * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
5308 * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
5309 * sysdeps/ia64/fpu/libm_reduce.S: New file.
5310 * sysdeps/ia64/fpu/libm_support.h: New file.
5311 * sysdeps/ia64/fpu/libm_tan.S: New file.
5312 * sysdeps/ia64/fpu/s_atan.S: New file.
5313 * sysdeps/ia64/fpu/s_atanf.S: New file.
5314 * sysdeps/ia64/fpu/s_atanl.S: New file.
5315 * sysdeps/ia64/fpu/s_cbrt.S: New file.
5316 * sysdeps/ia64/fpu/s_cbrtf.S: New file.
5317 * sysdeps/ia64/fpu/s_cbrtl.S: New file.
5318 * sysdeps/ia64/fpu/s_ceil.S: New file.
5319 * sysdeps/ia64/fpu/s_ceilf.S: New file.
5320 * sysdeps/ia64/fpu/s_ceill.S: New file.
5321 * sysdeps/ia64/fpu/s_cos.S: New file.
5322 * sysdeps/ia64/fpu/s_cosf.S: New file.
5323 * sysdeps/ia64/fpu/s_cosl.S: New file.
5324 * sysdeps/ia64/fpu/s_expm1.S: New file.
5325 * sysdeps/ia64/fpu/s_expm1f.S: New file.
5326 * sysdeps/ia64/fpu/s_expm1l.S: New file.
5327 * sysdeps/ia64/fpu/s_floor.S: New file.
5328 * sysdeps/ia64/fpu/s_floorf.S: New file.
5329 * sysdeps/ia64/fpu/s_floorl.S: New file.
5330 * sysdeps/ia64/fpu/s_frexp.c: New file.
5331 * sysdeps/ia64/fpu/s_frexpf.c: New file.
5332 * sysdeps/ia64/fpu/s_frexpl.c: New file.
5333 * sysdeps/ia64/fpu/s_ilogb.S: New file.
5334 * sysdeps/ia64/fpu/s_ilogbf.S: New file.
5335 * sysdeps/ia64/fpu/s_ilogbl.S: New file.
5336 * sysdeps/ia64/fpu/s_ldexp.S: New file.
5337 * sysdeps/ia64/fpu/s_ldexpf.S: New file.
5338 * sysdeps/ia64/fpu/s_ldexpl.S: New file.
5339 * sysdeps/ia64/fpu/s_log1p.S: New file.
5340 * sysdeps/ia64/fpu/s_log1pf.S: New file.
5341 * sysdeps/ia64/fpu/s_log1pl.S: New file.
5342 * sysdeps/ia64/fpu/s_logb.S: New file.
5343 * sysdeps/ia64/fpu/s_logbf.S: New file.
5344 * sysdeps/ia64/fpu/s_logbl.S: New file.
5345 * sysdeps/ia64/fpu/s_matherrf.c: New file.
5346 * sysdeps/ia64/fpu/s_matherrl.c: New file.
5347 * sysdeps/ia64/fpu/s_modf.S: New file.
5348 * sysdeps/ia64/fpu/s_modff.S: New file.
5349 * sysdeps/ia64/fpu/s_modfl.S: New file.
5350 * sysdeps/ia64/fpu/s_nearbyint.S: New file.
5351 * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
5352 * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
5353 * sysdeps/ia64/fpu/s_rint.S: New file.
5354 * sysdeps/ia64/fpu/s_rintf.S: New file.
5355 * sysdeps/ia64/fpu/s_rintl.S: New file.
5356 * sysdeps/ia64/fpu/s_round.S: New file.
5357 * sysdeps/ia64/fpu/s_roundf.S: New file.
5358 * sysdeps/ia64/fpu/s_roundl.S: New file.
5359 * sysdeps/ia64/fpu/s_scalbn.S: New file.
5360 * sysdeps/ia64/fpu/s_scalbnf.S: New file.
5361 * sysdeps/ia64/fpu/s_scalbnl.S: New file.
5362 * sysdeps/ia64/fpu/s_significand.S: New file.
5363 * sysdeps/ia64/fpu/s_significandf.S: New file.
5364 * sysdeps/ia64/fpu/s_significandl.S: New file.
5365 * sysdeps/ia64/fpu/s_sin.c: New file.
5366 * sysdeps/ia64/fpu/s_sincos.c: New file.
5367 * sysdeps/ia64/fpu/s_sincosf.c: New file.
5368 * sysdeps/ia64/fpu/s_sincosl.c: New file.
5369 * sysdeps/ia64/fpu/s_sinf.c: New file.
5370 * sysdeps/ia64/fpu/s_sinl.c: New file.
5371 * sysdeps/ia64/fpu/s_tan.S: New file.
5372 * sysdeps/ia64/fpu/s_tanf.S: New file.
5373 * sysdeps/ia64/fpu/s_tanl.S: New file.
5374 * sysdeps/ia64/fpu/s_trunc.S: New file.
5375 * sysdeps/ia64/fpu/s_truncf.S: New file.
5376 * sysdeps/ia64/fpu/s_truncl.S: New file.
5377 * sysdeps/ia64/fpu/w_acos.c: New file.
5378 * sysdeps/ia64/fpu/w_acosf.c: New file.
5379 * sysdeps/ia64/fpu/w_acosl.c: New file.
5380 * sysdeps/ia64/fpu/w_asin.c: New file.
5381 * sysdeps/ia64/fpu/w_asinf.c: New file.
5382 * sysdeps/ia64/fpu/w_asinl.c: New file.
5383 * sysdeps/ia64/fpu/w_atan2.c: New file.
5384 * sysdeps/ia64/fpu/w_atan2f.c: New file.
5385 * sysdeps/ia64/fpu/w_atan2l.c: New file.
5386 * sysdeps/ia64/fpu/w_cosh.c: New file.
5387 * sysdeps/ia64/fpu/w_coshf.c: New file.
5388 * sysdeps/ia64/fpu/w_coshl.c: New file.
5389 * sysdeps/ia64/fpu/w_exp.c: New file.
5390 * sysdeps/ia64/fpu/w_expf.c: New file.
5391 * sysdeps/ia64/fpu/w_fmod.c: New file.
5392 * sysdeps/ia64/fpu/w_fmodf.c: New file.
5393 * sysdeps/ia64/fpu/w_fmodl.c: New file.
5394 * sysdeps/ia64/fpu/w_hypot.c: New file.
5395 * sysdeps/ia64/fpu/w_hypotf.c: New file.
5396 * sysdeps/ia64/fpu/w_hypotl.c: New file.
5397 * sysdeps/ia64/fpu/w_log.c: New file.
5398 * sysdeps/ia64/fpu/w_log10.c: New file.
5399 * sysdeps/ia64/fpu/w_log10f.c: New file.
5400 * sysdeps/ia64/fpu/w_log10l.c: New file.
5401 * sysdeps/ia64/fpu/w_logf.c: New file.
5402 * sysdeps/ia64/fpu/w_logl.c: New file.
5403 * sysdeps/ia64/fpu/w_pow.c: New file.
5404 * sysdeps/ia64/fpu/w_powf.c: New file.
5405 * sysdeps/ia64/fpu/w_powl.c: New file.
5406 * sysdeps/ia64/fpu/w_remainder.c: New file.
5407 * sysdeps/ia64/fpu/w_remainderf.c: New file.
5408 * sysdeps/ia64/fpu/w_remainderl.c: New file.
5409 * sysdeps/ia64/fpu/w_scalb.c: New file.
5410 * sysdeps/ia64/fpu/w_scalbf.c: New file.
5411 * sysdeps/ia64/fpu/w_scalbl.c: New file.
5412 * sysdeps/ia64/fpu/w_sqrt.c: New file.
5413 * sysdeps/ia64/fpu/w_sqrtf.c: New file.
5414 * sysdeps/ia64/fpu/w_sqrtl.c: New file.
5415 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
5417 * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
5418 Change FP_ILOGBNAN for new implementation.
5419 * Verions.def: Add 2.2.3 versions.
5421 2001-02-18 Ulrich Drepper <drepper@redhat.com>
5423 * math/libm-test.inc (scalb_test): Require invalid exception being
5424 raised for invalid parameters.
5425 * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
5426 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5427 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5429 2001-02-18 Mark Kettenis <kettenis@gnu.org>
5431 * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
5433 (__get_avphys_pages): Likewise.
5435 2001-02-18 Ulrich Drepper <drepper@redhat.com>
5437 * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
5438 * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
5439 * sysdeps/i386/fpu/e_powf.S: Likewise.
5440 * sysdeps/i386/fpu/e_powl.S: Likewise.
5442 * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
5444 2001-02-17 Ulrich Drepper <drepper@redhat.com>
5446 * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
5448 * sysdeps/generic/s_exp2l.c: Renamed to...
5449 * sysdeps/generic/e_exp2l.c: ...this. New file.
5450 * sysdeps/i386/fpu/s_exp2.S: Renamed to...
5451 * sysdeps/i386/fpu/e_exp2.S: ...this. New file.
5452 * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
5453 * sysdeps/i386/fpu/e_exp2f.S: ...this. New file.
5454 * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
5455 * sysdeps/i386/fpu/e_exp2l.S: ...this. New file.
5456 * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
5457 * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file.
5458 * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
5459 * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file.
5460 * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
5461 * sysdeps/m68k/fpu/e_exp2.c: ...this. New file.
5462 * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
5463 * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file.
5464 * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
5465 * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file.
5467 2001-02-17 Andreas Jaeger <aj@suse.de>
5469 * configure.in: Allow gcc 3.
5471 2001-02-16 Ulrich Drepper <drepper@redhat.com>
5473 * math/w_acos.c: Move to ...
5474 * sysdeps/generic/w_acos.c: ...here. New file.
5475 * math/w_acosf.c: Move to ...
5476 * sysdeps/generic/w_acosf.c: ...here. New file.
5477 * math/w_acosh.c: Move to ...
5478 * sysdeps/generic/w_acosh.c: ...here. New file.
5479 * math/w_acoshf.c: Move to ...
5480 * sysdeps/generic/w_acoshf.c: ...here. New file.
5481 * math/w_acoshl.c: Move to ...
5482 * sysdeps/generic/w_acoshl.c: ...here. New file.
5483 * math/w_acosl.c: Move to ...
5484 * sysdeps/generic/w_acosl.c: ...here. New file.
5485 * math/w_asin.c: Move to ...
5486 * sysdeps/generic/w_asin.c: ...here. New file.
5487 * math/w_asinf.c: Move to ...
5488 * sysdeps/generic/w_asinf.c: ...here. New file.
5489 * math/w_asinl.c: Move to ...
5490 * sysdeps/generic/w_asinl.c: ...here. New file.
5491 * math/w_atan2.c: Move to ...
5492 * sysdeps/generic/w_atan2.c: ...here. New file.
5493 * math/w_atan2f.c: Move to ...
5494 * sysdeps/generic/w_atan2f.c: ...here. New file.
5495 * math/w_atan2l.c: Move to ...
5496 * sysdeps/generic/w_atan2l.c: ...here. New file.
5497 * math/w_atanh.c: Move to ...
5498 * sysdeps/generic/w_atanh.c: ...here. New file.
5499 * math/w_atanhf.c: Move to ...
5500 * sysdeps/generic/w_atanhf.c: ...here. New file.
5501 * math/w_atanhl.c: Move to ...
5502 * sysdeps/generic/w_atanhl.c: ...here. New file.
5503 * math/w_cosh.c: Move to ...
5504 * sysdeps/generic/w_cosh.c: ...here. New file.
5505 * math/w_coshf.c: Move to ...
5506 * sysdeps/generic/w_coshf.c: ...here. New file.
5507 * math/w_coshl.c: Move to ...
5508 * sysdeps/generic/w_coshl.c: ...here. New file.
5509 * math/w_drem.c: Move to ...
5510 * sysdeps/generic/w_drem.c: ...here. New file.
5511 * math/w_dremf.c: Move to ...
5512 * sysdeps/generic/w_dremf.c: ...here. New file.
5513 * math/w_dreml.c: Move to ...
5514 * sysdeps/generic/w_dreml.c: ...here. New file.
5515 * math/w_exp10.c: Move to ...
5516 * sysdeps/generic/w_exp10.c: ...here. New file.
5517 * math/w_exp10f.c: Move to ...
5518 * sysdeps/generic/w_exp10f.c: ...here. New file.
5519 * math/w_exp10l.c: Move to ...
5520 * sysdeps/generic/w_exp10l.c: ...here. New file.
5521 * math/w_exp2.c: Move to ...
5522 * sysdeps/generic/w_exp2.c: ...here. New file.
5523 * math/w_exp2f.c: Move to ...
5524 * sysdeps/generic/w_exp2f.c: ...here. New file.
5525 * math/w_exp2l.c: Move to ...
5526 * sysdeps/generic/w_exp2l.c: ...here. New file.
5527 * math/w_fmod.c: Move to ...
5528 * sysdeps/generic/w_fmod.c: ...here. New file.
5529 * math/w_fmodf.c: Move to ...
5530 * sysdeps/generic/w_fmodf.c: ...here. New file.
5531 * math/w_fmodl.c: Move to ...
5532 * sysdeps/generic/w_fmodl.c: ...here. New file.
5533 * math/w_hypot.c: Move to ...
5534 * sysdeps/generic/w_hypot.c: ...here. New file.
5535 * math/w_hypotf.c: Move to ...
5536 * sysdeps/generic/w_hypotf.c: ...here. New file.
5537 * math/w_hypotl.c: Move to ...
5538 * sysdeps/generic/w_hypotl.c: ...here. New file.
5539 * math/w_j0.c: Move to ...
5540 * sysdeps/generic/w_j0.c: ...here. New file.
5541 * math/w_j0f.c: Move to ...
5542 * sysdeps/generic/w_j0f.c: ...here. New file.
5543 * math/w_j0l.c: Move to ...
5544 * sysdeps/generic/w_j0l.c: ...here. New file.
5545 * math/w_j1.c: Move to ...
5546 * sysdeps/generic/w_j1.c: ...here. New file.
5547 * math/w_j1f.c: Move to ...
5548 * sysdeps/generic/w_j1f.c: ...here. New file.
5549 * math/w_j1l.c: Move to ...
5550 * sysdeps/generic/w_j1l.c: ...here. New file.
5551 * math/w_jn.c: Move to ...
5552 * sysdeps/generic/w_jn.c: ...here. New file.
5553 * math/w_jnf.c: Move to ...
5554 * sysdeps/generic/w_jnf.c: ...here. New file.
5555 * math/w_jnl.c: Move to ...
5556 * sysdeps/generic/w_jnl.c: ...here. New file.
5557 * math/w_lgamma.c: Move to ...
5558 * sysdeps/generic/w_lgamma.c: ...here. New file.
5559 * math/w_lgammaf.c: Move to ...
5560 * sysdeps/generic/w_lgammaf.c: ...here. New file.
5561 * math/w_lgammaf_r.c: Move to ...
5562 * sysdeps/generic/w_lgammaf_r.c: ...here. New file.
5563 * math/w_lgammal.c: Move to ...
5564 * sysdeps/generic/w_lgammal.c: ...here. New file.
5565 * math/w_lgammal_r.c: Move to ...
5566 * sysdeps/generic/w_lgammal_r.c: ...here. New file.
5567 * math/w_lgamma_r.c: Move to ...
5568 * sysdeps/generic/w_lgamma_r.c: ...here. New file.
5569 * math/w_log10.c: Move to ...
5570 * sysdeps/generic/w_log10.c: ...here. New file.
5571 * math/w_log10f.c: Move to ...
5572 * sysdeps/generic/w_log10f.c: ...here. New file.
5573 * math/w_log10l.c: Move to ...
5574 * sysdeps/generic/w_log10l.c: ...here. New file.
5575 * math/w_log.c: Move to ...
5576 * sysdeps/generic/w_log.c: ...here. New file.
5577 * math/w_logf.c: Move to ...
5578 * sysdeps/generic/w_logf.c: ...here. New file.
5579 * math/w_logl.c: Move to ...
5580 * sysdeps/generic/w_logl.c: ...here. New file.
5581 * math/w_pow.c: Move to ...
5582 * sysdeps/generic/w_pow.c: ...here. New file.
5583 * math/w_powf.c: Move to ...
5584 * sysdeps/generic/w_powf.c: ...here. New file.
5585 * math/w_powl.c: Move to ...
5586 * sysdeps/generic/w_powl.c: ...here. New file.
5587 * math/w_remainder.c: Move to ...
5588 * sysdeps/generic/w_remainder.c: ...here. New file.
5589 * math/w_remainderf.c: Move to ...
5590 * sysdeps/generic/w_remainderf.c: ...here. New file.
5591 * math/w_remainderl.c: Move to ...
5592 * sysdeps/generic/w_remainderl.c: ...here. New file.
5593 * math/w_scalb.c: Move to ...
5594 * sysdeps/generic/w_scalb.c: ...here. New file.
5595 * math/w_scalbf.c: Move to ...
5596 * sysdeps/generic/w_scalbf.c: ...here. New file.
5597 * math/w_scalbl.c: Move to ...
5598 * sysdeps/generic/w_scalbl.c: ...here. New file.
5599 * math/w_sinh.c: Move to ...
5600 * sysdeps/generic/w_sinh.c: ...here. New file.
5601 * math/w_sinhf.c: Move to ...
5602 * sysdeps/generic/w_sinhf.c: ...here. New file.
5603 * math/w_sinhl.c: Move to ...
5604 * sysdeps/generic/w_sinhl.c: ...here. New file.
5605 * math/w_sqrtl.c: Move to ...
5606 * sysdeps/generic/w_sqrtl.c: ...here. New file.
5607 * math/w_tgamma.c: Move to ...
5608 * sysdeps/generic/w_tgamma.c: ...here. New file.
5609 * math/w_tgammaf.c: Move to ...
5610 * sysdeps/generic/w_tgammaf.c: ...here. New file.
5611 * math/w_tgammal.c: Move to ...
5612 * sysdeps/generic/w_tgammal.c: ...here. New file.
5614 * locale/programs/ld-address.c (address_finish): Add 'S' to allow
5615 formats for postal_fmt.
5617 2001-02-16 Jakub Jelinek <jakub@redhat.com>
5619 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
5620 __ftruncate64 alias.
5621 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
5624 2001-02-15 David Mosberger <davidm@hpl.hp.com>
5626 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
5627 do "loadrs". Writing to bspstore already takes care of
5628 invalidating the "clean" partition.
5630 2001-02-16 Andreas Schwab <schwab@suse.de>
5632 * sysdeps/m68k/fpu/s_nextafterl.c: New file.
5633 * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
5635 2001-02-15 Jakub Jelinek <jakub@redhat.com>
5637 * posix/regex.c (init_syntax_once): Add prototype.
5638 (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
5639 (re_search_2): Avoid warning.
5640 (count_mbs_length): Add prototype.
5641 * posix/tst-regex3.c: New file.
5642 * posix/Makefile (tests): Add bug-regex3.
5644 2001-02-15 Ulrich Drepper <drepper@redhat.com>
5646 * stdio-common/Makefile (tests): Add tst-gets.
5647 * stdio-common/tst-gets.c: New file.
5648 * stdio-common/tst-gets.input: New file.
5650 * elf/elf.h (DT_CHECKSUM): Define.
5652 * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
5654 * sysdeps/generic/strtoull.c: Likewise.
5656 2001-02-14 Wolfram Gloger <wg@malloc.de>
5658 * malloc/malloc.c (new_heap): When allocating large chunk aligned
5659 to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
5662 2001-02-14 Ulrich Drepper <drepper@redhat.com>
5664 * math/libm-test.inc (j0_test): Check whether sincos is available.
5665 (j1_test): Likewise.
5666 (jn_test): Likewise.
5667 (y0_test): Likewise.
5668 (y1_test): Likewise.
5669 (yn_test): Likewise.
5671 * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
5672 fake filesystem routines to handle this.
5674 * time/sys/time.h: Make settimeofday and adjtime available if
5677 * time/sys/time.h: Make timer* macros available for BSD.
5679 * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
5680 Patch by Yong Li <rigel863@yahoo.com>.
5682 * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
5685 * posix/Makefile (tests): Add tst-gnuglob.
5686 * posix/tst-gnuglob.c: New file.
5688 2001-02-13 H.J. Lu <hjl@gnu.org>
5690 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
5692 2001-02-13 Ulrich Drepper <drepper@redhat.com>
5694 * locale/programs/ld-paper.c (paper_output): Pretty printing.
5696 * iconvdata/Makefile (modules): Add GBBIG5.
5697 (distribute): Add gbbig5.c.
5698 * iconvdata/gconv-modules: Add entries for GBBIG5 module.
5700 * iconvdata/gbbig5.c: New file.
5701 Contributed by Yong Li <rigel863@yahoo.com>.
5703 2001-02-13 Philip Blundell <pb@futuretv.com>
5705 * manual/crypt.texi: Remove outdated references to crypt add-on.
5707 * manual/creature.texi: Improve wording slightly.
5709 2001-02-13 Ulrich Drepper <drepper@redhat.com>
5711 * io/ftw.c: Always use readdir64.
5712 * io/ftw64.c: Likewise.
5713 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5714 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5715 * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
5716 callback to dirent. Still allow compiling outside glibc.
5717 * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
5718 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5720 * malloc/mtrace.c: Use fopen64.
5721 * posix/spawni.c: Use __open64.
5722 * sysdeps/unix/opendir.c: Likewise.
5723 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
5725 * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
5727 * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
5728 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
5729 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5730 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
5732 * resolv/res_data.c: Add cast to avoid warning.
5734 * include/unistd.h: Declare __ftruncate64.
5736 * sysdeps/generic/utmp_file.c: Use LFS functions and types.
5738 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
5741 2001-02-13 Andreas Jaeger <aj@suse.de>
5743 * login/getutent_r.c: Include <stdlib.h> for NULL.
5744 * login/getutid_r.c: Likewise.
5746 2001-02-12 Ulrich Drepper <drepper@redhat.com>
5748 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
5749 * sysdeps/dbl-64/e_j1.c: Likewise.
5750 * sysdeps/dbl-64/e_jn.c: Likewise.
5751 * sysdeps/flt-32/e_j0f.c: Likewise.
5752 * sysdeps/flt-32/e_j1f.c: Likewise.
5753 * sysdeps/ldbl-96/e_j0l.c: Likewise.
5755 2000-12-02 H.J. Lu <hjl@gnu.org>
5757 * resolv/res_libc.c (res_init): Don't make it default.
5759 2001-02-12 Ulrich Drepper <drepper@redhat.com>
5761 * manual/debug.texi: Improved the wording.
5762 Patch by Philip Blundell <pb@futuretv.com>.
5764 2001-02-12 Andreas Jaeger <aj@suse.de>
5766 * posix/Makefile (tests): Don't run bug-regex2 when
5769 * libio/Makefile (tests): Don't run test-freopen when
5772 * manual/stdio.texi (Streams and I18N): Fix typos.
5774 2001-02-12 Ulrich Drepper <drepper@redhat.com>
5776 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
5778 * math/libm-test.inc (j0_test): Make expected results long double
5780 (y0_test): Likewise.
5782 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
5783 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5785 2001-02-11 Jakub Jelinek <jakub@redhat.com>
5787 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
5788 which was exported from libc.
5789 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
5791 2001-02-12 Andreas Jaeger <aj@suse.de>
5793 * manual/arith.texi (Parsing of Integers): Fix some wordings.
5795 2001-02-11 Ulrich Drepper <drepper@redhat.com>
5797 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
5798 and get_avphys_page to long int.
5799 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
5800 * include/sys/sysinfo.h: Likewise.
5801 * sysdeps/generic/sys/sysinfo.h: Likewise.
5802 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
5804 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
5805 cannot return as many values as the user asked for.
5807 2001-02-11 Andreas Jaeger <aj@suse.de>
5809 * manual/resource.texi (Memory Resources): Fix typo.
5811 * libio/Makefile ($(objpfx)test-freopen.out): Pass
5814 * libio/test-freopen.sh: Use run_program_prefix.
5816 2001-02-10 Andreas Jaeger <aj@suse.de>
5818 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
5820 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
5822 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
5825 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
5827 * posix/Makefile: Fix typo, it's build-static-nss.
5829 * iconv/Makefile (extra-objs): New.
5831 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5833 * sysdeps/unix/stime.c: Include <time.h>.
5835 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
5837 2001-02-10 Andreas Jaeger <aj@suse.de>
5839 * manual/string.texi (Search Functions): Fix typo.
5841 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5843 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
5844 (timeval_to_clock_t): Add clk_tck argument and use that instead of
5846 (__times): Use __getclktck to get the number of clock ticks per
5847 second and use its return value instead of CLK_TCK.
5849 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5851 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
5853 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5855 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
5857 2001-02-10 Andreas Jaeger <aj@suse.de>
5859 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
5862 2001-02-09 Ulrich Drepper <drepper@redhat.com>
5864 * posix/Makefile: Add rules to build and run bug-regex2.
5865 * posix/bug-regex2.c: New file.
5867 2001-02-10 Jakub Jelinek <jakub@redhat.com>
5869 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
5870 (regex_compile): Likewise.
5871 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
5872 (re_match_2_internal): Use just is_binary instead of two variables.
5873 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
5875 2001-02-09 Ulrich Drepper <drepper@redhat.com>
5877 * version.h (VERSION): Bump to 2.2.2.
5879 * iconv/Makefile (distribute): Add iconv_charmap.c and
5881 * elf/Makefile (distribute): Add firstobj.c.
5882 * Makefile (distribute): Add include/pthread.h.
5884 * configure.in: Require makeinfo version 4.
5886 * libio/tst_wscanf.c (main): Add cast to avoid warning.
5887 * libio/tst_swscanf.c (main): Likewise..
5889 2001-02-09 Jakub Jelinek <jakub@redhat.com>
5891 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
5892 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
5894 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
5895 if not RTLD_BOOTSTRAP.
5896 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5897 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5899 2001-02-09 Ulrich Drepper <drepper@redhat.com>
5901 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
5902 lr_ungetc to push back last read character.
5903 * locale/programs/linereader.h (lr_ungetc): Don't push back is
5905 (lr_ignore_rest): Don't warn about garbage if it is really the end
5908 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
5911 2001-02-08 Ulrich Drepper <drepper@redhat.com>
5913 * Makerules (build-shlib): Work around different order of
5914 processing of -B option in different gcc versions.
5916 * posix/regex.c: Fix alignment problem.
5917 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5919 * sysdeps/alpha/strrchr.S: Little optimization.
5920 Patch by Richard Henderson <rth@redhat.com>.
5922 * sysdeps/alpha/alphaev67/strrchr.S: New file.
5923 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
5925 2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
5927 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
5928 in the assembler end directive.
5930 2001-02-08 Andreas Jaeger <aj@suse.de>
5932 * manual/stdio.texi (Closing Streams): Fix typos.
5934 2001-02-07 Ulrich Drepper <drepper@redhat.com>
5936 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
5937 Patch by Richard Henderson <rth@redhat.com>.
5938 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
5940 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
5941 pointer in FILE structure before calling _IO_init.
5942 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
5943 strfmon_l if necessary.
5944 Reported by Jury Gerold <gjury@grips.com>.
5946 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
5947 Patch by Pekka.Pietikainen@cern.ch.
5949 * posix/regex.c: Correct several problems with 64-bit architectures
5950 introduced in the MBS changes.
5951 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5953 2001-02-07 Jakub Jelinek <jakub@redhat.com>
5955 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
5957 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
5959 2001-02-07 Andreas Jaeger <aj@suse.de>
5961 * manual/install.texi (Tools for Compilation): Fix typo.
5962 Reported by Pavel Machek <pavel@bug.ucw.cz>.
5964 2001-02-07 Ulrich Drepper <drepper@redhat.com>
5966 * stdlib/strtod.c: Never stop prematurely reading digits before the
5967 decimal point is found. Compute exponent limit for negative exponents
5968 correctly. For numbers ending in all zeros eat the zeros even before
5969 the decimal point if the exponent is negative [PR libc/2072].
5970 * stdlib/Makefile (tests): Add bug-strtod.
5971 * stdlib/bug-strtod.c: New file.
5973 2001-02-07 Andreas Jaeger <aj@suse.de>
5975 * posix/bug-regex1.c: Include <wchar.h> for fwide.
5977 2001-02-06 Ulrich Drepper <drepper@redhat.com>
5979 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
5981 (compile_range): Handle index being passed, not pointer.
5982 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5984 * posix/regex.c: Fix a cast in the code for bracket handling which
5985 caused 8-bit uncleanliness.
5986 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
5988 * posix/Makefile (tests): Add bug-regex1.
5989 * posix/bug-regex1.c: New file.
5990 Contributed by Jim Meyering <jim@meyering.net>.
5992 * posix/regex.c: Many cleanups for incorrect format strings.
5994 2001-02-06 Andreas Jaeger <aj@suse.de>
5996 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
5998 2001-02-06 Ulrich Drepper <drepper@redhat.com>
6000 * locale/programs/locale.c (write_locales): Use scandir to read
6001 directory so that the entries are sorted.
6003 2001-02-06 Andreas Jaeger <aj@suse.de>
6005 * include/pthread.h: New file.
6007 * wctype/wctype.h: Move internal interfaces from here to...
6008 * include/wctype.h: ...here.
6010 * wcsmbs/wchar.h: Move __wcslen from here to...
6011 * include/wchar.h: ...here.
6013 * posix/sys/wait.h: Move __wait from here to...
6014 * include/sys/wait.h: ...here.
6016 * string/string.h: Move __ffs and __strerror_r from here to...
6017 * include/string.h: ...here.
6019 * stdlib/stdlib.h: Move __on_exit from here to...
6020 * include/stdlib.h: ...here.
6022 * libio/stdio.h: Move __vsnprintf from here to...
6023 * include/stdio.h: ...here.
6025 2001-02-06 Andreas Schwab <schwab@suse.de>
6027 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
6030 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
6033 2001-02-06 Ulrich Drepper <drepper@redhat.com>
6035 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
6037 2001-02-06 Andreas Jaeger <aj@suse.de>
6039 * elf/firstobj.c: Add prototype.
6041 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
6042 (truncate_wchar): Likewise.
6044 2001-02-06 Ulrich Drepper <drepper@redhat.com>
6046 * locale/programs/locale.c: Implement --verbose option for -a
6047 which prints detailed information about the locales.
6049 2001-02-05 Ulrich Drepper <drepper@redhat.com>
6051 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
6052 variable to uint32_t.
6053 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
6055 2001-02-04 Bruno Haible <haible@clisp.cons.org>
6057 * locale/C-translit.h.in: Add transliterations for CJK units of
6060 2001-02-05 Ulrich Drepper <drepper@redhat.com>
6062 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
6063 string. Include <inttypes.h> instead of <stdint.h>.
6065 * localedata/Makefile (tests): Add bug-iconv-trans.
6066 Define bug-iconv-trans-ENV.
6067 * localedata/bug-iconv-trans.c: New file.
6069 2001-02-04 Bruno Haible <haible@clisp.cons.org>
6071 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
6072 pointer, to avoid accumulating output from incomplete (unsuccessful)
6073 transliteration attempts.
6075 2001-02-05 Ulrich Drepper <drepper@redhat.com>
6077 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
6078 string. Include <inttypes.h> instead of <stdint.h>.
6080 * configure.in: Add check for bison.
6081 * config.make.in: Define BISON variable.
6082 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
6083 Rename YFLAGS to BISONFLAGS.
6085 2001-02-05 Andreas Jaeger <aj@suse.de>
6087 * io/test-lfs.c (do_test): Test lseek64 return value, call
6089 (test_ftello): New function to test ftello64 and fseeko64.
6091 * signal/signal.h: Move __sigaction from here to...
6092 * include/signal.h: ...here.
6094 * io/fcntl.h: Move __fcntl and __open to...
6095 * include/fcntl.h: ...here.
6097 2001-02-04 Philip Blundell <philb@gnu.org>
6099 * configure.in: Distinguish ARM from Thumb.
6101 2001-02-04 Philip Blundell <philb@gnu.org>
6103 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
6104 PC24 relocs with negative value.
6106 2001-02-04 Ulrich Drepper <drepper@redhat.com>
6108 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
6109 files in locale/programs. Add CFLAGS definition to allow compiling
6111 * iconv/dummy-repertoire.c: New file.
6112 * iconv/iconv_charmap.c: New file.
6113 * iconv/iconv_prog.h: New file.
6114 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
6115 (main): If parameter for -f and -t contain slashes try first to resolve
6116 the strings as filenames of charmap files. Use them for conversion
6118 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
6119 iconv getting charmap names as parameters.
6120 * locale/programs/linereader.c (lr_token): Take extra parameters
6121 verbose and pass it to get_string.
6122 (get_string): Take extra parameters verbose.
6123 * locale/programs/charmap.c (parse_charmap): Take extra parameters
6124 verbose and be_quiet. Change all callers of lr_token and
6126 * locale/programs/charmap.h: Likewise.
6127 * locale/programs/ld-address.c: Likewise.
6128 * locale/programs/ld-collate.c: Likewise.
6129 * locale/programs/ld-ctype.c: Likewise.
6130 * locale/programs/ld-identification.c: Likewise.
6131 * locale/programs/ld-measurement.c: Likewise.
6132 * locale/programs/ld-messages.c: Likewise.
6133 * locale/programs/ld-monetary.c: Likewise.
6134 * locale/programs/ld-name.c: Likewise.
6135 * locale/programs/ld-numeric.c: Likewise.
6136 * locale/programs/ld-paper.c: Likewise.
6137 * locale/programs/ld-telephone.c: Likewise.
6138 * locale/programs/ld-time.c: Likewise.
6139 * locale/programs/linereader.c: Likewise.
6140 * locale/programs/linereader.h: Likewise.
6141 * locale/programs/localedef.c: Likewise.
6142 * locale/programs/locfile.c: Likewise.
6143 * locale/programs/locfile.h: Likewise.
6144 * locale/programs/repertoire.c: Likewise.
6146 2001-02-03 Ulrich Drepper <drepper@redhat.com>
6148 * iconv/iconv_prog.c (main): If output file name is "-" write to
6150 (main): If -f or -t argument is missing use charset of the current
6153 2001-02-03 Andreas Jaeger <aj@suse.de>
6155 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
6156 boundary for SSE/SSE-2 alignment.
6158 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
6161 2001-02-03 Ulrich Drepper <drepper@redhat.com>
6163 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
6164 Remove comma at end of enum.
6166 * elf/dl-init.c: Add a few __builtin_expect.
6168 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
6170 2001-02-02 Ulrich Drepper <drepper@redhat.com>
6172 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
6173 errno is ECONNREFUSED.
6175 * posix/Makefile: Define MBS_SUPPORT for regex.c.
6176 * posix/regex.c: Implement multibyte character handling.
6177 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
6179 * string/tst-svc.input: Add two more test cases.
6180 * string/tst-svc.expect: Modify to reflect new test cases.
6182 2001-02-01 Jakub Jelinek <jakub@redhat.com>
6184 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
6185 tp->name tests with tp->name[0] tests.
6187 2001-01-29 Ben Collins <bcollins@debian.org>
6189 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
6190 Fix check for name == NULL.
6192 2001-02-01 Ulrich Drepper <drepper@redhat.com>
6194 * elf/Makefile: Add rules to build and run initfirst test.
6195 * elf/initfirst.c: New file.
6196 * elf/firstobj.c: New file.
6198 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
6199 * configure.in: Test for -z initfirst linker option.
6200 * config.make.in: Add have-z-initfirst.
6201 * elf/dl-init.c (_dl_init): Split out actual initialization code in
6202 new function call_init. If _dl_initfirst is non-NULL initialize first.
6203 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
6204 remember object in _dl_initfirst.
6205 * elf/soinit.c: Remove special support for calling
6206 __pthread_initialize_minimal.
6208 * conform/conformtest.pl: Add missing $prepend in type test.
6210 2001-01-31 Ulrich Drepper <drepper@redhat.com>
6212 * elf/elf.h (SHT_CHECKSUM): New definition.
6214 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
6215 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6216 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
6218 2001-01-31 Mark Kettenis <kettenis@gnu.org>
6220 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
6221 to get definition of `struct timeval'.
6223 2001-01-31 Ulrich Drepper <drepper@redhat.com>
6225 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
6226 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
6228 2001-01-30 Ulrich Drepper <drepper@redhat.com>
6230 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
6233 * nis/nis_findserv.c: Include <time.h>.
6235 2001-01-30 Yong Li <yong.li@asu.edu>
6237 * iconv/iconv_prog.c (main): Correct error handling method name.
6239 2001-01-29 Ben Collins <bcollins@debian.org>
6241 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
6242 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
6243 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
6244 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
6246 2001-01-30 Ulrich Drepper <drepper@redhat.com>
6248 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
6249 Patch by Marko Myllynen <myllynen@lut.fi>.
6251 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
6252 (int instead of char).
6253 (__strpbrk_c3): Likewise.
6254 Reported by GOTO Masanori <gotom@debian.or.jp>.
6256 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
6257 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
6258 * include/sys/socket.h: Add SA_LEN here for internal use.
6259 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
6261 2001-01-29 Ulrich Drepper <drepper@redhat.com>
6263 * malloc/Makefile: Don't build memusagestat if cross-compiling.
6265 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
6267 * math/libm-test.inc (rint_test): Add a few more tests for round
6270 2001-01-28 Ulrich Drepper <drepper@redhat.com>
6272 * conform/data/pthread.h-data: Correct return type of pthread_exit.
6274 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
6276 * conform/data/stdlib.h-data: Add _Exit.
6278 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
6279 if not already happened.
6280 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
6281 Don't include <limits.h> and <bits/sockaddr.h>.
6283 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
6285 * conform/data/spawn.h-data: Allow all of <sched.h>.
6287 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
6290 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
6291 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
6293 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
6295 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
6296 * libio/stdio.h: Define va_list correctly.
6298 * conform/data/pthread.h-data: Make priority protocol related
6299 functions optional. Fix typos.
6301 * posix/sched.h: Define sched_priority as __sched_priority.
6302 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
6303 to __sched_priority.
6304 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6306 2001-01-27 Ulrich Drepper <drepper@redhat.com>
6308 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
6311 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
6312 * sysdeps/unix/time.c: Likewise.
6314 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
6315 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
6316 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
6317 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
6318 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6319 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
6320 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
6321 * time/time.h: Likewise.
6323 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
6324 * conform/data/complex.h-data: New file.
6325 * conform/data/tgmath.h-data: New file.
6327 * conform/data/wchar.h-data: Add missing functions.
6329 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
6331 * conform/data/termios.h-data: Add missing const in tcsetattr()
6334 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
6335 Don't define pid_t here.
6337 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
6339 * conform/data/sys/time.h-data: Allow sys/select.h.
6340 * conform/data/sys/un.h-data: Fix typo.
6341 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
6342 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
6344 * sysdeps/unix/clock_nanosleep.c: Likewise.
6345 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
6346 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
6347 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
6348 * sysdeps/unix/clock_settime.c: Likewise.
6350 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
6351 * login/getutent.c: Likewise.
6352 * login/getutid.c: Likewise.
6353 * login/getutline.c: Likewise.
6355 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
6357 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
6358 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
6359 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
6360 f_fsid field after change in struct statvfs.
6361 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
6362 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
6363 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
6365 * conform/data/sys/stat.h-data: Remove isfdtype. Use
6368 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
6369 recvfrom, send, and socketpair prototypes. Add allow lines.
6370 * socket/sys/socket.h: Include <sys/uio.h>.
6371 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
6372 Fix type of second parameter of listen.
6373 Don't declare isfdtype unless __USE_MISC.
6374 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
6375 * sysdeps/mach/hurd/listen.c: Likewise.
6376 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
6377 ss_family and __ss_family.
6378 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
6379 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6380 (struct msghdr): Change type of msg_iovlen to int and type of
6381 msg_controllen to socklen_t.
6382 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
6383 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
6384 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
6385 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
6386 (rresvport_af): Likewise.
6388 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
6389 * conform/conformtest.pl: Implement handling of symbol.
6391 * signal/signal.h: Fix handling of __need_* symbols.
6392 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
6393 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
6394 * include/sys/select.h: Use fd_set not __fd_set.
6395 * sysdeps/generic/bits/select.h: Likewise.
6396 * sysdeps/i386/bits/select.h: Likewise.
6397 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
6398 __FDELT, __FDMASK, and __fd_set here.
6399 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
6400 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
6401 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6402 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6403 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
6404 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6405 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6406 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6407 * time/sys/time.h: Define struct timeval before including <time.h>
6410 * conform/data/sys/time.h-data: fd_set is a typedef.
6411 * conform/data/sys/select.h-data: New file.
6412 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
6413 * conform/conformtest.pl (@headers): Add sys/select.h.
6414 (type, optional-type): Unless testing a typedef instantiate object.
6415 Implement optional-function.
6417 * math/test-misc.c: Include <float.h>.
6419 2001-01-27 Andreas Jaeger <aj@suse.de>
6421 * misc/efgcvt_r.c: Include <float.h>.
6423 2001-01-26 Ulrich Drepper <drepper@redhat.com>
6425 * conform/data/stdlib.h-data: Account for XPG6 changes.
6426 * stdlib/stdlib.h (__random): Change return value type to long.
6427 (posix_memalign): Cleanup parameter names.
6428 (setenv, unsetenv): Make available for __USE_XOPEN2K.
6429 Change return type of unsetenv to int.
6430 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
6431 * include/stdlib.h: Change return type of unsetenv to int.
6432 Change return type of random to long int.
6433 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
6434 Return -1 and set errno if parameter is invalid.
6435 * stdlib/random.c (__random): Change return value type to long.
6437 * conform/data/stdio.h-data: Account for changes in XPG6.
6439 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
6442 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
6443 * conform/data/signal.h-data: Fix sigev_notify_function entry.
6444 Fix typo (SIGVALRM -> SIGVTALRM).
6445 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
6447 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
6448 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
6449 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
6450 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6451 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
6453 * conform/conformtest.pl: Implement optional-element. Define
6454 $mustprepend{"sched.h"}.
6455 * conform/data/sched.h-data: Make sporadic scheduler definitions
6458 * pwd/pwd.h: Don't define getpwent_r for XPG.
6460 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
6461 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
6462 * sysdeps/mach/hurd/poll.c: Likewise.
6463 * sysdeps/unix/bsd/poll.c: Likewise.
6464 * sysdeps/unix/sysv/linux/poll.c: Likewise.
6465 * sysdeps/unix/sysv/aix/poll.c: Likewise.
6466 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
6467 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
6468 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
6469 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
6470 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
6471 * conform/data/poll.h-data: Fix typo in poll prototype.
6473 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
6475 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
6477 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
6479 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
6481 * conform/conformtest.pl: Implement optional-type.
6483 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
6484 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
6485 defining uint32_t here. Define IPPORT_RESERVED.
6486 (struct hostent): Type of h_length element is int.
6487 (getnameinfo): Type of flags parameter is unsigned int.
6488 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
6489 * conform/data/netdb.h-data: Add many missing definitions.
6491 * conform/conformtest.pl: Implement optional-macro.
6492 * conform/data/math.h-data: Update for XPG6.
6494 * math/math.h (HUGE): Define as FLT_MAX value but don't use
6495 FLT_MAX. Don't include <float.h>.
6496 (MAXFLOAT): Likewise.
6498 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
6500 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
6502 * conform/data/limits.h-data: Mark constants as optional wherever
6505 * posix/bits/posix2_lim.h: Set correct values for
6506 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
6509 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
6512 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
6514 * conform/data/netinet/in.h-data: Add reserved prefixes.
6516 * conform/data/arpa/inet.h-data: Fix a few typos.
6518 2001-01-26 Andreas Jaeger <aj@suse.de>
6520 * sysdeps/generic/strtol.c: Include <locale.h>
6521 * stdlib/strtod.c: Likewise
6522 * stdlib/strfmon.c: Likewise.
6523 * string/strcoll.c: Likewise.
6524 * string/strxfrm.c: Likewise.
6525 * wctype/wcfuncs_l.c: Likewise.
6526 * wctype/wctype_l.c: Likewise.
6527 * wctype/wctrans_l.c: Likewise.
6529 * include/bits/locale.h: New file.
6531 2001-01-26 Ulrich Drepper <drepper@redhat.com>
6533 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
6536 * locale/Makefile (headers): Add bits/locale.h.
6537 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
6538 and use __LC_ constants instead of LC_.
6539 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
6540 using __LC_ constants.
6541 * locale/bits/locale.h: New file.
6542 * locale/loadlocale.c: Include <locale.h>.
6543 * locale/nl_langinfo.h: Likewise.
6545 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
6547 * io/sys/stat.h: Define S_IFSOCK for XPG6.
6549 * conform/data/fcntl.h-data: posix_madvise is not expected here.
6551 * conform/conformtest.pl: Fix handling of macro-str.
6553 * conform/data/inttypes.h-data: Add missing definition and all of
6556 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
6558 2001-01-25 Ulrich Drepper <drepper@redhat.com>
6560 * conform/conformtest.pl (@headers): Add stdint.h.
6561 * conform/data/stdint.h-data: New file.
6563 * conform/conformtest.pl: Recognize options --headers and
6564 --dialect. Add dialect-specific CFLAGS.
6566 * conform/conformtest.pl: Implement handling of recursive
6569 * conform/data/locale.h-data: Add new struct lconv members.
6571 * posix/wordexp.h: Correct definition of wordexp_t.
6572 * posix/wordexp.c: Moved to ...
6573 * sysdeps/generic/wordexp.c: ...here. New file.
6574 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
6575 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
6576 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
6577 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
6579 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
6580 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
6582 * math/tgmath.h: Pretty printing.
6584 * math/Makefile (tests): Add test-tgmath.
6585 (CFLAGS-test-tgmath.c): New variable.
6586 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
6588 * conform/conformtest.pl: Handle allow-header in secondary headers
6591 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
6594 * conform/data/netinet/in.h-data: Use correct comment character.
6595 * conform/data/sys/stat.h-data: Likewise.
6597 2001-01-25 Jakub Jelinek <jakub@redhat.com>
6599 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
6600 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
6601 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
6602 __builtin_classify_type, add ##f suffixes where appropriate.
6603 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
6604 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
6605 __builtin_classify_type.
6606 (fma): Fix spelling of first argument.
6608 2001-01-25 Ulrich Drepper <drepper@redhat.com>
6610 * conform/data/unistd.h-data: Mark functions removed in XPG6
6613 * posix/unistd.h: Don't make functions removed in XPG6 available if
6616 * conform/conformtest.pl: Implement optional-constant.
6617 * conform/data/unistd.h-data: Use optional-constant wherever
6620 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
6621 constants and add _SC_STREAMS.
6622 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6624 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
6625 make old name weak alias.
6626 * sysdeps/generic/statvfs64.c: Likewise.
6627 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
6628 make old name weak alias.
6629 * sysdeps/generic/fstatvfs64.c: Likewise.
6630 * include/sys/statvfs.h: New file.
6632 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
6633 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
6635 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
6636 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
6637 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
6638 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
6640 * conform/conformtest.pl: Run Unix tests for XPG6.
6641 Implement handling of known namespace violations.
6642 Improve printing of results.
6644 * posix/unistd.h (usleep): Correct return type.
6645 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
6646 * sysdeps/unix/bsd/usleep.c: Correct return type.
6647 * sysdeps/mach/usleep.c: Correct return type.
6648 * sysdeps/generic/usleep.c: Correct return type.
6650 * posix/unistd.h (sync): Correct return type.
6651 * sysdeps/generic/sync.c: Likewise.
6652 * sysdeps/mach/hurd/sync.c: Likewise.
6654 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
6656 * posix/unistd.h: Make seteuid and setegid available for XPG6.
6658 * wcsmbs/wchar.h: Get FILE definition for XPG5.
6660 * conform/data/ctype.h-data: Use correct comment form.
6661 * conform/data/errno.h-data: Likewise.
6662 * conform/data/math.h-data: Likewise.
6663 * conform/data/mqueue.h-data: Likewise.
6664 * conform/data/netdb.h-data: Likewise.
6665 * conform/data/pthread.h-data: Likewise.
6667 2001-01-24 Ulrich Drepper <drepper@redhat.com>
6669 * conform/data/wordexp.h-data: Fix typo.
6671 * conform/conformtest.pl: Handle allow-header correctly.
6673 * conform/data/time.h-data: Use correct comment form.
6675 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
6677 * configure.in: Comment out binutils version test.
6679 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
6681 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
6683 * stdlib/tst-strtod.c (locale_test): New function.
6684 (main): Call locale_test.
6685 * stdlib/Makefile (tst-strtod-ENV): New variable.
6687 2001-01-24 Mark Kettenis <kettenis@gnu.org>
6689 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
6690 declaration of value such that we actually return the value of the
6691 environment variable.
6693 2001-01-24 Andreas Jaeger <aj@suse.de>
6695 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
6697 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6699 * include/sys/sysctl.h: New file.
6701 2001-01-23 Andreas Jaeger <aj@suse.de>
6703 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
6706 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
6707 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
6708 closes PR libc/2039.
6710 * manual/install.texi (Tools for Compilation): Change required
6713 2001-01-22 Andreas Jaeger <aj@suse.de>
6715 * configure.in: Add test for new enough binutils version, move
6716 compiler/binutils test up.
6718 * Versions.def: Add version GLIBC_2.2.2.
6720 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6722 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
6724 * iconvdata/testdata/IBM932: New file.
6725 * iconvdata/testdata/IBM932..UTF8: New file.
6726 * iconvdata/testdata/IBM943: New file.
6727 * iconvdata/testdata/IBM943..UTF8: New file.
6728 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
6730 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6732 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
6734 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6736 * malloc/malloc.c: Remove a few unnecessary initializers of global
6739 2000-12-09 H.J. Lu <hjl@gnu.org>
6741 * nss/Makefile (routines): Add digits_dots.
6742 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
6743 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
6745 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
6747 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
6748 (TYPE_VAR_P): Likewise.
6749 (FLAGS_VAR): Likewise.
6750 (AF_VAR_P): Likewise.
6751 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6752 instead of including digits_dots.c.
6753 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
6754 (TYPE_VAR_P): Likewise.
6755 (FLAGS_VAR): Likewise.
6756 (AF_VAR_P): Likewise.
6757 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6758 instead of including digits_dots.c.
6760 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6762 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
6764 2001-01-21 Andreas Jaeger <aj@suse.de>
6766 * elf/constload2.c: Add prototype for init.
6768 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6770 * stdlib/stdlib.h (drand48_data): Make available only for
6771 __USE_MISC. Rename elements to protect namespace. Change type
6772 and position of a and init element.
6773 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
6774 differently. Adjust for drand48_data change. Don't compute a here,
6775 it comes from drand48_data.
6776 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
6777 differently. Adjust for drand48_data change. Compute a here.
6778 * stdlib/srand48_r.c: Likewise.
6779 * stdlib/drand48.c: Adjust for drand48_data change.
6780 * stdlib/lrand48.c: Likewise.
6781 * stdlib/mrand48.c: Likewise.
6782 * stdlib/seek48.c: Likewise.
6783 * stdlib/drand48_r.c: Likewise.
6784 * stdlib/lrand48_r.c: Likewise.
6785 * stdlib/mrand48_r.c: Likewise.
6786 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
6788 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
6789 * stdlib/jrand48_r.c: Likewise.
6791 * po/sv.po: Update from translation team.
6793 2001-01-21 Andreas Jaeger <aj@suse.de>
6795 * stdio-common/vfprintf.c (vfprintf): Add casts.
6797 2001-01-20 Ulrich Drepper <drepper@redhat.com>
6799 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
6801 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
6803 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
6804 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
6805 * iconvdata/ibm932.c: New file.
6806 * iconvdata/ibm932.h: New file.
6807 * iconvdata/ibm943.c: New file.
6808 * iconvdata/ibm943.h: New file.
6809 Patches by Masahide Washizawa <washi@jp.ibm.com>.
6811 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
6812 preventing optimization from being done. Set the correct type bit
6813 in seen. Don't define and use _dl_base_addr unless
6814 NEED_DL_BASE_ADDR is defined.
6816 * io/ftw.c (ftw_dir): Add slash after directory name if there
6817 wasn't any. Reported by loris <loris@iol.it>.
6818 * io/Makefile (tests): Add bug-ftw2.
6819 * io/bug-ftw2.c: New file.
6821 2001-01-19 Ulrich Drepper <drepper@redhat.com>
6823 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
6824 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
6825 * stdlib/tst-rand48.c: New file.
6826 * stdlib/Makefile (tests): Add tst-rand48.
6828 * locale/newlocale.c (__newlocale): Fix test for setting all
6831 2001-01-19 Mark Kettenis <kettenis@gnu.org>
6833 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
6834 but change looking up the initial directory port in a similar way
6835 as done by _hurd_change_directory_port_from_name.
6836 * hurd/fchroot.c (fchroot): Likewise.
6838 2001-01-18 Ulrich Drepper <drepper@redhat.com>
6840 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
6841 defined don't look whether the AT_*ID values were set.
6842 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
6843 (_dl_show_auxv): Rewrite to avoid switch statement.
6844 * sysdeps/unix/sysv/linux/kernel-features.h: Define
6845 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
6846 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
6847 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
6849 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
6850 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6851 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6853 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
6855 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
6856 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
6858 * dlfcn/eval.c (__strtol_internal): Define here.
6859 (eval): Use __strtol_internal instead of strtol.
6861 * elf/elf.h: Add a few more EF_MIPS_* constants.
6863 2001-01-17 Ulrich Drepper <drepper@redhat.com>
6865 * manual/Makefile (chapters): Add debug.
6866 * manual/debug.texi: New file.
6867 * manual/examples/execinfo.c: New file.
6868 Patch by suckfish@ihug.co.nz.
6870 2001-01-17 Andreas Schwab <schwab@suse.de>
6872 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
6875 2001-01-17 Andreas Jaeger <aj@suse.de>
6877 * nscd/connections.c (nscd_run): Use proper format specifier.
6879 2001-01-16 Ulrich Drepper <drepper@redhat.com>
6881 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
6882 x86_platforms data into new file after prepending _dl_. Change
6884 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
6885 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
6886 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
6889 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
6891 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
6892 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
6893 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
6894 (_setjmp): Likewise.
6895 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
6896 * sysdeps/i386/bsd-setjmp.S: Real implementation.
6897 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
6898 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
6901 2001-01-16 Andreas Jaeger <aj@suse.de>
6903 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
6904 misapplied last patch.
6906 2001-01-15 Ulrich Drepper <drepper@redhat.com>
6908 * stdlib/random.c (__initstate): Clean up a cast.
6909 (__setstate): Likewise.
6911 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
6912 syscall handling. The generic Linux version should work.
6914 2001-01-15 Andreas Jaeger <aj@suse.de>
6916 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
6918 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
6920 2001-01-14 Jakub Jelinek <jakub@redhat.com>
6922 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
6923 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
6925 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
6926 If number is 0, list all.
6927 (services_keys): Likewise. Lookup aliases as well.
6928 (databases): New table.
6929 (build_doc): Prepare argp doc text with list of supported databases.
6930 (main): Change to table driven processing.
6932 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
6934 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
6937 2001-01-03 Jakub Jelinek <jakub@redhat.com>
6939 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
6940 encode value which does not fit in the 32bit type.
6942 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
6944 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
6945 Change type of CTX to (struct sigcontext *).
6946 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
6947 (GET_FRAME): Likewise.
6948 (GET_STACK): Likewise.
6949 (SIGCONTEXT): Likewise. Add 2nd arg _code.
6950 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
6952 2001-01-13 Ulrich Drepper <drepper@redhat.com>
6954 * manual/texinfo.tex: Update from upstream version.
6956 2001-01-13 Jakub Jelinek <jakub@redhat.com>
6958 * inet/ether_ntoh.c (lookup_function): Change arguments to match
6959 _nss_*_getntohost_r prototype.
6960 (ether_ntohost): Pass errno pointer to NSS function.
6962 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6964 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
6965 (MAP_LOCKED): New definition.
6966 (MAP_NORESERVE): New definition.
6968 2001-01-12 Ulrich Drepper <drepper@redhat.com>
6970 * assert/assert.h: Use static_cast instead of C-style cast for C++.
6971 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
6973 2001-01-12 Ben Collins <bcollins@debian.org>
6975 * sysdeps/generic/segfault.c (install_handler): Use access, not
6978 2001-01-12 Andreas Jaeger <aj@suse.de>
6980 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
6981 * posix/wordexp.c (do_parse_glob): Likewise.
6982 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6983 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
6984 * elf/dl-open.c (_dl_open): Likewise.
6985 * elf/dl-close.c (_dl_close): Likewise.
6986 * elf/dl-load.c (_dl_map_object): Likewise.
6987 * iconv/iconv_prog.c (process_fd): Likewise.
6988 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
6990 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
6991 of a zero-length array.
6993 2001-01-11 Jakub Jelinek <jakub@redhat.com>
6995 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
6996 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
6997 * stdlib/cxa_on_exit.c: Remove.
6998 * stdlib/Makefile: Revert last patch.
6999 * stdlib/Versions: Likewise.
7000 * include/stdlib.h: Likewise.
7001 * stdlib/exit.h: Revert last patch.
7002 (struct exit_function): Add second argument to cxa fn.
7003 * stdlib/exit.c: Revert last patch.
7004 (exit): Add hidden second argument.
7006 2001-01-11 H.J. Lu <hjl@gnu.org>
7008 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
7009 * elf/dl-open.c (_dl_open): Here.
7010 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
7012 (_dl_static_init): Initialize the variables every time when possible.
7013 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
7016 2001-01-11 Ulrich Drepper <drepper@redhat.com>
7018 * stdlib/Makefile (routines): Add cxa_on_exit.
7019 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
7020 * stdlib/cxa_on_exit.c: New file.
7021 * include/stdlib.h: Add prototype for __cxa_on_exit.
7022 * stdlib/exit.c: Handle ef_cxa2.
7023 * stdlib/exit.h (enum): Add ef_cxa2.
7024 (struct exit_function): Add cxa2.
7026 * Versions.def [ld]: Add GLIBC_2.2.1.
7028 2001-01-10 H.J. Lu <hjl@gnu.org>
7030 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
7031 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
7033 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
7034 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
7035 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
7036 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
7037 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
7039 2001-01-11 Ulrich Drepper <drepper@redhat.com>
7041 * libio/stdio.h: Remove definition of off_t.
7043 2001-01-11 Andreas Jaeger <aj@suse.de>
7045 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
7048 2001-01-10 Ulrich Drepper <drepper@redhat.com>
7050 * sunrpc/Makefile (distribute): Add errqueue.h.
7052 2001-01-10 H.J. Lu <hjl@gnu.org>
7054 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
7055 r9, r10 and r11 for language specific registers.
7057 2001-01-10 Jakub Jelinek <jakub@redhat.com>
7059 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
7061 (clntudp_call): Handle MSG_ERRQUEUE.
7062 * sysdeps/generic/errqueue.h: New file.
7063 * sysdeps/unix/sysv/linux/errqueue.h: New file.
7065 2001-01-10 H.J. Lu <hjl@gnu.org>
7067 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
7069 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
7071 * CONFORMANCE: Update.
7073 2001-01-09 Ulrich Drepper <drepper@redhat.com>
7075 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
7076 Minimal cleanups. Add assert to ensure memory handling is correct.
7078 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
7079 Reported by Ben Collins <bcollins@debian.org>.
7081 * time/strftime.c (my_strftime): Mark previous GNU extensions
7082 which are now in C99 as such.
7084 2001-01-08 Ulrich Drepper <drepper@redhat.com>
7086 * elf/rtld.c (process_envvars): Place output files for profiling
7087 in SUID binaries in /var/profile.
7089 * elf/dl-load.c (_dl_map_object): Don't look in cache for
7090 preloading in SUID binaries.
7092 * elf/dl-profile.c (_dl_start_profile): Open the output file with
7093 O_NOFOLLOW if possible.
7095 * include/stdlib.h: Add __posix_openpt declaration.
7096 * stdlib/stdlib.h: Add posix_openpt declaration.
7097 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
7098 * sysdeps/generic/getpt.c: Define posix_openpt.
7099 * sysdeps/unix/bsd/getpt.c: Likewise.
7100 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
7102 * time/Makefile (tests): Add tst-mktime.
7103 * time/tst-mktime.c: New file.
7105 * posix/tst-dir.c (main): One more mkdir() test.
7107 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
7108 Remove getpagesize syscall. We assume that the pagesize is always
7109 determined from the auxiliary vector.
7111 * intl/dcigettext.c: Fix a few warnings.
7112 Patch by Bruno Haible <haible@ilog.fr>.
7114 2001-01-08 Andreas Jaeger <aj@suse.de>
7116 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
7117 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
7119 2001-01-08 Ulrich Drepper <drepper@redhat.com>
7121 * sysdeps/generic/segfault.c (install_handler): Check output file
7124 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
7125 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
7127 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
7129 * malloc/memusage.c (me): Use access() to determine whether we
7130 should write the output file or not.
7132 * libio/bits/stdio.h (printf): Define macro to map printf call to
7133 fprintf which gcc can optimize.
7134 * stdio-common/printf.c: Undefine printf.
7136 2001-01-07 Ulrich Drepper <drepper@redhat.com>
7138 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
7139 patch. We must use unsigned int for l member of union.
7141 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
7142 _dl_aux_init for shared libraries.
7144 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
7145 * sysdeps/gnu/glob64.c: ...here. New file.
7147 2001-01-07 Ben Collins <bcollins@debian.org>
7149 * manual/examples/longopt.c: Make the "struct option" a little
7150 more like it should be, adding usage of required_argument,
7151 noargument and such, and also setting the options string right.
7153 * manual/sysinfo.texi (Load Average): New section, documents
7156 2001-01-06 Ulrich Drepper <drepper@redhat.com>
7158 * version.h (VERSION): Bump to 2.2.1.
7160 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
7161 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
7162 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
7163 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
7164 * Makefile (distribute): Add include/libc-internal.h.
7165 * libio/Makefile (distribute): Avoid overwriting.
7167 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
7168 buffer and table handling.
7170 2001-01-05 H.J. Lu <hjl@gnu.org>
7172 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
7173 vector checking to ...
7174 (_dl_aux_init): Here. New function. Defined only if
7175 HAVE_AUX_VECTOR is defined.
7177 * sysdeps/generic/libc-start.c (__libc_start_main): Call
7178 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
7180 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
7183 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
7184 (HAVE_AUX_VECTOR): Defined.
7185 (_dl_aux_init): Declared.
7187 2001-01-05 Ben Collins <bcollins@debian.org>
7189 * manual/string.texi (Finding Tokens in a String): Document XPG
7190 basename() and dirname(), as well as GNU basename().
7192 2001-01-05 Jakub Jelinek <jakub@redhat.com>
7194 * Makeconfig (preprocess-version): Replace -traditional with
7195 -x assembler-with-cpp.
7197 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
7199 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
7200 for GCC 2.97 or later.
7202 2001-01-05 Ben Collins <bcollins@debian.org>
7204 * manual/stdio.texi (getline): Clarify the return value in the
7205 case of EOF being reached before a newline.
7207 2001-01-04 Jakub Jelinek <jakub@redhat.com>
7209 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
7211 (pmap_set, pmap_unset): Check __get_myaddress return value.
7213 2001-01-05 Mark Kettenis <kettenis@gnu.org>
7215 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
7216 (struct ether_addr): Declare ether_addr_octet member as
7217 `u_int8_t'. Add __attribute__ ((__packed__)).
7219 2001-01-06 Mark Kettenis <kettenis@gnu.org>
7221 * sysdeps/mach/hurd/readdir64.c: New file.
7222 * sysdeps/mach/hurd/readdir64_r.c: New file.
7224 2001-01-07 Mark Kettenis <kettenis@gnu.org>
7226 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
7227 `struct statfs' and `struct statvfs' being identical.
7228 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
7230 2001-01-06 Mark Kettenis <kettenis@gnu.org>
7232 * sysdeps/mach/hurd/fstatfs64.c: New file.
7233 * sysdeps/mach/hurd/fstatvfs64.c: New file.
7234 * sysdeps/mach/hurd/statfs64.c: New file.
7235 * sysdeps/mach/hurd/statvfs64.c: New file.
7236 * sysdeps/mach/hurd/statfsconv.c: New file.
7237 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
7239 2001-01-06 Ulrich Drepper <drepper@redhat.com>
7241 * iconv/skeleton.c: Reset outbuf for next round of the loop.
7242 Reported by Owen Taylor <otaylor@redhat.com>.
7243 * iconv/Makefile (tests): Add tst-iconv3.
7244 * iconv/tst-iconv3.c: New file.
7246 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
7247 * iconvdata/ibm933.c: Likewise.
7248 * iconvdata/ibm935.c: Likewise.
7249 * iconvdata/ibm937.c: Likewise.
7250 * iconvdata/ibm939.c: Likewise.
7251 * iconvdata/ibm930.h: Adjust single byte table for optimization.
7252 * iconvdata/ibm933.h: Likewise.
7253 * iconvdata/ibm935.h: Likewise.
7254 * iconvdata/ibm939.h: Likewise.
7256 * iconvdata/testdata/IBM930: Add misssing SI.
7257 * iconvdata/testdata/IBM933: Likewise.
7258 * iconvdata/testdata/IBM935: Likewise.
7259 * iconvdata/testdata/IBM937: Likewise.
7260 * iconvdata/testdata/IBM939: Likewise.
7262 2001-01-06 Andreas Jaeger <aj@suse.de>
7264 * configure.in: Check for old add-ons that shouldn't be used with
7265 current glibc anymore.
7267 2001-01-06 Mark Kettenis <kettenis@gnu.org>
7269 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
7270 instead of -1 on failure. Don't forget to copy file name into
7271 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
7274 2001-01-06 Mark Kettenis <kettenis@gnu.org>
7276 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
7277 copy st_atime member.
7279 2001-01-05 Ulrich Drepper <drepper@redhat.com>
7281 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
7282 for searches from the root directory.
7283 Reported by loris <loris@iol.it> [PR libc/1991].
7284 * io/Makefile (tests): Add bug-ftw1.
7285 * io/bug-ftw1.c: New file.
7287 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
7288 if it is not available. Instead use it only if it is available.
7289 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
7291 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
7292 overflowing output buffer.
7293 (internal_ucs4_loop_unaligned): Likewise.
7294 (ucs4_internal_loop): Likewise.
7295 (ucs4_internal_loop_unaligned): Likewise.
7296 (internal_ucs4le_loop): Likewise.
7297 (internal_ucs4le_loop_unaligned): Likewise.
7298 (ucs4le_internal_loop): Likewise.
7299 (ucs4le_internal_loop_unaligned): Likewise.
7300 Reported by Owen Taylor <otaylor@redhat.com>.
7301 * iconv/Makefile (tests): Add tst-iconv2.
7302 * iconv/tst-iconv2.c: New file.
7304 2001-01-04 H.J. Lu <hjl@gnu.org>
7306 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
7307 (_dl_clktck): Declared.
7308 (non_dynamic_init): Take 3 arguments.
7309 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
7311 2001-01-01 Bruno Haible <haible@clisp.cons.org>
7313 Finish implementation of plural form handling.
7314 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
7315 'domainname'. Remove 'plindex' field. Add 'domain' and
7316 'translation_length' fields.
7317 (transcmp): Don't compare 'plindex' fields.
7318 (plural_lookup): New function.
7319 (DCIGETTEXT): Change cache handing in the plural case. Don't call
7320 plural_eval before the translation and its catalog file have been
7321 found. Remove plindex from cache key. Add 'translation_length' and
7322 'domain' to cache result.
7323 (_nl_find_msg): Remove index argument, return length of translation
7324 to the caller instead. Weaken comparison of string lengths, to account
7325 for plural entries. Call iconv() on the entire result string, not
7326 only on the portion needed so far.
7327 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
7329 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
7331 2001-01-04 Ulrich Drepper <drepper@redhat.com>
7333 * intl/plural.y (yylex): Minimal improvement in number scanner.
7335 2000-07-31 Bruno Haible <haible@clisp.cons.org>
7337 * intl/plural.y: Include config.h. Needed to define 'inline' away for
7338 C compilers that don't support it.
7339 (yylex): Don't use gcc specific case range syntax.
7340 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
7343 2000-10-12 Bruno Haible <haible@clisp.cons.org>
7345 * intl/finddomain.c: Remove unneeded includes.
7347 2000-10-12 Bruno Haible <haible@clisp.cons.org>
7349 * intl/localealias.c (memcpy): Return first argument, just like the
7350 real memcpy function does.
7351 * intl/bindtextdom.c (memcpy): Likewise.
7352 * intl/finddomain.c (memcpy): Likewise.
7353 * intl/l10nflist.c (memcpy): Likewise.
7354 * intl/textdomain.c (memcpy): Likewise.
7355 From Paul Eggert <eggert@twinsun.com>.
7357 2001-01-03 Jakub Jelinek <jakub@redhat.com>
7359 * resolv/resolv.h (struct __res_state): Add nsinit field.
7360 * resolv/res_send.c (res_nsend): Use it instead of nscount.
7361 * resolv/res_init.c (__res_vinit): Initialize it.
7362 (res_nclose): Clear it instead of nscount.
7364 2001-01-04 Ulrich Drepper <drepper@redhat.com>
7366 * malloc/mtrace.pl: Fix matching of addresses.
7367 Patch by Aharon Robbins <arnold@skeeve.com>.
7369 * Versions.def (ld): Add GLIBC_2.2.
7371 * catgets/gencat.c: Copyright 2001.
7372 * csu/version.c: Likewise.
7373 * debug/catchsegv.sh: Likewise.
7374 * debug/xtrace.sh: Likewise.
7375 * elf/ldconfig.c: Likewise.
7376 * elf/sprof.c: Likewise.
7377 * iconv/iconv_prog.c: Likewise.
7378 * locale/locale.c: Likewise.
7379 * locale/localedef.c: Likewise.
7380 * malloc/memusage.sh: Likewise.
7381 * malloc/mtrace.pl: Likewise.
7382 * nscd/nscd.c: Likewise.
7383 * posix/getconf.c: Likewise.
7385 2001-01-04 Mark Kettenis <kettenis@gnu.org>
7387 * include/stdio.h: Only provide __getwc_unlocked prototype if
7388 USE_IN_LIBIO is defined.
7390 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7392 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
7395 2001-01-03 Andreas Schwab <schwab@suse.de>
7397 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
7398 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
7400 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
7401 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
7403 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
7404 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
7407 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
7409 * sysdeps/generic/strtol_l.c: Likewise.
7410 * sysdeps/generic/strtoul_l.c: Likewise.
7411 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
7413 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
7414 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
7415 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
7416 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
7418 2001-01-04 Andreas Jaeger <aj@suse.de>
7420 * nss/nsswitch.c: Include files for missing prototypes, remove
7421 buggy declaration of prototypes.
7423 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7425 * resolv/Versions: Fix bracing.
7426 * sysdeps/powerpc/soft-fp/Versions: Likewise.
7427 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
7429 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7431 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
7433 2001-01-02 Ulrich Drepper <drepper@redhat.com>
7435 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
7436 Suggested by Minko Markov <mmarkov@home.com>.
7438 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7440 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
7441 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
7443 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
7445 2001-01-02 Ben Collins <bcollins@debian.org>
7447 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
7448 if TZ is not set and TZDEFAULT is not present.
7450 2001-01-01 Ben Collins <bcollins@debian.org>
7452 * string/strings.h: Make sure we declare our functions even if
7453 string.h is already included, based on whether or not __USE_BSD is
7456 2001-01-02 Ulrich Drepper <drepper@redhat.com>
7458 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
7459 other dlopen() and dlsym().
7460 Based on a patch by Ben Collins <bcollins@debian.org>.
7462 2001-01-02 Andreas Jaeger <aj@suse.de>
7464 * dlfcn/errmsg1.c (main): Call dlerror initially.
7465 Reported by Ben Collins <bcollins@debian.org>.
7467 2001-01-02 Ulrich Drepper <drepper@redhat.com>
7469 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
7470 value is ignored if the selected locale is the C locale.
7471 * intl/tst-gettext.c: Set locale for above change.
7472 * intl/tst-translit.c: Likewise.
7474 2001-01-02 Andreas Jaeger <aj@suse.de>
7476 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
7477 (_IO_switch_to_wget_mode): Likewise.
7478 (_IO_sputbackwc): Likewise.
7479 (_IO_sungetwc): Use wint_t for result.
7481 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
7483 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
7486 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
7487 to (int) to avoid warnings.
7488 * stdio-common/printf_fp.c (putc): Likewise.
7489 * stdio-common/printf_size.c (putc): Likewise.
7491 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
7494 2001-01-01 Andreas Jaeger <aj@suse.de>
7496 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
7498 2000-12-31 Andreas Jaeger <aj@suse.de>
7500 * include/libc-internal.h: Add prototype for __libc_freeres.
7502 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
7503 for prototypes, remove redundant prototypes.
7504 * gmon/gmon.c: Likewise.
7505 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
7506 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
7507 * malloc/mtrace.c: Likewise.
7509 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
7511 * elf/soinit.c: Likewise.
7512 * sysdeps/generic/prof-freq.c: Likewise.
7513 * sysdeps/mach/hurd/profil.c: Likewise.
7514 * debug/noophooks.c: Likewise.
7515 * debug/pcprofile.c: Likewise.
7516 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
7517 * sysdeps/generic/get_clockfreq.c: Likewise.
7518 * malloc/set-freeres.c: Likewise.
7520 * locale/localeinfo.h: Add internal prototypes.
7522 * elf/rtld.c (dl_main): Fix prototype.
7524 * iconvdata/tst-table-to.c (main): Use return instead of exit to
7527 * nis/rpcsvc/yp_prot.h: Remove __P.
7528 * nis/rpcsvc/ypupd.h: Likewise.
7529 * nis/rpcsvc/yp.h: Likewise.
7531 * sunrpc/rpc_main.c: Add noreturn attributes.
7532 * sunrpc/rpc_scan.h: Likewise.
7534 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
7536 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
7538 * sunrpc/proto.h: Add noreturn attributes to error and crash.
7540 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
7542 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
7544 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
7546 * include/rpc/rpc_msg.h: Add prototypes for some functions.
7547 * include/rpc/auth.h: Likewise.
7548 * include/rpc/auth_des.h: Likewise.
7549 * include/rpc/clnt.h: Likewise.
7550 * include/rpc/rpc.h: Likewise.
7551 * include/rpc/svc.h: Likewise.
7552 * include/rpc/svc_auth.h: Likewise.
7554 * include/rpc/des_crypt.h: New file.
7556 * malloc/memusagestat.c (main): Use return instead of exit to
7558 * io/pwd.c (main): Likewise.
7559 * iconvdata/tst-table-from.c (main): Likewise.
7560 * ctype/test_ctype.c (main): Likewise.
7561 * setjmp/tst-setjmp.c (main): Likewise.
7562 * signal/tst-signal.c (main): Likewise.
7563 * stdlib/tst-strtol.c (main): Likewise.
7564 * stdlib/tst-strtod.c (main): Likewise.
7565 * stdlib/tst-strtoll.c (main): Likewise.
7566 * stdlib/tst-xpg-basename.c (main): Likewise.
7567 * dirent/tst-seekdir.c (main): Likewise.
7568 * grp/testgrp.c (main): Likewise.
7569 * inet/test_ifindex.c (main): Likewise.
7570 * io/test-utime.c (main): Likewise.
7571 * posix/test-vfork.c (main): Likewise.
7572 * posix/testfnm.c (main): Likewise.
7573 * stdio-common/temptest.c (main): Likewise.
7574 * stdio-common/test_rdwr.c (main): Likewise.
7575 * stdio-common/tst-fileno.c (main): Likewise.
7576 * stdio-common/tst-sscanf.c (main): Likewise.
7577 * stdio-common/tstscanf.c (main): Likewise.
7578 * string/bug-strncat1.c (main): Likewise.
7579 * string/bug-strpbrk1.c (main): Likewise.
7580 * string/bug-strspn1.c (main): Likewise.
7581 * string/test-ffs.c (main): Likewise.
7582 * string/tst-inlcall.c (main): Likewise.
7583 * string/tst-svc.c (main): Likewise.
7584 * timezone/test-tz.c (main): Likewise.
7585 * wctype/test_wcfuncs.c (main): Likewise.
7586 * wctype/test_wctype.c (main): Likewise.
7588 * stdlib/tst-random.c: Add attribute noreturn to fail.
7590 2000-12-28 Wolfram Gloger <wg@malloc.de>
7592 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
7593 destination overlap. Assume dest is always below source if
7596 2000-12-30 Ulrich Drepper <drepper@redhat.com>
7598 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
7599 object was not yet initialized.
7601 2000-12-28 H.J. Lu <hjl@gnu.org>
7603 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
7604 is always consistent even if its dependency is failed.
7606 * elf/dl-open.c (_dl_open): Increment the open count before
7607 calling _dl_close () in case of failure.
7609 * elf/neededtest4.c: New file.
7610 * elf/neededobj5.c: New file.
7611 * elf/neededobj6.c: New file.
7613 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
7614 (tests): Add neededtest4.
7615 (modules-names): Add neededobj5 and neededobj6.
7616 ($(objpfx)neededobj6.so): New target.
7617 ($(objpfx)neededtest4): New target.
7618 ($(objpfx)neededtest4.out): New target.
7620 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
7622 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
7623 * stdlib/monetary.h: Add strfmon format attributes.
7625 2000-12-28 Roland McGrath <roland@frob.com>
7627 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
7628 __mempcpy does it for us.
7630 2000-12-28 Andreas Jaeger <aj@suse.de>
7632 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
7634 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
7637 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
7640 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
7643 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
7644 __chown_is_lchown and __real_chown.
7646 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
7649 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
7650 up GCC's warning about "deprecated use of label at end of compound
7652 * sunrpc/rpc_cout.c (emit_inline): Likewise.
7654 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
7656 Remove struct bb and __bb_head since those are declared by
7659 2000-12-22 Ben Collins <bcollins@debian.org>
7661 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
7663 * manual/argp.texi: Document argp_domain as part of struct argp.
7665 2000-12-28 Andreas Jaeger <aj@suse.de>
7667 * catgets/Makefile (generated): Add sample.SJIS.cat.
7669 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
7671 * elf/dl-minimal.c: Add prototypes.
7673 * include/locale.h: Add internal prototypes.
7674 * include/sys/gmon.h: Likewise.
7676 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
7678 2000-12-27 Ben Collins <bcollins@debian.org>
7680 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
7681 when reallocating the error strings.
7682 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
7684 2000-12-27 Ulrich Drepper <drepper@redhat.com>
7686 * dlfcn/Makefile (tests): Add errmsg1.
7687 (modules-names): Add errmsg1mod.
7688 Add rules to run errmsg1.
7689 * dlfcn/errmsg1.c: New file.
7690 * dlfcn/errmsg1mod.c: New file.
7692 * dlfcn/dlerror.c (dlerror): Always create output string which
7693 includes object file name.
7695 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
7696 if we would go through it only once.
7697 Patch by Rick Gorton <rick.gorton@api-networks.com>.
7699 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
7700 Patch by Richard Henderson <rth@redhat.com>.
7702 2000-12-27 Jakub Jelinek <jakub@redhat.com>
7704 * malloc/malloc.c (memmove): Add prototypes.
7705 (MALLOC_MEMMOVE): Define.
7706 (chunk_realloc): Use it instead of MALLOC_COPY if source and
7707 destination might overlap.
7709 2000-12-27 Andreas Jaeger <aj@suse.de>
7711 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
7713 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7714 * locale/programs/locale.c (show_locale_vars): Likewise.
7715 (show_info): Likewise.
7716 * locale/programs/ld-collate.c (collate_output): Likewise.
7717 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
7718 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7719 * stdlib/rpmatch.c (rpmatch): Likewise.
7721 * setjmp/tst-setjmp.c: Make local functions static.
7722 * setjmp/jmpbug.c: Likewise.
7723 * signal/tst-signal.c: Likewise.
7724 * stdio-common/tfformat.c: Likewise.
7725 * string/tst-svc.c: Likewise.
7726 * time/clocktest.c: Likewise.
7727 * time/tst-getdate.c: Likewise.
7728 * dirent/list.c: Likewise.
7729 * dirent/opendir-tst1.c: Likewise.
7730 * posix/runtests.c: Likewise.
7731 * posix/tst-getaddrinfo.c: Likewise.
7732 * posix/tst-chmod.c: Likewise.
7733 * posix/wordexp-test.c: Likewise.
7734 * misc/tst-efgcvt.c: Likewise.
7735 * timezone/tst-timezone.c: Likewise.
7736 * rt/tst-clock.c: Likewise.
7737 * rt/tst-shm.c: Likewise.
7738 * rt/tst-aio2.c: Likewise.
7739 * rt/tst-aio3.c: Likewise.
7740 * rt/tst-aio4.c: Likewise.
7741 * rt/tst-aio5.c: Likewise.
7743 * dlfcn/failtest.c: Add prototype for foo.
7745 * dlfcn/glrefmain.c: Add prototype for do_test.
7747 * dlfcn/tst-dladdr.c: Add prototype for do_test.
7749 * string/test-ffs.c (main): Add prototype for nested function.
7751 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
7753 * nss/XXX-lookup.c: Add prototype to shut up GCC.
7755 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
7756 setetherent prototype.
7757 Add internal interfaces.
7759 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
7760 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
7762 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
7764 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
7766 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
7767 prototypes, remove struct etherent since it's declared in ether.h.
7768 Fix ntohost declaration.
7770 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
7772 * include/getopt.h: Add internal interfaces.
7773 * include/termios.h: Likewise.
7774 * include/resolv.h: Likewise.
7775 * include/netdb.h: Likewise.
7776 * include/grp.h: Likewise.
7777 * include/pwd.h: Likewise.
7778 * include/shadow.h: Likewise.
7779 * include/rpc/netdb.h: Likewise.
7780 * include/setjmp.h: Likewise.
7782 * include/stdio.h: Add prototypes for compatibility functions.
7783 * include/grp.h: Likewise.
7784 * include/pwd.h: Likewise.
7785 * include/shadow.h: Likewise.
7787 * include/fenv.h: Define internal interfaces.
7789 2000-12-27 Ulrich Drepper <drepper@redhat.com>
7791 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
7792 argument case separately.
7793 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
7795 2000-12-27 Andreas Jaeger <aj@suse.de>
7797 * include/sys/wait.h: Add some prototypes.
7798 * Rules (dummy.c): Create also prototype to shut up GCC.
7800 2000-12-27 Andreas Jaeger <aj@suse.de>
7802 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
7803 it's not needed at the moment.
7804 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
7805 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
7807 2000-12-26 Andreas Jaeger <aj@suse.de>
7809 * libio/getc_u.c: Include stdio.h via system path to get internal
7811 * libio/getwc_u.c: Likewise.
7813 * stdlib/strfmon.c: Fix prototype of __printf_fp.
7815 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
7816 __printf_fp prototypes to ...
7817 * include/printf.h: ...here.
7819 * include/stdio.h: Add some internal prototypes to shut up GCC.
7820 * include/stdlib.h: Likewise.
7822 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
7825 * include/signal.h: Add prototypes for internal sigpause
7828 2000-12-26 Ulrich Drepper <drepper@redhat.com>
7830 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
7831 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
7833 * string/Makefile (tests): Add tst-bswap.
7834 * string/tst-bswap.c: New file.
7836 2000-12-11 Bruno Haible <haible@clisp.cons.org>
7838 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
7840 2000-12-26 Ulrich Drepper <drepper@redhat.com>
7842 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
7843 Patch by Ed Connell <Ed.Connell@sas.com>.
7845 2000-12-24 Ulrich Drepper <drepper@redhat.com>
7847 * locale/iso-639.def: Correct one entry. Add two missing entries.
7849 * locale/iso-4217.def: Change entry for Eritrea.
7850 Reported by Daniel Yacob <yacob@geez.org>.
7852 2000-12-23 Ben Collins <bcollins@debian.org>
7854 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
7857 * manual/stdio.texi (Dynamic Output): Document the return value of
7858 asprintf. Also make the asprintf/snprintf examples a little
7859 better (check for some error returns).
7861 2000-12-22 Andreas Jaeger <aj@suse.de>
7863 * include/stdio.h: Add __ftrylockfile prototype.
7865 2000-12-21 H.J. Lu <hjl@gnu.org>
7867 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
7868 Make sign_exponent element signed.
7870 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
7873 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
7875 2000-12-21 Andreas Jaeger <aj@suse.de>
7877 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
7878 * inet/ether_hton.c: Likewise
7879 * inet/ether_ntoh.c: Likewise.
7881 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
7882 declaration to match prototype.
7884 * include/netinet/ether.h (struct etherent): Declare here so that
7885 all implementations use the same struct.
7887 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
7889 (struct ether): Removed.
7890 Use struct etherent instead of ether everywhere.
7892 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
7894 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
7896 * sunrpc/publickey.c: Include auth_des.h for prototypes.
7898 2000-12-20 Ulrich Drepper <drepper@redhat.com>
7900 * math/test-misc.c: Add more tests for nextafter functions.
7902 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
7903 normal correctly. Correct test for sign.
7904 Based on a patch by HJ Lu.
7906 2000-12-19 Ulrich Drepper <drepper@redhat.com>
7908 * Makeconfig (preprocess-version): Add -traditional to gcc call.
7911 2000-12-19 Andreas Jaeger <aj@suse.de>
7913 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
7915 * nis/nis_intern.h: Add prototype for __do_niscall3.
7917 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
7920 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
7922 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7924 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
7926 2000-12-18 Ulrich Drepper <drepper@redhat.com>
7928 * math/test-misc.c: Add more tests for nextafter.
7929 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
7930 * sysdeps/ieee754/ldbl-96/math_ldbl.h
7931 (ieee_long_double_shape_type): Make sign_exponent element signed.
7933 * manual/message.texi: Add Estonian to plural overview list.
7934 Correct rule for Slavic languages.
7935 Patch by Stanislav Brabec <utx@penguin.cz>.
7937 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
7939 2000-12-18 Andreas Jaeger <aj@suse.de>
7941 * test-skeleton.c: Use temp_name_list instead of name_list to
7942 avoid collision with name_list from inet/netgroup.h.
7944 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
7946 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
7947 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
7948 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7949 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
7951 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
7952 declaration to match prototype.
7953 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
7954 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
7955 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
7957 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
7958 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
7959 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
7960 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
7961 (_nss_nis_getservbyport_r): Likewise.
7962 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
7963 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
7964 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
7965 (_nss_nis_setnetent): Likewise
7966 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7967 (_nss_nis_endnetgrent): Likewise.
7968 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
7970 (_nss_nisplus_setnetgrent): Likewise.
7971 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
7972 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
7973 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
7974 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
7976 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
7978 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
7980 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
7982 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
7983 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
7984 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
7985 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7986 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
7987 (_nss_dns_getnetbyaddr_r): Likewise.
7989 2000-12-17 Andreas Jaeger <aj@suse.de>
7991 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
7994 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
7995 unused attribute to shut up gcc warnings.
7997 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
7998 * sysdeps/generic/k_tanl.c: Likewise.
7999 * sysdeps/generic/k_cosl.c: Likewise.
8000 * sysdeps/generic/e_j0l.c: Likewise.
8001 * sysdeps/generic/e_j1l.c: Likewise.
8002 * sysdeps/generic/e_jnl.c: Likewise.
8003 * sysdeps/generic/e_lgammal_r.c: Likewise.
8005 * elf/vismain.c: Move prototypes for functions in vismod*.c to
8007 * elf/vismod.h: New file.
8008 * elf/Makefile (distribute): Add vismod.h.
8009 * elf/vismod1.c: Include vismod.h.
8010 * elf/vismod2.c: Likewise.
8011 * elf/vismod3.c: Likewise.
8013 * elf/constload3.c: Add prototype declarations to shut up gcc.
8014 * elf/failobj.c: Likewise.
8015 * elf/nodelmod3.c: Likewise.
8016 * elf/filtmod1.c: Likewise.
8017 * elf/filtmod2.c: Likewise.
8018 * elf/reldepmod1.c: Likewise.
8019 * elf/reldepmod2.c: Likewise.
8020 * elf/reldepmod3.c: Likewise.
8021 * elf/reldepmod4.c: Likewise.
8022 * elf/unload2dep.c: Likewise.
8023 * elf/unload2mod.c: Likewise.
8024 * elf/ltglobmod1.c: Likewise.
8025 * elf/pathoptobj.c: Likewise.
8026 * elf/neededobj1.c: Likewise.
8027 * elf/neededobj2.c: Likewise.
8028 * elf/neededobj3.c: Likewise.
8029 * elf/neededobj4.c: Likewise.
8030 * elf/nextmod1.c: Likewise.
8031 * elf/nextmod2.c: Likewise.
8033 * locale/programs/ld-collate.c (collate_finish): Don't use labels
8034 at end of compound statement.
8035 * locale/programs/locale.c (show_info): Likewise.
8036 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
8038 2000-12-16 Jakub Jelinek <jakub@redhat.com>
8040 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
8041 with a pointer not returned by obstack_ functions.
8043 2000-12-16 Ulrich Drepper <drepper@redhat.com>
8045 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
8047 (struct stat64): Likewise.
8048 Reported by Michael Keezer <mkeezer@redhat.com>.
8050 * timezone/asia: Update from tzdata2000h.
8051 * timezone/australasia: Likewise.
8052 * timezone/backward: Likewise.
8053 * timezone/europe: Likewise.
8054 * timezone/northamerica: Likewise.
8055 * timezone/southamerica: Likewise.
8056 * timezone/zone.tab: Likewise.
8058 2000-12-14 Jakub Jelinek <jakub@redhat.com>
8060 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
8061 and dir.stream is NULL, only free dir.content.
8062 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
8063 * io/ftwtest-sh: Test with --early-exit.
8065 2000-12-13 Jakub Jelinek <jakub@redhat.com>
8067 * misc/efgcvt.c (FCVT_MAXDIG): Define.
8068 (FCVT_BUFPTR): New variable.
8069 (fcvt): If fcvt_r returns -1 on the static short buffer,
8070 try to malloc a sufficiently large one and retry.
8071 (free_mem): New function.
8072 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
8073 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
8075 2000-12-15 Ulrich Drepper <drepper@redhat.com>
8077 * misc/dirname.c (dirname): Fix search for second to last slash.
8079 2000-12-13 Andreas Jaeger <aj@suse.de>
8081 * misc/tst-dirname.c (main): Fix typo in test to really use
8082 the examples from Unix98.
8083 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8085 2000-12-09 H.J. Lu <hjl@gnu.org>
8087 * sysdeps/ia64/fpu/s_fabs.S: New file.
8088 * sysdeps/ia64/fpu/s_fabsf.S: New file.
8089 * sysdeps/ia64/fpu/s_fabsl.S: New file.
8091 2000-12-15 Andreas Jaeger <aj@suse.de>
8093 * stdio-common/scanf9.c (main): Reformat and change to avoid
8096 * stdio-common/tstdiomisc.c: Make local functions static.
8097 * stdio-common/tst-printf.c: Likewise.
8099 * elf/constload2.c: Add prototype declarations to shut up gcc.
8100 * elf/dep1.c: Likewise.
8101 * elf/dep2.c: Likewise.
8102 * elf/dep3.c: Likewise.
8103 * elf/dep4.c: Likewise.
8104 * elf/ltglobmod2.c: Likewise.
8106 * libio/fmemopen.c: Make local functions static.
8108 * elf/Makefile (distribute): Added testobj.h.
8110 * elf/testobj.h: New file.
8112 * elf/testobj1.c: Include testobj.h and move prototype
8113 declarations to testobj.h.
8114 * elf/testobj2.c: Likewise.
8115 * elf/testobj3.c: Likewise.
8116 * elf/testobj4.c: Likewise.
8117 * elf/testobj5.c: Likewise.
8118 * elf/testobj6.c: Likewise.
8119 * elf/testobj1_1.c: Likewise.
8120 * elf/preloadtest.c: Likewise.
8122 2000-12-15 Ben Collins <bcollins@debian.org>
8124 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
8125 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
8127 2000-12-14 H.J. Lu <hjl@gnu.org>
8129 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
8130 field in a float is 8 bits, not 11 bits.
8132 2000-12-13 Jakub Jelinek <jakub@redhat.com>
8134 * math/test-misc.c (main): Adjust m for IEEE quad long double.
8136 2000-12-13 Andreas Jaeger <aj@suse.de>
8138 * manual/message.texi (Using gettextized software): Fix typo.
8140 * manual/charset.texi (Converting a Character): Fix mbstouwcs
8142 Patch by Martin Buchholz <martin@xemacs.org>.
8144 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
8145 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8147 2000-12-11 Andreas Jaeger <aj@suse.de>
8149 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
8150 kernel_sigset_t and use it.
8151 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
8153 2000-12-10 Richard Henderson <rth@redhat.com>
8155 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
8156 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
8157 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
8159 2000-12-10 Jakub Jelinek <jakub@redhat.com>
8161 * sysdeps/alpha/htonl.S: Fix a typo.
8163 2000-12-10 Jakub Jelinek <jakub@redhat.com>
8165 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
8167 2000-12-10 Andreas Jaeger <aj@suse.de>
8169 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
8170 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
8171 Drepper <drepper@redhat.com>.
8173 2000-12-09 Andreas Jaeger <aj@suse.de>
8175 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
8177 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
8179 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
8181 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
8184 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
8187 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
8188 * nscd/connections.c (handle_request): Likewise.
8189 * nscd/pwdcache.c (addpwbyname): Likewise.
8190 * nscd/grpcache.c (addgrbyname): Likewise.
8192 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
8194 2000-12-09 Ulrich Drepper <drepper@redhat.com>
8196 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
8198 * Makeconfig (default_cflags): Make -O2 the default for stable
8201 2000-12-08 H.J. Lu <hjl@gnu.org>
8203 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
8204 * sysdeps/ia64/fpu/s_isinf.S: This.
8205 Add a .pred.rel.mutex note to avoid false report.
8207 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
8208 * sysdeps/ia64/fpu/s_isnan.S: This.
8210 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
8211 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
8212 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
8213 * sysdeps/ia64/fpu/s_isinff.S: New file.
8214 * sysdeps/ia64/fpu/s_isinfl.S: New file.
8215 * sysdeps/ia64/fpu/s_isnanf.S: New file.
8216 * sysdeps/ia64/fpu/s_isnanl.S: New file.
8217 * sysdeps/ia64/fpu/s_finite.S: New file.
8218 * sysdeps/ia64/fpu/s_finitef.S: New file.
8219 * sysdeps/ia64/fpu/s_finitel.S: New file.
8220 * sysdeps/ia64/fpu/s_signbit.S: New file.
8221 * sysdeps/ia64/fpu/s_signbitf.S: New file.
8222 * sysdeps/ia64/fpu/s_signbitl.S: New file.
8223 * sysdeps/ia64/fpu/s_copysign.S: New file.
8224 * sysdeps/ia64/fpu/s_copysignf.S: New file.
8225 * sysdeps/ia64/fpu/s_copysignl.S: New file.
8227 2000-12-08 Ulrich Drepper <drepper@redhat.com>
8229 * math/libm-test.inc (main): Fix typos in messages.
8231 * string/stratcliff.c: Add test for rawmemchr.
8233 2000-12-08 Jakub Jelinek <jakub@redhat.com>
8235 * elf/dl-open.c (_dl_open): If objname points right after errstring,
8236 allocate it together with errstring using alloca.
8237 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
8238 to "", because it might point to local stack.
8240 2000-12-05 H.J. Lu <hjl@gnu.org>
8242 * nss/Makefile (routines): Add getnssent and getnssent_r.
8243 * nss/nsswitch.h (__nss_setent): New internal NSS function.
8244 (__nss_endent): Likewise.
8245 (__nss_getent_r): Likewise.
8246 (__nss_getent): Likewise.
8247 * nss/getnssent_r.c: New file.
8248 * nss/getnssent.c: New file.
8249 * nss/getXXent.c (H_ERRNO_VAR): Updated.
8250 (GETFUNC_NAME): Updated to call __nss_getent ().
8251 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
8252 (STAYOPEN_TMPVAR): Updated.
8253 (STAYOPEN_VAR): Updated.
8254 (SETFUNC_NAME): Updated to call __nss_setent ().
8255 (ENDFUNC_NAME): Updated to call __nss_endent ().
8256 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
8258 2000-12-08 Andreas Jaeger <aj@suse.de>
8260 * nscd/dbg_log.h (dbg_log): Correct attribute.
8262 2000-12-08 Jakub Jelinek <jakub@redhat.com>
8264 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
8265 cp + len. Compute where from dirname.
8266 Reported by <jreiser@BitWagon.com>.
8268 2000-12-08 Richard Henderson <rth@twiddle.net>
8270 * sysdeps/alpha/_mcount.S: Fix typo.
8271 * sysdeps/alpha/strncpy.S: Likewise.
8273 * sysdeps/alpha/alphaev6/Implies: New file.
8274 * sysdeps/alpha/alphaev67/Implies: New file.
8275 * sysdeps/alpha/alphaev67/ffs.S: New file.
8276 * sysdeps/alpha/alphaev67/ffsll.S: New file.
8277 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
8278 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
8279 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
8280 * sysdeps/alpha/rawmemchr.S: New file.
8281 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
8282 * sysdeps/alpha/strcpy.S: Likewise.
8285 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
8287 From rick.gorton@alpha-processor.com:
8288 * sysdeps/alpha/alphaev6/memchr.S: New file.
8289 * sysdeps/alpha/alphaev6/memcpy.S: New file.
8290 * sysdeps/alpha/alphaev6/memset.S: New file.
8291 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
8292 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
8293 * sysdeps/alpha/alphaev67/strcat.S: New file.
8294 * sysdeps/alpha/alphaev67/strchr.S: New file.
8295 * sysdeps/alpha/alphaev67/strlen.S: New file.
8296 * sysdeps/alpha/alphaev67/strncat.S: New file.
8297 * sysdeps/alpha/htonl.S: Use a shorter sequence.
8299 2000-12-08 Jakub Jelinek <jakub@redhat.com>
8301 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
8302 Reported by <pspencer@fields.utoronto.ca>.
8304 2000-12-07 Jes Sorensen <jes@linuxcare.com>
8306 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
8307 Pointed out by Hans Boehm.
8309 2000-12-07 H.J. Lu <hjl@gnu.org>
8311 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
8313 2000-12-07 Andreas Jaeger <aj@suse.de>
8315 * misc/error.c: Add format attributes for __error and __error_at_line.
8317 * nscd/dbg_log.h: Add format attribute.
8319 2000-12-08 Ulrich Drepper <drepper@redhat.com>
8321 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
8322 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
8324 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
8326 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
8328 2000-12-06 Ulrich Drepper <drepper@redhat.com>
8330 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
8331 (sysdep_routines): Add uitrunc.
8332 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
8333 Patches by Michael Keezer <mkeezer@redhat.com>.
8335 2000-12-06 Roland McGrath <roland@frob.com>
8337 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
8338 argument data, since it will be used to copy out too (for INOUT).
8339 Reported by Marcus Brinkmann <marcus@gnu.org>.
8341 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
8342 (__ioctl): Use uintptr_t instead of unsigned long int.
8344 2000-12-06 Jim Wilson <wilson@redhat.com>
8346 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
8348 2000-12-06 Ulrich Drepper <drepper@redhat.com>
8350 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
8351 x.5 rounding correctly.
8353 2000-12-06 Mark Kettenis <kettenis@gnu.org>
8355 * stdio-common/perror.c (perror): Conditionalize code dealing with
8356 wide-oriented streams on USE_IN_LIBIO.
8358 2000-12-06 Mark Kettenis <kettenis@gnu.org>
8360 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
8361 as internal_function.
8363 2000-12-05 Ulrich Drepper <drepper@redhat.com>
8365 * sysdeps/alpha/elf/start.S (__data_start): Define.
8367 2000-12-05 H.J. Lu <hjl@gnu.org>
8369 * nss/getXXent_r.c (setup): Change the return type to int.
8371 2000-12-05 Ulrich Drepper <drepper@redhat.com>
8373 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
8374 (sysdep_routines): Add restf and savef.
8375 * sysdeps/unix/sysv/aix/restf.c: New file.
8376 * sysdeps/unix/sysv/aix/savef.c: New file.
8377 Patches by Michael Keezer <mkeezer@redhat.com>.
8379 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
8380 if O_DIRECTORY is not defined.
8381 Patch by Michael Keezer <mkeezer@redhat.com>.
8383 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
8384 Patch by Michael Keezer <mkeezer@redhat.com>.
8386 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
8387 than 4 bytes in escape sequence.
8388 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8390 2000-12-05 Andreas Jaeger <aj@suse.de>
8392 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
8395 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
8397 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
8399 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
8400 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8402 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
8404 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
8405 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
8407 * sysdeps/generic/dl-cache.c: Remove declaration of
8408 _dl_sysdep_read_whole_file.
8410 * elf/dl-load.c (_dl_map_object): Remove declaration of
8411 _dl_load_cache_lookup.
8413 * sysdeps/generic/ldsodefs.h: Add declarations of
8414 _dl_load_cache_lookup, _dl_unload_cache,
8415 _dl_sysdep_read_whole_file, _dl_sysdep_start and
8416 _dl_sysdep_start_cleanup.
8418 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
8421 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
8422 * sysdeps/generic/dl-environ.c: Likewise.
8424 * stdio-common/printf_fp.c: Include <gmp.h> instead of
8426 * math/atest-exp.c: Likewise.
8427 * math/atest-exp2.c: Likewise.
8428 * math/atest-sincos.c: Likewise.
8429 * stdio-common/_itoa.c: Likewise.
8430 * stdio-common/_itowa.c: Likewise.
8432 * include/gmp.h: New file with internal prototypes.
8434 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
8436 * include/setjmp.h: ...here.
8438 * locale/Makefile (routines): Remove codeset_name since it's not
8441 * locale/codeset_name.c: Removed.
8443 2000-12-05 Ulrich Drepper <drepper@redhat.com>
8445 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
8447 2000-12-05 Andreas Jaeger <aj@suse.de>
8449 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
8451 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
8453 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
8456 2000-12-05 Andreas Jaeger <aj@suse.de>
8458 * nss/test-netdb.c: Mark local functions as static to avoid
8460 (main): Use return to silence warning.
8462 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
8464 * stdio-common/test-popen.c: Mark local functions as static to
8466 (main): Use return to silence warning.
8468 * stdlib/testsort.c (compare): Mark as static to avoid warning.
8470 * assert/test-assert.c: Mark local functions as static to avoid
8472 * assert/test-assert-perr.c: Likewise.
8474 * math/libm-test.inc (main): Use return to silence warnings.
8476 2000-12-04 Ulrich Drepper <drepper@redhat.com>
8478 * math/fenv.h: Fix typo in comment.
8480 * math/test-misc.c (main): Add a few more over and underflow tests
8483 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
8484 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8485 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8486 * math/w_scalb.c: Don't use matherr except in SVID mode.
8487 * math/w_scalbf.c: Likewise.
8488 * math/w_scalbl.c: Likewise.
8489 * math/test-misc.c: Add test for NaN and scalbl.
8490 Reported by Fred J. Tydeman <tydeman@tybor.com>.
8492 2000-12-04 Ulrich Drepper <drepper@redhat.com>
8494 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
8495 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
8496 * include/libc-symbols.h (strong_alias): Define special version
8497 for HAVE_ASM_GLOBAL_DOT_NAME.
8498 (weak_alias): Likewise.
8499 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
8500 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
8501 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
8502 getutxline, pututxline, and utmpxname.
8503 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
8504 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
8505 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
8506 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
8507 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
8508 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
8509 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
8510 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
8511 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
8512 Patches by Michael Keezer <mkeezer@redhat.com>.
8514 2000-12-04 H.J. Lu <hjl@gnu.org>
8516 * configure.in: Change --with-oldest-abi=ABI to
8517 --enable-oldest-abi=ABI.
8519 2000-12-02 Bruno Haible <haible@clisp.cons.org>
8521 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
8522 fwprintf instead of fprintf.
8524 2000-12-04 Ulrich Drepper <drepper@redhat.com>
8526 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
8527 DECIMAL_DIG definitions.
8528 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
8529 * sysdeps/generic/bits/mathdef.h: Likewise
8530 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
8531 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
8532 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
8533 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
8534 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
8535 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
8537 2000-12-03 Ulrich Drepper <drepper@redhat.com>
8539 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
8541 * math/atest-exp.c: Mark local functions as static to avoid warnings.
8542 * math/atest-exp2.c: Likewise.
8543 * math/atest-sincos.c: Likewise.
8545 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
8546 Reported by Fred J. Tydeman <tydeman@tybor.com>.
8548 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
8549 the handling of denormalized numbers.
8551 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
8553 * sysdeps/i386/fpu/fpclassifyl.c: New file.
8555 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
8556 pseudo denormal representation of LDBL_MIN.
8558 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
8559 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
8561 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
8562 * iconvdata/jis0208.c: Likewise.
8563 * iconvdata/jis0212.c: Likewise.
8564 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8566 * math/test-misc.c (main): More tests for frexp and some for
8567 fpclassify and isnormal.
8569 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
8571 Reported by Fred J. Tydeman <tydeman@tybor.com>.
8573 * math/test-misc.c (main): Add tests for frexp.
8574 Reported by Fred J. Tydeman <tydeman@tybor.com>.
8575 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
8577 2000-12-02 H.J. Lu <hjl@gnu.org>
8579 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
8582 2000-12-02 Ulrich Drepper <drepper@redhat.com>
8584 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
8585 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8586 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8588 * sysdeps/generic/glob.c: Adjust types of several variables to
8591 2000-12-01 Ulrich Drepper <drepper@redhat.com>
8593 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
8595 2000-11-30 Roland McGrath <roland@frob.com>
8597 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
8598 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
8599 allow multiple instances using the same function name in one file.
8601 2000-12-01 Ulrich Drepper <drepper@redhat.com>
8603 * configure.in: Correct test for pserver CVS access.
8605 2000-11-28 H.J. Lu <hjl@gnu.org>
8607 * libio/libio.h: Remove extra "#if ... #endif".
8609 2000-11-29 H.J. Lu <hjl@gnu.org>
8611 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
8613 2000-12-01 H.J. Lu <hjl@gnu.org>
8615 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
8616 * nss/getXXent_r.c: Likewise.
8617 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8619 2000-11-30 H.J. Lu <hjl@gnu.org>
8621 * scripts/abi-versions.awk (oldest_abi): New variable.
8622 Handle the oldest ABI supported.
8624 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
8625 for scripts/abi-versions.awk.
8627 * configure.in: Add --with-oldest-abi=ABI.
8628 * configure: Rebuild.
8630 * config.make.in (oldest-abi): New.
8632 * config.h.in (GLIBC_OLDEST_ABI): New.
8634 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
8636 2000-11-30 Jakub Jelinek <jakub@redhat.com>
8638 * locale/setlocale.c (setname): Free for all categories, not just
8640 (setlocale): Store a copy of string passed by user, not the string
8643 2000-11-30 Roland McGrath <roland@frob.com>
8645 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
8646 rather than _hurd_fd_subinit, so it happens after it's safe to use
8647 libc facilities like malloc.
8649 2000-11-28 Andreas Jaeger <aj@suse.de>
8651 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
8652 declaration, adjust declaration of __syscall_getdents to match
8655 2000-11-29 H.J. Lu <hjl@gnu.org>
8657 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
8659 2000-11-29 Andreas Jaeger <aj@suse.de>
8661 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
8663 2000-11-28 Ulrich Drepper <drepper@redhat.com>
8665 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
8666 * dlfcn/defaultmod2.c: Likewise.
8667 * dlfcn/dlopen.c: Likewise.
8668 * dlfcn/dlopenold.c: Likewise.
8669 * dlfcn/failtestmod.c: Likewise.
8670 * dlfcn/glreflib1.c: Likewise.
8671 * dlfcn/glreflib2.c: Likewise.
8672 * dlfcn/eval.c: Likewise. Add attributes.
8674 * ctype/ctype-extn.c: Define isblank and not __isblank.
8676 * time/strftime.c: Add const where necessary to avoid warnings.
8677 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
8679 2000-11-22 Paul Eggert <eggert@twinsun.com>
8681 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
8682 size of (size_t) -1; it's not portable.
8684 2000-11-28 Ulrich Drepper <drepper@redhat.com>
8686 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
8688 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8690 2000-11-14 Jes Sorensen <jes@linuxcare.com>
8692 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
8694 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
8695 _mcount is required by profiled binaries.
8697 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
8698 * sysdeps/ia64/machine-gmon.h: ...here.
8700 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
8702 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
8703 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
8705 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
8707 * iconvdata/ibm922.c: New file.
8708 * iconvdata/ibm922.h: New file.
8709 * iconvdata/ibm1124.c: New file.
8710 * iconvdata/ibm1124.h: New file.
8711 * iconvdata/ibm1129.c: New file.
8712 * iconvdata/ibm1129.h: New file.
8713 * iconvdata/testdata/IBM922: New file.
8714 * iconvdata/testdata/IBM922..UTF8: New file.
8715 * iconvdata/testdata/IBM1124: New file.
8716 * iconvdata/testdata/IBM1124..UTF8: New file.
8717 * iconvdata/testdata/IBM1129: New file.
8718 * iconvdata/testdata/IBM1129..UTF8: New file.
8720 2000-11-28 Ulrich Drepper <drepper@redhat.com>
8722 * catgets/gencat.c (normalize_line): Take extra parameter with escape
8723 character. Change callers.
8724 (open_conversion): Determine mapping of 0x5c as wchar_t value.
8725 * catgets/Makefile: Add rules to build and run test-gencat.
8726 * catgets/sample.SJIS: New file.
8727 * catgets/test-gencat.c: New file.
8728 * catgets/test-gencat.sh: New file.
8729 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8731 2000-11-28 Andreas Jaeger <aj@suse.de>
8733 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
8736 2000-11-28 Ulrich Drepper <drepper@redhat.com>
8738 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
8740 2000-11-28 Andreas Jaeger <aj@suse.de>
8742 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
8744 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
8747 2000-11-27 Ulrich Drepper <drepper@redhat.com>
8749 * misc/getusershell.c: Make strings in okshells array const.
8750 * misc/regexp.c: Add const to cast to avoid warnings.
8751 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
8752 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
8754 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
8756 * misc/error.c: Add prototypes for __error and __error_at_line.
8757 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
8758 statement to avoid warning.
8759 * test-skeleton.c: Mark timeout_handler with noreturn.
8760 * iconv/skeleton.c (get16u): Add const to cast.
8762 * iconvdata/gb18030.c: Likewise.
8763 * iconvdata/iso-2022-cn-ext.c: Likewise.
8764 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
8765 * iconvdata/big5.c: Likewise.
8766 * iconvdata/big5hkscs.c: Likewise.
8767 * iconvdata/iso_6937.c: Likewise.
8768 * iconvdata/iso_6937-2.c: Likewise.
8769 * iconvdata/t.61.c: Likewise.
8770 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
8771 * iconvdata/unicode.c: Likewise.
8772 * iconvdata/utf-16.c: Likewise.
8773 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
8774 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
8775 with little code shuffling.
8777 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
8778 the problems introduced when the user selects -O3.
8780 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
8781 * misc/sys/cdefs.h: Define __flexarr.
8782 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
8784 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
8785 * iconv/skeleton.c: Likewise.
8786 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
8787 * iconv/loop.c (get16): Add const to cast.
8790 2000-11-27 Andreas Jaeger <aj@suse.de>
8792 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
8794 * login/programs/utmpdump.c (print_entry): Likewise.
8796 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
8798 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
8799 in a single asm as they may be used to access other stored
8801 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8803 2000-11-27 Andreas Jaeger <aj@suse.de>
8805 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
8806 * rt/tst-aio64.c: Likewise.
8808 2000-11-27 Ulrich Drepper <drepper@redhat.com>
8810 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
8812 (libc.cat): Likewise.
8813 * catgets/gencat.c: Implement handling of message catalogs encoded
8814 with stateful character sets.
8815 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8817 2000-11-26 Ulrich Drepper <drepper@redhat.com>
8819 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
8821 * inet/getnameinfo.c: Adjust casts to avoid warnings.
8822 * inet/rcmd.c: Likewise.
8823 * inet/ruserpass.c: Likewise.
8824 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
8825 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8826 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
8827 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
8828 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
8829 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
8830 * include/aliases.h: Add prototypes for internal __getalias* functions.
8831 * include/netdb.h: Add prototypes for __old_gethostent_r,
8832 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
8833 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
8834 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
8835 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
8836 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
8837 __old_getrpcbynumber_r, __old_getrpcent_r.
8839 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
8840 __getrpcent_r prototypes.
8842 2000-11-25 Ulrich Drepper <drepper@redhat.com>
8844 * string/strcoll.c: Add casts to avoid warnings.
8845 * string/strnlen.c: Likewise.
8846 * string/strxfrm.c: Likewise.
8847 * sysdeps/generic/_strerror.c: Likewise.
8848 * sysdeps/generic/memrchr.c: Likewise.
8849 * sysdeps/generic/strcasestr.c: Likewise.
8850 * sysdeps/generic/strstr.c: Likewise.
8852 * locale/weight.h (findidx): Add const to cast to avoid warning.
8854 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
8855 * elf/loadtest.c: Likewise.
8856 * elf/multiload.c: Likewise.
8857 * elf/next.c: Likewise.
8858 * elf/nodelete.c: Likewise.
8859 * elf/noload.c: Likewise.
8860 * elf/order.c: Likewise.
8861 * elf/origtest.c: Likewise.
8862 * elf/preloadtest.c: Likewise.
8863 * elf/restest1.c: Likewise.
8865 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
8866 parameter of asm must be in %ecx.
8868 * string/tester.c: Mark test functions as static to avoid warnings.
8870 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
8871 preserve value over different gconv-modules files.
8873 2000-11-24 Ulrich Drepper <drepper@redhat.com>
8875 * locale/findlocale.c: Add casts to avoid warnings.
8876 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
8877 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
8879 * misc/tsearch.c (const_node): New type.
8880 (trecurse): Correct casts to avoid warnings.
8881 (__twalk): Likewise.
8882 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
8885 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
8887 * test-skeleton.c: Mark local functions as static to avoid warnings.
8889 2000-11-23 H.J. Lu <hjl@gnu.org>
8891 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
8892 support the background job.
8895 2000-11-24 Ulrich Drepper <drepper@redhat.com>
8897 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
8898 has same names but lower cost.
8900 2000-11-23 Jakub Jelinek <jakub@redhat.com>
8902 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
8903 which never occur during bootstrap.
8904 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8906 2000-11-23 Andreas Jaeger <aj@suse.de>
8908 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
8910 * nss/Versions: Remove _nss_files_getipnodebyname_r.
8912 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
8914 2000-11-18 Martin Buchholz <martin@xemacs.org>
8916 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
8919 2000-11-21 Alan Modra <alan@linuxcare.com.au>
8921 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
8923 * csu/abi-note.S: Correct comment for operating system number.
8925 2000-11-22 Ulrich Drepper <drepper@redhat.com>
8927 * Versions.def: Add GLIBC_2.2.1 for glibc.
8929 2000-11-22 Andreas Schwab <schwab@suse.de>
8931 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
8932 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
8934 2000-11-22 Ulrich Drepper <drepper@redhat.com>
8936 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
8937 absolute time for pthread_cond_timedwait call.
8938 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
8940 * rt/Makefile (tests): Add tst-aio6.
8941 * rt/tst-aio6.c: New file.
8943 2000-11-23 Andreas Jaeger <aj@suse.de>
8945 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
8947 2000-11-22 Andreas Jaeger <aj@suse.de>
8949 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
8951 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
8953 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
8955 2000-11-21 Andreas Schwab <schwab@suse.de>
8957 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
8958 * sysdeps/arm/setjmp.S: Likewise.
8959 * sysdeps/arm/fpu/setjmp.S: Likewise.
8960 * sysdeps/i386/setjmp.S: Likewise.
8961 * sysdeps/i386/elf/setjmp.S: Likewise.
8962 * sysdeps/s390/setjmp.S: Likewise.
8963 * sysdeps/s390/elf/setjmp.S: Likewise.
8964 * sysdeps/sh/sh3/setjmp.S: Likewise.
8965 * sysdeps/sh/sh4/setjmp.S: Likewise.
8966 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8967 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8968 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
8969 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
8971 2000-11-21 Andreas Jaeger <aj@suse.de>
8973 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
8974 NORETURN, fix parameter list.
8976 * string/bug-strncat1.c (main): Fix typo.
8977 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
8979 2000-11-20 Ulrich Drepper <drepper@redhat.com>
8981 * configure.in: Add --enable-all-warnings.
8982 * config.make.in (all-warnings): New variable.
8983 * Makeconfig (+gccwarn): Define with many more warnings if
8984 all-warnings is yes.
8986 2000-11-20 Jakub Jelinek <jakub@redhat.com>
8988 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
8989 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
8990 * malloc/tst-valloc.c (main): Cast valloc return value to long.
8991 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
8992 * math/test-fpucw.c (main): Use %lx in format string, cast
8993 control words to long.
8994 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
8995 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
8996 large that it is unsigned warning.
8998 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
8999 it to long on sparc64.
9001 2000-11-20 Andreas Jaeger <aj@suse.de>
9003 * nscd/nscd.h (termination_handler): Add noreturn attribute.
9004 (receiv_print_stats): Likewise.
9006 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
9008 2000-11-20 Ulrich Drepper <drepper@redhat.com>
9010 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
9012 * csu/gmon-start.c: Always have prototype for __gmon_start.
9013 * csu/version.c: Add prototypes for __libc_print_version and
9015 * iconv/gconv.c: Include gconv_int.h and gconv.h.
9016 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
9018 * iconv/gconv_builtin.h: Add ASCII module definitions.
9019 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
9020 (add_module): Add cast to avoid warning. Rework construction of
9021 strings for new module.
9022 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
9023 (derivation_compare): Likewise.
9024 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
9025 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
9026 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
9027 (struct gconv_alias): Remove const from fromname and toname.
9028 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
9030 (internal_ucs4_loop): Use correct const-ness.
9031 (ucs4_internal_loop): Likewise.
9032 (internal_ucs4le_loop): Likewise.
9033 (ucs4le_internal_loop_single): Likewise.
9034 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
9035 to_idx, to_tbl, winbuf, winbufend const. Change casts in
9036 assignments appropriately.
9037 (struct known_trans): Remove const from fname.
9038 (trans_compare): Make s1 and s2 const.
9039 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
9041 * iconv/skeleton.c: Remove cast in calls of loop functions.
9042 * iconvdata/gconv-modules: Remove US-ASCII definitions.
9043 * iconvdata/iso646.c: Remove US_ASCII support.
9044 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
9045 * include/unistd.h: Add __libc_check_standard_fds prototype.
9046 * string/bits/string2.h (__mempcpy_args): Add const to casts.
9047 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
9049 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
9050 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
9051 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
9053 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
9054 __libc_init_first and _dl_start.
9055 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
9056 (DCIGETTEXT): Make domaindata variable const.
9057 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
9060 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
9062 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
9064 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
9065 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
9068 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
9069 value defined in /usr/include/asm-mips/fcntl.h.
9071 2000-11-18 Ulrich Drepper <drepper@redhat.com>
9073 * stdio-common/Makefile (tests): Add test-vfprintf.
9074 (test-vfprintf-ENV): New variable.
9075 * stdio-common/test-vfprintf.c: New file.
9077 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
9079 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
9080 (tst-mbrtowc-ENV): New variable.
9081 (tst-wcrtomb-ENV): New variable.
9082 * wcsmbs/tst-mbrtowc.c: New file.
9083 * wcsmbs/tst-wcrtomb.c: New file.
9085 2000-11-16 Andreas Jaeger <aj@suse.de>
9087 * manual/install.texi (Tools for Compilation): Update
9088 documentation for GCC 2.95.2.
9090 2000-11-18 Ulrich Drepper <drepper@redhat.com>
9092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
9093 if IPv4 and IPv6 requests timed out.
9095 2000-11-18 Akim Demaille <akim@epita.fr>
9097 * malloc/obstack.h: Formatting changes.
9098 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
9099 prevents type checking.
9100 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
9101 cast the value to (void *): assigning a `foo *' to a `void *'
9103 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
9105 2000-11-17 Ulrich Drepper <drepper@redhat.com>
9107 * scripts/config.guess: Update from upstream maintainer.
9108 * scripts/config.sub: Likewise.
9110 2000-11-16 Ulrich Drepper <drepper@redhat.com>
9112 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
9113 * libio/freopen64.c (freopen64): Likewise.
9114 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9116 * libio/Makefile: Add rules to build and run test-freopen.
9117 * libio/test-freopen.c: New file.
9118 * libio/test-freopen.sh: New file.
9120 2000-11-15 H.J. Lu <hjl@gnu.org>
9122 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
9123 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
9124 (DL_DT_FINI_ADDRESS): Likewise.
9126 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
9127 return type to ElfW(Addr).
9128 (_dl_function_address): New prototype.
9129 (DL_FUNCTION_ADDRESS): Defined.
9130 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
9131 (DL_DT_FINI_ADDRESS): Likewise.
9133 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
9135 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
9136 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
9138 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
9139 (_dl_function_address): This.
9141 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
9142 function pointer for DT_FINI.
9143 * elf/dl-close.c (_dl_close): Likewise.
9145 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
9146 function pointer for DT_INIT.
9148 2000-11-16 Jakub Jelinek <jakub@redhat.com>
9150 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
9151 end of wexpbuf buffer.
9153 2000-11-16 Andreas Jaeger <aj@suse.de>
9155 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
9156 definition of F_GETLK, F_SETLK, F_SETLKW.
9158 2000-11-16 Andreas Jaeger <aj@suse.de>
9160 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
9163 2000-11-15 Jakub Jelinek <jakub@redhat.com>
9165 * dlfcn/default.c (main): Add test for dladdr of main returning
9166 argv[0] in dli_fname field.
9168 2000-11-15 Jakub Jelinek <jakub@redhat.com>
9170 * Makeconfig (run-program-prefix): Move test-static test into the
9173 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
9174 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
9175 schedule instructions.
9176 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
9177 schedule instructions, fix a bug in copying auxiliary data.
9179 2000-11-15 Ulrich Drepper <drepper@redhat.com>
9181 * manual/startup.texi (Program Arguments): Fix type of main's envp
9183 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
9185 * iconvdata/gconv-modules: Add CP950 alias.
9187 2000-11-13 Jakub Jelinek <jakub@redhat.com>
9189 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
9190 syscall-list.h goal.
9191 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
9193 2000-11-15 Ulrich Drepper <drepper@redhat.com>
9195 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
9197 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
9200 * intl/tst-gettext2.c: Set C locale if setting other locale
9201 failed. Use gettext() not _().
9203 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
9204 successfully loaded a new locale.
9206 2000-11-13 Andreas Jaeger <aj@suse.de>
9208 * configure.in: Require gcc 2.95 or newer.
9210 2000-11-15 Ulrich Drepper <drepper@redhat.com>
9212 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
9213 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
9215 2000-11-11 Jim Meyering <meyering@lucent.com>
9217 * string/strndup.c (strndup): Cast return value to `char *'.
9219 2000-11-15 Jim Meyering <meyering@ascend.com>
9221 * sysdeps/generic/memchr.c: Remove some useless parentheses.
9222 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
9223 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
9224 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
9225 Also #undef __memchr.
9226 Use `weak_alias' only if it's defined.
9228 2000-11-10 H.J. Lu <hjl@gnu.org>
9230 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
9232 2000-11-15 Andreas Jaeger <aj@suse.de>
9234 * elf/chroot_canon.c: Include <stdint.h>.
9236 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
9237 (print_entry): Likewise.
9238 (add_to_cache): Likewise.
9240 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
9242 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
9243 (path_hwcap): Likewise.
9244 (search_dir): Likewise.
9246 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
9248 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
9250 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
9251 (_dl_platform_string): New.
9252 (_DL_HWCAP_PLATFORM): New.
9253 (_dl_string_platform): New.
9254 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
9256 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
9257 (_dl_string_platform): New.
9258 (_DL_HWCAP_PLATFORM): New.
9259 (_dl_platform_string): New.
9261 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
9263 (_DL_HWCAP_COUNT): New.
9264 (_dl_string_platform): New.
9265 (_DL_HWCAP_PLATFORM): New.
9266 (_dl_platform_string): New.
9268 2000-11-14 Ulrich Drepper <drepper@redhat.com>
9270 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
9272 2000-11-14 Andreas Jaeger <aj@suse.de>
9274 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
9276 2000-11-13 Roland McGrath <roland@frob.com>
9278 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
9280 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
9282 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
9283 underrun and make sure the result is null terminated even if there
9284 is no trailing newline.
9286 2000-11-13 Jakub Jelinek <jakub@redhat.com>
9288 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9290 2000-11-10 H.J. Lu <hjl@gnu.org>
9292 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
9294 2000-11-10 Andreas Jaeger <aj@suse.de>
9296 * elf/ldconfig.c (create_links): Fix alloca calculation.
9297 Patch by Ben Collins <bcollins@debian.org>.
9299 2000-11-09 Ulrich Drepper <drepper@redhat.com>
9301 * inet/getnameinfo.c (getnameinfo): Use correct destination
9302 parameter for if_indextoname.
9303 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
9305 2000-11-09 H.J. Lu <hjl@gnu.org>
9307 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
9308 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
9309 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
9312 * time/Versions (GLIBC_2.1): Move getitimer to...
9313 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
9315 2000-11-03 Bruno Haible <haible@clisp.cons.org>
9317 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
9318 "make install", to work around a binary incompatibility between
9319 glibc 2.1 and glibc 2.2 gconv modules.
9321 2000-11-09 Ulrich Drepper <drepper@redhat.com>
9323 * intl/locale.alias: Add thai.
9324 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
9326 2000-11-07 Akim Demaille <akim@epita.fr>
9328 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
9329 argument `data' for consistency with the prototypes.
9331 (obstack_copy, obstack_copy0): Rename the second argument as
9332 `address' for consistency. Qualify it `const'.
9333 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
9334 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
9335 `const' their input argument (`data' or `address').
9336 Adjust the corresponding macros to include `const' in casts.
9338 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9340 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
9343 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9345 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
9348 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9350 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
9351 ai_protocol by internal table if service was not given.
9353 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9355 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
9356 numerical port was specified with protocol without socktype.
9358 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9360 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
9362 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9364 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
9366 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9368 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
9369 sin6_scope_id field.
9371 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9373 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
9375 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9377 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
9379 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9381 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
9382 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
9384 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
9386 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
9387 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
9389 2000-11-09 H.J. Lu <hjl@gnu.org>
9391 * io/Versions (GLIBC_2.1.1): Remove lockf64.
9394 See ChangeLog.11 for earlier changes.