1 2001-07-27 Andreas Jaeger <aj@suse.de>
3 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_GPRS): Fix
4 value following change from 2001-05-30.
6 * sysdeps/s390/s390-64/bits/setjmp.h (_JMPBUF_UNWINDS): Follow
7 rename change from 2001-07-12 for __jmp_buf.
8 Patches by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>.
10 2001-07-26 Roland McGrath <roland@frob.com>
12 * sysdeps/generic/bits/termios.h (EXTA, EXTB): Make these conditional
13 on __USE_MISC rather than __USE_BSD.
14 (B57600, B115200, B230400, B460800, B500000, B576000, B921600,
15 B1000000, B1152000, B1500000, B2000000, B2500000, B3000000,
16 B3500000, B4000000): New macros.
17 * sysdeps/generic/tcsetattr.c (bad_speed): Accept those values.
18 * termios/cfsetspeed.c (speeds): Likewise.
20 2001-07-26 kaz Kojima <kkojima@rr.iij4u.or.jp>
22 * sysdeps/sh/dl-machine.h (elf_machine_load_address): Don't use
24 (FUN_ADDR, FGR_SAVE, ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
25 (elf_machine_rela): Handle unaligned relocation.
27 2001-06-07 David Mosberger <davidm@hpl.hp.com>
29 * sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Update call to
30 __ia64_make_fptr() for new interface.
31 (_dl_function_address): Remove.
33 * sysdeps/ia64/dl-machine.h (IA64_BOOT_FPTR_TABLE_LEN): Rename
34 from IA64_BOOT_FPTR_SIZE and reduce its value from 256 to 200.
35 (struct ia64_fdesc): Rename from struct ia64_fptr and drop "next"
36 pointer. Rename member "func" to "ip".
37 (struct ia64_fdesc_table): New type.
38 (__ia64_make_fptr): Change prototype.
39 (__ia64_init_bootstrap_fdesc_table): New function.
40 (ELF_MACHINE_BEFORE_RTLD_RELOC): New macro.
41 (__boot_ldso_fptr): Removed.
42 (__fptr_next): Removed.
43 (__fptr_root): Removed.
44 (__fptr_count): Removed.
45 (TRAMPOLINE_TEMPLATE): Fix typo in comment. Don't use multi-line
46 strings to avoid warning from gcc3.
47 (RTLD_START): Don't use multi-line strings.
48 (ELF_MACHINE_START_ADDRESS): Use DL_STATIC_FUNCTION_ADDRESS.
49 (elf_machine_fixup_plt): Update the code entry point in the
50 function descriptor through a "volatile" pointer to ensure proper
52 (elf_machine_rela): Simplify handling of FPTR relocs: always call
55 * sysdeps/ia64/dl-lookupcfg.h (DL_AUTO_FUNCTION_ADDRESS): New macro.
56 (DL_STATIC_FUNCTION_ADDRESS): Likewise.
57 (DL_DT_INIT_ADDRESS): Use DL_AUTO_FUNCTION_ADDRESS.
58 (DL_DT_FINI_ADDRESS): Likewise.
60 * sysdeps/ia64/dl-fptr.c: Rewrite for better scalability and to
63 * include/link.h: Add member machine specific "l_mach" member to
66 * sysdeps/generic/bits/link.h: New file.
67 * sysdeps/ia64/bits/link.h: Likewise.
69 * elf/rtld.c (_dl_start): Fix typo in comment.
70 (_dl_start_final): Copy new "l_mach" member from temporary to
73 2001-07-25 Ulrich Drepper <drepper@redhat.com>
75 * csu/gmon-start.c: Use ENTRY_POINT_DECL if defined instead of a
76 declaration using ENTRY_POINT.
77 * sysdeps/ia64/elf/entry.h (ENTRY_POINT_DECL): New definition.
79 2001-07-25 H.J. Lu <hjl@gnu.org>
81 * csu/gmon-start.c: Include <entry.h>
82 (_start): Replaced with ENTRY_POINT.
84 2001-07-25 Mark Kettenis <kettenis@gnu.org>
86 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: New file.
88 2001-07-25 Ulrich Drepper <drepper@redhat.com>
90 * iconv/iconvconfig.c (main): Don't write an output file if we
92 (write_output): Don't overwrite old cache file until we know we
95 * iconv/Makefile (install-sbin): Add iconvconfig.
97 2001-07-25 Jakub Jelinek <jakub@redhat.com>
99 * elf/Makefile (routines): Add dl-iteratephdr and
100 dl-iteratephdr-static.
101 (elide-routines.os): Add dl-iteratephdr-static.
102 * elf/dl-iteratephdr.c: New file.
103 * elf/link.h (struct dl_phdr_info): New definition.
104 (dl_iterate_phdr): New prototype.
105 * elf/Versions (dl_iterate_phdr): Add at GLIBC_2.2.4.
106 * include/link.h (struct dl_phdr_info): New definition.
107 (dl_iterate_phdr, __dl_iterate_phdr): New prototypes.
108 * sysdeps/generic/dl-iteratephdr-static.c: New file.
109 * sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: New file.
111 2001-07-24 Igor Khavkine <i_khavki@alcor.concordia.ca>
113 * hurd/hurdsig.c (_hurdsig_init): Fix incorrect initialization
116 2001-06-22 Jakub Jelinek <jakub@redhat.com>
118 * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
119 gaps below main executable.
121 2001-07-22 Bruno Haible <haible@clisp.cons.org>
123 * intl/libintl.h (ngettext, dngettext, dcngettext): Use both msgid1
124 and msgid2 for printf format argument checking.
126 2001-07-24 Ulrich Drepper <drepper@redhat.com>
128 * iconv/gconv_cache.c (find_module): Don't allocate room for the
129 filename. Use alloca, we don't need it beyond this function.
130 (__gconv_release_cache): New function.
131 * iconv/gconv_db.c (__gconv_close_transform): Call
132 __gconv_release_cache after the steps are handled.
133 * iconv/gconv_dl.c (__gconv_find_shlib): Allocate file name in the
135 * iconv/gconv_int.h: Add prototype for __gconv_release_cache.
137 * iconv/gconv_cache.c (__gconv_lookup_cache): Catch one more
138 boundary case and reject it.
140 2001-07-24 Andreas Jaeger <aj@suse.de>
142 * manual/examples/longopt.c (main): Fix which options take arguments.
144 2001-07-24 Ulrich Drepper <drepper@redhat.com>
146 * iconvdata/Makefile: Add dependencies for tst-loading test.
148 2001-07-24 Andreas Jaeger <aj@suse.de>
150 * iconv/iconvconfig.c (name_insert): Make static to avoid warning.
152 2001-07-23 Ulrich Drepper <drepper@redhat.com>
154 * locale/programs/locale.c (write_locales): Disable implicit
155 locking for the stream. Use feof_unlocked instead of feof.
157 * sysdeps/unix/sysv/linux/i386/makecontext.S: Initialize %fs, %gs,
158 and floating-point status as well.
160 * libio/iofclose.c (_IO_new_fclose): Unlink descriptor first to
162 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
163 * libio/genops.c (_IO_un_link): Get stream lock since it's not
164 always done in the caller.
165 (_IO_link_in): Likewise.
167 * libio/genops.c (_IO_list_all_stamp): New variable.
168 (_IO_un_link): Bump _IO_list_all_stamp after removing from list.
169 (_IO_link): Likewise for insertion.
170 (flush_cleanup): New function.
171 (_IO_flush_all): Get list_all_lock and all individual locks for the
172 streams. Detect and handle changes to the _IO_list_all list.
173 (_IO_flush_all_linebuffered): Likewise.
174 * sysdeps/generic/bits/stdio-lock.h: Define
175 _IO_cleanup_region_start_noarg.
176 * sysdeps/mach/hurd/bits/stdio-lock.c: Likewise.
178 * stdio-common/printf.h: Fix typo in comment.
180 * iconv/gconv_cache.c (__gconv_lookup_cache): Handle encoding from
182 * iconv/iconvconfig.c: Create a special record for the INTERNAL
183 encoding name in the output file.
185 2001-07-23 Jakub Jelinek <jakub@redhat.com>
187 * sunrpc/svc_tcp.c (svctcp_rendezvous_abort): New function.
188 (svctcp_rendezvous_op): Use it.
189 * sunrpc/svc_unix.c (svcunix_rendezvous_abort): New function.
190 (svcunix_rendezvous_op): Use it.
192 2001-07-23 Andreas Schwab <schwab@suse.de>
194 * math/Makefile (CPPFLAGS-test-ifloat.c, CPPFLAGS-test-idouble.c,
195 CPPFLAGS-test-ildoubl.c): Renamed from CFLAGS-*.
196 (math-CPPFLAGS): Set this instead of CPPFLAGS.
198 2001-07-23 Ulrich Drepper <drepper@redhat.com>
200 * elf/elf.h: Add more definitions from Sun's latest version.
202 2001-07-23 Stephen L Moshier <moshier@mediaone.net>
204 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Return proper
205 sign for 0 input and set divide by zero exception for -1 input.
206 Return argument if NaN or infinity.
208 2001-07-23 Andreas Jaeger <aj@suse.de>
210 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add some deltas.
212 2001-07-23 Ulrich Drepper <drepper@redhat.com>
214 * iconv/gconv_cache.c (__gconv_lookup_cache): Select correct
215 module for conversion direction.
217 2001-07-23 Stephen L Moshier <moshier@mediaone.net>
219 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Return proper
220 sign for 0 input. Return NaN with no exception for NaN input.
222 2001-07-23 Ulrich Drepper <drepper@redhat.com>
224 * iconv/gconv_builtin.h: ISO-106464/UTF-8/ transformation must
227 2001-07-23 Andreas Jaeger <aj@suse.de>
229 * iconv/iconvconfig.c: Include <sys/cdefs.h> and use
230 __attribute_malloc__ for older GCC versions.
231 * iconv/strtab.c: Likewise.
232 Add prototypes to avoid warnings.
234 2001-07-22 Roland McGrath <roland@frob.com>
236 * hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND
237 and SA_NODEFER options. Spurred to action by Igor Khavkine.
239 * sysdeps/generic/bits/sigaction.h [__USE_UNIX98 || __USE_MISC]
240 (SA_NODEFER, SA_RESETHAND): New macros, same bit values as FreeBSD.
241 [__USE_MISC] (SA_INTERRUPT): New macro, value 0.
242 [__USE_MISC] (SA_NOMASK, SA_ONESHOT, SA_STACK): New macros, aliases
243 as in other sysdeps versions of this file.
245 * sysdeps/generic/bits/sigaction.h (struct sigaction): Use a union
246 and provide sa_handler and sa_sigaction member names as macros, as
247 done in other sysdeps versions of this file.
248 Suggested by Igor Khavkine <i_khavki@alcor.concordia.ca>.
250 2001-07-23 Ulrich Drepper <drepper@redhat.com>
252 * posix/regex.c: Revamp memory allocation for WCHAR functions to
253 not use too much stack.
255 2001-07-22 Ulrich Drepper <drepper@redhat.com>
257 * iconv/iconvconfig.c (write_output): Update comment explaining
260 * elf/dl-load.c (_dl_dst_count): In SUID binaries expand $ORIGIN
262 (_dl_dst_substitute): Likewise.
264 * iconv/iconvconfig.c: Remove --verbose option. Comment out
267 * iconv/strtab.c (morememory): Fix little memory handling problem.
269 2001-07-22 Andreas Schwab <schwab@suse.de>
271 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don't
272 mark asm input operand as clobbered.
273 * sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise.
275 2001-07-22 Ulrich Drepper <drepper@redhat.com>
277 * iconv/gconv_builtin.c (struct builtin_map): Remove init and end
279 (BUILTIN_TRANSFORMATION): Remove Init and End parameters.
280 (__gconv_get_builtin_trans): Initialize __init_fct and __end_fct to
282 * iconv/gconv_builtin.h: Remove NULL parameters for Init and End in
283 all BUILTIN_TRANSFORMATION calls.
284 * iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Remove Init and End
286 * iconv/gconv_simple.c: Likewise.
287 * iconv/gconv_db.c (gen_steps): Internal converters don't have
288 initializers, move the code accordingly.
290 * iconv/gconv_conf.c (__gconv_read_conf): Don't read configuration
291 file if STATIC_GCONV is defined.
293 * iconv/gconv_conf.c (__gconv_path_envvar): New global variable.
294 (__gconv_get_path): Use it instead of call getenv.
295 (__gconv_read_conf): First see whether cache can be used. If yes,
296 don't do any work here.
297 * iconv/gconv_db.c (__gconv_release_step): Renamed from release_step
298 and exported. Change callers.
299 (__gconv_find_transform): First call __gconv_lookup_cache and only
300 continue if it signals no cache available. Remove some unnecessary
302 * iconv/gconv_int.h: Declare __gconv_path_envvar, __gconv_lookup_cache,
303 __gconv_release_step, and __gconv_loaded_cache.
304 * iconv/gconv_cache.c: New file.
305 * iconv/iconvconfig.c: New file.
306 * iconv/iconvconfig.h: New file.
307 * iconv/strtab.c: New file.
308 * iconv/Makefile: Add rules to build new files and programs.
310 2001-07-20 Roland McGrath <roland@frob.com>
312 * sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type
313 from `dev_t' (st_rdev value) `const struct stat *'.
314 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Likewise.
315 * libio/filedoalloc.c (_IO_file_doallocate): Change caller.
316 * sysdeps/mach/hurd/device-nrs.h: New file.
318 * libio/stdio_ext.h: Moved to ...
319 * stdio-common/stdio_ext.h: ... here.
320 * libio/Makefile (headers): Move stdio_ext.h from here ...
321 * stdio-common/Makefile (headers): ... to here.
322 * include/stdio_ext.h: New file.
323 * stdio/Makefile (routines): Add the stdio_ext.h functions here.
324 * stdio/Versions (GLIBC_2.2.4): Export the stdio_ext.h functions.
325 * stdio/__flbf.c: New file.
326 * stdio/__fbufsize.c: New file.
327 * stdio/__fpending.c: New file.
328 * stdio/__fpurge.c: New file.
329 * stdio/__freadable.c: New file.
330 * stdio/__freading.c: New file.
331 * stdio/__fsetlocking.c: New file.
332 * stdio/__fwritable.c: New file.
333 * stdio/__fwriting.c: New file.
335 2001-07-20 Ulrich Drepper <drepper@redhat.com>
336 Andreas Jaeger <aj@suse.de>
338 * elf/ldconfig.c (search_dir): Avoid use of uninitialized memory.
339 Add a few __builtin_expect to mark unlikely error cases.
341 2001-07-20 Andreas Jaeger <aj@suse.de>
343 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Synch with kernel.
344 Patch by Daniel Jacobowitz <dan@debian.org>.
346 2001-07-19 Ulrich Drepper <drepper@redhat.com>
348 * intl/localealias.c: Remove unnecessary prototype.
350 * Makefile: Add html goal.
351 * manual/Makefile: Likewise.
353 2001-07-18 Ulrich Drepper <drepper@redhat.com>
355 * libio/filedoalloc.c (_IO_file_doallocate): A few more minor
356 cleanups and improvements.
358 2001-07-18 Andreas Schwab <schwab@suse.de>
360 * posix/regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
361 underscore character.
363 2001-07-18 Jakub Jelinek <jakub@redhat.com>
365 * malloc/malloc (new_heap): Don't call munmap for zero length.
367 2001-07-18 Ulrich Drepper <drepper@redhat.com>
369 * libio/filedoalloc.c (_IO_file_doallocate): Use DEV_TTY_P if
370 available to determine whether descriptor is for tty before
373 * sysdeps/unix/sysv/linux/device-nrs.h: Define DEV_TTY_P.
374 * sysdeps/generic/device-nrs.h: Likewise.
376 2001-07-18 Andreas Jaeger <aj@suse.de>
378 * time/Makefile (tst-getdate-ENV): Add TZDIR to environment.
380 * time/Depend: New, add dependency on timezone.
382 * time/tst-getdate.c: Add testcase for bug report by Hendrik
383 Uhlmann <HUhlmann@stn-atlas.de>.
384 * time/datemsk: Likewise.
386 2001-07-17 Ulrich Drepper <drepper@redhat.com>
388 * elf/ldconfig.c (parse_conf): Disable implicit locking for the
389 stream. Remove some unnecessary initializers.
391 2001-07-17 Andreas Jaeger <aj@suse.de>
393 * elf/ldconfig.c: Add new variable hwcap_mask to honour LD_HWCAP_MASK.
394 (is_hwcap_platform): Use it.
395 (set_hwcap): New function to set hwcap_mask.
396 (main): Call set_hwcap.
398 2001-07-17 Jakub Jelinek <jakub@redhat.com>
400 * time/getdate.c (__getdate_r): Initialize tm_isdst, tm_gmtoff and
401 tm_zone before calling strptime.
403 2001-07-17 Andreas Schwab <schwab@suse.de>
405 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Fix last change.
407 2001-07-17 Ulrich Drepper <drepper@redhat.com>
409 * inet/rcmd.c (iruserfopen): Disable implicit locking for the stream.
410 * inet/ruserpass.c (ruserpass): Likewise.
411 * nss/nsswitch.c (nss_parse_file): Likewise.
412 * resolv/res_hconf.c (_res_hconf_init): Likewise.
413 * resolv/res_init.c (__res_vinit): Likewise.
414 * gmon/bb_exit_func.c (__bb_exit_func): Likewise.
415 * misc/getpass.c (getpass): Likewise.
416 * misc/getusershell.c (initshells): Likewise.
417 * misc/getttyent.c (setttyent): Likewise.
418 * misc/mntent_r.c (__setmntent): Likewise.
419 * time/getdate.c (__getdate_r): Likewise.
420 * time/tzfile.c (__tzfile_read): Likewise.
421 * iconv/gconv_conf.c (read_conf_file): Likewise.
422 * intl/localealias.c (read_alias_file): Disable implicit locking
423 for the stream. Use _unlocked functions for glibc.
424 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Disable
425 implicit locking for the stream.
426 (__get_nprocs_conf): Likewise.
427 (phys_pages_info): Likewise.
429 2001-07-16 Ulrich Drepper <drepper@redhat.com>
431 * nscd/connections.c: Print messages caused by user application
432 only if debug_level > 0. Add little performance improvements.
433 Use TEMP_FAILURE_RETRY around write calls.
434 * nscd/grpcache.c: Likewise.
435 * nscd/hstcache.c: Likewise.
436 * nscd/pwdcache.c: Likewise.
438 2001-07-13 H.J. Lu <hjl@gnu.org>
440 * sysdeps/mips/dl-machine.h (MAP_BASE_ADDR): Removed.
441 (elf_machine_got_rel): Defined only if RTLD_BOOTSTRAP is not defined.
442 (RESOLVE_GOTSYM): Rewrite to use RESOLVE.
444 * sysdeps/mips/rtld-ldscript.in: Removed.
445 * sysdeps/mips/rtld-parms: Likewise.
446 * sysdeps/mips/mips64/rtld-parms: Likewise.
447 * sysdeps/mips/mipsel/rtld-parms: Likewise.
449 2001-07-16 Ulrich Drepper <drepper@redhat.com>
451 * catgets/test-gencat.sh: Use <<"EOF" instead of <<EOF to prevent
452 substitution in here document.
454 2001-07-16 Andreas Schwab <schwab@suse.de>
456 * sysdeps/posix/spawni.c: Fix typo when iterating over signal numbers.
458 2001-07-16 Andreas Schwab <schwab@suse.de>
460 * math/libm-test.inc (check_float_internal): Fix sign bit test of
463 2001-07-16 Jakub Jelinek <jakub@redhat.com>
465 * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Make it PIC friendly.
467 2001-07-15 Ulrich Drepper <drepper@redhat.com>
469 * malloc/obstack.c: Define __attribute__ for non-gcc compilers.
470 Patch by Jim Meyering <jim@meyering.net>.
472 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
474 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder
475 fields in the sigaction struct to match the definition in the kernel.
477 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
479 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the
482 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
484 * sysdeps/s390/s390-32/bits/setjmp.h: Add leading underscores
485 to the entries in the __jmp_buf structure.
486 * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
488 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
490 * sysdeps/s390/s390-32/bcopy.S: Use mvcle for big blocks
491 (> 64K) and a mvc loop for small blocks.
492 * sysdeps/s390/s390-32/memcpy.S: Likewise.
493 * sysdeps/s390/s390-64/bcopy.S: Likewise.
494 * sysdeps/s390/s390-64/memcpy.S: Likewise.
496 2001-07-15 Andreas Schwab <schwab@suse.de>
498 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: New file.
499 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: New file.
501 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Check _dl_pagesize
502 first. Default to 4096, not EXEC_PAGESIZE.
504 * iconv/loop.c (put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]:
507 2001-07-09 Andreas Jaeger <aj@suse.de>
509 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2.
511 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM,
512 HWCAP_I386_XMM2 to enum.
514 2001-07-13 Andreas Jaeger <aj@suse.de>
516 * libio/fileops.c: Include unistd.h for lseek64 prototype. Closes
519 2001-07-12 Ulrich Drepper <drepper@redhat.com>
521 * Makeconfig: Add some more changes to handle AIX linker better.
523 2001-07-12 H.J. Lu <hjl@gnu.org>
525 * sysdeps/generic/segfault.c: Include <errno.h>.
527 2001-07-01 Andreas Jaeger <aj@suse.de>
529 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate
530 sbrk. Closes PR libc/2312.
532 2001-07-01 Andreas Jaeger <aj@suse.de>
534 * sysdeps/generic/segfault.c (install_handler): Handle case that
535 the output file does not exists. Closes PR libc/2345.
537 2001-07-11 Ulrich Drepper <drepper@redhat.com>
539 * intl/locale.alias: Use he language code for hebrew, not il
542 2001-07-11 Jakub Jelinek <jakub@redhat.com>
544 * iconv/gconv_int.h: Fix comment typo.
546 2001-07-11 Igor Khavkine <i_khavki@alcor.concordia.ca>
548 * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.
550 2001-07-07 Roland McGrath <roland@frob.com>
552 * hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0.
554 2001-07-10 Stephen L Moshier <moshier@mediaone.net>
556 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Fix
557 backwards conditional in test for x == 1.0.
559 2001-07-10 Andreas Jaeger <aj@suse.de>
561 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh
564 2001-07-09 Andreas Jaeger <aj@suse.de>
566 * sysdeps/unix/sysv/linux/configure.in: Revert patch from
567 2001-07-05 for sysconfdir handling.
568 * config.make.in (sysconfdir): Likewise.
569 * configure.in: Likewise.
571 * configure.in: Always assign libc_cv_sysconfdir.
573 2001-07-08 Ulrich Drepper <drepper@redhat.com>
575 * Makerules [AIX] (build-shlib-helper): Precede linker options
578 * Makeconfig (config-LDFLAGS): Add ld.so only for ELF.
580 * sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to
581 what we define in <stdio.h>.
583 * iconv/iconv_prog.c (main): Don't unconditionally define
584 variables only use if _POSIX_MAPPED_FILES is defined.
586 * sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type.
587 * sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.
589 * sysdeps/unix/sysv/aix/recv.c: New file.
591 * sysdeps/unix/sysv/aix/recvfrom.c: Fix various types.
593 2001-07-07 Ulrich Drepper <drepper@redhat.com>
595 * sysdeps/generic/recv.c: Fix return type.
597 * sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo.
599 * sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add
600 declarations for asm functions.
602 * include/libc-symbols.h: Provide more dummy definitions for the
603 case if GNU ld isn't used.
605 * libio/freopen.c: Include <stdlib.h> for free declaration.
606 * libio/freopen64.c: Likewise.
608 * sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
610 2001-07-06 Jakub Jelinek <jakub@redhat.com>
612 * sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm
613 explicitly into .text section.
615 2001-04-16 Jes Sorensen <jes@linuxcare.com>
617 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
618 Add 16 longwords reserved for future use to match changes in the
621 2001-07-03 Jes Sorensen <jes@trained-monkey.org>
623 * sysdeps/ia64/strncpy.S: Call strnlen() when determining the
624 string length rather than strlen(). Solves the performance problem
625 of doing strlen on a 5MB string when strncpy was called with a
626 length argument of 5 bytes.
628 2001-07-02 Jakub Jelinek <jakub@redhat.com>
630 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
631 R_SPARC_UA16 and R_SPARC_UA32.
632 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
634 2001-07-01 Stephen L Moshier <moshier@mediaone.net>
636 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl):
637 acosh(x) = ln(2x) if x > 2^30.
638 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
639 acosh(x) = ln(2x) if x > 2^54.
641 2001-07-07 Mark Kettenis <kettenis@gnu.org>
643 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal):
644 Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and
645 KERN_WRITE_PROTECTION_FAILURE.
647 2001-07-07 Ulrich Drepper <drepper@redhat.com>
649 * posix/regex.c: Limit string length printed in debug messages to
652 * configure.in: Don't warn about versioning if not on ELF system.
654 2001-07-07 Andreas Jaeger <aj@suse.de>
656 * sysdeps/*: Put files from GNU MP Library under LGPL v2.1.
658 2001-07-06 Ulrich Drepper <drepper@redhat.com>
660 * po/gl.po: Update from translation team.
662 2001-07-06 Andreas Jaeger <aj@suse.de>
664 * sysdeps/unix/sysv/linux/configure.in: Fix handling of
667 * manual/libc-texinfo.sh: Add note for the FDL.
669 * manual/argp.texi (Argp Example 4): Fix texinfo warning.
671 * manual/libc.texinfo: Regenerated.
673 * manual/fdl.texi: Fix node.
675 * config.make.in (sysconfdir): Replace correctly.
676 Closes PR libc/2369, reported by Peter Simons <simons@cryp.to>.
678 * sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no
681 * sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add
683 Rework handling of missing linuxthreads add-on.
685 * configure.in: Remove unused sysconfdir substitution.
687 * manual/Makefile (texis): Add fdl.texi.
688 * manual/fdl.texi: New.
689 * manual/socket.texi (Host Names): Improve grammar, fix overflow hbox.
690 * manual/libc.texinfo: Add fdl, update titlepage.
691 Patches by Brian Youmans <3diff@gnu.org>.
693 * sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for
696 2001-07-06 Paul Eggert <eggert@twinsun.com>
698 * manual/argp.texi: Remove ignored LGPL copyright notice; it's
699 not appropriate for documentation anyway.
700 * manual/libc-texinfo.sh: "Library General Public License" ->
701 "Lesser General Public License".
702 * COPYING: Fix Y2k bug in sample copyright notices.
703 * manual/lesser.texi: Renamed from manual/lgpl.texinfo,
704 as fsf.org uses the name "lesser.texi".
705 * manual/Makefile (texis): Follow rename.
707 2001-07-06 Andreas Jaeger <aj@suse.de>
709 * All files under GPL/LGPL version 2: Place under LGPL version
712 2001-07-05 Andreas Jaeger <aj@suse.de>
714 Synch with Linux 2.4.6:
715 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
719 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
723 * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
726 * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
729 * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
732 * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
735 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.
737 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.
739 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.
741 * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
743 2001-07-04 Roland McGrath <roland@frob.com>
745 * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
746 wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
747 rather than doing a mach_port_insert_right call first.
749 2001-06-26 Roland McGrath <roland@frob.com>
751 * hurd/hurdioctl.c: Include <string.h> for memcpy decl.
753 2001-07-03 Andreas Jaeger <aj@suse.de>
755 * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for
758 2001-07-01 Mark Kettenis <kettenis@gnu.org>
760 * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
761 the Hurd pfinet server, using equivalent code from the Linux
762 version in sysdeps/unix/sysv/linux/if_index.c. In detail:
763 Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
764 <hurd/pfinet.h>. Don't include <sys/mman.h> and <hurd/fsys.h>
766 (if_nametoindex): New implementation using SIOCGIFINDEX.
767 (if_freenameindex): Straight copy of the Linux version.
768 (if_nameindex): New implementation based on pfinet_siocgifconf and
770 (if_indextoname): New implementation using SIOCGIFNAME.
771 (map_interfaces): Function removed.
772 From Marcus Brinkmann <marcus@gnu.org>.
774 2001-06-30 Jakub Jelinek <jakub@redhat.com>
776 * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
777 gaps below main executable.
779 2001-06-19 Andreas Jaeger <aj@suse.de>
781 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
784 2001-06-29 Andreas Jaeger <aj@suse.de>
786 * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
787 Patch by Stephen L Moshier <moshier@mediaone.net>.
789 2001-06-28 Ulrich Drepper <drepper@redhat.com>
791 * manual/argp.texi: Tons of cleanups.
792 Patch by Clifford U. Smith <cuel@swbell.net>.
794 2001-06-28 Mark Kettenis <kettenis@gnu.org>
796 * manual/users.texi (Setting Groups): Correct initgroups
797 documentation. Add documentation for getgrouplist.
799 2001-06-28 H.J. Lu <hjl@gnu.org>
801 * locale/findlocale.c (locale_file_list): Renamed to ...
802 (_nl_locale_file_list): This. Make it extern.
803 (free_mem): Move to ...
804 * locale/setlocale.c (free_mem): Here.
806 2001-06-28 Mark Kettenis <kettenis@gnu.org>
808 * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
809 (__libc_read): Don't call __pread. Use _hurd_fd_read directly
811 * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
812 (__libc_write): Don't call __pwrite. Use _hurd_fd_write directly
815 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
816 -Wl,-soname option lost in 2001-06-16 change.
818 2001-06-27 Ulrich Drepper <drepper@redhat.com>
820 * posix/tst-regex.c: Pass REG_NEWLINE to regcomp. Add extra tests.
821 Restrict printing of string in debug mode to 100 characters to make
822 the output useful for long input texts.
824 * posix/Makefile: Add rules to build and run tst-regex.
826 2001-06-20 Isamu Hasegawa <isamu@yamato.ibm.com>
828 * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
829 (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
830 (wcs_re_match_2_internal): Check whether the wcs buffers need
831 seting up or not, and skip seting up routin if not needed.
833 2001-06-26 Isamu Hasegawa <isamu@yamato.ibm.com>
835 * posix/regex.c (count_mbs_length): Use binary search for optimization.
837 2001-06-27 Ulrich Drepper <drepper@redhat.com>
839 * posix/tst-regex.c: Fix several bugs. Add more tests.
841 2001-06-26 Mark Kettenis <kettenis@gnu.org>
843 * hurd/Makefile (user-interfaces): Add pfinet.
844 * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
846 (siocgifconf): New function. Register it with HURD_HANDLE_IOCTL
847 as the handler for SIOCGIFCONF.
848 * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
849 SIOCGIFFLAGS to be of IOC type ifreq_short. Modify SIOCSIFMETRIC
850 and SIOCGIFMETRIC to be of IOC type ifreq_int. Add new macro
851 definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
853 From Marcus Brunkmann <marcus@gnu.org>.
855 2001-06-25 Ulrich Drepper <drepper@redhat.com>
857 * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
858 and _IOT_ifreq_int. Patch by Mark Kettenis <kettenis@wins.uva.nl>.
860 * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
861 _dl_catch_error calls.
863 2001-06-22 Jakub Jelinek <jakub@redhat.com>
865 * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
868 2001-06-01 Wolfram Gloger <wg@malloc.de>
870 * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
871 ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
872 when malloc_atfork is in use.
874 2001-06-22 Andreas Jaeger <aj@suse.de>
876 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
879 * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
881 Add unused attributes to avoid warnings.
883 * elf/reldep4mod4.c: Add prototype to avoid warning.
884 * elf/reldep4mod2.c: Likewise.
886 * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
889 2001-06-18 Roland McGrath <roland@frob.com>
891 * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
893 2001-06-20 Alexandre Oliva <aoliva@redhat.com>
895 * sysdeps/unix/sysv/settimeofday.c: Include time.h.
897 2001-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
899 * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
901 2001-05-09 Michael Keezer <mkeezer@redhat.com>
903 * Makeconfig: Added AIX-ld support for DSO.
904 * Makerules: Likewise.
905 * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
906 (defaultmod2.so): Likewise.
907 * debug/Makefile: Conditionalize use of elf/ld.so.
908 * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
910 * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
911 * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
912 (f/g)prrest(0/1) static only.
913 * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
914 * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
916 * sysdeps/unix/sysv/aix/setitimer.c: New file.
917 * sysdeps/unix/sysv/aix/sleep.c: New file.
918 * sysdeps/unix/sysv/aix/usleep.c: New file.
919 * sysdeps/unix/sysv/aix/dl-addr.c: New file.
920 * sysdeps/unix/sysv/aix/dl-error.c: New file.
921 * sysdeps/unix/sysv/aix/dl-support.c: New file.
922 * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
924 2001-06-19 Ulrich Drepper <drepper@redhat.com>
926 * po/es.po: Update from translation team.
928 2001-06-19 Andreas Jaeger <aj@suse.de>
930 * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
932 * math/libm-test.inc (tanh_test): Test for 2^-56.
934 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
935 equals argument when x < 2^-55.
936 Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
938 2001-06-17 Alan Modra <amodra@bigpond.net.au>
940 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs
941 at unaligned address.
943 2001-06-18 Ulrich Drepper <drepper@redhat.com>
945 * posix/regex.c: Reorganize code to build code twice, once for single
946 byte, once for multi-byte charsets. Choose function set adequate for
948 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
950 * po/nl.po: Update from translation team.
952 2001-06-09 Bruno Haible <haible@clisp.cons.org>
954 * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
955 (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
956 * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
958 2001-05-26 Bruno Haible <haible@clisp.cons.org>
960 * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
961 * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
963 2001-06-17 Roland McGrath <roland@frob.com>
965 * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
966 not LIO_READ + 1 (which is the value of LIO_WRITE!).
968 * Makerules (build-module-helper-objlist): New variable,
969 broken out of build-module. Insert --whole-archive/--no-whole-archive
970 immediately each *_pic.a file in the link object list.
971 (whole-archive): New variable, used by that.
972 (build-module-objlist): New variable using build-module-helper-objlist.
973 (build-module, build-module-helper): Use it.
974 (build-shlib-objlist): New variable using build-module-helper-objlist.
975 (build-shlib): Use that.
976 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
978 * posix/spawni.c: Moved to ...
979 * sysdeps/posix/spawni.c: ... here.
980 * sysdeps/generic/spawni.c: New file.
982 2001-06-16 Roland McGrath <roland@frob.com>
984 * hurd/Makefile (routines): Add lookup-retry.
985 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
986 * hurd/lookup-retry.c: ... into here, new file.
987 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
988 using of duplicate code here.
990 * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
992 2001-06-17 Ulrich Drepper <drepper@redhat.com>
994 * po/ja.po: Update from translation team.
996 2001-06-04 Bruno Haible <haible@clisp.cons.org>
998 * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
999 compare_files): New functions.
1000 (write_locale_data): Use xmalloc. Compare the file with the locale
1001 data files for the same category in other locales, and reuse it if
1004 2001-06-07 Mark Kettenis <kettenis@gnu.org>
1006 * grp/initgroups.c (initgroups): Factor out re-usable code into...
1007 (internal_getgrouplist): ... new function.
1008 (getgrouplist): New function.
1009 * grp/grp.h (getgrouplist): New prototype.
1010 * grp/Versions [2.2.4]: Add getgrouplist.
1012 2001-06-16 Ulrich Drepper <drepper@redhat.com>
1014 * inet/netinet/ip6.h: Fix comments in ip6_hdr.
1015 Patch by Pekka Savola <pekkas@netcore.fi>.
1017 2001-06-15 Roland McGrath <roland@frob.com>
1019 * rt/Makefile (aio-routines, clock-routines, timer-routines): New
1020 variables, broken out of librt-routines.
1021 (librt-routines): Set using those.
1022 (extra-libs, extra-libc-others, tests): Set these unconditionally.
1023 (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
1024 * sysdeps/generic/aio_fsync.c: New file.
1025 * sysdeps/generic/aio_misc.c: New file.
1026 * sysdeps/generic/aio_write.c: New file.
1027 * sysdeps/generic/aio_write64.c: New file.
1028 * sysdeps/generic/aio_read64.c: New file.
1029 * sysdeps/generic/aio_read.c: New file.
1030 * sysdeps/generic/aio_notify.c: New file.
1031 * sysdeps/generic/lio_listio64.c: New file.
1032 * sysdeps/generic/lio_listio.c: New file.
1033 * sysdeps/generic/aio_cancel.c: New file.
1034 * sysdeps/generic/aio_misc.h: New file.
1035 * sysdeps/generic/aio_suspend.c: New file.
1036 * rt/aio_cancel.c: Moved to ...
1037 * sysdeps/pthread/aio_cancel.c: ... here.
1038 * rt/aio_fsync.c: Moved to ...
1039 * sysdeps/pthread/aio_fsync.c: ... here.
1040 * rt/aio_misc.c: Moved to ...
1041 * sysdeps/pthread/aio_misc.c: ... here.
1042 * rt/aio_misc.h: Moved to ...
1043 * sysdeps/pthread/aio_misc.h: ... here.
1044 * rt/aio_notify.c: Moved to ...
1045 * sysdeps/pthread/aio_notify.c: ... here.
1046 * rt/aio_read.c: Moved to ...
1047 * sysdeps/pthread/aio_read.c: ... here.
1048 * rt/aio_read64.c: Moved to ...
1049 * sysdeps/pthread/aio_read64.c: ... here.
1050 * rt/aio_suspend.c: Moved to ...
1051 * sysdeps/pthread/aio_suspend.c: ... here.
1052 * rt/aio_write.c: Moved to ...
1053 * sysdeps/pthread/aio_write.c: ... here.
1054 * rt/aio_write64.c: Moved to ...
1055 * sysdeps/pthread/aio_write64.c: ... here.
1056 * rt/lio_listio.c: Moved to ...
1057 * sysdeps/pthread/lio_listio.c: ... here.
1058 * rt/lio_listio64.c: Moved to ...
1059 * sysdeps/pthread/lio_listio64.c: ... here.
1061 2001-06-14 Roland McGrath <roland@frob.com>
1063 * configure.in: Let sysdeps Implies files in add-ons bring in
1064 sysdeps directories from the main source and other add-ons too.
1066 2001-06-15 Jakub Jelinek <jakub@redhat.com>
1068 * math/test-misc.c (main): Add tests for nextafter and nexttoward
1069 with +-Inf as second argument.
1071 * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
1073 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
1074 * sysdeps/i386/fpu/s_nexttoward.c: New.
1075 * sysdeps/i386/fpu/s_nexttowardf.c: New.
1076 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
1077 check for NaN, optimize x==+-0 handling.
1078 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
1079 * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
1080 check for NaN, fix sign in x==+-0 case.
1081 * sysdeps/ia64/fpu/s_nexttoward.c: New.
1082 * sysdeps/ia64/fpu/s_nexttowardf.c: New.
1084 2001-06-15 H.J. Lu <hjl@gnu.org>
1086 * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
1087 * rt/tst-aio3.c (do_test): Likewise.
1088 * rt/tst-aio4.c (do_test): Likewise.
1089 * rt/tst-aio5.c (do_test): Likewise.
1090 * rt/tst-aio6.c (do_test): Likewise.
1092 2001-06-15 Andreas Schwab <schwab@suse.de>
1094 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
1095 * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
1097 2001-06-15 Andreas Jaeger <aj@suse.de>
1099 * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
1101 2001-06-14 Andreas Schwab <schwab@suse.de>
1103 * elf/ldconfig.c (search_dir): Fix check for regular file.
1105 * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
1106 * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
1108 2001-06-14 Roland McGrath <roland@frob.com>
1110 * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
1111 (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
1113 2001-06-13 Roland McGrath <roland@frob.com>
1115 * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
1117 * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
1118 so the label is not considered unused.
1120 * sysdeps/mach/hurd/pwrite64.c: New file.
1121 * sysdeps/mach/hurd/pread64.c: New file.
1123 * sysdeps/mach/hurd/pread.c
1124 (__libc_pread): Define this name, with __pread as an alias.
1125 * sysdeps/mach/hurd/pwrite.c
1126 (__libc_pwrite): Define this name, with __pwrite as an alias.
1128 Implement POSIX "shared memory objects" as regular
1129 files residing in the /var/run/shm/ directory.
1130 This works on any system that supports _POSIX_MAPPED_FILES,
1131 to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
1132 * sysdeps/posix/shm_open.c: New file.
1133 * sysdeps/posix/shm_unlink.c: New file.
1134 * sysdeps/mach/hurd/bits/posix_opt.h
1135 (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
1137 * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
1138 Use raise instead of __aio_sigqueue.
1140 * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
1141 * sysdeps/mach/hurd/pwrite.c: Likewise.
1143 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
1144 [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
1145 as default version set.
1147 2001-06-13 Ulrich Drepper <drepper@redhat.com>
1149 * libio/iolibio.h (_IO_freopen): Correct last parameter to
1151 (_IO_freopen64): Likewise.
1152 Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
1154 * elf/elf.h: Add a few more EM_* constants.
1156 2001-06-12 Bruno Haible <haible@clisp.cons.org>
1158 * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
1160 2001-06-09 Ben Collins <bcollins@debian.org>
1162 * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
1163 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1164 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1165 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1166 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1167 * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
1170 2001-06-13 Ulrich Drepper <drepper@redhat.com>
1172 * time/sys/time.h: Don't use enum __itimer_which ever for
1173 __itimer_which_t for C++.
1174 Reported by Martin Buchholz <martin@xemacs.org>.
1176 * po/fr.po: Update from translation team.
1178 2001-06-12 H.J. Lu <hjl@gnu.org>
1180 * configure.in: Fix typos in missing program names.
1181 * configure: Regenerated.
1183 2001-06-12 Andreas Jaeger <aj@suse.de>
1185 * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
1187 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1189 2001-06-11 Andreas Jaeger <aj@suse.de>
1191 * sysdeps/ieee754/ldbl-128/e_coshl.c: New file. Contributed by
1192 Stephen L Moshier <moshier@mediaone.net>.
1194 * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
1196 * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1197 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1199 2001-06-11 Michael Deutschmann <michael@talamasca.ocis.net>
1201 * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
1202 Use my_signo instead of MY_SIGNO and initialize it so that the
1203 used signal is always available.
1205 2001-06-11 Andreas Jaeger <aj@suse.de>,
1206 Michael Deutschmann <michael@talamasca.ocis.net>
1208 * io/test-lfs.c (do_prepare): Clean up error messages.
1209 (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
1210 (do_test): Likewise.
1212 2001-06-11 Andreas Jaeger <aj@suse.de>
1214 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
1215 IMAXBEL): Make always visible since they're needed by POSIX.
1216 Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
1218 2001-06-10 Ben Collins <bcollins@debian.org>
1220 * sysdeps/arm/elf/start.S: Use #function, not @function, for
1223 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
1226 2001-06-07 H.J. Lu <hjl@gnu.org>
1228 * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
1230 2001-06-10 Roland McGrath <roland@frob.com>
1232 * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
1233 * elf/reldep4mod4.c: Likewise.
1235 2001-06-10 Mark Kettenis <kettenis@gnu.org>
1237 * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
1239 2001-06-08 Andreas Schwab <schwab@suse.de>
1241 * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
1242 Don't dereference at end of string.
1244 2001-06-06 Roland McGrath <roland@frob.com>
1246 * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
1247 From Robert Bihlmeyer <robbe@orcus.priv.at>.
1249 2001-06-06 Ulrich Drepper <drepper@redhat.com>
1251 * po/ko.po: Update from translation team.
1253 2001-06-06 Andreas Jaeger <aj@suse.de>
1255 * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
1257 Reported by Robert Bernecky <bernecky@acm.org>.
1259 2001-06-06 Jakub Jelinek <jakub@redhat.com>
1261 * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
1262 * sysdeps/ia64/elf/start.S: Likewise.
1263 * sysdeps/sh/elf/start.S: Likewise.
1264 * sysdeps/s390/s390-32/elf/start.S: Likewise.
1265 * sysdeps/s390/s390-64/elf/start.S: Likewise.
1267 2001-06-05 Matthew Wilcox <willy@ldl.fc.hp.com>
1269 * sysdeps/hppa/bsd-_setjmp.S: New.
1270 * sysdeps/hppa/bsd-setjmp.S: New.
1272 * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
1273 gcc warnings about multi-line strings.
1275 * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
1276 * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
1278 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
1279 setrlimit directly instead of using wrappers.
1281 2001-05-01 Richard Hirst <rhirst@linuxcare.com>
1283 * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
1284 * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
1286 2001-06-05 Philipp Thomas <pthomas@suse.de>
1288 * nis/nis_call.c (__nisbind_connect): Don't mark for translation
1289 what can't be translated.
1291 2001-06-06 Ulrich Drepper <drepper@redhat.com>
1293 * timezone/zic.c: Update from tzcode2001c.
1294 * timezone/private.h: Likewise.
1295 * timezone/africa: Update from tzdata2001c.
1296 * timezone/asia: Likewise.
1297 * timezone/europe: Likewise.
1298 * timezone/northamerica: Likewise.
1299 * timezone/southamerica: Likewise.
1300 * timezone/zone.tab: Likewise.
1302 2001-06-04 Bruno Haible <haible@clisp.cons.org>
1304 * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
1305 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
1306 UNICODE_TAG_HANDLER.
1307 (__gconv_transform_internal_ucs2): Likewise.
1308 (__gconv_transform_internal_ucs2reverse): Likewise.
1309 * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
1310 * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
1311 * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
1312 * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
1313 * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
1314 * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
1315 * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
1316 * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
1317 * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
1318 * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
1319 * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
1320 * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
1321 * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
1322 * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
1323 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1324 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1325 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1326 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1327 * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
1328 * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
1329 * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
1330 * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
1331 * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
1332 * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
1333 * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
1334 * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
1335 * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
1336 * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
1337 * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
1338 * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
1339 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
1340 * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
1341 TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
1342 TAG_language_zh, CURRENT_TAG_MASK): New enum values.
1343 (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
1344 is already selected but set2 or tag are set.
1345 (conversion): New enum type.
1346 (cvlist_t): New type.
1347 (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
1348 (conversion_lists): New array.
1349 (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. If "ja",
1350 prefer conversion to Japanese character sets. If "zh", prefer
1351 conversion to GB2312. If "ko", prefer conversion to KSC5601. Small
1353 (INIT_PARAMS): Add tag.
1354 (UPDATE_PARAMS): Add tag.
1356 2001-06-04 Bruno Haible <haible@clisp.cons.org>
1358 * locale/programs/locfile.c (write_locale_data): Before creat(),
1359 unlink the file, to avoid crashing the processes that mmap it. Change
1360 a double slash to a single slash. Free fname in case of error return.
1362 2001-06-02 Jakub Jelinek <jakub@redhat.com>
1364 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
1365 changes, do the special handling for denormal numbers, not for
1366 normalized numbers (patch by <trevin@xmission.com>).
1368 * math/test-misc.c (main): Test frexpl with denormal arguments.
1370 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1372 * math/libm-test.inc (llround_test): Add two new llround tests.
1373 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
1374 overflow when rounding away from zero.
1376 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1378 * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
1379 * math/math_private.h (__ieee754_log2, __ieee754_log2f,
1380 __ieee754_log2l): New prototypes.
1381 * sysdeps/generic/w_log2.c: New file.
1382 * sysdeps/generic/w_log2f.c: New file.
1383 * sysdeps/generic/w_log2l.c: New file.
1384 * sysdeps/generic/s_log2l.c: Move...
1385 * sysdeps/generic/e_log2l.c: ...to here. Rename to __ieee754_log2l.
1386 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
1388 * sysdeps/i386/fpu/s_log2.S: Move...
1389 * sysdeps/i386/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
1390 * sysdeps/i386/fpu/s_log2f.S: Move...
1391 * sysdeps/i386/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
1392 * sysdeps/i386/fpu/s_log2l.S: Move...
1393 * sysdeps/i386/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
1394 * sysdeps/m68k/fpu/s_log2.c: Move...
1395 * sysdeps/m68k/fpu/e_log2.c: ...to here. Rename to __ieee754_log2.
1396 * sysdeps/m68k/fpu/s_log2f.c: Move...
1397 * sysdeps/m68k/fpu/e_log2f.c: ...to here. Rename to __ieee754_log2f.
1398 * sysdeps/m68k/fpu/s_log2l.c: Move...
1399 * sysdeps/m68k/fpu/e_log2l.c: ...to here. Rename to __ieee754_log2l.
1400 * sysdeps/ieee754/dbl-64/s_log2.c: Move...
1401 * sysdeps/ieee754/dbl-64/e_log2.c: ...to here. Rename to
1403 * sysdeps/ieee754/flt-32/s_log2f.c: Move...
1404 * sysdeps/ieee754/flt-32/e_log2f.c: ...to here. Rename to
1407 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1409 * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
1410 even arguments which result in denormalized exp2 are accepted.
1411 (__exp2): Arguments equal to u_threshold already result into
1413 * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
1414 * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
1415 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
1416 low, with corrected lowmark use greaterequal, not greater.
1417 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1419 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1421 * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
1422 * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
1423 * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
1424 * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
1425 * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
1426 * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
1427 * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
1428 * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
1430 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1432 * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
1433 gave non-finite result instead of using constant in generic
1435 * sysdeps/generic/w_coshf.c (__coshf): Likewise.
1436 * sysdeps/generic/w_cosh.c (__cosh): Likewise.
1437 * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
1438 (__exp10): Test if finite argument gave non-finite result.
1439 * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
1441 * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
1444 2001-06-04 Jakub Jelinek <jakub@redhat.com>
1446 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
1447 overflow threshold constant (log(LDBL_MAX)+M_LN2l).
1449 2001-05-29 Bruno Haible <haible@clisp.cons.org>
1451 * locale/programs/ld-ctype.c (idx_table): New struct type.
1452 (idx_table_init, idx_table_get, idx_table_add): New functions.
1453 (MAX_CHARNAMES_IDX): Remove macro.
1454 (locale_ctype_t): Change type of charnames_idx field.
1455 (ctype_startup): Change initialization of charnames_idx field.
1456 (find_idx): Use idx_table_get and idx_table_add for speed.
1458 * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
1459 computation of characters in a range.
1461 2001-05-29 Bruno Haible <haible@clisp.cons.org>
1463 * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
1465 (__ucs_to_gb18030_tab1): Likewise.
1466 (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
1467 (BODY for TO_LOOP): Likewise.
1468 * iconvdata/tst-table-charmap.sh: Update for charmaps containing
1470 * iconvdata/tst-table-from.c (bmp_only): New variable.
1471 (utf8_decode): If bmp_only, don't return characters outside Unicode
1473 (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print
1474 a conversion line if utf8_decode returns NULL.
1475 * iconvdata/tst-table-to.c (main): When testing encodings other than
1476 UTF-8 and GB18030, loop upto U+30000 instead of U+10000. Use UTF-8
1477 instead of UCS-2 as input.
1478 * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
1481 2001-05-29 Bruno Haible <haible@clisp.cons.org>
1483 * iconvdata/cns11643l1.c: Update to Unicode 3.1.
1484 (__cns11643l1_to_ucs4_tab): Regenerated.
1485 (__cns11643l1_from_ucs4_tab12): Regenerated.
1486 * iconvdata/cns11643.c: Update to Unicode 3.1.
1487 (__cns11643l14_to_ucs4_tab): Remove array.
1488 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
1489 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
1490 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
1491 (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
1492 (__cns11643_from_ucs4p2_tab): New array.
1493 * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
1494 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
1495 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
1496 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
1497 (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
1498 (__cns11643_from_ucs4_tab): Remove declaration.
1499 (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
1501 (ucs4_to_cns11643): Update for new arrays. Treat U+3400..U+4DFF and
1503 * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
1505 (__cns11643_from_ucs4p0_tab): New declaration.
1506 (ucs4_to_cns11643l2): Update for new arrays.
1507 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
1509 (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
1510 * iconvdata/EUC-TW.irreversible: New file.
1511 * iconvdata/tst-table.sh: Use it.
1512 * iconvdata/Makefile (distribute): Add CP1255.irreversible,
1513 CP1258.irreversible, EUC-TW.irreversible.
1515 2001-05-29 Bruno Haible <haible@clisp.cons.org>
1517 * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
1518 mathematical symbols.
1520 2001-06-05 Andreas Jaeger <aj@suse.de>
1522 * manual/stdio.texi (Portable Positioning): Fix description of
1523 fpos_t and fpos64_t.
1525 2001-06-06 Ulrich Drepper <drepper@redhat.com>
1527 * sysdeps/generic/wordexp.c: Undo last patch. Use strndupa instead.
1529 * po/sk.po: Update from translation team.
1531 2001-06-05 Andreas Jaeger <aj@suse.de>
1533 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
1534 tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
1535 Closes PR libc/2315.
1537 2001-06-05 Ulrich Drepper <drepper@redhat.com>
1539 * sysdeps/generic/wordexp.c: Add missing free.
1540 Patch by yeti@physics.muni.cz.
1542 2001-06-02 Tom Browder <tbrowder@home.com>
1544 * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
1545 within bounds when lag > 0.
1547 2001-06-05 Ulrich Drepper <drepper@redhat.com>
1549 * po/tr.po: New file.
1551 2001-06-05 Andreas Jaeger <aj@suse.de>
1553 * manual/libm-err-tab.pl (parse_ulps): Fix typo.
1555 2001-06-04 H.J. Lu <hjl@gnu.org>
1557 * sysdeps/alpha/elf/start.S: Add .type for the entry point.
1558 * sysdeps/arm/elf/start.S: Likewise.
1559 * sysdeps/hppa/elf/start.S: Likewise.
1560 * sysdeps/i386/elf/start.S: Likewise.
1561 * sysdeps/m68k/elf/start.S: Likewise.
1562 * sysdeps/mips/elf/start.S: Likewise.
1563 * sysdeps/ia64/elf/start.S: Likewise.
1564 * sysdeps/sh/elf/start.S: Likewise.
1565 * sysdeps/s390/s390-32/elf/start.S: Likewise.
1566 * sysdeps/s390/s390-64/elf/start.S: Likewise.
1567 * sysdeps/cris/elf/start.S: Likewise.
1569 2001-06-04 Bruce Mitchener <bruce@cubik.org>
1571 * manual/resource.texi: Correct setpriority/nice documentation.
1573 * sysdeps/unix/nice.c: Correct nice() implementation.
1575 2001-06-04 Andreas Jaeger <aj@suse.de>
1577 * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
1578 Stephen L Moshier <moshier@mediaone.net>.
1580 2001-06-03 Roland McGrath <roland@frob.com>
1582 * Makefile (postclean): Remove obsolete sysd-Makefile.
1584 2001-06-01 Roland McGrath <roland@frob.com>
1586 * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
1587 and use compat_symbol/versioned_symbol instead of plain
1588 symbol_version/default_symbol_version.
1589 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
1590 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
1591 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
1592 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
1593 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
1594 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
1595 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
1596 * sysdeps/arm/fpu/fegetenv.c: Likewise.
1597 * sysdeps/arm/fpu/fesetenv.c: Likewise.
1598 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
1599 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
1600 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
1601 * sysdeps/i386/fpu/fegetenv.c: Likewise.
1602 * sysdeps/i386/fpu/fesetenv.c: Likewise.
1603 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
1604 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
1605 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1606 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1607 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
1608 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
1609 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
1610 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
1611 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
1612 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
1613 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
1614 * sysdeps/powerpc/fclrexcpt.c: Likewise.
1615 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
1616 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1617 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1618 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
1619 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
1620 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
1622 * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
1623 * iconvdata/iso-2022-cn-ext.c: Likewise.
1625 2001-06-01 Andreas Jaeger <aj@suse.de>
1627 * Versions.def: Add version 2.2.4.
1629 2001-06-01 Ulrich Drepper <drepper@redhat.com>
1631 * socket/Makefile (routines): Add sockatmark.
1632 * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
1633 * socket/sys/socket.h: Add prototype for sockatmark.
1634 * sysdeps/generic/sockatmark.c: New file.
1635 * sysdeps/unix/sockatmark.c: New file.
1637 2001-06-01 Andreas Jaeger <aj@suse.de>
1639 * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
1641 (cfsetospeed): Likewise.
1642 Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
1644 2001-05-31 Joseph S. Myers <jsm28@cam.ac.uk>
1646 * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
1648 2001-05-30 Martin Schwidefsky <schwidefsky@de.ibm.com>
1650 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
1651 needs to have the same aligment as the kernel structure.
1653 2001-05-29 Jakub Jelinek <jakub@redhat.com>
1655 * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
1656 u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
1657 * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
1658 u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
1659 against multiple definition.
1661 2001-05-30 Ulrich Drepper <drepper@redhat.com>
1663 * po/da.po: Update from translation team.
1665 2001-05-29 Andreas Jaeger <aj@suse.de>
1667 * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
1668 Stephen L Moshier <moshier@mediaone.net>.
1670 * math/libm-test.inc (sinh_test): Add new test case.
1672 * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
1674 Patch by Stephen L Moshier <moshier@mediaone.net>.
1676 2001-05-23 Andreas Jaeger <aj@suse.de>
1678 * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
1679 * iconvdata/testdata/WINDOWS-1255..UTF8: this.
1681 2001-05-27 Andreas Jaeger <aj@suse.de>
1683 * manual/stdio.texi (String Streams): Fix fmemopen description.
1684 Reported by Michal Kochanowicz <michal@michal.waw.pl>.
1686 2001-05-26 H.J. Lu <hjl@gnu.org>
1688 * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
1689 to s_sigsuspend. Add s_mmap2.
1691 * sysdeps/mips/atomicity.h: New file.
1693 * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
1695 * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
1698 2001-05-25 Bruce Mitchener <bruce@cubik.org>
1700 * manual/ctype.texi: Minor fix.
1701 * manual/install.texi: Likewise.
1702 * manual/startup.texi: Likewise.
1703 * manual/examples/dir.c: Use perror() rather than puts().
1705 2001-05-25 David Mosberger <davidm@hpl.hp.com>
1707 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
1708 #endif directive inside a comment to avoid compiler warnings.
1710 2001-05-25 Philipp Thomas <pthomas@suse.de>
1712 * nis/nis_print.c (nis_nstype2str): Don't mark names of
1713 naming services for translation, only UNKNOWN needs it.
1714 Add comment to prevent it for the future.
1716 2001-05-25 Joseph S. Myers <jsm28@cam.ac.uk>
1718 * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
1719 3.1 and non-GCC C99 compilers.
1721 2001-05-22 David Mosberger <davidm@hpl.hp.com>
1723 * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
1725 * sysdeps/ia64/memcpy.S: Likewise.
1727 * sysdeps/ia64/bcopy.S: New file.
1729 * sysdeps/ia64/bzero.S: New file (derived from memset.S).
1731 2001-05-26 Ulrich Drepper <drepper@redhat.com>
1733 * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
1735 2001-05-24 Ulrich Drepper <drepper@redhat.com>
1737 * iconvdata/Makefile: Add rules for CP10007.
1738 * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
1739 * iconvdata/cp10007.c: New file.
1740 * iconvdata/tst-tables.sh: Add CP10007.
1742 2001-05-23 kaz Kojima <kkojima@rr.iij4u.or.jp>
1744 * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
1745 (_dl_runtime_profile): Likewise..
1747 2001-05-23 Thorsten Kukuk <kukuk@suse.de>
1749 * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
1750 * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
1752 2001-05-19 H.J. Lu <hjl@gnu.org>
1754 * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
1755 errstring of the failed DSO to _dl_signal_error ().
1757 2001-05-23 Ulrich Drepper <drepper@redhat.com>
1759 * iconvdata/gconv-modules: Add more aliases to enable use in
1762 2001-05-23 Andreas Jaeger <aj@suse.de>
1764 * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
1765 Remove, it's not used anywhere anymore.
1766 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
1767 (CFLAGS-initfini.s): Likewise.
1768 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1769 (CFLAGS-initfini.s): Likewise.
1770 * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
1772 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
1775 2001-05-21 Bruno Haible <haible@clisp.cons.org>
1777 * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
1778 use 0 instead, and rely on the converter to do the flush.
1779 * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
1781 (utf8_test_2, utf8_test_3): New function.
1782 (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
1784 2001-05-22 Jakub Jelinek <jakub@redhat.com>
1786 * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
1788 * elf/Makefile (distribute): Add reldep4mod[1234].c.
1789 (tests): Add reldep4.
1790 (modules-names): Add reldep4mod[1234].
1791 (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
1792 * elf/reldep4.c: New file.
1793 * elf/reldep4mod1.c: Likewise.
1794 * elf/reldep4mod2.c: Likewise.
1795 * elf/reldep4mod3.c: Likewise.
1796 * elf/reldep4mod4.c: Likewise.
1798 2001-05-18 Jakub Jelinek <jakub@redhat.com>
1800 * elf/dl-lookup.c (PROTECTED): Remove defines.
1801 (add_dependency): Mark it with internal_function.
1802 (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
1803 (_dl_lookup_symbol, _dl_lookup_symbol_skip,
1804 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
1805 it if we don't want do_lookup* inlined.
1807 2001-05-18 Jakub Jelinek <jakub@redhat.com>
1809 * include/link.h (struct r_scope_elem): Remove r_duplist and
1811 * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
1812 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
1814 (_dl_lookup_versioned_symbol_skip): Likewise.
1815 * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
1816 (_dl_map_object_deps): Don't compute duplicate list.
1818 * elf/dl-symbol.c: Removed.
1819 * elf/Makefile (routines): Remove dl-symbol.
1821 2001-05-22 Ulrich Drepper <drepper@redhat.com>
1823 * po/el.po: Update from translation team.
1824 * po/sv.po: Likewise.
1826 2001-05-20 Bruno Haible <haible@clisp.cons.org>
1828 * iconvdata/cp1255.c: Completely rewritten.
1829 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
1830 * iconvdata/testdata/WINDOWS-1255: New file.
1831 * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
1832 * iconvdata/TESTS: Add WINDOWS-1255 test.
1833 * iconvdata/CP1255.irreversible: New file.
1835 2001-05-20 Bruno Haible <haible@clisp.cons.org>
1837 * iconvdata/cp1258.c: Completely rewritten.
1838 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
1839 * iconvdata/testdata/WINDOWS-1258: New file.
1840 * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
1841 * iconvdata/TESTS: Add WINDOWS-1258 test.
1842 * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
1843 the main call, and flush it afterwards.
1844 (utf8_decode): Return a string, possibly containing several Unicode
1846 (main): Update all utf8_decode calls.
1847 * iconvdata/CP1258.irreversible: New file.
1849 2001-05-20 Bruno Haible <haible@clisp.cons.org>
1851 * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
1852 * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2. In the
1853 first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
1854 EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
1855 the next step. In the second case, clear the state without calling
1857 * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
1858 data->__outbuf, and outend instead of data->__outbufend.
1859 * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
1860 * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
1861 * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
1862 * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
1863 * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
1864 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
1865 * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
1866 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
1867 * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
1869 2001-05-21 Jakub Jelinek <jakub@redhat.com>
1871 * elf/rtld.c (dl_main): Compute l_map_end for the main program.
1872 * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
1873 If match == _dl_loaded, caller can still come from the main program.
1874 (_dl_vsym): Likewise.
1875 * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
1876 * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
1877 * elf/restest2.c: New test.
1878 * elf/Makefile (tests): Add restest2.
1879 (restest2, LDFLAGS-restest2): Add rules.
1881 2001-05-22 Ulrich Drepper <drepper@redhat.com>
1883 * intl/Makefile: Add a few more dependencies to avoid races in the
1886 2001-05-22 Andreas Jaeger <aj@suse.de>
1888 * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
1889 Stephen L Moshier <moshier@mediaone.net>.
1891 2001-05-22 Martin Schwidefsky <schwidefsky@de.ibm.com>
1893 * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
1894 return addresses instead of the stack pointers.
1895 * sysdeps/s390/s390-64/backtrace.c: Likewise.
1897 2001-05-21 Jakub Jelinek <jakub@redhat.com>
1899 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
1900 bits/sigcontext.h instead of bits/sigstack.h.
1901 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
1902 multiple-inclusion guards.
1904 2001-05-21 Andreas Jaeger <aj@suse.de>
1906 * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
1907 Patch by Philipp Thomas <pthomas@suse.de>.
1909 2001-05-17 Bruce Mitchener <bruce@cubik.org>
1911 * manual/arpg.texi: Spelling, misc fixes.
1912 * manual/arith.texi: Likewise.
1913 * manual/crypt.texi: Likewise.
1914 * manual/debug.texi: Likewise.
1915 * manual/getopt.texi: Likewise.
1916 * manual/intro.texi: Likewise.
1917 * manual/memory.texi: Likewise.
1918 * manual/nss.texi: Likewise.
1919 * manual/pattern.texi: Likewise.
1920 * manual/process.texi: Likewise.
1921 * manual/resource.texi: Likewise.
1922 * manual/search.texi: Likewise.
1923 * manual/setjmp.texi: Likewise.
1924 * manual/signal.texi: Likewise.
1925 * manual/socket.texi: Likewise.
1926 * manual/stdio.texi: Likewise.
1927 * manual/string.texi: Likewise.
1928 * manual/sysinfo.texi: Likewise.
1929 * manual/terminal.texi: Likewise.
1930 * manual/llio.texi: Document madvise().
1932 2001-05-20 Roland McGrath <roland@frob.com>
1934 * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
1935 found within $(add-ons) directories too.
1936 [linuxthreads add-on]: Move variable settings for linuxthreads
1937 to new file linuxthreads/Makeconfig.
1939 2001-05-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1941 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1942 Define for linux >= 2.4.5 on powerpc.
1943 (__ASSUME_MMAP2_SYSCALL): Likewise.
1945 2001-05-19 Roland McGrath <roland@frob.com>
1947 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
1948 result port when failing with ELOOP. Do the ELOOP check when
1949 following an absolute symlink target as well as relative.
1950 Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
1952 2001-05-18 Andreas Jaeger <aj@suse.de>
1954 * po/fr.po: Free software is "logiciel libre".
1955 Patch by Martin Michlmayr <tbm@cyrius.com>.
1957 * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
1958 Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
1960 2001-05-17 David Mosberger <davidm@hpl.hp.com>
1962 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
1964 2001-05-17 Ulrich Drepper <drepper@redhat.com>
1966 * elf/dl-profile.c (_dl_mcount): Check whether state is
1967 GMON_PROF_ON before doing anything.
1969 2001-05-17 H.J. Lu <hjl@gnu.org>
1971 * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
1973 2001-05-17 Ulrich Drepper <drepper@redhat.com>
1975 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
1976 CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
1977 Reported by Mark Burton <markb@ordern.com>.
1979 2001-05-17 Jakub Jelinek <jakub@redhat.com>
1981 * elf/ldconfig.c (add_dir): Only warn about stat failure if
1983 (search_dir): Likewise.
1985 2001-05-17 Ulrich Drepper <drepper@redhat.com>
1987 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
1988 parameter of xaddl. Patch by H . J . Lu <hjl@lucon.org>.
1990 2001-05-14 Bruno Haible <haible@clisp.cons.org>
1992 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
1993 without previous announcement, reject it regularly, don't abort.
1995 2001-05-16 Ulrich Drepper <drepper@redhat.com>
1997 * math/tgmath.h: Fix handling of int parameters to binary and
1998 ternary functions. Reported by mitr@volny.cz.
2000 * math/test-tgmath.c: Add tests for calls with integer parameters.
2002 2001-05-15 Jakub Jelinek <jakub@redhat.com>
2004 * sunrpc/rpc_thread.c (rpc_default): Remove.
2005 (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
2007 (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
2008 __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
2009 * sunrpc/auth_none.c (authnone_private): Fix a typo.
2011 2001-05-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
2013 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
2015 2001-05-16 Bruce Mitchener <bruce@cubik.org>
2017 * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
2019 2001-05-15 Andreas Jaeger <aj@suse.de>
2021 * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
2022 Stephen L Moshier <moshier@mediaone.net>.
2024 * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
2026 * math/libm-test.inc: Add comment with ToDo.
2028 * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
2029 accurate algorithm. Patch by Stephen L Moshier <moshier@mediaone.net>.
2031 * sysdeps/i386/fpu/e_expl.S: Removed.
2033 2001-05-14 Roland McGrath <roland@frob.com>
2035 * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
2036 static pattern rule also that also covers
2037 $(objpx)g$(static-start-installed-name).
2038 [$(start-installed-name) != $(static-start-installed-name)]
2039 (extra-objs, omit-deps, install-lib): Add
2040 $(static-start-installed-name) and g$(static-start-installed-name).
2041 * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
2042 just setting static-start-installed-name is now sufficient.
2043 (extra-objs): Add static-start.o here.
2044 (CFLAGS-initfini.s): Remove obsolete variable.
2045 * sysdeps/mach/hurd/i386/Makeconfig: New file.
2046 Define static-start-installed-name here.
2048 * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
2049 * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
2051 * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
2052 associated hair. Instead, just use $(wildcard ...) in the include.
2054 * configure.in (critic_missing, aux_missing): Collect in these vars
2055 the names of the missing programs, and include them in the error msgs.
2056 * configure: Regenerated.
2058 2001-05-14 Andreas Jaeger <aj@suse.de>
2060 * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
2062 * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
2064 2001-05-14 Stephen L Moshier <moshier@mediaone.net>
2066 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
2068 2001-05-11 Jakub Jelinek <jakub@redhat.com>
2070 * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
2071 as well if swapping strings.
2072 Make sure stop is not past end of second string.
2073 * posix/bug-regex4.c: New test.
2074 * posix/Makefile (tests): Add bug-regex4.
2076 2001-05-10 Andreas Jaeger <aj@suse.de>
2078 * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
2081 2001-05-12 Andreas Jaeger <aj@suse.de>
2083 * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
2084 internal prototypes.
2085 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2086 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2087 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2088 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2089 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2090 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2091 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2093 * math/math_private.h: Add prototypes for internal functions of
2094 the IBM Accurate Mathematical Library.
2096 * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
2098 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2100 * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
2101 internal prototypes.
2102 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2103 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2104 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2105 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2106 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2107 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2108 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2109 * sysdeps/generic/e_rem_pio2l.c: Likewise.
2110 (__ieee754_rem_pio2l): Fix prototype.
2112 * math/math_private.h (__copysign): Add internal prototype.
2114 2001-05-11 Andreas Jaeger <aj@suse.de>
2116 * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
2117 * sysdeps/unix/sysv/linux/mips/configure.in: ...here. New file.
2119 2001-05-11 Andreas Jaeger <aj@suse.de>
2121 * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
2124 * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
2125 format directive. Patch by Steven J. Hill <sjhill@cotw.com>.
2127 2001-05-11 Roland McGrath <roland@frob.com>
2129 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
2130 $(build-module) here, since we don't need the full magilla.
2131 Just use $(build-module-helper) and append our special options.
2133 2001-05-09 Andreas Schwab <schwab@suse.de>
2135 * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
2138 2001-05-07 H.J. Lu <hjl@gnu.org>
2140 * elf/ldconfig.c (dir_entry): Add ino and dev.
2141 (add_single_dir): Compare ino and dev to check if 2 directory
2142 paths are the same or not. Free entry->path for duplicates.
2143 (add_dir): Initialize ino and dev for entry.
2144 (search_dir): Handle symlink to directory.
2146 2001-05-07 Andreas Jaeger <aj@suse.de>
2148 * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
2150 * math/libm-test.inc (exp_test): Add some more tests.
2151 (pow_test): Run double only test also for long double.
2153 * math/test-ldouble.c (TEST_LDOUBLE): Define.
2154 * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
2156 * sysdeps/generic/bits/confname.h: Remove extra comma at end of
2158 Closes PR libc/2240.
2160 * scripts/config.guess: Imported from gnu.org.
2161 * scripts/config.sub: Likewise.
2163 2001-05-05 Jakub Jelinek <jakub@redhat.com>
2165 * include/features.h (__USE_EXTERN_INLINES): Don't define if
2166 __NO_INLINE__ is defined.
2167 * ctype/ctype.h (tolower, toupper): Change the guard condition to
2168 __USE_EXTERN_INLINES check only.
2169 * stdlib/stdlib.h (strtod, ...): Likewise.
2170 * wcsmbs/wchar.h (mbrlen): Likewise.
2171 * string/string.h: Only include bits/string.h and bits/string2.h
2172 if __NO_INLINE__ is not defined.
2174 2001-05-07 Andreas Jaeger <aj@suse.de>
2176 * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
2179 2001-05-04 H.J. Lu <hjl@gnu.org>
2181 * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
2184 2001-05-06 Andreas Jaeger <aj@suse.de>
2186 * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
2187 * sysdeps/i386/fpu/e_fmodl.S: Removed.
2188 * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
2189 * sysdeps/i386/fpu/e_atan2l.S: Removed.
2190 * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
2191 * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
2192 * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
2193 * sysdeps/i386/fpu/e_acosl.S: Removed.
2194 * sysdeps/i386/fpu/s_atanl.S: Removed.
2195 * sysdeps/i386/fpu/e_sqrtl.S: Removed.
2197 2001-05-05 Mark Kettenis <kettenis@gnu.org>
2199 * sysdeps/mach/hurd/bits/environments.h: Add comment from
2200 sysdeps/generic/bits/environments.h. Define _POSIX_V6_* values.
2202 2001-04-30 Jakub Jelinek <jakub@redhat.com>
2204 * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
2205 that _CS_LFS_CFLAGS can fall through to the empty returned string
2206 case. Add FALLTHROUGH comment.
2208 2001-04-29 Ralf Baechle <ralf@gnu.org>
2210 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
2211 definitions match the kernel definitions.
2212 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
2213 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2215 2001-04-29 Ben Collins <bcollins@debian.org>
2217 * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
2219 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
2220 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2221 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2222 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
2223 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
2224 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2225 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2226 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2227 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2228 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2229 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2230 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2231 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
2232 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2233 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
2234 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2235 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2236 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2237 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2238 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
2239 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
2240 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
2241 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2243 2001-04-29 Andreas Schwab <schwab@suse.de>
2245 * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
2248 2001-04-29 Andreas Jaeger <aj@suse.de>
2250 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2251 Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
2253 * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
2255 (AF_WANPIPE): Likewise.
2258 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
2259 for Linux generic version.
2260 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
2261 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2262 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2263 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
2265 * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
2267 2001-04-27 Ulrich Drepper <drepper@redhat.com>
2269 * nis/nss-nis.h: Correct test for invalid error number.
2270 * nis/nss-nisplus.h: Likewise.
2272 * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
2274 2001-04-26 Ulrich Drepper <drepper@redhat.com>
2276 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
2278 * string/strcoll.c: Fix two memory allocation problems.
2279 * string/Makefile (tests): Add bug-strcoll1.
2280 * string/bug-strcoll1.c: New file.
2282 * malloc/mcheck.c (mcheck): Call malloc once before setting the
2283 hooks to allow the internal check hooks to be set up if necessary.
2285 * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
2286 and rename to __yperr2nss_tab. Change YPERR_COUNT into variable
2288 * nis/nss-nis.c: New file.
2289 * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
2290 and rename to __niserr2nss_tab. Change NISERR_COUNT into variable
2292 * nis/nss-nisplus.c: New file.
2293 * nis/Makefile (libnss_compat-routines): Add nss-nis.
2294 (libnss_nis-routines): Likewise.
2295 (libnss_nisplus-routines): Add nss-nisplus.
2297 * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
2298 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2299 * nis/nss_nisplus/nisplus-grp.c: Likewise.
2300 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2301 * nis/nss_nisplus/nisplus-network.c: Likewise.
2302 * nis/nss_nisplus/nisplus-proto.c: Likewise.
2303 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2304 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2305 * nis/nss_nisplus/nisplus-service.c: Likewise.
2306 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2307 * nis/nss_nis/nis-alias.c: Likewise.
2308 * nis/nss_nis/nis-ethers.c: Likewise.
2309 * nis/nss_nis/nis-grp.c: Likewise.
2310 * nis/nss_nis/nis-network.c: Likewise.
2311 * nis/nss_nis/nis-proto.c: Likewise.
2312 * nis/nss_nis/nis-pwd.c: Likewise.
2313 * nis/nss_nis/nis-spwd.c: Likewise.
2314 * nis/nss_compat/compat-grp.c: Likewise.
2315 * nis/nss_compat/compat-initgroups.c: Likewise.
2316 * nis/nss_compat/compat-pwd.c: Likewise.
2317 * nis/nss_compat/compat-spwd.c: Likewise.
2319 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
2320 optimizations. Patch by Jakub Jelinek <jakub@redhat.com>.
2322 2001-04-26 Andreas Jaeger <aj@suse.de>
2324 * po/zh_TW.po: Update.
2325 Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
2327 2001-04-25 Ulrich Drepper <drepper@redhat.com>
2329 * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
2330 compiler command line.
2331 * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
2332 command line for malloc.c.
2334 2001-04-25 Jakub Jelinek <jakub@redhat.com>
2336 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
2337 * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
2338 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
2339 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
2340 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here. Adjust
2341 struct msghdr for __WORDSIZE == 32.
2342 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
2343 * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
2344 for __WORDSIZE == 32.
2345 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
2346 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
2348 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
2349 Rename from longjmp, make longjmp weak alias to it.
2351 2001-04-24 David S. Miller <davem@redhat.com>
2353 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
2355 2001-04-25 Matthew Wilcox <willy@ldl.fc.hp.com>
2357 * sysdeps/hppa/stackinfo.h: New file.
2358 * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
2359 * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
2360 * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
2361 * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
2362 of PA kernel features.
2364 2001-04-25 Ulrich Drepper <drepper@redhat.com>
2366 * locale/programs/localedef.c (main): Always set a file name for
2368 * locale/programs/locfile.c (locfile_read): filename is allowed to
2371 2001-04-12 Paul Bame <paul_bame@hp.com>
2373 * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
2376 2001-04-24 Ulrich Drepper <drepper@redhat.com>
2378 * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
2379 _XBS5_LPBIG_OFFBIG): Define to -1.
2382 * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
2383 * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
2384 * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2385 * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2387 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
2388 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
2390 2001-03-21 Alan Modra <alan@one.net.au>
2392 * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
2393 value from application so that constructors in non-PIC libs work.
2395 2000-12-13 Jes Sorensen <jes@linuxcare.com>
2397 * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
2398 function pointer, hence load the jump address and gp from the
2399 function pointer before jumping.
2401 2001-04-24 Andreas Jaeger <aj@suse.de>
2403 * sysdeps/generic/send.c (__send): Return ssize_t.
2404 * sysdeps/mach/hurd/send.c (__send): Likewise.
2405 * sysdeps/mach/hurd/recv.c (recv): Likewise.
2406 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
2407 * sysdeps/generic/sendto.c (sendto): Likewise.
2408 * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
2409 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
2410 * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
2411 * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
2413 * socket/sys/socket.h: send* and recv* return ssize_t.
2415 * include/sys/socket.h: send returns ssize_t.
2417 * sysdeps/i386/fpu_control.h: Fix comments.
2419 2001-04-24 Ulrich Drepper <drepper@redhat.com>
2421 * sysdeps/ia64/Dist: Add hp-timing.c.
2422 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
2423 * posix/Makefile (distribute): Add tst-getconf.sh.
2424 * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
2426 2001-04-23 Ulrich Drepper <drepper@redhat.com>
2428 * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
2429 * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
2430 * sysdeps/ia64/hp-timing.c: New file.
2431 * sysdeps/ia64/hp-timing.h: New file.
2432 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
2433 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
2435 * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
2436 using #ifdef whether the clock is available.
2437 * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
2439 * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
2440 it into data section.
2442 * sysdeps/unix/i386/i586/clock_getres.c: Removed.
2443 * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
2444 * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
2445 * sysdeps/unix/i386/i586/clock_settime.c: Removed.
2446 * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
2447 * sysdeps/generic/cpuclock-init.h: Removed.
2448 * sysdeps/unix/i386/i686/Implies: Removed.
2449 * sysdeps/unix/i386/i686/tempname.c: Removed.
2450 * sysdeps/i386/i686/Versions: New file.
2451 * sysdeps/unix/i386/i586/Versions: Removed.
2453 * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
2454 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
2455 * sysdeps/unix/clock_gettime.c: Likewise.
2456 * sysdeps/unix/clock_nanosleep.c: Likewise.
2457 * sysdeps/unix/clock_settime.c: Likewise.
2458 * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
2459 RANDOM_BITS use CPU clock.
2461 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
2462 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
2463 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
2464 * sysdeps/sparc/Versions: New file.
2466 * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
2467 hp-timing.h definitions.
2468 * sysdeps/generic/dl-sysdep.c: Likewise.
2470 * include/libc-internal.h: Include hp-timing.h. Use hp_timing_t in
2471 __get_clockfreq prototype.
2473 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2474 Use hp_timing_t type.
2475 * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
2477 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
2479 * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
2480 whether named file is a regular file or a block device.
2481 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2483 2001-04-23 Andreas Jaeger <aj@suse.de>
2485 * nscd/nscd.h: Add noreturn attribute for start_threads.
2487 2001-04-22 Ulrich Drepper <drepper@redhat.com>
2489 * posix/getconf.c: Fix names of XBS5 LFS test variables.
2490 Add missing configuration variables from XPG6.
2491 * posix/tst-getconf.c: New file.
2492 * posix/Makefile (generated): Add tst-getconf.out.
2493 (tests): Add ($objpfx)tst-getconf.out.
2494 Add rule to run tst-getconf.sh.
2495 * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
2497 * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
2499 * sysdeps/posix/pathconf.c: Likewise.
2500 * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
2501 and _SC_SYMLOOP_MAX.
2503 2001-04-22 Philip Blundell <philb@gnu.org>
2505 * sysdeps/arm/fpu/feenablxcpt.c: New file.
2506 * sysdeps/arm/fpu/fedisablxcpt.c: New file.
2507 * sysdeps/arm/fpu/fegetexcpt.c: New file.
2509 2001-04-22 Philip Blundell <philb@gnu.org>
2511 * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
2512 Renamed from struct user_fp.
2513 (struct user_regs): New.
2514 (struct user): Use struct user_regs rather than struct pt_regs to
2515 avoid dependency on asm/ptrace.h. Use struct user_fpregs in place
2516 of struct user_fp and struct user_fp_struct.
2517 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
2520 2001-04-22 Philip Blundell <philb@gnu.org>
2522 * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
2523 sys/procfs.h, and tell the user to include that file instead.
2524 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
2525 surrounded with #if 0.
2526 (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
2528 (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
2529 elf_fpregset_t respectively.
2531 2001-04-22 Philip Blundell <philb@gnu.org>
2533 * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
2534 address that faulted.
2536 2001-04-21 Ulrich Drepper <drepper@redhat.com>
2538 * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
2540 * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
2541 * posix/confstr.c: Handle _CS_POSIX_V6_* values.
2542 * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
2543 * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
2545 * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
2546 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2547 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2548 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2550 2001-04-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2552 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
2555 2001-04-21 Ulrich Drepper <drepper@redhat.com>
2557 * posix/getopt.h: Treat __cplusplus like __STDC__.
2559 2001-04-20 John S. Marvin <jsm@fc.hp.com>
2561 * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
2564 2001-04-20 Richard Hirst <rhirst@linuxcare.com>
2566 * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
2567 and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
2569 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
2570 entry so the ptrace.c wrapper is used.
2572 2001-04-20 Alan Modra <amodra@one.net.au>
2574 * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
2575 (DL_FUNCTION_ADDRESS): Define.
2576 (DL_DT_INIT_ADDRESS): Define.
2577 (DL_DT_FINI_ADDRESS): Define.
2578 * sysdeps/hppa/Versions: Add _dl_function_address.
2579 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
2580 * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
2581 _dl_function_address.
2583 2001-04-21 Andreas Jaeger <aj@suse.de>
2585 * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
2586 * resolv/gai_misc.c (handle_requests): Likewise.
2587 * malloc/obstack.c (print_and_abort): Likewise.
2588 * malloc/mcheck.c (mabort): Likewise.
2590 * sysdeps/unix/i386/i586/clock_settime.c: Include
2591 "libc-internal.h" for __get_clockfreq declaration.
2593 2001-04-21 Ulrich Drepper <drepper@redhat.com>
2595 * elf/dl-support.c: Include cpuclock-init.h. Use CPUCLOCK_VARDEF and
2596 CPUCLOCK_INIT if defined.
2597 * sysdeps/generic/dl-sysdep.c: Likewise.
2598 * sysdeps/generic/cpuclock-init.h: New file.
2599 * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
2600 * sysdeps/unix/i386/i586/Versions: New file.
2601 * sysdeps/unix/i386/i586/clock_settime.c: New file.
2602 * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
2603 separately by calling __pthread_clock_gettime if this function is
2604 available. Subtract offset from tsc value before computing time value.
2606 2001-04-20 Ulrich Drepper <drepper@redhat.com>
2608 * iconv/iconv_prog.c (print_known_names): If printing goes not to
2609 a tty print in a more machine-friendly way.
2611 * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
2612 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2614 2001-04-20 Andreas Jaeger <aj@suse.de>
2616 * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
2618 2001-04-20 Andreas Schwab <schwab@suse.de>
2620 * sysdeps/m68k/fpu/libm-test-ulps: Update.
2622 2001-04-19 Alan Modra <amodra@one.net.au>
2624 * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
2625 * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
2626 (CFLAGS-.os): Remove.
2628 * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
2630 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
2631 gregset): Correct for new kernel definitions.
2633 2001-04-19 Alan Modra <alan@linuxcare.com.au>
2635 * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
2636 generate unwind info by hand.
2638 2001-04-19 Ulrich Drepper <drepper@redhat.com>
2640 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
2642 * configure.in: Correct regular expression for msgfmt.
2643 Patch by Bruno Haible <haible@ilog.fr>.
2645 2001-04-19 Andreas Jaeger <aj@suse.de>
2647 * po/el.po: Add comment explaining what's broken.
2649 * po/Makefile (BROKEN_LINGUAS): New.
2650 (ALL_LINGUAS): Don't add broken languages.
2652 2001-04-19 Roland McGrath <roland@frob.com>
2654 * sysdeps/mach/hurd/mlock.c: New file.
2655 * sysdeps/mach/hurd/munlock.c: New file.
2656 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
2658 * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
2659 * sysdeps/generic/mlock.c: New file.
2660 * sysdeps/generic/munlock.c: New file.
2661 * sysdeps/generic/mlockall.c: New file.
2662 * sysdeps/generic/munlockall.c: New file.
2663 * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
2664 * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
2665 mlockall, munlockall): Change caller field to - from EXTRA.
2666 Don't use __ names; not used (and not declared in include/sys/mman.h).
2668 * hurd/privports.c (__get_privileged_ports): Renamed with __.
2669 Use __ names for calls we make.
2670 (get_privileged_ports): Add alias.
2671 * hurd/hurd.h: Declare it with the __ name.
2672 * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
2673 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
2674 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2676 * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
2677 nothing if it's zero.
2679 2001-04-19 Matthew Wilcox <willy@ldl.fc.hp.com>
2681 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
2682 Change to return a signed result for compatibility with other
2683 architectures, and correctness.
2685 2001-04-19 Ulrich Drepper <drepper@redhat.com>
2687 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
2688 HPPA always had them. Patch by Matthew Wilcox <matthew@wil.cx>.
2690 2001-04-19 Andreas Jaeger <aj@suse.de>
2692 * configure.in: Require gettext 0.10.36 or newer.
2694 * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
2696 * po/zh_TW.po: Remove extraneous backslashes.
2698 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
2701 2001-04-18 Jakub Jelinek <jakub@redhat.com>
2703 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
2704 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
2705 * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
2706 * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
2707 Copy first word of uc_sigmask into __uc_sigmask.
2708 * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
2709 Save uc_link around trap. Copy __uc_sigmask into first word of
2710 uc_sigmask, clear the rest. Make sure setcontext to the created
2711 context doesn't do this though.
2712 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
2713 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
2714 uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
2715 64bit version, make uc_sigmask __sigset_t in the 32bit version.
2717 2001-04-19 Andreas Jaeger <aj@suse.de>
2719 * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
2721 * rt/Makefile (otherlibs): Added for static NSS.
2723 * glibcbug.in (BUGGLIBC): Send to new alias.
2725 2001-04-02 Andreas Schwab <schwab@suse.de>
2727 * Makerules (build-module): Make sure exit codes get checked
2728 properly and remove unnecessary slashes.
2730 2001-04-17 Ulrich Drepper <drepper@redhat.com>
2732 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2733 Handle kernels which report only three digits after the decimal point.
2734 Reported by Van Okamura <van.okamura@oracle.com>.
2736 * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
2738 2001-04-17 David S. Miller <davem@redhat.com>
2740 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
2741 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2743 2001-04-17 Jakub Jelinek <jakub@redhat.com>
2745 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
2746 desired exceptions are raised for exceptional values.
2747 * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
2748 cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
2749 clog_test, log_test, log1p_test, tan_test): Increase precision of
2750 expected values to satisfy ldbl-128.
2751 * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
2752 * sysdeps/arm/libm-test-ulps: Likewise.
2753 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2754 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2755 * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
2756 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2757 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2758 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2759 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2760 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2761 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2763 2001-04-17 Andreas Jaeger <aj@suse.de>
2765 * configure.in: Move test for critical programs up.
2767 2001-04-16 Stephen L Moshier <moshier@mediaone.net>
2769 * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
2771 (pSx, qSx): Replace by shorter approximation.
2772 Use f suffix on float constants.
2774 2001-04-16 Ulrich Drepper <drepper@redhat.com>
2776 * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
2777 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2779 * string/string.h: Replace const in attribute list with __const__.
2781 2001-04-16 Roland McGrath <roland@frob.com>
2783 * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
2784 instead of the constant NGROUPS_MAX. That way, the limit can be
2785 raised in the kernel configuration without having to recompile libc.
2787 * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
2788 define NGROUPS_MAX; we don't use it here.
2790 2001-04-16 Andreas Jaeger <aj@suse.de>
2792 * math/libm-test.inc (atan2_test): Add more testcases.
2794 * iconv/gconv_db.c: Include gconv_charset.h for
2795 __gconv_lookup_alias prototype.
2797 2001-04-13 Ulrich Drepper <drepper@redhat.com>
2799 * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
2800 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2802 2001-04-13 Jes Sorensen <jes@linuxcare.com>
2804 * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
2806 2001-04-13 Jes Sorensen <jes@linuxcare.com>
2808 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
2809 explicitly pad struct siginfo instead of relying on compiler padding.
2811 2001-04-12 Ulrich Drepper <drepper@redhat.com>
2813 * sysdeps/ia64/Dist: Add elf/entry.h.
2815 * iconvdata/Makefile (distribute): Add TESTS2.
2817 2001-04-13 Jakub Jelinek <jakub@redhat.com>
2819 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
2820 Calculate load address differently.
2822 2001-04-12 Bruno Haible <haible@clisp.cons.org>
2824 * iconvdata/TESTS2: New file.
2825 * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
2826 * iconvdata/testdata/alfabeta..UTF-8: New file.
2827 * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
2828 * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
2829 * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
2830 * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
2832 2001-04-11 Bruno Haible <haible@clisp.cons.org>
2834 * iconvdata/utf-32.c: New file.
2835 * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
2836 * iconvdata/Makefile (modules): Add UTF-32.
2837 (distribute): Add utf-32.c.
2839 2001-04-11 Bruno Haible <haible@clisp.cons.org>
2841 * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
2842 changing it in the state. After incrementing 'inptr', store it back.
2843 * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
2846 2001-04-11 Bruno Haible <haible@clisp.cons.org>
2848 * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
2851 2001-04-11 David Mosberger <davidm@hpl.hp.com>
2853 * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
2854 * sysdeps/ia64/htons.S: Likewise.
2856 * sysdeps/ia64/memset.S: Add unwind directives.
2857 * sysdeps/ia64/strncpy.S: Likewise.
2858 * sysdeps/ia64/strcat.S: Likewise.
2860 * sysdeps/ia64/memccpy.S: Add unwind directives. Drop superfluous
2862 * sysdeps/ia64/strchr.S: Likewise.
2863 * sysdeps/ia64/memmove.S: Likewise.
2864 * sysdeps/ia64/memcpy.S: Likewise.
2865 * sysdeps/ia64/memcmp.S: Likewise.
2866 * sysdeps/ia64/memchr.S: Likewise.
2867 * sysdeps/ia64/strcmp.S: Likewise.
2868 * sysdeps/ia64/strlen.S: Likewise.
2869 * sysdeps/ia64/strcpy.S: Likewise.
2870 * sysdeps/ia64/strncmp.S: Likewise.
2872 2001-04-11 Jakub Jelinek <jakub@redhat.com>
2874 * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
2875 fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
2876 fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
2877 fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
2879 2001-04-11 Andreas Jaeger <aj@suse.de>
2881 * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
2883 2001-04-11 Andreas Schwab <schwab@suse.de>
2885 * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
2887 2001-04-11 Ulrich Drepper <drepper@redhat.com>
2889 * sysdeps/arm/stackinfo.h: New file.
2891 2001-04-08 Thorsten Kukuk <kukuk@suse.de>
2893 * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
2894 rpcgen to generate thread safe code.
2896 2001-04-10 Andreas Jaeger <aj@suse.de>
2898 * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
2900 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2902 * elf/dl-minimal.c (__assert_fail): Change error string. It's
2903 most of the time no bug in ld.so.
2904 (__assert_perror_fail): Likewise.
2906 2001-04-11 Hans-Peter Nilsson <hp@axis.com>
2908 * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
2909 from struct to unsigned int.
2911 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2913 * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
2914 AT_IGNOREPPC): New defines.
2915 * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
2916 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2917 Define for newer powerpc kernels.
2918 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
2919 DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
2921 2000-4-10 kaz Kojima <kkojima@rr.iij4u.or.jp>
2923 * sysdeps/sh/stackinfo.h: New file.
2925 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2927 * locale/tst-C-locale.c (run_test): Add tests for locale objects.
2928 * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
2929 __ctype_tolower, and __ctype_toupper elements.
2931 * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
2932 Reported by Konstantin Osipov <rabid@spylog.ru>.
2934 * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
2937 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2939 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
2940 * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
2941 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
2942 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
2944 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2946 * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
2947 message. Based on a patch by HJ Lu.
2949 2001-04-10 Andreas Schwab <schwab@suse.de>
2951 * math/libm-test.inc (csinh_test): Don't require the invalid
2952 exception for csinh (x + iNaN), but make it optional.
2954 2001-04-09 David Mosberger <davidm@hpl.hp.com>
2956 * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
2958 * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
2959 * sysdeps/ia64/elf/entry.h: New file.
2960 * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
2962 * elf/rtld.c: Don't declare ENTRY_POINT. Use ENTRY_POINT instead
2964 * sysdeps/generic/dl-sysdep.c: Likewise.
2965 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2966 * sysdeps/ia64/elf/start.S: Save base address of register backing
2967 store in __libc_ia64_register_backing_store_base.
2969 2001-04-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
2971 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
2972 value of getcontext.
2973 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2974 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
2975 value of setcontext.
2976 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2977 * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
2978 call by changing the saved context.
2980 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2982 * sysdeps/alpha/stackinfo.h: New file.
2983 * sysdeps/ia64/stackinfo.h: New file.
2985 2001-04-10 Andreas Schwab <schwab@suse.de>
2987 * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
2989 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2991 2001-04-09 Ulrich Drepper <drepper@redhat.com>
2993 * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
2994 * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
2996 * libio/Makefile (distribute): Add fd_to_filename.h.
2998 2001-04-05 David S. Miller <davem@redhat.com>
3000 Add hp-timing support for sparcv9/sparc64 targets.
3001 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
3002 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
3003 * sysdeps/sparc/sparc64/hp-timing.c: New file
3004 * sysdeps/sparc/sparc64/hp-timing.h: New file
3005 * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
3006 * sysdeps/sparc/sparc64/Makefile: Likewise.
3008 2001-04-09 Jakub Jelinek <jakub@redhat.com>
3010 * sysdeps/generic/fd_to_filename.h: New file.
3011 * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
3012 * libio/freopen.c (freopen): If FILENAME is NULL, try to get
3013 filename from the open file descriptor.
3014 * libio/freopen64.c (freopen64): Likewise.
3016 2001-04-09 Bruno Haible <haible@clisp.cons.org>
3018 * misc/error.c (error): fflush stdout also if
3019 error_print_progname != NULL.
3020 (error_at_line): Likewise.
3022 2001-04-07 Bruno Haible <haible@clisp.cons.org>
3024 * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
3025 (struct binding): Add codeset_cntr field.
3026 (_nl_load_domain): Add domainbinding argument.
3027 (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
3028 (_nl_find_msg): New declaration, moved here from loadinfo.h.
3029 * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
3030 (_nl_make_l10nflist): Remove domainbinding argument.
3031 (_nl_find_msg): Move declaration to gettextP.h.
3032 * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
3033 to 0. Increment it when ->codeset is changed.
3034 * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
3035 (_nl_find_msg): Add domainbinding argument. Reinitialize the converter
3036 if domainbinding->codeset_cntr has been incremented.
3037 * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
3038 _nl_make_l10nflist(). Pass it to _nl_load_domain() instead.
3039 * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
3040 * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
3041 from _nl_load_domain. Append //TRANSLIT also when using libiconv.
3042 (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
3043 (_nl_load_domain): Add domainbinding argument. Call
3044 _nl_init_domain_conv.
3045 (_nl_unload_domain): Call _nl_free_domain_conv.
3046 * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
3047 (test-srcs): Add tst-codeset.
3048 (tests): Depend on tst-codeset.out.
3049 (tst-codeset.out): New rule.
3050 (CFLAGS-tst-codeset.c): New variable.
3051 * intl/tst-codeset.sh: New file.
3052 * intl/tstcodeset.po: New file.
3053 * intl/tst-codeset.c: New file.
3054 * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
3057 2001-04-07 Roland McGrath <roland@frob.com>
3059 * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
3061 2001-03-31 Roland McGrath <roland@frob.com>
3063 * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
3064 copying send rights into child. When we hit our name for our proc
3065 port, just copy NEWPROC directly instead of repeating proc_task2proc
3066 to install the child's port.
3068 2001-04-08 Roland McGrath <roland@frob.com>
3070 * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
3071 in second column, to provide default values for third column.
3072 * shlib-versions: Add comments about using DEFAULT in second column.
3073 (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
3074 (cris-.*-linux.*): Likewise.
3076 2001-04-09 Ulrich Drepper <drepper@redhat.com>
3078 * Makefile (distribute): Add scripts/documented.sh.
3079 * scripts/documented.sh: New file.
3081 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3083 * sysdeps/unix/sysv/linux/cris/Dist: New file.
3084 * sysdeps/unix/sysv/linux/cris/Makefile: New file.
3085 * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
3086 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
3087 * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
3088 * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
3089 * sysdeps/unix/sysv/linux/cris/brk.c: New file.
3090 * sysdeps/unix/sysv/linux/cris/chown.c: New file.
3091 * sysdeps/unix/sysv/linux/cris/clone.S: New file.
3092 * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
3093 * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
3094 * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
3095 * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
3096 * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
3097 * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
3098 * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
3099 * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
3100 * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
3101 * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
3102 * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
3103 * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
3104 * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
3105 * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
3106 * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
3107 * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
3108 * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
3109 * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
3110 * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
3111 * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
3112 * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
3113 * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
3114 * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
3115 * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
3116 * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
3117 * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
3118 * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
3119 * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
3120 * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
3121 * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
3122 * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
3123 * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
3124 * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
3125 * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
3126 * sysdeps/unix/sysv/linux/cris/socket.S: New file.
3127 * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
3128 * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
3129 * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
3130 * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
3131 * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
3132 * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
3134 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3136 * sysdeps/cris/Dist: New file.
3137 * sysdeps/cris/Implies: New file.
3138 * sysdeps/cris/Makefile: New file.
3139 * sysdeps/cris/__longjmp.S: New file.
3140 * sysdeps/cris/_mcount.S: New file.
3141 * sysdeps/cris/bits/endian.h: New file.
3142 * sysdeps/cris/bits/setjmp.h: New file.
3143 * sysdeps/cris/bits/string.h: New file.
3144 * sysdeps/cris/dl-machine.h: New file.
3145 * sysdeps/cris/elf/start.S: New file.
3146 * sysdeps/cris/machine-gmon.h: New file.
3147 * sysdeps/cris/memcopy.h: New file.
3148 * sysdeps/cris/memusage.h: New file.
3149 * sysdeps/cris/setjmp.S: New file.
3150 * sysdeps/cris/sysdep.h: New file.
3151 * sysdeps/cris/wordcopy.c: New file.
3153 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3155 * elf/elf.h: Add new relocations for CRIS.
3157 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3159 * shlib-versions: Add cases for Linux on CRIS.
3161 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3163 * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
3164 ';' for comments and '@' for line separator.
3166 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3168 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
3169 typo; s/==/=/ for assignment.
3171 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3173 * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
3175 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3177 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
3178 empty input before checking full output.
3180 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
3182 * iconv/gconv.c (__gconv): Don't derefer parameter cd before
3185 2001-04-08 Ulrich Drepper <drepper@redhat.com>
3187 * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
3189 2001-04-07 Stephen L Moshier <moshier@mediaone.net>
3191 * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
3194 2001-04-07 Ulrich Drepper <drepper@redhat.com>
3196 * stdlib/tst-setcontext.c (main): Add a test for setcontext.
3198 * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
3199 * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
3200 * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
3201 * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
3202 * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
3203 * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
3205 2001-04-07 Andreas Jaeger <aj@suse.de>
3207 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
3208 instead of separate sin and cos.
3209 (__ieee754_j1l): Likewise.
3211 2001-04-06 Ulrich Drepper <drepper@redhat.com>
3213 * sysdeps/ia64/abort-instr.h: New file. Code by David Mosberger.
3215 * sysdeps/ia64/atomicity.h: New file. Copied from libstdc++.
3217 * sysdeps/i386/i486/atomicity.h: Clean up the asms.
3219 * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
3221 * sysdeps/generic/e_scalbf.c: Likewise.
3222 * sysdeps/generic/e_scalbl.c: Likewise.
3223 Patch by Mark Hatle <fray@mvista.com>.
3225 2001-04-05 David S. Miller <davem@redhat.com>
3227 * sysdeps/sparc/abort-instr.h: New file.
3229 2001-04-05 Matt Wilson <msw@redhat.com>
3231 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
3232 added code to parse new 2.4 format.
3233 (GET_NPROCS_CONF_PARSER): Likewise.
3235 2001-04-05 David S. Miller <davem@redhat.com>
3237 * scripts/config.sub: Recognize sparcv9b like sparcv9.
3238 * configure.in: Add sparcv9b.
3239 * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
3240 * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
3241 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
3243 2001-04-06 David Mosberger <davidm@hpl.hp.com>
3245 * stdlib/tst-setcontext.c: Move st2[] to global scope.
3246 (f2): Verify that stack pointer is inside st2[].
3248 * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
3249 * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
3251 2001-04-06 Ulrich Drepper <drepper@redhat.com>
3253 * timezone/antarctica: Update from tzdata2001b.
3254 * timezone/asia: Likewise.
3255 * timezone/australasia: Likewise.
3256 * timezone/europe: Likewise.
3257 * timezone/northamerica: Likewise.
3259 * iconv/iconv_open.c: Move strip and upstr definitions...
3260 * iconv/gconv_charset.h: ...here. New file.
3261 * iconv/gconv_db.c (once): Move to file level.
3262 (do_lookup_alias): Split out from __gconv_find_transform.
3263 (__gconv_find_transform): Call do_lookup_alias.
3264 (__gconv_loopup_alias): New function.
3265 * locale/langinfo.h: Define _NL_*_CODESET values for all categories
3267 * locale/categories.def: Add entries for new _NL_*_CODESET values.
3268 * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
3269 * locale/C-address.c: Initialize _NL_*_CODESET element.
3270 * locale/C-collate.c: Likewise.
3271 * locale/C-identification.c: Likewise.
3272 * locale/C-measurement.c: Likewise.
3273 * locale/C-messages.c: Likewise.
3274 * locale/C-monetary.c: Likewise.
3275 * locale/C-name.c: Likewise.
3276 * locale/C-numeric.c: Likewise.
3277 * locale/C-paper.c: Likewise.
3278 * locale/C-telephone.c: Likewise.
3279 * locale/C-time.c: Likewise.
3280 * locale/localeinfo.h: Declare _nl_C_codeset.
3281 * locale/C_name.c: Define _nl_C_codeset.
3282 * locale/findlocale.c: Before accepting locale check that the used
3283 charset does not conflict with what the locale name said.
3284 * locale/programs/ld-address.c: Emit codeset information.
3285 * locale/programs/ld-collate.c: Likewise.
3286 * locale/programs/ld-identification.c: Likewise.
3287 * locale/programs/ld-measurement.c: Likewise.
3288 * locale/programs/ld-messages.c: Likewise.
3289 * locale/programs/ld-monetary.c: Likewise.
3290 * locale/programs/ld-name.c: Likewise.
3291 * locale/programs/ld-numeric.c: Likewise.
3292 * locale/programs/ld-paper.c: Likewise.
3293 * locale/programs/ld-telephone.c: Likewise.
3294 * locale/programs/ld-time.c: Likewise.
3296 * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
3297 if the locale data couldn't be found.
3299 * string/Makefile: Define tst-strxfrm-ENV.
3301 * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
3303 2001-04-06 Andreas Jaeger <aj@suse.de>
3305 * include/sys/profil.h: New file.
3307 * dlfcn/modatexit.c: Add prototypes to silence GCC.
3308 * dlfcn/modcxaatexit.c: Likewise.
3309 * elf/globalmod1.c: Likewise.
3311 2001-04-05 David S. Miller <davem@redhat.com>
3313 * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
3314 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
3315 capability flags table and HWCAP_IMPORTANT, increase
3316 _DL_HWCAP_COUNT to 6.
3317 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3319 2001-04-04 David Mosberger <davidm@hpl.hp.com>
3321 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
3322 initialization of stack_end (bug reported by Zheng Gengbin
3323 <gzheng@students.uiuc.edu>).
3325 2001-04-05 Ulrich Drepper <drepper@redhat.com>
3327 * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
3329 2001-04-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
3331 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
3333 2001-04-05 Ulrich Drepper <drepper@redhat.com>
3335 * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
3336 * sysdeps/i386/fpu/e_asinl.S: Removed. Too inaccurate.
3338 * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
3340 2001-04-04 Ulrich Drepper <drepper@redhat.com>
3342 * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
3343 define simple replacements here. Patch by Michael Keezer.
3345 * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
3346 * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
3347 Contributed by Stephen L Moshier <moshier@mediaone.net>.
3349 * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
3352 2001-04-01 Andreas Jaeger <aj@suse.de>
3354 * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
3357 * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
3359 2001-04-04 Ulrich Drepper <drepper@redhat.com>
3361 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
3362 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
3364 2001-04-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
3366 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
3367 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
3368 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
3369 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
3370 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
3371 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
3372 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
3373 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
3374 * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
3376 2001-04-04 Andreas Jaeger <aj@suse.de>
3378 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
3381 2001-04-04 Ulrich Drepper <drepper@redhat.com>
3383 * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
3384 * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
3385 * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
3386 (unsigned_dec): Likewise.
3387 Patch by atai@jezebel.dreamhost.com.
3389 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
3390 pointer to int as last parameter of yp_match.
3391 Patch by kanazawa@flab.fujitsu.co.jp.
3393 2001-04-03 Ulrich Drepper <drepper@redhat.com>
3395 * resolv/netdb.h (gai_strerror): Make return value const.
3396 * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
3397 * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
3398 Add strings for new error values.
3400 2001-03-29 Michael Keezer <mkeezer@redhat.com>
3402 * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
3403 * login/tst-utmp.c: Handle case where ut_tv is not available but
3405 * sysdeps/unix/sysv/aix/utmpx.h: New file.
3406 * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
3407 _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
3408 * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
3409 * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
3410 to access RTCU timer reg.
3411 * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
3412 added dl-libc, dl-open,dl-sym, dl-close to misc.
3413 * sysdeps/unix/sysv/aix/start.c: New file. Start code.
3414 * sysdeps/unix/sysv/aix/dlldr.h: New file. AIX __loadx defines.
3415 * sysdeps/unix/sysv/aix/dl-close.c: New file. AIX dl-close.
3416 * sysdeps/unix/sysv/aix/dl-open.c: New file. AIX dl-open.
3417 * sysdeps/unix/sysv/aix/dl-sym.c: New file. AIX dl-sym.
3418 * sysdeps/unix/sysv/aix/dl-libc.c: New file. libc_dl-xxx support.
3419 * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
3421 * sysdeps/generic/strtoull.c: Likewise.
3422 * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
3423 * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
3424 sysdeps/generic/memset.c.
3425 * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
3427 2001-04-03 Ulrich Drepper <drepper@redhat.com>
3429 * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
3430 * locale/programs/charmap.c: Define null_pointer if
3431 NEED_NULL_POINTER is defined.
3433 * misc/dirname.c (dirname): Handle multiple slashes correctly.
3435 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
3437 * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
3439 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
3441 * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
3442 * sysdeps/s390/s390-64/bcopy.S: Likewise.
3443 * sysdeps/s390/s390-32/mempcy.S: Likewise.
3444 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3446 2001-04-02 Bruno Haible <haible@clisp.cons.org>
3448 * manual/message.texi (Advanced gettext functions): More specific
3449 syntax in the plural formula examples.
3451 2001-04-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3453 * sysdeps/powerpc/atomicity.h: Silence warnings.
3454 * sysdeps/powerpc/dl-machine.h: Likewise.
3455 * sysdeps/powerpc/register-dump.h: Likewise.
3456 * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
3458 2001-04-02 Andreas Jaeger <aj@suse.de>
3460 * misc/tst-dirname.c (main): Add more tests, derived from a bug
3461 report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
3463 2001-04-01 Andreas Jaeger <aj@suse.de>
3465 * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
3467 * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
3469 2001-04-01 H.J. Lu <hjl@gnu.org>
3471 * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
3473 * stdlib/isomac.c (macrofile): Likewise.
3475 2001-03-30 Thorsten Kukuk <kukuk@suse.de>
3477 * inet/rcmd.c: Allow AF_UNSPEC as parameter.
3478 * nis/ypclnt.c (yp_all): Print error message only at last try,
3479 check for protocoll error only if we don't have a network error.
3481 2001-04-02 Andreas Schwab <schwab@suse.de>
3483 * resolv/res_data.c (res_isourserver): Fix cast.
3485 2001-04-02 Andreas Jaeger <aj@suse.de>
3487 * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
3490 * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
3492 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
3494 * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
3496 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
3498 * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
3499 warning about unused variable.
3501 * string/string.h (strndupa): Add cast for C++ conformance.
3502 (strdupa): Likewise.
3503 Fixes PR libc/2173, reported by tbrowder@home.com.
3505 2001-03-30 Roland McGrath <roland@frob.com>
3507 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
3508 options after $(build-module), which is no longer a single command.
3509 (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
3510 (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
3511 variables using it. Reported by Mark Kettenis <kettenis@gnu.org>.
3513 2001-03-11 Roland McGrath <roland@frob.com>
3515 * elf/rtld.c (dl_main): Add cast to quiet warning.
3516 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3517 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
3518 (__gconv_read_conf): Likewise.
3519 * iconv/gconv_db.c (gen_steps): Likewise.
3520 (__gconv_find_transform): Likewise.
3521 * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
3522 (fopen_uncompressed): Use const in second argument's type.
3524 2001-03-11 Roland McGrath <roland@frob.com>
3526 * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
3528 * mach/mach_error.h: Fix ancient #endif syntax.
3529 * hurd/hurdmalloc.c: Likewise.
3531 * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
3532 compare_and_swap): Add volatile qualifier to first arg, to bring
3533 these prototypes in line with all the other implementations.
3534 Add a #warning to remind the builder that these are not atomic.
3536 2001-03-04 Roland McGrath <roland@frob.com>
3538 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
3539 member of TEMP_F so its type is _IO_FILE * as expected.
3541 * hurd/fopenport.c (seekio): Conditionalize type of POS argument
3542 on [USE_IN_LIBIO]. Check the value for overflow, since for libio
3543 it might exceed off_t's range.
3545 2001-02-25 Roland McGrath <roland@frob.com>
3547 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
3548 * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
3550 * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
3551 macro instead of an inline function,
3552 (MSG_EXAMINE): Likewise.
3554 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
3556 * hurd/get-host.c: Include <string.h> for decls of built-ins.
3557 * hurd/hurdchdir.c: Likewise.
3558 * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
3559 * sysdeps/mach/hurd/opendir.c: Likewise.
3561 * mach/mach_init.c: Include <unistd.h> for _exit decl.
3563 * mach/errsystems.awk: Give output file a trailing newline.
3565 * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
3566 the script will use our compiler for the cpp stage.
3568 With --enable-all-warnings we get a whole bunch of warnings,
3569 and these are just a few fixes; there are more needed to silence it.
3570 * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
3571 decls before extern inline defns to quiet gcc warning.
3572 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
3573 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
3575 2001-03-31 Andreas Jaeger <aj@suse.de>
3577 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
3578 (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
3579 (ARPHRD_CISCO): New.
3580 Changes from Linux 2.4.3.
3582 2001-03-30 Isamu Hasegawa <isamu@yamato.ibm.com>
3584 * posix/regex.c: Avoid an access violation if malloc fails.
3586 2001-03-30 Andreas Jaeger <aj@suse.de>
3588 * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
3590 2001-03-29 Ulrich Drepper <drepper@redhat.com>
3592 * posix/regex.c: Remove unnecessary ifs.
3594 * math/bits/mathcalls.h: Remove infnan declaration.
3596 2001-03-29 H.J. Lu <hjl@gnu.org>
3598 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
3599 and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
3600 * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
3602 2001-03-29 Isamu Hasegawa <isamu@yamato.ibm.com>
3604 * posix/regex.c: Fix typo and add a sentinel.
3606 2001-03-29 Ulrich Drepper <drepper@redhat.com>
3608 * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
3609 O_NOFOLLOW. Suggested by Christoph Roland.
3611 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
3613 * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
3614 * sysdeps/s390/s390-32/bits/string.h: Remove.
3615 * sysdeps/s390/s390-64/bits/string.h: Remove.
3616 * sysdeps/s390/s390-32/strcmp.S: New file.
3617 * sysdeps/s390/s390-64/strcmp.S: New file.
3619 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
3621 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
3622 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3624 2001-03-27 Ulrich Drepper <drepper@redhat.com>
3626 * version.h (VERSION): Bump to 2.2.3.
3628 * stdlib/isomac.c (fmt): Don't define _LIBC.
3629 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
3630 LOW_HALF only if _LIBC is defined.
3632 * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
3634 * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
3636 * posix/tst-fnmatch.input: Add test cases for matching empty strings.
3638 * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions...
3639 * include/endian.h: ...to here.
3641 2001-03-27 kaz Kojima <kkojima@rr.iij4u.or.jp>
3643 * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
3644 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
3646 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
3648 * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
3650 2001-03-26 Ulrich Drepper <drepper@redhat.com>
3652 * sysdeps/ia64/fpu/Dist: Add new files to distribute.
3653 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
3654 * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
3656 * gmon/Makefile (headers): Add sys/profil.h.
3658 2001-03-18 Andreas Jaeger <aj@suse.de>
3660 * manual/install.texi (Tools for Compilation): Advise to use GCC
3662 (Supported Configurations): Mention s390x.
3664 2001-03-26 Ben Collins <bcollins@debian.org>
3666 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
3667 defines to match other architectures.
3669 2001-03-26 Ulrich Drepper <drepper@redhat.com>
3671 * libio/Makefile (tests): Add tst-ext.
3672 * libio/tst-ext.c: New file.
3674 * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
3676 2001-03-25 Ulrich Drepper <drepper@redhat.com>
3678 Add changes which were in this form in the original patch by
3679 Eric Norum <eric.norum@usask.ca>.
3680 * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
3682 * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
3683 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3684 __rpc_thread_svc_max_pollfd.
3685 Define svc_fdset, get_rpc_createerr, svc_pollfd, and
3687 * sunrpc/rpc_thread.c: Handle first thread special, it uses the
3689 Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
3690 __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
3691 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset,
3692 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3693 __rpc_thread_svc_max_pollfd.
3694 * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
3696 * sunrpc/clnt_perr.c: Likewise.
3697 * sunrpc/clnt_simp.c: Likewise.
3698 * sunrpc/clnt_tcp.c: Likewise.
3699 * sunrpc/clnt_udp.c: Likewise.
3700 * sunrpc/clnt_unix.c: Likewise.
3701 * sunrpc/pm_getport.c: Likewise.
3703 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
3704 syscall checks for negative n so don't test here as well.
3706 2001-03-23 Jes Sorensen <jes@linuxcare.com>
3708 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
3709 * sysdeps/ia64/sysdep.h: ...here.
3711 * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
3712 * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
3714 * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
3715 declare instead of LEAF(). Suggestion from David Mosberger.
3717 2001-03-21 David Mosberger <davidm@hpl.hp.com>
3719 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
3721 (PSEUDO): Drop .psr and .lsb directives.
3723 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind
3725 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
3727 * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
3729 * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
3730 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
3731 * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
3732 longer needed). Add unwind directives.
3734 * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
3735 ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
3737 2001-03-21 Paul Eggert <eggert@twinsun.com>
3739 * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
3740 (RE_SYNTAX_POSIX_EGREP): Use it.
3741 * posix/regex.c (regex_compile): Implement it.
3743 2001-03-21 Paul Eggert <eggert@twinsun.com>
3745 * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
3746 Rewrite to avoid duplicate code.
3748 2001-03-21 H.J. Lu <hjl@gnu.org>
3750 * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
3751 for cross-compiling.
3752 ($(objpfx)tst-pathopt.out): Undo the last change.
3754 2001-03-24 Mark Kettenis <kettenis@gnu.org>
3756 * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
3757 sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
3759 * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
3760 (_dl_argv): Declare.
3761 (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
3763 2001-03-22 Andreas Jaeger <aj@suse.de>
3765 * iconvdata/Makefile (generated): Add iconv-test.xxx.
3767 * posix/Makefile (generated): Add bug-regex2.mtrace and
3770 2001-03-21 Ulrich Drepper <drepper@redhat.com>
3772 * csu/version.c (__gnu_get_libc_release): Add prototype.
3773 (__gnu_get_libc_version): Likewise.
3774 * include/gnu/libc-version.h: Remove prototypes for not exported
3777 2001-03-21 Jes Sorensen <jes@linuxcare.com>
3779 * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
3780 for internationalized printfs to work.
3782 2001-03-09 Bruno Haible <haible@clisp.cons.org>
3784 * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
3785 avoid compiler warning.
3786 (_nl_find_msg): Add casts to avoid compiler warnings.
3788 2001-03-21 Ulrich Drepper <drepper@redhat.com>
3790 * gmon/Makefile (routines): Add sprofil.
3791 (tests): Add tst-sprofil.
3792 (noprof): Add sprofil.
3793 * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
3795 2001-03-20 David Mosberger <davidm@hpl.hp.com>
3797 * sysdeps/generic/sprofil.c: New file.
3798 * sysdeps/posix/sprofil.c: New file.
3799 * gmon/tst-sprofil.c: New file.
3800 * gmon/sys/profil.h: New file.
3802 2001-03-20 Andreas Schwab <schwab@suse.de>
3804 * include/unistd.h: Adjust prototype of __gethostname.
3806 2001-03-20 Jakub Jelinek <jakub@redhat.com>
3808 * sysdeps/sparc/stackinfo.h: New file.
3810 2001-03-21 Andreas Jaeger <aj@suse.de>
3812 * elf/global.c (main): Use proper prototype.
3814 2001-03-20 Ulrich Drepper <drepper@redhat.com>
3816 * sunrpc/Makefile (routines): Add rpc_thread.
3817 (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
3818 * sunrpc/rpc_thread.c: New file.
3819 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
3820 * sunrpc/auth_none.c: Don't use global variables. Access state in
3821 thread-local storage.
3822 * sunrpc/clnt_perr.c: Likewise.
3823 * sunrpc/clnt_raw.c: Likewise.
3824 * sunrpc/clnt_simp.c: Likewise.
3825 * sunrpc/key_call.c: Likewise.
3826 * sunrpc/rpc_common.c: Likewise.
3827 * sunrpc/svc.c: Likewise.
3828 * sunrpc/svc_raw.c: Likewise.
3829 * sunrpc/svc_simple.c: Likewise.
3830 * sunrpc/svcauth_des.c: Likewise.
3831 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3832 _HURD_THREADVAR_RPC_VARS.
3833 * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
3834 * include/rpc/rpc.h: Define data structures for internal thread-local
3836 Based on patches by Eric Norum <eric.norum@usask.ca>.
3838 * elf/dl-load.c: Various little optimizations.
3840 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
3841 LINUX_LINK_MAX only if the statfs function is not implemented for
3844 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
3845 LINUX_LINK_MAX only if the fstatfs function is not implemented for
3848 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3850 * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
3852 * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
3853 (_dl_dst_substitute): Likewise.
3855 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3857 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
3859 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3861 * intl/gettextP.h (struct expression): Add operators lnot, less_than,
3862 greater_than, less_or_equal, greater_or_equal. Replace args2/args3
3863 union by a 'nargs' counter and an 'args[]' array.
3864 * intl/plural.y: Don't include stdarg.h.
3865 (new_exp): Take an array of arguments instead of varargs.
3866 (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
3867 ('?' ':'): Make right-associative.
3868 (EQUOP2): New token, replaces '=' and '!'.
3869 (CMPOP2): New token.
3870 (ADDOP2): New token, replaces '+' and '-'.
3871 (MULOP2): New token, replaces '*', '/' and '%'.
3873 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
3874 (start): Call YYABORT here.
3875 (FREE_EXPRESSION): Update.
3876 (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
3877 Update for new token symbols.
3878 * intl/loadmsgcat.c (plvar, plone, germanic_plural,
3879 init_germanic_plural): Update.
3880 * intl/dcigettext.c (_nl_find_msg): Optimize for space.
3881 (plural_eval): Recognize comparison and '!' operators. Optimize for
3884 2001-03-10 Bruno Haible <haible@clisp.cons.org>
3886 * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
3889 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3891 * intl/loadmsgcat.c: Include headers needed for alloca().
3893 (_nl_load_domain): Add fallback code for platforms lacking alloca.
3894 * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
3896 (read_alias_file): Simplify fallback code for platforms lacking
3899 2001-01-07 Bruno Haible <haible@clisp.cons.org>
3901 * intl/gettextP.h (__gettextdebug): Remove declaration.
3902 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
3904 (gettext_free_exp__, gettextparse__): New non-libc declarations.
3905 * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
3906 not __gettextparse, __gettext_free_exp.
3907 * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
3909 2001-02-24 Bruno Haible <haible@clisp.cons.org>
3911 * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
3913 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3915 * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
3916 lacking strtoul, like SunOS4.
3918 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3920 * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
3922 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3924 * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
3926 * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
3927 * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
3928 * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
3931 2001-01-07 Bruno Haible <haible@clisp.cons.org>
3933 * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
3934 bindtextdomain__, bind_textdomain_codeset__): New declarations, from
3936 * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
3937 * intl/dcgettext.c: Likewise.
3938 * intl/dcigettext.c: Likewise.
3939 * intl/dcngettext.c: Likewise.
3940 * intl/dngettext.c: Likewise.
3941 * intl/finddomain.c: Likewise.
3942 * intl/ngettext.c: Likewise.
3943 * intl/textdomain.c: Likewise.
3944 * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
3946 * intl/gettext.c: Likewise. Don't include locale.h.
3948 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3950 * intl/gettextP.h (ZERO): New macro.
3951 (struct binding): Always use ZERO.
3952 * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
3953 lack it, like SunOS4.
3954 (set_binding_values): Use offsetof, not sizeof.
3955 * intl/dcigettext.c (offsetof): Provide fallback for platforms that
3956 lack it, like SunOS4.
3957 (ZERO): Remove macro.
3958 (struct transmem_list): Use ZERO.
3959 (DCIGETTEXT): Use offsetof, not sizeof.
3961 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3963 * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
3965 * intl/bindtextdom.c: Don't include gettext.h.
3966 * intl/dcgettext.c: Likewise.
3967 * intl/dcigettext.c: Likewise.
3968 * intl/dcngettext.c: Likewise.
3969 * intl/dngettext.c: Likewise.
3970 * intl/finddomain.c: Likewise.
3971 * intl/localealias.c: Likewise.
3972 * intl/ngettext.c: Likewise.
3973 * intl/plural.y: Likewise.
3974 * intl/textdomain.c: Likewise.
3976 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3978 * intl/gettext.h: Don't include <stdio.h>.
3980 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3982 * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
3983 * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
3985 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3987 * sysdeps/unix/i386/i686/tempname.c: New file.
3989 * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
3990 defined use this macro to get some bits of randomness instead of
3991 the usual gettimeofday or time calls.
3993 2001-03-16 Paul Eggert <eggert@twinsun.com>
3995 * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
3996 not defined, and if UINT64_MAX is not defined.
3998 2001-03-19 Ulrich Drepper <drepper@redhat.com>
4000 * elf/cache.c: Mark and have translated a few more messages.
4002 2001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
4004 * elf/cache.c: Add case for FLAG_S390_LIB64.
4005 * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
4006 * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
4007 * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
4009 2001-03-19 Ulrich Drepper <drepper@redhat.com>
4011 * string/Makefile (tests): Add tst-strxfrm.
4012 * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert.
4013 * string/Depend: New file.
4015 2001-03-19 Paul Eggert <eggert@twinsun.com>
4017 * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
4018 when given the empty string in nontrivial locales.
4020 2001-03-17 H.J. Lu <hjl@gnu.org>
4022 * manual/Makefile (install): Use $(INSTALL_DATA) instead of
4023 cp to install `dir'.
4025 2001-03-19 Andreas Schwab <schwab@suse.de>
4027 * Makerules (build-shlib): Make sure exit codes get checked
4030 2001-03-18 Ulrich Drepper <drepper@redhat.com>
4032 * Makerules (build-shlib): Remove unnecessary slashes introduced in
4035 * configure.in: Test for -Bgroup option of linker.
4036 * config.make.in: Define have-Bgroup.
4038 * conform/data/unistd.h-data: Require gethostname.
4039 * posix/unistd.h: Make gethostname prototype available for
4042 * crypt/Makefile: When generating DSO link with libc_nonshared.a.
4043 * debug/Makefile: Likewise.
4044 * dlfcn/Makefile: Likewise.
4045 * hesiod/Makefile: Likewise.
4046 * iconvdata/extra-module.mk: Likewise.
4047 * locale/Makefile: Likewise.
4048 * login/Makefile: Likewise.
4049 * math/Makefile: Likewise.
4050 * nis/Makefile: Likewise.
4051 * nss/Makefile: Likewise.
4052 * resolv/Makefile: Likewise.
4053 * rt/Makefile: Likewise.
4055 2001-03-17 Ulrich Drepper <drepper@redhat.com>
4057 * inet/Makefile (tests): Remove left-over comment.
4059 * posix/unistd.h (gethostname): Change type of second parameter
4060 back to size_t as per upcoming XPG6.
4061 * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
4062 parameter back to size_t as per upcoming XPG6.
4063 * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
4064 * sysdeps/unix/sysv/gethostname.c: Likewise.
4065 * sysdeps/mach/hurd/gethostname.c: Likewise.
4066 * sysdeps/generic/gethostname.c: Likewise.
4068 2001-03-16 Ulrich Drepper <drepper@redhat.com>
4070 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4073 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
4076 2001-02-06 Jakub Jelinek <jakub@redhat.com>
4078 * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
4079 looking for name matches.
4081 2001-02-26 Jakub Jelinek <jakub@redhat.com>
4083 * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
4084 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
4085 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
4086 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4087 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
4088 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
4089 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
4090 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
4091 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
4092 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
4093 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
4094 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
4096 2001-03-16 Ulrich Drepper <drepper@redhat.com>
4098 * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
4099 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4101 * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
4103 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4105 2001-03-16 David Mosberger <davidm@hpl.hp.com>
4107 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
4108 Drop hack that was needed for 2.1.1 kernel headers.
4110 * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
4112 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
4113 overlay with kernel's "struct sigcontext".
4115 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
4116 sys/rse.h for "misc" subdir.
4117 (sysdep_routines): Add __start_context for "stdlib" subdir.
4119 * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
4120 kernel file of the same name).
4122 * stdlib/Makefile (tests): Add tst-setcontext.
4123 * stdlib/tst-setcontext.c: New file (based on a sample program by
4126 * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
4127 * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
4128 * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
4129 * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
4130 * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
4132 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
4133 instead of shift & and.
4135 2001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
4137 * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
4138 * sysdeps/s390/bits/huge_val.h: ...here.
4139 * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
4140 * sysdeps/s390/s390-64/ffs.c: Move to...
4141 * sysdeps/s390/ffs.c: ...here.
4142 * sysdeps/s390/s390-32/ffs.c: Remove.
4144 2001-03-16 Jakub Jelinek <jakub@redhat.com>
4146 * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
4147 update osversion from more recent library.
4149 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4151 * sysdeps/unix/sysv/linux/s390/Dist: Move to...
4152 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
4153 * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
4154 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
4155 * sysdeps/unix/sysv/linux/s390/Versions: Move to...
4156 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
4157 * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
4158 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
4159 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
4160 * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
4161 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
4162 * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
4163 * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
4164 * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
4165 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
4166 * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
4167 * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
4168 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
4169 * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
4170 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
4171 * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
4172 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
4173 * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
4174 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
4175 * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
4176 * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
4177 * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
4178 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
4179 * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
4180 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
4181 * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
4182 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
4183 * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
4184 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
4185 * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
4186 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
4187 * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
4188 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
4189 * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
4190 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
4191 * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
4192 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
4193 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
4194 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
4195 * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
4196 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
4197 * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
4198 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
4199 * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
4200 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
4201 * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
4202 * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
4203 * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
4204 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
4205 * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
4206 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
4207 * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
4208 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
4209 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
4210 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
4211 * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
4212 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
4213 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
4214 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
4215 * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
4216 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
4217 * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
4218 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
4219 * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
4220 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
4221 * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
4222 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
4223 * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
4224 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
4225 * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
4226 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
4227 * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
4228 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
4229 * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
4230 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
4231 * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
4232 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
4233 * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
4234 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
4235 * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
4236 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
4237 * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
4238 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
4239 * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
4240 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
4241 * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
4242 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
4243 * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
4244 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
4245 * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
4246 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
4247 * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
4248 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
4249 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
4250 * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
4251 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
4252 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
4253 * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
4254 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
4255 * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
4256 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
4257 * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
4258 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
4259 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4260 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
4261 * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
4262 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
4263 * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
4264 * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
4266 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4268 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
4269 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
4270 * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
4271 * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
4272 * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
4273 * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
4274 * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
4275 * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
4276 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
4277 * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
4278 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
4279 * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
4280 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
4281 * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
4282 * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
4283 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
4284 * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
4285 * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
4286 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
4287 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
4288 * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
4289 * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
4290 * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
4291 * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
4292 * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
4293 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
4294 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
4295 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
4296 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
4297 * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
4298 * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
4299 * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
4300 * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
4301 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
4302 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
4303 * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
4304 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
4305 * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
4306 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
4307 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
4308 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
4309 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
4310 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
4311 * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
4312 * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
4313 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
4314 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
4315 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
4316 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
4317 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
4318 * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
4319 * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
4320 * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
4322 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4324 * sysdeps/s390/Dist: Move to...
4325 * sysdeps/s390/390-32/Dist: ...here.
4326 * sysdeps/s390/Implies: Move to...
4327 * sysdeps/s390/s390-32/Implies: ...here.
4328 * sysdeps/s390/Makefile: Move to...
4329 * sysdeps/s390/s390-32/Makefile: ...here.
4330 * sysdeps/s390/Versions: Move to...
4331 * sysdeps/s390-32/s390/Versions: ...here.
4332 * sysdeps/s390/add_n.S: Move to...
4333 * sysdeps/s390/s390-32/add_n.S: ...here.
4334 * sysdeps/s390/addmul_1.S: Move to...
4335 * sysdeps/s390/s390-32/addmul_1.S: ...here.
4336 * sysdeps/s390/atomicity.h: Move to...
4337 * sysdeps/s390/s390-32/atomicity.h: ...here.
4338 * sysdeps/s390/backtrace.c: Move to...
4339 * sysdeps/s390/s390-32/backtrace.c: ...here.
4340 * sysdeps/s390/bcopy.S: Move to...
4341 * sysdeps/s390/s390-32/bcopy.S: ...here.
4342 * sysdeps/s390/bits/byteswap.h: Move to...
4343 * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
4344 * sysdeps/s390/bits/huge_val.h: Move to...
4345 * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
4346 * sysdeps/s390/bsd-_setjmp.S: Move to...
4347 * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
4348 * sysdeps/s390/bsd-setjmp.S: Move to...
4349 * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
4350 * sysdeps/s390/bzero.S: Move to...
4351 * sysdeps/s390/s390-32/bzero.S: ...here.
4352 * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
4353 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
4354 * sysdeps/s390/elf/bsd-setjmp.S: Move to...
4355 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
4356 * sysdeps/s390/elf/start.S: Move to...
4357 * sysdeps/s390/s390-32/elf/start.S: ...here.
4358 * sysdeps/s390/ffs.c: Move to...
4359 * sysdeps/s390/s390-32/ffs.c: ...here.
4360 * sysdeps/s390/memchr.S: Move to...
4361 * sysdeps/s390/s390-32/memchr.S: ...here.
4362 * sysdeps/s390/memcpy.S: Move to...
4363 * sysdeps/s390/s390-32/memcpy.S: ...here.
4364 * sysdeps/s390/memset.S: Move to...
4365 * sysdeps/s390/s390-32/memset.S: ...here.
4366 * sysdeps/s390/mul_1.S: Move to...
4367 * sysdeps/s390/s390-32/mul_1.S: ...here.
4368 * sysdeps/s390/s390-mcount.S: Move to...
4369 * sysdeps/s390/s390-32/s390-mcount.S: ...here.
4370 * sysdeps/s390/strcpy.S: Move to...
4371 * sysdeps/s390/s390-32/strcpy.S: ...here.
4372 * sysdeps/s390/strncpy.S: Move to...
4373 * sysdeps/s390/s390-32/strncpy.S: ...here.
4374 * sysdeps/s390/sub_n.S: Move to...
4375 * sysdeps/s390/s390-32/sub_n.S: ...here.
4377 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4379 * sysdeps/s390/s390-64/Dist: New file.
4380 * sysdeps/s390/s390-64/Implies: New file.
4381 * sysdeps/s390/s390-64/Makefile: New file.
4382 * sysdeps/s390/s390-64/__longjmp.c: New file.
4383 * sysdeps/s390/s390-64/add_n.S: New file.
4384 * sysdeps/s390/s390-64/atomicity.h: New file.
4385 * sysdeps/s390/s390-64/backtrace.c: New file.
4386 * sysdeps/s390/s390-64/bcopy.S: New file.
4387 * sysdeps/s390/s390-64/bits/byteswap.h: New file.
4388 * sysdeps/s390/s390-64/bits/huge_val.h: New file.
4389 * sysdeps/s390/s390-64/bits/setjmp.h: New file.
4390 * sysdeps/s390/s390-64/bits/string.h: New file.
4391 * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
4392 * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
4393 * sysdeps/s390/s390-64/bzero.S: New file.
4394 * sysdeps/s390/s390-64/dl-machine.h: New file.
4395 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
4396 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
4397 * sysdeps/s390/s390-64/elf/setjmp.S: New file.
4398 * sysdeps/s390/s390-64/elf/start.S: New file.
4399 * sysdeps/s390/s390-64/ffs.c: New file.
4400 * sysdeps/s390/s390-64/initfini.c: New file.
4401 * sysdeps/s390/s390-64/memchr.S: New file.
4402 * sysdeps/s390/s390-64/memcpy.S: New file.
4403 * sysdeps/s390/s390-64/memset.S: New file.
4404 * sysdeps/s390/s390-64/s390x-mcount.S: New file.
4405 * sysdeps/s390/s390-64/setjmp.S: New file.
4406 * sysdeps/s390/s390-64/strcpy.S: New file.
4407 * sysdeps/s390/s390-64/strncpy.S: New file.
4408 * sysdeps/s390/s390-64/sub_n.S: New file.
4409 * sysdeps/s390/s390-64/sysdep.h: New file.
4411 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4413 * scripts/config.guess: Add support for Linux on 64 bit S/390.
4414 * scripts/config.sub: Likewise.
4416 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4418 * configure.in: Add support for 64 bit S/390.
4420 * elf/elf.h: Add new relocations for 64 bit S/390.
4422 * shlib-versions: Add rules for Linux on 64 bit S/390.
4424 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4426 * sysdeps/s390/__longjmp.c: Move to...
4427 * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code
4428 to load the floating point registers that should be saved
4429 according to the ABI.
4431 * sysdeps/s390/bits/setjmp.h: Move to...
4432 * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid
4433 the use of long long in the __jmp_buf type definition.
4435 * sysdeps/s390/bits/string.h: Move to...
4436 * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing
4437 #ifndef _FORCE_INLINES.
4439 * sysdeps/s390/dl-machine.h: Move to...
4440 * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the
4441 executables EI_CLASS in elf_machine_matches_host.
4443 * sysdeps/s390/elf/setjmp.S: Move to...
4444 * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace
4445 branches to globally defined symbol __sigsetjmp by branches to
4446 a local label (this avoids the generation of a R_390_PC16DBL
4447 relocation in -fpic code).
4449 * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
4450 calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
4452 * sysdeps/s390/initfini.c: Move to...
4453 * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with
4456 * sysdeps/s390/setjmp.S: Move to...
4457 * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the
4458 floating point registers that should be saved according to the ABI.
4460 * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
4462 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4463 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
4464 sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
4466 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4468 * configure.in: Change machine=s390 to machine=s390/s390-32.
4470 * elf/elf.h: Correct comment for R_390_PLT16DBL.
4472 2001-03-12 Jakub Jelinek <jakub@redhat.com>
4474 * csu/Makefile (abi-tag.h): Define OS and version separately, allow
4475 version to be overriden from config.h.
4476 * csu/abi-note.S: Use OS and version separately, include config.h.
4477 * elf/dl-load.c (_dl_osversion): New.
4478 (_dl_map_object_from_fd): Kill some warnings.
4479 (open_verify): Check .note.ABI-tag of the library if present.
4480 * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
4481 * elf/cache.c (struct cache_entry): Add osversion.
4482 (print_entry): Print osversion.
4483 (print_cache): Pass osversion to it.
4484 (compare): Sort according to osversion.
4485 (save_cache): Set osversion.
4486 (add_to_cache): Add osversion argument.
4487 * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
4488 process_elf_file): Add osversion argument.
4489 * elf/readlib.c (process_file): Likewise.
4490 * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
4491 * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
4492 process_elf32_file, process_elf64_file): Likewise.
4493 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
4494 process_elf32_file, process_elf64_file): Likewise.
4495 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
4496 process_elf32_file, process_elf64_file): Likewise.
4497 * elf/ldconfig.c (manual_link): Pass it.
4498 (search_dir): Issue diagnostic if two libs with the same soname in
4499 the same directory have different .note.ABI-tag. Record osversion in
4500 dlib_entry and use it from there.
4501 (struct lib_entry): Remove.
4502 (struct dlib_entry): Add osversion.
4503 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
4505 * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
4506 field with osversion.
4507 * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
4508 * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
4509 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
4510 version in _dl_osversion.
4511 * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
4512 * Makerules (build-shlib-helper, build-module-helper): New.
4513 (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
4515 * config.h.in (__ABI_TAG_VERSION): Add.
4516 * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
4517 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
4518 Handle LD_ASSUME_KERNEL.
4519 * sysdeps/unix/sysv/linux/dl-librecon.h: New.
4521 2001-03-15 Ulrich Drepper <drepper@redhat.com>
4523 * timezone/antarctica: Update from tzdata2001a.
4524 * timezone/asia: Likewise.
4525 * timezone/australasia: Likewise.
4526 * timezone/backward: Likewise.
4527 * timezone/etcetera: Likewise.
4528 * timezone/europe: Likewise.
4529 * timezone/leapseconds: Likewise.
4530 * timezone/northamerica: Likewise.
4531 * timezone/southamerica: Likewise.
4532 * timezone/systemv: Likewise.
4533 * timezone/yearistype: Likewise.
4534 * timezone/zone.tab: Likewise.
4535 * timezone/tzdump.c: Update from tzcode2001a.
4537 2001-03-15 H.J. Lu <hjl@gnu.org>
4539 * intl/Makefile: Fix a typo.
4541 2001-03-14 David Mosberger <davidm@hpl.hp.com>
4543 * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
4544 writing arc structures.
4546 2001-03-15 H.J. Lu <hjl@gnu.org>
4548 * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
4551 2001-03-13 Andreas Schwab <schwab@suse.de>
4553 * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
4555 2001-03-15 Ulrich Drepper <drepper@redhat.com>
4557 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
4558 for control message fitting into message data.
4559 Patch by James Antill <james@and.org>.
4561 * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
4564 * posix/fnmatch_loop.c: Optimize handling of ?() and @().
4565 * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
4567 * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
4568 * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
4569 avoid running binaries with libc versions without FNM_EXTMATCH support.
4571 * include/wchar.h: Add prototype for __wcscat.
4572 * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
4574 * posix/fnmatch.h (FNM_EXTMATCH): Define.
4575 * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
4576 (posixly_correct): Move global variable here.
4577 (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
4578 (fnmatch): Pretty printing.
4579 * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
4580 * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
4581 * posix/tst-fnmatch.input: Add tests for extended matching.
4583 * posix/testfnm.c: Add test for patterns with multiple ** before /.
4584 * posix/fnmatch_loop.c: Fix problem with the test above.
4586 2001-03-14 Ulrich Drepper <drepper@redhat.com>
4588 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
4591 * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
4593 2001-03-12 Andreas Jaeger <aj@suse.de>
4595 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4596 Use EM_X86_64 instead of EM_X8664.
4598 2001-03-12 Ulrich Drepper <drepper@redhat.com>
4600 * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
4602 * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
4605 * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
4608 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
4612 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
4614 (__ieee754_acos): Likewise.
4616 2001-03-12 Andreas Jaeger <aj@suse.de>
4618 * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
4619 Fix typo. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
4621 * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
4624 2001-03-11 Roland McGrath <roland@frob.com>
4626 * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
4628 2001-03-11 Ulrich Drepper <drepper@redhat.com>
4630 * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
4633 * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
4636 Last-bit accurate math library implementation by IBM Haifa.
4637 Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
4638 <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
4639 Anna Reitman <reitman@il.ibm.com>.
4640 * math/Makefile (dbl-only-routines): New variable.
4641 (libm-routines): Add $(dbl-only-routines).
4642 * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
4643 * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
4645 * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
4647 * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
4649 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
4651 * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
4653 * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
4654 remainder implementation.
4655 * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
4657 * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
4659 * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
4660 * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
4661 * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
4663 * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
4664 * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
4666 * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
4668 * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
4670 * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
4671 * sysdeps/ieee754/dbl-64/MathLib.h: New file.
4672 * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
4673 * sysdeps/ieee754/dbl-64/atnat.h: New file.
4674 * sysdeps/ieee754/dbl-64/atnat2.h: New file.
4675 * sysdeps/ieee754/dbl-64/branred.c: New file.
4676 * sysdeps/ieee754/dbl-64/branred.h: New file.
4677 * sysdeps/ieee754/dbl-64/dla.h: New file.
4678 * sysdeps/ieee754/dbl-64/doasin.c: New file.
4679 * sysdeps/ieee754/dbl-64/doasin.h: New file.
4680 * sysdeps/ieee754/dbl-64/dosincos.c: New file.
4681 * sysdeps/ieee754/dbl-64/dosincos.h: New file.
4682 * sysdeps/ieee754/dbl-64/endian.h: New file.
4683 * sysdeps/ieee754/dbl-64/halfulp.c: New file.
4684 * sysdeps/ieee754/dbl-64/mpa.c: New file.
4685 * sysdeps/ieee754/dbl-64/mpa.h: New file.
4686 * sysdeps/ieee754/dbl-64/mpa2.h: New file.
4687 * sysdeps/ieee754/dbl-64/mpatan.c: New file.
4688 * sysdeps/ieee754/dbl-64/mpatan.h: New file.
4689 * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
4690 * sysdeps/ieee754/dbl-64/mpexp.c: New file.
4691 * sysdeps/ieee754/dbl-64/mpexp.h: New file.
4692 * sysdeps/ieee754/dbl-64/mplog.c: New file.
4693 * sysdeps/ieee754/dbl-64/mplog.h: New file.
4694 * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
4695 * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
4696 * sysdeps/ieee754/dbl-64/mptan.c: New file.
4697 * sysdeps/ieee754/dbl-64/mydefs.h: New file.
4698 * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
4699 * sysdeps/ieee754/dbl-64/root.tbl: New file.
4700 * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
4701 * sysdeps/ieee754/dbl-64/sincos32.c: New file.
4702 * sysdeps/ieee754/dbl-64/sincos32.h: New file.
4703 * sysdeps/ieee754/dbl-64/slowexp.c: New file.
4704 * sysdeps/ieee754/dbl-64/slowpow.c: New file.
4705 * sysdeps/ieee754/dbl-64/uasncs.h: New file.
4706 * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
4707 * sysdeps/ieee754/dbl-64/uexp.h: New file.
4708 * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
4709 * sysdeps/ieee754/dbl-64/ulog.h: New file.
4710 * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
4711 * sysdeps/ieee754/dbl-64/upow.h: New file.
4712 * sysdeps/ieee754/dbl-64/upow.tbl: New file.
4713 * sysdeps/ieee754/dbl-64/urem.h: New file.
4714 * sysdeps/ieee754/dbl-64/uroot.h: New file.
4715 * sysdeps/ieee754/dbl-64/usncs.h: New file.
4716 * sysdeps/ieee754/dbl-64/utan.h: New file.
4717 * sysdeps/ieee754/dbl-64/utan.tbl: New file.
4718 * sysdeps/i386/fpu/branred.c: New file.
4719 * sysdeps/i386/fpu/doasin.c: New file.
4720 * sysdeps/i386/fpu/dosincos.c: New file.
4721 * sysdeps/i386/fpu/halfulp.c: New file.
4722 * sysdeps/i386/fpu/mpa.c: New file.
4723 * sysdeps/i386/fpu/mpatan.c: New file.
4724 * sysdeps/i386/fpu/mpatan2.c: New file.
4725 * sysdeps/i386/fpu/mpexp.c: New file.
4726 * sysdeps/i386/fpu/mplog.c: New file.
4727 * sysdeps/i386/fpu/mpsqrt.c: New file.
4728 * sysdeps/i386/fpu/mptan.c: New file.
4729 * sysdeps/i386/fpu/sincos32.c: New file.
4730 * sysdeps/i386/fpu/slowexp.c: New file.
4731 * sysdeps/i386/fpu/slowpow.c: New file.
4732 * sysdeps/ia64/fpu/branred.c: New file.
4733 * sysdeps/ia64/fpu/doasin.c: New file.
4734 * sysdeps/ia64/fpu/dosincos.c: New file.
4735 * sysdeps/ia64/fpu/halfulp.c: New file.
4736 * sysdeps/ia64/fpu/mpa.c: New file.
4737 * sysdeps/ia64/fpu/mpatan.c: New file.
4738 * sysdeps/ia64/fpu/mpatan2.c: New file.
4739 * sysdeps/ia64/fpu/mpexp.c: New file.
4740 * sysdeps/ia64/fpu/mplog.c: New file.
4741 * sysdeps/ia64/fpu/mpsqrt.c: New file.
4742 * sysdeps/ia64/fpu/mptan.c: New file.
4743 * sysdeps/ia64/fpu/sincos32.c: New file.
4744 * sysdeps/ia64/fpu/slowexp.c: New file.
4745 * sysdeps/ia64/fpu/slowpow.c: New file.
4746 * sysdeps/m68k/fpu/branred.c: New file.
4747 * sysdeps/m68k/fpu/doasin.c: New file.
4748 * sysdeps/m68k/fpu/dosincos.c: New file.
4749 * sysdeps/m68k/fpu/halfulp.c: New file.
4750 * sysdeps/m68k/fpu/mpa.c: New file.
4751 * sysdeps/m68k/fpu/mpatan.c: New file.
4752 * sysdeps/m68k/fpu/mpatan2.c: New file.
4753 * sysdeps/m68k/fpu/mpexp.c: New file.
4754 * sysdeps/m68k/fpu/mplog.c: New file.
4755 * sysdeps/m68k/fpu/mpsqrt.c: New file.
4756 * sysdeps/m68k/fpu/mptan.c: New file.
4757 * sysdeps/m68k/fpu/sincos32.c: New file.
4758 * sysdeps/m68k/fpu/slowexp.c: New file.
4759 * sysdeps/m68k/fpu/slowpow.c: New file.
4761 * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
4764 2001-03-11 Andreas Jaeger <aj@suse.de>
4766 * elf/elf.h (EM_*): Synch with official list.
4768 2001-03-07 David Mosberger <davidm@hpl.hp.com>
4770 * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
4772 2001-03-07 Jes Sorensen <jes@linuxcare.com>
4774 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
4775 variables addr & len.
4777 2001-02-22 Jes Sorensen <jes@linuxcare.com>
4779 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
4780 punctuation in asm constraint.
4782 2001-03-07 Mark Kettenis <kettenis@gnu.org>
4784 * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
4785 <time.h> to get definition of `struct timespec'.
4787 2001-03-08 Jakub Jelinek <jakub@redhat.com>
4789 * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
4790 LD_WARN=1, not if LD_WARN is unset.
4792 2001-03-07 Andreas Schwab <schwab@suse.de>
4794 * elf/ldconfig.h: Moved to ...
4795 * sysdeps/generic/ldconfig.h: ... here.
4796 * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
4797 * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
4798 * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
4799 * elf/readlib.c (interpreters, known_libs): Use
4800 SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
4801 instead of hard coding old names.
4803 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4805 * catgets/Makefile (generated): Add test-gencat.h.
4806 (sample.SJIS.cat): Also generate header.
4807 * catgets/sample.SJIS: Add new set and message, both with symbolic
4809 * catgets/test-gencat.sh: Also compare generated header with what
4812 2001-03-07 Jakub Jelinek <jakub@redhat.com>
4814 * catgets/gencat.c (read_input_file): Preserve properly symbolic
4817 2001-03-06 Andreas Jaeger <aj@suse.de>
4819 * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
4821 (elf_machine_pltrel_p): Likewise.
4822 * sysdeps/powerpc/dl-machine.h: Likewise.
4823 * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
4825 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4827 * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
4830 2001-03-05 Philip Blundell <philb@gnu.org>
4832 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
4833 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
4834 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
4835 (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
4838 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4840 * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
4842 * dlfcn/tstcxaatexit.c (main): Likewise.
4844 2001-03-10 Andreas Jaeger <aj@suse.de>
4846 * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
4848 2001-03-09 Andreas Jaeger <aj@suse.de>
4850 * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
4851 both new and old EM_S390 values.
4852 (EM_S390_OLD): New constant.
4854 * elf/elf.h (EM_S390): Use official value.
4856 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4858 * conform/data/sys/socket.h-data: Allow SO* symbols.
4860 2001-03-07 Andreas Schwab <schwab@suse.de>
4862 * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
4863 routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
4865 2001-03-07 Andreas Jaeger <aj@suse.de>
4867 * resolv/Makefile (routines): Only build gai_sigqueue when threads
4870 2001-03-07 Jakub Jelinek <jakub@redhat.com>
4872 * elf/ldconfig.c (_dl_sysdep_message): Remove.
4873 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
4875 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
4877 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
4878 _dl_error_printf instead of _dl_sysdep_error.
4879 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4880 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
4881 Use _dl_printf instead of _dl_sysdep_message.
4882 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
4885 2001-03-06 Ben Collins <bcollins@debian.org>
4887 * manual/arith.texi (Integers): Fix documentation of fast and
4888 least integer typedefs.
4890 2001-03-06 Jakub Jelinek <jakub@redhat.com>
4892 * resolv/Depend: New file.
4893 * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
4894 when libpthread is built.
4896 2001-03-06 Andreas Jaeger <aj@suse.de>
4898 * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
4900 * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
4901 Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
4903 2001-03-05 Ulrich Drepper <drepper@redhat.com>
4905 * stdlib/Versions: Remove __new_exitfn again. Not needed.
4907 2001-03-05 Andreas Jaeger <aj@suse.de>
4909 * stdlib/msort.c (qsort): Don't use alloca in a function call.
4911 2001-03-05 Ulrich Drepper <drepper@redhat.com>
4913 * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
4914 __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still
4916 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4917 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
4918 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4919 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
4920 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4921 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4922 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4924 2001-03-04 Andreas Jaeger <aj@suse.de>
4926 * stdlib/longlong.h: Don't use multi-line strings.
4927 * iconvdata/tst-loading.c: Likewise.
4929 * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
4932 2001-03-04 Ulrich Drepper <drepper@redhat.com>
4934 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
4936 * rt/lio_listio.c: Add a few asserts.
4938 * elf/global.c: New file.
4939 * elf/globalmod1.c: New file.
4940 * elf/Makefile: Add rules to build and run global.
4942 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
4943 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4944 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4945 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4946 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4948 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
4949 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4951 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
4953 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
4954 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4956 * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
4958 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
4960 2001-03-04 Andreas Jaeger <aj@suse.de>
4962 * resolv/tst-aton.c: Add testcase for IP with four periods.
4964 * resolv/inet_addr.c: Don't recognize an IP with four periods.
4965 Patch by Andre' Breiler <A.Breiler@gmx.net>.
4967 2001-02-27 Philip Blundell <pb@futuretv.com>
4969 * elf/elf.h: Add new ARM definitions from latest (B-01)
4970 specification. Correct naming of EF_ARM_ALIGN8 et al.
4972 2001-03-04 Ulrich Drepper <drepper@redhat.com>
4974 * stdio-common/tst-printf.sh: Remove bashisms.
4975 Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
4977 2001-03-03 Ulrich Drepper <drepper@redhat.com>
4979 * Versions.def: Add libanl definition.
4980 * shlib-versions: Add entry for libanl.
4981 * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
4982 (routines): Add gai_sigqueue.
4983 (extra-libs): Add libanl.
4984 (libanl-routines): New variable.
4985 Add rules to build libanl and ga_test.
4986 * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
4987 [libanl]: New library.
4988 * resolv/netdb.h: Add definitions for libanl.
4989 * resolv/getaddrinfo_a.c: New file.
4990 * resolv/gai_cancel.c: New file.
4991 * resolv/gai_error.c: New file.
4992 * resolv/gai_misc.c: New file.
4993 * resolv/gai_misc.h: New file.
4994 * resolv/gai_notify.c: New file.
4995 * resolv/gai_suspend.c: New file.
4996 * resolv/ga_test.c: New file.
4997 * sysdeps/generic/gai_sigqueue.c: New file.
4998 * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
4999 * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
5000 and provide only that definition.
5001 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
5002 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
5003 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5004 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5005 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5006 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5008 * rt/aio_misc.c: Fix typos in comments.
5009 * rt/lio_listio.c: Pretty printing. Little optimization in request
5012 * elf/rtld.c: Remove commented out code.
5014 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
5015 Update for real 2.4 kernels.
5017 2001-03-01 Ulrich Drepper <drepper@redhat.com>
5019 * elf/dl-load.c: Pretty printing.
5021 * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
5024 2001-02-28 Ulrich Drepper <drepper@redhat.com>
5026 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
5027 relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
5029 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
5031 * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
5034 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
5036 2001-02-27 Ulrich Drepper <drepper@redhat.com>
5038 * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
5041 * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
5043 * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
5044 _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf,
5045 _dl_debug_printf_c, and _dl_printf.
5046 * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
5047 _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
5048 _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c,
5049 _dl_printf, _dl_error_printf, and _dl_fatal_printf.
5050 * elf/dl-close.c: Replace use of old output functions with the new
5052 * elf/dl-deps.c: Likewise.
5053 * elf/dl-error.c: Likewise.
5054 * elf/dl-fini.c: Likewise.
5055 * elf/dl-init.c: Likewise.
5056 * elf/dl-load.c: Likewise.
5057 * elf/dl-lookup.c: Likewise.
5058 * elf/dl-minimal.c: Likewise.
5059 * elf/dl-open.c: Likewise.
5060 * elf/dl-profile.c: Likewise.
5061 * elf/dl-reloc.c: Likewise.
5062 * elf/dl-version.c: Likewise.
5063 * elf/do-lookup.h: Likewise.
5064 * elf/rtld.c: Likewise.
5065 * sysdeps/generic/dl-cache.c: Likewise.
5066 * sysdeps/generic/dl-sysdep.c: Likewise.
5067 * sysdeps/generic/libc-start.c: Likewise.
5068 * sysdeps/i386/dl-machine.h: Likewise.
5069 * sysdeps/arm/dl-machine.h: Likewise.
5070 * sysdeps/hppa/dl-machine.h: Likewise.
5071 * sysdeps/m68k/dl-machine.h: Likewise.
5072 * sysdeps/powerpc/dl-machine.h: Likewise.
5073 * sysdeps/s390/dl-machine.h: Likewise.
5074 * sysdeps/sh/dl-machine.h: Likewise.
5075 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5076 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
5077 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5079 * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
5081 * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
5082 supported by assembler.
5084 * sysdeps/generic/ldsodefs.h: Remove commented-out variable
5087 * elf/rtld.c: Little optimizations in handling _dl_lazy.
5089 * elf/cache.c (save_cache): Portability changes.
5090 * elf/dl-profile.c (_dl_start_profile): Likewise.
5092 * elf/sln.c: Cleanups. Remove arbitrary limits.
5094 * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
5095 * elf/dl-deps.c: Likewise.
5096 * elf/dl-fini.c: Likewise.
5097 * elf/dl-init.c: Likewise.
5098 * elf/dl-load.c: Likewise.
5099 * elf/dl-lookup.c: Likewise.
5100 * elf/dl-open.c: Likewise.
5101 * elf/dl-reloc.c: Likewise.
5102 * elf/dl-support.c: Likewise.
5103 * elf/dl-version.c: Likewise.
5104 * elf/do-lookup.h: Likewise.
5105 * elf/rtld.c: Likewise.
5106 * sysdeps/generic/dl-cache.c: Likewise.
5107 * sysdeps/generic/ldsodefs.h: Likewise.
5108 * sysdeps/generic/libc-start.c: Likewise.
5109 * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
5110 Export _dl_debug_mask.
5111 * Versions.def: Define GLIBC_2.2.3 for ld.
5113 2001-02-26 Greg McGary <greg@mcgary.org>
5115 * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
5117 2001-02-26 Paul Eggert <eggert@twinsun.com>
5119 Modify mkstemp.c and tempname.c so that they can be used by
5120 GNU applications on non-glibc platforms.
5122 * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
5124 * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
5125 Include <stddef.h>, <stdint.h>, <string.h> only if
5126 STDC_HEADERS || _LIBC.
5127 Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
5128 Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
5129 Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
5130 (__set_errno): Define this macro if <errno.h> doesn't.
5131 (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
5132 Define these macros if <stdio.h> doesn't.
5133 (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
5134 Define these macros if <sys/stat.h> doesn't.
5135 Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
5136 (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
5137 lxstat64, __xstat64): Define if not _LIBC.
5138 (struct_stat64): New macro.
5139 (direxists, __gen_tempname): Use it, to avoid a
5140 portability problem with Solaris 8.
5141 (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
5142 (__gen_tempname): Invoke gettimeofday only if
5143 HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
5144 Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
5145 octal values like 0600.
5147 2001-02-26 Ulrich Drepper <drepper@redhat.com>
5149 * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
5150 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5152 * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
5153 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5155 * posix/wordexp-test.c (testit): Remove warnings.
5157 * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
5158 (tests): Add tstatexit and tstcxaatexit.
5159 (module-names): Add modatexit and modcxaatexit.
5160 Add rules to build and run tstatexit and tstcxaatexit.
5161 * dlfcn/modatexit.c: New file.
5162 * dlfcn/modcxaatexit.c: New file.
5163 * dlfcn/tstatexit.c: New file.
5164 * dlfcn/tstcxaatexit.c: New file.
5166 * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
5167 .hidden is available.
5168 * io/stat.c: If .hidden is available use it to avoid exporting
5170 * io/fstat.c: Likewise.
5171 * io/lstat.c: Likewise.
5172 * io/stat64.c: Likewise.
5173 * io/fstat64.c: Likewise.
5174 * io/lstat64.c: Likewise.
5175 * sysdeps/generic/mknod.c: Likewise.
5177 * malloc/mtrace.c: Use __cxa_atexit and not atexit.
5178 * sysdeps/generic/bb_init_func.c: Likewise.
5179 * sysdeps/generic/libc-start.c: Likewise.
5181 * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
5182 (atexit): Implement using __cxa_atexit.
5183 Use .hidden if availble to avoid exporting atexit.
5184 * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
5185 * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
5186 * stdlib/Makefile (routines): Add old_atexit.
5187 (static-only-routines): Add atexit.
5188 Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
5189 * stdlib/old_atexit.c: New file.
5191 * intl/Makefile: Remove bogus endif.
5193 2001-02-26 Andreas Jaeger <aj@suse.de>
5195 * iconvdata/Makefile (tests): Fix typo in last patch.
5197 * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
5199 Reported by Achim Gottinger <achim@gentoo.org>.
5201 2001-02-25 Andreas Jaeger <aj@suse.de>
5203 * intl/Makefile (plural.c): Reorder rules so that they work if
5204 BISON doesn't exist.
5206 2001-02-25 Ulrich Drepper <drepper@redhat.com>
5208 * intl/locale.alias: Don't use nb_NO but define aliases for it.
5210 2001-02-23 Ulrich Drepper <drepper@redhat.com>
5212 * sysdeps/i386/strtok.S: Continue to return NULL after the first
5215 2001-02-23 Andreas Jaeger <aj@suse.de>
5217 * string/tester.c (test_strtok_r): Add testcase.
5218 (test_strtok_r): Always initialize cp for proper checking.
5220 * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
5221 returning NULL correctly.
5222 Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
5223 * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
5225 2001-02-23 Ulrich Drepper <drepper@redhat.com>
5227 * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
5228 including <stddef.h>.
5229 * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
5230 * include/libc-symbols.h (weak_alias): Don't use .weak if
5231 HAVE_ASM_GLOBAL_DOT_NAME is defined.
5232 Patches by Michael Keezer <mkeezer@redhat.com>.
5234 * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
5235 Patch by Michael Keezer <mkeezer@redhat.com>.
5237 * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
5238 * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
5239 (sysdep_routines): Remove restf.S and savef.S.
5240 * sysdeps/unix/sysv/aix/restf.S: Removed.
5241 * sysdeps/unix/sysv/aix/savef.S: Removed.
5242 * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define
5243 alternative names used on some platforms.
5244 * sysdeps/powerpc/fprsave.S: Likewise.
5245 * sysdeps/powerpc/gprrest0.S: Likewise.
5246 * sysdeps/powerpc/gprrest1.S: Likewise.
5247 * sysdeps/powerpc/gprsave0.S: Likewise.
5248 * sysdeps/powerpc/gprsave1.S: Likewise.
5249 Patch by Michael Keezer <mkeezer@redhat.com>.
5251 2001-02-22 Ulrich Drepper <drepper@redhat.com>
5253 * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
5255 2001-02-22 Andreas Jaeger <aj@suse.de>
5257 * string/tst-strtok.c (main): Fix error messages.
5259 2001-02-22 Andreas Jaeger <aj@suse.de>
5261 * math/Makefile: Remove omit-long-double-fcts.
5263 2001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5265 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
5266 avoid problems on MIPS I.
5267 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
5269 * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
5272 2001-02-21 Ulrich Drepper <drepper@redhat.com>
5274 * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
5276 * sysdeps/generic/ftime.c: Include <time.h>.
5278 * configure.in: Don't check for libgd if user passed --without-gd.
5279 Patch by Achim Gottinger <achim@gentoo.org>.
5281 * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
5282 first time this happened.
5283 * string/Makefile (tests): Add tst-strtok.
5285 2001-02-21 Andreas Jaeger <aj@suse.de>
5287 * string/tst-strtok.c: New testcase, reported by
5288 Andrew Church <achurch@achurch.org>.
5290 2001-02-20 Ulrich Drepper <drepper@redhat.com>
5292 * libio/iofwide.c: Remove fwide alias.
5294 2001-02-20 Andreas Jaeger <aj@suse.de>
5296 * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
5298 Reported by Achim Gottinger <achim@gentoo.org>.
5300 2001-02-19 Ulrich Drepper <drepper@redhat.com>
5302 * iconv/tst-iconv1.c (main): Remove debugging code.
5304 * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
5305 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5307 * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
5309 * sysdeps/generic/e_scalbf.c: Likewise.
5310 * sysdeps/generic/e_scalbl.c: Likewise.
5312 * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
5313 libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
5315 (routines): Replace libm_error with libc_libm_error.
5316 * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
5317 * sysdeps/ia64/fpu/libc_libm_error.c: New file.
5319 2001-02-18 Mark Kettenis <kettenis@gnu.org>
5321 * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
5322 (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
5324 2001-02-17 H.J. Lu <hjl@gnu.org>
5326 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
5327 scratch registers across the system call.
5329 2001-02-19 Andreas Jaeger <aj@suse.de>
5331 * malloc/Makefile (tests): Run mtrace only when perl is available.
5332 Reported by Achim Gottinger <achim@gentoo.org>.
5334 2001-02-19 Ulrich Drepper <drepper@redhat.com>
5336 * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
5337 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5339 * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
5340 * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
5341 * math/libm-test.inc (j1_test): Mark constants as long double.
5342 (jn_test): Likewise.
5343 (y1_test): Likewise.
5344 (yn_test): Likewise.
5346 * libio/iogetline.c: Move return until after last statement.
5348 * localedata/show-ucs-data.c: Don't show < > for better readability.
5350 * sysdeps/ia64/fpu/Dist: New file.
5351 * sysdeps/ia64/fpu/Makefile: New file.
5352 * sysdeps/ia64/fpu/Versions: New file.
5353 * sysdeps/ia64/fpu/e_acos.S: New file.
5354 * sysdeps/ia64/fpu/e_acosf.S: New file.
5355 * sysdeps/ia64/fpu/e_acosl.S: New file.
5356 * sysdeps/ia64/fpu/e_asin.S: New file.
5357 * sysdeps/ia64/fpu/e_asinf.S: New file.
5358 * sysdeps/ia64/fpu/e_asinl.S: New file.
5359 * sysdeps/ia64/fpu/e_atan2.S: New file.
5360 * sysdeps/ia64/fpu/e_atan2f.S: New file.
5361 * sysdeps/ia64/fpu/e_atan2l.c: New file.
5362 * sysdeps/ia64/fpu/e_cosh.S: New file.
5363 * sysdeps/ia64/fpu/e_coshf.S: New file.
5364 * sysdeps/ia64/fpu/e_coshl.S: New file.
5365 * sysdeps/ia64/fpu/e_exp.S: New file.
5366 * sysdeps/ia64/fpu/e_expf.S: New file.
5367 * sysdeps/ia64/fpu/e_expl.c: New file.
5368 * sysdeps/ia64/fpu/e_fmod.S: New file.
5369 * sysdeps/ia64/fpu/e_fmodf.S: New file.
5370 * sysdeps/ia64/fpu/e_fmodl.S: New file.
5371 * sysdeps/ia64/fpu/e_hypot.S: New file.
5372 * sysdeps/ia64/fpu/e_hypotf.S: New file.
5373 * sysdeps/ia64/fpu/e_hypotl.S: New file.
5374 * sysdeps/ia64/fpu/e_log.S: New file.
5375 * sysdeps/ia64/fpu/e_log10.c: New file.
5376 * sysdeps/ia64/fpu/e_log10f.c: New file.
5377 * sysdeps/ia64/fpu/e_log10l.c: New file.
5378 * sysdeps/ia64/fpu/e_logf.S: New file.
5379 * sysdeps/ia64/fpu/e_logl.c: New file.
5380 * sysdeps/ia64/fpu/e_pow.S: New file.
5381 * sysdeps/ia64/fpu/e_powf.S: New file.
5382 * sysdeps/ia64/fpu/e_powl.S: New file.
5383 * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
5384 * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
5385 * sysdeps/ia64/fpu/e_remainder.S: New file.
5386 * sysdeps/ia64/fpu/e_remainderf.S: New file.
5387 * sysdeps/ia64/fpu/e_remainderl.S: New file.
5388 * sysdeps/ia64/fpu/e_scalb.S: New file.
5389 * sysdeps/ia64/fpu/e_scalbf.S: New file.
5390 * sysdeps/ia64/fpu/e_scalbl.S: New file.
5391 * sysdeps/ia64/fpu/e_sinh.S: New file.
5392 * sysdeps/ia64/fpu/e_sinhf.S: New file.
5393 * sysdeps/ia64/fpu/e_sinhl.S: New file.
5394 * sysdeps/ia64/fpu/e_sqrt.S: New file.
5395 * sysdeps/ia64/fpu/e_sqrtf.S: New file.
5396 * sysdeps/ia64/fpu/e_sqrtl.S: New file.
5397 * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
5398 * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
5399 * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
5400 * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
5401 * sysdeps/ia64/fpu/libm_error.c: New file.
5402 * sysdeps/ia64/fpu/libm_frexp4.S: New file.
5403 * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
5404 * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
5405 * sysdeps/ia64/fpu/libm_reduce.S: New file.
5406 * sysdeps/ia64/fpu/libm_support.h: New file.
5407 * sysdeps/ia64/fpu/libm_tan.S: New file.
5408 * sysdeps/ia64/fpu/s_atan.S: New file.
5409 * sysdeps/ia64/fpu/s_atanf.S: New file.
5410 * sysdeps/ia64/fpu/s_atanl.S: New file.
5411 * sysdeps/ia64/fpu/s_cbrt.S: New file.
5412 * sysdeps/ia64/fpu/s_cbrtf.S: New file.
5413 * sysdeps/ia64/fpu/s_cbrtl.S: New file.
5414 * sysdeps/ia64/fpu/s_ceil.S: New file.
5415 * sysdeps/ia64/fpu/s_ceilf.S: New file.
5416 * sysdeps/ia64/fpu/s_ceill.S: New file.
5417 * sysdeps/ia64/fpu/s_cos.S: New file.
5418 * sysdeps/ia64/fpu/s_cosf.S: New file.
5419 * sysdeps/ia64/fpu/s_cosl.S: New file.
5420 * sysdeps/ia64/fpu/s_expm1.S: New file.
5421 * sysdeps/ia64/fpu/s_expm1f.S: New file.
5422 * sysdeps/ia64/fpu/s_expm1l.S: New file.
5423 * sysdeps/ia64/fpu/s_floor.S: New file.
5424 * sysdeps/ia64/fpu/s_floorf.S: New file.
5425 * sysdeps/ia64/fpu/s_floorl.S: New file.
5426 * sysdeps/ia64/fpu/s_frexp.c: New file.
5427 * sysdeps/ia64/fpu/s_frexpf.c: New file.
5428 * sysdeps/ia64/fpu/s_frexpl.c: New file.
5429 * sysdeps/ia64/fpu/s_ilogb.S: New file.
5430 * sysdeps/ia64/fpu/s_ilogbf.S: New file.
5431 * sysdeps/ia64/fpu/s_ilogbl.S: New file.
5432 * sysdeps/ia64/fpu/s_ldexp.S: New file.
5433 * sysdeps/ia64/fpu/s_ldexpf.S: New file.
5434 * sysdeps/ia64/fpu/s_ldexpl.S: New file.
5435 * sysdeps/ia64/fpu/s_log1p.S: New file.
5436 * sysdeps/ia64/fpu/s_log1pf.S: New file.
5437 * sysdeps/ia64/fpu/s_log1pl.S: New file.
5438 * sysdeps/ia64/fpu/s_logb.S: New file.
5439 * sysdeps/ia64/fpu/s_logbf.S: New file.
5440 * sysdeps/ia64/fpu/s_logbl.S: New file.
5441 * sysdeps/ia64/fpu/s_matherrf.c: New file.
5442 * sysdeps/ia64/fpu/s_matherrl.c: New file.
5443 * sysdeps/ia64/fpu/s_modf.S: New file.
5444 * sysdeps/ia64/fpu/s_modff.S: New file.
5445 * sysdeps/ia64/fpu/s_modfl.S: New file.
5446 * sysdeps/ia64/fpu/s_nearbyint.S: New file.
5447 * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
5448 * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
5449 * sysdeps/ia64/fpu/s_rint.S: New file.
5450 * sysdeps/ia64/fpu/s_rintf.S: New file.
5451 * sysdeps/ia64/fpu/s_rintl.S: New file.
5452 * sysdeps/ia64/fpu/s_round.S: New file.
5453 * sysdeps/ia64/fpu/s_roundf.S: New file.
5454 * sysdeps/ia64/fpu/s_roundl.S: New file.
5455 * sysdeps/ia64/fpu/s_scalbn.S: New file.
5456 * sysdeps/ia64/fpu/s_scalbnf.S: New file.
5457 * sysdeps/ia64/fpu/s_scalbnl.S: New file.
5458 * sysdeps/ia64/fpu/s_significand.S: New file.
5459 * sysdeps/ia64/fpu/s_significandf.S: New file.
5460 * sysdeps/ia64/fpu/s_significandl.S: New file.
5461 * sysdeps/ia64/fpu/s_sin.c: New file.
5462 * sysdeps/ia64/fpu/s_sincos.c: New file.
5463 * sysdeps/ia64/fpu/s_sincosf.c: New file.
5464 * sysdeps/ia64/fpu/s_sincosl.c: New file.
5465 * sysdeps/ia64/fpu/s_sinf.c: New file.
5466 * sysdeps/ia64/fpu/s_sinl.c: New file.
5467 * sysdeps/ia64/fpu/s_tan.S: New file.
5468 * sysdeps/ia64/fpu/s_tanf.S: New file.
5469 * sysdeps/ia64/fpu/s_tanl.S: New file.
5470 * sysdeps/ia64/fpu/s_trunc.S: New file.
5471 * sysdeps/ia64/fpu/s_truncf.S: New file.
5472 * sysdeps/ia64/fpu/s_truncl.S: New file.
5473 * sysdeps/ia64/fpu/w_acos.c: New file.
5474 * sysdeps/ia64/fpu/w_acosf.c: New file.
5475 * sysdeps/ia64/fpu/w_acosl.c: New file.
5476 * sysdeps/ia64/fpu/w_asin.c: New file.
5477 * sysdeps/ia64/fpu/w_asinf.c: New file.
5478 * sysdeps/ia64/fpu/w_asinl.c: New file.
5479 * sysdeps/ia64/fpu/w_atan2.c: New file.
5480 * sysdeps/ia64/fpu/w_atan2f.c: New file.
5481 * sysdeps/ia64/fpu/w_atan2l.c: New file.
5482 * sysdeps/ia64/fpu/w_cosh.c: New file.
5483 * sysdeps/ia64/fpu/w_coshf.c: New file.
5484 * sysdeps/ia64/fpu/w_coshl.c: New file.
5485 * sysdeps/ia64/fpu/w_exp.c: New file.
5486 * sysdeps/ia64/fpu/w_expf.c: New file.
5487 * sysdeps/ia64/fpu/w_fmod.c: New file.
5488 * sysdeps/ia64/fpu/w_fmodf.c: New file.
5489 * sysdeps/ia64/fpu/w_fmodl.c: New file.
5490 * sysdeps/ia64/fpu/w_hypot.c: New file.
5491 * sysdeps/ia64/fpu/w_hypotf.c: New file.
5492 * sysdeps/ia64/fpu/w_hypotl.c: New file.
5493 * sysdeps/ia64/fpu/w_log.c: New file.
5494 * sysdeps/ia64/fpu/w_log10.c: New file.
5495 * sysdeps/ia64/fpu/w_log10f.c: New file.
5496 * sysdeps/ia64/fpu/w_log10l.c: New file.
5497 * sysdeps/ia64/fpu/w_logf.c: New file.
5498 * sysdeps/ia64/fpu/w_logl.c: New file.
5499 * sysdeps/ia64/fpu/w_pow.c: New file.
5500 * sysdeps/ia64/fpu/w_powf.c: New file.
5501 * sysdeps/ia64/fpu/w_powl.c: New file.
5502 * sysdeps/ia64/fpu/w_remainder.c: New file.
5503 * sysdeps/ia64/fpu/w_remainderf.c: New file.
5504 * sysdeps/ia64/fpu/w_remainderl.c: New file.
5505 * sysdeps/ia64/fpu/w_scalb.c: New file.
5506 * sysdeps/ia64/fpu/w_scalbf.c: New file.
5507 * sysdeps/ia64/fpu/w_scalbl.c: New file.
5508 * sysdeps/ia64/fpu/w_sqrt.c: New file.
5509 * sysdeps/ia64/fpu/w_sqrtf.c: New file.
5510 * sysdeps/ia64/fpu/w_sqrtl.c: New file.
5511 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
5513 * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
5514 Change FP_ILOGBNAN for new implementation.
5515 * Verions.def: Add 2.2.3 versions.
5517 2001-02-18 Ulrich Drepper <drepper@redhat.com>
5519 * math/libm-test.inc (scalb_test): Require invalid exception being
5520 raised for invalid parameters.
5521 * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
5522 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5523 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5525 2001-02-18 Mark Kettenis <kettenis@gnu.org>
5527 * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
5529 (__get_avphys_pages): Likewise.
5531 2001-02-18 Ulrich Drepper <drepper@redhat.com>
5533 * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
5534 * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
5535 * sysdeps/i386/fpu/e_powf.S: Likewise.
5536 * sysdeps/i386/fpu/e_powl.S: Likewise.
5538 * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
5540 2001-02-17 Ulrich Drepper <drepper@redhat.com>
5542 * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
5544 * sysdeps/generic/s_exp2l.c: Renamed to...
5545 * sysdeps/generic/e_exp2l.c: ...this. New file.
5546 * sysdeps/i386/fpu/s_exp2.S: Renamed to...
5547 * sysdeps/i386/fpu/e_exp2.S: ...this. New file.
5548 * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
5549 * sysdeps/i386/fpu/e_exp2f.S: ...this. New file.
5550 * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
5551 * sysdeps/i386/fpu/e_exp2l.S: ...this. New file.
5552 * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
5553 * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file.
5554 * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
5555 * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file.
5556 * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
5557 * sysdeps/m68k/fpu/e_exp2.c: ...this. New file.
5558 * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
5559 * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file.
5560 * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
5561 * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file.
5563 2001-02-17 Andreas Jaeger <aj@suse.de>
5565 * configure.in: Allow gcc 3.
5567 2001-02-16 Ulrich Drepper <drepper@redhat.com>
5569 * math/w_acos.c: Move to ...
5570 * sysdeps/generic/w_acos.c: ...here. New file.
5571 * math/w_acosf.c: Move to ...
5572 * sysdeps/generic/w_acosf.c: ...here. New file.
5573 * math/w_acosh.c: Move to ...
5574 * sysdeps/generic/w_acosh.c: ...here. New file.
5575 * math/w_acoshf.c: Move to ...
5576 * sysdeps/generic/w_acoshf.c: ...here. New file.
5577 * math/w_acoshl.c: Move to ...
5578 * sysdeps/generic/w_acoshl.c: ...here. New file.
5579 * math/w_acosl.c: Move to ...
5580 * sysdeps/generic/w_acosl.c: ...here. New file.
5581 * math/w_asin.c: Move to ...
5582 * sysdeps/generic/w_asin.c: ...here. New file.
5583 * math/w_asinf.c: Move to ...
5584 * sysdeps/generic/w_asinf.c: ...here. New file.
5585 * math/w_asinl.c: Move to ...
5586 * sysdeps/generic/w_asinl.c: ...here. New file.
5587 * math/w_atan2.c: Move to ...
5588 * sysdeps/generic/w_atan2.c: ...here. New file.
5589 * math/w_atan2f.c: Move to ...
5590 * sysdeps/generic/w_atan2f.c: ...here. New file.
5591 * math/w_atan2l.c: Move to ...
5592 * sysdeps/generic/w_atan2l.c: ...here. New file.
5593 * math/w_atanh.c: Move to ...
5594 * sysdeps/generic/w_atanh.c: ...here. New file.
5595 * math/w_atanhf.c: Move to ...
5596 * sysdeps/generic/w_atanhf.c: ...here. New file.
5597 * math/w_atanhl.c: Move to ...
5598 * sysdeps/generic/w_atanhl.c: ...here. New file.
5599 * math/w_cosh.c: Move to ...
5600 * sysdeps/generic/w_cosh.c: ...here. New file.
5601 * math/w_coshf.c: Move to ...
5602 * sysdeps/generic/w_coshf.c: ...here. New file.
5603 * math/w_coshl.c: Move to ...
5604 * sysdeps/generic/w_coshl.c: ...here. New file.
5605 * math/w_drem.c: Move to ...
5606 * sysdeps/generic/w_drem.c: ...here. New file.
5607 * math/w_dremf.c: Move to ...
5608 * sysdeps/generic/w_dremf.c: ...here. New file.
5609 * math/w_dreml.c: Move to ...
5610 * sysdeps/generic/w_dreml.c: ...here. New file.
5611 * math/w_exp10.c: Move to ...
5612 * sysdeps/generic/w_exp10.c: ...here. New file.
5613 * math/w_exp10f.c: Move to ...
5614 * sysdeps/generic/w_exp10f.c: ...here. New file.
5615 * math/w_exp10l.c: Move to ...
5616 * sysdeps/generic/w_exp10l.c: ...here. New file.
5617 * math/w_exp2.c: Move to ...
5618 * sysdeps/generic/w_exp2.c: ...here. New file.
5619 * math/w_exp2f.c: Move to ...
5620 * sysdeps/generic/w_exp2f.c: ...here. New file.
5621 * math/w_exp2l.c: Move to ...
5622 * sysdeps/generic/w_exp2l.c: ...here. New file.
5623 * math/w_fmod.c: Move to ...
5624 * sysdeps/generic/w_fmod.c: ...here. New file.
5625 * math/w_fmodf.c: Move to ...
5626 * sysdeps/generic/w_fmodf.c: ...here. New file.
5627 * math/w_fmodl.c: Move to ...
5628 * sysdeps/generic/w_fmodl.c: ...here. New file.
5629 * math/w_hypot.c: Move to ...
5630 * sysdeps/generic/w_hypot.c: ...here. New file.
5631 * math/w_hypotf.c: Move to ...
5632 * sysdeps/generic/w_hypotf.c: ...here. New file.
5633 * math/w_hypotl.c: Move to ...
5634 * sysdeps/generic/w_hypotl.c: ...here. New file.
5635 * math/w_j0.c: Move to ...
5636 * sysdeps/generic/w_j0.c: ...here. New file.
5637 * math/w_j0f.c: Move to ...
5638 * sysdeps/generic/w_j0f.c: ...here. New file.
5639 * math/w_j0l.c: Move to ...
5640 * sysdeps/generic/w_j0l.c: ...here. New file.
5641 * math/w_j1.c: Move to ...
5642 * sysdeps/generic/w_j1.c: ...here. New file.
5643 * math/w_j1f.c: Move to ...
5644 * sysdeps/generic/w_j1f.c: ...here. New file.
5645 * math/w_j1l.c: Move to ...
5646 * sysdeps/generic/w_j1l.c: ...here. New file.
5647 * math/w_jn.c: Move to ...
5648 * sysdeps/generic/w_jn.c: ...here. New file.
5649 * math/w_jnf.c: Move to ...
5650 * sysdeps/generic/w_jnf.c: ...here. New file.
5651 * math/w_jnl.c: Move to ...
5652 * sysdeps/generic/w_jnl.c: ...here. New file.
5653 * math/w_lgamma.c: Move to ...
5654 * sysdeps/generic/w_lgamma.c: ...here. New file.
5655 * math/w_lgammaf.c: Move to ...
5656 * sysdeps/generic/w_lgammaf.c: ...here. New file.
5657 * math/w_lgammaf_r.c: Move to ...
5658 * sysdeps/generic/w_lgammaf_r.c: ...here. New file.
5659 * math/w_lgammal.c: Move to ...
5660 * sysdeps/generic/w_lgammal.c: ...here. New file.
5661 * math/w_lgammal_r.c: Move to ...
5662 * sysdeps/generic/w_lgammal_r.c: ...here. New file.
5663 * math/w_lgamma_r.c: Move to ...
5664 * sysdeps/generic/w_lgamma_r.c: ...here. New file.
5665 * math/w_log10.c: Move to ...
5666 * sysdeps/generic/w_log10.c: ...here. New file.
5667 * math/w_log10f.c: Move to ...
5668 * sysdeps/generic/w_log10f.c: ...here. New file.
5669 * math/w_log10l.c: Move to ...
5670 * sysdeps/generic/w_log10l.c: ...here. New file.
5671 * math/w_log.c: Move to ...
5672 * sysdeps/generic/w_log.c: ...here. New file.
5673 * math/w_logf.c: Move to ...
5674 * sysdeps/generic/w_logf.c: ...here. New file.
5675 * math/w_logl.c: Move to ...
5676 * sysdeps/generic/w_logl.c: ...here. New file.
5677 * math/w_pow.c: Move to ...
5678 * sysdeps/generic/w_pow.c: ...here. New file.
5679 * math/w_powf.c: Move to ...
5680 * sysdeps/generic/w_powf.c: ...here. New file.
5681 * math/w_powl.c: Move to ...
5682 * sysdeps/generic/w_powl.c: ...here. New file.
5683 * math/w_remainder.c: Move to ...
5684 * sysdeps/generic/w_remainder.c: ...here. New file.
5685 * math/w_remainderf.c: Move to ...
5686 * sysdeps/generic/w_remainderf.c: ...here. New file.
5687 * math/w_remainderl.c: Move to ...
5688 * sysdeps/generic/w_remainderl.c: ...here. New file.
5689 * math/w_scalb.c: Move to ...
5690 * sysdeps/generic/w_scalb.c: ...here. New file.
5691 * math/w_scalbf.c: Move to ...
5692 * sysdeps/generic/w_scalbf.c: ...here. New file.
5693 * math/w_scalbl.c: Move to ...
5694 * sysdeps/generic/w_scalbl.c: ...here. New file.
5695 * math/w_sinh.c: Move to ...
5696 * sysdeps/generic/w_sinh.c: ...here. New file.
5697 * math/w_sinhf.c: Move to ...
5698 * sysdeps/generic/w_sinhf.c: ...here. New file.
5699 * math/w_sinhl.c: Move to ...
5700 * sysdeps/generic/w_sinhl.c: ...here. New file.
5701 * math/w_sqrtl.c: Move to ...
5702 * sysdeps/generic/w_sqrtl.c: ...here. New file.
5703 * math/w_tgamma.c: Move to ...
5704 * sysdeps/generic/w_tgamma.c: ...here. New file.
5705 * math/w_tgammaf.c: Move to ...
5706 * sysdeps/generic/w_tgammaf.c: ...here. New file.
5707 * math/w_tgammal.c: Move to ...
5708 * sysdeps/generic/w_tgammal.c: ...here. New file.
5710 * locale/programs/ld-address.c (address_finish): Add 'S' to allow
5711 formats for postal_fmt.
5713 2001-02-16 Jakub Jelinek <jakub@redhat.com>
5715 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
5716 __ftruncate64 alias.
5717 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
5720 2001-02-15 David Mosberger <davidm@hpl.hp.com>
5722 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
5723 do "loadrs". Writing to bspstore already takes care of
5724 invalidating the "clean" partition.
5726 2001-02-16 Andreas Schwab <schwab@suse.de>
5728 * sysdeps/m68k/fpu/s_nextafterl.c: New file.
5729 * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
5731 2001-02-15 Jakub Jelinek <jakub@redhat.com>
5733 * posix/regex.c (init_syntax_once): Add prototype.
5734 (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
5735 (re_search_2): Avoid warning.
5736 (count_mbs_length): Add prototype.
5737 * posix/tst-regex3.c: New file.
5738 * posix/Makefile (tests): Add bug-regex3.
5740 2001-02-15 Ulrich Drepper <drepper@redhat.com>
5742 * stdio-common/Makefile (tests): Add tst-gets.
5743 * stdio-common/tst-gets.c: New file.
5744 * stdio-common/tst-gets.input: New file.
5746 * elf/elf.h (DT_CHECKSUM): Define.
5748 * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
5750 * sysdeps/generic/strtoull.c: Likewise.
5752 2001-02-14 Wolfram Gloger <wg@malloc.de>
5754 * malloc/malloc.c (new_heap): When allocating large chunk aligned
5755 to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
5758 2001-02-14 Ulrich Drepper <drepper@redhat.com>
5760 * math/libm-test.inc (j0_test): Check whether sincos is available.
5761 (j1_test): Likewise.
5762 (jn_test): Likewise.
5763 (y0_test): Likewise.
5764 (y1_test): Likewise.
5765 (yn_test): Likewise.
5767 * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
5768 fake filesystem routines to handle this.
5770 * time/sys/time.h: Make settimeofday and adjtime available if
5773 * time/sys/time.h: Make timer* macros available for BSD.
5775 * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
5776 Patch by Yong Li <rigel863@yahoo.com>.
5778 * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
5781 * posix/Makefile (tests): Add tst-gnuglob.
5782 * posix/tst-gnuglob.c: New file.
5784 2001-02-13 H.J. Lu <hjl@gnu.org>
5786 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
5788 2001-02-13 Ulrich Drepper <drepper@redhat.com>
5790 * locale/programs/ld-paper.c (paper_output): Pretty printing.
5792 * iconvdata/Makefile (modules): Add GBBIG5.
5793 (distribute): Add gbbig5.c.
5794 * iconvdata/gconv-modules: Add entries for GBBIG5 module.
5796 * iconvdata/gbbig5.c: New file.
5797 Contributed by Yong Li <rigel863@yahoo.com>.
5799 2001-02-13 Philip Blundell <pb@futuretv.com>
5801 * manual/crypt.texi: Remove outdated references to crypt add-on.
5803 * manual/creature.texi: Improve wording slightly.
5805 2001-02-13 Ulrich Drepper <drepper@redhat.com>
5807 * io/ftw.c: Always use readdir64.
5808 * io/ftw64.c: Likewise.
5809 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5810 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5811 * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
5812 callback to dirent. Still allow compiling outside glibc.
5813 * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
5814 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5816 * malloc/mtrace.c: Use fopen64.
5817 * posix/spawni.c: Use __open64.
5818 * sysdeps/unix/opendir.c: Likewise.
5819 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
5821 * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
5823 * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
5824 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
5825 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5826 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
5828 * resolv/res_data.c: Add cast to avoid warning.
5830 * include/unistd.h: Declare __ftruncate64.
5832 * sysdeps/generic/utmp_file.c: Use LFS functions and types.
5834 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
5837 2001-02-13 Andreas Jaeger <aj@suse.de>
5839 * login/getutent_r.c: Include <stdlib.h> for NULL.
5840 * login/getutid_r.c: Likewise.
5842 2001-02-12 Ulrich Drepper <drepper@redhat.com>
5844 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
5845 * sysdeps/dbl-64/e_j1.c: Likewise.
5846 * sysdeps/dbl-64/e_jn.c: Likewise.
5847 * sysdeps/flt-32/e_j0f.c: Likewise.
5848 * sysdeps/flt-32/e_j1f.c: Likewise.
5849 * sysdeps/ldbl-96/e_j0l.c: Likewise.
5851 2000-12-02 H.J. Lu <hjl@gnu.org>
5853 * resolv/res_libc.c (res_init): Don't make it default.
5855 2001-02-12 Ulrich Drepper <drepper@redhat.com>
5857 * manual/debug.texi: Improved the wording.
5858 Patch by Philip Blundell <pb@futuretv.com>.
5860 2001-02-12 Andreas Jaeger <aj@suse.de>
5862 * posix/Makefile (tests): Don't run bug-regex2 when
5865 * libio/Makefile (tests): Don't run test-freopen when
5868 * manual/stdio.texi (Streams and I18N): Fix typos.
5870 2001-02-12 Ulrich Drepper <drepper@redhat.com>
5872 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
5874 * math/libm-test.inc (j0_test): Make expected results long double
5876 (y0_test): Likewise.
5878 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
5879 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5881 2001-02-11 Jakub Jelinek <jakub@redhat.com>
5883 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
5884 which was exported from libc.
5885 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
5887 2001-02-12 Andreas Jaeger <aj@suse.de>
5889 * manual/arith.texi (Parsing of Integers): Fix some wordings.
5891 2001-02-11 Ulrich Drepper <drepper@redhat.com>
5893 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
5894 and get_avphys_page to long int.
5895 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
5896 * include/sys/sysinfo.h: Likewise.
5897 * sysdeps/generic/sys/sysinfo.h: Likewise.
5898 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
5900 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
5901 cannot return as many values as the user asked for.
5903 2001-02-11 Andreas Jaeger <aj@suse.de>
5905 * manual/resource.texi (Memory Resources): Fix typo.
5907 * libio/Makefile ($(objpfx)test-freopen.out): Pass
5910 * libio/test-freopen.sh: Use run_program_prefix.
5912 2001-02-10 Andreas Jaeger <aj@suse.de>
5914 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
5916 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
5918 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
5921 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
5923 * posix/Makefile: Fix typo, it's build-static-nss.
5925 * iconv/Makefile (extra-objs): New.
5927 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5929 * sysdeps/unix/stime.c: Include <time.h>.
5931 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
5933 2001-02-10 Andreas Jaeger <aj@suse.de>
5935 * manual/string.texi (Search Functions): Fix typo.
5937 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5939 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
5940 (timeval_to_clock_t): Add clk_tck argument and use that instead of
5942 (__times): Use __getclktck to get the number of clock ticks per
5943 second and use its return value instead of CLK_TCK.
5945 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5947 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
5949 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5951 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
5953 2001-02-10 Andreas Jaeger <aj@suse.de>
5955 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
5958 2001-02-09 Ulrich Drepper <drepper@redhat.com>
5960 * posix/Makefile: Add rules to build and run bug-regex2.
5961 * posix/bug-regex2.c: New file.
5963 2001-02-10 Jakub Jelinek <jakub@redhat.com>
5965 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
5966 (regex_compile): Likewise.
5967 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
5968 (re_match_2_internal): Use just is_binary instead of two variables.
5969 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
5971 2001-02-09 Ulrich Drepper <drepper@redhat.com>
5973 * version.h (VERSION): Bump to 2.2.2.
5975 * iconv/Makefile (distribute): Add iconv_charmap.c and
5977 * elf/Makefile (distribute): Add firstobj.c.
5978 * Makefile (distribute): Add include/pthread.h.
5980 * configure.in: Require makeinfo version 4.
5982 * libio/tst_wscanf.c (main): Add cast to avoid warning.
5983 * libio/tst_swscanf.c (main): Likewise..
5985 2001-02-09 Jakub Jelinek <jakub@redhat.com>
5987 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
5988 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
5990 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
5991 if not RTLD_BOOTSTRAP.
5992 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5993 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5995 2001-02-09 Ulrich Drepper <drepper@redhat.com>
5997 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
5998 lr_ungetc to push back last read character.
5999 * locale/programs/linereader.h (lr_ungetc): Don't push back is
6001 (lr_ignore_rest): Don't warn about garbage if it is really the end
6004 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
6007 2001-02-08 Ulrich Drepper <drepper@redhat.com>
6009 * Makerules (build-shlib): Work around different order of
6010 processing of -B option in different gcc versions.
6012 * posix/regex.c: Fix alignment problem.
6013 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6015 * sysdeps/alpha/strrchr.S: Little optimization.
6016 Patch by Richard Henderson <rth@redhat.com>.
6018 * sysdeps/alpha/alphaev67/strrchr.S: New file.
6019 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
6021 2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
6023 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
6024 in the assembler end directive.
6026 2001-02-08 Andreas Jaeger <aj@suse.de>
6028 * manual/stdio.texi (Closing Streams): Fix typos.
6030 2001-02-07 Ulrich Drepper <drepper@redhat.com>
6032 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
6033 Patch by Richard Henderson <rth@redhat.com>.
6034 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
6036 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
6037 pointer in FILE structure before calling _IO_init.
6038 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
6039 strfmon_l if necessary.
6040 Reported by Jury Gerold <gjury@grips.com>.
6042 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
6043 Patch by Pekka.Pietikainen@cern.ch.
6045 * posix/regex.c: Correct several problems with 64-bit architectures
6046 introduced in the MBS changes.
6047 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6049 2001-02-07 Jakub Jelinek <jakub@redhat.com>
6051 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
6053 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
6055 2001-02-07 Andreas Jaeger <aj@suse.de>
6057 * manual/install.texi (Tools for Compilation): Fix typo.
6058 Reported by Pavel Machek <pavel@bug.ucw.cz>.
6060 2001-02-07 Ulrich Drepper <drepper@redhat.com>
6062 * stdlib/strtod.c: Never stop prematurely reading digits before the
6063 decimal point is found. Compute exponent limit for negative exponents
6064 correctly. For numbers ending in all zeros eat the zeros even before
6065 the decimal point if the exponent is negative [PR libc/2072].
6066 * stdlib/Makefile (tests): Add bug-strtod.
6067 * stdlib/bug-strtod.c: New file.
6069 2001-02-07 Andreas Jaeger <aj@suse.de>
6071 * posix/bug-regex1.c: Include <wchar.h> for fwide.
6073 2001-02-06 Ulrich Drepper <drepper@redhat.com>
6075 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
6077 (compile_range): Handle index being passed, not pointer.
6078 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6080 * posix/regex.c: Fix a cast in the code for bracket handling which
6081 caused 8-bit uncleanliness.
6082 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
6084 * posix/Makefile (tests): Add bug-regex1.
6085 * posix/bug-regex1.c: New file.
6086 Contributed by Jim Meyering <jim@meyering.net>.
6088 * posix/regex.c: Many cleanups for incorrect format strings.
6090 2001-02-06 Andreas Jaeger <aj@suse.de>
6092 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
6094 2001-02-06 Ulrich Drepper <drepper@redhat.com>
6096 * locale/programs/locale.c (write_locales): Use scandir to read
6097 directory so that the entries are sorted.
6099 2001-02-06 Andreas Jaeger <aj@suse.de>
6101 * include/pthread.h: New file.
6103 * wctype/wctype.h: Move internal interfaces from here to...
6104 * include/wctype.h: ...here.
6106 * wcsmbs/wchar.h: Move __wcslen from here to...
6107 * include/wchar.h: ...here.
6109 * posix/sys/wait.h: Move __wait from here to...
6110 * include/sys/wait.h: ...here.
6112 * string/string.h: Move __ffs and __strerror_r from here to...
6113 * include/string.h: ...here.
6115 * stdlib/stdlib.h: Move __on_exit from here to...
6116 * include/stdlib.h: ...here.
6118 * libio/stdio.h: Move __vsnprintf from here to...
6119 * include/stdio.h: ...here.
6121 2001-02-06 Andreas Schwab <schwab@suse.de>
6123 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
6126 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
6129 2001-02-06 Ulrich Drepper <drepper@redhat.com>
6131 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
6133 2001-02-06 Andreas Jaeger <aj@suse.de>
6135 * elf/firstobj.c: Add prototype.
6137 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
6138 (truncate_wchar): Likewise.
6140 2001-02-06 Ulrich Drepper <drepper@redhat.com>
6142 * locale/programs/locale.c: Implement --verbose option for -a
6143 which prints detailed information about the locales.
6145 2001-02-05 Ulrich Drepper <drepper@redhat.com>
6147 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
6148 variable to uint32_t.
6149 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
6151 2001-02-04 Bruno Haible <haible@clisp.cons.org>
6153 * locale/C-translit.h.in: Add transliterations for CJK units of
6156 2001-02-05 Ulrich Drepper <drepper@redhat.com>
6158 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
6159 string. Include <inttypes.h> instead of <stdint.h>.
6161 * localedata/Makefile (tests): Add bug-iconv-trans.
6162 Define bug-iconv-trans-ENV.
6163 * localedata/bug-iconv-trans.c: New file.
6165 2001-02-04 Bruno Haible <haible@clisp.cons.org>
6167 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
6168 pointer, to avoid accumulating output from incomplete (unsuccessful)
6169 transliteration attempts.
6171 2001-02-05 Ulrich Drepper <drepper@redhat.com>
6173 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
6174 string. Include <inttypes.h> instead of <stdint.h>.
6176 * configure.in: Add check for bison.
6177 * config.make.in: Define BISON variable.
6178 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
6179 Rename YFLAGS to BISONFLAGS.
6181 2001-02-05 Andreas Jaeger <aj@suse.de>
6183 * io/test-lfs.c (do_test): Test lseek64 return value, call
6185 (test_ftello): New function to test ftello64 and fseeko64.
6187 * signal/signal.h: Move __sigaction from here to...
6188 * include/signal.h: ...here.
6190 * io/fcntl.h: Move __fcntl and __open to...
6191 * include/fcntl.h: ...here.
6193 2001-02-04 Philip Blundell <philb@gnu.org>
6195 * configure.in: Distinguish ARM from Thumb.
6197 2001-02-04 Philip Blundell <philb@gnu.org>
6199 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
6200 PC24 relocs with negative value.
6202 2001-02-04 Ulrich Drepper <drepper@redhat.com>
6204 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
6205 files in locale/programs. Add CFLAGS definition to allow compiling
6207 * iconv/dummy-repertoire.c: New file.
6208 * iconv/iconv_charmap.c: New file.
6209 * iconv/iconv_prog.h: New file.
6210 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
6211 (main): If parameter for -f and -t contain slashes try first to resolve
6212 the strings as filenames of charmap files. Use them for conversion
6214 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
6215 iconv getting charmap names as parameters.
6216 * locale/programs/linereader.c (lr_token): Take extra parameters
6217 verbose and pass it to get_string.
6218 (get_string): Take extra parameters verbose.
6219 * locale/programs/charmap.c (parse_charmap): Take extra parameters
6220 verbose and be_quiet. Change all callers of lr_token and
6222 * locale/programs/charmap.h: Likewise.
6223 * locale/programs/ld-address.c: Likewise.
6224 * locale/programs/ld-collate.c: Likewise.
6225 * locale/programs/ld-ctype.c: Likewise.
6226 * locale/programs/ld-identification.c: Likewise.
6227 * locale/programs/ld-measurement.c: Likewise.
6228 * locale/programs/ld-messages.c: Likewise.
6229 * locale/programs/ld-monetary.c: Likewise.
6230 * locale/programs/ld-name.c: Likewise.
6231 * locale/programs/ld-numeric.c: Likewise.
6232 * locale/programs/ld-paper.c: Likewise.
6233 * locale/programs/ld-telephone.c: Likewise.
6234 * locale/programs/ld-time.c: Likewise.
6235 * locale/programs/linereader.c: Likewise.
6236 * locale/programs/linereader.h: Likewise.
6237 * locale/programs/localedef.c: Likewise.
6238 * locale/programs/locfile.c: Likewise.
6239 * locale/programs/locfile.h: Likewise.
6240 * locale/programs/repertoire.c: Likewise.
6242 2001-02-03 Ulrich Drepper <drepper@redhat.com>
6244 * iconv/iconv_prog.c (main): If output file name is "-" write to
6246 (main): If -f or -t argument is missing use charset of the current
6249 2001-02-03 Andreas Jaeger <aj@suse.de>
6251 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
6252 boundary for SSE/SSE-2 alignment.
6254 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
6257 2001-02-03 Ulrich Drepper <drepper@redhat.com>
6259 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
6260 Remove comma at end of enum.
6262 * elf/dl-init.c: Add a few __builtin_expect.
6264 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
6266 2001-02-02 Ulrich Drepper <drepper@redhat.com>
6268 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
6269 errno is ECONNREFUSED.
6271 * posix/Makefile: Define MBS_SUPPORT for regex.c.
6272 * posix/regex.c: Implement multibyte character handling.
6273 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
6275 * string/tst-svc.input: Add two more test cases.
6276 * string/tst-svc.expect: Modify to reflect new test cases.
6278 2001-02-01 Jakub Jelinek <jakub@redhat.com>
6280 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
6281 tp->name tests with tp->name[0] tests.
6283 2001-01-29 Ben Collins <bcollins@debian.org>
6285 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
6286 Fix check for name == NULL.
6288 2001-02-01 Ulrich Drepper <drepper@redhat.com>
6290 * elf/Makefile: Add rules to build and run initfirst test.
6291 * elf/initfirst.c: New file.
6292 * elf/firstobj.c: New file.
6294 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
6295 * configure.in: Test for -z initfirst linker option.
6296 * config.make.in: Add have-z-initfirst.
6297 * elf/dl-init.c (_dl_init): Split out actual initialization code in
6298 new function call_init. If _dl_initfirst is non-NULL initialize first.
6299 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
6300 remember object in _dl_initfirst.
6301 * elf/soinit.c: Remove special support for calling
6302 __pthread_initialize_minimal.
6304 * conform/conformtest.pl: Add missing $prepend in type test.
6306 2001-01-31 Ulrich Drepper <drepper@redhat.com>
6308 * elf/elf.h (SHT_CHECKSUM): New definition.
6310 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
6311 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6312 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
6314 2001-01-31 Mark Kettenis <kettenis@gnu.org>
6316 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
6317 to get definition of `struct timeval'.
6319 2001-01-31 Ulrich Drepper <drepper@redhat.com>
6321 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
6322 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
6324 2001-01-30 Ulrich Drepper <drepper@redhat.com>
6326 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
6329 * nis/nis_findserv.c: Include <time.h>.
6331 2001-01-30 Yong Li <yong.li@asu.edu>
6333 * iconv/iconv_prog.c (main): Correct error handling method name.
6335 2001-01-29 Ben Collins <bcollins@debian.org>
6337 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
6338 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
6339 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
6340 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
6342 2001-01-30 Ulrich Drepper <drepper@redhat.com>
6344 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
6345 Patch by Marko Myllynen <myllynen@lut.fi>.
6347 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
6348 (int instead of char).
6349 (__strpbrk_c3): Likewise.
6350 Reported by GOTO Masanori <gotom@debian.or.jp>.
6352 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
6353 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
6354 * include/sys/socket.h: Add SA_LEN here for internal use.
6355 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
6357 2001-01-29 Ulrich Drepper <drepper@redhat.com>
6359 * malloc/Makefile: Don't build memusagestat if cross-compiling.
6361 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
6363 * math/libm-test.inc (rint_test): Add a few more tests for round
6366 2001-01-28 Ulrich Drepper <drepper@redhat.com>
6368 * conform/data/pthread.h-data: Correct return type of pthread_exit.
6370 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
6372 * conform/data/stdlib.h-data: Add _Exit.
6374 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
6375 if not already happened.
6376 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
6377 Don't include <limits.h> and <bits/sockaddr.h>.
6379 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
6381 * conform/data/spawn.h-data: Allow all of <sched.h>.
6383 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
6386 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
6387 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
6389 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
6391 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
6392 * libio/stdio.h: Define va_list correctly.
6394 * conform/data/pthread.h-data: Make priority protocol related
6395 functions optional. Fix typos.
6397 * posix/sched.h: Define sched_priority as __sched_priority.
6398 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
6399 to __sched_priority.
6400 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6402 2001-01-27 Ulrich Drepper <drepper@redhat.com>
6404 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
6407 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
6408 * sysdeps/unix/time.c: Likewise.
6410 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
6411 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
6412 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
6413 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
6414 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6415 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
6416 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
6417 * time/time.h: Likewise.
6419 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
6420 * conform/data/complex.h-data: New file.
6421 * conform/data/tgmath.h-data: New file.
6423 * conform/data/wchar.h-data: Add missing functions.
6425 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
6427 * conform/data/termios.h-data: Add missing const in tcsetattr()
6430 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
6431 Don't define pid_t here.
6433 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
6435 * conform/data/sys/time.h-data: Allow sys/select.h.
6436 * conform/data/sys/un.h-data: Fix typo.
6437 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
6438 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
6440 * sysdeps/unix/clock_nanosleep.c: Likewise.
6441 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
6442 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
6443 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
6444 * sysdeps/unix/clock_settime.c: Likewise.
6446 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
6447 * login/getutent.c: Likewise.
6448 * login/getutid.c: Likewise.
6449 * login/getutline.c: Likewise.
6451 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
6453 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
6454 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
6455 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
6456 f_fsid field after change in struct statvfs.
6457 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
6458 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
6459 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
6461 * conform/data/sys/stat.h-data: Remove isfdtype. Use
6464 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
6465 recvfrom, send, and socketpair prototypes. Add allow lines.
6466 * socket/sys/socket.h: Include <sys/uio.h>.
6467 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
6468 Fix type of second parameter of listen.
6469 Don't declare isfdtype unless __USE_MISC.
6470 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
6471 * sysdeps/mach/hurd/listen.c: Likewise.
6472 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
6473 ss_family and __ss_family.
6474 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
6475 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6476 (struct msghdr): Change type of msg_iovlen to int and type of
6477 msg_controllen to socklen_t.
6478 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
6479 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
6480 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
6481 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
6482 (rresvport_af): Likewise.
6484 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
6485 * conform/conformtest.pl: Implement handling of symbol.
6487 * signal/signal.h: Fix handling of __need_* symbols.
6488 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
6489 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
6490 * include/sys/select.h: Use fd_set not __fd_set.
6491 * sysdeps/generic/bits/select.h: Likewise.
6492 * sysdeps/i386/bits/select.h: Likewise.
6493 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
6494 __FDELT, __FDMASK, and __fd_set here.
6495 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
6496 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
6497 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6498 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6499 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
6500 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6501 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6502 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6503 * time/sys/time.h: Define struct timeval before including <time.h>
6506 * conform/data/sys/time.h-data: fd_set is a typedef.
6507 * conform/data/sys/select.h-data: New file.
6508 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
6509 * conform/conformtest.pl (@headers): Add sys/select.h.
6510 (type, optional-type): Unless testing a typedef instantiate object.
6511 Implement optional-function.
6513 * math/test-misc.c: Include <float.h>.
6515 2001-01-27 Andreas Jaeger <aj@suse.de>
6517 * misc/efgcvt_r.c: Include <float.h>.
6519 2001-01-26 Ulrich Drepper <drepper@redhat.com>
6521 * conform/data/stdlib.h-data: Account for XPG6 changes.
6522 * stdlib/stdlib.h (__random): Change return value type to long.
6523 (posix_memalign): Cleanup parameter names.
6524 (setenv, unsetenv): Make available for __USE_XOPEN2K.
6525 Change return type of unsetenv to int.
6526 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
6527 * include/stdlib.h: Change return type of unsetenv to int.
6528 Change return type of random to long int.
6529 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
6530 Return -1 and set errno if parameter is invalid.
6531 * stdlib/random.c (__random): Change return value type to long.
6533 * conform/data/stdio.h-data: Account for changes in XPG6.
6535 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
6538 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
6539 * conform/data/signal.h-data: Fix sigev_notify_function entry.
6540 Fix typo (SIGVALRM -> SIGVTALRM).
6541 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
6543 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
6544 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
6545 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
6546 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6547 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
6549 * conform/conformtest.pl: Implement optional-element. Define
6550 $mustprepend{"sched.h"}.
6551 * conform/data/sched.h-data: Make sporadic scheduler definitions
6554 * pwd/pwd.h: Don't define getpwent_r for XPG.
6556 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
6557 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
6558 * sysdeps/mach/hurd/poll.c: Likewise.
6559 * sysdeps/unix/bsd/poll.c: Likewise.
6560 * sysdeps/unix/sysv/linux/poll.c: Likewise.
6561 * sysdeps/unix/sysv/aix/poll.c: Likewise.
6562 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
6563 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
6564 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
6565 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
6566 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
6567 * conform/data/poll.h-data: Fix typo in poll prototype.
6569 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
6571 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
6573 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
6575 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
6577 * conform/conformtest.pl: Implement optional-type.
6579 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
6580 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
6581 defining uint32_t here. Define IPPORT_RESERVED.
6582 (struct hostent): Type of h_length element is int.
6583 (getnameinfo): Type of flags parameter is unsigned int.
6584 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
6585 * conform/data/netdb.h-data: Add many missing definitions.
6587 * conform/conformtest.pl: Implement optional-macro.
6588 * conform/data/math.h-data: Update for XPG6.
6590 * math/math.h (HUGE): Define as FLT_MAX value but don't use
6591 FLT_MAX. Don't include <float.h>.
6592 (MAXFLOAT): Likewise.
6594 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
6596 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
6598 * conform/data/limits.h-data: Mark constants as optional wherever
6601 * posix/bits/posix2_lim.h: Set correct values for
6602 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
6605 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
6608 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
6610 * conform/data/netinet/in.h-data: Add reserved prefixes.
6612 * conform/data/arpa/inet.h-data: Fix a few typos.
6614 2001-01-26 Andreas Jaeger <aj@suse.de>
6616 * sysdeps/generic/strtol.c: Include <locale.h>
6617 * stdlib/strtod.c: Likewise
6618 * stdlib/strfmon.c: Likewise.
6619 * string/strcoll.c: Likewise.
6620 * string/strxfrm.c: Likewise.
6621 * wctype/wcfuncs_l.c: Likewise.
6622 * wctype/wctype_l.c: Likewise.
6623 * wctype/wctrans_l.c: Likewise.
6625 * include/bits/locale.h: New file.
6627 2001-01-26 Ulrich Drepper <drepper@redhat.com>
6629 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
6632 * locale/Makefile (headers): Add bits/locale.h.
6633 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
6634 and use __LC_ constants instead of LC_.
6635 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
6636 using __LC_ constants.
6637 * locale/bits/locale.h: New file.
6638 * locale/loadlocale.c: Include <locale.h>.
6639 * locale/nl_langinfo.h: Likewise.
6641 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
6643 * io/sys/stat.h: Define S_IFSOCK for XPG6.
6645 * conform/data/fcntl.h-data: posix_madvise is not expected here.
6647 * conform/conformtest.pl: Fix handling of macro-str.
6649 * conform/data/inttypes.h-data: Add missing definition and all of
6652 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
6654 2001-01-25 Ulrich Drepper <drepper@redhat.com>
6656 * conform/conformtest.pl (@headers): Add stdint.h.
6657 * conform/data/stdint.h-data: New file.
6659 * conform/conformtest.pl: Recognize options --headers and
6660 --dialect. Add dialect-specific CFLAGS.
6662 * conform/conformtest.pl: Implement handling of recursive
6665 * conform/data/locale.h-data: Add new struct lconv members.
6667 * posix/wordexp.h: Correct definition of wordexp_t.
6668 * posix/wordexp.c: Moved to ...
6669 * sysdeps/generic/wordexp.c: ...here. New file.
6670 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
6671 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
6672 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
6673 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
6675 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
6676 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
6678 * math/tgmath.h: Pretty printing.
6680 * math/Makefile (tests): Add test-tgmath.
6681 (CFLAGS-test-tgmath.c): New variable.
6682 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
6684 * conform/conformtest.pl: Handle allow-header in secondary headers
6687 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
6690 * conform/data/netinet/in.h-data: Use correct comment character.
6691 * conform/data/sys/stat.h-data: Likewise.
6693 2001-01-25 Jakub Jelinek <jakub@redhat.com>
6695 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
6696 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
6697 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
6698 __builtin_classify_type, add ##f suffixes where appropriate.
6699 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
6700 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
6701 __builtin_classify_type.
6702 (fma): Fix spelling of first argument.
6704 2001-01-25 Ulrich Drepper <drepper@redhat.com>
6706 * conform/data/unistd.h-data: Mark functions removed in XPG6
6709 * posix/unistd.h: Don't make functions removed in XPG6 available if
6712 * conform/conformtest.pl: Implement optional-constant.
6713 * conform/data/unistd.h-data: Use optional-constant wherever
6716 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
6717 constants and add _SC_STREAMS.
6718 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6720 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
6721 make old name weak alias.
6722 * sysdeps/generic/statvfs64.c: Likewise.
6723 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
6724 make old name weak alias.
6725 * sysdeps/generic/fstatvfs64.c: Likewise.
6726 * include/sys/statvfs.h: New file.
6728 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
6729 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
6731 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
6732 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
6733 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
6734 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
6736 * conform/conformtest.pl: Run Unix tests for XPG6.
6737 Implement handling of known namespace violations.
6738 Improve printing of results.
6740 * posix/unistd.h (usleep): Correct return type.
6741 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
6742 * sysdeps/unix/bsd/usleep.c: Correct return type.
6743 * sysdeps/mach/usleep.c: Correct return type.
6744 * sysdeps/generic/usleep.c: Correct return type.
6746 * posix/unistd.h (sync): Correct return type.
6747 * sysdeps/generic/sync.c: Likewise.
6748 * sysdeps/mach/hurd/sync.c: Likewise.
6750 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
6752 * posix/unistd.h: Make seteuid and setegid available for XPG6.
6754 * wcsmbs/wchar.h: Get FILE definition for XPG5.
6756 * conform/data/ctype.h-data: Use correct comment form.
6757 * conform/data/errno.h-data: Likewise.
6758 * conform/data/math.h-data: Likewise.
6759 * conform/data/mqueue.h-data: Likewise.
6760 * conform/data/netdb.h-data: Likewise.
6761 * conform/data/pthread.h-data: Likewise.
6763 2001-01-24 Ulrich Drepper <drepper@redhat.com>
6765 * conform/data/wordexp.h-data: Fix typo.
6767 * conform/conformtest.pl: Handle allow-header correctly.
6769 * conform/data/time.h-data: Use correct comment form.
6771 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
6773 * configure.in: Comment out binutils version test.
6775 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
6777 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
6779 * stdlib/tst-strtod.c (locale_test): New function.
6780 (main): Call locale_test.
6781 * stdlib/Makefile (tst-strtod-ENV): New variable.
6783 2001-01-24 Mark Kettenis <kettenis@gnu.org>
6785 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
6786 declaration of value such that we actually return the value of the
6787 environment variable.
6789 2001-01-24 Andreas Jaeger <aj@suse.de>
6791 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
6793 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6795 * include/sys/sysctl.h: New file.
6797 2001-01-23 Andreas Jaeger <aj@suse.de>
6799 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
6802 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
6803 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
6804 closes PR libc/2039.
6806 * manual/install.texi (Tools for Compilation): Change required
6809 2001-01-22 Andreas Jaeger <aj@suse.de>
6811 * configure.in: Add test for new enough binutils version, move
6812 compiler/binutils test up.
6814 * Versions.def: Add version GLIBC_2.2.2.
6816 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6818 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
6820 * iconvdata/testdata/IBM932: New file.
6821 * iconvdata/testdata/IBM932..UTF8: New file.
6822 * iconvdata/testdata/IBM943: New file.
6823 * iconvdata/testdata/IBM943..UTF8: New file.
6824 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
6826 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6828 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
6830 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6832 * malloc/malloc.c: Remove a few unnecessary initializers of global
6835 2000-12-09 H.J. Lu <hjl@gnu.org>
6837 * nss/Makefile (routines): Add digits_dots.
6838 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
6839 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
6841 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
6843 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
6844 (TYPE_VAR_P): Likewise.
6845 (FLAGS_VAR): Likewise.
6846 (AF_VAR_P): Likewise.
6847 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6848 instead of including digits_dots.c.
6849 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
6850 (TYPE_VAR_P): Likewise.
6851 (FLAGS_VAR): Likewise.
6852 (AF_VAR_P): Likewise.
6853 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6854 instead of including digits_dots.c.
6856 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6858 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
6860 2001-01-21 Andreas Jaeger <aj@suse.de>
6862 * elf/constload2.c: Add prototype for init.
6864 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6866 * stdlib/stdlib.h (drand48_data): Make available only for
6867 __USE_MISC. Rename elements to protect namespace. Change type
6868 and position of a and init element.
6869 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
6870 differently. Adjust for drand48_data change. Don't compute a here,
6871 it comes from drand48_data.
6872 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
6873 differently. Adjust for drand48_data change. Compute a here.
6874 * stdlib/srand48_r.c: Likewise.
6875 * stdlib/drand48.c: Adjust for drand48_data change.
6876 * stdlib/lrand48.c: Likewise.
6877 * stdlib/mrand48.c: Likewise.
6878 * stdlib/seek48.c: Likewise.
6879 * stdlib/drand48_r.c: Likewise.
6880 * stdlib/lrand48_r.c: Likewise.
6881 * stdlib/mrand48_r.c: Likewise.
6882 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
6884 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
6885 * stdlib/jrand48_r.c: Likewise.
6887 * po/sv.po: Update from translation team.
6889 2001-01-21 Andreas Jaeger <aj@suse.de>
6891 * stdio-common/vfprintf.c (vfprintf): Add casts.
6893 2001-01-20 Ulrich Drepper <drepper@redhat.com>
6895 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
6897 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
6899 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
6900 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
6901 * iconvdata/ibm932.c: New file.
6902 * iconvdata/ibm932.h: New file.
6903 * iconvdata/ibm943.c: New file.
6904 * iconvdata/ibm943.h: New file.
6905 Patches by Masahide Washizawa <washi@jp.ibm.com>.
6907 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
6908 preventing optimization from being done. Set the correct type bit
6909 in seen. Don't define and use _dl_base_addr unless
6910 NEED_DL_BASE_ADDR is defined.
6912 * io/ftw.c (ftw_dir): Add slash after directory name if there
6913 wasn't any. Reported by loris <loris@iol.it>.
6914 * io/Makefile (tests): Add bug-ftw2.
6915 * io/bug-ftw2.c: New file.
6917 2001-01-19 Ulrich Drepper <drepper@redhat.com>
6919 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
6920 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
6921 * stdlib/tst-rand48.c: New file.
6922 * stdlib/Makefile (tests): Add tst-rand48.
6924 * locale/newlocale.c (__newlocale): Fix test for setting all
6927 2001-01-19 Mark Kettenis <kettenis@gnu.org>
6929 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
6930 but change looking up the initial directory port in a similar way
6931 as done by _hurd_change_directory_port_from_name.
6932 * hurd/fchroot.c (fchroot): Likewise.
6934 2001-01-18 Ulrich Drepper <drepper@redhat.com>
6936 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
6937 defined don't look whether the AT_*ID values were set.
6938 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
6939 (_dl_show_auxv): Rewrite to avoid switch statement.
6940 * sysdeps/unix/sysv/linux/kernel-features.h: Define
6941 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
6942 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
6943 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
6945 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
6946 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6947 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6949 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
6951 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
6952 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
6954 * dlfcn/eval.c (__strtol_internal): Define here.
6955 (eval): Use __strtol_internal instead of strtol.
6957 * elf/elf.h: Add a few more EF_MIPS_* constants.
6959 2001-01-17 Ulrich Drepper <drepper@redhat.com>
6961 * manual/Makefile (chapters): Add debug.
6962 * manual/debug.texi: New file.
6963 * manual/examples/execinfo.c: New file.
6964 Patch by suckfish@ihug.co.nz.
6966 2001-01-17 Andreas Schwab <schwab@suse.de>
6968 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
6971 2001-01-17 Andreas Jaeger <aj@suse.de>
6973 * nscd/connections.c (nscd_run): Use proper format specifier.
6975 2001-01-16 Ulrich Drepper <drepper@redhat.com>
6977 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
6978 x86_platforms data into new file after prepending _dl_. Change
6980 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
6981 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
6982 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
6985 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
6987 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
6988 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
6989 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
6990 (_setjmp): Likewise.
6991 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
6992 * sysdeps/i386/bsd-setjmp.S: Real implementation.
6993 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
6994 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
6997 2001-01-16 Andreas Jaeger <aj@suse.de>
6999 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
7000 misapplied last patch.
7002 2001-01-15 Ulrich Drepper <drepper@redhat.com>
7004 * stdlib/random.c (__initstate): Clean up a cast.
7005 (__setstate): Likewise.
7007 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
7008 syscall handling. The generic Linux version should work.
7010 2001-01-15 Andreas Jaeger <aj@suse.de>
7012 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
7014 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
7016 2001-01-14 Jakub Jelinek <jakub@redhat.com>
7018 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
7019 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
7021 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
7022 If number is 0, list all.
7023 (services_keys): Likewise. Lookup aliases as well.
7024 (databases): New table.
7025 (build_doc): Prepare argp doc text with list of supported databases.
7026 (main): Change to table driven processing.
7028 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
7030 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
7033 2001-01-03 Jakub Jelinek <jakub@redhat.com>
7035 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
7036 encode value which does not fit in the 32bit type.
7038 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
7040 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
7041 Change type of CTX to (struct sigcontext *).
7042 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
7043 (GET_FRAME): Likewise.
7044 (GET_STACK): Likewise.
7045 (SIGCONTEXT): Likewise. Add 2nd arg _code.
7046 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
7048 2001-01-13 Ulrich Drepper <drepper@redhat.com>
7050 * manual/texinfo.tex: Update from upstream version.
7052 2001-01-13 Jakub Jelinek <jakub@redhat.com>
7054 * inet/ether_ntoh.c (lookup_function): Change arguments to match
7055 _nss_*_getntohost_r prototype.
7056 (ether_ntohost): Pass errno pointer to NSS function.
7058 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7060 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
7061 (MAP_LOCKED): New definition.
7062 (MAP_NORESERVE): New definition.
7064 2001-01-12 Ulrich Drepper <drepper@redhat.com>
7066 * assert/assert.h: Use static_cast instead of C-style cast for C++.
7067 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
7069 2001-01-12 Ben Collins <bcollins@debian.org>
7071 * sysdeps/generic/segfault.c (install_handler): Use access, not
7074 2001-01-12 Andreas Jaeger <aj@suse.de>
7076 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
7077 * posix/wordexp.c (do_parse_glob): Likewise.
7078 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
7079 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
7080 * elf/dl-open.c (_dl_open): Likewise.
7081 * elf/dl-close.c (_dl_close): Likewise.
7082 * elf/dl-load.c (_dl_map_object): Likewise.
7083 * iconv/iconv_prog.c (process_fd): Likewise.
7084 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
7086 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
7087 of a zero-length array.
7089 2001-01-11 Jakub Jelinek <jakub@redhat.com>
7091 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
7092 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
7093 * stdlib/cxa_on_exit.c: Remove.
7094 * stdlib/Makefile: Revert last patch.
7095 * stdlib/Versions: Likewise.
7096 * include/stdlib.h: Likewise.
7097 * stdlib/exit.h: Revert last patch.
7098 (struct exit_function): Add second argument to cxa fn.
7099 * stdlib/exit.c: Revert last patch.
7100 (exit): Add hidden second argument.
7102 2001-01-11 H.J. Lu <hjl@gnu.org>
7104 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
7105 * elf/dl-open.c (_dl_open): Here.
7106 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
7108 (_dl_static_init): Initialize the variables every time when possible.
7109 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
7112 2001-01-11 Ulrich Drepper <drepper@redhat.com>
7114 * stdlib/Makefile (routines): Add cxa_on_exit.
7115 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
7116 * stdlib/cxa_on_exit.c: New file.
7117 * include/stdlib.h: Add prototype for __cxa_on_exit.
7118 * stdlib/exit.c: Handle ef_cxa2.
7119 * stdlib/exit.h (enum): Add ef_cxa2.
7120 (struct exit_function): Add cxa2.
7122 * Versions.def [ld]: Add GLIBC_2.2.1.
7124 2001-01-10 H.J. Lu <hjl@gnu.org>
7126 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
7127 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
7129 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
7130 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
7131 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
7132 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
7133 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
7135 2001-01-11 Ulrich Drepper <drepper@redhat.com>
7137 * libio/stdio.h: Remove definition of off_t.
7139 2001-01-11 Andreas Jaeger <aj@suse.de>
7141 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
7144 2001-01-10 Ulrich Drepper <drepper@redhat.com>
7146 * sunrpc/Makefile (distribute): Add errqueue.h.
7148 2001-01-10 H.J. Lu <hjl@gnu.org>
7150 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
7151 r9, r10 and r11 for language specific registers.
7153 2001-01-10 Jakub Jelinek <jakub@redhat.com>
7155 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
7157 (clntudp_call): Handle MSG_ERRQUEUE.
7158 * sysdeps/generic/errqueue.h: New file.
7159 * sysdeps/unix/sysv/linux/errqueue.h: New file.
7161 2001-01-10 H.J. Lu <hjl@gnu.org>
7163 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
7165 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
7167 * CONFORMANCE: Update.
7169 2001-01-09 Ulrich Drepper <drepper@redhat.com>
7171 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
7172 Minimal cleanups. Add assert to ensure memory handling is correct.
7174 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
7175 Reported by Ben Collins <bcollins@debian.org>.
7177 * time/strftime.c (my_strftime): Mark previous GNU extensions
7178 which are now in C99 as such.
7180 2001-01-08 Ulrich Drepper <drepper@redhat.com>
7182 * elf/rtld.c (process_envvars): Place output files for profiling
7183 in SUID binaries in /var/profile.
7185 * elf/dl-load.c (_dl_map_object): Don't look in cache for
7186 preloading in SUID binaries.
7188 * elf/dl-profile.c (_dl_start_profile): Open the output file with
7189 O_NOFOLLOW if possible.
7191 * include/stdlib.h: Add __posix_openpt declaration.
7192 * stdlib/stdlib.h: Add posix_openpt declaration.
7193 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
7194 * sysdeps/generic/getpt.c: Define posix_openpt.
7195 * sysdeps/unix/bsd/getpt.c: Likewise.
7196 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
7198 * time/Makefile (tests): Add tst-mktime.
7199 * time/tst-mktime.c: New file.
7201 * posix/tst-dir.c (main): One more mkdir() test.
7203 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
7204 Remove getpagesize syscall. We assume that the pagesize is always
7205 determined from the auxiliary vector.
7207 * intl/dcigettext.c: Fix a few warnings.
7208 Patch by Bruno Haible <haible@ilog.fr>.
7210 2001-01-08 Andreas Jaeger <aj@suse.de>
7212 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
7213 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
7215 2001-01-08 Ulrich Drepper <drepper@redhat.com>
7217 * sysdeps/generic/segfault.c (install_handler): Check output file
7220 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
7221 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
7223 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
7225 * malloc/memusage.c (me): Use access() to determine whether we
7226 should write the output file or not.
7228 * libio/bits/stdio.h (printf): Define macro to map printf call to
7229 fprintf which gcc can optimize.
7230 * stdio-common/printf.c: Undefine printf.
7232 2001-01-07 Ulrich Drepper <drepper@redhat.com>
7234 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
7235 patch. We must use unsigned int for l member of union.
7237 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
7238 _dl_aux_init for shared libraries.
7240 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
7241 * sysdeps/gnu/glob64.c: ...here. New file.
7243 2001-01-07 Ben Collins <bcollins@debian.org>
7245 * manual/examples/longopt.c: Make the "struct option" a little
7246 more like it should be, adding usage of required_argument,
7247 noargument and such, and also setting the options string right.
7249 * manual/sysinfo.texi (Load Average): New section, documents
7252 2001-01-06 Ulrich Drepper <drepper@redhat.com>
7254 * version.h (VERSION): Bump to 2.2.1.
7256 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
7257 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
7258 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
7259 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
7260 * Makefile (distribute): Add include/libc-internal.h.
7261 * libio/Makefile (distribute): Avoid overwriting.
7263 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
7264 buffer and table handling.
7266 2001-01-05 H.J. Lu <hjl@gnu.org>
7268 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
7269 vector checking to ...
7270 (_dl_aux_init): Here. New function. Defined only if
7271 HAVE_AUX_VECTOR is defined.
7273 * sysdeps/generic/libc-start.c (__libc_start_main): Call
7274 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
7276 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
7279 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
7280 (HAVE_AUX_VECTOR): Defined.
7281 (_dl_aux_init): Declared.
7283 2001-01-05 Ben Collins <bcollins@debian.org>
7285 * manual/string.texi (Finding Tokens in a String): Document XPG
7286 basename() and dirname(), as well as GNU basename().
7288 2001-01-05 Jakub Jelinek <jakub@redhat.com>
7290 * Makeconfig (preprocess-version): Replace -traditional with
7291 -x assembler-with-cpp.
7293 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
7295 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
7296 for GCC 2.97 or later.
7298 2001-01-05 Ben Collins <bcollins@debian.org>
7300 * manual/stdio.texi (getline): Clarify the return value in the
7301 case of EOF being reached before a newline.
7303 2001-01-04 Jakub Jelinek <jakub@redhat.com>
7305 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
7307 (pmap_set, pmap_unset): Check __get_myaddress return value.
7309 2001-01-05 Mark Kettenis <kettenis@gnu.org>
7311 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
7312 (struct ether_addr): Declare ether_addr_octet member as
7313 `u_int8_t'. Add __attribute__ ((__packed__)).
7315 2001-01-06 Mark Kettenis <kettenis@gnu.org>
7317 * sysdeps/mach/hurd/readdir64.c: New file.
7318 * sysdeps/mach/hurd/readdir64_r.c: New file.
7320 2001-01-07 Mark Kettenis <kettenis@gnu.org>
7322 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
7323 `struct statfs' and `struct statvfs' being identical.
7324 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
7326 2001-01-06 Mark Kettenis <kettenis@gnu.org>
7328 * sysdeps/mach/hurd/fstatfs64.c: New file.
7329 * sysdeps/mach/hurd/fstatvfs64.c: New file.
7330 * sysdeps/mach/hurd/statfs64.c: New file.
7331 * sysdeps/mach/hurd/statvfs64.c: New file.
7332 * sysdeps/mach/hurd/statfsconv.c: New file.
7333 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
7335 2001-01-06 Ulrich Drepper <drepper@redhat.com>
7337 * iconv/skeleton.c: Reset outbuf for next round of the loop.
7338 Reported by Owen Taylor <otaylor@redhat.com>.
7339 * iconv/Makefile (tests): Add tst-iconv3.
7340 * iconv/tst-iconv3.c: New file.
7342 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
7343 * iconvdata/ibm933.c: Likewise.
7344 * iconvdata/ibm935.c: Likewise.
7345 * iconvdata/ibm937.c: Likewise.
7346 * iconvdata/ibm939.c: Likewise.
7347 * iconvdata/ibm930.h: Adjust single byte table for optimization.
7348 * iconvdata/ibm933.h: Likewise.
7349 * iconvdata/ibm935.h: Likewise.
7350 * iconvdata/ibm939.h: Likewise.
7352 * iconvdata/testdata/IBM930: Add misssing SI.
7353 * iconvdata/testdata/IBM933: Likewise.
7354 * iconvdata/testdata/IBM935: Likewise.
7355 * iconvdata/testdata/IBM937: Likewise.
7356 * iconvdata/testdata/IBM939: Likewise.
7358 2001-01-06 Andreas Jaeger <aj@suse.de>
7360 * configure.in: Check for old add-ons that shouldn't be used with
7361 current glibc anymore.
7363 2001-01-06 Mark Kettenis <kettenis@gnu.org>
7365 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
7366 instead of -1 on failure. Don't forget to copy file name into
7367 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
7370 2001-01-06 Mark Kettenis <kettenis@gnu.org>
7372 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
7373 copy st_atime member.
7375 2001-01-05 Ulrich Drepper <drepper@redhat.com>
7377 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
7378 for searches from the root directory.
7379 Reported by loris <loris@iol.it> [PR libc/1991].
7380 * io/Makefile (tests): Add bug-ftw1.
7381 * io/bug-ftw1.c: New file.
7383 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
7384 if it is not available. Instead use it only if it is available.
7385 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
7387 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
7388 overflowing output buffer.
7389 (internal_ucs4_loop_unaligned): Likewise.
7390 (ucs4_internal_loop): Likewise.
7391 (ucs4_internal_loop_unaligned): Likewise.
7392 (internal_ucs4le_loop): Likewise.
7393 (internal_ucs4le_loop_unaligned): Likewise.
7394 (ucs4le_internal_loop): Likewise.
7395 (ucs4le_internal_loop_unaligned): Likewise.
7396 Reported by Owen Taylor <otaylor@redhat.com>.
7397 * iconv/Makefile (tests): Add tst-iconv2.
7398 * iconv/tst-iconv2.c: New file.
7400 2001-01-04 H.J. Lu <hjl@gnu.org>
7402 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
7403 (_dl_clktck): Declared.
7404 (non_dynamic_init): Take 3 arguments.
7405 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
7407 2001-01-01 Bruno Haible <haible@clisp.cons.org>
7409 Finish implementation of plural form handling.
7410 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
7411 'domainname'. Remove 'plindex' field. Add 'domain' and
7412 'translation_length' fields.
7413 (transcmp): Don't compare 'plindex' fields.
7414 (plural_lookup): New function.
7415 (DCIGETTEXT): Change cache handing in the plural case. Don't call
7416 plural_eval before the translation and its catalog file have been
7417 found. Remove plindex from cache key. Add 'translation_length' and
7418 'domain' to cache result.
7419 (_nl_find_msg): Remove index argument, return length of translation
7420 to the caller instead. Weaken comparison of string lengths, to account
7421 for plural entries. Call iconv() on the entire result string, not
7422 only on the portion needed so far.
7423 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
7425 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
7427 2001-01-04 Ulrich Drepper <drepper@redhat.com>
7429 * intl/plural.y (yylex): Minimal improvement in number scanner.
7431 2000-07-31 Bruno Haible <haible@clisp.cons.org>
7433 * intl/plural.y: Include config.h. Needed to define 'inline' away for
7434 C compilers that don't support it.
7435 (yylex): Don't use gcc specific case range syntax.
7436 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
7439 2000-10-12 Bruno Haible <haible@clisp.cons.org>
7441 * intl/finddomain.c: Remove unneeded includes.
7443 2000-10-12 Bruno Haible <haible@clisp.cons.org>
7445 * intl/localealias.c (memcpy): Return first argument, just like the
7446 real memcpy function does.
7447 * intl/bindtextdom.c (memcpy): Likewise.
7448 * intl/finddomain.c (memcpy): Likewise.
7449 * intl/l10nflist.c (memcpy): Likewise.
7450 * intl/textdomain.c (memcpy): Likewise.
7451 From Paul Eggert <eggert@twinsun.com>.
7453 2001-01-03 Jakub Jelinek <jakub@redhat.com>
7455 * resolv/resolv.h (struct __res_state): Add nsinit field.
7456 * resolv/res_send.c (res_nsend): Use it instead of nscount.
7457 * resolv/res_init.c (__res_vinit): Initialize it.
7458 (res_nclose): Clear it instead of nscount.
7460 2001-01-04 Ulrich Drepper <drepper@redhat.com>
7462 * malloc/mtrace.pl: Fix matching of addresses.
7463 Patch by Aharon Robbins <arnold@skeeve.com>.
7465 * Versions.def (ld): Add GLIBC_2.2.
7467 * catgets/gencat.c: Copyright 2001.
7468 * csu/version.c: Likewise.
7469 * debug/catchsegv.sh: Likewise.
7470 * debug/xtrace.sh: Likewise.
7471 * elf/ldconfig.c: Likewise.
7472 * elf/sprof.c: Likewise.
7473 * iconv/iconv_prog.c: Likewise.
7474 * locale/locale.c: Likewise.
7475 * locale/localedef.c: Likewise.
7476 * malloc/memusage.sh: Likewise.
7477 * malloc/mtrace.pl: Likewise.
7478 * nscd/nscd.c: Likewise.
7479 * posix/getconf.c: Likewise.
7481 2001-01-04 Mark Kettenis <kettenis@gnu.org>
7483 * include/stdio.h: Only provide __getwc_unlocked prototype if
7484 USE_IN_LIBIO is defined.
7486 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7488 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
7491 2001-01-03 Andreas Schwab <schwab@suse.de>
7493 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
7494 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
7496 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
7497 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
7499 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
7500 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
7503 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
7505 * sysdeps/generic/strtol_l.c: Likewise.
7506 * sysdeps/generic/strtoul_l.c: Likewise.
7507 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
7509 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
7510 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
7511 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
7512 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
7514 2001-01-04 Andreas Jaeger <aj@suse.de>
7516 * nss/nsswitch.c: Include files for missing prototypes, remove
7517 buggy declaration of prototypes.
7519 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7521 * resolv/Versions: Fix bracing.
7522 * sysdeps/powerpc/soft-fp/Versions: Likewise.
7523 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
7525 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7527 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
7529 2001-01-02 Ulrich Drepper <drepper@redhat.com>
7531 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
7532 Suggested by Minko Markov <mmarkov@home.com>.
7534 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7536 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
7537 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
7539 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
7541 2001-01-02 Ben Collins <bcollins@debian.org>
7543 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
7544 if TZ is not set and TZDEFAULT is not present.
7546 2001-01-01 Ben Collins <bcollins@debian.org>
7548 * string/strings.h: Make sure we declare our functions even if
7549 string.h is already included, based on whether or not __USE_BSD is
7552 2001-01-02 Ulrich Drepper <drepper@redhat.com>
7554 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
7555 other dlopen() and dlsym().
7556 Based on a patch by Ben Collins <bcollins@debian.org>.
7558 2001-01-02 Andreas Jaeger <aj@suse.de>
7560 * dlfcn/errmsg1.c (main): Call dlerror initially.
7561 Reported by Ben Collins <bcollins@debian.org>.
7563 2001-01-02 Ulrich Drepper <drepper@redhat.com>
7565 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
7566 value is ignored if the selected locale is the C locale.
7567 * intl/tst-gettext.c: Set locale for above change.
7568 * intl/tst-translit.c: Likewise.
7570 2001-01-02 Andreas Jaeger <aj@suse.de>
7572 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
7573 (_IO_switch_to_wget_mode): Likewise.
7574 (_IO_sputbackwc): Likewise.
7575 (_IO_sungetwc): Use wint_t for result.
7577 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
7579 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
7582 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
7583 to (int) to avoid warnings.
7584 * stdio-common/printf_fp.c (putc): Likewise.
7585 * stdio-common/printf_size.c (putc): Likewise.
7587 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
7590 2001-01-01 Andreas Jaeger <aj@suse.de>
7592 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
7594 2000-12-31 Andreas Jaeger <aj@suse.de>
7596 * include/libc-internal.h: Add prototype for __libc_freeres.
7598 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
7599 for prototypes, remove redundant prototypes.
7600 * gmon/gmon.c: Likewise.
7601 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
7602 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
7603 * malloc/mtrace.c: Likewise.
7605 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
7607 * elf/soinit.c: Likewise.
7608 * sysdeps/generic/prof-freq.c: Likewise.
7609 * sysdeps/mach/hurd/profil.c: Likewise.
7610 * debug/noophooks.c: Likewise.
7611 * debug/pcprofile.c: Likewise.
7612 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
7613 * sysdeps/generic/get_clockfreq.c: Likewise.
7614 * malloc/set-freeres.c: Likewise.
7616 * locale/localeinfo.h: Add internal prototypes.
7618 * elf/rtld.c (dl_main): Fix prototype.
7620 * iconvdata/tst-table-to.c (main): Use return instead of exit to
7623 * nis/rpcsvc/yp_prot.h: Remove __P.
7624 * nis/rpcsvc/ypupd.h: Likewise.
7625 * nis/rpcsvc/yp.h: Likewise.
7627 * sunrpc/rpc_main.c: Add noreturn attributes.
7628 * sunrpc/rpc_scan.h: Likewise.
7630 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
7632 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
7634 * sunrpc/proto.h: Add noreturn attributes to error and crash.
7636 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
7638 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
7640 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
7642 * include/rpc/rpc_msg.h: Add prototypes for some functions.
7643 * include/rpc/auth.h: Likewise.
7644 * include/rpc/auth_des.h: Likewise.
7645 * include/rpc/clnt.h: Likewise.
7646 * include/rpc/rpc.h: Likewise.
7647 * include/rpc/svc.h: Likewise.
7648 * include/rpc/svc_auth.h: Likewise.
7650 * include/rpc/des_crypt.h: New file.
7652 * malloc/memusagestat.c (main): Use return instead of exit to
7654 * io/pwd.c (main): Likewise.
7655 * iconvdata/tst-table-from.c (main): Likewise.
7656 * ctype/test_ctype.c (main): Likewise.
7657 * setjmp/tst-setjmp.c (main): Likewise.
7658 * signal/tst-signal.c (main): Likewise.
7659 * stdlib/tst-strtol.c (main): Likewise.
7660 * stdlib/tst-strtod.c (main): Likewise.
7661 * stdlib/tst-strtoll.c (main): Likewise.
7662 * stdlib/tst-xpg-basename.c (main): Likewise.
7663 * dirent/tst-seekdir.c (main): Likewise.
7664 * grp/testgrp.c (main): Likewise.
7665 * inet/test_ifindex.c (main): Likewise.
7666 * io/test-utime.c (main): Likewise.
7667 * posix/test-vfork.c (main): Likewise.
7668 * posix/testfnm.c (main): Likewise.
7669 * stdio-common/temptest.c (main): Likewise.
7670 * stdio-common/test_rdwr.c (main): Likewise.
7671 * stdio-common/tst-fileno.c (main): Likewise.
7672 * stdio-common/tst-sscanf.c (main): Likewise.
7673 * stdio-common/tstscanf.c (main): Likewise.
7674 * string/bug-strncat1.c (main): Likewise.
7675 * string/bug-strpbrk1.c (main): Likewise.
7676 * string/bug-strspn1.c (main): Likewise.
7677 * string/test-ffs.c (main): Likewise.
7678 * string/tst-inlcall.c (main): Likewise.
7679 * string/tst-svc.c (main): Likewise.
7680 * timezone/test-tz.c (main): Likewise.
7681 * wctype/test_wcfuncs.c (main): Likewise.
7682 * wctype/test_wctype.c (main): Likewise.
7684 * stdlib/tst-random.c: Add attribute noreturn to fail.
7686 2000-12-28 Wolfram Gloger <wg@malloc.de>
7688 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
7689 destination overlap. Assume dest is always below source if
7692 2000-12-30 Ulrich Drepper <drepper@redhat.com>
7694 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
7695 object was not yet initialized.
7697 2000-12-28 H.J. Lu <hjl@gnu.org>
7699 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
7700 is always consistent even if its dependency is failed.
7702 * elf/dl-open.c (_dl_open): Increment the open count before
7703 calling _dl_close () in case of failure.
7705 * elf/neededtest4.c: New file.
7706 * elf/neededobj5.c: New file.
7707 * elf/neededobj6.c: New file.
7709 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
7710 (tests): Add neededtest4.
7711 (modules-names): Add neededobj5 and neededobj6.
7712 ($(objpfx)neededobj6.so): New target.
7713 ($(objpfx)neededtest4): New target.
7714 ($(objpfx)neededtest4.out): New target.
7716 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
7718 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
7719 * stdlib/monetary.h: Add strfmon format attributes.
7721 2000-12-28 Roland McGrath <roland@frob.com>
7723 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
7724 __mempcpy does it for us.
7726 2000-12-28 Andreas Jaeger <aj@suse.de>
7728 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
7730 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
7733 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
7736 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
7739 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
7740 __chown_is_lchown and __real_chown.
7742 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
7745 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
7746 up GCC's warning about "deprecated use of label at end of compound
7748 * sunrpc/rpc_cout.c (emit_inline): Likewise.
7750 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
7752 Remove struct bb and __bb_head since those are declared by
7755 2000-12-22 Ben Collins <bcollins@debian.org>
7757 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
7759 * manual/argp.texi: Document argp_domain as part of struct argp.
7761 2000-12-28 Andreas Jaeger <aj@suse.de>
7763 * catgets/Makefile (generated): Add sample.SJIS.cat.
7765 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
7767 * elf/dl-minimal.c: Add prototypes.
7769 * include/locale.h: Add internal prototypes.
7770 * include/sys/gmon.h: Likewise.
7772 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
7774 2000-12-27 Ben Collins <bcollins@debian.org>
7776 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
7777 when reallocating the error strings.
7778 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
7780 2000-12-27 Ulrich Drepper <drepper@redhat.com>
7782 * dlfcn/Makefile (tests): Add errmsg1.
7783 (modules-names): Add errmsg1mod.
7784 Add rules to run errmsg1.
7785 * dlfcn/errmsg1.c: New file.
7786 * dlfcn/errmsg1mod.c: New file.
7788 * dlfcn/dlerror.c (dlerror): Always create output string which
7789 includes object file name.
7791 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
7792 if we would go through it only once.
7793 Patch by Rick Gorton <rick.gorton@api-networks.com>.
7795 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
7796 Patch by Richard Henderson <rth@redhat.com>.
7798 2000-12-27 Jakub Jelinek <jakub@redhat.com>
7800 * malloc/malloc.c (memmove): Add prototypes.
7801 (MALLOC_MEMMOVE): Define.
7802 (chunk_realloc): Use it instead of MALLOC_COPY if source and
7803 destination might overlap.
7805 2000-12-27 Andreas Jaeger <aj@suse.de>
7807 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
7809 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7810 * locale/programs/locale.c (show_locale_vars): Likewise.
7811 (show_info): Likewise.
7812 * locale/programs/ld-collate.c (collate_output): Likewise.
7813 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
7814 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7815 * stdlib/rpmatch.c (rpmatch): Likewise.
7817 * setjmp/tst-setjmp.c: Make local functions static.
7818 * setjmp/jmpbug.c: Likewise.
7819 * signal/tst-signal.c: Likewise.
7820 * stdio-common/tfformat.c: Likewise.
7821 * string/tst-svc.c: Likewise.
7822 * time/clocktest.c: Likewise.
7823 * time/tst-getdate.c: Likewise.
7824 * dirent/list.c: Likewise.
7825 * dirent/opendir-tst1.c: Likewise.
7826 * posix/runtests.c: Likewise.
7827 * posix/tst-getaddrinfo.c: Likewise.
7828 * posix/tst-chmod.c: Likewise.
7829 * posix/wordexp-test.c: Likewise.
7830 * misc/tst-efgcvt.c: Likewise.
7831 * timezone/tst-timezone.c: Likewise.
7832 * rt/tst-clock.c: Likewise.
7833 * rt/tst-shm.c: Likewise.
7834 * rt/tst-aio2.c: Likewise.
7835 * rt/tst-aio3.c: Likewise.
7836 * rt/tst-aio4.c: Likewise.
7837 * rt/tst-aio5.c: Likewise.
7839 * dlfcn/failtest.c: Add prototype for foo.
7841 * dlfcn/glrefmain.c: Add prototype for do_test.
7843 * dlfcn/tst-dladdr.c: Add prototype for do_test.
7845 * string/test-ffs.c (main): Add prototype for nested function.
7847 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
7849 * nss/XXX-lookup.c: Add prototype to shut up GCC.
7851 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
7852 setetherent prototype.
7853 Add internal interfaces.
7855 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
7856 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
7858 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
7860 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
7862 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
7863 prototypes, remove struct etherent since it's declared in ether.h.
7864 Fix ntohost declaration.
7866 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
7868 * include/getopt.h: Add internal interfaces.
7869 * include/termios.h: Likewise.
7870 * include/resolv.h: Likewise.
7871 * include/netdb.h: Likewise.
7872 * include/grp.h: Likewise.
7873 * include/pwd.h: Likewise.
7874 * include/shadow.h: Likewise.
7875 * include/rpc/netdb.h: Likewise.
7876 * include/setjmp.h: Likewise.
7878 * include/stdio.h: Add prototypes for compatibility functions.
7879 * include/grp.h: Likewise.
7880 * include/pwd.h: Likewise.
7881 * include/shadow.h: Likewise.
7883 * include/fenv.h: Define internal interfaces.
7885 2000-12-27 Ulrich Drepper <drepper@redhat.com>
7887 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
7888 argument case separately.
7889 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
7891 2000-12-27 Andreas Jaeger <aj@suse.de>
7893 * include/sys/wait.h: Add some prototypes.
7894 * Rules (dummy.c): Create also prototype to shut up GCC.
7896 2000-12-27 Andreas Jaeger <aj@suse.de>
7898 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
7899 it's not needed at the moment.
7900 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
7901 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
7903 2000-12-26 Andreas Jaeger <aj@suse.de>
7905 * libio/getc_u.c: Include stdio.h via system path to get internal
7907 * libio/getwc_u.c: Likewise.
7909 * stdlib/strfmon.c: Fix prototype of __printf_fp.
7911 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
7912 __printf_fp prototypes to ...
7913 * include/printf.h: ...here.
7915 * include/stdio.h: Add some internal prototypes to shut up GCC.
7916 * include/stdlib.h: Likewise.
7918 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
7921 * include/signal.h: Add prototypes for internal sigpause
7924 2000-12-26 Ulrich Drepper <drepper@redhat.com>
7926 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
7927 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
7929 * string/Makefile (tests): Add tst-bswap.
7930 * string/tst-bswap.c: New file.
7932 2000-12-11 Bruno Haible <haible@clisp.cons.org>
7934 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
7936 2000-12-26 Ulrich Drepper <drepper@redhat.com>
7938 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
7939 Patch by Ed Connell <Ed.Connell@sas.com>.
7941 2000-12-24 Ulrich Drepper <drepper@redhat.com>
7943 * locale/iso-639.def: Correct one entry. Add two missing entries.
7945 * locale/iso-4217.def: Change entry for Eritrea.
7946 Reported by Daniel Yacob <yacob@geez.org>.
7948 2000-12-23 Ben Collins <bcollins@debian.org>
7950 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
7953 * manual/stdio.texi (Dynamic Output): Document the return value of
7954 asprintf. Also make the asprintf/snprintf examples a little
7955 better (check for some error returns).
7957 2000-12-22 Andreas Jaeger <aj@suse.de>
7959 * include/stdio.h: Add __ftrylockfile prototype.
7961 2000-12-21 H.J. Lu <hjl@gnu.org>
7963 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
7964 Make sign_exponent element signed.
7966 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
7969 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
7971 2000-12-21 Andreas Jaeger <aj@suse.de>
7973 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
7974 * inet/ether_hton.c: Likewise
7975 * inet/ether_ntoh.c: Likewise.
7977 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
7978 declaration to match prototype.
7980 * include/netinet/ether.h (struct etherent): Declare here so that
7981 all implementations use the same struct.
7983 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
7985 (struct ether): Removed.
7986 Use struct etherent instead of ether everywhere.
7988 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
7990 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
7992 * sunrpc/publickey.c: Include auth_des.h for prototypes.
7994 2000-12-20 Ulrich Drepper <drepper@redhat.com>
7996 * math/test-misc.c: Add more tests for nextafter functions.
7998 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
7999 normal correctly. Correct test for sign.
8000 Based on a patch by HJ Lu.
8002 2000-12-19 Ulrich Drepper <drepper@redhat.com>
8004 * Makeconfig (preprocess-version): Add -traditional to gcc call.
8007 2000-12-19 Andreas Jaeger <aj@suse.de>
8009 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
8011 * nis/nis_intern.h: Add prototype for __do_niscall3.
8013 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
8016 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
8018 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
8020 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
8022 2000-12-18 Ulrich Drepper <drepper@redhat.com>
8024 * math/test-misc.c: Add more tests for nextafter.
8025 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
8026 * sysdeps/ieee754/ldbl-96/math_ldbl.h
8027 (ieee_long_double_shape_type): Make sign_exponent element signed.
8029 * manual/message.texi: Add Estonian to plural overview list.
8030 Correct rule for Slavic languages.
8031 Patch by Stanislav Brabec <utx@penguin.cz>.
8033 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
8035 2000-12-18 Andreas Jaeger <aj@suse.de>
8037 * test-skeleton.c: Use temp_name_list instead of name_list to
8038 avoid collision with name_list from inet/netgroup.h.
8040 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
8042 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
8043 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
8044 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
8045 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
8047 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
8048 declaration to match prototype.
8049 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
8050 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
8051 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
8053 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
8054 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
8055 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
8056 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
8057 (_nss_nis_getservbyport_r): Likewise.
8058 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
8059 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
8060 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
8061 (_nss_nis_setnetent): Likewise
8062 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8063 (_nss_nis_endnetgrent): Likewise.
8064 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
8066 (_nss_nisplus_setnetgrent): Likewise.
8067 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
8068 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
8069 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
8070 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
8072 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
8074 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
8076 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
8078 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
8079 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
8080 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
8081 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
8082 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
8083 (_nss_dns_getnetbyaddr_r): Likewise.
8085 2000-12-17 Andreas Jaeger <aj@suse.de>
8087 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
8090 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
8091 unused attribute to shut up gcc warnings.
8093 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
8094 * sysdeps/generic/k_tanl.c: Likewise.
8095 * sysdeps/generic/k_cosl.c: Likewise.
8096 * sysdeps/generic/e_j0l.c: Likewise.
8097 * sysdeps/generic/e_j1l.c: Likewise.
8098 * sysdeps/generic/e_jnl.c: Likewise.
8099 * sysdeps/generic/e_lgammal_r.c: Likewise.
8101 * elf/vismain.c: Move prototypes for functions in vismod*.c to
8103 * elf/vismod.h: New file.
8104 * elf/Makefile (distribute): Add vismod.h.
8105 * elf/vismod1.c: Include vismod.h.
8106 * elf/vismod2.c: Likewise.
8107 * elf/vismod3.c: Likewise.
8109 * elf/constload3.c: Add prototype declarations to shut up gcc.
8110 * elf/failobj.c: Likewise.
8111 * elf/nodelmod3.c: Likewise.
8112 * elf/filtmod1.c: Likewise.
8113 * elf/filtmod2.c: Likewise.
8114 * elf/reldepmod1.c: Likewise.
8115 * elf/reldepmod2.c: Likewise.
8116 * elf/reldepmod3.c: Likewise.
8117 * elf/reldepmod4.c: Likewise.
8118 * elf/unload2dep.c: Likewise.
8119 * elf/unload2mod.c: Likewise.
8120 * elf/ltglobmod1.c: Likewise.
8121 * elf/pathoptobj.c: Likewise.
8122 * elf/neededobj1.c: Likewise.
8123 * elf/neededobj2.c: Likewise.
8124 * elf/neededobj3.c: Likewise.
8125 * elf/neededobj4.c: Likewise.
8126 * elf/nextmod1.c: Likewise.
8127 * elf/nextmod2.c: Likewise.
8129 * locale/programs/ld-collate.c (collate_finish): Don't use labels
8130 at end of compound statement.
8131 * locale/programs/locale.c (show_info): Likewise.
8132 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
8134 2000-12-16 Jakub Jelinek <jakub@redhat.com>
8136 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
8137 with a pointer not returned by obstack_ functions.
8139 2000-12-16 Ulrich Drepper <drepper@redhat.com>
8141 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
8143 (struct stat64): Likewise.
8144 Reported by Michael Keezer <mkeezer@redhat.com>.
8146 * timezone/asia: Update from tzdata2000h.
8147 * timezone/australasia: Likewise.
8148 * timezone/backward: Likewise.
8149 * timezone/europe: Likewise.
8150 * timezone/northamerica: Likewise.
8151 * timezone/southamerica: Likewise.
8152 * timezone/zone.tab: Likewise.
8154 2000-12-14 Jakub Jelinek <jakub@redhat.com>
8156 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
8157 and dir.stream is NULL, only free dir.content.
8158 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
8159 * io/ftwtest-sh: Test with --early-exit.
8161 2000-12-13 Jakub Jelinek <jakub@redhat.com>
8163 * misc/efgcvt.c (FCVT_MAXDIG): Define.
8164 (FCVT_BUFPTR): New variable.
8165 (fcvt): If fcvt_r returns -1 on the static short buffer,
8166 try to malloc a sufficiently large one and retry.
8167 (free_mem): New function.
8168 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
8169 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
8171 2000-12-15 Ulrich Drepper <drepper@redhat.com>
8173 * misc/dirname.c (dirname): Fix search for second to last slash.
8175 2000-12-13 Andreas Jaeger <aj@suse.de>
8177 * misc/tst-dirname.c (main): Fix typo in test to really use
8178 the examples from Unix98.
8179 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8181 2000-12-09 H.J. Lu <hjl@gnu.org>
8183 * sysdeps/ia64/fpu/s_fabs.S: New file.
8184 * sysdeps/ia64/fpu/s_fabsf.S: New file.
8185 * sysdeps/ia64/fpu/s_fabsl.S: New file.
8187 2000-12-15 Andreas Jaeger <aj@suse.de>
8189 * stdio-common/scanf9.c (main): Reformat and change to avoid
8192 * stdio-common/tstdiomisc.c: Make local functions static.
8193 * stdio-common/tst-printf.c: Likewise.
8195 * elf/constload2.c: Add prototype declarations to shut up gcc.
8196 * elf/dep1.c: Likewise.
8197 * elf/dep2.c: Likewise.
8198 * elf/dep3.c: Likewise.
8199 * elf/dep4.c: Likewise.
8200 * elf/ltglobmod2.c: Likewise.
8202 * libio/fmemopen.c: Make local functions static.
8204 * elf/Makefile (distribute): Added testobj.h.
8206 * elf/testobj.h: New file.
8208 * elf/testobj1.c: Include testobj.h and move prototype
8209 declarations to testobj.h.
8210 * elf/testobj2.c: Likewise.
8211 * elf/testobj3.c: Likewise.
8212 * elf/testobj4.c: Likewise.
8213 * elf/testobj5.c: Likewise.
8214 * elf/testobj6.c: Likewise.
8215 * elf/testobj1_1.c: Likewise.
8216 * elf/preloadtest.c: Likewise.
8218 2000-12-15 Ben Collins <bcollins@debian.org>
8220 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
8221 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
8223 2000-12-14 H.J. Lu <hjl@gnu.org>
8225 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
8226 field in a float is 8 bits, not 11 bits.
8228 2000-12-13 Jakub Jelinek <jakub@redhat.com>
8230 * math/test-misc.c (main): Adjust m for IEEE quad long double.
8232 2000-12-13 Andreas Jaeger <aj@suse.de>
8234 * manual/message.texi (Using gettextized software): Fix typo.
8236 * manual/charset.texi (Converting a Character): Fix mbstouwcs
8238 Patch by Martin Buchholz <martin@xemacs.org>.
8240 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
8241 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8243 2000-12-11 Andreas Jaeger <aj@suse.de>
8245 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
8246 kernel_sigset_t and use it.
8247 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
8249 2000-12-10 Richard Henderson <rth@redhat.com>
8251 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
8252 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
8253 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
8255 2000-12-10 Jakub Jelinek <jakub@redhat.com>
8257 * sysdeps/alpha/htonl.S: Fix a typo.
8259 2000-12-10 Jakub Jelinek <jakub@redhat.com>
8261 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
8263 2000-12-10 Andreas Jaeger <aj@suse.de>
8265 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
8266 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
8267 Drepper <drepper@redhat.com>.
8269 2000-12-09 Andreas Jaeger <aj@suse.de>
8271 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
8273 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
8275 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
8277 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
8280 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
8283 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
8284 * nscd/connections.c (handle_request): Likewise.
8285 * nscd/pwdcache.c (addpwbyname): Likewise.
8286 * nscd/grpcache.c (addgrbyname): Likewise.
8288 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
8290 2000-12-09 Ulrich Drepper <drepper@redhat.com>
8292 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
8294 * Makeconfig (default_cflags): Make -O2 the default for stable
8297 2000-12-08 H.J. Lu <hjl@gnu.org>
8299 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
8300 * sysdeps/ia64/fpu/s_isinf.S: This.
8301 Add a .pred.rel.mutex note to avoid false report.
8303 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
8304 * sysdeps/ia64/fpu/s_isnan.S: This.
8306 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
8307 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
8308 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
8309 * sysdeps/ia64/fpu/s_isinff.S: New file.
8310 * sysdeps/ia64/fpu/s_isinfl.S: New file.
8311 * sysdeps/ia64/fpu/s_isnanf.S: New file.
8312 * sysdeps/ia64/fpu/s_isnanl.S: New file.
8313 * sysdeps/ia64/fpu/s_finite.S: New file.
8314 * sysdeps/ia64/fpu/s_finitef.S: New file.
8315 * sysdeps/ia64/fpu/s_finitel.S: New file.
8316 * sysdeps/ia64/fpu/s_signbit.S: New file.
8317 * sysdeps/ia64/fpu/s_signbitf.S: New file.
8318 * sysdeps/ia64/fpu/s_signbitl.S: New file.
8319 * sysdeps/ia64/fpu/s_copysign.S: New file.
8320 * sysdeps/ia64/fpu/s_copysignf.S: New file.
8321 * sysdeps/ia64/fpu/s_copysignl.S: New file.
8323 2000-12-08 Ulrich Drepper <drepper@redhat.com>
8325 * math/libm-test.inc (main): Fix typos in messages.
8327 * string/stratcliff.c: Add test for rawmemchr.
8329 2000-12-08 Jakub Jelinek <jakub@redhat.com>
8331 * elf/dl-open.c (_dl_open): If objname points right after errstring,
8332 allocate it together with errstring using alloca.
8333 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
8334 to "", because it might point to local stack.
8336 2000-12-05 H.J. Lu <hjl@gnu.org>
8338 * nss/Makefile (routines): Add getnssent and getnssent_r.
8339 * nss/nsswitch.h (__nss_setent): New internal NSS function.
8340 (__nss_endent): Likewise.
8341 (__nss_getent_r): Likewise.
8342 (__nss_getent): Likewise.
8343 * nss/getnssent_r.c: New file.
8344 * nss/getnssent.c: New file.
8345 * nss/getXXent.c (H_ERRNO_VAR): Updated.
8346 (GETFUNC_NAME): Updated to call __nss_getent ().
8347 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
8348 (STAYOPEN_TMPVAR): Updated.
8349 (STAYOPEN_VAR): Updated.
8350 (SETFUNC_NAME): Updated to call __nss_setent ().
8351 (ENDFUNC_NAME): Updated to call __nss_endent ().
8352 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
8354 2000-12-08 Andreas Jaeger <aj@suse.de>
8356 * nscd/dbg_log.h (dbg_log): Correct attribute.
8358 2000-12-08 Jakub Jelinek <jakub@redhat.com>
8360 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
8361 cp + len. Compute where from dirname.
8362 Reported by <jreiser@BitWagon.com>.
8364 2000-12-08 Richard Henderson <rth@twiddle.net>
8366 * sysdeps/alpha/_mcount.S: Fix typo.
8367 * sysdeps/alpha/strncpy.S: Likewise.
8369 * sysdeps/alpha/alphaev6/Implies: New file.
8370 * sysdeps/alpha/alphaev67/Implies: New file.
8371 * sysdeps/alpha/alphaev67/ffs.S: New file.
8372 * sysdeps/alpha/alphaev67/ffsll.S: New file.
8373 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
8374 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
8375 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
8376 * sysdeps/alpha/rawmemchr.S: New file.
8377 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
8378 * sysdeps/alpha/strcpy.S: Likewise.
8381 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
8383 From rick.gorton@alpha-processor.com:
8384 * sysdeps/alpha/alphaev6/memchr.S: New file.
8385 * sysdeps/alpha/alphaev6/memcpy.S: New file.
8386 * sysdeps/alpha/alphaev6/memset.S: New file.
8387 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
8388 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
8389 * sysdeps/alpha/alphaev67/strcat.S: New file.
8390 * sysdeps/alpha/alphaev67/strchr.S: New file.
8391 * sysdeps/alpha/alphaev67/strlen.S: New file.
8392 * sysdeps/alpha/alphaev67/strncat.S: New file.
8393 * sysdeps/alpha/htonl.S: Use a shorter sequence.
8395 2000-12-08 Jakub Jelinek <jakub@redhat.com>
8397 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
8398 Reported by <pspencer@fields.utoronto.ca>.
8400 2000-12-07 Jes Sorensen <jes@linuxcare.com>
8402 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
8403 Pointed out by Hans Boehm.
8405 2000-12-07 H.J. Lu <hjl@gnu.org>
8407 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
8409 2000-12-07 Andreas Jaeger <aj@suse.de>
8411 * misc/error.c: Add format attributes for __error and __error_at_line.
8413 * nscd/dbg_log.h: Add format attribute.
8415 2000-12-08 Ulrich Drepper <drepper@redhat.com>
8417 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
8418 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
8420 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
8422 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
8424 2000-12-06 Ulrich Drepper <drepper@redhat.com>
8426 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
8427 (sysdep_routines): Add uitrunc.
8428 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
8429 Patches by Michael Keezer <mkeezer@redhat.com>.
8431 2000-12-06 Roland McGrath <roland@frob.com>
8433 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
8434 argument data, since it will be used to copy out too (for INOUT).
8435 Reported by Marcus Brinkmann <marcus@gnu.org>.
8437 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
8438 (__ioctl): Use uintptr_t instead of unsigned long int.
8440 2000-12-06 Jim Wilson <wilson@redhat.com>
8442 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
8444 2000-12-06 Ulrich Drepper <drepper@redhat.com>
8446 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
8447 x.5 rounding correctly.
8449 2000-12-06 Mark Kettenis <kettenis@gnu.org>
8451 * stdio-common/perror.c (perror): Conditionalize code dealing with
8452 wide-oriented streams on USE_IN_LIBIO.
8454 2000-12-06 Mark Kettenis <kettenis@gnu.org>
8456 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
8457 as internal_function.
8459 2000-12-05 Ulrich Drepper <drepper@redhat.com>
8461 * sysdeps/alpha/elf/start.S (__data_start): Define.
8463 2000-12-05 H.J. Lu <hjl@gnu.org>
8465 * nss/getXXent_r.c (setup): Change the return type to int.
8467 2000-12-05 Ulrich Drepper <drepper@redhat.com>
8469 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
8470 (sysdep_routines): Add restf and savef.
8471 * sysdeps/unix/sysv/aix/restf.c: New file.
8472 * sysdeps/unix/sysv/aix/savef.c: New file.
8473 Patches by Michael Keezer <mkeezer@redhat.com>.
8475 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
8476 if O_DIRECTORY is not defined.
8477 Patch by Michael Keezer <mkeezer@redhat.com>.
8479 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
8480 Patch by Michael Keezer <mkeezer@redhat.com>.
8482 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
8483 than 4 bytes in escape sequence.
8484 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8486 2000-12-05 Andreas Jaeger <aj@suse.de>
8488 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
8491 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
8493 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
8495 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
8496 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8498 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
8500 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
8501 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
8503 * sysdeps/generic/dl-cache.c: Remove declaration of
8504 _dl_sysdep_read_whole_file.
8506 * elf/dl-load.c (_dl_map_object): Remove declaration of
8507 _dl_load_cache_lookup.
8509 * sysdeps/generic/ldsodefs.h: Add declarations of
8510 _dl_load_cache_lookup, _dl_unload_cache,
8511 _dl_sysdep_read_whole_file, _dl_sysdep_start and
8512 _dl_sysdep_start_cleanup.
8514 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
8517 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
8518 * sysdeps/generic/dl-environ.c: Likewise.
8520 * stdio-common/printf_fp.c: Include <gmp.h> instead of
8522 * math/atest-exp.c: Likewise.
8523 * math/atest-exp2.c: Likewise.
8524 * math/atest-sincos.c: Likewise.
8525 * stdio-common/_itoa.c: Likewise.
8526 * stdio-common/_itowa.c: Likewise.
8528 * include/gmp.h: New file with internal prototypes.
8530 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
8532 * include/setjmp.h: ...here.
8534 * locale/Makefile (routines): Remove codeset_name since it's not
8537 * locale/codeset_name.c: Removed.
8539 2000-12-05 Ulrich Drepper <drepper@redhat.com>
8541 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
8543 2000-12-05 Andreas Jaeger <aj@suse.de>
8545 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
8547 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
8549 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
8552 2000-12-05 Andreas Jaeger <aj@suse.de>
8554 * nss/test-netdb.c: Mark local functions as static to avoid
8556 (main): Use return to silence warning.
8558 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
8560 * stdio-common/test-popen.c: Mark local functions as static to
8562 (main): Use return to silence warning.
8564 * stdlib/testsort.c (compare): Mark as static to avoid warning.
8566 * assert/test-assert.c: Mark local functions as static to avoid
8568 * assert/test-assert-perr.c: Likewise.
8570 * math/libm-test.inc (main): Use return to silence warnings.
8572 2000-12-04 Ulrich Drepper <drepper@redhat.com>
8574 * math/fenv.h: Fix typo in comment.
8576 * math/test-misc.c (main): Add a few more over and underflow tests
8579 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
8580 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8581 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8582 * math/w_scalb.c: Don't use matherr except in SVID mode.
8583 * math/w_scalbf.c: Likewise.
8584 * math/w_scalbl.c: Likewise.
8585 * math/test-misc.c: Add test for NaN and scalbl.
8586 Reported by Fred J. Tydeman <tydeman@tybor.com>.
8588 2000-12-04 Ulrich Drepper <drepper@redhat.com>
8590 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
8591 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
8592 * include/libc-symbols.h (strong_alias): Define special version
8593 for HAVE_ASM_GLOBAL_DOT_NAME.
8594 (weak_alias): Likewise.
8595 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
8596 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
8597 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
8598 getutxline, pututxline, and utmpxname.
8599 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
8600 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
8601 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
8602 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
8603 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
8604 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
8605 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
8606 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
8607 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
8608 Patches by Michael Keezer <mkeezer@redhat.com>.
8610 2000-12-04 H.J. Lu <hjl@gnu.org>
8612 * configure.in: Change --with-oldest-abi=ABI to
8613 --enable-oldest-abi=ABI.
8615 2000-12-02 Bruno Haible <haible@clisp.cons.org>
8617 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
8618 fwprintf instead of fprintf.
8620 2000-12-04 Ulrich Drepper <drepper@redhat.com>
8622 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
8623 DECIMAL_DIG definitions.
8624 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
8625 * sysdeps/generic/bits/mathdef.h: Likewise
8626 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
8627 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
8628 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
8629 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
8630 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
8631 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
8633 2000-12-03 Ulrich Drepper <drepper@redhat.com>
8635 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
8637 * math/atest-exp.c: Mark local functions as static to avoid warnings.
8638 * math/atest-exp2.c: Likewise.
8639 * math/atest-sincos.c: Likewise.
8641 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
8642 Reported by Fred J. Tydeman <tydeman@tybor.com>.
8644 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
8645 the handling of denormalized numbers.
8647 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
8649 * sysdeps/i386/fpu/fpclassifyl.c: New file.
8651 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
8652 pseudo denormal representation of LDBL_MIN.
8654 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
8655 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
8657 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
8658 * iconvdata/jis0208.c: Likewise.
8659 * iconvdata/jis0212.c: Likewise.
8660 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8662 * math/test-misc.c (main): More tests for frexp and some for
8663 fpclassify and isnormal.
8665 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
8667 Reported by Fred J. Tydeman <tydeman@tybor.com>.
8669 * math/test-misc.c (main): Add tests for frexp.
8670 Reported by Fred J. Tydeman <tydeman@tybor.com>.
8671 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
8673 2000-12-02 H.J. Lu <hjl@gnu.org>
8675 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
8678 2000-12-02 Ulrich Drepper <drepper@redhat.com>
8680 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
8681 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8682 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8684 * sysdeps/generic/glob.c: Adjust types of several variables to
8687 2000-12-01 Ulrich Drepper <drepper@redhat.com>
8689 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
8691 2000-11-30 Roland McGrath <roland@frob.com>
8693 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
8694 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
8695 allow multiple instances using the same function name in one file.
8697 2000-12-01 Ulrich Drepper <drepper@redhat.com>
8699 * configure.in: Correct test for pserver CVS access.
8701 2000-11-28 H.J. Lu <hjl@gnu.org>
8703 * libio/libio.h: Remove extra "#if ... #endif".
8705 2000-11-29 H.J. Lu <hjl@gnu.org>
8707 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
8709 2000-12-01 H.J. Lu <hjl@gnu.org>
8711 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
8712 * nss/getXXent_r.c: Likewise.
8713 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8715 2000-11-30 H.J. Lu <hjl@gnu.org>
8717 * scripts/abi-versions.awk (oldest_abi): New variable.
8718 Handle the oldest ABI supported.
8720 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
8721 for scripts/abi-versions.awk.
8723 * configure.in: Add --with-oldest-abi=ABI.
8724 * configure: Rebuild.
8726 * config.make.in (oldest-abi): New.
8728 * config.h.in (GLIBC_OLDEST_ABI): New.
8730 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
8732 2000-11-30 Jakub Jelinek <jakub@redhat.com>
8734 * locale/setlocale.c (setname): Free for all categories, not just
8736 (setlocale): Store a copy of string passed by user, not the string
8739 2000-11-30 Roland McGrath <roland@frob.com>
8741 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
8742 rather than _hurd_fd_subinit, so it happens after it's safe to use
8743 libc facilities like malloc.
8745 2000-11-28 Andreas Jaeger <aj@suse.de>
8747 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
8748 declaration, adjust declaration of __syscall_getdents to match
8751 2000-11-29 H.J. Lu <hjl@gnu.org>
8753 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
8755 2000-11-29 Andreas Jaeger <aj@suse.de>
8757 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
8759 2000-11-28 Ulrich Drepper <drepper@redhat.com>
8761 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
8762 * dlfcn/defaultmod2.c: Likewise.
8763 * dlfcn/dlopen.c: Likewise.
8764 * dlfcn/dlopenold.c: Likewise.
8765 * dlfcn/failtestmod.c: Likewise.
8766 * dlfcn/glreflib1.c: Likewise.
8767 * dlfcn/glreflib2.c: Likewise.
8768 * dlfcn/eval.c: Likewise. Add attributes.
8770 * ctype/ctype-extn.c: Define isblank and not __isblank.
8772 * time/strftime.c: Add const where necessary to avoid warnings.
8773 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
8775 2000-11-22 Paul Eggert <eggert@twinsun.com>
8777 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
8778 size of (size_t) -1; it's not portable.
8780 2000-11-28 Ulrich Drepper <drepper@redhat.com>
8782 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
8784 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8786 2000-11-14 Jes Sorensen <jes@linuxcare.com>
8788 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
8790 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
8791 _mcount is required by profiled binaries.
8793 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
8794 * sysdeps/ia64/machine-gmon.h: ...here.
8796 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
8798 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
8799 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
8801 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
8803 * iconvdata/ibm922.c: New file.
8804 * iconvdata/ibm922.h: New file.
8805 * iconvdata/ibm1124.c: New file.
8806 * iconvdata/ibm1124.h: New file.
8807 * iconvdata/ibm1129.c: New file.
8808 * iconvdata/ibm1129.h: New file.
8809 * iconvdata/testdata/IBM922: New file.
8810 * iconvdata/testdata/IBM922..UTF8: New file.
8811 * iconvdata/testdata/IBM1124: New file.
8812 * iconvdata/testdata/IBM1124..UTF8: New file.
8813 * iconvdata/testdata/IBM1129: New file.
8814 * iconvdata/testdata/IBM1129..UTF8: New file.
8816 2000-11-28 Ulrich Drepper <drepper@redhat.com>
8818 * catgets/gencat.c (normalize_line): Take extra parameter with escape
8819 character. Change callers.
8820 (open_conversion): Determine mapping of 0x5c as wchar_t value.
8821 * catgets/Makefile: Add rules to build and run test-gencat.
8822 * catgets/sample.SJIS: New file.
8823 * catgets/test-gencat.c: New file.
8824 * catgets/test-gencat.sh: New file.
8825 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8827 2000-11-28 Andreas Jaeger <aj@suse.de>
8829 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
8832 2000-11-28 Ulrich Drepper <drepper@redhat.com>
8834 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
8836 2000-11-28 Andreas Jaeger <aj@suse.de>
8838 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
8840 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
8843 2000-11-27 Ulrich Drepper <drepper@redhat.com>
8845 * misc/getusershell.c: Make strings in okshells array const.
8846 * misc/regexp.c: Add const to cast to avoid warnings.
8847 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
8848 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
8850 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
8852 * misc/error.c: Add prototypes for __error and __error_at_line.
8853 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
8854 statement to avoid warning.
8855 * test-skeleton.c: Mark timeout_handler with noreturn.
8856 * iconv/skeleton.c (get16u): Add const to cast.
8858 * iconvdata/gb18030.c: Likewise.
8859 * iconvdata/iso-2022-cn-ext.c: Likewise.
8860 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
8861 * iconvdata/big5.c: Likewise.
8862 * iconvdata/big5hkscs.c: Likewise.
8863 * iconvdata/iso_6937.c: Likewise.
8864 * iconvdata/iso_6937-2.c: Likewise.
8865 * iconvdata/t.61.c: Likewise.
8866 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
8867 * iconvdata/unicode.c: Likewise.
8868 * iconvdata/utf-16.c: Likewise.
8869 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
8870 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
8871 with little code shuffling.
8873 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
8874 the problems introduced when the user selects -O3.
8876 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
8877 * misc/sys/cdefs.h: Define __flexarr.
8878 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
8880 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
8881 * iconv/skeleton.c: Likewise.
8882 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
8883 * iconv/loop.c (get16): Add const to cast.
8886 2000-11-27 Andreas Jaeger <aj@suse.de>
8888 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
8890 * login/programs/utmpdump.c (print_entry): Likewise.
8892 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
8894 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
8895 in a single asm as they may be used to access other stored
8897 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8899 2000-11-27 Andreas Jaeger <aj@suse.de>
8901 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
8902 * rt/tst-aio64.c: Likewise.
8904 2000-11-27 Ulrich Drepper <drepper@redhat.com>
8906 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
8908 (libc.cat): Likewise.
8909 * catgets/gencat.c: Implement handling of message catalogs encoded
8910 with stateful character sets.
8911 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8913 2000-11-26 Ulrich Drepper <drepper@redhat.com>
8915 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
8917 * inet/getnameinfo.c: Adjust casts to avoid warnings.
8918 * inet/rcmd.c: Likewise.
8919 * inet/ruserpass.c: Likewise.
8920 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
8921 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8922 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
8923 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
8924 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
8925 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
8926 * include/aliases.h: Add prototypes for internal __getalias* functions.
8927 * include/netdb.h: Add prototypes for __old_gethostent_r,
8928 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
8929 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
8930 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
8931 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
8932 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
8933 __old_getrpcbynumber_r, __old_getrpcent_r.
8935 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
8936 __getrpcent_r prototypes.
8938 2000-11-25 Ulrich Drepper <drepper@redhat.com>
8940 * string/strcoll.c: Add casts to avoid warnings.
8941 * string/strnlen.c: Likewise.
8942 * string/strxfrm.c: Likewise.
8943 * sysdeps/generic/_strerror.c: Likewise.
8944 * sysdeps/generic/memrchr.c: Likewise.
8945 * sysdeps/generic/strcasestr.c: Likewise.
8946 * sysdeps/generic/strstr.c: Likewise.
8948 * locale/weight.h (findidx): Add const to cast to avoid warning.
8950 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
8951 * elf/loadtest.c: Likewise.
8952 * elf/multiload.c: Likewise.
8953 * elf/next.c: Likewise.
8954 * elf/nodelete.c: Likewise.
8955 * elf/noload.c: Likewise.
8956 * elf/order.c: Likewise.
8957 * elf/origtest.c: Likewise.
8958 * elf/preloadtest.c: Likewise.
8959 * elf/restest1.c: Likewise.
8961 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
8962 parameter of asm must be in %ecx.
8964 * string/tester.c: Mark test functions as static to avoid warnings.
8966 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
8967 preserve value over different gconv-modules files.
8969 2000-11-24 Ulrich Drepper <drepper@redhat.com>
8971 * locale/findlocale.c: Add casts to avoid warnings.
8972 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
8973 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
8975 * misc/tsearch.c (const_node): New type.
8976 (trecurse): Correct casts to avoid warnings.
8977 (__twalk): Likewise.
8978 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
8981 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
8983 * test-skeleton.c: Mark local functions as static to avoid warnings.
8985 2000-11-23 H.J. Lu <hjl@gnu.org>
8987 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
8988 support the background job.
8991 2000-11-24 Ulrich Drepper <drepper@redhat.com>
8993 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
8994 has same names but lower cost.
8996 2000-11-23 Jakub Jelinek <jakub@redhat.com>
8998 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
8999 which never occur during bootstrap.
9000 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9002 2000-11-23 Andreas Jaeger <aj@suse.de>
9004 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
9006 * nss/Versions: Remove _nss_files_getipnodebyname_r.
9008 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
9010 2000-11-18 Martin Buchholz <martin@xemacs.org>
9012 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
9015 2000-11-21 Alan Modra <alan@linuxcare.com.au>
9017 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
9019 * csu/abi-note.S: Correct comment for operating system number.
9021 2000-11-22 Ulrich Drepper <drepper@redhat.com>
9023 * Versions.def: Add GLIBC_2.2.1 for glibc.
9025 2000-11-22 Andreas Schwab <schwab@suse.de>
9027 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
9028 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
9030 2000-11-22 Ulrich Drepper <drepper@redhat.com>
9032 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
9033 absolute time for pthread_cond_timedwait call.
9034 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
9036 * rt/Makefile (tests): Add tst-aio6.
9037 * rt/tst-aio6.c: New file.
9039 2000-11-23 Andreas Jaeger <aj@suse.de>
9041 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
9043 2000-11-22 Andreas Jaeger <aj@suse.de>
9045 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
9047 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
9049 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
9051 2000-11-21 Andreas Schwab <schwab@suse.de>
9053 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
9054 * sysdeps/arm/setjmp.S: Likewise.
9055 * sysdeps/arm/fpu/setjmp.S: Likewise.
9056 * sysdeps/i386/setjmp.S: Likewise.
9057 * sysdeps/i386/elf/setjmp.S: Likewise.
9058 * sysdeps/s390/setjmp.S: Likewise.
9059 * sysdeps/s390/elf/setjmp.S: Likewise.
9060 * sysdeps/sh/sh3/setjmp.S: Likewise.
9061 * sysdeps/sh/sh4/setjmp.S: Likewise.
9062 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
9063 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9064 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
9065 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
9067 2000-11-21 Andreas Jaeger <aj@suse.de>
9069 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
9070 NORETURN, fix parameter list.
9072 * string/bug-strncat1.c (main): Fix typo.
9073 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
9075 2000-11-20 Ulrich Drepper <drepper@redhat.com>
9077 * configure.in: Add --enable-all-warnings.
9078 * config.make.in (all-warnings): New variable.
9079 * Makeconfig (+gccwarn): Define with many more warnings if
9080 all-warnings is yes.
9082 2000-11-20 Jakub Jelinek <jakub@redhat.com>
9084 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
9085 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
9086 * malloc/tst-valloc.c (main): Cast valloc return value to long.
9087 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
9088 * math/test-fpucw.c (main): Use %lx in format string, cast
9089 control words to long.
9090 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
9091 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
9092 large that it is unsigned warning.
9094 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
9095 it to long on sparc64.
9097 2000-11-20 Andreas Jaeger <aj@suse.de>
9099 * nscd/nscd.h (termination_handler): Add noreturn attribute.
9100 (receiv_print_stats): Likewise.
9102 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
9104 2000-11-20 Ulrich Drepper <drepper@redhat.com>
9106 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
9108 * csu/gmon-start.c: Always have prototype for __gmon_start.
9109 * csu/version.c: Add prototypes for __libc_print_version and
9111 * iconv/gconv.c: Include gconv_int.h and gconv.h.
9112 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
9114 * iconv/gconv_builtin.h: Add ASCII module definitions.
9115 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
9116 (add_module): Add cast to avoid warning. Rework construction of
9117 strings for new module.
9118 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
9119 (derivation_compare): Likewise.
9120 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
9121 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
9122 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
9123 (struct gconv_alias): Remove const from fromname and toname.
9124 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
9126 (internal_ucs4_loop): Use correct const-ness.
9127 (ucs4_internal_loop): Likewise.
9128 (internal_ucs4le_loop): Likewise.
9129 (ucs4le_internal_loop_single): Likewise.
9130 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
9131 to_idx, to_tbl, winbuf, winbufend const. Change casts in
9132 assignments appropriately.
9133 (struct known_trans): Remove const from fname.
9134 (trans_compare): Make s1 and s2 const.
9135 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
9137 * iconv/skeleton.c: Remove cast in calls of loop functions.
9138 * iconvdata/gconv-modules: Remove US-ASCII definitions.
9139 * iconvdata/iso646.c: Remove US_ASCII support.
9140 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
9141 * include/unistd.h: Add __libc_check_standard_fds prototype.
9142 * string/bits/string2.h (__mempcpy_args): Add const to casts.
9143 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
9145 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
9146 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
9147 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
9149 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
9150 __libc_init_first and _dl_start.
9151 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
9152 (DCIGETTEXT): Make domaindata variable const.
9153 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
9156 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
9158 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
9160 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
9161 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
9164 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
9165 value defined in /usr/include/asm-mips/fcntl.h.
9167 2000-11-18 Ulrich Drepper <drepper@redhat.com>
9169 * stdio-common/Makefile (tests): Add test-vfprintf.
9170 (test-vfprintf-ENV): New variable.
9171 * stdio-common/test-vfprintf.c: New file.
9173 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
9175 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
9176 (tst-mbrtowc-ENV): New variable.
9177 (tst-wcrtomb-ENV): New variable.
9178 * wcsmbs/tst-mbrtowc.c: New file.
9179 * wcsmbs/tst-wcrtomb.c: New file.
9181 2000-11-16 Andreas Jaeger <aj@suse.de>
9183 * manual/install.texi (Tools for Compilation): Update
9184 documentation for GCC 2.95.2.
9186 2000-11-18 Ulrich Drepper <drepper@redhat.com>
9188 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
9189 if IPv4 and IPv6 requests timed out.
9191 2000-11-18 Akim Demaille <akim@epita.fr>
9193 * malloc/obstack.h: Formatting changes.
9194 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
9195 prevents type checking.
9196 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
9197 cast the value to (void *): assigning a `foo *' to a `void *'
9199 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
9201 2000-11-17 Ulrich Drepper <drepper@redhat.com>
9203 * scripts/config.guess: Update from upstream maintainer.
9204 * scripts/config.sub: Likewise.
9206 2000-11-16 Ulrich Drepper <drepper@redhat.com>
9208 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
9209 * libio/freopen64.c (freopen64): Likewise.
9210 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9212 * libio/Makefile: Add rules to build and run test-freopen.
9213 * libio/test-freopen.c: New file.
9214 * libio/test-freopen.sh: New file.
9216 2000-11-15 H.J. Lu <hjl@gnu.org>
9218 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
9219 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
9220 (DL_DT_FINI_ADDRESS): Likewise.
9222 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
9223 return type to ElfW(Addr).
9224 (_dl_function_address): New prototype.
9225 (DL_FUNCTION_ADDRESS): Defined.
9226 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
9227 (DL_DT_FINI_ADDRESS): Likewise.
9229 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
9231 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
9232 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
9234 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
9235 (_dl_function_address): This.
9237 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
9238 function pointer for DT_FINI.
9239 * elf/dl-close.c (_dl_close): Likewise.
9241 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
9242 function pointer for DT_INIT.
9244 2000-11-16 Jakub Jelinek <jakub@redhat.com>
9246 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
9247 end of wexpbuf buffer.
9249 2000-11-16 Andreas Jaeger <aj@suse.de>
9251 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
9252 definition of F_GETLK, F_SETLK, F_SETLKW.
9254 2000-11-16 Andreas Jaeger <aj@suse.de>
9256 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
9259 2000-11-15 Jakub Jelinek <jakub@redhat.com>
9261 * dlfcn/default.c (main): Add test for dladdr of main returning
9262 argv[0] in dli_fname field.
9264 2000-11-15 Jakub Jelinek <jakub@redhat.com>
9266 * Makeconfig (run-program-prefix): Move test-static test into the
9269 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
9270 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
9271 schedule instructions.
9272 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
9273 schedule instructions, fix a bug in copying auxiliary data.
9275 2000-11-15 Ulrich Drepper <drepper@redhat.com>
9277 * manual/startup.texi (Program Arguments): Fix type of main's envp
9279 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
9281 * iconvdata/gconv-modules: Add CP950 alias.
9283 2000-11-13 Jakub Jelinek <jakub@redhat.com>
9285 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
9286 syscall-list.h goal.
9287 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
9289 2000-11-15 Ulrich Drepper <drepper@redhat.com>
9291 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
9293 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
9296 * intl/tst-gettext2.c: Set C locale if setting other locale
9297 failed. Use gettext() not _().
9299 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
9300 successfully loaded a new locale.
9302 2000-11-13 Andreas Jaeger <aj@suse.de>
9304 * configure.in: Require gcc 2.95 or newer.
9306 2000-11-15 Ulrich Drepper <drepper@redhat.com>
9308 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
9309 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
9311 2000-11-11 Jim Meyering <meyering@lucent.com>
9313 * string/strndup.c (strndup): Cast return value to `char *'.
9315 2000-11-15 Jim Meyering <meyering@ascend.com>
9317 * sysdeps/generic/memchr.c: Remove some useless parentheses.
9318 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
9319 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
9320 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
9321 Also #undef __memchr.
9322 Use `weak_alias' only if it's defined.
9324 2000-11-10 H.J. Lu <hjl@gnu.org>
9326 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
9328 2000-11-15 Andreas Jaeger <aj@suse.de>
9330 * elf/chroot_canon.c: Include <stdint.h>.
9332 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
9333 (print_entry): Likewise.
9334 (add_to_cache): Likewise.
9336 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
9338 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
9339 (path_hwcap): Likewise.
9340 (search_dir): Likewise.
9342 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
9344 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
9346 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
9347 (_dl_platform_string): New.
9348 (_DL_HWCAP_PLATFORM): New.
9349 (_dl_string_platform): New.
9350 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
9352 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
9353 (_dl_string_platform): New.
9354 (_DL_HWCAP_PLATFORM): New.
9355 (_dl_platform_string): New.
9357 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
9359 (_DL_HWCAP_COUNT): New.
9360 (_dl_string_platform): New.
9361 (_DL_HWCAP_PLATFORM): New.
9362 (_dl_platform_string): New.
9364 2000-11-14 Ulrich Drepper <drepper@redhat.com>
9366 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
9368 2000-11-14 Andreas Jaeger <aj@suse.de>
9370 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
9372 2000-11-13 Roland McGrath <roland@frob.com>
9374 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
9376 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
9378 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
9379 underrun and make sure the result is null terminated even if there
9380 is no trailing newline.
9382 2000-11-13 Jakub Jelinek <jakub@redhat.com>
9384 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9386 2000-11-10 H.J. Lu <hjl@gnu.org>
9388 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
9390 2000-11-10 Andreas Jaeger <aj@suse.de>
9392 * elf/ldconfig.c (create_links): Fix alloca calculation.
9393 Patch by Ben Collins <bcollins@debian.org>.
9395 2000-11-09 Ulrich Drepper <drepper@redhat.com>
9397 * inet/getnameinfo.c (getnameinfo): Use correct destination
9398 parameter for if_indextoname.
9399 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
9401 2000-11-09 H.J. Lu <hjl@gnu.org>
9403 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
9404 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
9405 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
9408 * time/Versions (GLIBC_2.1): Move getitimer to...
9409 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
9411 2000-11-03 Bruno Haible <haible@clisp.cons.org>
9413 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
9414 "make install", to work around a binary incompatibility between
9415 glibc 2.1 and glibc 2.2 gconv modules.
9417 2000-11-09 Ulrich Drepper <drepper@redhat.com>
9419 * intl/locale.alias: Add thai.
9420 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
9422 2000-11-07 Akim Demaille <akim@epita.fr>
9424 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
9425 argument `data' for consistency with the prototypes.
9427 (obstack_copy, obstack_copy0): Rename the second argument as
9428 `address' for consistency. Qualify it `const'.
9429 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
9430 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
9431 `const' their input argument (`data' or `address').
9432 Adjust the corresponding macros to include `const' in casts.
9434 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9436 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
9439 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9441 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
9444 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9446 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
9447 ai_protocol by internal table if service was not given.
9449 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9451 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
9452 numerical port was specified with protocol without socktype.
9454 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9456 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
9458 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9460 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
9462 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9464 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
9465 sin6_scope_id field.
9467 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9469 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
9471 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9473 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
9475 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
9477 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
9478 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
9480 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
9482 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
9483 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
9485 2000-11-09 H.J. Lu <hjl@gnu.org>
9487 * io/Versions (GLIBC_2.1.1): Remove lockf64.
9490 See ChangeLog.11 for earlier changes.