018c435e3ddb28c7cdb5cdc6ddaced93720323e3
[platform/upstream/glibc.git] / ChangeLog
1 2001-06-22  Jakub Jelinek  <jakub@redhat.com>
2
3         * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
4         gaps below main executable.
5
6 2001-07-22  Bruno Haible  <haible@clisp.cons.org>
7
8         * intl/libintl.h (ngettext, dngettext, dcngettext): Use both msgid1
9         and msgid2 for printf format argument checking.
10
11 2001-07-24  Ulrich Drepper  <drepper@redhat.com>
12
13         * iconv/gconv_cache.c (find_module): Don't allocate room for the
14         filename.  Use alloca, we don't need it beyond this function.
15         (__gconv_release_cache): New function.
16         * iconv/gconv_db.c (__gconv_close_transform): Call
17         __gconv_release_cache after the steps are handled.
18         * iconv/gconv_dl.c (__gconv_find_shlib): Allocate file name in the
19         record as well.
20         * iconv/gconv_int.h: Add prototype fpr __gconv_release_cache.
21
22         * iconv/gconv_cache.c (__gconv_lookup_cache): Catch one more
23         boundary case and reject it.
24
25 2001-07-24  Andreas Jaeger  <aj@suse.de>
26
27         * manual/examples/longopt.c (main): Fix which options take arguments.
28
29 2001-07-24  Ulrich Drepper  <drepper@redhat.com>
30
31         * iconvdata/Makefile: Add dependencies for tst-loading test.
32
33 2001-07-24  Andreas Jaeger  <aj@suse.de>
34
35         * iconv/iconvconfig.c (name_insert): Make static to avoid warning.
36
37 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
38
39         * locale/programs/locale.c (write_locales): Disable implicit
40         locking for the stream.  Use feof_unlocked instead of feof.
41
42         * sysdeps/unix/sysv/linux/i386/makecontext.S: Initialize %fs, %gs,
43         and floating-point status as well.
44
45         * libio/iofclose.c (_IO_new_fclose): Unlink descriptor first to
46         avoid deadlock.
47         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
48         * libio/genops.c (_IO_un_link): Get stream lock since it's not
49         always done in the caller.
50         (_IO_link_in): Likewise.
51
52         * libio/genops.c (_IO_list_all_stamp): New variable.
53         (_IO_un_link): Bump _IO_list_all_stamp after removing from list.
54         (_IO_link): Likewise for insertion.
55         (flush_cleanup): New function.
56         (_IO_flush_all): Get list_all_lock and all individual locks for the
57         streams.  Detect and handle changes to the _IO_list_all list.
58         (_IO_flush_all_linebuffered): Likewise.
59         * sysdeps/generic/bits/stdio-lock.h: Define
60         _IO_cleanup_region_start_noarg.
61         * sysdeps/mach/hurd/bits/stdio-lock.c: Likewise.
62
63         * stdio-common/printf.h: Fix typo in comment.
64
65         * iconv/gconv_cache.c (__gconv_lookup_cache): Handle encoding from
66         and to INTERNAL.
67         * iconv/iconvconfig.c: Create a special record for the INTERNAL
68         encoding name in the output file.
69
70 2001-07-23  Jakub Jelinek  <jakub@redhat.com>
71
72         * sunrpc/svc_tcp.c (svctcp_rendezvous_abort): New function.
73         (svctcp_rendezvous_op): Use it.
74         * sunrpc/svc_unix.c (svcunix_rendezvous_abort): New function.
75         (svcunix_rendezvous_op): Use it.
76
77 2001-07-23  Andreas Schwab  <schwab@suse.de>
78
79         * math/Makefile (CPPFLAGS-test-ifloat.c, CPPFLAGS-test-idouble.c,
80         CPPFLAGS-test-ildoubl.c): Renamed from CFLAGS-*.
81         (math-CPPFLAGS): Set this instead of CPPFLAGS.
82
83 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
84
85         * elf/elf.h: Add more definitions from Sun's latest version.
86
87 2001-07-23  Stephen L Moshier  <moshier@mediaone.net>
88
89         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Return proper
90         sign for 0 input and set divide by zero exception for -1 input.
91         Return argument if NaN or infinity.
92
93 2001-07-23  Andreas Jaeger  <aj@suse.de>
94
95         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add some deltas.
96
97 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
98
99         * iconv/gconv_cache.c (__gconv_lookup_cache): Select correct
100         module for conversion direction.
101
102 2001-07-23  Stephen L Moshier  <moshier@mediaone.net>
103
104         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Return proper
105         sign for 0 input.  Return NaN with no exception for NaN input.
106
107 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
108
109         * iconv/gconv_builtin.h: ISO-106464/UTF-8/ transformation must
110         really be an alias.
111
112 2001-07-23  Andreas Jaeger  <aj@suse.de>
113
114         * iconv/iconvconfig.c: Include <sys/cdefs.h> and use
115         __attribute_malloc__ for older GCC versions.
116         * iconv/strtab.c: Likewise.
117         Add prototypes to avoid warnings.
118
119 2001-07-22  Roland McGrath  <roland@frob.com>
120
121         * hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND
122         and SA_NODEFER options.  Spurred to action by Igor Khavkine.
123
124         * sysdeps/generic/bits/sigaction.h [__USE_UNIX98 || __USE_MISC]
125         (SA_NODEFER, SA_RESETHAND): New macros, same bit values as FreeBSD.
126         [__USE_MISC] (SA_INTERRUPT): New macro, value 0.
127         [__USE_MISC] (SA_NOMASK, SA_ONESHOT, SA_STACK): New macros, aliases
128         as in other sysdeps versions of this file.
129
130         * sysdeps/generic/bits/sigaction.h (struct sigaction): Use a union
131         and provide sa_handler and sa_sigaction member names as macros, as
132         done in other sysdeps versions of this file.
133         Suggested by Igor Khavkine <i_khavki@alcor.concordia.ca>.
134
135 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
136
137         * posix/regex.c: Revamp memory allocation for WCHAR functions to
138         not use too much stack.
139
140 2001-07-22  Ulrich Drepper  <drepper@redhat.com>
141
142         * iconv/iconvconfig.c (write_output): Update comment explaining
143         output format.
144
145         * elf/dl-load.c (_dl_dst_count): In SUID binaries expand $ORIGIN
146         if it is alone.
147         (_dl_dst_substitute): Likewise.
148
149         * iconv/iconvconfig.c: Remove --verbose option.  Comment out
150         mcheck_verbose call.
151
152         * iconv/strtab.c (morememory): Fix little memory handling problem.
153
154 2001-07-22  Andreas Schwab  <schwab@suse.de>
155
156         * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don't
157         mark asm input operand as clobbered.
158         * sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise.
159
160 2001-07-22  Ulrich Drepper  <drepper@redhat.com>
161
162         * iconv/gconv_builtin.c (struct builtin_map): Remove init and end
163         elements.
164         (BUILTIN_TRANSFORMATION): Remove Init and End parameters.
165         (__gconv_get_builtin_trans): Initialize __init_fct and __end_fct to
166         NULL.
167         * iconv/gconv_builtin.h: Remove NULL parameters for Init and End in
168         all BUILTIN_TRANSFORMATION calls.
169         * iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Remove Init and End
170         parameters.
171         * iconv/gconv_simple.c: Likewise.
172         * iconv/gconv_db.c (gen_steps): Internal converters don't have
173         initializers, move the code accordingly.
174
175         * iconv/gconv_conf.c (__gconv_read_conf): Don't read configuration
176         file if STATIC_GCONV is defined.
177
178         * iconv/gconv_conf.c (__gconv_path_envvar): New global variable.
179         (__gconv_get_path): Use it instead of call getenv.
180         (__gconv_read_conf): First see whether cache can be used.  If yes,
181         don't do any work here.
182         * iconv/gconv_db.c (__gconv_release_step): Renamed from release_step
183         and exported.  Change callers.
184         (__gconv_find_transform): First call __gconv_lookup_cache and only
185         continue if it signals no cache available.  Remove some unnecessary
186         tests.
187         * iconv/gconv_int.h: Declare __gconv_path_envvar, __gconv_lookup_cache,
188         __gconv_release_step, and __gconv_loaded_cache.
189         * iconv/gconv_cache.c: New file.
190         * iconv/iconvconfig.c: New file.
191         * iconv/iconvconfig.h: New file.
192         * iconv/strtab.c: New file.
193         * iconv/Makefile: Add rules to build new files and programs.
194
195 2001-07-20  Roland McGrath  <roland@frob.com>
196
197         * sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type
198         from `dev_t' (st_rdev value) `const struct stat *'.
199         * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Likewise.
200         * libio/filedoalloc.c (_IO_file_doallocate): Change caller.
201         * sysdeps/mach/hurd/device-nrs.h: New file.
202
203         * libio/stdio_ext.h: Moved to ...
204         * stdio-common/stdio_ext.h: ... here.
205         * libio/Makefile (headers): Move stdio_ext.h from here ...
206         * stdio-common/Makefile (headers): ... to here.
207         * include/stdio_ext.h: New file.
208         * stdio/Makefile (routines): Add the stdio_ext.h functions here.
209         * stdio/Versions (GLIBC_2.2.4): Export the stdio_ext.h functions.
210         * stdio/__flbf.c: New file.
211         * stdio/__fbufsize.c: New file.
212         * stdio/__fpending.c: New file.
213         * stdio/__fpurge.c: New file.
214         * stdio/__freadable.c: New file.
215         * stdio/__freading.c: New file.
216         * stdio/__fsetlocking.c: New file.
217         * stdio/__fwritable.c: New file.
218         * stdio/__fwriting.c: New file.
219
220 2001-07-20  Ulrich Drepper  <drepper@redhat.com>
221             Andreas Jaeger  <aj@suse.de>
222
223         * elf/ldconfig.c (search_dir): Avoid use of uninitialized memory.
224         Add a few __builtin_expect to mark unlikely error cases.
225
226 2001-07-20  Andreas Jaeger  <aj@suse.de>
227
228         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Synch with kernel.
229         Patch by Daniel Jacobowitz <dan@debian.org>.
230
231 2001-07-19  Ulrich Drepper  <drepper@redhat.com>
232
233         * intl/localealias.c: Remove unnecessary prototype.
234
235         * Makefile: Add html goal.
236         * manual/Makefile: Likewise.
237
238 2001-07-18  Ulrich Drepper  <drepper@redhat.com>
239
240         * libio/filedoalloc.c (_IO_file_doallocate): A few more minor
241         cleanups and improvements.
242
243 2001-07-18  Andreas Schwab  <schwab@suse.de>
244
245         * posix/regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
246         underscore character.
247
248 2001-07-18  Jakub Jelinek  <jakub@redhat.com>
249
250         * malloc/malloc (new_heap): Don't call munmap for zero length.
251
252 2001-07-18  Ulrich Drepper  <drepper@redhat.com>
253
254         * libio/filedoalloc.c (_IO_file_doallocate): Use DEV_TTY_P if
255         available to determine whether descriptor is for tty before
256         calling isatty.
257
258         * sysdeps/unix/sysv/linux/device-nrs.h: Define DEV_TTY_P.
259         * sysdeps/generic/device-nrs.h: Likewise.
260
261 2001-07-18  Andreas Jaeger  <aj@suse.de>
262
263         * time/Makefile (tst-getdate-ENV): Add TZDIR to environment.
264
265         * time/Depend: New, add dependency on timezone.
266
267         * time/tst-getdate.c: Add testcase for bug report by Hendrik
268         Uhlmann <HUhlmann@stn-atlas.de>.
269         * time/datemsk: Likewise.
270
271 2001-07-17  Ulrich Drepper  <drepper@redhat.com>
272
273         * elf/ldconfig.c (parse_conf): Disable implicit locking for the
274         stream.  Remove some unnecessary initializers.
275
276 2001-07-17  Andreas Jaeger  <aj@suse.de>
277
278         * elf/ldconfig.c: Add new variable hwcap_mask to honour LD_HWCAP_MASK.
279         (is_hwcap_platform): Use it.
280         (set_hwcap): New function to set hwcap_mask.
281         (main): Call set_hwcap.
282
283 2001-07-17  Jakub Jelinek  <jakub@redhat.com>
284
285         * time/getdate.c (__getdate_r): Initialize tm_isdst, tm_gmtoff and
286         tm_zone before calling strptime.
287
288 2001-07-17  Andreas Schwab  <schwab@suse.de>
289
290         * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Fix last change.
291
292 2001-07-17  Ulrich Drepper  <drepper@redhat.com>
293
294         * inet/rcmd.c (iruserfopen): Disable implicit locking for the stream.
295         * inet/ruserpass.c (ruserpass): Likewise.
296         * nss/nsswitch.c (nss_parse_file): Likewise.
297         * resolv/res_hconf.c (_res_hconf_init): Likewise.
298         * resolv/res_init.c (__res_vinit): Likewise.
299         * gmon/bb_exit_func.c (__bb_exit_func): Likewise.
300         * misc/getpass.c (getpass): Likewise.
301         * misc/getusershell.c (initshells): Likewise.
302         * misc/getttyent.c (setttyent): Likewise.
303         * misc/mntent_r.c (__setmntent): Likewise.
304         * time/getdate.c (__getdate_r): Likewise.
305         * time/tzfile.c (__tzfile_read): Likewise.
306         * iconv/gconv_conf.c (read_conf_file): Likewise.
307         * intl/localealias.c (read_alias_file): Disable implicit locking
308         for the stream.  Use _unlocked functions for glibc.
309         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Disable
310         implicit locking for the stream.
311         (__get_nprocs_conf): Likewise.
312         (phys_pages_info): Likewise.
313
314 2001-07-16  Ulrich Drepper  <drepper@redhat.com>
315
316         * nscd/connections.c: Print messages caused by user application
317         only if debug_level > 0.  Add little performance improvements.
318         Use TEMP_FAILURE_RETRY around write calls.
319         * nscd/grpcache.c: Likewise.
320         * nscd/hstcache.c: Likewise.
321         * nscd/pwdcache.c: Likewise.
322
323 2001-07-13  H.J. Lu  <hjl@gnu.org>
324
325         * sysdeps/mips/dl-machine.h (MAP_BASE_ADDR): Removed.
326         (elf_machine_got_rel): Defined only if RTLD_BOOTSTRAP is not defined.
327         (RESOLVE_GOTSYM): Rewrite to use RESOLVE.
328
329         * sysdeps/mips/rtld-ldscript.in: Removed.
330         * sysdeps/mips/rtld-parms: Likewise.
331         * sysdeps/mips/mips64/rtld-parms: Likewise.
332         * sysdeps/mips/mipsel/rtld-parms: Likewise.
333
334 2001-07-16  Ulrich Drepper  <drepper@redhat.com>
335
336         * catgets/test-gencat.sh: Use <<"EOF" instead of <<EOF to prevent
337         substitution in here document.
338
339 2001-07-16  Andreas Schwab  <schwab@suse.de>
340
341         * sysdeps/posix/spawni.c: Fix typo when iterating over signal numbers.
342
343 2001-07-16  Andreas Schwab  <schwab@suse.de>
344
345         * math/libm-test.inc (check_float_internal): Fix sign bit test of
346         infinities.
347
348 2001-07-16  Jakub Jelinek  <jakub@redhat.com>
349
350         * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Make it PIC friendly.
351
352 2001-07-15  Ulrich Drepper  <drepper@redhat.com>
353
354         * malloc/obstack.c: Define __attribute__ for non-gcc compilers.
355         Patch by Jim Meyering <jim@meyering.net>.
356
357 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
358
359         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder
360         fields in the sigaction struct to match the definition in the kernel.
361
362 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
363
364         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the
365         test for ENOSYS.
366
367 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
368
369         * sysdeps/s390/s390-32/bits/setjmp.h: Add leading underscores
370         to the entries in the __jmp_buf structure.
371         * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
372
373 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
374
375         * sysdeps/s390/s390-32/bcopy.S: Use mvcle for big blocks
376         (> 64K) and a mvc loop for small blocks.
377         * sysdeps/s390/s390-32/memcpy.S: Likewise.
378         * sysdeps/s390/s390-64/bcopy.S: Likewise.
379         * sysdeps/s390/s390-64/memcpy.S: Likewise.
380
381 2001-07-15  Andreas Schwab  <schwab@suse.de>
382
383         * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: New file.
384         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: New file.
385
386         * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Check _dl_pagesize
387         first.  Default to 4096, not EXEC_PAGESIZE.
388
389         * iconv/loop.c (put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]:
390         Fix index.
391
392 2001-07-09  Andreas Jaeger  <aj@suse.de>
393
394         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2.
395
396         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM,
397         HWCAP_I386_XMM2 to enum.
398
399 2001-07-13  Andreas Jaeger  <aj@suse.de>
400
401         * libio/fileops.c: Include unistd.h for lseek64 prototype.  Closes
402         PR libc/2372.
403
404 2001-07-12  Ulrich Drepper  <drepper@redhat.com>
405
406         * Makeconfig: Add some more changes to handle AIX linker better.
407
408 2001-07-12  H.J. Lu  <hjl@gnu.org>
409
410         * sysdeps/generic/segfault.c: Include <errno.h>.
411
412 2001-07-01  Andreas Jaeger  <aj@suse.de>
413
414         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate
415         sbrk.  Closes PR libc/2312.
416
417 2001-07-01  Andreas Jaeger  <aj@suse.de>
418
419         * sysdeps/generic/segfault.c (install_handler): Handle case that
420         the output file does not exists.  Closes PR libc/2345.
421
422 2001-07-11  Ulrich Drepper  <drepper@redhat.com>
423
424         * intl/locale.alias: Use he language code for hebrew, not il
425         [PR libc/2382].
426
427 2001-07-11  Jakub Jelinek  <jakub@redhat.com>
428
429         * iconv/gconv_int.h: Fix comment typo.
430
431 2001-07-11  Igor Khavkine  <i_khavki@alcor.concordia.ca>
432
433         * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.
434
435 2001-07-07  Roland McGrath  <roland@frob.com>
436
437         * hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0.
438
439 2001-07-10  Stephen L Moshier  <moshier@mediaone.net>
440
441         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl):  Fix
442         backwards conditional in test for x == 1.0.
443
444 2001-07-10  Andreas Jaeger  <aj@suse.de>
445
446         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh
447         (-0.7).
448
449 2001-07-09  Andreas Jaeger  <aj@suse.de>
450
451         * sysdeps/unix/sysv/linux/configure.in: Revert patch from
452         2001-07-05 for sysconfdir handling.
453         * config.make.in (sysconfdir): Likewise.
454         * configure.in: Likewise.
455
456         * configure.in: Always assign libc_cv_sysconfdir.
457
458 2001-07-08  Ulrich Drepper  <drepper@redhat.com>
459
460         * Makerules [AIX] (build-shlib-helper): Precede linker options
461         with -Wl.
462
463         * Makeconfig (config-LDFLAGS): Add ld.so only for ELF.
464
465         * sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to
466         what we define in <stdio.h>.
467
468         * iconv/iconv_prog.c (main): Don't unconditionally define
469         variables only use if _POSIX_MAPPED_FILES is defined.
470
471         * sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type.
472         * sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.
473
474         * sysdeps/unix/sysv/aix/recv.c: New file.
475
476         * sysdeps/unix/sysv/aix/recvfrom.c: Fix various types.
477
478 2001-07-07  Ulrich Drepper  <drepper@redhat.com>
479
480         * sysdeps/generic/recv.c: Fix return type.
481
482         * sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo.
483
484         * sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add
485         declarations for asm functions.
486
487         * include/libc-symbols.h: Provide more dummy definitions for the
488         case if GNU ld isn't used.
489
490         * libio/freopen.c: Include <stdlib.h> for free declaration.
491         * libio/freopen64.c: Likewise.
492
493         * sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
494
495 2001-07-06  Jakub Jelinek  <jakub@redhat.com>
496
497         * sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm
498         explicitly into .text section.
499
500 2001-04-16  Jes Sorensen  <jes@linuxcare.com>
501
502         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
503         Add 16 longwords reserved for future use to match changes in the
504         kernel.
505
506 2001-07-03  Jes Sorensen  <jes@trained-monkey.org>
507
508         * sysdeps/ia64/strncpy.S: Call strnlen() when determining the
509         string length rather than strlen(). Solves the performance problem
510         of doing strlen on a 5MB string when strncpy was called with a
511         length argument of 5 bytes.
512
513 2001-07-02  Jakub Jelinek  <jakub@redhat.com>
514
515         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
516         R_SPARC_UA16 and R_SPARC_UA32.
517         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
518
519 2001-07-01  Stephen L Moshier  <moshier@mediaone.net>
520
521         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl):
522         acosh(x) = ln(2x) if x > 2^30.
523         * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
524         acosh(x) = ln(2x) if x > 2^54.
525
526 2001-07-07  Mark Kettenis  <kettenis@gnu.org>
527
528         * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal):
529         Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and
530         KERN_WRITE_PROTECTION_FAILURE.
531
532 2001-07-07  Ulrich Drepper  <drepper@redhat.com>
533
534         * posix/regex.c: Limit string length printed in debug messages to
535         100 chars.
536
537         * configure.in: Don't warn about versioning if not on ELF system.
538
539 2001-07-07  Andreas Jaeger  <aj@suse.de>
540
541         * sysdeps/*: Put files from GNU MP Library under LGPL v2.1.
542
543 2001-07-06  Ulrich Drepper  <drepper@redhat.com>
544
545         * po/gl.po: Update from translation team.
546
547 2001-07-06  Andreas Jaeger  <aj@suse.de>
548
549         * sysdeps/unix/sysv/linux/configure.in: Fix handling of
550         sysconfdir.
551
552         * manual/libc-texinfo.sh: Add note for the FDL.
553
554         * manual/argp.texi (Argp Example 4): Fix texinfo warning.
555
556         * manual/libc.texinfo: Regenerated.
557
558         * manual/fdl.texi: Fix node.
559
560         * config.make.in (sysconfdir): Replace correctly.
561         Closes PR libc/2369, reported by Peter Simons <simons@cryp.to>.
562
563         * sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no
564         longer needed.
565
566         * sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add
567         case for alpha.
568         Rework handling of missing linuxthreads add-on.
569
570         * configure.in: Remove unused sysconfdir substitution.
571
572         * manual/Makefile (texis): Add fdl.texi.
573         * manual/fdl.texi: New.
574         * manual/socket.texi (Host Names): Improve grammar, fix overflow hbox.
575         * manual/libc.texinfo: Add fdl, update titlepage.
576         Patches by Brian Youmans <3diff@gnu.org>.
577
578         * sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for
579         generated file.
580
581 2001-07-06  Paul Eggert  <eggert@twinsun.com>
582
583         * manual/argp.texi: Remove ignored LGPL copyright notice; it's
584         not appropriate for documentation anyway.
585         * manual/libc-texinfo.sh: "Library General Public License" ->
586         "Lesser General Public License".
587         * COPYING: Fix Y2k bug in sample copyright notices.
588         * manual/lesser.texi: Renamed from manual/lgpl.texinfo,
589         as fsf.org uses the name "lesser.texi".
590         * manual/Makefile (texis): Follow rename.
591
592 2001-07-06  Andreas Jaeger  <aj@suse.de>
593
594         * All files under GPL/LGPL version 2: Place under LGPL version
595         2.1.
596
597 2001-07-05  Andreas Jaeger  <aj@suse.de>
598
599         Synch with Linux 2.4.6:
600         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
601         New.
602         (AF_BLUETOOTH): New.
603
604         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
605         (PF_BLUETOOTH): New.
606         (AF_BLUETOOTH): New.
607
608         * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
609         (PF_BLUETOOTH): New.
610
611         * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
612         (PF_BLUETOOTH): New.
613
614         * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
615         (AF_BLUETOOTH): New.
616
617         * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
618         (AF_BLUETOOTH): New.
619
620         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.
621
622         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.
623
624         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.
625
626         * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
627
628 2001-07-04  Roland McGrath  <roland@frob.com>
629
630         * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
631         wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
632         rather than doing a mach_port_insert_right call first.
633
634 2001-06-26  Roland McGrath  <roland@frob.com>
635
636         * hurd/hurdioctl.c: Include <string.h> for memcpy decl.
637
638 2001-07-03  Andreas Jaeger  <aj@suse.de>
639
640         * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for
641         crypt add-on.
642
643 2001-07-01  Mark Kettenis  <kettenis@gnu.org>
644
645         * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
646         the Hurd pfinet server, using equivalent code from the Linux
647         version in sysdeps/unix/sysv/linux/if_index.c. In detail:
648         Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
649         <hurd/pfinet.h>.  Don't include <sys/mman.h> and <hurd/fsys.h>
650         anymore.
651         (if_nametoindex): New implementation using SIOCGIFINDEX.
652         (if_freenameindex): Straight copy of the Linux version.
653         (if_nameindex): New implementation based on pfinet_siocgifconf and
654         SIOCGIFINDEX.
655         (if_indextoname): New implementation using SIOCGIFNAME.
656         (map_interfaces): Function removed.
657         From Marcus Brinkmann <marcus@gnu.org>.
658
659 2001-06-30  Jakub Jelinek  <jakub@redhat.com>
660
661         * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
662         gaps below main executable.
663
664 2001-06-19  Andreas Jaeger  <aj@suse.de>
665
666         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
667         Handle profiling.
668
669 2001-06-29  Andreas Jaeger  <aj@suse.de>
670
671         * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
672         Patch by Stephen L Moshier <moshier@mediaone.net>.
673
674 2001-06-28  Ulrich Drepper  <drepper@redhat.com>
675
676         * manual/argp.texi: Tons of cleanups.
677         Patch by Clifford U. Smith <cuel@swbell.net>.
678
679 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
680
681         * manual/users.texi (Setting Groups): Correct initgroups
682         documentation.  Add documentation for getgrouplist.
683
684 2001-06-28  H.J. Lu  <hjl@gnu.org>
685
686         * locale/findlocale.c (locale_file_list): Renamed to ...
687         (_nl_locale_file_list): This.  Make it extern.
688         (free_mem): Move to ...
689         * locale/setlocale.c (free_mem): Here.
690
691 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
692
693         * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
694         (__libc_read): Don't call __pread.  Use _hurd_fd_read directly
695         instead.
696         * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
697         (__libc_write): Don't call __pwrite.  Use _hurd_fd_write directly
698         instead.
699
700         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
701         -Wl,-soname option lost in 2001-06-16 change.
702
703 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
704
705         * posix/tst-regex.c: Pass REG_NEWLINE to regcomp.  Add extra tests.
706         Restrict printing of string in debug mode to 100 characters to make
707         the output useful for long input texts.
708
709         * posix/Makefile: Add rules to build and run tst-regex.
710
711 2001-06-20  Isamu Hasegawa  <isamu@yamato.ibm.com>
712
713         * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
714         (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
715         (wcs_re_match_2_internal): Check whether the wcs buffers need
716         seting up or not, and skip seting up routin if not needed.
717
718 2001-06-26  Isamu Hasegawa  <isamu@yamato.ibm.com>
719
720         * posix/regex.c (count_mbs_length): Use binary search for optimization.
721
722 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
723
724         * posix/tst-regex.c: Fix several bugs.  Add more tests.
725
726 2001-06-26  Mark Kettenis  <kettenis@gnu.org>
727
728         * hurd/Makefile (user-interfaces): Add pfinet.
729         * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
730         <netinet/in.h>.
731         (siocgifconf): New function.  Register it with HURD_HANDLE_IOCTL
732         as the handler for SIOCGIFCONF.
733         * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
734         SIOCGIFFLAGS to be of IOC type ifreq_short.  Modify SIOCSIFMETRIC
735         and SIOCGIFMETRIC to be of IOC type ifreq_int.  Add new macro
736         definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
737         SIOCGIFNAME.
738         From Marcus Brunkmann <marcus@gnu.org>.
739
740 2001-06-25  Ulrich Drepper  <drepper@redhat.com>
741
742         * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
743         and _IOT_ifreq_int.  Patch by Mark Kettenis <kettenis@wins.uva.nl>.
744
745         * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
746         _dl_catch_error calls.
747
748 2001-06-22  Jakub Jelinek  <jakub@redhat.com>
749
750         * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
751         typos.
752
753 2001-06-01  Wolfram Gloger  <wg@malloc.de>
754
755         * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
756         ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
757         when malloc_atfork is in use.
758
759 2001-06-22  Andreas Jaeger  <aj@suse.de>
760
761         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
762         to avoid warnings.
763
764         * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
765         variable.
766         Add unused attributes to avoid warnings.
767
768         * elf/reldep4mod4.c: Add prototype to avoid warning.
769         * elf/reldep4mod2.c: Likewise.
770
771         * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
772         prototypes.
773
774 2001-06-18  Roland McGrath  <roland@frob.com>
775
776         * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
777
778 2001-06-20  Alexandre Oliva  <aoliva@redhat.com>
779
780         * sysdeps/unix/sysv/settimeofday.c: Include time.h.
781
782 2001-06-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
783
784         * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
785
786 2001-05-09  Michael Keezer  <mkeezer@redhat.com>
787
788         * Makeconfig: Added AIX-ld support for DSO.
789         * Makerules: Likewise.
790         * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
791         (defaultmod2.so): Likewise.
792         * debug/Makefile: Conditionalize use of elf/ld.so.
793         * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
794
795         * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
796         * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
797         (f/g)prrest(0/1) static only.
798         * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
799         * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
800         shared.
801         * sysdeps/unix/sysv/aix/setitimer.c: New file.
802         * sysdeps/unix/sysv/aix/sleep.c: New file.
803         * sysdeps/unix/sysv/aix/usleep.c: New file.
804         * sysdeps/unix/sysv/aix/dl-addr.c: New file.
805         * sysdeps/unix/sysv/aix/dl-error.c: New file.
806         * sysdeps/unix/sysv/aix/dl-support.c: New file.
807         * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
808
809 2001-06-19  Ulrich Drepper  <drepper@redhat.com>
810
811         * po/es.po: Update from translation team.
812
813 2001-06-19  Andreas Jaeger  <aj@suse.de>
814
815         * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
816
817         * math/libm-test.inc (tanh_test): Test for 2^-56.
818
819         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
820         equals argument when x < 2^-55.
821         Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
822
823 2001-06-17  Alan Modra  <amodra@bigpond.net.au>
824
825         * sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs
826         at unaligned address.
827
828 2001-06-18  Ulrich Drepper  <drepper@redhat.com>
829
830         * posix/regex.c: Reorganize code to build code twice, once for single
831         byte, once for multi-byte charsets.  Choose function set adequate for
832         locale at runtime.
833         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
834
835         * po/nl.po: Update from translation team.
836
837 2001-06-09  Bruno Haible  <haible@clisp.cons.org>
838
839         * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
840         (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
841         * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
842
843 2001-05-26  Bruno Haible  <haible@clisp.cons.org>
844
845         * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
846         * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
847
848 2001-06-17  Roland McGrath  <roland@frob.com>
849
850         * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
851         not LIO_READ + 1 (which is the value of LIO_WRITE!).
852
853         * Makerules (build-module-helper-objlist): New variable,
854         broken out of build-module.  Insert --whole-archive/--no-whole-archive
855         immediately each *_pic.a file in the link object list.
856         (whole-archive): New variable, used by that.
857         (build-module-objlist): New variable using build-module-helper-objlist.
858         (build-module, build-module-helper): Use it.
859         (build-shlib-objlist): New variable using build-module-helper-objlist.
860         (build-shlib): Use that.
861         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
862
863         * posix/spawni.c: Moved to ...
864         * sysdeps/posix/spawni.c: ... here.
865         * sysdeps/generic/spawni.c: New file.
866
867 2001-06-16  Roland McGrath  <roland@frob.com>
868
869         * hurd/Makefile (routines): Add lookup-retry.
870         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
871         * hurd/lookup-retry.c: ... into here, new file.
872         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
873         using of duplicate code here.
874
875         * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
876
877 2001-06-17  Ulrich Drepper  <drepper@redhat.com>
878
879         * po/ja.po: Update from translation team.
880
881 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
882
883         * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
884         compare_files): New functions.
885         (write_locale_data): Use xmalloc.  Compare the file with the locale
886         data files for the same category in other locales, and reuse it if
887         possible and safe.
888
889 2001-06-07  Mark Kettenis  <kettenis@gnu.org>
890
891         * grp/initgroups.c (initgroups): Factor out re-usable code into...
892         (internal_getgrouplist): ... new function.
893         (getgrouplist): New function.
894         * grp/grp.h (getgrouplist): New prototype.
895         * grp/Versions [2.2.4]: Add getgrouplist.
896
897 2001-06-16  Ulrich Drepper  <drepper@redhat.com>
898
899         * inet/netinet/ip6.h: Fix comments in ip6_hdr.
900         Patch by Pekka Savola <pekkas@netcore.fi>.
901
902 2001-06-15  Roland McGrath  <roland@frob.com>
903
904         * rt/Makefile (aio-routines, clock-routines, timer-routines): New
905         variables, broken out of librt-routines.
906         (librt-routines): Set using those.
907         (extra-libs, extra-libc-others, tests): Set these unconditionally.
908         (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
909         * sysdeps/generic/aio_fsync.c: New file.
910         * sysdeps/generic/aio_misc.c: New file.
911         * sysdeps/generic/aio_write.c: New file.
912         * sysdeps/generic/aio_write64.c: New file.
913         * sysdeps/generic/aio_read64.c: New file.
914         * sysdeps/generic/aio_read.c: New file.
915         * sysdeps/generic/aio_notify.c: New file.
916         * sysdeps/generic/lio_listio64.c: New file.
917         * sysdeps/generic/lio_listio.c: New file.
918         * sysdeps/generic/aio_cancel.c: New file.
919         * sysdeps/generic/aio_misc.h: New file.
920         * sysdeps/generic/aio_suspend.c: New file.
921         * rt/aio_cancel.c: Moved to ...
922         * sysdeps/pthread/aio_cancel.c: ... here.
923         * rt/aio_fsync.c: Moved to ...
924         * sysdeps/pthread/aio_fsync.c: ... here.
925         * rt/aio_misc.c: Moved to ...
926         * sysdeps/pthread/aio_misc.c: ... here.
927         * rt/aio_misc.h: Moved to ...
928         * sysdeps/pthread/aio_misc.h: ... here.
929         * rt/aio_notify.c: Moved to ...
930         * sysdeps/pthread/aio_notify.c: ... here.
931         * rt/aio_read.c: Moved to ...
932         * sysdeps/pthread/aio_read.c: ... here.
933         * rt/aio_read64.c: Moved to ...
934         * sysdeps/pthread/aio_read64.c: ... here.
935         * rt/aio_suspend.c: Moved to ...
936         * sysdeps/pthread/aio_suspend.c: ... here.
937         * rt/aio_write.c: Moved to ...
938         * sysdeps/pthread/aio_write.c: ... here.
939         * rt/aio_write64.c: Moved to ...
940         * sysdeps/pthread/aio_write64.c: ... here.
941         * rt/lio_listio.c: Moved to ...
942         * sysdeps/pthread/lio_listio.c: ... here.
943         * rt/lio_listio64.c: Moved to ...
944         * sysdeps/pthread/lio_listio64.c: ... here.
945
946 2001-06-14  Roland McGrath  <roland@frob.com>
947
948         * configure.in: Let sysdeps Implies files in add-ons bring in
949         sysdeps directories from the main source and other add-ons too.
950
951 2001-06-15  Jakub Jelinek  <jakub@redhat.com>
952
953         * math/test-misc.c (main): Add tests for nextafter and nexttoward
954         with +-Inf as second argument.
955
956         * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
957         NaN, not Inf.
958         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
959         * sysdeps/i386/fpu/s_nexttoward.c: New.
960         * sysdeps/i386/fpu/s_nexttowardf.c: New.
961         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
962         check for NaN, optimize x==+-0 handling.
963         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
964         * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
965         check for NaN, fix sign in x==+-0 case.
966         * sysdeps/ia64/fpu/s_nexttoward.c: New.
967         * sysdeps/ia64/fpu/s_nexttowardf.c: New.
968
969 2001-06-15  H.J. Lu  <hjl@gnu.org>
970
971         * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
972         * rt/tst-aio3.c (do_test): Likewise.
973         * rt/tst-aio4.c (do_test): Likewise.
974         * rt/tst-aio5.c (do_test): Likewise.
975         * rt/tst-aio6.c (do_test): Likewise.
976
977 2001-06-15  Andreas Schwab  <schwab@suse.de>
978
979         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
980         * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
981
982 2001-06-15  Andreas Jaeger  <aj@suse.de>
983
984         * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
985
986 2001-06-14  Andreas Schwab  <schwab@suse.de>
987
988         * elf/ldconfig.c (search_dir): Fix check for regular file.
989
990         * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
991         * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
992
993 2001-06-14  Roland McGrath  <roland@frob.com>
994
995         * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
996         (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
997
998 2001-06-13  Roland McGrath  <roland@frob.com>
999
1000         * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
1001
1002         * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
1003         so the label is not considered unused.
1004
1005         * sysdeps/mach/hurd/pwrite64.c: New file.
1006         * sysdeps/mach/hurd/pread64.c: New file.
1007
1008         * sysdeps/mach/hurd/pread.c
1009         (__libc_pread): Define this name, with __pread as an alias.
1010         * sysdeps/mach/hurd/pwrite.c
1011         (__libc_pwrite): Define this name, with __pwrite as an alias.
1012
1013         Implement POSIX "shared memory objects" as regular
1014         files residing in the /var/run/shm/ directory.
1015         This works on any system that supports _POSIX_MAPPED_FILES,
1016         to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
1017         * sysdeps/posix/shm_open.c: New file.
1018         * sysdeps/posix/shm_unlink.c: New file.
1019         * sysdeps/mach/hurd/bits/posix_opt.h
1020         (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
1021
1022         * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
1023         Use raise instead of __aio_sigqueue.
1024
1025         * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
1026         * sysdeps/mach/hurd/pwrite.c: Likewise.
1027
1028         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
1029         [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
1030         as default version set.
1031
1032 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
1033
1034         * libio/iolibio.h (_IO_freopen): Correct last parameter to
1035         _IO_file_open.
1036         (_IO_freopen64): Likewise.
1037         Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
1038
1039         * elf/elf.h: Add a few more EM_* constants.
1040
1041 2001-06-12  Bruno Haible  <haible@clisp.cons.org>
1042
1043         * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
1044
1045 2001-06-09  Ben Collins  <bcollins@debian.org>
1046
1047         * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
1048         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1049         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1050         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1051         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1052         * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
1053         hardcoded B400000.
1054
1055 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
1056
1057         * time/sys/time.h: Don't use enum __itimer_which ever for
1058         __itimer_which_t for C++.
1059         Reported by Martin Buchholz <martin@xemacs.org>.
1060
1061         * po/fr.po: Update from translation team.
1062
1063 2001-06-12  H.J. Lu  <hjl@gnu.org>
1064
1065         * configure.in: Fix typos in missing program names.
1066         * configure: Regenerated.
1067
1068 2001-06-12  Andreas Jaeger  <aj@suse.de>
1069
1070         * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
1071
1072         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1073
1074 2001-06-11  Andreas Jaeger  <aj@suse.de>
1075
1076         * sysdeps/ieee754/ldbl-128/e_coshl.c: New file.  Contributed by
1077         Stephen L Moshier <moshier@mediaone.net>.
1078
1079         * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
1080
1081         * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1082         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1083
1084 2001-06-11  Michael Deutschmann  <michael@talamasca.ocis.net>
1085
1086         * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
1087         Use my_signo instead of MY_SIGNO and initialize it so that the
1088         used signal is always available.
1089
1090 2001-06-11  Andreas Jaeger  <aj@suse.de>,
1091             Michael Deutschmann  <michael@talamasca.ocis.net>
1092
1093         * io/test-lfs.c (do_prepare): Clean up error messages.
1094         (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
1095         (do_test): Likewise.
1096
1097 2001-06-11  Andreas Jaeger  <aj@suse.de>
1098
1099         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
1100         IMAXBEL): Make always visible since they're needed by POSIX.
1101         Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
1102
1103 2001-06-10  Ben Collins  <bcollins@debian.org>
1104
1105         * sysdeps/arm/elf/start.S: Use #function, not @function, for
1106         .type of _start.
1107
1108         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
1109         INT_MAX.
1110
1111 2001-06-07  H.J. Lu  <hjl@gnu.org>
1112
1113         * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
1114
1115 2001-06-10  Roland McGrath  <roland@frob.com>
1116
1117         * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
1118         * elf/reldep4mod4.c: Likewise.
1119
1120 2001-06-10  Mark Kettenis  <kettenis@gnu.org>
1121
1122         * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
1123
1124 2001-06-08  Andreas Schwab  <schwab@suse.de>
1125
1126         * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
1127         Don't dereference at end of string.
1128
1129 2001-06-06  Roland McGrath  <roland@frob.com>
1130
1131         * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
1132         From Robert Bihlmeyer <robbe@orcus.priv.at>.
1133
1134 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1135
1136         * po/ko.po: Update from translation team.
1137
1138 2001-06-06  Andreas Jaeger  <aj@suse.de>
1139
1140         * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
1141         offset+length-1.
1142         Reported by Robert Bernecky <bernecky@acm.org>.
1143
1144 2001-06-06  Jakub Jelinek  <jakub@redhat.com>
1145
1146         * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
1147         * sysdeps/ia64/elf/start.S: Likewise.
1148         * sysdeps/sh/elf/start.S: Likewise.
1149         * sysdeps/s390/s390-32/elf/start.S: Likewise.
1150         * sysdeps/s390/s390-64/elf/start.S: Likewise.
1151
1152 2001-06-05  Matthew Wilcox  <willy@ldl.fc.hp.com>
1153
1154         * sysdeps/hppa/bsd-_setjmp.S: New.
1155         * sysdeps/hppa/bsd-setjmp.S: New.
1156
1157         * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
1158         gcc warnings about multi-line strings.
1159
1160         * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
1161         * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
1162
1163         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
1164         setrlimit directly instead of using wrappers.
1165
1166 2001-05-01  Richard Hirst  <rhirst@linuxcare.com>
1167
1168         * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
1169         * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
1170
1171 2001-06-05  Philipp Thomas  <pthomas@suse.de>
1172
1173         * nis/nis_call.c (__nisbind_connect): Don't mark for translation
1174         what can't be translated.
1175
1176 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1177
1178         * timezone/zic.c: Update from tzcode2001c.
1179         * timezone/private.h: Likewise.
1180         * timezone/africa: Update from tzdata2001c.
1181         * timezone/asia: Likewise.
1182         * timezone/europe: Likewise.
1183         * timezone/northamerica: Likewise.
1184         * timezone/southamerica: Likewise.
1185         * timezone/zone.tab: Likewise.
1186
1187 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
1188
1189         * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
1190         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
1191         UNICODE_TAG_HANDLER.
1192         (__gconv_transform_internal_ucs2): Likewise.
1193         (__gconv_transform_internal_ucs2reverse): Likewise.
1194         * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
1195         * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
1196         * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
1197         * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
1198         * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
1199         * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
1200         * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
1201         * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
1202         * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
1203         * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
1204         * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
1205         * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
1206         * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
1207         * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
1208         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1209         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1210         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1211         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1212         * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
1213         * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
1214         * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
1215         * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
1216         * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
1217         * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
1218         * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
1219         * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
1220         * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
1221         * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
1222         * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
1223         * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
1224         * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
1225         * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
1226         TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
1227         TAG_language_zh, CURRENT_TAG_MASK): New enum values.
1228         (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
1229         is already selected but set2 or tag are set.
1230         (conversion): New enum type.
1231         (cvlist_t): New type.
1232         (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
1233         (conversion_lists): New array.
1234         (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag.  If "ja",
1235         prefer conversion to Japanese character sets.  If "zh", prefer
1236         conversion to GB2312.  If "ko", prefer conversion to KSC5601.  Small
1237         optimizations.
1238         (INIT_PARAMS): Add tag.
1239         (UPDATE_PARAMS): Add tag.
1240
1241 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
1242
1243         * locale/programs/locfile.c (write_locale_data): Before creat(),
1244         unlink the file, to avoid crashing the processes that mmap it.  Change
1245         a double slash to a single slash.  Free fname in case of error return.
1246
1247 2001-06-02  Jakub Jelinek  <jakub@redhat.com>
1248
1249         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
1250         changes, do the special handling for denormal numbers, not for
1251         normalized numbers (patch by <trevin@xmission.com>).
1252
1253         * math/test-misc.c (main): Test frexpl with denormal arguments.
1254
1255 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1256
1257         * math/libm-test.inc (llround_test): Add two new llround tests.
1258         * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
1259         overflow when rounding away from zero.
1260
1261 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1262
1263         * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
1264         * math/math_private.h (__ieee754_log2, __ieee754_log2f,
1265         __ieee754_log2l): New prototypes.
1266         * sysdeps/generic/w_log2.c: New file.
1267         * sysdeps/generic/w_log2f.c: New file.
1268         * sysdeps/generic/w_log2l.c: New file.
1269         * sysdeps/generic/s_log2l.c: Move...
1270         * sysdeps/generic/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
1271         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
1272         and log2(x < 0).
1273         * sysdeps/i386/fpu/s_log2.S: Move...
1274         * sysdeps/i386/fpu/e_log2.S: ...to here.  Rename to __ieee754_log2.
1275         * sysdeps/i386/fpu/s_log2f.S: Move...
1276         * sysdeps/i386/fpu/e_log2f.S: ...to here.  Rename to __ieee754_log2f.
1277         * sysdeps/i386/fpu/s_log2l.S: Move...
1278         * sysdeps/i386/fpu/e_log2l.S: ...to here.  Rename to __ieee754_log2l.
1279         * sysdeps/m68k/fpu/s_log2.c: Move...
1280         * sysdeps/m68k/fpu/e_log2.c: ...to here.  Rename to __ieee754_log2.
1281         * sysdeps/m68k/fpu/s_log2f.c: Move...
1282         * sysdeps/m68k/fpu/e_log2f.c: ...to here.  Rename to __ieee754_log2f.
1283         * sysdeps/m68k/fpu/s_log2l.c: Move...
1284         * sysdeps/m68k/fpu/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
1285         * sysdeps/ieee754/dbl-64/s_log2.c: Move...
1286         * sysdeps/ieee754/dbl-64/e_log2.c: ...to here.  Rename to
1287         __ieee754_log2.
1288         * sysdeps/ieee754/flt-32/s_log2f.c: Move...
1289         * sysdeps/ieee754/flt-32/e_log2f.c: ...to here.  Rename to
1290         __ieee754_log2f.
1291
1292 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1293
1294         * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
1295         even arguments which result in denormalized exp2 are accepted.
1296         (__exp2): Arguments equal to u_threshold already result into
1297         underflow.
1298         * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
1299         * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
1300         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
1301         low, with corrected lowmark use greaterequal, not greater.
1302         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1303
1304 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1305
1306         * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
1307         * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
1308         * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
1309         * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
1310         * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
1311         * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
1312         * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
1313         * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
1314
1315 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1316
1317         * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
1318         gave non-finite result instead of using constant in generic
1319         version.
1320         * sysdeps/generic/w_coshf.c (__coshf): Likewise.
1321         * sysdeps/generic/w_cosh.c (__cosh): Likewise.
1322         * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
1323         (__exp10): Test if finite argument gave non-finite result.
1324         * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
1325         Likewise.
1326         * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
1327         Likewise.
1328
1329 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1330
1331         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
1332         overflow threshold constant (log(LDBL_MAX)+M_LN2l).
1333
1334 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1335
1336         * locale/programs/ld-ctype.c (idx_table): New struct type.
1337         (idx_table_init, idx_table_get, idx_table_add): New functions.
1338         (MAX_CHARNAMES_IDX): Remove macro.
1339         (locale_ctype_t): Change type of charnames_idx field.
1340         (ctype_startup): Change initialization of charnames_idx field.
1341         (find_idx): Use idx_table_get and idx_table_add for speed.
1342
1343         * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
1344         computation of characters in a range.
1345
1346 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1347
1348         * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
1349         <U03F5>.
1350         (__ucs_to_gb18030_tab1): Likewise.
1351         (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
1352         (BODY for TO_LOOP): Likewise.
1353         * iconvdata/tst-table-charmap.sh: Update for charmaps containing
1354         <U00xxxxxx> syntax.
1355         * iconvdata/tst-table-from.c (bmp_only): New variable.
1356         (utf8_decode): If bmp_only, don't return characters outside Unicode
1357         plane 0.
1358         (main): When testing UTF-8 or GB18030, set bmp_only to 1.  Don't print
1359         a conversion line if utf8_decode returns NULL.
1360         * iconvdata/tst-table-to.c (main): When testing encodings other than
1361         UTF-8 and GB18030, loop upto U+30000 instead of U+10000.  Use UTF-8
1362         instead of UCS-2 as input.
1363         * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
1364         of the charmap.
1365
1366 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1367
1368         * iconvdata/cns11643l1.c: Update to Unicode 3.1.
1369         (__cns11643l1_to_ucs4_tab): Regenerated.
1370         (__cns11643l1_from_ucs4_tab12): Regenerated.
1371         * iconvdata/cns11643.c: Update to Unicode 3.1.
1372         (__cns11643l14_to_ucs4_tab): Remove array.
1373         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
1374         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
1375         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
1376         (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
1377         (__cns11643_from_ucs4p2_tab): New array.
1378         * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
1379         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
1380         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
1381         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
1382         (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
1383         (__cns11643_from_ucs4_tab): Remove declaration.
1384         (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
1385         declarations.
1386         (ucs4_to_cns11643): Update for new arrays.  Treat U+3400..U+4DFF and
1387         U+20000..U+2A6D6.
1388         * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
1389         declaration.
1390         (__cns11643_from_ucs4p0_tab): New declaration.
1391         (ucs4_to_cns11643l2): Update for new arrays.
1392         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
1393         3 to 7.
1394         (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
1395         * iconvdata/EUC-TW.irreversible: New file.
1396         * iconvdata/tst-table.sh: Use it.
1397         * iconvdata/Makefile (distribute): Add CP1255.irreversible,
1398         CP1258.irreversible, EUC-TW.irreversible.
1399
1400 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1401
1402         * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
1403         mathematical symbols.
1404
1405 2001-06-05  Andreas Jaeger  <aj@suse.de>
1406
1407         * manual/stdio.texi (Portable Positioning): Fix description of
1408         fpos_t and fpos64_t.
1409
1410 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1411
1412         * sysdeps/generic/wordexp.c: Undo last patch.  Use strndupa instead.
1413
1414         * po/sk.po: Update from translation team.
1415
1416 2001-06-05  Andreas Jaeger  <aj@suse.de>
1417
1418         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
1419         tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
1420         Closes PR libc/2315.
1421
1422 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
1423
1424         * sysdeps/generic/wordexp.c: Add missing free.
1425         Patch by yeti@physics.muni.cz.
1426
1427 2001-06-02  Tom Browder  <tbrowder@home.com>
1428
1429         * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
1430         within bounds when lag > 0.
1431
1432 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
1433
1434         * po/tr.po: New file.
1435
1436 2001-06-05  Andreas Jaeger  <aj@suse.de>
1437
1438         * manual/libm-err-tab.pl (parse_ulps): Fix typo.
1439
1440 2001-06-04  H.J. Lu  <hjl@gnu.org>
1441
1442         * sysdeps/alpha/elf/start.S: Add .type for the entry point.
1443         * sysdeps/arm/elf/start.S: Likewise.
1444         * sysdeps/hppa/elf/start.S: Likewise.
1445         * sysdeps/i386/elf/start.S: Likewise.
1446         * sysdeps/m68k/elf/start.S: Likewise.
1447         * sysdeps/mips/elf/start.S: Likewise.
1448         * sysdeps/ia64/elf/start.S: Likewise.
1449         * sysdeps/sh/elf/start.S: Likewise.
1450         * sysdeps/s390/s390-32/elf/start.S: Likewise.
1451         * sysdeps/s390/s390-64/elf/start.S: Likewise.
1452         * sysdeps/cris/elf/start.S: Likewise.
1453
1454 2001-06-04  Bruce Mitchener  <bruce@cubik.org>
1455
1456         * manual/resource.texi: Correct setpriority/nice documentation.
1457
1458         * sysdeps/unix/nice.c: Correct nice() implementation.
1459
1460 2001-06-04  Andreas Jaeger  <aj@suse.de>
1461
1462         * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
1463         Stephen L Moshier <moshier@mediaone.net>.
1464
1465 2001-06-03  Roland McGrath  <roland@frob.com>
1466
1467         * Makefile (postclean): Remove obsolete sysd-Makefile.
1468
1469 2001-06-01  Roland McGrath  <roland@frob.com>
1470
1471         * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
1472         and use compat_symbol/versioned_symbol instead of plain
1473         symbol_version/default_symbol_version.
1474         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
1475         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
1476         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
1477         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
1478         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
1479         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
1480         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
1481         * sysdeps/arm/fpu/fegetenv.c: Likewise.
1482         * sysdeps/arm/fpu/fesetenv.c: Likewise.
1483         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
1484         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
1485         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
1486         * sysdeps/i386/fpu/fegetenv.c: Likewise.
1487         * sysdeps/i386/fpu/fesetenv.c: Likewise.
1488         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
1489         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
1490         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1491         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1492         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
1493         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
1494         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
1495         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
1496         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
1497         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
1498         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
1499         * sysdeps/powerpc/fclrexcpt.c: Likewise.
1500         * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
1501         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1502         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1503         * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
1504         * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
1505         * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
1506
1507         * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
1508         * iconvdata/iso-2022-cn-ext.c: Likewise.
1509
1510 2001-06-01  Andreas Jaeger  <aj@suse.de>
1511
1512         * Versions.def: Add version 2.2.4.
1513
1514 2001-06-01  Ulrich Drepper  <drepper@redhat.com>
1515
1516         * socket/Makefile (routines): Add sockatmark.
1517         * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
1518         * socket/sys/socket.h: Add prototype for sockatmark.
1519         * sysdeps/generic/sockatmark.c: New file.
1520         * sysdeps/unix/sockatmark.c: New file.
1521
1522 2001-06-01  Andreas Jaeger  <aj@suse.de>
1523
1524         * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
1525         B4000000.
1526         (cfsetospeed): Likewise.
1527         Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
1528
1529 2001-05-31  Joseph S. Myers  <jsm28@cam.ac.uk>
1530
1531         * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
1532
1533 2001-05-30  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1534
1535         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
1536         needs to have the same aligment as the kernel structure.
1537
1538 2001-05-29  Jakub Jelinek  <jakub@redhat.com>
1539
1540         * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
1541         u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
1542         * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
1543         u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
1544         against multiple definition.
1545
1546 2001-05-30  Ulrich Drepper  <drepper@redhat.com>
1547
1548         * po/da.po: Update from translation team.
1549
1550 2001-05-29  Andreas Jaeger  <aj@suse.de>
1551
1552         * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
1553         Stephen L Moshier <moshier@mediaone.net>.
1554
1555         * math/libm-test.inc (sinh_test): Add new test case.
1556
1557         * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
1558         x when x < 2^-32.
1559         Patch by Stephen L Moshier <moshier@mediaone.net>.
1560
1561 2001-05-23  Andreas Jaeger  <aj@suse.de>
1562
1563         * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
1564         * iconvdata/testdata/WINDOWS-1255..UTF8: this.
1565
1566 2001-05-27  Andreas Jaeger  <aj@suse.de>
1567
1568         * manual/stdio.texi (String Streams): Fix fmemopen description.
1569         Reported by Michal Kochanowicz <michal@michal.waw.pl>.
1570
1571 2001-05-26  H.J. Lu <hjl@gnu.org>
1572
1573         * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
1574         to s_sigsuspend.  Add s_mmap2.
1575
1576         * sysdeps/mips/atomicity.h: New file.
1577
1578         * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
1579
1580         * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
1581         back __key.
1582
1583 2001-05-25  Bruce Mitchener  <bruce@cubik.org>
1584
1585         * manual/ctype.texi: Minor fix.
1586         * manual/install.texi: Likewise.
1587         * manual/startup.texi: Likewise.
1588         * manual/examples/dir.c: Use perror() rather than puts().
1589
1590 2001-05-25  David Mosberger  <davidm@hpl.hp.com>
1591
1592         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
1593         #endif directive inside a comment to avoid compiler warnings.
1594
1595 2001-05-25  Philipp Thomas  <pthomas@suse.de>
1596
1597         * nis/nis_print.c (nis_nstype2str): Don't mark names of
1598         naming services for translation, only UNKNOWN needs it.
1599         Add comment to prevent it for the future.
1600
1601 2001-05-25  Joseph S. Myers  <jsm28@cam.ac.uk>
1602
1603         * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
1604         3.1 and non-GCC C99 compilers.
1605
1606 2001-05-22  David Mosberger  <davidm@hpl.hp.com>
1607
1608         * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
1609         performance.
1610         * sysdeps/ia64/memcpy.S: Likewise.
1611
1612         * sysdeps/ia64/bcopy.S: New file.
1613
1614         * sysdeps/ia64/bzero.S: New file (derived from memset.S).
1615
1616 2001-05-26  Ulrich Drepper  <drepper@redhat.com>
1617
1618         * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
1619
1620 2001-05-24  Ulrich Drepper  <drepper@redhat.com>
1621
1622         * iconvdata/Makefile: Add rules for CP10007.
1623         * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
1624         * iconvdata/cp10007.c: New file.
1625         * iconvdata/tst-tables.sh: Add CP10007.
1626
1627 2001-05-23  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1628
1629         * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
1630         (_dl_runtime_profile): Likewise..
1631
1632 2001-05-23  Thorsten Kukuk  <kukuk@suse.de>
1633
1634         * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
1635         * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
1636
1637 2001-05-19  H.J. Lu  <hjl@gnu.org>
1638
1639         * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
1640         errstring of the failed DSO to _dl_signal_error ().
1641
1642 2001-05-23  Ulrich Drepper  <drepper@redhat.com>
1643
1644         * iconvdata/gconv-modules: Add more aliases to enable use in
1645         locale names.
1646
1647 2001-05-23  Andreas Jaeger  <aj@suse.de>
1648
1649         * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
1650         Remove, it's not used anywhere anymore.
1651         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
1652         (CFLAGS-initfini.s): Likewise.
1653         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1654         (CFLAGS-initfini.s): Likewise.
1655         * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
1656         Likewise.
1657         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
1658         Likewise.
1659
1660 2001-05-21  Bruno Haible  <haible@clisp.cons.org>
1661
1662         * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
1663         use 0 instead, and rely on the converter to do the flush.
1664         * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
1665         utf8_test.
1666         (utf8_test_2, utf8_test_3): New function.
1667         (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
1668
1669 2001-05-22  Jakub Jelinek  <jakub@redhat.com>
1670
1671         * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
1672
1673         * elf/Makefile (distribute): Add reldep4mod[1234].c.
1674         (tests): Add reldep4.
1675         (modules-names): Add reldep4mod[1234].
1676         (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
1677         * elf/reldep4.c: New file.
1678         * elf/reldep4mod1.c: Likewise.
1679         * elf/reldep4mod2.c: Likewise.
1680         * elf/reldep4mod3.c: Likewise.
1681         * elf/reldep4mod4.c: Likewise.
1682
1683 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
1684
1685         * elf/dl-lookup.c (PROTECTED): Remove defines.
1686         (add_dependency): Mark it with internal_function.
1687         (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
1688         (_dl_lookup_symbol, _dl_lookup_symbol_skip,
1689         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
1690         it if we don't want do_lookup* inlined.
1691
1692 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
1693
1694         * include/link.h (struct r_scope_elem): Remove r_duplist and
1695         r_nduplist fields.
1696         * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
1697         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
1698         r_duplist.
1699         (_dl_lookup_versioned_symbol_skip): Likewise.
1700         * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
1701         (_dl_map_object_deps): Don't compute duplicate list.
1702
1703         * elf/dl-symbol.c: Removed.
1704         * elf/Makefile (routines): Remove dl-symbol.
1705
1706 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
1707
1708         * po/el.po: Update from translation team.
1709         * po/sv.po: Likewise.
1710
1711 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1712
1713         * iconvdata/cp1255.c: Completely rewritten.
1714         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
1715         * iconvdata/testdata/WINDOWS-1255: New file.
1716         * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
1717         * iconvdata/TESTS: Add WINDOWS-1255 test.
1718         * iconvdata/CP1255.irreversible: New file.
1719
1720 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1721
1722         * iconvdata/cp1258.c: Completely rewritten.
1723         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
1724         * iconvdata/testdata/WINDOWS-1258: New file.
1725         * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
1726         * iconvdata/TESTS: Add WINDOWS-1258 test.
1727         * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
1728         the main call, and flush it afterwards.
1729         (utf8_decode): Return a string, possibly containing several Unicode
1730         characters.
1731         (main): Update all utf8_decode calls.
1732         * iconvdata/CP1258.irreversible: New file.
1733
1734 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1735
1736         * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
1737         * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2.  In the
1738         first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
1739         EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
1740         the next step.  In the second case, clear the state without calling
1741         EMIT_SHIFT_TO_INIT.
1742         * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
1743         data->__outbuf, and outend instead of data->__outbufend.
1744         * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
1745         * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
1746         * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
1747         * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
1748         * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
1749         * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
1750         * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
1751         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
1752         * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
1753
1754 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
1755
1756         * elf/rtld.c (dl_main): Compute l_map_end for the main program.
1757         * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
1758         If match == _dl_loaded, caller can still come from the main program.
1759         (_dl_vsym): Likewise.
1760         * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
1761         * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
1762         * elf/restest2.c: New test.
1763         * elf/Makefile (tests): Add restest2.
1764         (restest2, LDFLAGS-restest2): Add rules.
1765
1766 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
1767
1768         * intl/Makefile: Add a few more dependencies to avoid races in the
1769         test shell scripts.
1770
1771 2001-05-22  Andreas Jaeger  <aj@suse.de>
1772
1773         * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
1774         Stephen L Moshier <moshier@mediaone.net>.
1775
1776 2001-05-22  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1777
1778         * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
1779         return addresses instead of the stack pointers.
1780         * sysdeps/s390/s390-64/backtrace.c: Likewise.
1781
1782 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
1783
1784         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
1785         bits/sigcontext.h instead of bits/sigstack.h.
1786         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
1787         multiple-inclusion guards.
1788
1789 2001-05-21  Andreas Jaeger  <aj@suse.de>
1790
1791         * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
1792         Patch by Philipp Thomas <pthomas@suse.de>.
1793
1794 2001-05-17  Bruce Mitchener  <bruce@cubik.org>
1795
1796         * manual/arpg.texi: Spelling, misc fixes.
1797         * manual/arith.texi: Likewise.
1798         * manual/crypt.texi: Likewise.
1799         * manual/debug.texi: Likewise.
1800         * manual/getopt.texi: Likewise.
1801         * manual/intro.texi: Likewise.
1802         * manual/memory.texi: Likewise.
1803         * manual/nss.texi: Likewise.
1804         * manual/pattern.texi: Likewise.
1805         * manual/process.texi: Likewise.
1806         * manual/resource.texi: Likewise.
1807         * manual/search.texi: Likewise.
1808         * manual/setjmp.texi: Likewise.
1809         * manual/signal.texi: Likewise.
1810         * manual/socket.texi: Likewise.
1811         * manual/stdio.texi: Likewise.
1812         * manual/string.texi: Likewise.
1813         * manual/sysinfo.texi: Likewise.
1814         * manual/terminal.texi: Likewise.
1815         * manual/llio.texi: Document madvise().
1816
1817 2001-05-20  Roland McGrath  <roland@frob.com>
1818
1819         * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
1820         found within $(add-ons) directories too.
1821         [linuxthreads add-on]: Move variable settings for linuxthreads
1822         to new file linuxthreads/Makeconfig.
1823
1824 2001-05-20  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1825
1826         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1827         Define for linux >= 2.4.5 on powerpc.
1828         (__ASSUME_MMAP2_SYSCALL): Likewise.
1829
1830 2001-05-19  Roland McGrath  <roland@frob.com>
1831
1832         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
1833         result port when failing with ELOOP.  Do the ELOOP check when
1834         following an absolute symlink target as well as relative.
1835         Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
1836
1837 2001-05-18  Andreas Jaeger  <aj@suse.de>
1838
1839         * po/fr.po: Free software is "logiciel libre".
1840         Patch by Martin Michlmayr <tbm@cyrius.com>.
1841
1842         * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
1843         Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
1844
1845 2001-05-17  David Mosberger  <davidm@hpl.hp.com>
1846
1847         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
1848
1849 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1850
1851         * elf/dl-profile.c (_dl_mcount): Check whether state is
1852         GMON_PROF_ON before doing anything.
1853
1854 2001-05-17  H.J. Lu  <hjl@gnu.org>
1855
1856         * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
1857
1858 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1859
1860         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
1861         CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
1862         Reported by Mark Burton <markb@ordern.com>.
1863
1864 2001-05-17  Jakub Jelinek  <jakub@redhat.com>
1865
1866         * elf/ldconfig.c (add_dir): Only warn about stat failure if
1867         opt_verbose.
1868         (search_dir): Likewise.
1869
1870 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1871
1872         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
1873         parameter of xaddl.  Patch by H . J . Lu <hjl@lucon.org>.
1874
1875 2001-05-14  Bruno Haible  <haible@clisp.cons.org>
1876
1877         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
1878         without previous announcement, reject it regularly, don't abort.
1879
1880 2001-05-16  Ulrich Drepper  <drepper@redhat.com>
1881
1882         * math/tgmath.h: Fix handling of int parameters to binary and
1883         ternary functions.  Reported by mitr@volny.cz.
1884
1885         * math/test-tgmath.c: Add tests for calls with integer parameters.
1886
1887 2001-05-15  Jakub Jelinek  <jakub@redhat.com>
1888
1889         * sunrpc/rpc_thread.c (rpc_default): Remove.
1890         (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
1891         rpc_default.
1892         (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
1893         __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
1894         * sunrpc/auth_none.c (authnone_private): Fix a typo.
1895
1896 2001-05-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1897
1898         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
1899
1900 2001-05-16  Bruce Mitchener  <bruce@cubik.org>
1901
1902         * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
1903
1904 2001-05-15  Andreas Jaeger  <aj@suse.de>
1905
1906         * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
1907         Stephen L Moshier <moshier@mediaone.net>.
1908
1909         * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
1910
1911         * math/libm-test.inc: Add comment with ToDo.
1912
1913         * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
1914         accurate algorithm.  Patch by Stephen L Moshier <moshier@mediaone.net>.
1915
1916         * sysdeps/i386/fpu/e_expl.S: Removed.
1917
1918 2001-05-14  Roland McGrath  <roland@frob.com>
1919
1920         * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
1921         static pattern rule also that also covers
1922         $(objpx)g$(static-start-installed-name).
1923         [$(start-installed-name) != $(static-start-installed-name)]
1924         (extra-objs, omit-deps, install-lib): Add
1925         $(static-start-installed-name) and g$(static-start-installed-name).
1926         * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
1927         just setting static-start-installed-name is now sufficient.
1928         (extra-objs): Add static-start.o here.
1929         (CFLAGS-initfini.s): Remove obsolete variable.
1930         * sysdeps/mach/hurd/i386/Makeconfig: New file.
1931         Define static-start-installed-name here.
1932
1933         * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
1934         * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
1935
1936         * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
1937         associated hair.  Instead, just use $(wildcard ...) in the include.
1938
1939         * configure.in (critic_missing, aux_missing): Collect in these vars
1940         the names of the missing programs, and include them in the error msgs.
1941         * configure: Regenerated.
1942
1943 2001-05-14  Andreas Jaeger  <aj@suse.de>
1944
1945         * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
1946
1947         * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
1948
1949 2001-05-14  Stephen L Moshier <moshier@mediaone.net>
1950
1951         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
1952
1953 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
1954
1955         * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
1956         as well if swapping strings.
1957         Make sure stop is not past end of second string.
1958         * posix/bug-regex4.c: New test.
1959         * posix/Makefile (tests): Add bug-regex4.
1960
1961 2001-05-10  Andreas Jaeger  <aj@suse.de>
1962
1963         * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
1964         requirement.
1965
1966 2001-05-12  Andreas Jaeger  <aj@suse.de>
1967
1968         * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
1969         internal prototypes.
1970         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1971         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1972         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1973         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1974         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1975         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1976         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1977
1978         * math/math_private.h: Add prototypes for internal functions of
1979         the IBM Accurate Mathematical Library.
1980
1981         * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
1982         prototypes.
1983         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1984
1985         * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
1986         internal prototypes.
1987         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1988         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1989         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1990         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1991         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1992         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1993         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1994         * sysdeps/generic/e_rem_pio2l.c: Likewise.
1995         (__ieee754_rem_pio2l): Fix prototype.
1996
1997         * math/math_private.h (__copysign): Add internal prototype.
1998
1999 2001-05-11  Andreas Jaeger  <aj@suse.de>
2000
2001         * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
2002         * sysdeps/unix/sysv/linux/mips/configure.in: ...here.  New file.
2003
2004 2001-05-11  Andreas Jaeger  <aj@suse.de>
2005
2006         * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
2007         MIPS.
2008
2009         * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
2010         format directive.  Patch by Steven J. Hill <sjhill@cotw.com>.
2011
2012 2001-05-11  Roland McGrath  <roland@frob.com>
2013
2014         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
2015         $(build-module) here, since we don't need the full magilla.
2016         Just use $(build-module-helper) and append our special options.
2017
2018 2001-05-09  Andreas Schwab  <schwab@suse.de>
2019
2020         * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
2021         reached EOF.
2022
2023 2001-05-07  H.J. Lu  <hjl@gnu.org>
2024
2025         * elf/ldconfig.c (dir_entry): Add ino and dev.
2026         (add_single_dir): Compare ino and dev to check if 2 directory
2027         paths are the same or not.  Free entry->path for duplicates.
2028         (add_dir): Initialize ino and dev for entry.
2029         (search_dir): Handle symlink to directory.
2030
2031 2001-05-07  Andreas Jaeger  <aj@suse.de>
2032
2033         * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
2034
2035         * math/libm-test.inc (exp_test): Add some more tests.
2036         (pow_test): Run double only test also for long double.
2037
2038         * math/test-ldouble.c (TEST_LDOUBLE): Define.
2039         * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
2040
2041         * sysdeps/generic/bits/confname.h: Remove extra comma at end of
2042         enumeration.
2043         Closes PR libc/2240.
2044
2045         * scripts/config.guess: Imported from gnu.org.
2046         * scripts/config.sub: Likewise.
2047
2048 2001-05-05  Jakub Jelinek  <jakub@redhat.com>
2049
2050         * include/features.h (__USE_EXTERN_INLINES): Don't define if
2051         __NO_INLINE__ is defined.
2052         * ctype/ctype.h (tolower, toupper): Change the guard condition to
2053         __USE_EXTERN_INLINES check only.
2054         * stdlib/stdlib.h (strtod, ...): Likewise.
2055         * wcsmbs/wchar.h (mbrlen): Likewise.
2056         * string/string.h: Only include bits/string.h and bits/string2.h
2057         if __NO_INLINE__ is not defined.
2058
2059 2001-05-07  Andreas Jaeger  <aj@suse.de>
2060
2061         * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
2062         of @LIBDIR@.
2063
2064 2001-05-04  H.J. Lu  <hjl@gnu.org>
2065
2066         * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
2067         not @LIBDIR@.
2068
2069 2001-05-06  Andreas Jaeger  <aj@suse.de>
2070
2071         * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
2072         * sysdeps/i386/fpu/e_fmodl.S: Removed.
2073         * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
2074         * sysdeps/i386/fpu/e_atan2l.S: Removed.
2075         * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
2076         * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
2077         * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
2078         * sysdeps/i386/fpu/e_acosl.S: Removed.
2079         * sysdeps/i386/fpu/s_atanl.S: Removed.
2080         * sysdeps/i386/fpu/e_sqrtl.S: Removed.
2081
2082 2001-05-05  Mark Kettenis  <kettenis@gnu.org>
2083
2084         * sysdeps/mach/hurd/bits/environments.h: Add comment from
2085         sysdeps/generic/bits/environments.h.  Define _POSIX_V6_* values.
2086
2087 2001-04-30  Jakub Jelinek  <jakub@redhat.com>
2088
2089         * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
2090         that _CS_LFS_CFLAGS can fall through to the empty returned string
2091         case.  Add FALLTHROUGH comment.
2092
2093 2001-04-29  Ralf Baechle  <ralf@gnu.org>
2094
2095         * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
2096         definitions match the kernel definitions.
2097         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
2098         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2099
2100 2001-04-29  Ben Collins  <bcollins@debian.org>
2101
2102         * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
2103         warnings.
2104         * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
2105         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2106         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2107         * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
2108         * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
2109         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2110         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2111         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2112         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2113         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2114         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2115         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2116         * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
2117         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2118         * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
2119         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2120         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2121         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2122         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2123         * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
2124         * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
2125         * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
2126         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2127
2128 2001-04-29  Andreas Schwab  <schwab@suse.de>
2129
2130         * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
2131         in last change.
2132
2133 2001-04-29  Andreas Jaeger  <aj@suse.de>
2134
2135         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2136         Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
2137
2138         * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
2139         Linux 2.4.4.
2140         (AF_WANPIPE): Likewise.
2141         (MSG_MORE): New.
2142
2143         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
2144         for Linux generic version.
2145         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
2146         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2147         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2148         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
2149
2150         * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
2151
2152 2001-04-27  Ulrich Drepper  <drepper@redhat.com>
2153
2154         * nis/nss-nis.h: Correct test for invalid error number.
2155         * nis/nss-nisplus.h: Likewise.
2156
2157         * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
2158
2159 2001-04-26  Ulrich Drepper  <drepper@redhat.com>
2160
2161         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
2162
2163         * string/strcoll.c: Fix two memory allocation problems.
2164         * string/Makefile (tests): Add bug-strcoll1.
2165         * string/bug-strcoll1.c: New file.
2166
2167         * malloc/mcheck.c (mcheck): Call malloc once before setting the
2168         hooks to allow the internal check hooks to be set up if necessary.
2169
2170         * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
2171         and rename to __yperr2nss_tab.  Change YPERR_COUNT into variable
2172         __yperr2nss_count.
2173         * nis/nss-nis.c: New file.
2174         * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
2175         and rename to __niserr2nss_tab.  Change NISERR_COUNT into variable
2176         __niserr2nss_count.
2177         * nis/nss-nisplus.c: New file.
2178         * nis/Makefile (libnss_compat-routines): Add nss-nis.
2179         (libnss_nis-routines): Likewise.
2180         (libnss_nisplus-routines): Add nss-nisplus.
2181
2182         * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
2183         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2184         * nis/nss_nisplus/nisplus-grp.c: Likewise.
2185         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2186         * nis/nss_nisplus/nisplus-network.c: Likewise.
2187         * nis/nss_nisplus/nisplus-proto.c: Likewise.
2188         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2189         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2190         * nis/nss_nisplus/nisplus-service.c: Likewise.
2191         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2192         * nis/nss_nis/nis-alias.c: Likewise.
2193         * nis/nss_nis/nis-ethers.c: Likewise.
2194         * nis/nss_nis/nis-grp.c: Likewise.
2195         * nis/nss_nis/nis-network.c: Likewise.
2196         * nis/nss_nis/nis-proto.c: Likewise.
2197         * nis/nss_nis/nis-pwd.c: Likewise.
2198         * nis/nss_nis/nis-spwd.c: Likewise.
2199         * nis/nss_compat/compat-grp.c: Likewise.
2200         * nis/nss_compat/compat-initgroups.c: Likewise.
2201         * nis/nss_compat/compat-pwd.c: Likewise.
2202         * nis/nss_compat/compat-spwd.c: Likewise.
2203
2204         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
2205         optimizations.  Patch by Jakub Jelinek <jakub@redhat.com>.
2206
2207 2001-04-26  Andreas Jaeger  <aj@suse.de>
2208
2209         * po/zh_TW.po: Update.
2210         Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
2211
2212 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
2213
2214         * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
2215         compiler command line.
2216         * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
2217         command line for malloc.c.
2218
2219 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
2220
2221         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
2222         * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
2223         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
2224         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
2225         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here.  Adjust
2226         struct msghdr for __WORDSIZE == 32.
2227         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
2228         * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here.  Adjust
2229         for __WORDSIZE == 32.
2230         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
2231         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
2232         file.
2233         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
2234         Rename from longjmp, make longjmp weak alias to it.
2235
2236 2001-04-24  David S. Miller  <davem@redhat.com>
2237
2238         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
2239
2240 2001-04-25  Matthew Wilcox  <willy@ldl.fc.hp.com>
2241
2242         * sysdeps/hppa/stackinfo.h: New file.
2243         * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
2244         * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
2245         * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
2246         * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
2247         of PA kernel features.
2248
2249 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
2250
2251         * locale/programs/localedef.c (main): Always set a file name for
2252         the initial locale.
2253         * locale/programs/locfile.c (locfile_read): filename is allowed to
2254         be NULL.
2255
2256 2001-04-12  Paul Bame  <paul_bame@hp.com>
2257
2258         * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
2259         enable flags.
2260
2261 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
2262
2263         * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
2264         _XBS5_LPBIG_OFFBIG): Define to -1.
2265         Fix typos.
2266
2267         * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
2268         * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
2269         * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2270         * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2271
2272         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
2273         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
2274
2275 2001-03-21  Alan Modra  <alan@one.net.au>
2276
2277         * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
2278         value from application so that constructors in non-PIC libs work.
2279
2280 2000-12-13  Jes Sorensen  <jes@linuxcare.com>
2281
2282         * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
2283         function pointer, hence load the jump address and gp from the
2284         function pointer before jumping.
2285
2286 2001-04-24  Andreas Jaeger  <aj@suse.de>
2287
2288         * sysdeps/generic/send.c (__send): Return ssize_t.
2289         * sysdeps/mach/hurd/send.c (__send): Likewise.
2290         * sysdeps/mach/hurd/recv.c (recv): Likewise.
2291         * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
2292         * sysdeps/generic/sendto.c (sendto): Likewise.
2293         * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
2294         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
2295         * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
2296         * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
2297
2298         * socket/sys/socket.h: send* and recv* return ssize_t.
2299
2300         * include/sys/socket.h: send returns ssize_t.
2301
2302         * sysdeps/i386/fpu_control.h: Fix comments.
2303
2304 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
2305
2306         * sysdeps/ia64/Dist: Add hp-timing.c.
2307         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
2308         * posix/Makefile (distribute): Add tst-getconf.sh.
2309         * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
2310
2311 2001-04-23  Ulrich Drepper  <drepper@redhat.com>
2312
2313         * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
2314         * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
2315         * sysdeps/ia64/hp-timing.c: New file.
2316         * sysdeps/ia64/hp-timing.h: New file.
2317         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
2318         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
2319
2320         * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
2321         using #ifdef whether the clock is available.
2322         * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
2323
2324         * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
2325         it into data section.
2326
2327         * sysdeps/unix/i386/i586/clock_getres.c: Removed.
2328         * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
2329         * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
2330         * sysdeps/unix/i386/i586/clock_settime.c: Removed.
2331         * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
2332         * sysdeps/generic/cpuclock-init.h: Removed.
2333         * sysdeps/unix/i386/i686/Implies: Removed.
2334         * sysdeps/unix/i386/i686/tempname.c: Removed.
2335         * sysdeps/i386/i686/Versions: New file.
2336         * sysdeps/unix/i386/i586/Versions: Removed.
2337
2338         * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
2339         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
2340         * sysdeps/unix/clock_gettime.c: Likewise.
2341         * sysdeps/unix/clock_nanosleep.c: Likewise.
2342         * sysdeps/unix/clock_settime.c: Likewise.
2343         * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
2344         RANDOM_BITS use CPU clock.
2345
2346         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
2347         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
2348         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
2349         * sysdeps/sparc/Versions: New file.
2350
2351         * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
2352         hp-timing.h definitions.
2353         * sysdeps/generic/dl-sysdep.c: Likewise.
2354
2355         * include/libc-internal.h: Include hp-timing.h.  Use hp_timing_t in
2356         __get_clockfreq prototype.
2357
2358         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2359         Use hp_timing_t type.
2360         * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
2361
2362         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
2363
2364         * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
2365         whether named file is a regular file or a block device.
2366         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2367
2368 2001-04-23  Andreas Jaeger  <aj@suse.de>
2369
2370         * nscd/nscd.h: Add noreturn attribute for start_threads.
2371
2372 2001-04-22  Ulrich Drepper  <drepper@redhat.com>
2373
2374         * posix/getconf.c: Fix names of XBS5 LFS test variables.
2375         Add missing configuration variables from XPG6.
2376         * posix/tst-getconf.c: New file.
2377         * posix/Makefile (generated): Add tst-getconf.out.
2378         (tests): Add ($objpfx)tst-getconf.out.
2379         Add rule to run tst-getconf.sh.
2380         * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
2381         from XPG6.
2382         * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
2383         _PC_SYMLINK_MAX.
2384         * sysdeps/posix/pathconf.c: Likewise.
2385         * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
2386         and _SC_SYMLOOP_MAX.
2387
2388 2001-04-22  Philip Blundell  <philb@gnu.org>
2389
2390         * sysdeps/arm/fpu/feenablxcpt.c: New file.
2391         * sysdeps/arm/fpu/fedisablxcpt.c: New file.
2392         * sysdeps/arm/fpu/fegetexcpt.c: New file.
2393
2394 2001-04-22  Philip Blundell  <philb@gnu.org>
2395
2396         * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
2397         Renamed from struct user_fp.
2398         (struct user_regs): New.
2399         (struct user): Use struct user_regs rather than struct pt_regs to
2400         avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
2401         of struct user_fp and struct user_fp_struct.
2402         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
2403         not sys/elf.h.
2404
2405 2001-04-22  Philip Blundell  <philb@gnu.org>
2406
2407         * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
2408         sys/procfs.h, and tell the user to include that file instead.
2409         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
2410         surrounded with #if 0.
2411         (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
2412         from sys/elf.h.
2413         (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
2414         elf_fpregset_t respectively.
2415
2416 2001-04-22  Philip Blundell  <philb@gnu.org>
2417
2418         * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
2419         address that faulted.
2420
2421 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2422
2423         * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
2424         values.
2425         * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
2426         * posix/confstr.c: Handle _CS_POSIX_V6_* values.
2427         * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
2428         * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
2429
2430         * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
2431         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2432         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2433         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2434
2435 2001-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2436
2437         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
2438         offset.
2439
2440 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2441
2442         * posix/getopt.h: Treat __cplusplus like __STDC__.
2443
2444 2001-04-20  John S. Marvin  <jsm@fc.hp.com>
2445
2446         * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
2447         entry point stub.
2448
2449 2001-04-20  Richard Hirst  <rhirst@linuxcare.com>
2450
2451         * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
2452         and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
2453
2454         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
2455         entry so the ptrace.c wrapper is used.
2456
2457 2001-04-20  Alan Modra  <amodra@one.net.au>
2458
2459         * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
2460         (DL_FUNCTION_ADDRESS): Define.
2461         (DL_DT_INIT_ADDRESS): Define.
2462         (DL_DT_FINI_ADDRESS): Define.
2463         * sysdeps/hppa/Versions: Add _dl_function_address.
2464         * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
2465         * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
2466         _dl_function_address.
2467
2468 2001-04-21  Andreas Jaeger  <aj@suse.de>
2469
2470         * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
2471         * resolv/gai_misc.c (handle_requests): Likewise.
2472         * malloc/obstack.c (print_and_abort): Likewise.
2473         * malloc/mcheck.c (mabort): Likewise.
2474
2475         * sysdeps/unix/i386/i586/clock_settime.c: Include
2476         "libc-internal.h" for __get_clockfreq declaration.
2477
2478 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2479
2480         * elf/dl-support.c: Include cpuclock-init.h.  Use CPUCLOCK_VARDEF and
2481         CPUCLOCK_INIT if defined.
2482         * sysdeps/generic/dl-sysdep.c: Likewise.
2483         * sysdeps/generic/cpuclock-init.h: New file.
2484         * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
2485         * sysdeps/unix/i386/i586/Versions: New file.
2486         * sysdeps/unix/i386/i586/clock_settime.c: New file.
2487         * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
2488         separately by calling __pthread_clock_gettime if this function is
2489         available.  Subtract offset from tsc value before computing time value.
2490
2491 2001-04-20  Ulrich Drepper  <drepper@redhat.com>
2492
2493         * iconv/iconv_prog.c (print_known_names): If printing goes not to
2494         a tty print in a more machine-friendly way.
2495
2496         * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
2497         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2498
2499 2001-04-20  Andreas Jaeger  <aj@suse.de>
2500
2501         * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
2502
2503 2001-04-20  Andreas Schwab  <schwab@suse.de>
2504
2505         * sysdeps/m68k/fpu/libm-test-ulps: Update.
2506
2507 2001-04-19  Alan Modra  <amodra@one.net.au>
2508
2509         * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
2510         * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
2511         (CFLAGS-.os): Remove.
2512
2513         * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
2514
2515         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
2516         gregset): Correct for new kernel definitions.
2517
2518 2001-04-19  Alan Modra  <alan@linuxcare.com.au>
2519
2520         * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
2521         generate unwind info by hand.
2522
2523 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
2524
2525         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
2526
2527         * configure.in: Correct regular expression for msgfmt.
2528         Patch by Bruno Haible <haible@ilog.fr>.
2529
2530 2001-04-19  Andreas Jaeger  <aj@suse.de>
2531
2532         * po/el.po: Add comment explaining what's broken.
2533
2534         * po/Makefile (BROKEN_LINGUAS): New.
2535         (ALL_LINGUAS): Don't add broken languages.
2536
2537 2001-04-19  Roland McGrath  <roland@frob.com>
2538
2539         * sysdeps/mach/hurd/mlock.c: New file.
2540         * sysdeps/mach/hurd/munlock.c: New file.
2541         * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
2542
2543         * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
2544         * sysdeps/generic/mlock.c: New file.
2545         * sysdeps/generic/munlock.c: New file.
2546         * sysdeps/generic/mlockall.c: New file.
2547         * sysdeps/generic/munlockall.c: New file.
2548         * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
2549         * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
2550         mlockall, munlockall): Change caller field to - from EXTRA.
2551         Don't use __ names; not used (and not declared in include/sys/mman.h).
2552
2553         * hurd/privports.c (__get_privileged_ports): Renamed with __.
2554         Use __ names for calls we make.
2555         (get_privileged_ports): Add alias.
2556         * hurd/hurd.h: Declare it with the __ name.
2557         * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
2558         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
2559         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2560
2561         * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
2562         nothing if it's zero.
2563
2564 2001-04-19  Matthew Wilcox  <willy@ldl.fc.hp.com>
2565
2566         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
2567         Change to return a signed result for compatibility with other
2568         architectures, and correctness.
2569
2570 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
2571
2572         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
2573         HPPA always had them.  Patch by Matthew Wilcox <matthew@wil.cx>.
2574
2575 2001-04-19  Andreas Jaeger  <aj@suse.de>
2576
2577         * configure.in: Require gettext 0.10.36 or newer.
2578
2579         * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
2580
2581         * po/zh_TW.po: Remove extraneous backslashes.
2582
2583         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
2584         variables b and n.
2585
2586 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
2587
2588         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
2589         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
2590         * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
2591         * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
2592         Copy first word of uc_sigmask into __uc_sigmask.
2593         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
2594         Save uc_link around trap.  Copy __uc_sigmask into first word of
2595         uc_sigmask, clear the rest.  Make sure setcontext to the created
2596         context doesn't do this though.
2597         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
2598         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
2599         uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
2600         64bit version, make uc_sigmask __sigset_t in the 32bit version.
2601
2602 2001-04-19  Andreas Jaeger  <aj@suse.de>
2603
2604         * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
2605
2606         * rt/Makefile (otherlibs): Added for static NSS.
2607
2608         * glibcbug.in (BUGGLIBC): Send to new alias.
2609
2610 2001-04-02  Andreas Schwab  <schwab@suse.de>
2611
2612         * Makerules (build-module): Make sure exit codes get checked
2613         properly and remove unnecessary slashes.
2614
2615 2001-04-17  Ulrich Drepper  <drepper@redhat.com>
2616
2617         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2618         Handle kernels which report only three digits after the decimal point.
2619         Reported by Van Okamura <van.okamura@oracle.com>.
2620
2621         * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
2622
2623 2001-04-17  David S. Miller  <davem@redhat.com>
2624
2625         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
2626         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2627
2628 2001-04-17  Jakub Jelinek  <jakub@redhat.com>
2629
2630         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
2631         desired exceptions are raised for exceptional values.
2632         * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
2633         cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
2634         clog_test, log_test, log1p_test, tan_test): Increase precision of
2635         expected values to satisfy ldbl-128.
2636         * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
2637         * sysdeps/arm/libm-test-ulps: Likewise.
2638         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2639         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2640         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
2641         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2642         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2643         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2644         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2645         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2646         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2647
2648 2001-04-17  Andreas Jaeger  <aj@suse.de>
2649
2650         * configure.in: Move test for critical programs up.
2651
2652 2001-04-16  Stephen L Moshier  <moshier@mediaone.net>
2653
2654         * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
2655         Correct the values.
2656         (pSx, qSx): Replace by shorter approximation.
2657         Use f suffix on float constants.
2658
2659 2001-04-16  Ulrich Drepper  <drepper@redhat.com>
2660
2661         * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
2662         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2663
2664         * string/string.h: Replace const in attribute list with __const__.
2665
2666 2001-04-16  Roland McGrath  <roland@frob.com>
2667
2668         * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
2669         instead of the constant NGROUPS_MAX.  That way, the limit can be
2670         raised in the kernel configuration without having to recompile libc.
2671
2672         * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
2673         define NGROUPS_MAX; we don't use it here.
2674
2675 2001-04-16  Andreas Jaeger  <aj@suse.de>
2676
2677         * math/libm-test.inc (atan2_test): Add more testcases.
2678
2679         * iconv/gconv_db.c: Include gconv_charset.h for
2680         __gconv_lookup_alias prototype.
2681
2682 2001-04-13  Ulrich Drepper  <drepper@redhat.com>
2683
2684         * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
2685         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2686
2687 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
2688
2689         * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
2690
2691 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
2692
2693         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
2694         explicitly pad struct siginfo instead of relying on compiler padding.
2695
2696 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
2697
2698         * sysdeps/ia64/Dist: Add elf/entry.h.
2699
2700         * iconvdata/Makefile (distribute): Add TESTS2.
2701
2702 2001-04-13  Jakub Jelinek  <jakub@redhat.com>
2703
2704         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
2705         Calculate load address differently.
2706
2707 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
2708
2709         * iconvdata/TESTS2: New file.
2710         * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
2711         * iconvdata/testdata/alfabeta..UTF-8: New file.
2712         * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
2713         * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
2714         * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
2715         * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
2716
2717 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2718
2719         * iconvdata/utf-32.c: New file.
2720         * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
2721         * iconvdata/Makefile (modules): Add UTF-32.
2722         (distribute): Add utf-32.c.
2723
2724 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2725
2726         * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
2727         changing it in the state.  After incrementing 'inptr', store it back.
2728         * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
2729         store it back.
2730
2731 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2732
2733         * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
2734         MIN_NEEDED_FROM.
2735
2736 2001-04-11  David Mosberger  <davidm@hpl.hp.com>
2737
2738         * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
2739         * sysdeps/ia64/htons.S: Likewise.
2740
2741         * sysdeps/ia64/memset.S: Add unwind directives.
2742         * sysdeps/ia64/strncpy.S: Likewise.
2743         * sysdeps/ia64/strcat.S: Likewise.
2744
2745         * sysdeps/ia64/memccpy.S: Add unwind directives.  Drop superfluous
2746         restore of ar.pfs.
2747         * sysdeps/ia64/strchr.S: Likewise.
2748         * sysdeps/ia64/memmove.S: Likewise.
2749         * sysdeps/ia64/memcpy.S: Likewise.
2750         * sysdeps/ia64/memcmp.S: Likewise.
2751         * sysdeps/ia64/memchr.S: Likewise.
2752         * sysdeps/ia64/strcmp.S: Likewise.
2753         * sysdeps/ia64/strlen.S: Likewise.
2754         * sysdeps/ia64/strcpy.S: Likewise.
2755         * sysdeps/ia64/strncmp.S: Likewise.
2756
2757 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
2758
2759         * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
2760         fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
2761         fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
2762         fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
2763
2764 2001-04-11  Andreas Jaeger  <aj@suse.de>
2765
2766         * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
2767
2768 2001-04-11  Andreas Schwab  <schwab@suse.de>
2769
2770         * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
2771
2772 2001-04-11  Ulrich Drepper  <drepper@redhat.com>
2773
2774         * sysdeps/arm/stackinfo.h: New file.
2775
2776 2001-04-08  Thorsten Kukuk  <kukuk@suse.de>
2777
2778         * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
2779         rpcgen to generate thread safe code.
2780
2781 2001-04-10  Andreas Jaeger  <aj@suse.de>
2782
2783         * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
2784
2785 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2786
2787         * elf/dl-minimal.c (__assert_fail): Change error string.  It's
2788         most of the time no bug in ld.so.
2789         (__assert_perror_fail): Likewise.
2790
2791 2001-04-11  Hans-Peter Nilsson  <hp@axis.com>
2792
2793         * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
2794         from struct to unsigned int.
2795
2796 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2797
2798         * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
2799         AT_IGNOREPPC): New defines.
2800         * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
2801         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2802         Define for newer powerpc kernels.
2803         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
2804         DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
2805
2806 2000-4-10  kaz Kojima  <kkojima@rr.iij4u.or.jp>
2807
2808         * sysdeps/sh/stackinfo.h: New file.
2809
2810 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2811
2812         * locale/tst-C-locale.c (run_test): Add tests for locale objects.
2813         * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
2814         __ctype_tolower, and __ctype_toupper elements.
2815
2816         * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
2817         Reported by Konstantin Osipov <rabid@spylog.ru>.
2818
2819         * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
2820         the lousy AMD FPU.
2821
2822 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2823
2824         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
2825         * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
2826         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
2827         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
2828
2829 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2830
2831         * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
2832         message.  Based on a patch by HJ Lu.
2833
2834 2001-04-10  Andreas Schwab  <schwab@suse.de>
2835
2836         * math/libm-test.inc (csinh_test): Don't require the invalid
2837         exception for csinh (x + iNaN), but make it optional.
2838
2839 2001-04-09  David Mosberger  <davidm@hpl.hp.com>
2840
2841         * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
2842
2843         * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
2844         * sysdeps/ia64/elf/entry.h: New file.
2845         * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
2846         __start.
2847         * elf/rtld.c: Don't declare ENTRY_POINT.  Use ENTRY_POINT instead
2848         of &ENTRY_POINT.
2849         * sysdeps/generic/dl-sysdep.c: Likewise.
2850         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2851         * sysdeps/ia64/elf/start.S: Save base address of register backing
2852         store in __libc_ia64_register_backing_store_base.
2853
2854 2001-04-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2855
2856         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
2857         value of getcontext.
2858         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2859         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
2860         value of setcontext.
2861         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2862         * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
2863         call by changing the saved context.
2864
2865 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2866
2867         * sysdeps/alpha/stackinfo.h: New file.
2868         * sysdeps/ia64/stackinfo.h: New file.
2869
2870 2001-04-10  Andreas Schwab  <schwab@suse.de>
2871
2872         * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
2873         values.
2874         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2875
2876 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
2877
2878         * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
2879         * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
2880
2881         * libio/Makefile (distribute): Add fd_to_filename.h.
2882
2883 2001-04-05  David S. Miller  <davem@redhat.com>
2884
2885         Add hp-timing support for sparcv9/sparc64 targets.
2886         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
2887         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
2888         * sysdeps/sparc/sparc64/hp-timing.c: New file
2889         * sysdeps/sparc/sparc64/hp-timing.h: New file
2890         * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
2891         * sysdeps/sparc/sparc64/Makefile: Likewise.
2892
2893 2001-04-09  Jakub Jelinek  <jakub@redhat.com>
2894
2895         * sysdeps/generic/fd_to_filename.h: New file.
2896         * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
2897         * libio/freopen.c (freopen): If FILENAME is NULL, try to get
2898         filename from the open file descriptor.
2899         * libio/freopen64.c (freopen64): Likewise.
2900
2901 2001-04-09  Bruno Haible  <haible@clisp.cons.org>
2902
2903         * misc/error.c (error): fflush stdout also if
2904         error_print_progname != NULL.
2905         (error_at_line): Likewise.
2906
2907 2001-04-07  Bruno Haible  <haible@clisp.cons.org>
2908
2909         * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
2910         (struct binding): Add codeset_cntr field.
2911         (_nl_load_domain): Add domainbinding argument.
2912         (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
2913         (_nl_find_msg): New declaration, moved here from loadinfo.h.
2914         * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
2915         (_nl_make_l10nflist): Remove domainbinding argument.
2916         (_nl_find_msg): Move declaration to gettextP.h.
2917         * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
2918         to 0.  Increment it when ->codeset is changed.
2919         * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
2920         (_nl_find_msg): Add domainbinding argument.  Reinitialize the converter
2921         if domainbinding->codeset_cntr has been incremented.
2922         * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
2923         _nl_make_l10nflist().  Pass it to _nl_load_domain() instead.
2924         * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
2925         * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
2926          from _nl_load_domain.  Append //TRANSLIT also when using libiconv.
2927         (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
2928         (_nl_load_domain): Add domainbinding argument.  Call
2929         _nl_init_domain_conv.
2930         (_nl_unload_domain): Call _nl_free_domain_conv.
2931         * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
2932         (test-srcs): Add tst-codeset.
2933         (tests): Depend on tst-codeset.out.
2934         (tst-codeset.out): New rule.
2935         (CFLAGS-tst-codeset.c): New variable.
2936         * intl/tst-codeset.sh: New file.
2937         * intl/tstcodeset.po: New file.
2938         * intl/tst-codeset.c: New file.
2939         * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
2940         calls.
2941
2942 2001-04-07  Roland McGrath  <roland@frob.com>
2943
2944         * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
2945
2946 2001-03-31  Roland McGrath  <roland@frob.com>
2947
2948         * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
2949         copying send rights into child.  When we hit our name for our proc
2950         port, just copy NEWPROC directly instead of repeating proc_task2proc
2951         to install the child's port.
2952
2953 2001-04-08  Roland McGrath  <roland@frob.com>
2954
2955         * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
2956         in second column, to provide default values for third column.
2957         * shlib-versions: Add comments about using DEFAULT in second column.
2958         (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
2959         (cris-.*-linux.*): Likewise.
2960
2961 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
2962
2963         * Makefile (distribute): Add scripts/documented.sh.
2964         * scripts/documented.sh: New file.
2965
2966 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2967
2968         * sysdeps/unix/sysv/linux/cris/Dist: New file.
2969         * sysdeps/unix/sysv/linux/cris/Makefile: New file.
2970         * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
2971         * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
2972         * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
2973         * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
2974         * sysdeps/unix/sysv/linux/cris/brk.c: New file.
2975         * sysdeps/unix/sysv/linux/cris/chown.c: New file.
2976         * sysdeps/unix/sysv/linux/cris/clone.S: New file.
2977         * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
2978         * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
2979         * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
2980         * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
2981         * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
2982         * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
2983         * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
2984         * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
2985         * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
2986         * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
2987         * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
2988         * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
2989         * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
2990         * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
2991         * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
2992         * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
2993         * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
2994         * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
2995         * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
2996         * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
2997         * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
2998         * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
2999         * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
3000         * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
3001         * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
3002         * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
3003         * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
3004         * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
3005         * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
3006         * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
3007         * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
3008         * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
3009         * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
3010         * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
3011         * sysdeps/unix/sysv/linux/cris/socket.S: New file.
3012         * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
3013         * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
3014         * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
3015         * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
3016         * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
3017         * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
3018
3019 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3020
3021         * sysdeps/cris/Dist: New file.
3022         * sysdeps/cris/Implies: New file.
3023         * sysdeps/cris/Makefile: New file.
3024         * sysdeps/cris/__longjmp.S: New file.
3025         * sysdeps/cris/_mcount.S: New file.
3026         * sysdeps/cris/bits/endian.h: New file.
3027         * sysdeps/cris/bits/setjmp.h: New file.
3028         * sysdeps/cris/bits/string.h: New file.
3029         * sysdeps/cris/dl-machine.h: New file.
3030         * sysdeps/cris/elf/start.S: New file.
3031         * sysdeps/cris/machine-gmon.h: New file.
3032         * sysdeps/cris/memcopy.h: New file.
3033         * sysdeps/cris/memusage.h: New file.
3034         * sysdeps/cris/setjmp.S: New file.
3035         * sysdeps/cris/sysdep.h: New file.
3036         * sysdeps/cris/wordcopy.c: New file.
3037
3038 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3039
3040         * elf/elf.h: Add new relocations for CRIS.
3041
3042 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3043
3044         * shlib-versions: Add cases for Linux on CRIS.
3045
3046 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3047
3048         * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
3049         ';' for comments and '@' for line separator.
3050
3051 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3052
3053         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
3054         typo; s/==/=/ for assignment.
3055
3056 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3057
3058         * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
3059
3060 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3061
3062         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
3063         empty input before checking full output.
3064
3065 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3066
3067         * iconv/gconv.c (__gconv): Don't derefer parameter cd before
3068         checking if == -1L.
3069
3070 2001-04-08  Ulrich Drepper  <drepper@redhat.com>
3071
3072         * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
3073
3074 2001-04-07  Stephen L Moshier  <moshier@mediaone.net>
3075
3076         * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
3077         return values.
3078
3079 2001-04-07  Ulrich Drepper  <drepper@redhat.com>
3080
3081         * stdlib/tst-setcontext.c (main): Add a test for setcontext.
3082
3083         * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
3084         * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
3085         * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
3086         * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
3087         * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
3088         * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
3089
3090 2001-04-07  Andreas Jaeger  <aj@suse.de>
3091
3092         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
3093         instead of separate sin and cos.
3094         (__ieee754_j1l): Likewise.
3095
3096 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
3097
3098         * sysdeps/ia64/abort-instr.h: New file.  Code by David Mosberger.
3099
3100         * sysdeps/ia64/atomicity.h: New file.  Copied from libstdc++.
3101
3102         * sysdeps/i386/i486/atomicity.h: Clean up the asms.
3103
3104         * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
3105         available.
3106         * sysdeps/generic/e_scalbf.c: Likewise.
3107         * sysdeps/generic/e_scalbl.c: Likewise.
3108         Patch by Mark Hatle <fray@mvista.com>.
3109
3110 2001-04-05  David S. Miller  <davem@redhat.com>
3111
3112         * sysdeps/sparc/abort-instr.h: New file.
3113
3114 2001-04-05  Matt Wilson  <msw@redhat.com>
3115
3116         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
3117         added code to parse new 2.4 format.
3118         (GET_NPROCS_CONF_PARSER): Likewise.
3119
3120 2001-04-05  David S. Miller  <davem@redhat.com>
3121
3122         * scripts/config.sub: Recognize sparcv9b like sparcv9.
3123         * configure.in: Add sparcv9b.
3124         * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
3125         * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
3126         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
3127
3128 2001-04-06  David Mosberger  <davidm@hpl.hp.com>
3129
3130         * stdlib/tst-setcontext.c: Move st2[] to global scope.
3131         (f2): Verify that stack pointer is inside st2[].
3132
3133         * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
3134         * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
3135
3136 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
3137
3138         * timezone/antarctica: Update from tzdata2001b.
3139         * timezone/asia: Likewise.
3140         * timezone/australasia: Likewise.
3141         * timezone/europe: Likewise.
3142         * timezone/northamerica: Likewise.
3143
3144         * iconv/iconv_open.c: Move strip and upstr definitions...
3145         * iconv/gconv_charset.h: ...here.  New file.
3146         * iconv/gconv_db.c (once): Move to file level.
3147         (do_lookup_alias): Split out from __gconv_find_transform.
3148         (__gconv_find_transform): Call do_lookup_alias.
3149         (__gconv_loopup_alias): New function.
3150         * locale/langinfo.h: Define _NL_*_CODESET values for all categories
3151         but LC_CTYPE.
3152         * locale/categories.def: Add entries for new _NL_*_CODESET values.
3153         * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
3154         * locale/C-address.c: Initialize _NL_*_CODESET element.
3155         * locale/C-collate.c: Likewise.
3156         * locale/C-identification.c: Likewise.
3157         * locale/C-measurement.c: Likewise.
3158         * locale/C-messages.c: Likewise.
3159         * locale/C-monetary.c: Likewise.
3160         * locale/C-name.c: Likewise.
3161         * locale/C-numeric.c: Likewise.
3162         * locale/C-paper.c: Likewise.
3163         * locale/C-telephone.c: Likewise.
3164         * locale/C-time.c: Likewise.
3165         * locale/localeinfo.h: Declare _nl_C_codeset.
3166         * locale/C_name.c: Define _nl_C_codeset.
3167         * locale/findlocale.c: Before accepting locale check that the used
3168         charset does not conflict with what the locale name said.
3169         * locale/programs/ld-address.c: Emit codeset information.
3170         * locale/programs/ld-collate.c: Likewise.
3171         * locale/programs/ld-identification.c: Likewise.
3172         * locale/programs/ld-measurement.c: Likewise.
3173         * locale/programs/ld-messages.c: Likewise.
3174         * locale/programs/ld-monetary.c: Likewise.
3175         * locale/programs/ld-name.c: Likewise.
3176         * locale/programs/ld-numeric.c: Likewise.
3177         * locale/programs/ld-paper.c: Likewise.
3178         * locale/programs/ld-telephone.c: Likewise.
3179         * locale/programs/ld-time.c: Likewise.
3180
3181         * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
3182         if the locale data couldn't be found.
3183
3184         * string/Makefile: Define tst-strxfrm-ENV.
3185
3186         * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
3187
3188 2001-04-06  Andreas Jaeger  <aj@suse.de>
3189
3190         * include/sys/profil.h: New file.
3191
3192         * dlfcn/modatexit.c: Add prototypes to silence GCC.
3193         * dlfcn/modcxaatexit.c: Likewise.
3194         * elf/globalmod1.c: Likewise.
3195
3196 2001-04-05  David S. Miller  <davem@redhat.com>
3197
3198         * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
3199         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
3200         capability flags table and HWCAP_IMPORTANT, increase
3201         _DL_HWCAP_COUNT to 6.
3202         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3203
3204 2001-04-04  David Mosberger  <davidm@hpl.hp.com>
3205
3206         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
3207         initialization of stack_end (bug reported by Zheng Gengbin
3208         <gzheng@students.uiuc.edu>).
3209
3210 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
3211
3212         * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
3213
3214 2001-04-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3215
3216         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
3217
3218 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
3219
3220         * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
3221         * sysdeps/i386/fpu/e_asinl.S: Removed.  Too inaccurate.
3222
3223         * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
3224
3225 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3226
3227         * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
3228         define simple replacements here.  Patch by Michael Keezer.
3229
3230         * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
3231         * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
3232         Contributed by Stephen L Moshier <moshier@mediaone.net>.
3233
3234         * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
3235         anymore.
3236
3237 2001-04-01  Andreas Jaeger  <aj@suse.de>
3238
3239         * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
3240         alias.
3241
3242         * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
3243
3244 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3245
3246         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
3247         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
3248
3249 2001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3250
3251         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
3252         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
3253         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
3254         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
3255         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
3256         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
3257         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
3258         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
3259         * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
3260
3261 2001-04-04  Andreas Jaeger  <aj@suse.de>
3262
3263         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
3264         place.
3265
3266 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3267
3268         * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
3269         * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
3270         * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
3271         (unsigned_dec): Likewise.
3272         Patch by atai@jezebel.dreamhost.com.
3273
3274         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
3275         pointer to int as last parameter of yp_match.
3276         Patch by kanazawa@flab.fujitsu.co.jp.
3277
3278 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
3279
3280         * resolv/netdb.h (gai_strerror): Make return value const.
3281         * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
3282         * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
3283         Add strings for new error values.
3284
3285 2001-03-29  Michael Keezer  <mkeezer@redhat.com>
3286
3287         * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
3288         * login/tst-utmp.c: Handle case where ut_tv is not available but
3289         ut_time is.
3290         * sysdeps/unix/sysv/aix/utmpx.h: New file.
3291         * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
3292         _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
3293         * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
3294         * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
3295         to access RTCU timer reg.
3296         * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
3297         added dl-libc, dl-open,dl-sym, dl-close to misc.
3298         * sysdeps/unix/sysv/aix/start.c: New file.  Start code.
3299         * sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
3300         * sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
3301         * sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
3302         * sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
3303         * sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
3304         * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
3305         GLIBC_2_2).
3306         * sysdeps/generic/strtoull.c: Likewise.
3307         * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
3308         * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
3309         sysdeps/generic/memset.c.
3310         * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
3311
3312 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
3313
3314         * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
3315         * locale/programs/charmap.c: Define null_pointer if
3316         NEED_NULL_POINTER is defined.
3317
3318         * misc/dirname.c (dirname): Handle multiple slashes correctly.
3319
3320 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3321
3322         * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
3323
3324 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3325
3326         * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
3327         * sysdeps/s390/s390-64/bcopy.S: Likewise.
3328         * sysdeps/s390/s390-32/mempcy.S: Likewise.
3329         * sysdeps/s390/s390-64/memcpy.S: Likewise.
3330
3331 2001-04-02  Bruno Haible  <haible@clisp.cons.org>
3332
3333         * manual/message.texi (Advanced gettext functions): More specific
3334         syntax in the plural formula examples.
3335
3336 2001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3337
3338         * sysdeps/powerpc/atomicity.h: Silence warnings.
3339         * sysdeps/powerpc/dl-machine.h: Likewise.
3340         * sysdeps/powerpc/register-dump.h: Likewise.
3341         * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
3342
3343 2001-04-02  Andreas Jaeger  <aj@suse.de>
3344
3345         * misc/tst-dirname.c (main): Add more tests, derived from a bug
3346         report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
3347
3348 2001-04-01  Andreas Jaeger  <aj@suse.de>
3349
3350         * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
3351         is installed there.
3352         * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
3353
3354 2001-04-01  H.J. Lu  <hjl@gnu.org>
3355
3356         * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
3357         tmpnam (NULL).
3358         * stdlib/isomac.c (macrofile): Likewise.
3359
3360 2001-03-30  Thorsten Kukuk  <kukuk@suse.de>
3361
3362         * inet/rcmd.c: Allow AF_UNSPEC as parameter.
3363         * nis/ypclnt.c (yp_all): Print error message only at last try,
3364         check for protocoll error only if we don't have a network error.
3365
3366 2001-04-02  Andreas Schwab  <schwab@suse.de>
3367
3368         * resolv/res_data.c (res_isourserver): Fix cast.
3369
3370 2001-04-02  Andreas Jaeger  <aj@suse.de>
3371
3372         * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
3373         __umount2.
3374
3375         * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
3376         strings.
3377         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
3378
3379         * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
3380         initializers.
3381         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
3382
3383         * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
3384         warning about unused variable.
3385
3386         * string/string.h (strndupa): Add cast for C++ conformance.
3387         (strdupa): Likewise.
3388         Fixes PR libc/2173, reported by tbrowder@home.com.
3389
3390 2001-03-30  Roland McGrath  <roland@frob.com>
3391
3392         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
3393         options after $(build-module), which is no longer a single command.
3394         (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
3395         (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
3396         variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
3397
3398 2001-03-11  Roland McGrath  <roland@frob.com>
3399
3400         * elf/rtld.c (dl_main): Add cast to quiet warning.
3401         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3402         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
3403         (__gconv_read_conf): Likewise.
3404         * iconv/gconv_db.c (gen_steps): Likewise.
3405         (__gconv_find_transform): Likewise.
3406         * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
3407         (fopen_uncompressed): Use const in second argument's type.
3408
3409 2001-03-11  Roland McGrath  <roland@frob.com>
3410
3411         * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
3412
3413         * mach/mach_error.h: Fix ancient #endif syntax.
3414         * hurd/hurdmalloc.c: Likewise.
3415
3416         * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
3417         compare_and_swap): Add volatile qualifier to first arg, to bring
3418         these prototypes in line with all the other implementations.
3419         Add a #warning to remind the builder that these are not atomic.
3420
3421 2001-03-04  Roland McGrath  <roland@frob.com>
3422
3423         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
3424         member of TEMP_F so its type is _IO_FILE * as expected.
3425
3426         * hurd/fopenport.c (seekio): Conditionalize type of POS argument
3427         on [USE_IN_LIBIO].  Check the value for overflow, since for libio
3428         it might exceed off_t's range.
3429
3430 2001-02-25  Roland McGrath  <roland@frob.com>
3431
3432         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
3433         * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
3434
3435         * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
3436         macro instead of an inline function,
3437         (MSG_EXAMINE): Likewise.
3438
3439         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
3440
3441         * hurd/get-host.c: Include <string.h> for decls of built-ins.
3442         * hurd/hurdchdir.c: Likewise.
3443         * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
3444         * sysdeps/mach/hurd/opendir.c: Likewise.
3445
3446         * mach/mach_init.c: Include <unistd.h> for _exit decl.
3447
3448         * mach/errsystems.awk: Give output file a trailing newline.
3449
3450         * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
3451         the script will use our compiler for the cpp stage.
3452
3453         With --enable-all-warnings we get a whole bunch of warnings,
3454         and these are just a few fixes; there are more needed to silence it.
3455         * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
3456         decls before extern inline defns to quiet gcc warning.
3457         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
3458         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
3459
3460 2001-03-31  Andreas Jaeger  <aj@suse.de>
3461
3462         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
3463         (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
3464         (ARPHRD_CISCO): New.
3465         Changes from Linux 2.4.3.
3466
3467 2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
3468
3469         * posix/regex.c: Avoid an access violation if malloc fails.
3470
3471 2001-03-30  Andreas Jaeger  <aj@suse.de>
3472
3473         * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
3474
3475 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
3476
3477         * posix/regex.c: Remove unnecessary ifs.
3478
3479         * math/bits/mathcalls.h: Remove infnan declaration.
3480
3481 2001-03-29  H.J. Lu  <hjl@gnu.org>
3482
3483         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
3484         and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
3485         * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
3486
3487 2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
3488
3489         * posix/regex.c: Fix typo and add a sentinel.
3490
3491 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
3492
3493         * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
3494         O_NOFOLLOW.  Suggested by Christoph Roland.
3495
3496 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3497
3498         * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
3499         * sysdeps/s390/s390-32/bits/string.h: Remove.
3500         * sysdeps/s390/s390-64/bits/string.h: Remove.
3501         * sysdeps/s390/s390-32/strcmp.S: New file.
3502         * sysdeps/s390/s390-64/strcmp.S: New file.
3503
3504 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3505
3506         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
3507         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3508
3509 2001-03-27  Ulrich Drepper  <drepper@redhat.com>
3510
3511         * version.h (VERSION): Bump to 2.2.3.
3512
3513         * stdlib/isomac.c (fmt): Don't define _LIBC.
3514         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
3515         LOW_HALF only if _LIBC is defined.
3516
3517         * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
3518
3519         * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
3520         and +().
3521         * posix/tst-fnmatch.input: Add test cases for matching empty strings.
3522
3523         * sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
3524         * include/endian.h: ...to here.
3525
3526 2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
3527
3528         * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
3529         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
3530
3531 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3532
3533         * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
3534
3535 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
3536
3537         * sysdeps/ia64/fpu/Dist: Add new files to distribute.
3538         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
3539         * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
3540
3541         * gmon/Makefile (headers): Add sys/profil.h.
3542
3543 2001-03-18  Andreas Jaeger  <aj@suse.de>
3544
3545         * manual/install.texi (Tools for Compilation): Advise to use GCC
3546         2.95.3.
3547         (Supported Configurations): Mention s390x.
3548
3549 2001-03-26  Ben Collins  <bcollins@debian.org>
3550
3551         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
3552         defines to match other architectures.
3553
3554 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
3555
3556         * libio/Makefile (tests): Add tst-ext.
3557         * libio/tst-ext.c: New file.
3558
3559         * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
3560
3561 2001-03-25  Ulrich Drepper  <drepper@redhat.com>
3562
3563         Add changes which were in this form in the original patch by
3564         Eric Norum <eric.norum@usask.ca>.
3565         * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
3566         svc_max_pollfd.
3567         * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
3568         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3569         __rpc_thread_svc_max_pollfd.
3570         Define svc_fdset, get_rpc_createerr, svc_pollfd, and
3571         svc_max_pollfd.
3572         * sunrpc/rpc_thread.c: Handle first thread special, it uses the
3573         global variables.
3574         Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
3575         __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
3576         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
3577         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3578         __rpc_thread_svc_max_pollfd.
3579         * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
3580         get_rpc_createerr.
3581         * sunrpc/clnt_perr.c: Likewise.
3582         * sunrpc/clnt_simp.c: Likewise.
3583         * sunrpc/clnt_tcp.c: Likewise.
3584         * sunrpc/clnt_udp.c: Likewise.
3585         * sunrpc/clnt_unix.c: Likewise.
3586         * sunrpc/pm_getport.c: Likewise.
3587
3588         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
3589         syscall checks for negative n so don't test here as well.
3590
3591 2001-03-23  Jes Sorensen  <jes@linuxcare.com>
3592
3593         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
3594         * sysdeps/ia64/sysdep.h: ...here.
3595
3596         * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
3597         * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
3598
3599         * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
3600         declare instead of LEAF().  Suggestion from David Mosberger.
3601
3602 2001-03-21  David Mosberger  <davidm@hpl.hp.com>
3603
3604         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
3605         directives.
3606         (PSEUDO): Drop .psr and .lsb directives.
3607
3608         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
3609         directives.
3610         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
3611
3612         * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
3613         directives etc.
3614         * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
3615         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
3616         * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
3617         longer needed).  Add unwind directives.
3618
3619         * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
3620         ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
3621
3622 2001-03-21  Paul Eggert  <eggert@twinsun.com>
3623
3624         * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
3625         (RE_SYNTAX_POSIX_EGREP): Use it.
3626         * posix/regex.c (regex_compile): Implement it.
3627
3628 2001-03-21  Paul Eggert  <eggert@twinsun.com>
3629
3630         * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
3631         Rewrite to avoid duplicate code.
3632
3633 2001-03-21  H.J. Lu  <hjl@gnu.org>
3634
3635         * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
3636         for cross-compiling.
3637         ($(objpfx)tst-pathopt.out): Undo the last change.
3638
3639 2001-03-24  Mark Kettenis  <kettenis@gnu.org>
3640
3641         * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
3642         sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
3643
3644         * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
3645         (_dl_argv): Declare.
3646         (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
3647
3648 2001-03-22  Andreas Jaeger  <aj@suse.de>
3649
3650         * iconvdata/Makefile (generated): Add iconv-test.xxx.
3651
3652         * posix/Makefile (generated): Add bug-regex2.mtrace and
3653         bug-regex2-mem.
3654
3655 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
3656
3657         * csu/version.c (__gnu_get_libc_release): Add prototype.
3658         (__gnu_get_libc_version): Likewise.
3659         * include/gnu/libc-version.h: Remove prototypes for not exported
3660         functions.
3661
3662 2001-03-21  Jes Sorensen  <jes@linuxcare.com>
3663
3664         * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
3665         for internationalized printfs to work.
3666
3667 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
3668
3669         * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
3670         avoid compiler warning.
3671         (_nl_find_msg): Add casts to avoid compiler warnings.
3672
3673 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
3674
3675         * gmon/Makefile (routines): Add sprofil.
3676         (tests): Add tst-sprofil.
3677         (noprof): Add sprofil.
3678         * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
3679
3680 2001-03-20  David Mosberger  <davidm@hpl.hp.com>
3681
3682         * sysdeps/generic/sprofil.c: New file.
3683         * sysdeps/posix/sprofil.c: New file.
3684         * gmon/tst-sprofil.c: New file.
3685         * gmon/sys/profil.h: New file.
3686
3687 2001-03-20  Andreas Schwab  <schwab@suse.de>
3688
3689         * include/unistd.h: Adjust prototype of __gethostname.
3690
3691 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
3692
3693         * sysdeps/sparc/stackinfo.h: New file.
3694
3695 2001-03-21  Andreas Jaeger  <aj@suse.de>
3696
3697         * elf/global.c (main): Use proper prototype.
3698
3699 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
3700
3701         * sunrpc/Makefile (routines): Add rpc_thread.
3702         (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
3703         * sunrpc/rpc_thread.c: New file.
3704         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
3705         * sunrpc/auth_none.c: Don't use global variables.  Access state in
3706         thread-local storage.
3707         * sunrpc/clnt_perr.c: Likewise.
3708         * sunrpc/clnt_raw.c: Likewise.
3709         * sunrpc/clnt_simp.c: Likewise.
3710         * sunrpc/key_call.c: Likewise.
3711         * sunrpc/rpc_common.c: Likewise.
3712         * sunrpc/svc.c: Likewise.
3713         * sunrpc/svc_raw.c: Likewise.
3714         * sunrpc/svc_simple.c: Likewise.
3715         * sunrpc/svcauth_des.c: Likewise.
3716         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3717         _HURD_THREADVAR_RPC_VARS.
3718         * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
3719         * include/rpc/rpc.h: Define data structures for internal thread-local
3720         "global" variables.
3721         Based on patches by Eric Norum <eric.norum@usask.ca>.
3722
3723         * elf/dl-load.c: Various little optimizations.
3724
3725         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
3726         LINUX_LINK_MAX only if the statfs function is not implemented for
3727         the filesystem.
3728
3729         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
3730         LINUX_LINK_MAX only if the fstatfs function is not implemented for
3731         the filesystem.
3732
3733 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3734
3735         * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
3736
3737         * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
3738         (_dl_dst_substitute): Likewise.
3739
3740 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3741
3742         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
3743
3744 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3745
3746         * intl/gettextP.h (struct expression): Add operators lnot, less_than,
3747         greater_than, less_or_equal, greater_or_equal.  Replace args2/args3
3748         union by a 'nargs' counter and an 'args[]' array.
3749         * intl/plural.y: Don't include stdarg.h.
3750         (new_exp): Take an array of arguments instead of varargs.
3751         (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
3752         ('?' ':'): Make right-associative.
3753         (EQUOP2): New token, replaces '=' and '!'.
3754         (CMPOP2): New token.
3755         (ADDOP2): New token, replaces '+' and '-'.
3756         (MULOP2): New token, replaces '*', '/' and '%'.
3757         ('!'): New token.
3758         (exp): Add rules for CMPOP2 and '!'.  Don't call YYABORT.
3759         (start): Call YYABORT here.
3760         (FREE_EXPRESSION): Update.
3761         (yylex): Don't skip "\\n".  Recognize comparison and '!' operators.
3762         Update for new token symbols.
3763         * intl/loadmsgcat.c (plvar, plone, germanic_plural,
3764         init_germanic_plural): Update.
3765         * intl/dcigettext.c (_nl_find_msg): Optimize for space.
3766         (plural_eval): Recognize comparison and '!' operators.  Optimize for
3767         space.
3768
3769 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
3770
3771         * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
3772         NULL any more.
3773
3774 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3775
3776         * intl/loadmsgcat.c: Include headers needed for alloca().
3777         (freea): New macro.
3778         (_nl_load_domain): Add fallback code for platforms lacking alloca.
3779         * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
3780         (freea): New macro.
3781         (read_alias_file): Simplify fallback code for platforms lacking
3782         alloca.
3783
3784 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
3785
3786         * intl/gettextP.h (__gettextdebug): Remove declaration.
3787         (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
3788         syntax.
3789         (gettext_free_exp__, gettextparse__): New non-libc declarations.
3790         * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
3791         not __gettextparse, __gettext_free_exp.
3792         * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
3793
3794 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
3795
3796         * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
3797
3798 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3799
3800         * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
3801         lacking strtoul, like SunOS4.
3802
3803 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3804
3805         * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
3806
3807 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3808
3809         * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
3810         syntax.
3811         * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
3812         * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
3813         * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
3814         syntax.
3815
3816 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
3817
3818         * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
3819         bindtextdomain__, bind_textdomain_codeset__): New declarations, from
3820         old libgettext.h.
3821         * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
3822         * intl/dcgettext.c: Likewise.
3823         * intl/dcigettext.c: Likewise.
3824         * intl/dcngettext.c: Likewise.
3825         * intl/dngettext.c: Likewise.
3826         * intl/finddomain.c: Likewise.
3827         * intl/ngettext.c: Likewise.
3828         * intl/textdomain.c: Likewise.
3829         * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
3830         Include gettextP.h.
3831         * intl/gettext.c: Likewise.  Don't include locale.h.
3832
3833 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3834
3835         * intl/gettextP.h (ZERO): New macro.
3836         (struct binding): Always use ZERO.
3837         * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
3838         lack it, like SunOS4.
3839         (set_binding_values): Use offsetof, not sizeof.
3840         * intl/dcigettext.c (offsetof): Provide fallback for platforms that
3841         lack it, like SunOS4.
3842         (ZERO): Remove macro.
3843         (struct transmem_list): Use ZERO.
3844         (DCIGETTEXT): Use offsetof, not sizeof.
3845
3846 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3847
3848         * intl/gettextP.h: Include <stddef.h>.  Include gettext.h, for
3849         nls_uint32.
3850         * intl/bindtextdom.c: Don't include gettext.h.
3851         * intl/dcgettext.c: Likewise.
3852         * intl/dcigettext.c: Likewise.
3853         * intl/dcngettext.c: Likewise.
3854         * intl/dngettext.c: Likewise.
3855         * intl/finddomain.c: Likewise.
3856         * intl/localealias.c: Likewise.
3857         * intl/ngettext.c: Likewise.
3858         * intl/plural.y: Likewise.
3859         * intl/textdomain.c: Likewise.
3860
3861 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3862
3863         * intl/gettext.h: Don't include <stdio.h>.
3864
3865 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3866
3867         * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
3868         * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
3869
3870 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3871
3872         * sysdeps/unix/i386/i686/tempname.c: New file.
3873
3874         * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
3875         defined use this macro to get some bits of randomness instead of
3876         the usual gettimeofday or time calls.
3877
3878 2001-03-16  Paul Eggert  <eggert@twinsun.com>
3879
3880         * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
3881         not defined, and if UINT64_MAX is not defined.
3882
3883 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3884
3885         * elf/cache.c: Mark and have translated a few more messages.
3886
3887 2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3888
3889         * elf/cache.c: Add case for FLAG_S390_LIB64.
3890         * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
3891         * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
3892         * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
3893
3894 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3895
3896         * string/Makefile (tests): Add tst-strxfrm.
3897         * string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
3898         * string/Depend: New file.
3899
3900 2001-03-19  Paul Eggert  <eggert@twinsun.com>
3901
3902         * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
3903         when given the empty string in nontrivial locales.
3904
3905 2001-03-17  H.J. Lu  <hjl@gnu.org>
3906
3907         * manual/Makefile (install): Use $(INSTALL_DATA) instead of
3908         cp to install `dir'.
3909
3910 2001-03-19  Andreas Schwab  <schwab@suse.de>
3911
3912         * Makerules (build-shlib): Make sure exit codes get checked
3913         properly.
3914
3915 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
3916
3917         * Makerules (build-shlib): Remove unnecessary slashes introduced in
3918         last change.
3919
3920         * configure.in: Test for -Bgroup option of linker.
3921         * config.make.in: Define have-Bgroup.
3922
3923         * conform/data/unistd.h-data: Require gethostname.
3924         * posix/unistd.h: Make gethostname prototype available for
3925         __USE_XOPEN2K.
3926
3927         * crypt/Makefile: When generating DSO link with libc_nonshared.a.
3928         * debug/Makefile: Likewise.
3929         * dlfcn/Makefile: Likewise.
3930         * hesiod/Makefile: Likewise.
3931         * iconvdata/extra-module.mk: Likewise.
3932         * locale/Makefile: Likewise.
3933         * login/Makefile: Likewise.
3934         * math/Makefile: Likewise.
3935         * nis/Makefile: Likewise.
3936         * nss/Makefile: Likewise.
3937         * resolv/Makefile: Likewise.
3938         * rt/Makefile: Likewise.
3939
3940 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
3941
3942         * inet/Makefile (tests): Remove left-over comment.
3943
3944         * posix/unistd.h (gethostname): Change type of second parameter
3945         back to size_t as per upcoming XPG6.
3946         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
3947         parameter back to size_t as per upcoming XPG6.
3948         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
3949         * sysdeps/unix/sysv/gethostname.c: Likewise.
3950         * sysdeps/mach/hurd/gethostname.c: Likewise.
3951         * sysdeps/generic/gethostname.c: Likewise.
3952
3953 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
3954
3955         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3956         Handle NaN here.
3957
3958         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
3959         Internationalize.
3960
3961 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
3962
3963         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
3964         looking for name matches.
3965
3966 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
3967
3968         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
3969         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
3970         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
3971         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3972         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
3973         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
3974         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
3975         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
3976         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
3977         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
3978         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
3979         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
3980
3981 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
3982
3983         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
3984         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3985
3986         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
3987         erfcl.
3988         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3989
3990 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
3991
3992         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
3993         Drop hack that was needed for 2.1.1 kernel headers.
3994
3995         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
3996
3997         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
3998         overlay with kernel's "struct sigcontext".
3999
4000         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
4001         sys/rse.h for "misc" subdir.
4002         (sysdep_routines): Add __start_context for "stdlib" subdir.
4003
4004         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
4005         kernel file of the same name).
4006
4007         * stdlib/Makefile (tests): Add tst-setcontext.
4008         * stdlib/tst-setcontext.c: New file (based on a sample program by
4009         Uli Drepper).
4010
4011         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
4012         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
4013         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
4014         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
4015         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
4016
4017         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
4018         instead of shift & and.
4019
4020 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4021
4022         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
4023         * sysdeps/s390/bits/huge_val.h: ...here.
4024         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
4025         * sysdeps/s390/s390-64/ffs.c: Move to...
4026         * sysdeps/s390/ffs.c: ...here.
4027         * sysdeps/s390/s390-32/ffs.c: Remove.
4028
4029 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
4030
4031         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
4032         update osversion from more recent library.
4033
4034 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4035
4036         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
4037         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
4038         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
4039         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
4040         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
4041         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
4042         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
4043         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
4044         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
4045         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
4046         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
4047         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
4048         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
4049         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
4050         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
4051         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
4052         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
4053         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
4054         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
4055         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
4056         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
4057         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
4058         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
4059         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
4060         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
4061         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
4062         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
4063         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
4064         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
4065         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
4066         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
4067         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
4068         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
4069         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
4070         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
4071         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
4072         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
4073         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
4074         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
4075         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
4076         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
4077         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
4078         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
4079         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
4080         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
4081         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
4082         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
4083         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
4084         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
4085         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
4086         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
4087         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
4088         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
4089         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
4090         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
4091         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
4092         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
4093         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
4094         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
4095         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
4096         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
4097         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
4098         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
4099         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
4100         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
4101         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
4102         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
4103         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
4104         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
4105         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
4106         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
4107         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
4108         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
4109         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
4110         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
4111         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
4112         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
4113         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
4114         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
4115         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
4116         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
4117         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
4118         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
4119         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
4120         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
4121         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
4122         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
4123         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
4124         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
4125         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
4126         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
4127         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
4128         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
4129         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
4130         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
4131         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
4132         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
4133         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
4134         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
4135         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
4136         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
4137         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
4138         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
4139         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
4140         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
4141         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
4142         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
4143         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
4144         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4145         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
4146         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
4147         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
4148         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
4149         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
4150
4151 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4152
4153         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
4154         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
4155         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
4156         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
4157         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
4158         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
4159         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
4160         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
4161         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
4162         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
4163         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
4164         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
4165         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
4166         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
4167         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
4168         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
4169         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
4170         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
4171         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
4172         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
4173         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
4174         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
4175         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
4176         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
4177         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
4178         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
4179         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
4180         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
4181         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
4182         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
4183         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
4184         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
4185         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
4186         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
4187         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
4188         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
4189         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
4190         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
4191         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
4192         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
4193         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
4194         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
4195         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
4196         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
4197         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
4198         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
4199         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
4200         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
4201         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
4202         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
4203         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
4204         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
4205         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
4206
4207 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4208
4209         * sysdeps/s390/Dist: Move to...
4210         * sysdeps/s390/390-32/Dist: ...here.
4211         * sysdeps/s390/Implies: Move to...
4212         * sysdeps/s390/s390-32/Implies: ...here.
4213         * sysdeps/s390/Makefile: Move to...
4214         * sysdeps/s390/s390-32/Makefile: ...here.
4215         * sysdeps/s390/Versions: Move to...
4216         * sysdeps/s390-32/s390/Versions: ...here.
4217         * sysdeps/s390/add_n.S: Move to...
4218         * sysdeps/s390/s390-32/add_n.S: ...here.
4219         * sysdeps/s390/addmul_1.S: Move to...
4220         * sysdeps/s390/s390-32/addmul_1.S: ...here.
4221         * sysdeps/s390/atomicity.h: Move to...
4222         * sysdeps/s390/s390-32/atomicity.h: ...here.
4223         * sysdeps/s390/backtrace.c: Move to...
4224         * sysdeps/s390/s390-32/backtrace.c: ...here.
4225         * sysdeps/s390/bcopy.S: Move to...
4226         * sysdeps/s390/s390-32/bcopy.S: ...here.
4227         * sysdeps/s390/bits/byteswap.h: Move to...
4228         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
4229         * sysdeps/s390/bits/huge_val.h: Move to...
4230         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
4231         * sysdeps/s390/bsd-_setjmp.S: Move to...
4232         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
4233         * sysdeps/s390/bsd-setjmp.S: Move to...
4234         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
4235         * sysdeps/s390/bzero.S: Move to...
4236         * sysdeps/s390/s390-32/bzero.S: ...here.
4237         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
4238         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
4239         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
4240         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
4241         * sysdeps/s390/elf/start.S: Move to...
4242         * sysdeps/s390/s390-32/elf/start.S: ...here.
4243         * sysdeps/s390/ffs.c: Move to...
4244         * sysdeps/s390/s390-32/ffs.c: ...here.
4245         * sysdeps/s390/memchr.S: Move to...
4246         * sysdeps/s390/s390-32/memchr.S: ...here.
4247         * sysdeps/s390/memcpy.S: Move to...
4248         * sysdeps/s390/s390-32/memcpy.S: ...here.
4249         * sysdeps/s390/memset.S: Move to...
4250         * sysdeps/s390/s390-32/memset.S: ...here.
4251         * sysdeps/s390/mul_1.S: Move to...
4252         * sysdeps/s390/s390-32/mul_1.S: ...here.
4253         * sysdeps/s390/s390-mcount.S: Move to...
4254         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
4255         * sysdeps/s390/strcpy.S: Move to...
4256         * sysdeps/s390/s390-32/strcpy.S: ...here.
4257         * sysdeps/s390/strncpy.S: Move to...
4258         * sysdeps/s390/s390-32/strncpy.S: ...here.
4259         * sysdeps/s390/sub_n.S: Move to...
4260         * sysdeps/s390/s390-32/sub_n.S: ...here.
4261
4262 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4263
4264         * sysdeps/s390/s390-64/Dist: New file.
4265         * sysdeps/s390/s390-64/Implies: New file.
4266         * sysdeps/s390/s390-64/Makefile: New file.
4267         * sysdeps/s390/s390-64/__longjmp.c: New file.
4268         * sysdeps/s390/s390-64/add_n.S: New file.
4269         * sysdeps/s390/s390-64/atomicity.h: New file.
4270         * sysdeps/s390/s390-64/backtrace.c: New file.
4271         * sysdeps/s390/s390-64/bcopy.S: New file.
4272         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
4273         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
4274         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
4275         * sysdeps/s390/s390-64/bits/string.h: New file.
4276         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
4277         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
4278         * sysdeps/s390/s390-64/bzero.S: New file.
4279         * sysdeps/s390/s390-64/dl-machine.h: New file.
4280         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
4281         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
4282         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
4283         * sysdeps/s390/s390-64/elf/start.S: New file.
4284         * sysdeps/s390/s390-64/ffs.c: New file.
4285         * sysdeps/s390/s390-64/initfini.c: New file.
4286         * sysdeps/s390/s390-64/memchr.S: New file.
4287         * sysdeps/s390/s390-64/memcpy.S: New file.
4288         * sysdeps/s390/s390-64/memset.S: New file.
4289         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
4290         * sysdeps/s390/s390-64/setjmp.S: New file.
4291         * sysdeps/s390/s390-64/strcpy.S: New file.
4292         * sysdeps/s390/s390-64/strncpy.S: New file.
4293         * sysdeps/s390/s390-64/sub_n.S: New file.
4294         * sysdeps/s390/s390-64/sysdep.h: New file.
4295
4296 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4297
4298         * scripts/config.guess: Add support for Linux on 64 bit S/390.
4299         * scripts/config.sub: Likewise.
4300
4301 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4302
4303         * configure.in: Add support for 64 bit S/390.
4304
4305         * elf/elf.h: Add new relocations for 64 bit S/390.
4306
4307         * shlib-versions: Add rules for Linux on 64 bit S/390.
4308
4309 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4310
4311         * sysdeps/s390/__longjmp.c: Move to...
4312         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
4313         to load the floating point registers that should be saved
4314         according to the ABI.
4315
4316         * sysdeps/s390/bits/setjmp.h: Move to...
4317         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
4318         the use of long long in the __jmp_buf type definition.
4319
4320         * sysdeps/s390/bits/string.h: Move to...
4321         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
4322         #ifndef _FORCE_INLINES.
4323
4324         * sysdeps/s390/dl-machine.h: Move to...
4325         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
4326         executables EI_CLASS in elf_machine_matches_host.
4327
4328         * sysdeps/s390/elf/setjmp.S: Move to...
4329         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
4330         branches to globally defined symbol __sigsetjmp by branches to
4331         a local label (this avoids the generation of a R_390_PC16DBL
4332         relocation in -fpic code).
4333
4334         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
4335         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
4336
4337         * sysdeps/s390/initfini.c: Move to...
4338         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
4339         ".align 4,0x07".
4340
4341         * sysdeps/s390/setjmp.S: Move to...
4342         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
4343         floating point registers that should be saved according to the ABI.
4344
4345         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
4346
4347         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4348         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.  Include
4349         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
4350
4351 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4352
4353         * configure.in: Change machine=s390 to machine=s390/s390-32.
4354
4355         * elf/elf.h: Correct comment for R_390_PLT16DBL.
4356
4357 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
4358
4359         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
4360         version to be overriden from config.h.
4361         * csu/abi-note.S: Use OS and version separately, include config.h.
4362         * elf/dl-load.c (_dl_osversion): New.
4363         (_dl_map_object_from_fd): Kill some warnings.
4364         (open_verify): Check .note.ABI-tag of the library if present.
4365         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
4366         * elf/cache.c (struct cache_entry): Add osversion.
4367         (print_entry): Print osversion.
4368         (print_cache): Pass osversion to it.
4369         (compare): Sort according to osversion.
4370         (save_cache): Set osversion.
4371         (add_to_cache): Add osversion argument.
4372         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
4373         process_elf_file): Add osversion argument.
4374         * elf/readlib.c (process_file): Likewise.
4375         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
4376         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
4377         process_elf32_file, process_elf64_file): Likewise.
4378         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
4379         process_elf32_file, process_elf64_file): Likewise.
4380         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
4381         process_elf32_file, process_elf64_file): Likewise.
4382         * elf/ldconfig.c (manual_link): Pass it.
4383         (search_dir): Issue diagnostic if two libs with the same soname in
4384         the same directory have different .note.ABI-tag.  Record osversion in
4385         dlib_entry and use it from there.
4386         (struct lib_entry): Remove.
4387         (struct dlib_entry): Add osversion.
4388         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
4389         osversion.
4390         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
4391         field with osversion.
4392         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
4393         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
4394         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
4395         version in _dl_osversion.
4396         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
4397         * Makerules (build-shlib-helper, build-module-helper): New.
4398         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
4399         early.
4400         * config.h.in (__ABI_TAG_VERSION): Add.
4401         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
4402         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
4403         Handle LD_ASSUME_KERNEL.
4404         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
4405
4406 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
4407
4408         * timezone/antarctica: Update from tzdata2001a.
4409         * timezone/asia: Likewise.
4410         * timezone/australasia: Likewise.
4411         * timezone/backward: Likewise.
4412         * timezone/etcetera: Likewise.
4413         * timezone/europe: Likewise.
4414         * timezone/leapseconds: Likewise.
4415         * timezone/northamerica: Likewise.
4416         * timezone/southamerica: Likewise.
4417         * timezone/systemv: Likewise.
4418         * timezone/yearistype: Likewise.
4419         * timezone/zone.tab: Likewise.
4420         * timezone/tzdump.c: Update from tzcode2001a.
4421
4422 2001-03-15  H.J. Lu  <hjl@gnu.org>
4423
4424         * intl/Makefile: Fix a typo.
4425
4426 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
4427
4428         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
4429         writing arc structures.
4430
4431 2001-03-15  H.J. Lu  <hjl@gnu.org>
4432
4433         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
4434         cross-compiling.
4435
4436 2001-03-13  Andreas Schwab  <schwab@suse.de>
4437
4438         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
4439
4440 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
4441
4442         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
4443         for control message fitting into message data.
4444         Patch by James Antill <james@and.org>.
4445
4446         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
4447         FNM_EXTMATCH.
4448
4449         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
4450         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
4451
4452         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
4453         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
4454         avoid running binaries with libc versions without FNM_EXTMATCH support.
4455
4456         * include/wchar.h: Add prototype for __wcscat.
4457         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
4458
4459         * posix/fnmatch.h (FNM_EXTMATCH): Define.
4460         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
4461         (posixly_correct): Move global variable here.
4462         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
4463         (fnmatch): Pretty printing.
4464         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
4465         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
4466         * posix/tst-fnmatch.input: Add tests for extended matching.
4467
4468         * posix/testfnm.c: Add test for patterns with multiple ** before /.
4469         * posix/fnmatch_loop.c: Fix problem with the test above.
4470
4471 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
4472
4473         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
4474         reference to usqrt.
4475
4476         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
4477
4478 2001-03-12  Andreas Jaeger  <aj@suse.de>
4479
4480         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4481         Use EM_X86_64 instead of EM_X8664.
4482
4483 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
4484
4485         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
4486
4487         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
4488         conditions.
4489
4490         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
4491         conditions.
4492
4493         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
4494         correctly.
4495         (__cos): Likewise.
4496
4497         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
4498         correctly.
4499         (__ieee754_acos): Likewise.
4500
4501 2001-03-12  Andreas Jaeger  <aj@suse.de>
4502
4503         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
4504         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
4505
4506         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
4507         redefinition.
4508
4509 2001-03-11  Roland McGrath  <roland@frob.com>
4510
4511         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
4512
4513 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
4514
4515         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
4516         LITTLE_ENDI.
4517
4518         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
4519         parameter list.
4520
4521         Last-bit accurate math library implementation by IBM Haifa.
4522         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
4523         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
4524         Anna Reitman <reitman@il.ibm.com>.
4525         * math/Makefile (dbl-only-routines): New variable.
4526         (libm-routines): Add $(dbl-only-routines).
4527         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
4528         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
4529         implementation.
4530         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
4531         implementation.
4532         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
4533         implementation.
4534         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
4535         __kernel_cos.
4536         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
4537         implementation.
4538         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
4539         remainder implementation.
4540         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
4541         implementation.
4542         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
4543         implementation.
4544         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
4545         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
4546         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
4547         implementation.
4548         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
4549         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
4550         implementation.
4551         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
4552         and __kernel_cos.
4553         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
4554         implementation.
4555         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
4556         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
4557         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
4558         * sysdeps/ieee754/dbl-64/atnat.h: New file.
4559         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
4560         * sysdeps/ieee754/dbl-64/branred.c: New file.
4561         * sysdeps/ieee754/dbl-64/branred.h: New file.
4562         * sysdeps/ieee754/dbl-64/dla.h: New file.
4563         * sysdeps/ieee754/dbl-64/doasin.c: New file.
4564         * sysdeps/ieee754/dbl-64/doasin.h: New file.
4565         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
4566         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
4567         * sysdeps/ieee754/dbl-64/endian.h: New file.
4568         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
4569         * sysdeps/ieee754/dbl-64/mpa.c: New file.
4570         * sysdeps/ieee754/dbl-64/mpa.h: New file.
4571         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
4572         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
4573         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
4574         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
4575         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
4576         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
4577         * sysdeps/ieee754/dbl-64/mplog.c: New file.
4578         * sysdeps/ieee754/dbl-64/mplog.h: New file.
4579         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
4580         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
4581         * sysdeps/ieee754/dbl-64/mptan.c: New file.
4582         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
4583         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
4584         * sysdeps/ieee754/dbl-64/root.tbl: New file.
4585         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
4586         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
4587         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
4588         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
4589         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
4590         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
4591         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
4592         * sysdeps/ieee754/dbl-64/uexp.h: New file.
4593         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
4594         * sysdeps/ieee754/dbl-64/ulog.h: New file.
4595         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
4596         * sysdeps/ieee754/dbl-64/upow.h: New file.
4597         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
4598         * sysdeps/ieee754/dbl-64/urem.h: New file.
4599         * sysdeps/ieee754/dbl-64/uroot.h: New file.
4600         * sysdeps/ieee754/dbl-64/usncs.h: New file.
4601         * sysdeps/ieee754/dbl-64/utan.h: New file.
4602         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
4603         * sysdeps/i386/fpu/branred.c: New file.
4604         * sysdeps/i386/fpu/doasin.c: New file.
4605         * sysdeps/i386/fpu/dosincos.c: New file.
4606         * sysdeps/i386/fpu/halfulp.c: New file.
4607         * sysdeps/i386/fpu/mpa.c: New file.
4608         * sysdeps/i386/fpu/mpatan.c: New file.
4609         * sysdeps/i386/fpu/mpatan2.c: New file.
4610         * sysdeps/i386/fpu/mpexp.c: New file.
4611         * sysdeps/i386/fpu/mplog.c: New file.
4612         * sysdeps/i386/fpu/mpsqrt.c: New file.
4613         * sysdeps/i386/fpu/mptan.c: New file.
4614         * sysdeps/i386/fpu/sincos32.c: New file.
4615         * sysdeps/i386/fpu/slowexp.c: New file.
4616         * sysdeps/i386/fpu/slowpow.c: New file.
4617         * sysdeps/ia64/fpu/branred.c: New file.
4618         * sysdeps/ia64/fpu/doasin.c: New file.
4619         * sysdeps/ia64/fpu/dosincos.c: New file.
4620         * sysdeps/ia64/fpu/halfulp.c: New file.
4621         * sysdeps/ia64/fpu/mpa.c: New file.
4622         * sysdeps/ia64/fpu/mpatan.c: New file.
4623         * sysdeps/ia64/fpu/mpatan2.c: New file.
4624         * sysdeps/ia64/fpu/mpexp.c: New file.
4625         * sysdeps/ia64/fpu/mplog.c: New file.
4626         * sysdeps/ia64/fpu/mpsqrt.c: New file.
4627         * sysdeps/ia64/fpu/mptan.c: New file.
4628         * sysdeps/ia64/fpu/sincos32.c: New file.
4629         * sysdeps/ia64/fpu/slowexp.c: New file.
4630         * sysdeps/ia64/fpu/slowpow.c: New file.
4631         * sysdeps/m68k/fpu/branred.c: New file.
4632         * sysdeps/m68k/fpu/doasin.c: New file.
4633         * sysdeps/m68k/fpu/dosincos.c: New file.
4634         * sysdeps/m68k/fpu/halfulp.c: New file.
4635         * sysdeps/m68k/fpu/mpa.c: New file.
4636         * sysdeps/m68k/fpu/mpatan.c: New file.
4637         * sysdeps/m68k/fpu/mpatan2.c: New file.
4638         * sysdeps/m68k/fpu/mpexp.c: New file.
4639         * sysdeps/m68k/fpu/mplog.c: New file.
4640         * sysdeps/m68k/fpu/mpsqrt.c: New file.
4641         * sysdeps/m68k/fpu/mptan.c: New file.
4642         * sysdeps/m68k/fpu/sincos32.c: New file.
4643         * sysdeps/m68k/fpu/slowexp.c: New file.
4644         * sysdeps/m68k/fpu/slowpow.c: New file.
4645
4646         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
4647         codepages.
4648
4649 2001-03-11  Andreas Jaeger  <aj@suse.de>
4650
4651         * elf/elf.h (EM_*): Synch with official list.
4652
4653 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
4654
4655         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
4656
4657 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
4658
4659         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
4660         variables addr & len.
4661
4662 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
4663
4664         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
4665         punctuation in asm constraint.
4666
4667 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
4668
4669         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
4670         <time.h> to get definition of `struct timespec'.
4671
4672 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
4673
4674         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
4675         LD_WARN=1, not if LD_WARN is unset.
4676
4677 2001-03-07  Andreas Schwab  <schwab@suse.de>
4678
4679         * elf/ldconfig.h: Moved to ...
4680         * sysdeps/generic/ldconfig.h: ... here.
4681         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
4682         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
4683         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
4684         * elf/readlib.c (interpreters, known_libs): Use
4685         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
4686         instead of hard coding old names.
4687
4688 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4689
4690         * catgets/Makefile (generated): Add test-gencat.h.
4691         (sample.SJIS.cat): Also generate header.
4692         * catgets/sample.SJIS: Add new set and message, both with symbolic
4693         names.
4694         * catgets/test-gencat.sh: Also compare generated header with what
4695         we expect.
4696
4697 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
4698
4699         * catgets/gencat.c (read_input_file): Preserve properly symbolic
4700         names.
4701
4702 2001-03-06  Andreas Jaeger  <aj@suse.de>
4703
4704         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
4705         needed.
4706         (elf_machine_pltrel_p): Likewise.
4707         * sysdeps/powerpc/dl-machine.h: Likewise.
4708         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
4709
4710 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4711
4712         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
4713         dl-procinfo.h.
4714
4715 2001-03-05  Philip Blundell  <philb@gnu.org>
4716
4717         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
4718         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
4719         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
4720         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
4721         dl-procinfo.
4722
4723 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4724
4725         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
4726         is not available.
4727         * dlfcn/tstcxaatexit.c (main): Likewise.
4728
4729 2001-03-10  Andreas Jaeger  <aj@suse.de>
4730
4731         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
4732
4733 2001-03-09  Andreas Jaeger  <aj@suse.de>
4734
4735         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
4736         both new and old EM_S390 values.
4737         (EM_S390_OLD): New constant.
4738
4739         * elf/elf.h (EM_S390): Use official value.
4740
4741 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4742
4743         * conform/data/sys/socket.h-data: Allow SO* symbols.
4744
4745 2001-03-07  Andreas Schwab  <schwab@suse.de>
4746
4747         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
4748         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
4749
4750 2001-03-07  Andreas Jaeger  <aj@suse.de>
4751
4752         * resolv/Makefile (routines): Only build gai_sigqueue when threads
4753         are available.
4754
4755 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
4756
4757         * elf/ldconfig.c (_dl_sysdep_message): Remove.
4758         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
4759         ldsodefs.h.
4760         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
4761
4762         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
4763         _dl_error_printf instead of _dl_sysdep_error.
4764         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4765         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
4766         Use _dl_printf instead of _dl_sysdep_message.
4767         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
4768         Likewise.
4769
4770 2001-03-06  Ben Collins  <bcollins@debian.org>
4771
4772         * manual/arith.texi (Integers): Fix documentation of fast and
4773         least integer typedefs.
4774
4775 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
4776
4777         * resolv/Depend: New file.
4778         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
4779         when libpthread is built.
4780
4781 2001-03-06  Andreas Jaeger  <aj@suse.de>
4782
4783         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
4784
4785         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
4786         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
4787
4788 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
4789
4790         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
4791
4792 2001-03-05  Andreas Jaeger  <aj@suse.de>
4793
4794         * stdlib/msort.c (qsort): Don't use alloca in a function call.
4795
4796 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
4797
4798         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
4799         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
4800         always return zero.
4801         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4802         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
4803         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4804         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
4805         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4806         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4807         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4808
4809 2001-03-04  Andreas Jaeger  <aj@suse.de>
4810
4811         * stdlib/longlong.h: Don't use multi-line strings.
4812         * iconvdata/tst-loading.c: Likewise.
4813
4814         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
4815         string.
4816
4817 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
4818
4819         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
4820
4821         * rt/lio_listio.c: Add a few asserts.
4822
4823         * elf/global.c: New file.
4824         * elf/globalmod1.c: New file.
4825         * elf/Makefile: Add rules to build and run global.
4826
4827         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
4828         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4829         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4830         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4831         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4832
4833         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
4834         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4835
4836         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
4837
4838         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
4839         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4840
4841         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
4842
4843         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
4844
4845 2001-03-04  Andreas Jaeger  <aj@suse.de>
4846
4847         * resolv/tst-aton.c: Add testcase for IP with four periods.
4848
4849         * resolv/inet_addr.c: Don't recognize an IP with four periods.
4850         Patch by Andre' Breiler <A.Breiler@gmx.net>.
4851
4852 2001-02-27  Philip Blundell  <pb@futuretv.com>
4853
4854         * elf/elf.h: Add new ARM definitions from latest (B-01)
4855         specification.  Correct naming of EF_ARM_ALIGN8 et al.
4856
4857 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
4858
4859         * stdio-common/tst-printf.sh: Remove bashisms.
4860         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
4861
4862 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
4863
4864         * Versions.def: Add libanl definition.
4865         * shlib-versions: Add entry for libanl.
4866         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
4867         (routines): Add gai_sigqueue.
4868         (extra-libs): Add libanl.
4869         (libanl-routines): New variable.
4870         Add rules to build libanl and ga_test.
4871         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
4872         [libanl]: New library.
4873         * resolv/netdb.h: Add definitions for libanl.
4874         * resolv/getaddrinfo_a.c: New file.
4875         * resolv/gai_cancel.c: New file.
4876         * resolv/gai_error.c: New file.
4877         * resolv/gai_misc.c: New file.
4878         * resolv/gai_misc.h: New file.
4879         * resolv/gai_notify.c: New file.
4880         * resolv/gai_suspend.c: New file.
4881         * resolv/ga_test.c: New file.
4882         * sysdeps/generic/gai_sigqueue.c: New file.
4883         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
4884         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
4885         and provide only that definition.
4886         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4887         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4888         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4889         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4890         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4891         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4892
4893         * rt/aio_misc.c: Fix typos in comments.
4894         * rt/lio_listio.c: Pretty printing.  Little optimization in request
4895         list handling.
4896
4897         * elf/rtld.c: Remove commented out code.
4898
4899         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
4900         Update for real 2.4 kernels.
4901
4902 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
4903
4904         * elf/dl-load.c: Pretty printing.
4905
4906         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
4907         twice.
4908
4909 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
4910
4911         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
4912         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
4913
4914         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
4915
4916         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
4917         machines.
4918
4919         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
4920
4921 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
4922
4923         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
4924         _dl_debug_mask.
4925
4926         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
4927         _dl_debug_printf.
4928         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
4929         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
4930         _dl_debug_printf_c, and _dl_printf.
4931         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
4932         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
4933         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
4934         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
4935         * elf/dl-close.c: Replace use of old output functions with the new
4936         ones.
4937         * elf/dl-deps.c: Likewise.
4938         * elf/dl-error.c: Likewise.
4939         * elf/dl-fini.c: Likewise.
4940         * elf/dl-init.c: Likewise.
4941         * elf/dl-load.c: Likewise.
4942         * elf/dl-lookup.c: Likewise.
4943         * elf/dl-minimal.c: Likewise.
4944         * elf/dl-open.c: Likewise.
4945         * elf/dl-profile.c: Likewise.
4946         * elf/dl-reloc.c: Likewise.
4947         * elf/dl-version.c: Likewise.
4948         * elf/do-lookup.h: Likewise.
4949         * elf/rtld.c: Likewise.
4950         * sysdeps/generic/dl-cache.c: Likewise.
4951         * sysdeps/generic/dl-sysdep.c: Likewise.
4952         * sysdeps/generic/libc-start.c: Likewise.
4953         * sysdeps/i386/dl-machine.h: Likewise.
4954         * sysdeps/arm/dl-machine.h: Likewise.
4955         * sysdeps/hppa/dl-machine.h: Likewise.
4956         * sysdeps/m68k/dl-machine.h: Likewise.
4957         * sysdeps/powerpc/dl-machine.h: Likewise.
4958         * sysdeps/s390/dl-machine.h: Likewise.
4959         * sysdeps/sh/dl-machine.h: Likewise.
4960         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4961         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
4962         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4963
4964         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
4965
4966         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
4967         supported by assembler.
4968
4969         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
4970         declaractions.
4971
4972         * elf/rtld.c: Little optimizations in handling _dl_lazy.
4973
4974         * elf/cache.c (save_cache): Portability changes.
4975         * elf/dl-profile.c (_dl_start_profile): Likewise.
4976
4977         * elf/sln.c: Cleanups.  Remove arbitrary limits.
4978
4979         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
4980         * elf/dl-deps.c: Likewise.
4981         * elf/dl-fini.c: Likewise.
4982         * elf/dl-init.c: Likewise.
4983         * elf/dl-load.c: Likewise.
4984         * elf/dl-lookup.c: Likewise.
4985         * elf/dl-open.c: Likewise.
4986         * elf/dl-reloc.c: Likewise.
4987         * elf/dl-support.c: Likewise.
4988         * elf/dl-version.c: Likewise.
4989         * elf/do-lookup.h: Likewise.
4990         * elf/rtld.c: Likewise.
4991         * sysdeps/generic/dl-cache.c: Likewise.
4992         * sysdeps/generic/ldsodefs.h: Likewise.
4993         * sysdeps/generic/libc-start.c: Likewise.
4994         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
4995         Export _dl_debug_mask.
4996         * Versions.def: Define GLIBC_2.2.3 for ld.
4997
4998 2001-02-26  Greg McGary  <greg@mcgary.org>
4999
5000         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
5001
5002 2001-02-26  Paul Eggert  <eggert@twinsun.com>
5003
5004         Modify mkstemp.c and tempname.c so that they can be used by
5005         GNU applications on non-glibc platforms.
5006
5007         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
5008
5009         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
5010         Include <stddef.h>, <stdint.h>, <string.h> only if
5011         STDC_HEADERS || _LIBC.
5012         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
5013         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
5014         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
5015         (__set_errno): Define this macro if <errno.h> doesn't.
5016         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
5017         Define these macros if <stdio.h> doesn't.
5018         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
5019         Define these macros if <sys/stat.h> doesn't.
5020         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
5021         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
5022         lxstat64, __xstat64): Define if not _LIBC.
5023         (struct_stat64): New macro.
5024         (direxists, __gen_tempname): Use it, to avoid a
5025         portability problem with Solaris 8.
5026         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
5027         (__gen_tempname): Invoke gettimeofday only if
5028         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
5029         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
5030         octal values like 0600.
5031
5032 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
5033
5034         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
5035         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5036
5037         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
5038         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5039
5040         * posix/wordexp-test.c (testit): Remove warnings.
5041
5042         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
5043         (tests): Add tstatexit and tstcxaatexit.
5044         (module-names): Add modatexit and modcxaatexit.
5045         Add rules to build and run tstatexit and tstcxaatexit.
5046         * dlfcn/modatexit.c: New file.
5047         * dlfcn/modcxaatexit.c: New file.
5048         * dlfcn/tstatexit.c: New file.
5049         * dlfcn/tstcxaatexit.c: New file.
5050
5051         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
5052         .hidden is available.
5053         * io/stat.c: If .hidden is available use it to avoid exporting
5054         functions.
5055         * io/fstat.c: Likewise.
5056         * io/lstat.c: Likewise.
5057         * io/stat64.c: Likewise.
5058         * io/fstat64.c: Likewise.
5059         * io/lstat64.c: Likewise.
5060         * sysdeps/generic/mknod.c: Likewise.
5061
5062         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
5063         * sysdeps/generic/bb_init_func.c: Likewise.
5064         * sysdeps/generic/libc-start.c: Likewise.
5065
5066         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
5067         (atexit): Implement using __cxa_atexit.
5068         Use .hidden if availble to avoid exporting atexit.
5069         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
5070         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
5071         * stdlib/Makefile (routines): Add old_atexit.
5072         (static-only-routines): Add atexit.
5073         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
5074         * stdlib/old_atexit.c: New file.
5075
5076         * intl/Makefile: Remove bogus endif.
5077
5078 2001-02-26  Andreas Jaeger  <aj@suse.de>
5079
5080         * iconvdata/Makefile (tests): Fix typo in last patch.
5081
5082         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
5083         available.
5084         Reported by Achim Gottinger <achim@gentoo.org>.
5085
5086 2001-02-25  Andreas Jaeger  <aj@suse.de>
5087
5088         * intl/Makefile (plural.c): Reorder rules so that they work if
5089         BISON doesn't exist.
5090
5091 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
5092
5093         * intl/locale.alias: Don't use nb_NO but define aliases for it.
5094
5095 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
5096
5097         * sysdeps/i386/strtok.S: Continue to return NULL after the first
5098         time this happened.
5099
5100 2001-02-23  Andreas Jaeger  <aj@suse.de>
5101
5102         * string/tester.c (test_strtok_r): Add testcase.
5103         (test_strtok_r): Always initialize cp for proper checking.
5104
5105         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
5106         returning NULL correctly.
5107         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
5108         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
5109
5110 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
5111
5112         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
5113         including <stddef.h>.
5114         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
5115         * include/libc-symbols.h (weak_alias): Don't use .weak if
5116         HAVE_ASM_GLOBAL_DOT_NAME is defined.
5117         Patches by Michael Keezer <mkeezer@redhat.com>.
5118
5119         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
5120         Patch by Michael Keezer <mkeezer@redhat.com>.
5121
5122         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
5123         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
5124         (sysdep_routines): Remove restf.S and savef.S.
5125         * sysdeps/unix/sysv/aix/restf.S: Removed.
5126         * sysdeps/unix/sysv/aix/savef.S: Removed.
5127         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
5128         alternative names used on some platforms.
5129         * sysdeps/powerpc/fprsave.S: Likewise.
5130         * sysdeps/powerpc/gprrest0.S: Likewise.
5131         * sysdeps/powerpc/gprrest1.S: Likewise.
5132         * sysdeps/powerpc/gprsave0.S: Likewise.
5133         * sysdeps/powerpc/gprsave1.S: Likewise.
5134         Patch by Michael Keezer <mkeezer@redhat.com>.
5135
5136 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
5137
5138         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
5139
5140 2001-02-22  Andreas Jaeger  <aj@suse.de>
5141
5142         * string/tst-strtok.c (main): Fix error messages.
5143
5144 2001-02-22  Andreas Jaeger  <aj@suse.de>
5145
5146         * math/Makefile: Remove omit-long-double-fcts.
5147
5148 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
5149
5150         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
5151         avoid problems on MIPS I.
5152         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
5153
5154         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
5155         noreorder".
5156
5157 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
5158
5159         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
5160
5161         * sysdeps/generic/ftime.c: Include <time.h>.
5162
5163         * configure.in: Don't check for libgd if user passed --without-gd.
5164         Patch by Achim Gottinger <achim@gentoo.org>.
5165
5166         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
5167         first time this happened.
5168         * string/Makefile (tests): Add tst-strtok.
5169
5170 2001-02-21  Andreas Jaeger  <aj@suse.de>
5171
5172         * string/tst-strtok.c: New testcase, reported by
5173         Andrew Church <achurch@achurch.org>.
5174
5175 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
5176
5177         * libio/iofwide.c: Remove fwide alias.
5178
5179 2001-02-20  Andreas Jaeger  <aj@suse.de>
5180
5181         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
5182         is available.
5183         Reported by Achim Gottinger <achim@gentoo.org>.
5184
5185 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
5186
5187         * iconv/tst-iconv1.c (main): Remove debugging code.
5188
5189         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
5190         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5191
5192         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
5193         parameters.
5194         * sysdeps/generic/e_scalbf.c: Likewise.
5195         * sysdeps/generic/e_scalbl.c: Likewise.
5196
5197         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
5198         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
5199         in libc.
5200         (routines): Replace libm_error with libc_libm_error.
5201         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
5202         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
5203
5204 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
5205
5206         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
5207         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
5208
5209 2001-02-17  H.J. Lu  <hjl@gnu.org>
5210
5211         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
5212         scratch registers across the system call.
5213
5214 2001-02-19  Andreas Jaeger  <aj@suse.de>
5215
5216         * malloc/Makefile (tests): Run mtrace only when perl is available.
5217         Reported by Achim Gottinger <achim@gentoo.org>.
5218
5219 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
5220
5221         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
5222         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5223
5224         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
5225         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
5226         * math/libm-test.inc (j1_test): Mark constants as long double.
5227         (jn_test): Likewise.
5228         (y1_test): Likewise.
5229         (yn_test): Likewise.
5230
5231         * libio/iogetline.c: Move return until after last statement.
5232
5233         * localedata/show-ucs-data.c: Don't show < > for better readability.
5234
5235         * sysdeps/ia64/fpu/Dist: New file.
5236         * sysdeps/ia64/fpu/Makefile: New file.
5237         * sysdeps/ia64/fpu/Versions: New file.
5238         * sysdeps/ia64/fpu/e_acos.S: New file.
5239         * sysdeps/ia64/fpu/e_acosf.S: New file.
5240         * sysdeps/ia64/fpu/e_acosl.S: New file.
5241         * sysdeps/ia64/fpu/e_asin.S: New file.
5242         * sysdeps/ia64/fpu/e_asinf.S: New file.
5243         * sysdeps/ia64/fpu/e_asinl.S: New file.
5244         * sysdeps/ia64/fpu/e_atan2.S: New file.
5245         * sysdeps/ia64/fpu/e_atan2f.S: New file.
5246         * sysdeps/ia64/fpu/e_atan2l.c: New file.
5247         * sysdeps/ia64/fpu/e_cosh.S: New file.
5248         * sysdeps/ia64/fpu/e_coshf.S: New file.
5249         * sysdeps/ia64/fpu/e_coshl.S: New file.
5250         * sysdeps/ia64/fpu/e_exp.S: New file.
5251         * sysdeps/ia64/fpu/e_expf.S: New file.
5252         * sysdeps/ia64/fpu/e_expl.c: New file.
5253         * sysdeps/ia64/fpu/e_fmod.S: New file.
5254         * sysdeps/ia64/fpu/e_fmodf.S: New file.
5255         * sysdeps/ia64/fpu/e_fmodl.S: New file.
5256         * sysdeps/ia64/fpu/e_hypot.S: New file.
5257         * sysdeps/ia64/fpu/e_hypotf.S: New file.
5258         * sysdeps/ia64/fpu/e_hypotl.S: New file.
5259         * sysdeps/ia64/fpu/e_log.S: New file.
5260         * sysdeps/ia64/fpu/e_log10.c: New file.
5261         * sysdeps/ia64/fpu/e_log10f.c: New file.
5262         * sysdeps/ia64/fpu/e_log10l.c: New file.
5263         * sysdeps/ia64/fpu/e_logf.S: New file.
5264         * sysdeps/ia64/fpu/e_logl.c: New file.
5265         * sysdeps/ia64/fpu/e_pow.S: New file.
5266         * sysdeps/ia64/fpu/e_powf.S: New file.
5267         * sysdeps/ia64/fpu/e_powl.S: New file.
5268         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
5269         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
5270         * sysdeps/ia64/fpu/e_remainder.S: New file.
5271         * sysdeps/ia64/fpu/e_remainderf.S: New file.
5272         * sysdeps/ia64/fpu/e_remainderl.S: New file.
5273         * sysdeps/ia64/fpu/e_scalb.S: New file.
5274         * sysdeps/ia64/fpu/e_scalbf.S: New file.
5275         * sysdeps/ia64/fpu/e_scalbl.S: New file.
5276         * sysdeps/ia64/fpu/e_sinh.S: New file.
5277         * sysdeps/ia64/fpu/e_sinhf.S: New file.
5278         * sysdeps/ia64/fpu/e_sinhl.S: New file.
5279         * sysdeps/ia64/fpu/e_sqrt.S: New file.
5280         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
5281         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
5282         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
5283         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
5284         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
5285         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
5286         * sysdeps/ia64/fpu/libm_error.c: New file.
5287         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
5288         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
5289         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
5290         * sysdeps/ia64/fpu/libm_reduce.S: New file.
5291         * sysdeps/ia64/fpu/libm_support.h: New file.
5292         * sysdeps/ia64/fpu/libm_tan.S: New file.
5293         * sysdeps/ia64/fpu/s_atan.S: New file.
5294         * sysdeps/ia64/fpu/s_atanf.S: New file.
5295         * sysdeps/ia64/fpu/s_atanl.S: New file.
5296         * sysdeps/ia64/fpu/s_cbrt.S: New file.
5297         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
5298         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
5299         * sysdeps/ia64/fpu/s_ceil.S: New file.
5300         * sysdeps/ia64/fpu/s_ceilf.S: New file.
5301         * sysdeps/ia64/fpu/s_ceill.S: New file.
5302         * sysdeps/ia64/fpu/s_cos.S: New file.
5303         * sysdeps/ia64/fpu/s_cosf.S: New file.
5304         * sysdeps/ia64/fpu/s_cosl.S: New file.
5305         * sysdeps/ia64/fpu/s_expm1.S: New file.
5306         * sysdeps/ia64/fpu/s_expm1f.S: New file.
5307         * sysdeps/ia64/fpu/s_expm1l.S: New file.
5308         * sysdeps/ia64/fpu/s_floor.S: New file.
5309         * sysdeps/ia64/fpu/s_floorf.S: New file.
5310         * sysdeps/ia64/fpu/s_floorl.S: New file.
5311         * sysdeps/ia64/fpu/s_frexp.c: New file.
5312         * sysdeps/ia64/fpu/s_frexpf.c: New file.
5313         * sysdeps/ia64/fpu/s_frexpl.c: New file.
5314         * sysdeps/ia64/fpu/s_ilogb.S: New file.
5315         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
5316         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
5317         * sysdeps/ia64/fpu/s_ldexp.S: New file.
5318         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
5319         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
5320         * sysdeps/ia64/fpu/s_log1p.S: New file.
5321         * sysdeps/ia64/fpu/s_log1pf.S: New file.
5322         * sysdeps/ia64/fpu/s_log1pl.S: New file.
5323         * sysdeps/ia64/fpu/s_logb.S: New file.
5324         * sysdeps/ia64/fpu/s_logbf.S: New file.
5325         * sysdeps/ia64/fpu/s_logbl.S: New file.
5326         * sysdeps/ia64/fpu/s_matherrf.c: New file.
5327         * sysdeps/ia64/fpu/s_matherrl.c: New file.
5328         * sysdeps/ia64/fpu/s_modf.S: New file.
5329         * sysdeps/ia64/fpu/s_modff.S: New file.
5330         * sysdeps/ia64/fpu/s_modfl.S: New file.
5331         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
5332         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
5333         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
5334         * sysdeps/ia64/fpu/s_rint.S: New file.
5335         * sysdeps/ia64/fpu/s_rintf.S: New file.
5336         * sysdeps/ia64/fpu/s_rintl.S: New file.
5337         * sysdeps/ia64/fpu/s_round.S: New file.
5338         * sysdeps/ia64/fpu/s_roundf.S: New file.
5339         * sysdeps/ia64/fpu/s_roundl.S: New file.
5340         * sysdeps/ia64/fpu/s_scalbn.S: New file.
5341         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
5342         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
5343         * sysdeps/ia64/fpu/s_significand.S: New file.
5344         * sysdeps/ia64/fpu/s_significandf.S: New file.
5345         * sysdeps/ia64/fpu/s_significandl.S: New file.
5346         * sysdeps/ia64/fpu/s_sin.c: New file.
5347         * sysdeps/ia64/fpu/s_sincos.c: New file.
5348         * sysdeps/ia64/fpu/s_sincosf.c: New file.
5349         * sysdeps/ia64/fpu/s_sincosl.c: New file.
5350         * sysdeps/ia64/fpu/s_sinf.c: New file.
5351         * sysdeps/ia64/fpu/s_sinl.c: New file.
5352         * sysdeps/ia64/fpu/s_tan.S: New file.
5353         * sysdeps/ia64/fpu/s_tanf.S: New file.
5354         * sysdeps/ia64/fpu/s_tanl.S: New file.
5355         * sysdeps/ia64/fpu/s_trunc.S: New file.
5356         * sysdeps/ia64/fpu/s_truncf.S: New file.
5357         * sysdeps/ia64/fpu/s_truncl.S: New file.
5358         * sysdeps/ia64/fpu/w_acos.c: New file.
5359         * sysdeps/ia64/fpu/w_acosf.c: New file.
5360         * sysdeps/ia64/fpu/w_acosl.c: New file.
5361         * sysdeps/ia64/fpu/w_asin.c: New file.
5362         * sysdeps/ia64/fpu/w_asinf.c: New file.
5363         * sysdeps/ia64/fpu/w_asinl.c: New file.
5364         * sysdeps/ia64/fpu/w_atan2.c: New file.
5365         * sysdeps/ia64/fpu/w_atan2f.c: New file.
5366         * sysdeps/ia64/fpu/w_atan2l.c: New file.
5367         * sysdeps/ia64/fpu/w_cosh.c: New file.
5368         * sysdeps/ia64/fpu/w_coshf.c: New file.
5369         * sysdeps/ia64/fpu/w_coshl.c: New file.
5370         * sysdeps/ia64/fpu/w_exp.c: New file.
5371         * sysdeps/ia64/fpu/w_expf.c: New file.
5372         * sysdeps/ia64/fpu/w_fmod.c: New file.
5373         * sysdeps/ia64/fpu/w_fmodf.c: New file.
5374         * sysdeps/ia64/fpu/w_fmodl.c: New file.
5375         * sysdeps/ia64/fpu/w_hypot.c: New file.
5376         * sysdeps/ia64/fpu/w_hypotf.c: New file.
5377         * sysdeps/ia64/fpu/w_hypotl.c: New file.
5378         * sysdeps/ia64/fpu/w_log.c: New file.
5379         * sysdeps/ia64/fpu/w_log10.c: New file.
5380         * sysdeps/ia64/fpu/w_log10f.c: New file.
5381         * sysdeps/ia64/fpu/w_log10l.c: New file.
5382         * sysdeps/ia64/fpu/w_logf.c: New file.
5383         * sysdeps/ia64/fpu/w_logl.c: New file.
5384         * sysdeps/ia64/fpu/w_pow.c: New file.
5385         * sysdeps/ia64/fpu/w_powf.c: New file.
5386         * sysdeps/ia64/fpu/w_powl.c: New file.
5387         * sysdeps/ia64/fpu/w_remainder.c: New file.
5388         * sysdeps/ia64/fpu/w_remainderf.c: New file.
5389         * sysdeps/ia64/fpu/w_remainderl.c: New file.
5390         * sysdeps/ia64/fpu/w_scalb.c: New file.
5391         * sysdeps/ia64/fpu/w_scalbf.c: New file.
5392         * sysdeps/ia64/fpu/w_scalbl.c: New file.
5393         * sysdeps/ia64/fpu/w_sqrt.c: New file.
5394         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
5395         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
5396         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
5397         implementation.
5398         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
5399         Change FP_ILOGBNAN for new implementation.
5400         * Verions.def: Add 2.2.3 versions.
5401
5402 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
5403
5404         * math/libm-test.inc (scalb_test): Require invalid exception being
5405         raised for invalid parameters.
5406         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
5407         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5408         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5409
5410 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
5411
5412         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
5413         value to long int.
5414         (__get_avphys_pages): Likewise.
5415
5416 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
5417
5418         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
5419         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
5420         * sysdeps/i386/fpu/e_powf.S: Likewise.
5421         * sysdeps/i386/fpu/e_powl.S: Likewise.
5422
5423         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
5424
5425 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
5426
5427         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
5428
5429         * sysdeps/generic/s_exp2l.c: Renamed to...
5430         * sysdeps/generic/e_exp2l.c: ...this.   New file.
5431         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
5432         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
5433         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
5434         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
5435         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
5436         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
5437         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
5438         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
5439         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
5440         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
5441         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
5442         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
5443         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
5444         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
5445         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
5446         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
5447
5448 2001-02-17  Andreas Jaeger  <aj@suse.de>
5449
5450         * configure.in: Allow gcc 3.
5451
5452 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
5453
5454         * math/w_acos.c: Move to ...
5455         * sysdeps/generic/w_acos.c: ...here.  New file.
5456         * math/w_acosf.c: Move to ...
5457         * sysdeps/generic/w_acosf.c: ...here.  New file.
5458         * math/w_acosh.c: Move to ...
5459         * sysdeps/generic/w_acosh.c: ...here.  New file.
5460         * math/w_acoshf.c: Move to ...
5461         * sysdeps/generic/w_acoshf.c: ...here.  New file.
5462         * math/w_acoshl.c: Move to ...
5463         * sysdeps/generic/w_acoshl.c: ...here.  New file.
5464         * math/w_acosl.c: Move to ...
5465         * sysdeps/generic/w_acosl.c: ...here.  New file.
5466         * math/w_asin.c: Move to ...
5467         * sysdeps/generic/w_asin.c: ...here.  New file.
5468         * math/w_asinf.c: Move to ...
5469         * sysdeps/generic/w_asinf.c: ...here.  New file.
5470         * math/w_asinl.c: Move to ...
5471         * sysdeps/generic/w_asinl.c: ...here.  New file.
5472         * math/w_atan2.c: Move to ...
5473         * sysdeps/generic/w_atan2.c: ...here.  New file.
5474         * math/w_atan2f.c: Move to ...
5475         * sysdeps/generic/w_atan2f.c: ...here.  New file.
5476         * math/w_atan2l.c: Move to ...
5477         * sysdeps/generic/w_atan2l.c: ...here.  New file.
5478         * math/w_atanh.c: Move to ...
5479         * sysdeps/generic/w_atanh.c: ...here.  New file.
5480         * math/w_atanhf.c: Move to ...
5481         * sysdeps/generic/w_atanhf.c: ...here.  New file.
5482         * math/w_atanhl.c: Move to ...
5483         * sysdeps/generic/w_atanhl.c: ...here.  New file.
5484         * math/w_cosh.c: Move to ...
5485         * sysdeps/generic/w_cosh.c: ...here.  New file.
5486         * math/w_coshf.c: Move to ...
5487         * sysdeps/generic/w_coshf.c: ...here.  New file.
5488         * math/w_coshl.c: Move to ...
5489         * sysdeps/generic/w_coshl.c: ...here.  New file.
5490         * math/w_drem.c: Move to ...
5491         * sysdeps/generic/w_drem.c: ...here.  New file.
5492         * math/w_dremf.c: Move to ...
5493         * sysdeps/generic/w_dremf.c: ...here.  New file.
5494         * math/w_dreml.c: Move to ...
5495         * sysdeps/generic/w_dreml.c: ...here.  New file.
5496         * math/w_exp10.c: Move to ...
5497         * sysdeps/generic/w_exp10.c: ...here.  New file.
5498         * math/w_exp10f.c: Move to ...
5499         * sysdeps/generic/w_exp10f.c: ...here.  New file.
5500         * math/w_exp10l.c: Move to ...
5501         * sysdeps/generic/w_exp10l.c: ...here.  New file.
5502         * math/w_exp2.c: Move to ...
5503         * sysdeps/generic/w_exp2.c: ...here.  New file.
5504         * math/w_exp2f.c: Move to ...
5505         * sysdeps/generic/w_exp2f.c: ...here.  New file.
5506         * math/w_exp2l.c: Move to ...
5507         * sysdeps/generic/w_exp2l.c: ...here.  New file.
5508         * math/w_fmod.c: Move to ...
5509         * sysdeps/generic/w_fmod.c: ...here.  New file.
5510         * math/w_fmodf.c: Move to ...
5511         * sysdeps/generic/w_fmodf.c: ...here.  New file.
5512         * math/w_fmodl.c: Move to ...
5513         * sysdeps/generic/w_fmodl.c: ...here.  New file.
5514         * math/w_hypot.c: Move to ...
5515         * sysdeps/generic/w_hypot.c: ...here.  New file.
5516         * math/w_hypotf.c: Move to ...
5517         * sysdeps/generic/w_hypotf.c: ...here.  New file.
5518         * math/w_hypotl.c: Move to ...
5519         * sysdeps/generic/w_hypotl.c: ...here.  New file.
5520         * math/w_j0.c: Move to ...
5521         * sysdeps/generic/w_j0.c: ...here.  New file.
5522         * math/w_j0f.c: Move to ...
5523         * sysdeps/generic/w_j0f.c: ...here.  New file.
5524         * math/w_j0l.c: Move to ...
5525         * sysdeps/generic/w_j0l.c: ...here.  New file.
5526         * math/w_j1.c: Move to ...
5527         * sysdeps/generic/w_j1.c: ...here.  New file.
5528         * math/w_j1f.c: Move to ...
5529         * sysdeps/generic/w_j1f.c: ...here.  New file.
5530         * math/w_j1l.c: Move to ...
5531         * sysdeps/generic/w_j1l.c: ...here.  New file.
5532         * math/w_jn.c: Move to ...
5533         * sysdeps/generic/w_jn.c: ...here.  New file.
5534         * math/w_jnf.c: Move to ...
5535         * sysdeps/generic/w_jnf.c: ...here.  New file.
5536         * math/w_jnl.c: Move to ...
5537         * sysdeps/generic/w_jnl.c: ...here.  New file.
5538         * math/w_lgamma.c: Move to ...
5539         * sysdeps/generic/w_lgamma.c: ...here.  New file.
5540         * math/w_lgammaf.c: Move to ...
5541         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
5542         * math/w_lgammaf_r.c: Move to ...
5543         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
5544         * math/w_lgammal.c: Move to ...
5545         * sysdeps/generic/w_lgammal.c: ...here.  New file.
5546         * math/w_lgammal_r.c: Move to ...
5547         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
5548         * math/w_lgamma_r.c: Move to ...
5549         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
5550         * math/w_log10.c: Move to ...
5551         * sysdeps/generic/w_log10.c: ...here.  New file.
5552         * math/w_log10f.c: Move to ...
5553         * sysdeps/generic/w_log10f.c: ...here.  New file.
5554         * math/w_log10l.c: Move to ...
5555         * sysdeps/generic/w_log10l.c: ...here.  New file.
5556         * math/w_log.c: Move to ...
5557         * sysdeps/generic/w_log.c: ...here.  New file.
5558         * math/w_logf.c: Move to ...
5559         * sysdeps/generic/w_logf.c: ...here.  New file.
5560         * math/w_logl.c: Move to ...
5561         * sysdeps/generic/w_logl.c: ...here.  New file.
5562         * math/w_pow.c: Move to ...
5563         * sysdeps/generic/w_pow.c: ...here.  New file.
5564         * math/w_powf.c: Move to ...
5565         * sysdeps/generic/w_powf.c: ...here.  New file.
5566         * math/w_powl.c: Move to ...
5567         * sysdeps/generic/w_powl.c: ...here.  New file.
5568         * math/w_remainder.c: Move to ...
5569         * sysdeps/generic/w_remainder.c: ...here.  New file.
5570         * math/w_remainderf.c: Move to ...
5571         * sysdeps/generic/w_remainderf.c: ...here.  New file.
5572         * math/w_remainderl.c: Move to ...
5573         * sysdeps/generic/w_remainderl.c: ...here.  New file.
5574         * math/w_scalb.c: Move to ...
5575         * sysdeps/generic/w_scalb.c: ...here.  New file.
5576         * math/w_scalbf.c: Move to ...
5577         * sysdeps/generic/w_scalbf.c: ...here.  New file.
5578         * math/w_scalbl.c: Move to ...
5579         * sysdeps/generic/w_scalbl.c: ...here.  New file.
5580         * math/w_sinh.c: Move to ...
5581         * sysdeps/generic/w_sinh.c: ...here.  New file.
5582         * math/w_sinhf.c: Move to ...
5583         * sysdeps/generic/w_sinhf.c: ...here.  New file.
5584         * math/w_sinhl.c: Move to ...
5585         * sysdeps/generic/w_sinhl.c: ...here.  New file.
5586         * math/w_sqrtl.c: Move to ...
5587         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
5588         * math/w_tgamma.c: Move to ...
5589         * sysdeps/generic/w_tgamma.c: ...here.  New file.
5590         * math/w_tgammaf.c: Move to ...
5591         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
5592         * math/w_tgammal.c: Move to ...
5593         * sysdeps/generic/w_tgammal.c: ...here.  New file.
5594
5595         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
5596         formats for postal_fmt.
5597
5598 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
5599
5600         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
5601         __ftruncate64 alias.
5602         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
5603         Likewise.
5604
5605 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
5606
5607         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
5608         do "loadrs".  Writing to bspstore already takes care of
5609         invalidating the "clean" partition.
5610
5611 2001-02-16  Andreas Schwab  <schwab@suse.de>
5612
5613         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
5614         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
5615
5616 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
5617
5618         * posix/regex.c (init_syntax_once): Add prototype.
5619         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
5620         (re_search_2): Avoid warning.
5621         (count_mbs_length): Add prototype.
5622         * posix/tst-regex3.c: New file.
5623         * posix/Makefile (tests): Add bug-regex3.
5624
5625 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
5626
5627         * stdio-common/Makefile (tests): Add tst-gets.
5628         * stdio-common/tst-gets.c: New file.
5629         * stdio-common/tst-gets.input: New file.
5630
5631         * elf/elf.h (DT_CHECKSUM): Define.
5632
5633         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
5634         default symbol.
5635         * sysdeps/generic/strtoull.c: Likewise.
5636
5637 2001-02-14  Wolfram Gloger  <wg@malloc.de>
5638
5639         * malloc/malloc.c (new_heap): When allocating large chunk aligned
5640         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
5641         between the heaps.
5642
5643 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
5644
5645         * math/libm-test.inc (j0_test): Check whether sincos is available.
5646         (j1_test): Likewise.
5647         (jn_test): Likewise.
5648         (y0_test): Likewise.
5649         (y1_test): Likewise.
5650         (yn_test): Likewise.
5651
5652         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
5653         fake filesystem routines to handle this.
5654
5655         * time/sys/time.h: Make settimeofday and adjtime available if
5656         _BSD_SOURCE.
5657
5658         * time/sys/time.h: Make timer* macros available for BSD.
5659
5660         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
5661         Patch by Yong Li <rigel863@yahoo.com>.
5662
5663         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
5664         name.
5665
5666         * posix/Makefile (tests): Add tst-gnuglob.
5667         * posix/tst-gnuglob.c: New file.
5668
5669 2001-02-13  H.J. Lu  <hjl@gnu.org>
5670
5671         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
5672
5673 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
5674
5675         * locale/programs/ld-paper.c (paper_output): Pretty printing.
5676
5677         * iconvdata/Makefile (modules): Add GBBIG5.
5678         (distribute): Add gbbig5.c.
5679         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
5680
5681         * iconvdata/gbbig5.c: New file.
5682         Contributed by Yong Li <rigel863@yahoo.com>.
5683
5684 2001-02-13  Philip Blundell  <pb@futuretv.com>
5685
5686         * manual/crypt.texi: Remove outdated references to crypt add-on.
5687
5688         * manual/creature.texi: Improve wording slightly.
5689
5690 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
5691
5692         * io/ftw.c: Always use readdir64.
5693         * io/ftw64.c: Likewise.
5694         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5695         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5696         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
5697         callback to dirent.  Still allow compiling outside glibc.
5698         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
5699         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5700
5701         * malloc/mtrace.c: Use fopen64.
5702         * posix/spawni.c: Use __open64.
5703         * sysdeps/unix/opendir.c: Likewise.
5704         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
5705
5706         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
5707         name a weak alias.
5708         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
5709         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
5710         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5711         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
5712
5713         * resolv/res_data.c: Add cast to avoid warning.
5714
5715         * include/unistd.h: Declare __ftruncate64.
5716
5717         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
5718
5719         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
5720         instead of __lseek.
5721
5722 2001-02-13  Andreas Jaeger  <aj@suse.de>
5723
5724         * login/getutent_r.c: Include <stdlib.h> for NULL.
5725         * login/getutid_r.c: Likewise.
5726
5727 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5728
5729         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
5730         * sysdeps/dbl-64/e_j1.c: Likewise.
5731         * sysdeps/dbl-64/e_jn.c: Likewise.
5732         * sysdeps/flt-32/e_j0f.c: Likewise.
5733         * sysdeps/flt-32/e_j1f.c: Likewise.
5734         * sysdeps/ldbl-96/e_j0l.c: Likewise.
5735
5736 2000-12-02  H.J. Lu  <hjl@gnu.org>
5737
5738         * resolv/res_libc.c (res_init): Don't make it default.
5739
5740 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5741
5742         * manual/debug.texi: Improved the wording.
5743         Patch by Philip Blundell <pb@futuretv.com>.
5744
5745 2001-02-12  Andreas Jaeger  <aj@suse.de>
5746
5747         * posix/Makefile (tests): Don't run bug-regex2 when
5748         cross-compiling.
5749
5750         * libio/Makefile (tests): Don't run test-freopen when
5751         cross-compiling.
5752
5753         * manual/stdio.texi (Streams and I18N): Fix typos.
5754
5755 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5756
5757         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
5758
5759         * math/libm-test.inc (j0_test): Make expected results long double
5760         constants.
5761         (y0_test): Likewise.
5762
5763         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
5764         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5765
5766 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
5767
5768         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
5769         which was exported from libc.
5770         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
5771
5772 2001-02-12  Andreas Jaeger  <aj@suse.de>
5773
5774         * manual/arith.texi (Parsing of Integers): Fix some wordings.
5775
5776 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
5777
5778         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
5779         and get_avphys_page to long int.
5780         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
5781         * include/sys/sysinfo.h: Likewise.
5782         * sysdeps/generic/sys/sysinfo.h: Likewise.
5783         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
5784
5785         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
5786         cannot return as many values as the user asked for.
5787
5788 2001-02-11  Andreas Jaeger  <aj@suse.de>
5789
5790         * manual/resource.texi (Memory Resources): Fix typo.
5791
5792         * libio/Makefile ($(objpfx)test-freopen.out): Pass
5793         run-program-prefix.
5794
5795         * libio/test-freopen.sh: Use run_program_prefix.
5796
5797 2001-02-10  Andreas Jaeger  <aj@suse.de>
5798
5799         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
5800         cross-compiling.
5801         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
5802
5803         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
5804         only builds.
5805
5806         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
5807
5808         * posix/Makefile: Fix typo, it's build-static-nss.
5809
5810         * iconv/Makefile (extra-objs): New.
5811
5812 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5813
5814         * sysdeps/unix/stime.c: Include <time.h>.
5815
5816         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
5817
5818 2001-02-10  Andreas Jaeger  <aj@suse.de>
5819
5820         * manual/string.texi (Search Functions): Fix typo.
5821
5822 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5823
5824         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
5825         (timeval_to_clock_t): Add clk_tck argument and use that instead of
5826         CLK_TCK.
5827         (__times): Use __getclktck to get the number of clock ticks per
5828         second and use its return value instead of CLK_TCK.
5829
5830 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5831
5832         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
5833
5834 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5835
5836         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
5837
5838 2001-02-10  Andreas Jaeger  <aj@suse.de>
5839
5840         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
5841         warning.
5842
5843 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5844
5845         * posix/Makefile: Add rules to build and run bug-regex2.
5846         * posix/bug-regex2.c: New file.
5847
5848 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
5849
5850         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
5851         (regex_compile): Likewise.
5852         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
5853         (re_match_2_internal): Use just is_binary instead of two variables.
5854         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
5855
5856 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5857
5858         * version.h (VERSION): Bump to 2.2.2.
5859
5860         * iconv/Makefile (distribute): Add iconv_charmap.c and
5861         dummy-repertoire.c.
5862         * elf/Makefile (distribute): Add firstobj.c.
5863         * Makefile (distribute): Add include/pthread.h.
5864
5865         * configure.in: Require makeinfo version 4.
5866
5867         * libio/tst_wscanf.c (main): Add cast to avoid warning.
5868         * libio/tst_swscanf.c (main): Likewise..
5869
5870 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
5871
5872         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
5873         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
5874         __NO_MATH_INLINES.
5875         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
5876         if not RTLD_BOOTSTRAP.
5877         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5878         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5879
5880 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5881
5882         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
5883         lr_ungetc to push back last read character.
5884         * locale/programs/linereader.h (lr_ungetc): Don't push back is
5885         character is EOF.
5886         (lr_ignore_rest): Don't warn about garbage if it is really the end
5887         of the file.
5888
5889         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
5890         definition.
5891
5892 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
5893
5894         * Makerules (build-shlib): Work around different order of
5895         processing of -B option in different gcc versions.
5896
5897         * posix/regex.c: Fix alignment problem.
5898         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5899
5900         * sysdeps/alpha/strrchr.S: Little optimization.
5901         Patch by Richard Henderson <rth@redhat.com>.
5902
5903         * sysdeps/alpha/alphaev67/strrchr.S: New file.
5904         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
5905
5906 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
5907
5908         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
5909         in the assembler end directive.
5910
5911 2001-02-08  Andreas Jaeger  <aj@suse.de>
5912
5913         * manual/stdio.texi (Closing Streams): Fix typos.
5914
5915 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
5916
5917         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
5918         Patch by Richard Henderson <rth@redhat.com>.
5919         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
5920
5921         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
5922         pointer in FILE structure before calling _IO_init.
5923         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
5924         strfmon_l if necessary.
5925         Reported by Jury Gerold <gjury@grips.com>.
5926
5927         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
5928         Patch by Pekka.Pietikainen@cern.ch.
5929
5930         * posix/regex.c: Correct several problems with 64-bit architectures
5931         introduced in the MBS changes.
5932         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5933
5934 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
5935
5936         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
5937         not defined.
5938         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
5939
5940 2001-02-07  Andreas Jaeger  <aj@suse.de>
5941
5942         * manual/install.texi (Tools for Compilation): Fix typo.
5943         Reported by Pavel Machek <pavel@bug.ucw.cz>.
5944
5945 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
5946
5947         * stdlib/strtod.c: Never stop prematurely reading digits before the
5948         decimal point is found.  Compute exponent limit for negative exponents
5949         correctly.  For numbers ending in all zeros eat the zeros even before
5950         the decimal point if the exponent is negative [PR libc/2072].
5951         * stdlib/Makefile (tests): Add bug-strtod.
5952         * stdlib/bug-strtod.c: New file.
5953
5954 2001-02-07  Andreas Jaeger  <aj@suse.de>
5955
5956         * posix/bug-regex1.c: Include <wchar.h> for fwide.
5957
5958 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5959
5960         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
5961         Store index.
5962         (compile_range): Handle index being passed, not pointer.
5963         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5964
5965         * posix/regex.c: Fix a cast in the code for bracket handling which
5966         caused 8-bit uncleanliness.
5967         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
5968
5969         * posix/Makefile (tests): Add bug-regex1.
5970         * posix/bug-regex1.c: New file.
5971         Contributed by Jim Meyering <jim@meyering.net>.
5972
5973         * posix/regex.c: Many cleanups for incorrect format strings.
5974
5975 2001-02-06  Andreas Jaeger  <aj@suse.de>
5976
5977         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
5978
5979 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5980
5981         * locale/programs/locale.c (write_locales): Use scandir to read
5982         directory so that the entries are sorted.
5983
5984 2001-02-06  Andreas Jaeger  <aj@suse.de>
5985
5986         * include/pthread.h: New file.
5987
5988         * wctype/wctype.h: Move internal interfaces from here to...
5989         * include/wctype.h: ...here.
5990
5991         * wcsmbs/wchar.h: Move __wcslen from here to...
5992         * include/wchar.h: ...here.
5993
5994         * posix/sys/wait.h: Move __wait from here to...
5995         * include/sys/wait.h: ...here.
5996
5997         * string/string.h: Move __ffs and __strerror_r from here to...
5998         * include/string.h: ...here.
5999
6000         * stdlib/stdlib.h: Move __on_exit from here to...
6001         * include/stdlib.h: ...here.
6002
6003         * libio/stdio.h: Move __vsnprintf from here to...
6004         * include/stdio.h: ...here.
6005
6006 2001-02-06  Andreas Schwab  <schwab@suse.de>
6007
6008         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
6009         headers.
6010
6011         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
6012         of $(inst_datadir).
6013
6014 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
6015
6016         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
6017
6018 2001-02-06  Andreas Jaeger  <aj@suse.de>
6019
6020         * elf/firstobj.c: Add prototype.
6021
6022         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
6023         (truncate_wchar): Likewise.
6024
6025 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
6026
6027         * locale/programs/locale.c: Implement --verbose option for -a
6028         which prints detailed information about the locales.
6029
6030 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
6031
6032         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
6033         variable to uint32_t.
6034         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
6035
6036 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
6037
6038         * locale/C-translit.h.in: Add transliterations for CJK units of
6039         measurement.
6040
6041 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
6042
6043         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
6044         string.  Include <inttypes.h> instead of <stdint.h>.
6045
6046         * localedata/Makefile (tests): Add bug-iconv-trans.
6047         Define bug-iconv-trans-ENV.
6048         * localedata/bug-iconv-trans.c: New file.
6049
6050 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
6051
6052         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
6053         pointer, to avoid accumulating output from incomplete (unsuccessful)
6054         transliteration attempts.
6055
6056 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
6057
6058         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
6059         string.  Include <inttypes.h> instead of <stdint.h>.
6060
6061         * configure.in: Add check for bison.
6062         * config.make.in: Define BISON variable.
6063         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
6064         Rename YFLAGS to BISONFLAGS.
6065
6066 2001-02-05  Andreas Jaeger  <aj@suse.de>
6067
6068         * io/test-lfs.c (do_test): Test lseek64 return value, call
6069         test_ftello.
6070         (test_ftello): New function to test ftello64 and fseeko64.
6071
6072         * signal/signal.h: Move __sigaction from here to...
6073         * include/signal.h: ...here.
6074
6075         * io/fcntl.h: Move __fcntl and __open to...
6076         * include/fcntl.h: ...here.
6077
6078 2001-02-04  Philip Blundell  <philb@gnu.org>
6079
6080         * configure.in: Distinguish ARM from Thumb.
6081
6082 2001-02-04  Philip Blundell  <philb@gnu.org>
6083
6084         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
6085         PC24 relocs with negative value.
6086
6087 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
6088
6089         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
6090         files in locale/programs.  Add CFLAGS definition to allow compiling
6091         localedef files.
6092         * iconv/dummy-repertoire.c: New file.
6093         * iconv/iconv_charmap.c: New file.
6094         * iconv/iconv_prog.h: New file.
6095         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
6096         (main): If parameter for -f and -t contain slashes try first to resolve
6097         the strings as filenames of charmap files.  Use them for conversion
6098         in this case.
6099         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
6100         iconv getting charmap names as parameters.
6101         * locale/programs/linereader.c (lr_token): Take extra parameters
6102         verbose and pass it to get_string.
6103         (get_string): Take extra parameters verbose.
6104         * locale/programs/charmap.c (parse_charmap): Take extra parameters
6105         verbose and be_quiet.  Change all callers of lr_token and
6106         parse_charmap.
6107         * locale/programs/charmap.h: Likewise.
6108         * locale/programs/ld-address.c: Likewise.
6109         * locale/programs/ld-collate.c: Likewise.
6110         * locale/programs/ld-ctype.c: Likewise.
6111         * locale/programs/ld-identification.c: Likewise.
6112         * locale/programs/ld-measurement.c: Likewise.
6113         * locale/programs/ld-messages.c: Likewise.
6114         * locale/programs/ld-monetary.c: Likewise.
6115         * locale/programs/ld-name.c: Likewise.
6116         * locale/programs/ld-numeric.c: Likewise.
6117         * locale/programs/ld-paper.c: Likewise.
6118         * locale/programs/ld-telephone.c: Likewise.
6119         * locale/programs/ld-time.c: Likewise.
6120         * locale/programs/linereader.c: Likewise.
6121         * locale/programs/linereader.h: Likewise.
6122         * locale/programs/localedef.c: Likewise.
6123         * locale/programs/locfile.c: Likewise.
6124         * locale/programs/locfile.h: Likewise.
6125         * locale/programs/repertoire.c: Likewise.
6126
6127 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
6128
6129         * iconv/iconv_prog.c (main): If output file name is "-" write to
6130         stdout.
6131         (main): If -f or -t argument is missing use charset of the current
6132         locale.
6133
6134 2001-02-03  Andreas Jaeger  <aj@suse.de>
6135
6136         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
6137         boundary for SSE/SSE-2 alignment.
6138
6139         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
6140         annexc.
6141
6142 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
6143
6144         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
6145         Remove comma at end of enum.
6146
6147         * elf/dl-init.c: Add a few __builtin_expect.
6148
6149         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
6150
6151 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
6152
6153         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
6154         errno is ECONNREFUSED.
6155
6156         * posix/Makefile: Define MBS_SUPPORT for regex.c.
6157         * posix/regex.c: Implement multibyte character handling.
6158         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
6159
6160         * string/tst-svc.input: Add two more test cases.
6161         * string/tst-svc.expect: Modify to reflect new test cases.
6162
6163 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
6164
6165         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
6166         tp->name tests with tp->name[0] tests.
6167
6168 2001-01-29  Ben Collins  <bcollins@debian.org>
6169
6170         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
6171         Fix check for name == NULL.
6172
6173 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
6174
6175         * elf/Makefile: Add rules to build and run initfirst test.
6176         * elf/initfirst.c: New file.
6177         * elf/firstobj.c: New file.
6178
6179         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
6180         * configure.in: Test for -z initfirst linker option.
6181         * config.make.in: Add have-z-initfirst.
6182         * elf/dl-init.c (_dl_init): Split out actual initialization code in
6183         new function call_init.  If _dl_initfirst is non-NULL initialize first.
6184         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
6185         remember object in _dl_initfirst.
6186         * elf/soinit.c: Remove special support for calling
6187         __pthread_initialize_minimal.
6188
6189         * conform/conformtest.pl: Add missing $prepend in type test.
6190
6191 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
6192
6193         * elf/elf.h (SHT_CHECKSUM): New definition.
6194
6195         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
6196         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6197         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
6198
6199 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
6200
6201         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
6202         to get definition of `struct timeval'.
6203
6204 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
6205
6206         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
6207         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
6208
6209 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
6210
6211         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
6212         seen, not flags.
6213
6214         * nis/nis_findserv.c: Include <time.h>.
6215
6216 2001-01-30  Yong Li  <yong.li@asu.edu>
6217
6218         * iconv/iconv_prog.c (main): Correct error handling method name.
6219
6220 2001-01-29  Ben Collins  <bcollins@debian.org>
6221
6222         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
6223         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
6224         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
6225         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
6226
6227 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
6228
6229         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
6230         Patch by Marko Myllynen <myllynen@lut.fi>.
6231
6232         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
6233         (int instead of char).
6234         (__strpbrk_c3): Likewise.
6235         Reported by GOTO Masanori <gotom@debian.or.jp>.
6236
6237         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
6238         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
6239         * include/sys/socket.h: Add SA_LEN here for internal use.
6240         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
6241
6242 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
6243
6244         * malloc/Makefile: Don't build memusagestat if cross-compiling.
6245
6246         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
6247
6248         * math/libm-test.inc (rint_test): Add a few more tests for round
6249         to even rounding.
6250
6251 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
6252
6253         * conform/data/pthread.h-data: Correct return type of pthread_exit.
6254
6255         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
6256
6257         * conform/data/stdlib.h-data: Add _Exit.
6258
6259         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
6260         if not already happened.
6261         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
6262         Don't include <limits.h> and <bits/sockaddr.h>.
6263
6264         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
6265
6266         * conform/data/spawn.h-data: Allow all of <sched.h>.
6267
6268         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
6269         unused variable.
6270
6271         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
6272         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
6273
6274         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
6275
6276         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
6277         * libio/stdio.h: Define va_list correctly.
6278
6279         * conform/data/pthread.h-data: Make priority protocol related
6280         functions optional.  Fix typos.
6281
6282         * posix/sched.h: Define sched_priority as __sched_priority.
6283         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
6284         to __sched_priority.
6285         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6286
6287 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
6288
6289         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
6290         of <sys/time.h>.
6291
6292         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
6293         * sysdeps/unix/time.c: Likewise.
6294
6295         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
6296         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
6297         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
6298         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
6299         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6300         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
6301         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
6302         * time/time.h: Likewise.
6303
6304         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
6305         * conform/data/complex.h-data: New file.
6306         * conform/data/tgmath.h-data: New file.
6307
6308         * conform/data/wchar.h-data: Add missing functions.
6309
6310         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
6311
6312         * conform/data/termios.h-data: Add missing const in tcsetattr()
6313         prototype.
6314
6315         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
6316         Don't define pid_t here.
6317
6318         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
6319
6320         * conform/data/sys/time.h-data: Allow sys/select.h.
6321         * conform/data/sys/un.h-data: Fix typo.
6322         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
6323         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
6324         <sys/time.h>.
6325         * sysdeps/unix/clock_nanosleep.c: Likewise.
6326         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
6327         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
6328         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
6329         * sysdeps/unix/clock_settime.c: Likewise.
6330
6331         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
6332         * login/getutent.c: Likewise.
6333         * login/getutid.c: Likewise.
6334         * login/getutline.c: Likewise.
6335
6336         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
6337
6338         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
6339         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
6340         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
6341         f_fsid field after change in struct statvfs.
6342         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
6343         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
6344         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
6345
6346         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
6347         optional-macro.
6348
6349         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
6350         recvfrom, send, and socketpair prototypes.  Add allow lines.
6351         * socket/sys/socket.h: Include <sys/uio.h>.
6352         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
6353         Fix type of second parameter of listen.
6354         Don't declare isfdtype unless __USE_MISC.
6355         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
6356         * sysdeps/mach/hurd/listen.c: Likewise.
6357         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
6358         ss_family and __ss_family.
6359         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
6360         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6361         (struct msghdr): Change type of msg_iovlen to int and type of
6362         msg_controllen to socklen_t.
6363         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
6364         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
6365         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
6366         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
6367         (rresvport_af): Likewise.
6368
6369         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
6370         * conform/conformtest.pl: Implement handling of symbol.
6371
6372         * signal/signal.h: Fix handling of __need_* symbols.
6373         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
6374         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
6375         * include/sys/select.h: Use fd_set not __fd_set.
6376         * sysdeps/generic/bits/select.h: Likewise.
6377         * sysdeps/i386/bits/select.h: Likewise.
6378         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
6379         __FDELT, __FDMASK, and __fd_set here.
6380         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
6381         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
6382         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6383         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6384         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
6385         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6386         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6387         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6388         * time/sys/time.h: Define struct timeval before including <time.h>
6389         and <sys/select.h>.
6390
6391         * conform/data/sys/time.h-data: fd_set is a typedef.
6392         * conform/data/sys/select.h-data: New file.
6393         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
6394         * conform/conformtest.pl (@headers): Add sys/select.h.
6395         (type, optional-type): Unless testing a typedef instantiate object.
6396         Implement optional-function.
6397
6398         * math/test-misc.c: Include <float.h>.
6399
6400 2001-01-27  Andreas Jaeger  <aj@suse.de>
6401
6402         * misc/efgcvt_r.c: Include <float.h>.
6403
6404 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
6405
6406         * conform/data/stdlib.h-data: Account for XPG6 changes.
6407         * stdlib/stdlib.h (__random): Change return value type to long.
6408         (posix_memalign): Cleanup parameter names.
6409         (setenv, unsetenv): Make available for __USE_XOPEN2K.
6410         Change return type of unsetenv to int.
6411         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
6412         * include/stdlib.h: Change return type of unsetenv to int.
6413         Change return type of random to long int.
6414         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
6415         Return -1 and set errno if parameter is invalid.
6416         * stdlib/random.c (__random): Change return value type to long.
6417
6418         * conform/data/stdio.h-data: Account for changes in XPG6.
6419
6420         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
6421         prototype.
6422
6423         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
6424         * conform/data/signal.h-data: Fix sigev_notify_function entry.
6425         Fix typo (SIGVALRM -> SIGVTALRM).
6426         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
6427         with real type.
6428         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
6429         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
6430         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
6431         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6432         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
6433
6434         * conform/conformtest.pl: Implement optional-element.  Define
6435         $mustprepend{"sched.h"}.
6436         * conform/data/sched.h-data: Make sporadic scheduler definitions
6437         optional.
6438
6439         * pwd/pwd.h: Don't define getpwent_r for XPG.
6440
6441         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
6442         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
6443         * sysdeps/mach/hurd/poll.c: Likewise.
6444         * sysdeps/unix/bsd/poll.c: Likewise.
6445         * sysdeps/unix/sysv/linux/poll.c: Likewise.
6446         * sysdeps/unix/sysv/aix/poll.c: Likewise.
6447         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
6448         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
6449         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
6450         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
6451         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
6452         * conform/data/poll.h-data: Fix typo in poll prototype.
6453
6454         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
6455         only if __USE_MISC.
6456         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
6457
6458         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
6459
6460         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
6461
6462         * conform/conformtest.pl: Implement optional-type.
6463
6464         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
6465         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
6466         defining uint32_t here.  Define IPPORT_RESERVED.
6467         (struct hostent): Type of h_length element is int.
6468         (getnameinfo): Type of flags parameter is unsigned int.
6469         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
6470         * conform/data/netdb.h-data: Add many missing definitions.
6471
6472         * conform/conformtest.pl: Implement optional-macro.
6473         * conform/data/math.h-data: Update for XPG6.
6474
6475         * math/math.h (HUGE): Define as FLT_MAX value but don't use
6476         FLT_MAX.  Don't include <float.h>.
6477         (MAXFLOAT): Likewise.
6478
6479         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
6480
6481         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
6482
6483         * conform/data/limits.h-data: Mark constants as optional wherever
6484         appropriate.
6485
6486         * posix/bits/posix2_lim.h: Set correct values for
6487         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
6488         EQUIV_CLASS_MAX.
6489
6490         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
6491         Required by POSIX.
6492
6493         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
6494
6495         * conform/data/netinet/in.h-data: Add reserved prefixes.
6496
6497         * conform/data/arpa/inet.h-data: Fix a few typos.
6498
6499 2001-01-26  Andreas Jaeger  <aj@suse.de>
6500
6501         * sysdeps/generic/strtol.c: Include <locale.h>
6502         * stdlib/strtod.c: Likewise
6503         * stdlib/strfmon.c: Likewise.
6504         * string/strcoll.c: Likewise.
6505         * string/strxfrm.c: Likewise.
6506         * wctype/wcfuncs_l.c: Likewise.
6507         * wctype/wctype_l.c: Likewise.
6508         * wctype/wctrans_l.c: Likewise.
6509
6510         * include/bits/locale.h: New file.
6511
6512 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
6513
6514         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
6515         and NOSTR.
6516
6517         * locale/Makefile (headers): Add bits/locale.h.
6518         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
6519         and use __LC_ constants instead of LC_.
6520         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
6521         using __LC_ constants.
6522         * locale/bits/locale.h: New file.
6523         * locale/loadlocale.c: Include <locale.h>.
6524         * locale/nl_langinfo.h: Likewise.
6525
6526         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
6527
6528         * io/sys/stat.h: Define S_IFSOCK for XPG6.
6529
6530         * conform/data/fcntl.h-data: posix_madvise is not expected here.
6531
6532         * conform/conformtest.pl: Fix handling of macro-str.
6533
6534         * conform/data/inttypes.h-data: Add missing definition and all of
6535         stdint.h-data.
6536
6537         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
6538
6539 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
6540
6541         * conform/conformtest.pl (@headers): Add stdint.h.
6542         * conform/data/stdint.h-data: New file.
6543
6544         * conform/conformtest.pl: Recognize options --headers and
6545         --dialect.  Add dialect-specific CFLAGS.
6546
6547         * conform/conformtest.pl: Implement handling of recursive
6548         allow-header.
6549
6550         * conform/data/locale.h-data: Add new struct lconv members.
6551
6552         * posix/wordexp.h: Correct definition of wordexp_t.
6553         * posix/wordexp.c: Moved to ...
6554         * sysdeps/generic/wordexp.c: ...here.  New file.
6555         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
6556         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
6557         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
6558         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
6559         wordexp.
6560         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
6561         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
6562
6563         * math/tgmath.h: Pretty printing.
6564
6565         * math/Makefile (tests): Add test-tgmath.
6566         (CFLAGS-test-tgmath.c): New variable.
6567         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
6568
6569         * conform/conformtest.pl: Handle allow-header in secondary headers
6570         correctly.
6571
6572         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
6573         #ifdef.
6574
6575         * conform/data/netinet/in.h-data: Use correct comment character.
6576         * conform/data/sys/stat.h-data: Likewise.
6577
6578 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
6579
6580         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
6581         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
6582         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
6583         __builtin_classify_type, add ##f suffixes where appropriate.
6584         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
6585         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
6586         __builtin_classify_type.
6587         (fma): Fix spelling of first argument.
6588
6589 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
6590
6591         * conform/data/unistd.h-data: Mark functions removed in XPG6
6592         correctly.
6593
6594         * posix/unistd.h: Don't make functions removed in XPG6 available if
6595         __USE_XOPEN2K.
6596
6597         * conform/conformtest.pl: Implement optional-constant.
6598         * conform/data/unistd.h-data: Use optional-constant wherever
6599         appropriate.
6600
6601         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
6602         constants and add _SC_STREAMS.
6603         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6604
6605         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
6606         make old name weak alias.
6607         * sysdeps/generic/statvfs64.c: Likewise.
6608         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
6609         make old name weak alias.
6610         * sysdeps/generic/fstatvfs64.c: Likewise.
6611         * include/sys/statvfs.h: New file.
6612
6613         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
6614         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
6615         _PC_REC_XFER_ALIGN.
6616         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
6617         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
6618         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
6619         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
6620
6621         * conform/conformtest.pl: Run Unix tests for XPG6.
6622         Implement handling of known namespace violations.
6623         Improve printing of results.
6624
6625         * posix/unistd.h (usleep): Correct return type.
6626         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
6627         * sysdeps/unix/bsd/usleep.c: Correct return type.
6628         * sysdeps/mach/usleep.c: Correct return type.
6629         * sysdeps/generic/usleep.c: Correct return type.
6630
6631         * posix/unistd.h (sync): Correct return type.
6632         * sysdeps/generic/sync.c: Likewise.
6633         * sysdeps/mach/hurd/sync.c: Likewise.
6634
6635         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
6636
6637         * posix/unistd.h: Make seteuid and setegid available for XPG6.
6638
6639         * wcsmbs/wchar.h: Get FILE definition for XPG5.
6640
6641         * conform/data/ctype.h-data: Use correct comment form.
6642         * conform/data/errno.h-data: Likewise.
6643         * conform/data/math.h-data: Likewise.
6644         * conform/data/mqueue.h-data: Likewise.
6645         * conform/data/netdb.h-data: Likewise.
6646         * conform/data/pthread.h-data: Likewise.
6647
6648 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
6649
6650         * conform/data/wordexp.h-data: Fix typo.
6651
6652         * conform/conformtest.pl: Handle allow-header correctly.
6653
6654         * conform/data/time.h-data: Use correct comment form.
6655
6656         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
6657
6658         * configure.in: Comment out binutils version test.
6659
6660         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
6661         separators.
6662         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
6663
6664         * stdlib/tst-strtod.c (locale_test): New function.
6665         (main): Call locale_test.
6666         * stdlib/Makefile (tst-strtod-ENV): New variable.
6667
6668 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
6669
6670         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
6671         declaration of value such that we actually return the value of the
6672         environment variable.
6673
6674 2001-01-24  Andreas Jaeger  <aj@suse.de>
6675
6676         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
6677         prototype.
6678         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6679
6680         * include/sys/sysctl.h: New file.
6681
6682 2001-01-23  Andreas Jaeger  <aj@suse.de>
6683
6684         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
6685         isomac.
6686
6687         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
6688         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
6689         closes PR libc/2039.
6690
6691         * manual/install.texi (Tools for Compilation): Change required
6692         binutils version.
6693
6694 2001-01-22  Andreas Jaeger  <aj@suse.de>
6695
6696         * configure.in: Add test for new enough binutils version, move
6697         compiler/binutils test up.
6698
6699         * Versions.def: Add version GLIBC_2.2.2.
6700
6701 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6702
6703         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
6704         available.
6705         * iconvdata/testdata/IBM932: New file.
6706         * iconvdata/testdata/IBM932..UTF8: New file.
6707         * iconvdata/testdata/IBM943: New file.
6708         * iconvdata/testdata/IBM943..UTF8: New file.
6709         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
6710
6711 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6712
6713         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
6714
6715 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6716
6717         * malloc/malloc.c: Remove a few unnecessary initializers of global
6718         variables.
6719
6720 2000-12-09  H.J. Lu  <hjl@gnu.org>
6721
6722         * nss/Makefile (routines): Add digits_dots.
6723         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
6724         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
6725         into a function.
6726         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
6727         function.
6728         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
6729         (TYPE_VAR_P): Likewise.
6730         (FLAGS_VAR): Likewise.
6731         (AF_VAR_P): Likewise.
6732         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6733         instead of including digits_dots.c.
6734         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
6735         (TYPE_VAR_P): Likewise.
6736         (FLAGS_VAR): Likewise.
6737         (AF_VAR_P): Likewise.
6738         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6739         instead of including digits_dots.c.
6740
6741 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6742
6743         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
6744
6745 2001-01-21  Andreas Jaeger  <aj@suse.de>
6746
6747         * elf/constload2.c: Add prototype for init.
6748
6749 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6750
6751         * stdlib/stdlib.h (drand48_data): Make available only for
6752         __USE_MISC.  Rename elements to protect namespace.  Change type
6753         and position of a and init element.
6754         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
6755         differently.  Adjust for drand48_data change.  Don't compute a here,
6756         it comes from drand48_data.
6757         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
6758         differently.  Adjust for drand48_data change.  Compute a here.
6759         * stdlib/srand48_r.c: Likewise.
6760         * stdlib/drand48.c: Adjust for drand48_data change.
6761         * stdlib/lrand48.c: Likewise.
6762         * stdlib/mrand48.c: Likewise.
6763         * stdlib/seek48.c: Likewise.
6764         * stdlib/drand48_r.c: Likewise.
6765         * stdlib/lrand48_r.c: Likewise.
6766         * stdlib/mrand48_r.c: Likewise.
6767         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
6768         differently.
6769         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
6770         * stdlib/jrand48_r.c: Likewise.
6771
6772         * po/sv.po: Update from translation team.
6773
6774 2001-01-21  Andreas Jaeger  <aj@suse.de>
6775
6776         * stdio-common/vfprintf.c (vfprintf): Add casts.
6777
6778 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
6779
6780         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
6781         the ASCII test.
6782         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
6783
6784         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
6785         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
6786         * iconvdata/ibm932.c: New file.
6787         * iconvdata/ibm932.h: New file.
6788         * iconvdata/ibm943.c: New file.
6789         * iconvdata/ibm943.h: New file.
6790         Patches by Masahide Washizawa <washi@jp.ibm.com>.
6791
6792         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
6793         preventing optimization from being done.  Set the correct type bit
6794         in seen.  Don't define and use _dl_base_addr unless
6795         NEED_DL_BASE_ADDR is defined.
6796
6797         * io/ftw.c (ftw_dir): Add slash after directory name if there
6798         wasn't any.  Reported by loris <loris@iol.it>.
6799         * io/Makefile (tests): Add bug-ftw2.
6800         * io/bug-ftw2.c: New file.
6801
6802 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
6803
6804         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
6805         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
6806         * stdlib/tst-rand48.c: New file.
6807         * stdlib/Makefile (tests): Add tst-rand48.
6808
6809         * locale/newlocale.c (__newlocale): Fix test for setting all
6810         categories.
6811
6812 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
6813
6814         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
6815         but change looking up the initial directory port in a similar way
6816         as done by _hurd_change_directory_port_from_name.
6817         * hurd/fchroot.c (fchroot): Likewise.
6818
6819 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
6820
6821         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
6822         defined don't look whether the AT_*ID values were set.
6823         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
6824         (_dl_show_auxv): Rewrite to avoid switch statement.
6825         * sysdeps/unix/sysv/linux/kernel-features.h: Define
6826         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
6827         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
6828         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
6829
6830         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
6831         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6832         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6833
6834         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
6835         strtoul.
6836         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
6837         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
6838         anything.
6839         * dlfcn/eval.c (__strtol_internal): Define here.
6840         (eval): Use __strtol_internal instead of strtol.
6841
6842         * elf/elf.h: Add a few more EF_MIPS_* constants.
6843
6844 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
6845
6846         * manual/Makefile (chapters): Add debug.
6847         * manual/debug.texi: New file.
6848         * manual/examples/execinfo.c: New file.
6849         Patch by suckfish@ihug.co.nz.
6850
6851 2001-01-17  Andreas Schwab  <schwab@suse.de>
6852
6853         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
6854         invalid asm.
6855
6856 2001-01-17  Andreas Jaeger  <aj@suse.de>
6857
6858         * nscd/connections.c (nscd_run): Use proper format specifier.
6859
6860 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
6861
6862         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
6863         x86_platforms data into new file after prepending _dl_.  Change
6864         users.
6865         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
6866         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
6867         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
6868         dl-procinfo.c.
6869
6870         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
6871
6872         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
6873         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
6874         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
6875         (_setjmp): Likewise.
6876         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
6877         * sysdeps/i386/bsd-setjmp.S: Real implementation.
6878         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
6879         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
6880         version.
6881
6882 2001-01-16  Andreas Jaeger  <aj@suse.de>
6883
6884         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
6885         misapplied last patch.
6886
6887 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
6888
6889         * stdlib/random.c (__initstate): Clean up a cast.
6890         (__setstate): Likewise.
6891
6892         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
6893         syscall handling.  The generic Linux version should work.
6894
6895 2001-01-15  Andreas Jaeger  <aj@suse.de>
6896
6897         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
6898
6899         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
6900
6901 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
6902
6903         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
6904         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
6905         New functions.
6906         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
6907         If number is 0, list all.
6908         (services_keys): Likewise.  Lookup aliases as well.
6909         (databases): New table.
6910         (build_doc): Prepare argp doc text with list of supported databases.
6911         (main): Change to table driven processing.
6912
6913 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
6914
6915         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
6916         functions.
6917
6918 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
6919
6920         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
6921         encode value which does not fit in the 32bit type.
6922
6923 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
6924
6925         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
6926         Change type of CTX to (struct sigcontext *).
6927         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
6928         (GET_FRAME): Likewise.
6929         (GET_STACK): Likewise.
6930         (SIGCONTEXT): Likewise.  Add 2nd arg _code.
6931         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
6932
6933 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
6934
6935         * manual/texinfo.tex: Update from upstream version.
6936
6937 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
6938
6939         * inet/ether_ntoh.c (lookup_function): Change arguments to match
6940         _nss_*_getntohost_r prototype.
6941         (ether_ntohost): Pass errno pointer to NSS function.
6942
6943 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6944
6945         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
6946         (MAP_LOCKED): New definition.
6947         (MAP_NORESERVE): New definition.
6948
6949 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
6950
6951         * assert/assert.h: Use static_cast instead of C-style cast for C++.
6952         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
6953
6954 2001-01-12  Ben Collins  <bcollins@debian.org>
6955
6956         * sysdeps/generic/segfault.c (install_handler): Use access, not
6957         __access.
6958
6959 2001-01-12  Andreas Jaeger  <aj@suse.de>
6960
6961         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
6962         * posix/wordexp.c (do_parse_glob): Likewise.
6963         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6964         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
6965         * elf/dl-open.c (_dl_open): Likewise.
6966         * elf/dl-close.c (_dl_close): Likewise.
6967         * elf/dl-load.c (_dl_map_object): Likewise.
6968         * iconv/iconv_prog.c (process_fd): Likewise.
6969         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
6970
6971         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
6972         of a zero-length array.
6973
6974 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
6975
6976         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
6977         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
6978         * stdlib/cxa_on_exit.c: Remove.
6979         * stdlib/Makefile: Revert last patch.
6980         * stdlib/Versions: Likewise.
6981         * include/stdlib.h: Likewise.
6982         * stdlib/exit.h: Revert last patch.
6983         (struct exit_function): Add second argument to cxa fn.
6984         * stdlib/exit.c: Revert last patch.
6985         (exit): Add hidden second argument.
6986
6987 2001-01-11  H.J. Lu  <hjl@gnu.org>
6988
6989         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
6990         * elf/dl-open.c (_dl_open): Here.
6991         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
6992         Make it static.
6993         (_dl_static_init): Initialize the variables every time when possible.
6994         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
6995         Undefine it first.
6996
6997 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
6998
6999         * stdlib/Makefile (routines): Add cxa_on_exit.
7000         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
7001         * stdlib/cxa_on_exit.c: New file.
7002         * include/stdlib.h: Add prototype for __cxa_on_exit.
7003         * stdlib/exit.c: Handle ef_cxa2.
7004         * stdlib/exit.h (enum): Add ef_cxa2.
7005         (struct exit_function): Add cxa2.
7006
7007         * Versions.def [ld]: Add GLIBC_2.2.1.
7008
7009 2001-01-10  H.J. Lu  <hjl@gnu.org>
7010
7011         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
7012         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
7013         dl-static.
7014         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
7015         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
7016         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
7017         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
7018         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
7019
7020 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
7021
7022         * libio/stdio.h: Remove definition of off_t.
7023
7024 2001-01-11  Andreas Jaeger  <aj@suse.de>
7025
7026         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
7027         <mkuhn@acm.org>.
7028
7029 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
7030
7031         * sunrpc/Makefile (distribute): Add errqueue.h.
7032
7033 2001-01-10  H.J. Lu  <hjl@gnu.org>
7034
7035         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
7036         r9, r10 and r11 for language specific registers.
7037
7038 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
7039
7040         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
7041         UDP socket.
7042         (clntudp_call): Handle MSG_ERRQUEUE.
7043         * sysdeps/generic/errqueue.h: New file.
7044         * sysdeps/unix/sysv/linux/errqueue.h: New file.
7045
7046 2001-01-10  H.J. Lu  <hjl@gnu.org>
7047
7048         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
7049
7050 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
7051
7052         * CONFORMANCE: Update.
7053
7054 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
7055
7056         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
7057         Minimal cleanups.  Add assert to ensure memory handling is correct.
7058
7059         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
7060         Reported by Ben Collins <bcollins@debian.org>.
7061
7062         * time/strftime.c (my_strftime): Mark previous GNU extensions
7063         which are now in C99 as such.
7064
7065 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
7066
7067         * elf/rtld.c (process_envvars): Place output files for profiling
7068         in SUID binaries in /var/profile.
7069
7070         * elf/dl-load.c (_dl_map_object): Don't look in cache for
7071         preloading in SUID binaries.
7072
7073         * elf/dl-profile.c (_dl_start_profile): Open the output file with
7074         O_NOFOLLOW if possible.
7075
7076         * include/stdlib.h: Add __posix_openpt declaration.
7077         * stdlib/stdlib.h: Add posix_openpt declaration.
7078         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
7079         * sysdeps/generic/getpt.c: Define posix_openpt.
7080         * sysdeps/unix/bsd/getpt.c: Likewise.
7081         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
7082
7083         * time/Makefile (tests): Add tst-mktime.
7084         * time/tst-mktime.c: New file.
7085
7086         * posix/tst-dir.c (main): One more mkdir() test.
7087
7088         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
7089         Remove getpagesize syscall.  We assume that the pagesize is always
7090         determined from the auxiliary vector.
7091
7092         * intl/dcigettext.c: Fix a few warnings.
7093         Patch by Bruno Haible <haible@ilog.fr>.
7094
7095 2001-01-08  Andreas Jaeger  <aj@suse.de>
7096
7097         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
7098         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
7099
7100 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
7101
7102         * sysdeps/generic/segfault.c (install_handler): Check output file
7103         name with access().
7104
7105         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
7106         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
7107
7108         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
7109
7110         * malloc/memusage.c (me): Use access() to determine whether we
7111         should write the output file or not.
7112
7113         * libio/bits/stdio.h (printf): Define macro to map printf call to
7114         fprintf which gcc can optimize.
7115         * stdio-common/printf.c: Undefine printf.
7116
7117 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
7118
7119         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
7120         patch.  We must use unsigned int for l member of union.
7121
7122         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
7123         _dl_aux_init for shared libraries.
7124
7125         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
7126         * sysdeps/gnu/glob64.c: ...here.  New file.
7127
7128 2001-01-07  Ben Collins  <bcollins@debian.org>
7129
7130         * manual/examples/longopt.c: Make the "struct option" a little
7131         more like it should be, adding usage of required_argument,
7132         noargument and such, and also setting the options string right.
7133
7134         * manual/sysinfo.texi (Load Average): New section, documents
7135         getloadavg().
7136
7137 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
7138
7139         * version.h (VERSION): Bump to 2.2.1.
7140
7141         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
7142         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
7143         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
7144         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
7145         * Makefile (distribute): Add include/libc-internal.h.
7146         * libio/Makefile (distribute): Avoid overwriting.
7147
7148         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
7149         buffer and table handling.
7150
7151 2001-01-05  H.J. Lu  <hjl@gnu.org>
7152
7153         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
7154         vector checking to ...
7155         (_dl_aux_init): Here.  New function.  Defined only if
7156         HAVE_AUX_VECTOR is defined.
7157
7158         * sysdeps/generic/libc-start.c (__libc_start_main): Call
7159         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
7160
7161         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
7162         _dl_aux_init.
7163
7164         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
7165         (HAVE_AUX_VECTOR): Defined.
7166         (_dl_aux_init): Declared.
7167
7168 2001-01-05  Ben Collins  <bcollins@debian.org>
7169
7170         * manual/string.texi (Finding Tokens in a String): Document XPG
7171         basename() and dirname(), as well as GNU basename().
7172
7173 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
7174
7175         * Makeconfig (preprocess-version): Replace -traditional with
7176         -x assembler-with-cpp.
7177
7178 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
7179
7180         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
7181         for GCC 2.97 or later.
7182
7183 2001-01-05  Ben Collins  <bcollins@debian.org>
7184
7185         * manual/stdio.texi (getline): Clarify the return value in the
7186         case of EOF being reached before a newline.
7187
7188 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
7189
7190         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
7191         FALSE otherwise.
7192         (pmap_set, pmap_unset): Check __get_myaddress return value.
7193
7194 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
7195
7196         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
7197         (struct ether_addr): Declare ether_addr_octet member as
7198         `u_int8_t'.  Add __attribute__ ((__packed__)).
7199
7200 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7201
7202         * sysdeps/mach/hurd/readdir64.c: New file.
7203         * sysdeps/mach/hurd/readdir64_r.c: New file.
7204
7205 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
7206
7207         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
7208         `struct statfs' and `struct statvfs' being identical.
7209         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
7210
7211 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7212
7213         * sysdeps/mach/hurd/fstatfs64.c: New file.
7214         * sysdeps/mach/hurd/fstatvfs64.c: New file.
7215         * sysdeps/mach/hurd/statfs64.c: New file.
7216         * sysdeps/mach/hurd/statvfs64.c: New file.
7217         * sysdeps/mach/hurd/statfsconv.c: New file.
7218         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
7219
7220 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
7221
7222         * iconv/skeleton.c: Reset outbuf for next round of the loop.
7223         Reported by Owen Taylor <otaylor@redhat.com>.
7224         * iconv/Makefile (tests): Add tst-iconv3.
7225         * iconv/tst-iconv3.c: New file.
7226
7227         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
7228         * iconvdata/ibm933.c: Likewise.
7229         * iconvdata/ibm935.c: Likewise.
7230         * iconvdata/ibm937.c: Likewise.
7231         * iconvdata/ibm939.c: Likewise.
7232         * iconvdata/ibm930.h: Adjust single byte table for optimization.
7233         * iconvdata/ibm933.h: Likewise.
7234         * iconvdata/ibm935.h: Likewise.
7235         * iconvdata/ibm939.h: Likewise.
7236
7237         * iconvdata/testdata/IBM930: Add misssing SI.
7238         * iconvdata/testdata/IBM933: Likewise.
7239         * iconvdata/testdata/IBM935: Likewise.
7240         * iconvdata/testdata/IBM937: Likewise.
7241         * iconvdata/testdata/IBM939: Likewise.
7242
7243 2001-01-06  Andreas Jaeger  <aj@suse.de>
7244
7245         * configure.in: Check for old add-ons that shouldn't be used with
7246         current glibc anymore.
7247
7248 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7249
7250         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
7251         instead of -1 on failure.  Don't forget to copy file name into
7252         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
7253         of the directory.
7254
7255 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7256
7257         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
7258         copy st_atime member.
7259
7260 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
7261
7262         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
7263         for searches from the root directory.
7264         Reported by loris <loris@iol.it> [PR libc/1991].
7265         * io/Makefile (tests): Add bug-ftw1.
7266         * io/bug-ftw1.c: New file.
7267
7268         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
7269         if it is not available.  Instead use it only if it is available.
7270         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
7271
7272         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
7273         overflowing output buffer.
7274         (internal_ucs4_loop_unaligned): Likewise.
7275         (ucs4_internal_loop): Likewise.
7276         (ucs4_internal_loop_unaligned): Likewise.
7277         (internal_ucs4le_loop): Likewise.
7278         (internal_ucs4le_loop_unaligned): Likewise.
7279         (ucs4le_internal_loop): Likewise.
7280         (ucs4le_internal_loop_unaligned): Likewise.
7281         Reported by Owen Taylor <otaylor@redhat.com>.
7282         * iconv/Makefile (tests): Add tst-iconv2.
7283         * iconv/tst-iconv2.c: New file.
7284
7285 2001-01-04  H.J. Lu  <hjl@gnu.org>
7286
7287         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
7288         (_dl_clktck): Declared.
7289         (non_dynamic_init): Take 3 arguments.
7290         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
7291
7292 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
7293
7294         Finish implementation of plural form handling.
7295         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
7296         'domainname'.  Remove 'plindex' field.  Add 'domain' and
7297         'translation_length' fields.
7298         (transcmp): Don't compare 'plindex' fields.
7299         (plural_lookup): New function.
7300         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
7301         plural_eval before the translation and its catalog file have been
7302         found.  Remove plindex from cache key.  Add 'translation_length' and
7303         'domain' to cache result.
7304         (_nl_find_msg): Remove index argument, return length of translation
7305         to the caller instead.  Weaken comparison of string lengths, to account
7306         for plural entries.  Call iconv() on the entire result string, not
7307         only on the portion needed so far.
7308         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
7309         argument.
7310         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
7311
7312 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
7313
7314         * intl/plural.y (yylex): Minimal improvement in number scanner.
7315
7316 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
7317
7318         * intl/plural.y: Include config.h.  Needed to define 'inline' away for
7319         C compilers that don't support it.
7320         (yylex): Don't use gcc specific case range syntax.
7321         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
7322         compilers.
7323
7324 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
7325
7326         * intl/finddomain.c: Remove unneeded includes.
7327
7328 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
7329
7330         * intl/localealias.c (memcpy): Return first argument, just like the
7331         real memcpy function does.
7332         * intl/bindtextdom.c (memcpy): Likewise.
7333         * intl/finddomain.c (memcpy): Likewise.
7334         * intl/l10nflist.c (memcpy): Likewise.
7335         * intl/textdomain.c (memcpy): Likewise.
7336         From Paul Eggert <eggert@twinsun.com>.
7337
7338 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
7339
7340         * resolv/resolv.h (struct __res_state): Add nsinit field.
7341         * resolv/res_send.c (res_nsend): Use it instead of nscount.
7342         * resolv/res_init.c (__res_vinit): Initialize it.
7343         (res_nclose): Clear it instead of nscount.
7344
7345 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
7346
7347         * malloc/mtrace.pl: Fix matching of addresses.
7348         Patch by Aharon Robbins <arnold@skeeve.com>.
7349
7350         * Versions.def (ld): Add GLIBC_2.2.
7351
7352         * catgets/gencat.c: Copyright 2001.
7353         * csu/version.c: Likewise.
7354         * debug/catchsegv.sh: Likewise.
7355         * debug/xtrace.sh: Likewise.
7356         * elf/ldconfig.c: Likewise.
7357         * elf/sprof.c: Likewise.
7358         * iconv/iconv_prog.c: Likewise.
7359         * locale/locale.c: Likewise.
7360         * locale/localedef.c: Likewise.
7361         * malloc/memusage.sh: Likewise.
7362         * malloc/mtrace.pl: Likewise.
7363         * nscd/nscd.c: Likewise.
7364         * posix/getconf.c: Likewise.
7365
7366 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
7367
7368         * include/stdio.h: Only provide __getwc_unlocked prototype if
7369         USE_IN_LIBIO is defined.
7370
7371 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7372
7373         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
7374         handling.
7375
7376 2001-01-03  Andreas Schwab  <schwab@suse.de>
7377
7378         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
7379         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
7380
7381         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
7382         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
7383         strtoull alias.
7384         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
7385         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
7386         wcstoull alias.
7387
7388         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
7389         directory.
7390         * sysdeps/generic/strtol_l.c: Likewise.
7391         * sysdeps/generic/strtoul_l.c: Likewise.
7392         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
7393
7394         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
7395         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
7396         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
7397         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
7398
7399 2001-01-04  Andreas Jaeger  <aj@suse.de>
7400
7401         * nss/nsswitch.c: Include files for missing prototypes, remove
7402         buggy declaration of prototypes.
7403
7404 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7405
7406         * resolv/Versions: Fix bracing.
7407         * sysdeps/powerpc/soft-fp/Versions: Likewise.
7408         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
7409
7410 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7411
7412         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
7413
7414 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7415
7416         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
7417         Suggested by Minko Markov <mmarkov@home.com>.
7418
7419 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7420
7421         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
7422         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
7423         the failing symbol.
7424         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
7425
7426 2001-01-02  Ben Collins  <bcollins@debian.org>
7427
7428         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
7429         if TZ is not set and TZDEFAULT is not present.
7430
7431 2001-01-01  Ben Collins  <bcollins@debian.org>
7432
7433         * string/strings.h: Make sure we declare our functions even if
7434         string.h is already included, based on whether or not __USE_BSD is
7435         defined.
7436
7437 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7438
7439         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
7440         other dlopen() and dlsym().
7441         Based on a patch by Ben Collins <bcollins@debian.org>.
7442
7443 2001-01-02  Andreas Jaeger  <aj@suse.de>
7444
7445         * dlfcn/errmsg1.c (main): Call dlerror initially.
7446         Reported by Ben Collins <bcollins@debian.org>.
7447
7448 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7449
7450         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
7451         value is ignored if the selected locale is the C locale.
7452         * intl/tst-gettext.c: Set locale for above change.
7453         * intl/tst-translit.c: Likewise.
7454
7455 2001-01-02  Andreas Jaeger  <aj@suse.de>
7456
7457         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
7458         (_IO_switch_to_wget_mode): Likewise.
7459         (_IO_sputbackwc): Likewise.
7460         (_IO_sungetwc): Use wint_t for result.
7461
7462         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
7463
7464         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
7465         signedness.
7466
7467         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
7468         to (int) to avoid warnings.
7469         * stdio-common/printf_fp.c (putc): Likewise.
7470         * stdio-common/printf_size.c (putc): Likewise.
7471
7472         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
7473         constant unsigned.
7474
7475 2001-01-01  Andreas Jaeger  <aj@suse.de>
7476
7477         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
7478
7479 2000-12-31  Andreas Jaeger  <aj@suse.de>
7480
7481         * include/libc-internal.h: Add prototype for __libc_freeres.
7482
7483         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
7484         for prototypes, remove redundant prototypes.
7485         * gmon/gmon.c: Likewise.
7486         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
7487         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
7488         * malloc/mtrace.c: Likewise.
7489
7490         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
7491         prototypes.
7492         * elf/soinit.c: Likewise.
7493         * sysdeps/generic/prof-freq.c: Likewise.
7494         * sysdeps/mach/hurd/profil.c: Likewise.
7495         * debug/noophooks.c: Likewise.
7496         * debug/pcprofile.c: Likewise.
7497         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
7498         * sysdeps/generic/get_clockfreq.c: Likewise.
7499         * malloc/set-freeres.c: Likewise.
7500
7501         * locale/localeinfo.h: Add internal prototypes.
7502
7503         * elf/rtld.c (dl_main): Fix prototype.
7504
7505         * iconvdata/tst-table-to.c (main): Use return instead of exit to
7506         avoid warning.
7507
7508         * nis/rpcsvc/yp_prot.h: Remove __P.
7509         * nis/rpcsvc/ypupd.h: Likewise.
7510         * nis/rpcsvc/yp.h: Likewise.
7511
7512         * sunrpc/rpc_main.c: Add noreturn attributes.
7513         * sunrpc/rpc_scan.h: Likewise.
7514
7515         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
7516
7517         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
7518
7519         * sunrpc/proto.h: Add noreturn attributes to error and crash.
7520
7521         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
7522
7523         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
7524
7525         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
7526
7527         * include/rpc/rpc_msg.h: Add prototypes for some functions.
7528         * include/rpc/auth.h: Likewise.
7529         * include/rpc/auth_des.h: Likewise.
7530         * include/rpc/clnt.h: Likewise.
7531         * include/rpc/rpc.h: Likewise.
7532         * include/rpc/svc.h: Likewise.
7533         * include/rpc/svc_auth.h: Likewise.
7534
7535         * include/rpc/des_crypt.h: New file.
7536
7537         * malloc/memusagestat.c (main): Use return instead of exit to
7538         avoid warning.
7539         * io/pwd.c (main): Likewise.
7540         * iconvdata/tst-table-from.c (main): Likewise.
7541         * ctype/test_ctype.c (main): Likewise.
7542         * setjmp/tst-setjmp.c (main): Likewise.
7543         * signal/tst-signal.c (main): Likewise.
7544         * stdlib/tst-strtol.c (main): Likewise.
7545         * stdlib/tst-strtod.c (main): Likewise.
7546         * stdlib/tst-strtoll.c (main): Likewise.
7547         * stdlib/tst-xpg-basename.c (main): Likewise.
7548         * dirent/tst-seekdir.c (main): Likewise.
7549         * grp/testgrp.c (main): Likewise.
7550         * inet/test_ifindex.c (main): Likewise.
7551         * io/test-utime.c (main): Likewise.
7552         * posix/test-vfork.c (main): Likewise.
7553         * posix/testfnm.c (main): Likewise.
7554         * stdio-common/temptest.c (main): Likewise.
7555         * stdio-common/test_rdwr.c (main): Likewise.
7556         * stdio-common/tst-fileno.c (main): Likewise.
7557         * stdio-common/tst-sscanf.c (main): Likewise.
7558         * stdio-common/tstscanf.c (main): Likewise.
7559         * string/bug-strncat1.c (main): Likewise.
7560         * string/bug-strpbrk1.c (main): Likewise.
7561         * string/bug-strspn1.c (main): Likewise.
7562         * string/test-ffs.c (main): Likewise.
7563         * string/tst-inlcall.c (main): Likewise.
7564         * string/tst-svc.c (main): Likewise.
7565         * timezone/test-tz.c (main): Likewise.
7566         * wctype/test_wcfuncs.c (main): Likewise.
7567         * wctype/test_wctype.c (main): Likewise.
7568
7569         * stdlib/tst-random.c: Add attribute noreturn to fail.
7570
7571 2000-12-28  Wolfram Gloger  <wg@malloc.de>
7572
7573         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
7574         destination overlap.  Assume dest is always below source if
7575         overlapping.
7576
7577 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
7578
7579         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
7580         object was not yet initialized.
7581
7582 2000-12-28  H.J. Lu  <hjl@gnu.org>
7583
7584         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
7585         is always consistent even if its dependency is failed.
7586
7587         * elf/dl-open.c (_dl_open): Increment the open count before
7588         calling _dl_close () in case of failure.
7589
7590         * elf/neededtest4.c: New file.
7591         * elf/neededobj5.c: New file.
7592         * elf/neededobj6.c: New file.
7593
7594         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
7595         (tests): Add neededtest4.
7596         (modules-names): Add neededobj5 and neededobj6.
7597         ($(objpfx)neededobj6.so): New target.
7598         ($(objpfx)neededtest4): New target.
7599         ($(objpfx)neededtest4.out): New target.
7600
7601 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
7602
7603         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
7604         * stdlib/monetary.h: Add strfmon format attributes.
7605
7606 2000-12-28  Roland McGrath  <roland@frob.com>
7607
7608         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
7609         __mempcpy does it for us.
7610
7611 2000-12-28  Andreas Jaeger  <aj@suse.de>
7612
7613         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
7614
7615         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
7616         __new_setrlimit.
7617
7618         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
7619         __old_getrlimit64.
7620
7621         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
7622         __new_getrlimit.
7623
7624         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
7625         __chown_is_lchown and __real_chown.
7626
7627         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
7628         _dl_reloc_bad_type.
7629
7630         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
7631         up GCC's warning about "deprecated use of label at end of compound
7632         statement."
7633         * sunrpc/rpc_cout.c (emit_inline): Likewise.
7634
7635         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
7636         prototypes.
7637         Remove struct bb and __bb_head since those are declared by
7638         sys/gmon.h.
7639
7640 2000-12-22  Ben Collins  <bcollins@debian.org>
7641
7642         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
7643
7644         * manual/argp.texi: Document argp_domain as part of struct argp.
7645
7646 2000-12-28  Andreas Jaeger  <aj@suse.de>
7647
7648         * catgets/Makefile (generated): Add sample.SJIS.cat.
7649
7650         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
7651
7652         * elf/dl-minimal.c: Add prototypes.
7653
7654         * include/locale.h: Add internal prototypes.
7655         * include/sys/gmon.h: Likewise.
7656
7657         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
7658
7659 2000-12-27  Ben Collins  <bcollins@debian.org>
7660
7661         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
7662         when reallocating the error strings.
7663         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
7664
7665 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
7666
7667         * dlfcn/Makefile (tests): Add errmsg1.
7668         (modules-names): Add errmsg1mod.
7669         Add rules to run errmsg1.
7670         * dlfcn/errmsg1.c: New file.
7671         * dlfcn/errmsg1mod.c: New file.
7672
7673         * dlfcn/dlerror.c (dlerror): Always create output string which
7674         includes object file name.
7675
7676         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
7677         if we would go through it only once.
7678         Patch by Rick Gorton <rick.gorton@api-networks.com>.
7679
7680         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
7681         Patch by Richard Henderson <rth@redhat.com>.
7682
7683 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
7684
7685         * malloc/malloc.c (memmove): Add prototypes.
7686         (MALLOC_MEMMOVE): Define.
7687         (chunk_realloc): Use it instead of MALLOC_COPY if source and
7688         destination might overlap.
7689
7690 2000-12-27  Andreas Jaeger  <aj@suse.de>
7691
7692         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
7693         function.
7694         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7695         * locale/programs/locale.c (show_locale_vars): Likewise.
7696         (show_info): Likewise.
7697         * locale/programs/ld-collate.c (collate_output): Likewise.
7698         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
7699         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7700         * stdlib/rpmatch.c (rpmatch): Likewise.
7701
7702         * setjmp/tst-setjmp.c: Make local functions static.
7703         * setjmp/jmpbug.c: Likewise.
7704         * signal/tst-signal.c: Likewise.
7705         * stdio-common/tfformat.c: Likewise.
7706         * string/tst-svc.c: Likewise.
7707         * time/clocktest.c: Likewise.
7708         * time/tst-getdate.c: Likewise.
7709         * dirent/list.c: Likewise.
7710         * dirent/opendir-tst1.c: Likewise.
7711         * posix/runtests.c: Likewise.
7712         * posix/tst-getaddrinfo.c: Likewise.
7713         * posix/tst-chmod.c: Likewise.
7714         * posix/wordexp-test.c: Likewise.
7715         * misc/tst-efgcvt.c: Likewise.
7716         * timezone/tst-timezone.c: Likewise.
7717         * rt/tst-clock.c: Likewise.
7718         * rt/tst-shm.c: Likewise.
7719         * rt/tst-aio2.c: Likewise.
7720         * rt/tst-aio3.c: Likewise.
7721         * rt/tst-aio4.c: Likewise.
7722         * rt/tst-aio5.c: Likewise.
7723
7724         * dlfcn/failtest.c: Add prototype for foo.
7725
7726         * dlfcn/glrefmain.c: Add prototype for do_test.
7727
7728         * dlfcn/tst-dladdr.c: Add prototype for do_test.
7729
7730         * string/test-ffs.c (main): Add prototype for nested function.
7731
7732         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
7733
7734         * nss/XXX-lookup.c: Add prototype to shut up GCC.
7735
7736         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
7737         setetherent prototype.
7738         Add internal interfaces.
7739
7740         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
7741         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
7742
7743         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
7744
7745         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
7746
7747         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
7748         prototypes, remove struct etherent since it's declared in ether.h.
7749         Fix ntohost declaration.
7750
7751         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
7752
7753         * include/getopt.h: Add internal interfaces.
7754         * include/termios.h: Likewise.
7755         * include/resolv.h: Likewise.
7756         * include/netdb.h: Likewise.
7757         * include/grp.h: Likewise.
7758         * include/pwd.h: Likewise.
7759         * include/shadow.h: Likewise.
7760         * include/rpc/netdb.h: Likewise.
7761         * include/setjmp.h: Likewise.
7762
7763         * include/stdio.h: Add prototypes for compatibility functions.
7764         * include/grp.h: Likewise.
7765         * include/pwd.h: Likewise.
7766         * include/shadow.h: Likewise.
7767
7768         * include/fenv.h: Define internal interfaces.
7769
7770 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
7771
7772         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
7773         argument case separately.
7774         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
7775
7776 2000-12-27  Andreas Jaeger  <aj@suse.de>
7777
7778         * include/sys/wait.h: Add some prototypes.
7779         * Rules (dummy.c): Create also prototype to shut up GCC.
7780
7781 2000-12-27  Andreas Jaeger  <aj@suse.de>
7782
7783         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
7784         it's not needed at the moment.
7785         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
7786         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
7787
7788 2000-12-26  Andreas Jaeger  <aj@suse.de>
7789
7790         * libio/getc_u.c: Include stdio.h via system path to get internal
7791         prototypes.
7792         * libio/getwc_u.c: Likewise.
7793
7794         * stdlib/strfmon.c: Fix prototype of __printf_fp.
7795
7796         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
7797         __printf_fp prototypes to ...
7798         * include/printf.h: ...here.
7799
7800         * include/stdio.h: Add some internal prototypes to shut up GCC.
7801         * include/stdlib.h: Likewise.
7802
7803         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
7804         declaration.
7805
7806         * include/signal.h: Add prototypes for internal sigpause
7807         interfaces.
7808
7809 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
7810
7811         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
7812         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
7813
7814         * string/Makefile (tests): Add tst-bswap.
7815         * string/tst-bswap.c: New file.
7816
7817 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
7818
7819         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
7820
7821 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
7822
7823         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
7824         Patch by Ed Connell <Ed.Connell@sas.com>.
7825
7826 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
7827
7828         * locale/iso-639.def: Correct one entry.  Add two missing entries.
7829
7830         * locale/iso-4217.def: Change entry for Eritrea.
7831         Reported by Daniel Yacob <yacob@geez.org>.
7832
7833 2000-12-23  Ben Collins  <bcollins@debian.org>
7834
7835         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
7836         description.
7837
7838         * manual/stdio.texi (Dynamic Output): Document the return value of
7839         asprintf.  Also make the asprintf/snprintf examples a little
7840         better (check for some error returns).
7841
7842 2000-12-22  Andreas Jaeger  <aj@suse.de>
7843
7844         * include/stdio.h: Add __ftrylockfile prototype.
7845
7846 2000-12-21  H.J. Lu  <hjl@gnu.org>
7847
7848         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
7849         Make sign_exponent element signed.
7850
7851         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
7852         Fix a typo.
7853
7854         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
7855
7856 2000-12-21  Andreas Jaeger  <aj@suse.de>
7857
7858         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
7859         * inet/ether_hton.c: Likewise
7860         * inet/ether_ntoh.c: Likewise.
7861
7862         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
7863         declaration to match prototype.
7864
7865         * include/netinet/ether.h (struct etherent): Declare here so that
7866         all implementations use the same struct.
7867
7868         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
7869         prototypes.
7870         (struct ether): Removed.
7871         Use struct etherent instead of ether everywhere.
7872
7873         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
7874
7875         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
7876
7877         * sunrpc/publickey.c: Include auth_des.h for prototypes.
7878
7879 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
7880
7881         * math/test-misc.c: Add more tests for nextafter functions.
7882
7883         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
7884         normal correctly.  Correct test for sign.
7885         Based on a patch by HJ Lu.
7886
7887 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
7888
7889         * Makeconfig (preprocess-version): Add -traditional to gcc call.
7890         Cleanup sed calls.
7891
7892 2000-12-19  Andreas Jaeger  <aj@suse.de>
7893
7894         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
7895
7896         * nis/nis_intern.h: Add prototype for __do_niscall3.
7897
7898         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
7899         match prototype.
7900
7901         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
7902
7903         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7904
7905         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
7906
7907 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
7908
7909         * math/test-misc.c: Add more tests for nextafter.
7910         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
7911         * sysdeps/ieee754/ldbl-96/math_ldbl.h
7912         (ieee_long_double_shape_type): Make sign_exponent element signed.
7913
7914         * manual/message.texi: Add Estonian to plural overview list.
7915         Correct rule for Slavic languages.
7916         Patch by Stanislav Brabec <utx@penguin.cz>.
7917
7918         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
7919
7920 2000-12-18  Andreas Jaeger  <aj@suse.de>
7921
7922         * test-skeleton.c: Use temp_name_list instead of name_list to
7923         avoid collision with name_list from inet/netgroup.h.
7924
7925         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
7926
7927         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
7928         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
7929         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7930         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
7931
7932         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
7933         declaration to match prototype.
7934         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
7935         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
7936         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
7937         Likewise.
7938         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
7939         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
7940         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
7941         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
7942         (_nss_nis_getservbyport_r): Likewise.
7943         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
7944         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
7945         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
7946         (_nss_nis_setnetent): Likewise
7947         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7948         (_nss_nis_endnetgrent): Likewise.
7949         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
7950         Likewise.
7951         (_nss_nisplus_setnetgrent): Likewise.
7952         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
7953         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
7954         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
7955         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
7956         Likewise.
7957         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
7958         Likewise.
7959         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
7960         Likewise.
7961         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
7962         Likewise.
7963         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
7964         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
7965         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
7966         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7967         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
7968         (_nss_dns_getnetbyaddr_r): Likewise.
7969
7970 2000-12-17  Andreas Jaeger  <aj@suse.de>
7971
7972         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
7973         parameter.
7974
7975         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
7976         unused attribute to shut up gcc warnings.
7977
7978         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
7979         * sysdeps/generic/k_tanl.c: Likewise.
7980         * sysdeps/generic/k_cosl.c: Likewise.
7981         * sysdeps/generic/e_j0l.c: Likewise.
7982         * sysdeps/generic/e_j1l.c: Likewise.
7983         * sysdeps/generic/e_jnl.c: Likewise.
7984         * sysdeps/generic/e_lgammal_r.c: Likewise.
7985
7986         * elf/vismain.c: Move prototypes for functions in vismod*.c to
7987         vismod.h.
7988         * elf/vismod.h: New file.
7989         * elf/Makefile (distribute): Add vismod.h.
7990         * elf/vismod1.c: Include vismod.h.
7991         * elf/vismod2.c: Likewise.
7992         * elf/vismod3.c: Likewise.
7993
7994         * elf/constload3.c: Add prototype declarations to shut up gcc.
7995         * elf/failobj.c: Likewise.
7996         * elf/nodelmod3.c: Likewise.
7997         * elf/filtmod1.c: Likewise.
7998         * elf/filtmod2.c: Likewise.
7999         * elf/reldepmod1.c: Likewise.
8000         * elf/reldepmod2.c: Likewise.
8001         * elf/reldepmod3.c: Likewise.
8002         * elf/reldepmod4.c: Likewise.
8003         * elf/unload2dep.c: Likewise.
8004         * elf/unload2mod.c: Likewise.
8005         * elf/ltglobmod1.c: Likewise.
8006         * elf/pathoptobj.c: Likewise.
8007         * elf/neededobj1.c: Likewise.
8008         * elf/neededobj2.c: Likewise.
8009         * elf/neededobj3.c: Likewise.
8010         * elf/neededobj4.c: Likewise.
8011         * elf/nextmod1.c: Likewise.
8012         * elf/nextmod2.c: Likewise.
8013
8014         * locale/programs/ld-collate.c (collate_finish): Don't use labels
8015         at end of compound statement.
8016         * locale/programs/locale.c (show_info): Likewise.
8017         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
8018
8019 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
8020
8021         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
8022         with a pointer not returned by obstack_ functions.
8023
8024 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
8025
8026         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
8027         version.
8028         (struct stat64): Likewise.
8029         Reported by Michael Keezer <mkeezer@redhat.com>.
8030
8031         * timezone/asia: Update from tzdata2000h.
8032         * timezone/australasia: Likewise.
8033         * timezone/backward: Likewise.
8034         * timezone/europe: Likewise.
8035         * timezone/northamerica: Likewise.
8036         * timezone/southamerica: Likewise.
8037         * timezone/zone.tab: Likewise.
8038
8039 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
8040
8041         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
8042         and dir.stream is NULL, only free dir.content.
8043         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
8044         * io/ftwtest-sh: Test with --early-exit.
8045
8046 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
8047
8048         * misc/efgcvt.c (FCVT_MAXDIG): Define.
8049         (FCVT_BUFPTR): New variable.
8050         (fcvt): If fcvt_r returns -1 on the static short buffer,
8051         try to malloc a sufficiently large one and retry.
8052         (free_mem): New function.
8053         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
8054         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
8055
8056 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
8057
8058         * misc/dirname.c (dirname): Fix search for second to last slash.
8059
8060 2000-12-13  Andreas Jaeger  <aj@suse.de>
8061
8062         * misc/tst-dirname.c (main): Fix typo in test to really use
8063         the examples from Unix98.
8064         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8065
8066 2000-12-09  H.J. Lu  <hjl@gnu.org>
8067
8068         * sysdeps/ia64/fpu/s_fabs.S: New file.
8069         * sysdeps/ia64/fpu/s_fabsf.S: New file.
8070         * sysdeps/ia64/fpu/s_fabsl.S: New file.
8071
8072 2000-12-15  Andreas Jaeger  <aj@suse.de>
8073
8074         * stdio-common/scanf9.c (main): Reformat and change to avoid
8075         warnings.
8076
8077         * stdio-common/tstdiomisc.c: Make local functions static.
8078         * stdio-common/tst-printf.c: Likewise.
8079
8080         * elf/constload2.c: Add prototype declarations to shut up gcc.
8081         * elf/dep1.c: Likewise.
8082         * elf/dep2.c: Likewise.
8083         * elf/dep3.c: Likewise.
8084         * elf/dep4.c: Likewise.
8085         * elf/ltglobmod2.c: Likewise.
8086
8087         * libio/fmemopen.c: Make local functions static.
8088
8089         * elf/Makefile (distribute): Added testobj.h.
8090
8091         * elf/testobj.h: New file.
8092
8093         * elf/testobj1.c: Include testobj.h and move prototype
8094         declarations to testobj.h.
8095         * elf/testobj2.c: Likewise.
8096         * elf/testobj3.c: Likewise.
8097         * elf/testobj4.c: Likewise.
8098         * elf/testobj5.c: Likewise.
8099         * elf/testobj6.c: Likewise.
8100         * elf/testobj1_1.c: Likewise.
8101         * elf/preloadtest.c: Likewise.
8102
8103 2000-12-15  Ben Collins  <bcollins@debian.org>
8104
8105         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
8106         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
8107
8108 2000-12-14  H.J. Lu  <hjl@gnu.org>
8109
8110         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
8111         field in a float is 8 bits, not 11 bits.
8112
8113 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
8114
8115         * math/test-misc.c (main): Adjust m for IEEE quad long double.
8116
8117 2000-12-13  Andreas Jaeger  <aj@suse.de>
8118
8119         * manual/message.texi (Using gettextized software): Fix typo.
8120
8121         * manual/charset.texi (Converting a Character): Fix mbstouwcs
8122         program to compile.
8123         Patch by Martin Buchholz <martin@xemacs.org>.
8124
8125         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
8126         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8127
8128 2000-12-11  Andreas Jaeger  <aj@suse.de>
8129
8130         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
8131         kernel_sigset_t and use it.
8132         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
8133
8134 2000-12-10  Richard Henderson  <rth@redhat.com>
8135
8136         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
8137         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
8138         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
8139
8140 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
8141
8142         * sysdeps/alpha/htonl.S: Fix a typo.
8143
8144 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
8145
8146         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
8147
8148 2000-12-10  Andreas Jaeger  <aj@suse.de>
8149
8150         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
8151         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
8152         Drepper <drepper@redhat.com>.
8153
8154 2000-12-09  Andreas Jaeger  <aj@suse.de>
8155
8156         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
8157
8158         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
8159         generic version.
8160         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
8161
8162         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
8163         string.
8164
8165         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
8166         format string.
8167
8168         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
8169         * nscd/connections.c (handle_request): Likewise.
8170         * nscd/pwdcache.c (addpwbyname): Likewise.
8171         * nscd/grpcache.c (addgrbyname): Likewise.
8172
8173         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
8174
8175 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
8176
8177         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
8178
8179         * Makeconfig (default_cflags): Make -O2 the default for stable
8180         releases.
8181
8182 2000-12-08  H.J. Lu  <hjl@gnu.org>
8183
8184         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
8185         * sysdeps/ia64/fpu/s_isinf.S: This.
8186         Add a .pred.rel.mutex note to avoid false report.
8187
8188         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
8189         * sysdeps/ia64/fpu/s_isnan.S: This.
8190
8191         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
8192         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
8193         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
8194         * sysdeps/ia64/fpu/s_isinff.S: New file.
8195         * sysdeps/ia64/fpu/s_isinfl.S: New file.
8196         * sysdeps/ia64/fpu/s_isnanf.S: New file.
8197         * sysdeps/ia64/fpu/s_isnanl.S: New file.
8198         * sysdeps/ia64/fpu/s_finite.S: New file.
8199         * sysdeps/ia64/fpu/s_finitef.S: New file.
8200         * sysdeps/ia64/fpu/s_finitel.S: New file.
8201         * sysdeps/ia64/fpu/s_signbit.S: New file.
8202         * sysdeps/ia64/fpu/s_signbitf.S: New file.
8203         * sysdeps/ia64/fpu/s_signbitl.S: New file.
8204         * sysdeps/ia64/fpu/s_copysign.S: New file.
8205         * sysdeps/ia64/fpu/s_copysignf.S: New file.
8206         * sysdeps/ia64/fpu/s_copysignl.S: New file.
8207
8208 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
8209
8210         * math/libm-test.inc (main): Fix typos in messages.
8211
8212         * string/stratcliff.c: Add test for rawmemchr.
8213
8214 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8215
8216         * elf/dl-open.c (_dl_open): If objname points right after errstring,
8217         allocate it together with errstring using alloca.
8218         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
8219         to "", because it might point to local stack.
8220
8221 2000-12-05  H.J. Lu  <hjl@gnu.org>
8222
8223         * nss/Makefile (routines): Add getnssent and getnssent_r.
8224         * nss/nsswitch.h (__nss_setent): New internal NSS function.
8225         (__nss_endent): Likewise.
8226         (__nss_getent_r): Likewise.
8227         (__nss_getent): Likewise.
8228         * nss/getnssent_r.c: New file.
8229         * nss/getnssent.c: New file.
8230         * nss/getXXent.c (H_ERRNO_VAR): Updated.
8231         (GETFUNC_NAME): Updated to call __nss_getent ().
8232         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
8233         (STAYOPEN_TMPVAR): Updated.
8234         (STAYOPEN_VAR): Updated.
8235         (SETFUNC_NAME): Updated to call __nss_setent ().
8236         (ENDFUNC_NAME): Updated to call __nss_endent ().
8237         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
8238
8239 2000-12-08  Andreas Jaeger  <aj@suse.de>
8240
8241         * nscd/dbg_log.h (dbg_log): Correct attribute.
8242
8243 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8244
8245         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
8246         cp + len.  Compute where from dirname.
8247         Reported by <jreiser@BitWagon.com>.
8248
8249 2000-12-08  Richard Henderson  <rth@twiddle.net>
8250
8251         * sysdeps/alpha/_mcount.S: Fix typo.
8252         * sysdeps/alpha/strncpy.S: Likewise.
8253
8254         * sysdeps/alpha/alphaev6/Implies: New file.
8255         * sysdeps/alpha/alphaev67/Implies: New file.
8256         * sysdeps/alpha/alphaev67/ffs.S: New file.
8257         * sysdeps/alpha/alphaev67/ffsll.S: New file.
8258         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
8259         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
8260         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
8261         * sysdeps/alpha/rawmemchr.S: New file.
8262         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
8263         * sysdeps/alpha/strcpy.S: Likewise.
8264
8265         From GMP 3.1.1:
8266         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
8267
8268         From rick.gorton@alpha-processor.com:
8269         * sysdeps/alpha/alphaev6/memchr.S: New file.
8270         * sysdeps/alpha/alphaev6/memcpy.S: New file.
8271         * sysdeps/alpha/alphaev6/memset.S: New file.
8272         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
8273         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
8274         * sysdeps/alpha/alphaev67/strcat.S: New file.
8275         * sysdeps/alpha/alphaev67/strchr.S: New file.
8276         * sysdeps/alpha/alphaev67/strlen.S: New file.
8277         * sysdeps/alpha/alphaev67/strncat.S: New file.
8278         * sysdeps/alpha/htonl.S: Use a shorter sequence.
8279
8280 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8281
8282         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
8283         Reported by <pspencer@fields.utoronto.ca>.
8284
8285 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
8286
8287         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
8288         Pointed out by Hans Boehm.
8289
8290 2000-12-07  H.J. Lu  <hjl@gnu.org>
8291
8292         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
8293
8294 2000-12-07  Andreas Jaeger  <aj@suse.de>
8295
8296         * misc/error.c: Add format attributes for __error and __error_at_line.
8297
8298         * nscd/dbg_log.h: Add format attribute.
8299
8300 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
8301
8302         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
8303         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
8304
8305 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
8306
8307         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
8308
8309 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
8310
8311         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
8312         (sysdep_routines): Add uitrunc.
8313         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
8314         Patches by Michael Keezer <mkeezer@redhat.com>.
8315
8316 2000-12-06  Roland McGrath  <roland@frob.com>
8317
8318         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
8319         argument data, since it will be used to copy out too (for INOUT).
8320         Reported by Marcus Brinkmann <marcus@gnu.org>.
8321
8322         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
8323         (__ioctl): Use uintptr_t instead of unsigned long int.
8324
8325 2000-12-06  Jim Wilson  <wilson@redhat.com>
8326
8327         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
8328
8329 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
8330
8331         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
8332         x.5 rounding correctly.
8333
8334 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
8335
8336         * stdio-common/perror.c (perror): Conditionalize code dealing with
8337         wide-oriented streams on USE_IN_LIBIO.
8338
8339 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
8340
8341         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
8342         as internal_function.
8343
8344 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
8345
8346         * sysdeps/alpha/elf/start.S (__data_start): Define.
8347
8348 2000-12-05  H.J. Lu  <hjl@gnu.org>
8349
8350         * nss/getXXent_r.c (setup): Change the return type to int.
8351
8352 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
8353
8354         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
8355         (sysdep_routines): Add restf and savef.
8356         * sysdeps/unix/sysv/aix/restf.c: New file.
8357         * sysdeps/unix/sysv/aix/savef.c: New file.
8358         Patches by Michael Keezer <mkeezer@redhat.com>.
8359
8360         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
8361         if O_DIRECTORY is not defined.
8362         Patch by Michael Keezer <mkeezer@redhat.com>.
8363
8364         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
8365         Patch by Michael Keezer <mkeezer@redhat.com>.
8366
8367         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
8368         than 4 bytes in escape sequence.
8369         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8370
8371 2000-12-05  Andreas Jaeger  <aj@suse.de>
8372
8373         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
8374         set mips2.
8375
8376         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
8377
8378         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
8379
8380         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
8381         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8382
8383         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
8384         internal_function.
8385         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
8386         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
8387
8388         * sysdeps/generic/dl-cache.c: Remove declaration of
8389         _dl_sysdep_read_whole_file.
8390
8391         * elf/dl-load.c (_dl_map_object): Remove declaration of
8392         _dl_load_cache_lookup.
8393
8394         * sysdeps/generic/ldsodefs.h: Add declarations of
8395         _dl_load_cache_lookup, _dl_unload_cache,
8396         _dl_sysdep_read_whole_file, _dl_sysdep_start and
8397         _dl_sysdep_start_cleanup.
8398
8399         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
8400         now.
8401
8402         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
8403         * sysdeps/generic/dl-environ.c: Likewise.
8404
8405         * stdio-common/printf_fp.c: Include <gmp.h> instead of
8406         <stdlib/gmp.h>.
8407         * math/atest-exp.c: Likewise.
8408         * math/atest-exp2.c: Likewise.
8409         * math/atest-sincos.c: Likewise.
8410         * stdio-common/_itoa.c: Likewise.
8411         * stdio-common/_itowa.c: Likewise.
8412
8413         * include/gmp.h: New file with internal prototypes.
8414
8415         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
8416         here to...
8417         * include/setjmp.h: ...here.
8418
8419         * locale/Makefile (routines): Remove codeset_name since it's not
8420         needed anywhere.
8421
8422         * locale/codeset_name.c: Removed.
8423
8424 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
8425
8426         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
8427
8428 2000-12-05  Andreas Jaeger  <aj@suse.de>
8429
8430         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
8431
8432 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
8433
8434         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
8435         available.
8436
8437 2000-12-05  Andreas Jaeger  <aj@suse.de>
8438
8439         * nss/test-netdb.c: Mark local functions as static to avoid
8440         warnings.
8441         (main): Use return to silence warning.
8442
8443         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
8444
8445         * stdio-common/test-popen.c: Mark local functions as static to
8446         avoid warnings.
8447         (main): Use return to silence warning.
8448
8449         * stdlib/testsort.c (compare): Mark as static to avoid warning.
8450
8451         * assert/test-assert.c: Mark local functions as static to avoid
8452         warnings.
8453         * assert/test-assert-perr.c: Likewise.
8454
8455         * math/libm-test.inc (main): Use return to silence warnings.
8456
8457 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8458
8459         * math/fenv.h: Fix typo in comment.
8460
8461         * math/test-misc.c (main): Add a few more over and underflow tests
8462         for scalb.
8463
8464         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
8465         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8466         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8467         * math/w_scalb.c: Don't use matherr except in SVID mode.
8468         * math/w_scalbf.c: Likewise.
8469         * math/w_scalbl.c: Likewise.
8470         * math/test-misc.c: Add test for NaN and scalbl.
8471         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8472
8473 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8474
8475         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
8476         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
8477         * include/libc-symbols.h (strong_alias): Define special version
8478         for HAVE_ASM_GLOBAL_DOT_NAME.
8479         (weak_alias): Likewise.
8480         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
8481         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
8482         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
8483         getutxline, pututxline, and utmpxname.
8484         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
8485         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
8486         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
8487         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
8488         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
8489         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
8490         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
8491         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
8492         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
8493         Patches by Michael Keezer <mkeezer@redhat.com>.
8494
8495 2000-12-04  H.J. Lu  <hjl@gnu.org>
8496
8497         * configure.in: Change --with-oldest-abi=ABI to
8498         --enable-oldest-abi=ABI.
8499
8500 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
8501
8502         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
8503         fwprintf instead of fprintf.
8504
8505 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8506
8507         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
8508         DECIMAL_DIG definitions.
8509         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
8510         * sysdeps/generic/bits/mathdef.h: Likewise
8511         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
8512         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
8513         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
8514         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
8515         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
8516         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
8517
8518 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
8519
8520         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
8521
8522         * math/atest-exp.c: Mark local functions as static to avoid warnings.
8523         * math/atest-exp2.c: Likewise.
8524         * math/atest-sincos.c: Likewise.
8525
8526         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
8527         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8528
8529         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
8530         the handling of denormalized numbers.
8531
8532         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
8533         numbers on x86.
8534         * sysdeps/i386/fpu/fpclassifyl.c: New file.
8535
8536         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
8537         pseudo denormal representation of LDBL_MIN.
8538
8539         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
8540         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
8541
8542         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
8543         * iconvdata/jis0208.c: Likewise.
8544         * iconvdata/jis0212.c: Likewise.
8545         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8546
8547         * math/test-misc.c (main): More tests for frexp and some for
8548         fpclassify and isnormal.
8549
8550         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
8551         test for subnormal.
8552         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8553
8554         * math/test-misc.c (main): Add tests for frexp.
8555         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8556         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
8557
8558 2000-12-02  H.J. Lu  <hjl@gnu.org>
8559
8560         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
8561         '\0' to wcschr.
8562
8563 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
8564
8565         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
8566         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8567         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8568
8569         * sysdeps/generic/glob.c: Adjust types of several variables to
8570         avoid warnings.
8571
8572 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
8573
8574         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
8575
8576 2000-11-30  Roland McGrath  <roland@frob.com>
8577
8578         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
8579         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
8580         allow multiple instances using the same function name in one file.
8581
8582 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
8583
8584         * configure.in: Correct test for pserver CVS access.
8585
8586 2000-11-28  H.J. Lu  <hjl@gnu.org>
8587
8588         * libio/libio.h: Remove extra "#if ... #endif".
8589
8590 2000-11-29  H.J. Lu  <hjl@gnu.org>
8591
8592         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
8593
8594 2000-12-01  H.J. Lu  <hjl@gnu.org>
8595
8596         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
8597         * nss/getXXent_r.c: Likewise.
8598         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8599
8600 2000-11-30  H.J. Lu  <hjl@gnu.org>
8601
8602         * scripts/abi-versions.awk (oldest_abi): New variable.
8603         Handle the oldest ABI supported.
8604
8605         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
8606         for scripts/abi-versions.awk.
8607
8608         * configure.in: Add --with-oldest-abi=ABI.
8609         * configure: Rebuild.
8610
8611         * config.make.in (oldest-abi): New.
8612
8613         * config.h.in (GLIBC_OLDEST_ABI): New.
8614
8615         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
8616
8617 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
8618
8619         * locale/setlocale.c (setname): Free for all categories, not just
8620         LC_ALL.
8621         (setlocale): Store a copy of string passed by user, not the string
8622         itself.
8623
8624 2000-11-30  Roland McGrath  <roland@frob.com>
8625
8626         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
8627         rather than _hurd_fd_subinit, so it happens after it's safe to use
8628         libc facilities like malloc.
8629
8630 2000-11-28  Andreas Jaeger  <aj@suse.de>
8631
8632         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
8633         declaration, adjust declaration of __syscall_getdents to match
8634         kernel.
8635
8636 2000-11-29  H.J. Lu  <hjl@gnu.org>
8637
8638         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
8639
8640 2000-11-29  Andreas Jaeger  <aj@suse.de>
8641
8642         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
8643
8644 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8645
8646         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
8647         * dlfcn/defaultmod2.c: Likewise.
8648         * dlfcn/dlopen.c: Likewise.
8649         * dlfcn/dlopenold.c: Likewise.
8650         * dlfcn/failtestmod.c: Likewise.
8651         * dlfcn/glreflib1.c: Likewise.
8652         * dlfcn/glreflib2.c: Likewise.
8653         * dlfcn/eval.c: Likewise.  Add attributes.
8654
8655         * ctype/ctype-extn.c: Define isblank and not __isblank.
8656
8657         * time/strftime.c: Add const where necessary to avoid warnings.
8658         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
8659
8660 2000-11-22  Paul Eggert  <eggert@twinsun.com>
8661
8662         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
8663         size of (size_t) -1; it's not portable.
8664
8665 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8666
8667         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
8668         crappy i486 FPU.
8669         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8670
8671 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
8672
8673         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
8674
8675         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
8676         _mcount is required by profiled binaries.
8677
8678         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
8679         * sysdeps/ia64/machine-gmon.h: ...here.
8680
8681 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
8682
8683         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
8684         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
8685         and ibm1129.h.
8686         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
8687         IBM1129.
8688         * iconvdata/ibm922.c: New file.
8689         * iconvdata/ibm922.h: New file.
8690         * iconvdata/ibm1124.c: New file.
8691         * iconvdata/ibm1124.h: New file.
8692         * iconvdata/ibm1129.c: New file.
8693         * iconvdata/ibm1129.h: New file.
8694         * iconvdata/testdata/IBM922: New file.
8695         * iconvdata/testdata/IBM922..UTF8: New file.
8696         * iconvdata/testdata/IBM1124: New file.
8697         * iconvdata/testdata/IBM1124..UTF8: New file.
8698         * iconvdata/testdata/IBM1129: New file.
8699         * iconvdata/testdata/IBM1129..UTF8: New file.
8700
8701 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8702
8703         * catgets/gencat.c (normalize_line): Take extra parameter with escape
8704         character.  Change callers.
8705         (open_conversion): Determine mapping of 0x5c as wchar_t value.
8706         * catgets/Makefile: Add rules to build and run test-gencat.
8707         * catgets/sample.SJIS: New file.
8708         * catgets/test-gencat.c: New file.
8709         * catgets/test-gencat.sh: New file.
8710         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8711
8712 2000-11-28  Andreas Jaeger  <aj@suse.de>
8713
8714         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
8715         Linux version.
8716
8717 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8718
8719         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
8720
8721 2000-11-28  Andreas Jaeger  <aj@suse.de>
8722
8723         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
8724         __flexarr.
8725         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
8726         Likewise.
8727
8728 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
8729
8730         * misc/getusershell.c: Make strings in okshells array const.
8731         * misc/regexp.c: Add const to cast to avoid warnings.
8732         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
8733         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
8734         __setresuid.
8735         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
8736         setresgid.
8737         * misc/error.c: Add prototypes for __error and __error_at_line.
8738         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
8739         statement to avoid warning.
8740         * test-skeleton.c: Mark timeout_handler with noreturn.
8741         * iconv/skeleton.c (get16u): Add const to cast.
8742         (get32u): Likewise.
8743         * iconvdata/gb18030.c: Likewise.
8744         * iconvdata/iso-2022-cn-ext.c: Likewise.
8745         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
8746         * iconvdata/big5.c: Likewise.
8747         * iconvdata/big5hkscs.c: Likewise.
8748         * iconvdata/iso_6937.c: Likewise.
8749         * iconvdata/iso_6937-2.c: Likewise.
8750         * iconvdata/t.61.c: Likewise.
8751         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
8752         * iconvdata/unicode.c: Likewise.
8753         * iconvdata/utf-16.c: Likewise.
8754         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
8755         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
8756         with little code shuffling.
8757
8758         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
8759         the problems introduced when the user selects -O3.
8760
8761         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
8762         * misc/sys/cdefs.h: Define __flexarr.
8763         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
8764
8765         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
8766         * iconv/skeleton.c: Likewise.
8767         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
8768         * iconv/loop.c (get16): Add const to cast.
8769         (get32): Likewise.
8770
8771 2000-11-27  Andreas Jaeger  <aj@suse.de>
8772
8773         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
8774         to avoid warning.
8775         * login/programs/utmpdump.c (print_entry): Likewise.
8776
8777 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
8778
8779         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
8780         in a single asm as they may be used to access other stored
8781         registers.
8782         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8783
8784 2000-11-27  Andreas Jaeger  <aj@suse.de>
8785
8786         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
8787         * rt/tst-aio64.c: Likewise.
8788
8789 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
8790
8791         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
8792         for gencat run.
8793         (libc.cat): Likewise.
8794         * catgets/gencat.c: Implement handling of message catalogs encoded
8795         with stateful character sets.
8796         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8797
8798 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
8799
8800         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
8801
8802         * inet/getnameinfo.c: Adjust casts to avoid warnings.
8803         * inet/rcmd.c: Likewise.
8804         * inet/ruserpass.c: Likewise.
8805         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
8806         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8807         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
8808         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
8809         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
8810         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
8811         * include/aliases.h: Add prototypes for internal __getalias* functions.
8812         * include/netdb.h: Add prototypes for __old_gethostent_r,
8813         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
8814         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
8815         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
8816         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
8817         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
8818         __old_getrpcbynumber_r, __old_getrpcent_r.
8819
8820         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
8821         __getrpcent_r prototypes.
8822
8823 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
8824
8825         * string/strcoll.c: Add casts to avoid warnings.
8826         * string/strnlen.c: Likewise.
8827         * string/strxfrm.c: Likewise.
8828         * sysdeps/generic/_strerror.c: Likewise.
8829         * sysdeps/generic/memrchr.c: Likewise.
8830         * sysdeps/generic/strcasestr.c: Likewise.
8831         * sysdeps/generic/strstr.c: Likewise.
8832
8833         * locale/weight.h (findidx): Add const to cast to avoid warning.
8834
8835         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
8836         * elf/loadtest.c: Likewise.
8837         * elf/multiload.c: Likewise.
8838         * elf/next.c: Likewise.
8839         * elf/nodelete.c: Likewise.
8840         * elf/noload.c: Likewise.
8841         * elf/order.c: Likewise.
8842         * elf/origtest.c: Likewise.
8843         * elf/preloadtest.c: Likewise.
8844         * elf/restest1.c: Likewise.
8845
8846         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
8847         parameter of asm must be in %ecx.
8848
8849         * string/tester.c: Mark test functions as static to avoid warnings.
8850
8851         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
8852         preserve value over different gconv-modules files.
8853
8854 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
8855
8856         * locale/findlocale.c: Add casts to avoid warnings.
8857         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
8858         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
8859         to avoid warnings.
8860         * misc/tsearch.c (const_node): New type.
8861         (trecurse): Correct casts to avoid warnings.
8862         (__twalk): Likewise.
8863         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
8864         LONG_BIT.
8865
8866         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
8867
8868         * test-skeleton.c: Mark local functions as static to avoid warnings.
8869
8870 2000-11-23  H.J. Lu  <hjl@gnu.org>
8871
8872         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
8873         support the background job.
8874         Fix a typo.
8875
8876 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
8877
8878         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
8879         has same names but lower cost.
8880
8881 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
8882
8883         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
8884         which never occur during bootstrap.
8885         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8886
8887 2000-11-23  Andreas Jaeger  <aj@suse.de>
8888
8889         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
8890
8891         * nss/Versions: Remove _nss_files_getipnodebyname_r.
8892
8893         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
8894
8895 2000-11-18  Martin Buchholz  <martin@xemacs.org>
8896
8897         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
8898         (called++) return;'
8899
8900 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
8901
8902         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
8903
8904         * csu/abi-note.S: Correct comment for operating system number.
8905
8906 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
8907
8908         * Versions.def: Add GLIBC_2.2.1 for glibc.
8909
8910 2000-11-22  Andreas Schwab  <schwab@suse.de>
8911
8912         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
8913         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
8914
8915 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
8916
8917         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
8918         absolute time for pthread_cond_timedwait call.
8919         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
8920
8921         * rt/Makefile (tests): Add tst-aio6.
8922         * rt/tst-aio6.c: New file.
8923
8924 2000-11-23  Andreas Jaeger  <aj@suse.de>
8925
8926         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
8927
8928 2000-11-22  Andreas Jaeger  <aj@suse.de>
8929
8930         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
8931
8932 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
8933
8934         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
8935
8936 2000-11-21  Andreas Schwab  <schwab@suse.de>
8937
8938         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
8939         * sysdeps/arm/setjmp.S: Likewise.
8940         * sysdeps/arm/fpu/setjmp.S: Likewise.
8941         * sysdeps/i386/setjmp.S: Likewise.
8942         * sysdeps/i386/elf/setjmp.S: Likewise.
8943         * sysdeps/s390/setjmp.S: Likewise.
8944         * sysdeps/s390/elf/setjmp.S: Likewise.
8945         * sysdeps/sh/sh3/setjmp.S: Likewise.
8946         * sysdeps/sh/sh4/setjmp.S: Likewise.
8947         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8948         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8949         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
8950         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
8951
8952 2000-11-21  Andreas Jaeger  <aj@suse.de>
8953
8954         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
8955         NORETURN, fix parameter list.
8956
8957         * string/bug-strncat1.c (main): Fix typo.
8958         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
8959
8960 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
8961
8962         * configure.in: Add --enable-all-warnings.
8963         * config.make.in (all-warnings): New variable.
8964         * Makeconfig (+gccwarn): Define with many more warnings if
8965         all-warnings is yes.
8966
8967 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
8968
8969         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
8970         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
8971         * malloc/tst-valloc.c (main): Cast valloc return value to long.
8972         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
8973         * math/test-fpucw.c (main): Use %lx in format string, cast
8974         control words to long.
8975         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
8976         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
8977         large that it is unsigned warning.
8978
8979         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
8980         it to long on sparc64.
8981
8982 2000-11-20  Andreas Jaeger  <aj@suse.de>
8983
8984         * nscd/nscd.h (termination_handler): Add noreturn attribute.
8985         (receiv_print_stats): Likewise.
8986
8987         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
8988
8989 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
8990
8991         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
8992
8993         * csu/gmon-start.c: Always have prototype for __gmon_start.
8994         * csu/version.c: Add prototypes for __libc_print_version and
8995         __libc_main.
8996         * iconv/gconv.c: Include gconv_int.h and gconv.h.
8997         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
8998         and __to_name.
8999         * iconv/gconv_builtin.h: Add ASCII module definitions.
9000         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
9001         (add_module): Add cast to avoid warning.  Rework construction of
9002         strings for new module.
9003         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
9004         (derivation_compare): Likewise.
9005         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
9006         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
9007         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
9008         (struct gconv_alias): Remove const from fromname and toname.
9009         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
9010         for loop functions.
9011         (internal_ucs4_loop): Use correct const-ness.
9012         (ucs4_internal_loop): Likewise.
9013         (internal_ucs4le_loop): Likewise.
9014         (ucs4le_internal_loop_single): Likewise.
9015         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
9016         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
9017         assignments appropriately.
9018         (struct known_trans): Remove const from fname.
9019         (trans_compare): Make s1 and s2 const.
9020         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
9021         avoid warning.
9022         * iconv/skeleton.c: Remove cast in calls of loop functions.
9023         * iconvdata/gconv-modules: Remove US-ASCII definitions.
9024         * iconvdata/iso646.c: Remove US_ASCII support.
9025         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
9026         * include/unistd.h: Add __libc_check_standard_fds prototype.
9027         * string/bits/string2.h (__mempcpy_args): Add const to casts.
9028         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
9029         _fini.
9030         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
9031         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
9032         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
9033         warning.
9034         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
9035         __libc_init_first and _dl_start.
9036         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
9037         (DCIGETTEXT): Make domaindata variable const.
9038         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
9039         to avoid warning.
9040
9041 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
9042
9043         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
9044
9045         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
9046         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
9047         __unused? members.
9048
9049         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
9050         value defined in /usr/include/asm-mips/fcntl.h.
9051
9052 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
9053
9054         * stdio-common/Makefile (tests): Add test-vfprintf.
9055         (test-vfprintf-ENV): New variable.
9056         * stdio-common/test-vfprintf.c: New file.
9057
9058         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
9059
9060         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
9061         (tst-mbrtowc-ENV): New variable.
9062         (tst-wcrtomb-ENV): New variable.
9063         * wcsmbs/tst-mbrtowc.c: New file.
9064         * wcsmbs/tst-wcrtomb.c: New file.
9065
9066 2000-11-16  Andreas Jaeger  <aj@suse.de>
9067
9068         * manual/install.texi (Tools for Compilation): Update
9069         documentation for GCC 2.95.2.
9070
9071 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
9072
9073         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
9074         if IPv4 and IPv6 requests timed out.
9075
9076 2000-11-18  Akim Demaille  <akim@epita.fr>
9077
9078         * malloc/obstack.h: Formatting changes.
9079         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
9080         prevents type checking.
9081         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
9082         cast the value to (void *): assigning a `foo *' to a `void *'
9083         variable is valid.
9084         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
9085
9086 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
9087
9088         * scripts/config.guess: Update from upstream maintainer.
9089         * scripts/config.sub: Likewise.
9090
9091 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
9092
9093         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
9094         * libio/freopen64.c (freopen64): Likewise.
9095         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9096
9097         * libio/Makefile: Add rules to build and run test-freopen.
9098         * libio/test-freopen.c: New file.
9099         * libio/test-freopen.sh: New file.
9100
9101 2000-11-15  H.J. Lu  <hjl@gnu.org>
9102
9103         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
9104         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
9105         (DL_DT_FINI_ADDRESS): Likewise.
9106
9107         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
9108         return type to ElfW(Addr).
9109         (_dl_function_address): New prototype.
9110         (DL_FUNCTION_ADDRESS): Defined.
9111         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
9112         (DL_DT_FINI_ADDRESS): Likewise.
9113
9114         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
9115
9116         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
9117         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
9118
9119         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
9120         (_dl_function_address): This.
9121
9122         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
9123         function pointer for DT_FINI.
9124         * elf/dl-close.c (_dl_close): Likewise.
9125
9126         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
9127         function pointer for DT_INIT.
9128
9129 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
9130
9131         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
9132         end of wexpbuf buffer.
9133
9134 2000-11-16  Andreas Jaeger  <aj@suse.de>
9135
9136         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
9137         definition of F_GETLK, F_SETLK, F_SETLKW.
9138
9139 2000-11-16  Andreas Jaeger  <aj@suse.de>
9140
9141         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
9142         it's not defined.
9143
9144 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
9145
9146         * dlfcn/default.c (main): Add test for dladdr of main returning
9147         argv[0] in dli_fname field.
9148
9149 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
9150
9151         * Makeconfig (run-program-prefix): Move test-static test into the
9152         variable.
9153
9154         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
9155         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
9156         schedule instructions.
9157         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
9158         schedule instructions, fix a bug in copying auxiliary data.
9159
9160 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9161
9162         * manual/startup.texi (Program Arguments): Fix type of main's envp
9163         parameter.
9164         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
9165
9166         * iconvdata/gconv-modules: Add CP950 alias.
9167
9168 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
9169
9170         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
9171         syscall-list.h goal.
9172         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
9173
9174 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9175
9176         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
9177
9178         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
9179         output of program.
9180
9181         * intl/tst-gettext2.c: Set C locale if setting other locale
9182         failed.  Use gettext() not _().
9183
9184         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
9185         successfully loaded a new locale.
9186
9187 2000-11-13  Andreas Jaeger  <aj@suse.de>
9188
9189         * configure.in: Require gcc 2.95 or newer.
9190
9191 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9192
9193         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
9194         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
9195
9196 2000-11-11  Jim Meyering  <meyering@lucent.com>
9197
9198         * string/strndup.c (strndup): Cast return value to `char *'.
9199
9200 2000-11-15  Jim Meyering  <meyering@ascend.com>
9201
9202         * sysdeps/generic/memchr.c: Remove some useless parentheses.
9203         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
9204         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
9205         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
9206         Also #undef __memchr.
9207         Use `weak_alias' only if it's defined.
9208
9209 2000-11-10  H.J. Lu  <hjl@gnu.org>
9210
9211         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
9212
9213 2000-11-15  Andreas Jaeger  <aj@suse.de>
9214
9215         * elf/chroot_canon.c: Include <stdint.h>.
9216
9217         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
9218         (print_entry): Likewise.
9219         (add_to_cache): Likewise.
9220
9221         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
9222
9223         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
9224         (path_hwcap): Likewise.
9225         (search_dir): Likewise.
9226
9227         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
9228
9229         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
9230
9231         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
9232         (_dl_platform_string): New.
9233         (_DL_HWCAP_PLATFORM): New.
9234         (_dl_string_platform): New.
9235         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
9236
9237         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
9238         (_dl_string_platform): New.
9239         (_DL_HWCAP_PLATFORM): New.
9240         (_dl_platform_string): New.
9241
9242         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
9243         recognition.
9244         (_DL_HWCAP_COUNT): New.
9245         (_dl_string_platform): New.
9246         (_DL_HWCAP_PLATFORM): New.
9247         (_dl_platform_string): New.
9248
9249 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
9250
9251         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
9252
9253 2000-11-14  Andreas Jaeger  <aj@suse.de>
9254
9255         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
9256
9257 2000-11-13  Roland McGrath  <roland@frob.com>
9258
9259         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
9260
9261 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
9262
9263         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
9264         underrun and make sure the result is null terminated even if there
9265         is no trailing newline.
9266
9267 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
9268
9269         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9270
9271 2000-11-10  H.J. Lu  <hjl@gnu.org>
9272
9273         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
9274
9275 2000-11-10  Andreas Jaeger  <aj@suse.de>
9276
9277         * elf/ldconfig.c (create_links): Fix alloca calculation.
9278         Patch by Ben Collins <bcollins@debian.org>.
9279
9280 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
9281
9282         * inet/getnameinfo.c (getnameinfo): Use correct destination
9283         parameter for if_indextoname.
9284         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
9285
9286 2000-11-09  H.J. Lu  <hjl@gnu.org>
9287
9288         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
9289         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
9290         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
9291         xdr_keystatus.
9292
9293         * time/Versions (GLIBC_2.1): Move getitimer to...
9294         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
9295
9296 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
9297
9298         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
9299         "make install", to work around a binary incompatibility between
9300         glibc 2.1 and glibc 2.2 gconv modules.
9301
9302 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
9303
9304         * intl/locale.alias: Add thai.
9305         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
9306
9307 2000-11-07  Akim Demaille  <akim@epita.fr>
9308
9309         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
9310         argument `data' for consistency with the prototypes.
9311         Qualify it `const'.
9312         (obstack_copy, obstack_copy0): Rename the second argument as
9313         `address' for consistency.  Qualify it `const'.
9314         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
9315         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
9316         `const' their input argument (`data' or `address').
9317         Adjust the corresponding macros to include `const' in casts.
9318
9319 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9320
9321         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
9322         target family.
9323
9324 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9325
9326         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
9327         socket creation.
9328
9329 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9330
9331         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
9332         ai_protocol by internal table if service was not given.
9333
9334 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9335
9336         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
9337         numerical port was specified with protocol without socktype.
9338
9339 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9340
9341         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
9342
9343 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9344
9345         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
9346
9347 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9348
9349         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
9350         sin6_scope_id field.
9351
9352 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9353
9354         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
9355
9356 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9357
9358         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
9359
9360 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9361
9362         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
9363         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
9364
9365 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
9366
9367         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
9368         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
9369
9370 2000-11-09  H.J. Lu  <hjl@gnu.org>
9371
9372         * io/Versions (GLIBC_2.1.1): Remove lockf64.
9373
9374
9375 See ChangeLog.11 for earlier changes.