Update.
[glibc.git] / ChangeLog
blob85f62194c165140fad0f6b286f1c847c747a9b53
1 2001-07-24  Andreas Jaeger  <aj@suse.de>
3         * manual/examples/longopt.c (main): Fix which options take
4         arguments.
6 2001-07-24  Ulrich Drepper  <drepper@redhat.com>
8         * iconvdata/Makefile: Add dependencies for tst-loading test.
10 2001-07-24  Andreas Jaeger  <aj@suse.de>
12         * iconv/iconvconfig.c (name_insert): Make static to avoid warning.
14 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
16         * locale/programs/locale.c (write_locales): Disable implicit
17         locking for the stream.  Use feof_unlocked instead of feof.
19         * sysdeps/unix/sysv/linux/i386/makecontext.S: Initialize %fs, %gs,
20         and floating-point status as well.
22         * libio/iofclose.c (_IO_new_fclose): Unlink descriptor first to
23         avoid deadlock.
24         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
25         * libio/genops.c (_IO_un_link): Get stream lock since it's not
26         always done in the caller.
27         (_IO_link_in): Likewise.
29         * libio/genops.c (_IO_list_all_stamp): New variable.
30         (_IO_un_link): Bump _IO_list_all_stamp after removing from list.
31         (_IO_link): Likewise for insertion.
32         (flush_cleanup): New function.
33         (_IO_flush_all): Get list_all_lock and all individual locks for the
34         streams.  Detect and handle changes to the _IO_list_all list.
35         (_IO_flush_all_linebuffered): Likewise.
36         * sysdeps/generic/bits/stdio-lock.h: Define
37         _IO_cleanup_region_start_noarg.
38         * sysdeps/mach/hurd/bits/stdio-lock.c: Likewise.
40         * stdio-common/printf.h: Fix typo in comment.
42         * iconv/gconv_cache.c (__gconv_lookup_cache): Handle encoding from
43         and to INTERNAL.
44         * iconv/iconvconfig.c: Create a special record for the INTERNAL
45         encoding name in the output file.
47 2001-07-23  Jakub Jelinek  <jakub@redhat.com>
49         * sunrpc/svc_tcp.c (svctcp_rendezvous_abort): New function.
50         (svctcp_rendezvous_op): Use it.
51         * sunrpc/svc_unix.c (svcunix_rendezvous_abort): New function.
52         (svcunix_rendezvous_op): Use it.
54 2001-07-23  Andreas Schwab  <schwab@suse.de>
56         * math/Makefile (CPPFLAGS-test-ifloat.c, CPPFLAGS-test-idouble.c,
57         CPPFLAGS-test-ildoubl.c): Renamed from CFLAGS-*.
58         (math-CPPFLAGS): Set this instead of CPPFLAGS.
60 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
62         * elf/elf.h: Add more definitions from Sun's latest version.
64 2001-07-23  Stephen L Moshier  <moshier@mediaone.net>
66         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Return proper
67         sign for 0 input and set divide by zero exception for -1 input.
68         Return argument if NaN or infinity.
70 2001-07-23  Andreas Jaeger  <aj@suse.de>
72         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add some deltas.
74 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
76         * iconv/gconv_cache.c (__gconv_lookup_cache): Select correct
77         module for conversion direction.
79 2001-07-23  Stephen L Moshier  <moshier@mediaone.net>
81         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Return proper
82         sign for 0 input.  Return NaN with no exception for NaN input.
84 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
86         * iconv/gconv_builtin.h: ISO-106464/UTF-8/ transformation must
87         really be an alias.
89 2001-07-23  Andreas Jaeger  <aj@suse.de>
91         * iconv/iconvconfig.c: Include <sys/cdefs.h> and use
92         __attribute_malloc__ for older GCC versions.
93         * iconv/strtab.c: Likewise.
94         Add prototypes to avoid warnings.
96 2001-07-22  Roland McGrath  <roland@frob.com>
98         * hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND
99         and SA_NODEFER options.  Spurred to action by Igor Khavkine.
101         * sysdeps/generic/bits/sigaction.h [__USE_UNIX98 || __USE_MISC]
102         (SA_NODEFER, SA_RESETHAND): New macros, same bit values as FreeBSD.
103         [__USE_MISC] (SA_INTERRUPT): New macro, value 0.
104         [__USE_MISC] (SA_NOMASK, SA_ONESHOT, SA_STACK): New macros, aliases
105         as in other sysdeps versions of this file.
107         * sysdeps/generic/bits/sigaction.h (struct sigaction): Use a union
108         and provide sa_handler and sa_sigaction member names as macros, as
109         done in other sysdeps versions of this file.
110         Suggested by Igor Khavkine <i_khavki@alcor.concordia.ca>.
112 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
114         * posix/regex.c: Revamp memory allocation for WCHAR functions to
115         not use too much stack.
117 2001-07-22  Ulrich Drepper  <drepper@redhat.com>
119         * iconv/iconvconfig.c (write_output): Update comment explaining
120         output format.
122         * elf/dl-load.c (_dl_dst_count): In SUID binaries expand $ORIGIN
123         if it is alone.
124         (_dl_dst_substitute): Likewise.
126         * iconv/iconvconfig.c: Remove --verbose option.  Comment out
127         mcheck_verbose call.
129         * iconv/strtab.c (morememory): Fix little memory handling problem.
131 2001-07-22  Andreas Schwab  <schwab@suse.de>
133         * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don't
134         mark asm input operand as clobbered.
135         * sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise.
137 2001-07-22  Ulrich Drepper  <drepper@redhat.com>
139         * iconv/gconv_builtin.c (struct builtin_map): Remove init and end
140         elements.
141         (BUILTIN_TRANSFORMATION): Remove Init and End parameters.
142         (__gconv_get_builtin_trans): Initialize __init_fct and __end_fct to
143         NULL.
144         * iconv/gconv_builtin.h: Remove NULL parameters for Init and End in
145         all BUILTIN_TRANSFORMATION calls.
146         * iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Remove Init and End
147         parameters.
148         * iconv/gconv_simple.c: Likewise.
149         * iconv/gconv_db.c (gen_steps): Internal converters don't have
150         initializers, move the code accordingly.
152         * iconv/gconv_conf.c (__gconv_read_conf): Don't read configuration
153         file if STATIC_GCONV is defined.
155         * iconv/gconv_conf.c (__gconv_path_envvar): New global variable.
156         (__gconv_get_path): Use it instead of call getenv.
157         (__gconv_read_conf): First see whether cache can be used.  If yes,
158         don't do any work here.
159         * iconv/gconv_db.c (__gconv_release_step): Renamed from release_step
160         and exported.  Change callers.
161         (__gconv_find_transform): First call __gconv_lookup_cache and only
162         continue if it signals no cache available.  Remove some unnecessary
163         tests.
164         * iconv/gconv_int.h: Declare __gconv_path_envvar, __gconv_lookup_cache,
165         __gconv_release_step, and __gconv_loaded_cache.
166         * iconv/gconv_cache.c: New file.
167         * iconv/iconvconfig.c: New file.
168         * iconv/iconvconfig.h: New file.
169         * iconv/strtab.c: New file.
170         * iconv/Makefile: Add rules to build new files and programs.
172 2001-07-20  Roland McGrath  <roland@frob.com>
174         * sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type
175         from `dev_t' (st_rdev value) `const struct stat *'.
176         * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Likewise.
177         * libio/filedoalloc.c (_IO_file_doallocate): Change caller.
178         * sysdeps/mach/hurd/device-nrs.h: New file.
180         * libio/stdio_ext.h: Moved to ...
181         * stdio-common/stdio_ext.h: ... here.
182         * libio/Makefile (headers): Move stdio_ext.h from here ...
183         * stdio-common/Makefile (headers): ... to here.
184         * include/stdio_ext.h: New file.
185         * stdio/Makefile (routines): Add the stdio_ext.h functions here.
186         * stdio/Versions (GLIBC_2.2.4): Export the stdio_ext.h functions.
187         * stdio/__flbf.c: New file.
188         * stdio/__fbufsize.c: New file.
189         * stdio/__fpending.c: New file.
190         * stdio/__fpurge.c: New file.
191         * stdio/__freadable.c: New file.
192         * stdio/__freading.c: New file.
193         * stdio/__fsetlocking.c: New file.
194         * stdio/__fwritable.c: New file.
195         * stdio/__fwriting.c: New file.
197 2001-07-20  Ulrich Drepper  <drepper@redhat.com>
198             Andreas Jaeger  <aj@suse.de>
200         * elf/ldconfig.c (search_dir): Avoid use of uninitialized memory.
201         Add a few __builtin_expect to mark unlikely error cases.
203 2001-07-20  Andreas Jaeger  <aj@suse.de>
205         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Synch with kernel.
206         Patch by Daniel Jacobowitz <dan@debian.org>.
208 2001-07-19  Ulrich Drepper  <drepper@redhat.com>
210         * intl/localealias.c: Remove unnecessary prototype.
212         * Makefile: Add html goal.
213         * manual/Makefile: Likewise.
215 2001-07-18  Ulrich Drepper  <drepper@redhat.com>
217         * libio/filedoalloc.c (_IO_file_doallocate): A few more minor
218         cleanups and improvements.
220 2001-07-18  Andreas Schwab  <schwab@suse.de>
222         * posix/regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
223         underscore character.
225 2001-07-18  Jakub Jelinek  <jakub@redhat.com>
227         * malloc/malloc (new_heap): Don't call munmap for zero length.
229 2001-07-18  Ulrich Drepper  <drepper@redhat.com>
231         * libio/filedoalloc.c (_IO_file_doallocate): Use DEV_TTY_P if
232         available to determine whether descriptor is for tty before
233         calling isatty.
235         * sysdeps/unix/sysv/linux/device-nrs.h: Define DEV_TTY_P.
236         * sysdeps/generic/device-nrs.h: Likewise.
238 2001-07-18  Andreas Jaeger  <aj@suse.de>
240         * time/Makefile (tst-getdate-ENV): Add TZDIR to environment.
242         * time/Depend: New, add dependency on timezone.
244         * time/tst-getdate.c: Add testcase for bug report by Hendrik
245         Uhlmann <HUhlmann@stn-atlas.de>.
246         * time/datemsk: Likewise.
248 2001-07-17  Ulrich Drepper  <drepper@redhat.com>
250         * elf/ldconfig.c (parse_conf): Disable implicit locking for the
251         stream.  Remove some unnecessary initializers.
253 2001-07-17  Andreas Jaeger  <aj@suse.de>
255         * elf/ldconfig.c: Add new variable hwcap_mask to honour LD_HWCAP_MASK.
256         (is_hwcap_platform): Use it.
257         (set_hwcap): New function to set hwcap_mask.
258         (main): Call set_hwcap.
260 2001-07-17  Jakub Jelinek  <jakub@redhat.com>
262         * time/getdate.c (__getdate_r): Initialize tm_isdst, tm_gmtoff and
263         tm_zone before calling strptime.
265 2001-07-17  Andreas Schwab  <schwab@suse.de>
267         * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Fix last change.
269 2001-07-17  Ulrich Drepper  <drepper@redhat.com>
271         * inet/rcmd.c (iruserfopen): Disable implicit locking for the stream.
272         * inet/ruserpass.c (ruserpass): Likewise.
273         * nss/nsswitch.c (nss_parse_file): Likewise.
274         * resolv/res_hconf.c (_res_hconf_init): Likewise.
275         * resolv/res_init.c (__res_vinit): Likewise.
276         * gmon/bb_exit_func.c (__bb_exit_func): Likewise.
277         * misc/getpass.c (getpass): Likewise.
278         * misc/getusershell.c (initshells): Likewise.
279         * misc/getttyent.c (setttyent): Likewise.
280         * misc/mntent_r.c (__setmntent): Likewise.
281         * time/getdate.c (__getdate_r): Likewise.
282         * time/tzfile.c (__tzfile_read): Likewise.
283         * iconv/gconv_conf.c (read_conf_file): Likewise.
284         * intl/localealias.c (read_alias_file): Disable implicit locking
285         for the stream.  Use _unlocked functions for glibc.
286         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Disable
287         implicit locking for the stream.
288         (__get_nprocs_conf): Likewise.
289         (phys_pages_info): Likewise.
291 2001-07-16  Ulrich Drepper  <drepper@redhat.com>
293         * nscd/connections.c: Print messages caused by user application
294         only if debug_level > 0.  Add little performance improvements.
295         Use TEMP_FAILURE_RETRY around write calls.
296         * nscd/grpcache.c: Likewise.
297         * nscd/hstcache.c: Likewise.
298         * nscd/pwdcache.c: Likewise.
300 2001-07-13  H.J. Lu  <hjl@gnu.org>
302         * sysdeps/mips/dl-machine.h (MAP_BASE_ADDR): Removed.
303         (elf_machine_got_rel): Defined only if RTLD_BOOTSTRAP is not defined.
304         (RESOLVE_GOTSYM): Rewrite to use RESOLVE.
306         * sysdeps/mips/rtld-ldscript.in: Removed.
307         * sysdeps/mips/rtld-parms: Likewise.
308         * sysdeps/mips/mips64/rtld-parms: Likewise.
309         * sysdeps/mips/mipsel/rtld-parms: Likewise.
311 2001-07-16  Ulrich Drepper  <drepper@redhat.com>
313         * catgets/test-gencat.sh: Use <<"EOF" instead of <<EOF to prevent
314         substitution in here document.
316 2001-07-16  Andreas Schwab  <schwab@suse.de>
318         * sysdeps/posix/spawni.c: Fix typo when iterating over signal numbers.
320 2001-07-16  Andreas Schwab  <schwab@suse.de>
322         * math/libm-test.inc (check_float_internal): Fix sign bit test of
323         infinities.
325 2001-07-16  Jakub Jelinek  <jakub@redhat.com>
327         * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Make it PIC friendly.
329 2001-07-15  Ulrich Drepper  <drepper@redhat.com>
331         * malloc/obstack.c: Define __attribute__ for non-gcc compilers.
332         Patch by Jim Meyering <jim@meyering.net>.
334 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
336         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder
337         fields in the sigaction struct to match the definition in the kernel.
339 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
341         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the
342         test for ENOSYS.
344 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
346         * sysdeps/s390/s390-32/bits/setjmp.h: Add leading underscores
347         to the entries in the __jmp_buf structure.
348         * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
350 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
352         * sysdeps/s390/s390-32/bcopy.S: Use mvcle for big blocks
353         (> 64K) and a mvc loop for small blocks.
354         * sysdeps/s390/s390-32/memcpy.S: Likewise.
355         * sysdeps/s390/s390-64/bcopy.S: Likewise.
356         * sysdeps/s390/s390-64/memcpy.S: Likewise.
358 2001-07-15  Andreas Schwab  <schwab@suse.de>
360         * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: New file.
361         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: New file.
363         * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Check _dl_pagesize
364         first.  Default to 4096, not EXEC_PAGESIZE.
366         * iconv/loop.c (put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]:
367         Fix index.
369 2001-07-09  Andreas Jaeger  <aj@suse.de>
371         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2.
373         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM,
374         HWCAP_I386_XMM2 to enum.
376 2001-07-13  Andreas Jaeger  <aj@suse.de>
378         * libio/fileops.c: Include unistd.h for lseek64 prototype.  Closes
379         PR libc/2372.
381 2001-07-12  Ulrich Drepper  <drepper@redhat.com>
383         * Makeconfig: Add some more changes to handle AIX linker better.
385 2001-07-12  H.J. Lu  <hjl@gnu.org>
387         * sysdeps/generic/segfault.c: Include <errno.h>.
389 2001-07-01  Andreas Jaeger  <aj@suse.de>
391         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate
392         sbrk.  Closes PR libc/2312.
394 2001-07-01  Andreas Jaeger  <aj@suse.de>
396         * sysdeps/generic/segfault.c (install_handler): Handle case that
397         the output file does not exists.  Closes PR libc/2345.
399 2001-07-11  Ulrich Drepper  <drepper@redhat.com>
401         * intl/locale.alias: Use he language code for hebrew, not il
402         [PR libc/2382].
404 2001-07-11  Jakub Jelinek  <jakub@redhat.com>
406         * iconv/gconv_int.h: Fix comment typo.
408 2001-07-11  Igor Khavkine  <i_khavki@alcor.concordia.ca>
410         * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.
412 2001-07-07  Roland McGrath  <roland@frob.com>
414         * hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0.
416 2001-07-10  Stephen L Moshier  <moshier@mediaone.net>
418         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl):  Fix
419         backwards conditional in test for x == 1.0.
421 2001-07-10  Andreas Jaeger  <aj@suse.de>
423         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh
424         (-0.7).
426 2001-07-09  Andreas Jaeger  <aj@suse.de>
428         * sysdeps/unix/sysv/linux/configure.in: Revert patch from
429         2001-07-05 for sysconfdir handling.
430         * config.make.in (sysconfdir): Likewise.
431         * configure.in: Likewise.
433         * configure.in: Always assign libc_cv_sysconfdir.
435 2001-07-08  Ulrich Drepper  <drepper@redhat.com>
437         * Makerules [AIX] (build-shlib-helper): Precede linker options
438         with -Wl.
440         * Makeconfig (config-LDFLAGS): Add ld.so only for ELF.
442         * sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to
443         what we define in <stdio.h>.
445         * iconv/iconv_prog.c (main): Don't unconditionally define
446         variables only use if _POSIX_MAPPED_FILES is defined.
448         * sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type.
449         * sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.
451         * sysdeps/unix/sysv/aix/recv.c: New file.
453         * sysdeps/unix/sysv/aix/recvfrom.c: Fix various types.
455 2001-07-07  Ulrich Drepper  <drepper@redhat.com>
457         * sysdeps/generic/recv.c: Fix return type.
459         * sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo.
461         * sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add
462         declarations for asm functions.
464         * include/libc-symbols.h: Provide more dummy definitions for the
465         case if GNU ld isn't used.
467         * libio/freopen.c: Include <stdlib.h> for free declaration.
468         * libio/freopen64.c: Likewise.
470         * sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
472 2001-07-06  Jakub Jelinek  <jakub@redhat.com>
474         * sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm
475         explicitly into .text section.
477 2001-04-16  Jes Sorensen  <jes@linuxcare.com>
479         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
480         Add 16 longwords reserved for future use to match changes in the
481         kernel.
483 2001-07-03  Jes Sorensen  <jes@trained-monkey.org>
485         * sysdeps/ia64/strncpy.S: Call strnlen() when determining the
486         string length rather than strlen(). Solves the performance problem
487         of doing strlen on a 5MB string when strncpy was called with a
488         length argument of 5 bytes.
490 2001-07-02  Jakub Jelinek  <jakub@redhat.com>
492         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
493         R_SPARC_UA16 and R_SPARC_UA32.
494         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
496 2001-07-01  Stephen L Moshier  <moshier@mediaone.net>
498         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl):
499         acosh(x) = ln(2x) if x > 2^30.
500         * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
501         acosh(x) = ln(2x) if x > 2^54.
503 2001-07-07  Mark Kettenis  <kettenis@gnu.org>
505         * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal):
506         Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and
507         KERN_WRITE_PROTECTION_FAILURE.
509 2001-07-07  Ulrich Drepper  <drepper@redhat.com>
511         * posix/regex.c: Limit string length printed in debug messages to
512         100 chars.
514         * configure.in: Don't warn about versioning if not on ELF system.
516 2001-07-07  Andreas Jaeger  <aj@suse.de>
518         * sysdeps/*: Put files from GNU MP Library under LGPL v2.1.
520 2001-07-06  Ulrich Drepper  <drepper@redhat.com>
522         * po/gl.po: Update from translation team.
524 2001-07-06  Andreas Jaeger  <aj@suse.de>
526         * sysdeps/unix/sysv/linux/configure.in: Fix handling of
527         sysconfdir.
529         * manual/libc-texinfo.sh: Add note for the FDL.
531         * manual/argp.texi (Argp Example 4): Fix texinfo warning.
533         * manual/libc.texinfo: Regenerated.
535         * manual/fdl.texi: Fix node.
537         * config.make.in (sysconfdir): Replace correctly.
538         Closes PR libc/2369, reported by Peter Simons <simons@cryp.to>.
540         * sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no
541         longer needed.
543         * sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add
544         case for alpha.
545         Rework handling of missing linuxthreads add-on.
547         * configure.in: Remove unused sysconfdir substitution.
549         * manual/Makefile (texis): Add fdl.texi.
550         * manual/fdl.texi: New.
551         * manual/socket.texi (Host Names): Improve grammar, fix overflow hbox.
552         * manual/libc.texinfo: Add fdl, update titlepage.
553         Patches by Brian Youmans <3diff@gnu.org>.
555         * sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for
556         generated file.
558 2001-07-06  Paul Eggert  <eggert@twinsun.com>
560         * manual/argp.texi: Remove ignored LGPL copyright notice; it's
561         not appropriate for documentation anyway.
562         * manual/libc-texinfo.sh: "Library General Public License" ->
563         "Lesser General Public License".
564         * COPYING: Fix Y2k bug in sample copyright notices.
565         * manual/lesser.texi: Renamed from manual/lgpl.texinfo,
566         as fsf.org uses the name "lesser.texi".
567         * manual/Makefile (texis): Follow rename.
569 2001-07-06  Andreas Jaeger  <aj@suse.de>
571         * All files under GPL/LGPL version 2: Place under LGPL version
572         2.1.
574 2001-07-05  Andreas Jaeger  <aj@suse.de>
576         Synch with Linux 2.4.6:
577         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
578         New.
579         (AF_BLUETOOTH): New.
581         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
582         (PF_BLUETOOTH): New.
583         (AF_BLUETOOTH): New.
585         * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
586         (PF_BLUETOOTH): New.
588         * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
589         (PF_BLUETOOTH): New.
591         * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
592         (AF_BLUETOOTH): New.
594         * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
595         (AF_BLUETOOTH): New.
597         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.
599         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.
601         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.
603         * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
605 2001-07-04  Roland McGrath  <roland@frob.com>
607         * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
608         wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
609         rather than doing a mach_port_insert_right call first.
611 2001-06-26  Roland McGrath  <roland@frob.com>
613         * hurd/hurdioctl.c: Include <string.h> for memcpy decl.
615 2001-07-03  Andreas Jaeger  <aj@suse.de>
617         * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for
618         crypt add-on.
620 2001-07-01  Mark Kettenis  <kettenis@gnu.org>
622         * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
623         the Hurd pfinet server, using equivalent code from the Linux
624         version in sysdeps/unix/sysv/linux/if_index.c. In detail:
625         Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
626         <hurd/pfinet.h>.  Don't include <sys/mman.h> and <hurd/fsys.h>
627         anymore.
628         (if_nametoindex): New implementation using SIOCGIFINDEX.
629         (if_freenameindex): Straight copy of the Linux version.
630         (if_nameindex): New implementation based on pfinet_siocgifconf and
631         SIOCGIFINDEX.
632         (if_indextoname): New implementation using SIOCGIFNAME.
633         (map_interfaces): Function removed.
634         From Marcus Brinkmann <marcus@gnu.org>.
636 2001-06-30  Jakub Jelinek  <jakub@redhat.com>
638         * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
639         gaps below main executable.
641 2001-06-19  Andreas Jaeger  <aj@suse.de>
643         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
644         Handle profiling.
646 2001-06-29  Andreas Jaeger  <aj@suse.de>
648         * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
649         Patch by Stephen L Moshier <moshier@mediaone.net>.
651 2001-06-28  Ulrich Drepper  <drepper@redhat.com>
653         * manual/argp.texi: Tons of cleanups.
654         Patch by Clifford U. Smith <cuel@swbell.net>.
656 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
658         * manual/users.texi (Setting Groups): Correct initgroups
659         documentation.  Add documentation for getgrouplist.
661 2001-06-28  H.J. Lu  <hjl@gnu.org>
663         * locale/findlocale.c (locale_file_list): Renamed to ...
664         (_nl_locale_file_list): This.  Make it extern.
665         (free_mem): Move to ...
666         * locale/setlocale.c (free_mem): Here.
668 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
670         * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
671         (__libc_read): Don't call __pread.  Use _hurd_fd_read directly
672         instead.
673         * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
674         (__libc_write): Don't call __pwrite.  Use _hurd_fd_write directly
675         instead.
677         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
678         -Wl,-soname option lost in 2001-06-16 change.
680 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
682         * posix/tst-regex.c: Pass REG_NEWLINE to regcomp.  Add extra tests.
683         Restrict printing of string in debug mode to 100 characters to make
684         the output useful for long input texts.
686         * posix/Makefile: Add rules to build and run tst-regex.
688 2001-06-20  Isamu Hasegawa  <isamu@yamato.ibm.com>
690         * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
691         (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
692         (wcs_re_match_2_internal): Check whether the wcs buffers need
693         seting up or not, and skip seting up routin if not needed.
695 2001-06-26  Isamu Hasegawa  <isamu@yamato.ibm.com>
697         * posix/regex.c (count_mbs_length): Use binary search for optimization.
699 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
701         * posix/tst-regex.c: Fix several bugs.  Add more tests.
703 2001-06-26  Mark Kettenis  <kettenis@gnu.org>
705         * hurd/Makefile (user-interfaces): Add pfinet.
706         * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
707         <netinet/in.h>.
708         (siocgifconf): New function.  Register it with HURD_HANDLE_IOCTL
709         as the handler for SIOCGIFCONF.
710         * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
711         SIOCGIFFLAGS to be of IOC type ifreq_short.  Modify SIOCSIFMETRIC
712         and SIOCGIFMETRIC to be of IOC type ifreq_int.  Add new macro
713         definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
714         SIOCGIFNAME.
715         From Marcus Brunkmann <marcus@gnu.org>.
717 2001-06-25  Ulrich Drepper  <drepper@redhat.com>
719         * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
720         and _IOT_ifreq_int.  Patch by Mark Kettenis <kettenis@wins.uva.nl>.
722         * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
723         _dl_catch_error calls.
725 2001-06-22  Jakub Jelinek  <jakub@redhat.com>
727         * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
728         typos.
730 2001-06-01  Wolfram Gloger  <wg@malloc.de>
732         * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
733         ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
734         when malloc_atfork is in use.
736 2001-06-22  Andreas Jaeger  <aj@suse.de>
738         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
739         to avoid warnings.
741         * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
742         variable.
743         Add unused attributes to avoid warnings.
745         * elf/reldep4mod4.c: Add prototype to avoid warning.
746         * elf/reldep4mod2.c: Likewise.
748         * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
749         prototypes.
751 2001-06-18  Roland McGrath  <roland@frob.com>
753         * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
755 2001-06-20  Alexandre Oliva  <aoliva@redhat.com>
757         * sysdeps/unix/sysv/settimeofday.c: Include time.h.
759 2001-06-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
761         * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
763 2001-05-09  Michael Keezer  <mkeezer@redhat.com>
765         * Makeconfig: Added AIX-ld support for DSO.
766         * Makerules: Likewise.
767         * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
768         (defaultmod2.so): Likewise.
769         * debug/Makefile: Conditionalize use of elf/ld.so.
770         * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
772         * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
773         * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
774         (f/g)prrest(0/1) static only.
775         * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
776         * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
777         shared.
778         * sysdeps/unix/sysv/aix/setitimer.c: New file.
779         * sysdeps/unix/sysv/aix/sleep.c: New file.
780         * sysdeps/unix/sysv/aix/usleep.c: New file.
781         * sysdeps/unix/sysv/aix/dl-addr.c: New file.
782         * sysdeps/unix/sysv/aix/dl-error.c: New file.
783         * sysdeps/unix/sysv/aix/dl-support.c: New file.
784         * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
786 2001-06-19  Ulrich Drepper  <drepper@redhat.com>
788         * po/es.po: Update from translation team.
790 2001-06-19  Andreas Jaeger  <aj@suse.de>
792         * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
794         * math/libm-test.inc (tanh_test): Test for 2^-56.
796         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
797         equals argument when x < 2^-55.
798         Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
800 2001-06-17  Alan Modra  <amodra@bigpond.net.au>
802         * sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs
803         at unaligned address.
805 2001-06-18  Ulrich Drepper  <drepper@redhat.com>
807         * posix/regex.c: Reorganize code to build code twice, once for single
808         byte, once for multi-byte charsets.  Choose function set adequate for
809         locale at runtime.
810         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
812         * po/nl.po: Update from translation team.
814 2001-06-09  Bruno Haible  <haible@clisp.cons.org>
816         * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
817         (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
818         * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
820 2001-05-26  Bruno Haible  <haible@clisp.cons.org>
822         * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
823         * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
825 2001-06-17  Roland McGrath  <roland@frob.com>
827         * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
828         not LIO_READ + 1 (which is the value of LIO_WRITE!).
830         * Makerules (build-module-helper-objlist): New variable,
831         broken out of build-module.  Insert --whole-archive/--no-whole-archive
832         immediately each *_pic.a file in the link object list.
833         (whole-archive): New variable, used by that.
834         (build-module-objlist): New variable using build-module-helper-objlist.
835         (build-module, build-module-helper): Use it.
836         (build-shlib-objlist): New variable using build-module-helper-objlist.
837         (build-shlib): Use that.
838         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
840         * posix/spawni.c: Moved to ...
841         * sysdeps/posix/spawni.c: ... here.
842         * sysdeps/generic/spawni.c: New file.
844 2001-06-16  Roland McGrath  <roland@frob.com>
846         * hurd/Makefile (routines): Add lookup-retry.
847         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
848         * hurd/lookup-retry.c: ... into here, new file.
849         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
850         using of duplicate code here.
852         * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
854 2001-06-17  Ulrich Drepper  <drepper@redhat.com>
856         * po/ja.po: Update from translation team.
858 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
860         * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
861         compare_files): New functions.
862         (write_locale_data): Use xmalloc.  Compare the file with the locale
863         data files for the same category in other locales, and reuse it if
864         possible and safe.
866 2001-06-07  Mark Kettenis  <kettenis@gnu.org>
868         * grp/initgroups.c (initgroups): Factor out re-usable code into...
869         (internal_getgrouplist): ... new function.
870         (getgrouplist): New function.
871         * grp/grp.h (getgrouplist): New prototype.
872         * grp/Versions [2.2.4]: Add getgrouplist.
874 2001-06-16  Ulrich Drepper  <drepper@redhat.com>
876         * inet/netinet/ip6.h: Fix comments in ip6_hdr.
877         Patch by Pekka Savola <pekkas@netcore.fi>.
879 2001-06-15  Roland McGrath  <roland@frob.com>
881         * rt/Makefile (aio-routines, clock-routines, timer-routines): New
882         variables, broken out of librt-routines.
883         (librt-routines): Set using those.
884         (extra-libs, extra-libc-others, tests): Set these unconditionally.
885         (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
886         * sysdeps/generic/aio_fsync.c: New file.
887         * sysdeps/generic/aio_misc.c: New file.
888         * sysdeps/generic/aio_write.c: New file.
889         * sysdeps/generic/aio_write64.c: New file.
890         * sysdeps/generic/aio_read64.c: New file.
891         * sysdeps/generic/aio_read.c: New file.
892         * sysdeps/generic/aio_notify.c: New file.
893         * sysdeps/generic/lio_listio64.c: New file.
894         * sysdeps/generic/lio_listio.c: New file.
895         * sysdeps/generic/aio_cancel.c: New file.
896         * sysdeps/generic/aio_misc.h: New file.
897         * sysdeps/generic/aio_suspend.c: New file.
898         * rt/aio_cancel.c: Moved to ...
899         * sysdeps/pthread/aio_cancel.c: ... here.
900         * rt/aio_fsync.c: Moved to ...
901         * sysdeps/pthread/aio_fsync.c: ... here.
902         * rt/aio_misc.c: Moved to ...
903         * sysdeps/pthread/aio_misc.c: ... here.
904         * rt/aio_misc.h: Moved to ...
905         * sysdeps/pthread/aio_misc.h: ... here.
906         * rt/aio_notify.c: Moved to ...
907         * sysdeps/pthread/aio_notify.c: ... here.
908         * rt/aio_read.c: Moved to ...
909         * sysdeps/pthread/aio_read.c: ... here.
910         * rt/aio_read64.c: Moved to ...
911         * sysdeps/pthread/aio_read64.c: ... here.
912         * rt/aio_suspend.c: Moved to ...
913         * sysdeps/pthread/aio_suspend.c: ... here.
914         * rt/aio_write.c: Moved to ...
915         * sysdeps/pthread/aio_write.c: ... here.
916         * rt/aio_write64.c: Moved to ...
917         * sysdeps/pthread/aio_write64.c: ... here.
918         * rt/lio_listio.c: Moved to ...
919         * sysdeps/pthread/lio_listio.c: ... here.
920         * rt/lio_listio64.c: Moved to ...
921         * sysdeps/pthread/lio_listio64.c: ... here.
923 2001-06-14  Roland McGrath  <roland@frob.com>
925         * configure.in: Let sysdeps Implies files in add-ons bring in
926         sysdeps directories from the main source and other add-ons too.
928 2001-06-15  Jakub Jelinek  <jakub@redhat.com>
930         * math/test-misc.c (main): Add tests for nextafter and nexttoward
931         with +-Inf as second argument.
933         * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
934         NaN, not Inf.
935         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
936         * sysdeps/i386/fpu/s_nexttoward.c: New.
937         * sysdeps/i386/fpu/s_nexttowardf.c: New.
938         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
939         check for NaN, optimize x==+-0 handling.
940         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
941         * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
942         check for NaN, fix sign in x==+-0 case.
943         * sysdeps/ia64/fpu/s_nexttoward.c: New.
944         * sysdeps/ia64/fpu/s_nexttowardf.c: New.
946 2001-06-15  H.J. Lu  <hjl@gnu.org>
948         * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
949         * rt/tst-aio3.c (do_test): Likewise.
950         * rt/tst-aio4.c (do_test): Likewise.
951         * rt/tst-aio5.c (do_test): Likewise.
952         * rt/tst-aio6.c (do_test): Likewise.
954 2001-06-15  Andreas Schwab  <schwab@suse.de>
956         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
957         * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
959 2001-06-15  Andreas Jaeger  <aj@suse.de>
961         * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
963 2001-06-14  Andreas Schwab  <schwab@suse.de>
965         * elf/ldconfig.c (search_dir): Fix check for regular file.
967         * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
968         * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
970 2001-06-14  Roland McGrath  <roland@frob.com>
972         * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
973         (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
975 2001-06-13  Roland McGrath  <roland@frob.com>
977         * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
979         * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
980         so the label is not considered unused.
982         * sysdeps/mach/hurd/pwrite64.c: New file.
983         * sysdeps/mach/hurd/pread64.c: New file.
985         * sysdeps/mach/hurd/pread.c
986         (__libc_pread): Define this name, with __pread as an alias.
987         * sysdeps/mach/hurd/pwrite.c
988         (__libc_pwrite): Define this name, with __pwrite as an alias.
990         Implement POSIX "shared memory objects" as regular
991         files residing in the /var/run/shm/ directory.
992         This works on any system that supports _POSIX_MAPPED_FILES,
993         to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
994         * sysdeps/posix/shm_open.c: New file.
995         * sysdeps/posix/shm_unlink.c: New file.
996         * sysdeps/mach/hurd/bits/posix_opt.h
997         (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
999         * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
1000         Use raise instead of __aio_sigqueue.
1002         * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
1003         * sysdeps/mach/hurd/pwrite.c: Likewise.
1005         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
1006         [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
1007         as default version set.
1009 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
1011         * libio/iolibio.h (_IO_freopen): Correct last parameter to
1012         _IO_file_open.
1013         (_IO_freopen64): Likewise.
1014         Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
1016         * elf/elf.h: Add a few more EM_* constants.
1018 2001-06-12  Bruno Haible  <haible@clisp.cons.org>
1020         * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
1022 2001-06-09  Ben Collins  <bcollins@debian.org>
1024         * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
1025         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1026         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1027         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1028         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1029         * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
1030         hardcoded B400000.
1032 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
1034         * time/sys/time.h: Don't use enum __itimer_which ever for
1035         __itimer_which_t for C++.
1036         Reported by Martin Buchholz <martin@xemacs.org>.
1038         * po/fr.po: Update from translation team.
1040 2001-06-12  H.J. Lu  <hjl@gnu.org>
1042         * configure.in: Fix typos in missing program names.
1043         * configure: Regenerated.
1045 2001-06-12  Andreas Jaeger  <aj@suse.de>
1047         * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
1049         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1051 2001-06-11  Andreas Jaeger  <aj@suse.de>
1053         * sysdeps/ieee754/ldbl-128/e_coshl.c: New file.  Contributed by
1054         Stephen L Moshier <moshier@mediaone.net>.
1056         * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
1058         * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1059         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1061 2001-06-11  Michael Deutschmann  <michael@talamasca.ocis.net>
1063         * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
1064         Use my_signo instead of MY_SIGNO and initialize it so that the
1065         used signal is always available.
1067 2001-06-11  Andreas Jaeger  <aj@suse.de>,
1068             Michael Deutschmann  <michael@talamasca.ocis.net>
1070         * io/test-lfs.c (do_prepare): Clean up error messages.
1071         (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
1072         (do_test): Likewise.
1074 2001-06-11  Andreas Jaeger  <aj@suse.de>
1076         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
1077         IMAXBEL): Make always visible since they're needed by POSIX.
1078         Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
1080 2001-06-10  Ben Collins  <bcollins@debian.org>
1082         * sysdeps/arm/elf/start.S: Use #function, not @function, for
1083         .type of _start.
1085         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
1086         INT_MAX.
1088 2001-06-07  H.J. Lu  <hjl@gnu.org>
1090         * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
1092 2001-06-10  Roland McGrath  <roland@frob.com>
1094         * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
1095         * elf/reldep4mod4.c: Likewise.
1097 2001-06-10  Mark Kettenis  <kettenis@gnu.org>
1099         * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
1101 2001-06-08  Andreas Schwab  <schwab@suse.de>
1103         * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
1104         Don't dereference at end of string.
1106 2001-06-06  Roland McGrath  <roland@frob.com>
1108         * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
1109         From Robert Bihlmeyer <robbe@orcus.priv.at>.
1111 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1113         * po/ko.po: Update from translation team.
1115 2001-06-06  Andreas Jaeger  <aj@suse.de>
1117         * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
1118         offset+length-1.
1119         Reported by Robert Bernecky <bernecky@acm.org>.
1121 2001-06-06  Jakub Jelinek  <jakub@redhat.com>
1123         * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
1124         * sysdeps/ia64/elf/start.S: Likewise.
1125         * sysdeps/sh/elf/start.S: Likewise.
1126         * sysdeps/s390/s390-32/elf/start.S: Likewise.
1127         * sysdeps/s390/s390-64/elf/start.S: Likewise.
1129 2001-06-05  Matthew Wilcox  <willy@ldl.fc.hp.com>
1131         * sysdeps/hppa/bsd-_setjmp.S: New.
1132         * sysdeps/hppa/bsd-setjmp.S: New.
1134         * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
1135         gcc warnings about multi-line strings.
1137         * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
1138         * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
1140         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
1141         setrlimit directly instead of using wrappers.
1143 2001-05-01  Richard Hirst  <rhirst@linuxcare.com>
1145         * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
1146         * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
1148 2001-06-05  Philipp Thomas  <pthomas@suse.de>
1150         * nis/nis_call.c (__nisbind_connect): Don't mark for translation
1151         what can't be translated.
1153 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1155         * timezone/zic.c: Update from tzcode2001c.
1156         * timezone/private.h: Likewise.
1157         * timezone/africa: Update from tzdata2001c.
1158         * timezone/asia: Likewise.
1159         * timezone/europe: Likewise.
1160         * timezone/northamerica: Likewise.
1161         * timezone/southamerica: Likewise.
1162         * timezone/zone.tab: Likewise.
1164 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
1166         * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
1167         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
1168         UNICODE_TAG_HANDLER.
1169         (__gconv_transform_internal_ucs2): Likewise.
1170         (__gconv_transform_internal_ucs2reverse): Likewise.
1171         * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
1172         * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
1173         * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
1174         * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
1175         * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
1176         * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
1177         * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
1178         * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
1179         * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
1180         * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
1181         * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
1182         * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
1183         * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
1184         * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
1185         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1186         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1187         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1188         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1189         * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
1190         * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
1191         * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
1192         * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
1193         * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
1194         * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
1195         * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
1196         * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
1197         * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
1198         * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
1199         * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
1200         * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
1201         * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
1202         * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
1203         TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
1204         TAG_language_zh, CURRENT_TAG_MASK): New enum values.
1205         (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
1206         is already selected but set2 or tag are set.
1207         (conversion): New enum type.
1208         (cvlist_t): New type.
1209         (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
1210         (conversion_lists): New array.
1211         (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag.  If "ja",
1212         prefer conversion to Japanese character sets.  If "zh", prefer
1213         conversion to GB2312.  If "ko", prefer conversion to KSC5601.  Small
1214         optimizations.
1215         (INIT_PARAMS): Add tag.
1216         (UPDATE_PARAMS): Add tag.
1218 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
1220         * locale/programs/locfile.c (write_locale_data): Before creat(),
1221         unlink the file, to avoid crashing the processes that mmap it.  Change
1222         a double slash to a single slash.  Free fname in case of error return.
1224 2001-06-02  Jakub Jelinek  <jakub@redhat.com>
1226         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
1227         changes, do the special handling for denormal numbers, not for
1228         normalized numbers (patch by <trevin@xmission.com>).
1230         * math/test-misc.c (main): Test frexpl with denormal arguments.
1232 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1234         * math/libm-test.inc (llround_test): Add two new llround tests.
1235         * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
1236         overflow when rounding away from zero.
1238 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1240         * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
1241         * math/math_private.h (__ieee754_log2, __ieee754_log2f,
1242         __ieee754_log2l): New prototypes.
1243         * sysdeps/generic/w_log2.c: New file.
1244         * sysdeps/generic/w_log2f.c: New file.
1245         * sysdeps/generic/w_log2l.c: New file.
1246         * sysdeps/generic/s_log2l.c: Move...
1247         * sysdeps/generic/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
1248         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
1249         and log2(x < 0).
1250         * sysdeps/i386/fpu/s_log2.S: Move...
1251         * sysdeps/i386/fpu/e_log2.S: ...to here.  Rename to __ieee754_log2.
1252         * sysdeps/i386/fpu/s_log2f.S: Move...
1253         * sysdeps/i386/fpu/e_log2f.S: ...to here.  Rename to __ieee754_log2f.
1254         * sysdeps/i386/fpu/s_log2l.S: Move...
1255         * sysdeps/i386/fpu/e_log2l.S: ...to here.  Rename to __ieee754_log2l.
1256         * sysdeps/m68k/fpu/s_log2.c: Move...
1257         * sysdeps/m68k/fpu/e_log2.c: ...to here.  Rename to __ieee754_log2.
1258         * sysdeps/m68k/fpu/s_log2f.c: Move...
1259         * sysdeps/m68k/fpu/e_log2f.c: ...to here.  Rename to __ieee754_log2f.
1260         * sysdeps/m68k/fpu/s_log2l.c: Move...
1261         * sysdeps/m68k/fpu/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
1262         * sysdeps/ieee754/dbl-64/s_log2.c: Move...
1263         * sysdeps/ieee754/dbl-64/e_log2.c: ...to here.  Rename to
1264         __ieee754_log2.
1265         * sysdeps/ieee754/flt-32/s_log2f.c: Move...
1266         * sysdeps/ieee754/flt-32/e_log2f.c: ...to here.  Rename to
1267         __ieee754_log2f.
1269 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1271         * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
1272         even arguments which result in denormalized exp2 are accepted.
1273         (__exp2): Arguments equal to u_threshold already result into
1274         underflow.
1275         * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
1276         * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
1277         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
1278         low, with corrected lowmark use greaterequal, not greater.
1279         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1281 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1283         * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
1284         * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
1285         * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
1286         * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
1287         * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
1288         * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
1289         * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
1290         * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
1292 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1294         * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
1295         gave non-finite result instead of using constant in generic
1296         version.
1297         * sysdeps/generic/w_coshf.c (__coshf): Likewise.
1298         * sysdeps/generic/w_cosh.c (__cosh): Likewise.
1299         * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
1300         (__exp10): Test if finite argument gave non-finite result.
1301         * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
1302         Likewise.
1303         * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
1304         Likewise.
1306 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1308         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
1309         overflow threshold constant (log(LDBL_MAX)+M_LN2l).
1311 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1313         * locale/programs/ld-ctype.c (idx_table): New struct type.
1314         (idx_table_init, idx_table_get, idx_table_add): New functions.
1315         (MAX_CHARNAMES_IDX): Remove macro.
1316         (locale_ctype_t): Change type of charnames_idx field.
1317         (ctype_startup): Change initialization of charnames_idx field.
1318         (find_idx): Use idx_table_get and idx_table_add for speed.
1320         * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
1321         computation of characters in a range.
1323 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1325         * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
1326         <U03F5>.
1327         (__ucs_to_gb18030_tab1): Likewise.
1328         (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
1329         (BODY for TO_LOOP): Likewise.
1330         * iconvdata/tst-table-charmap.sh: Update for charmaps containing
1331         <U00xxxxxx> syntax.
1332         * iconvdata/tst-table-from.c (bmp_only): New variable.
1333         (utf8_decode): If bmp_only, don't return characters outside Unicode
1334         plane 0.
1335         (main): When testing UTF-8 or GB18030, set bmp_only to 1.  Don't print
1336         a conversion line if utf8_decode returns NULL.
1337         * iconvdata/tst-table-to.c (main): When testing encodings other than
1338         UTF-8 and GB18030, loop upto U+30000 instead of U+10000.  Use UTF-8
1339         instead of UCS-2 as input.
1340         * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
1341         of the charmap.
1343 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1345         * iconvdata/cns11643l1.c: Update to Unicode 3.1.
1346         (__cns11643l1_to_ucs4_tab): Regenerated.
1347         (__cns11643l1_from_ucs4_tab12): Regenerated.
1348         * iconvdata/cns11643.c: Update to Unicode 3.1.
1349         (__cns11643l14_to_ucs4_tab): Remove array.
1350         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
1351         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
1352         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
1353         (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
1354         (__cns11643_from_ucs4p2_tab): New array.
1355         * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
1356         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
1357         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
1358         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
1359         (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
1360         (__cns11643_from_ucs4_tab): Remove declaration.
1361         (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
1362         declarations.
1363         (ucs4_to_cns11643): Update for new arrays.  Treat U+3400..U+4DFF and
1364         U+20000..U+2A6D6.
1365         * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
1366         declaration.
1367         (__cns11643_from_ucs4p0_tab): New declaration.
1368         (ucs4_to_cns11643l2): Update for new arrays.
1369         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
1370         3 to 7.
1371         (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
1372         * iconvdata/EUC-TW.irreversible: New file.
1373         * iconvdata/tst-table.sh: Use it.
1374         * iconvdata/Makefile (distribute): Add CP1255.irreversible,
1375         CP1258.irreversible, EUC-TW.irreversible.
1377 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1379         * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
1380         mathematical symbols.
1382 2001-06-05  Andreas Jaeger  <aj@suse.de>
1384         * manual/stdio.texi (Portable Positioning): Fix description of
1385         fpos_t and fpos64_t.
1387 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1389         * sysdeps/generic/wordexp.c: Undo last patch.  Use strndupa instead.
1391         * po/sk.po: Update from translation team.
1393 2001-06-05  Andreas Jaeger  <aj@suse.de>
1395         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
1396         tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
1397         Closes PR libc/2315.
1399 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
1401         * sysdeps/generic/wordexp.c: Add missing free.
1402         Patch by yeti@physics.muni.cz.
1404 2001-06-02  Tom Browder  <tbrowder@home.com>
1406         * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
1407         within bounds when lag > 0.
1409 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
1411         * po/tr.po: New file.
1413 2001-06-05  Andreas Jaeger  <aj@suse.de>
1415         * manual/libm-err-tab.pl (parse_ulps): Fix typo.
1417 2001-06-04  H.J. Lu  <hjl@gnu.org>
1419         * sysdeps/alpha/elf/start.S: Add .type for the entry point.
1420         * sysdeps/arm/elf/start.S: Likewise.
1421         * sysdeps/hppa/elf/start.S: Likewise.
1422         * sysdeps/i386/elf/start.S: Likewise.
1423         * sysdeps/m68k/elf/start.S: Likewise.
1424         * sysdeps/mips/elf/start.S: Likewise.
1425         * sysdeps/ia64/elf/start.S: Likewise.
1426         * sysdeps/sh/elf/start.S: Likewise.
1427         * sysdeps/s390/s390-32/elf/start.S: Likewise.
1428         * sysdeps/s390/s390-64/elf/start.S: Likewise.
1429         * sysdeps/cris/elf/start.S: Likewise.
1431 2001-06-04  Bruce Mitchener  <bruce@cubik.org>
1433         * manual/resource.texi: Correct setpriority/nice documentation.
1435         * sysdeps/unix/nice.c: Correct nice() implementation.
1437 2001-06-04  Andreas Jaeger  <aj@suse.de>
1439         * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
1440         Stephen L Moshier <moshier@mediaone.net>.
1442 2001-06-03  Roland McGrath  <roland@frob.com>
1444         * Makefile (postclean): Remove obsolete sysd-Makefile.
1446 2001-06-01  Roland McGrath  <roland@frob.com>
1448         * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
1449         and use compat_symbol/versioned_symbol instead of plain
1450         symbol_version/default_symbol_version.
1451         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
1452         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
1453         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
1454         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
1455         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
1456         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
1457         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
1458         * sysdeps/arm/fpu/fegetenv.c: Likewise.
1459         * sysdeps/arm/fpu/fesetenv.c: Likewise.
1460         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
1461         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
1462         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
1463         * sysdeps/i386/fpu/fegetenv.c: Likewise.
1464         * sysdeps/i386/fpu/fesetenv.c: Likewise.
1465         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
1466         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
1467         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1468         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1469         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
1470         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
1471         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
1472         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
1473         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
1474         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
1475         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
1476         * sysdeps/powerpc/fclrexcpt.c: Likewise.
1477         * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
1478         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1479         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1480         * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
1481         * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
1482         * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
1484         * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
1485         * iconvdata/iso-2022-cn-ext.c: Likewise.
1487 2001-06-01  Andreas Jaeger  <aj@suse.de>
1489         * Versions.def: Add version 2.2.4.
1491 2001-06-01  Ulrich Drepper  <drepper@redhat.com>
1493         * socket/Makefile (routines): Add sockatmark.
1494         * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
1495         * socket/sys/socket.h: Add prototype for sockatmark.
1496         * sysdeps/generic/sockatmark.c: New file.
1497         * sysdeps/unix/sockatmark.c: New file.
1499 2001-06-01  Andreas Jaeger  <aj@suse.de>
1501         * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
1502         B4000000.
1503         (cfsetospeed): Likewise.
1504         Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
1506 2001-05-31  Joseph S. Myers  <jsm28@cam.ac.uk>
1508         * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
1510 2001-05-30  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1512         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
1513         needs to have the same aligment as the kernel structure.
1515 2001-05-29  Jakub Jelinek  <jakub@redhat.com>
1517         * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
1518         u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
1519         * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
1520         u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
1521         against multiple definition.
1523 2001-05-30  Ulrich Drepper  <drepper@redhat.com>
1525         * po/da.po: Update from translation team.
1527 2001-05-29  Andreas Jaeger  <aj@suse.de>
1529         * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
1530         Stephen L Moshier <moshier@mediaone.net>.
1532         * math/libm-test.inc (sinh_test): Add new test case.
1534         * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
1535         x when x < 2^-32.
1536         Patch by Stephen L Moshier <moshier@mediaone.net>.
1538 2001-05-23  Andreas Jaeger  <aj@suse.de>
1540         * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
1541         * iconvdata/testdata/WINDOWS-1255..UTF8: this.
1543 2001-05-27  Andreas Jaeger  <aj@suse.de>
1545         * manual/stdio.texi (String Streams): Fix fmemopen description.
1546         Reported by Michal Kochanowicz <michal@michal.waw.pl>.
1548 2001-05-26  H.J. Lu <hjl@gnu.org>
1550         * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
1551         to s_sigsuspend.  Add s_mmap2.
1553         * sysdeps/mips/atomicity.h: New file.
1555         * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
1557         * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
1558         back __key.
1560 2001-05-25  Bruce Mitchener  <bruce@cubik.org>
1562         * manual/ctype.texi: Minor fix.
1563         * manual/install.texi: Likewise.
1564         * manual/startup.texi: Likewise.
1565         * manual/examples/dir.c: Use perror() rather than puts().
1567 2001-05-25  David Mosberger  <davidm@hpl.hp.com>
1569         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
1570         #endif directive inside a comment to avoid compiler warnings.
1572 2001-05-25  Philipp Thomas  <pthomas@suse.de>
1574         * nis/nis_print.c (nis_nstype2str): Don't mark names of
1575         naming services for translation, only UNKNOWN needs it.
1576         Add comment to prevent it for the future.
1578 2001-05-25  Joseph S. Myers  <jsm28@cam.ac.uk>
1580         * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
1581         3.1 and non-GCC C99 compilers.
1583 2001-05-22  David Mosberger  <davidm@hpl.hp.com>
1585         * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
1586         performance.
1587         * sysdeps/ia64/memcpy.S: Likewise.
1589         * sysdeps/ia64/bcopy.S: New file.
1591         * sysdeps/ia64/bzero.S: New file (derived from memset.S).
1593 2001-05-26  Ulrich Drepper  <drepper@redhat.com>
1595         * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
1597 2001-05-24  Ulrich Drepper  <drepper@redhat.com>
1599         * iconvdata/Makefile: Add rules for CP10007.
1600         * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
1601         * iconvdata/cp10007.c: New file.
1602         * iconvdata/tst-tables.sh: Add CP10007.
1604 2001-05-23  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1606         * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
1607         (_dl_runtime_profile): Likewise..
1609 2001-05-23  Thorsten Kukuk  <kukuk@suse.de>
1611         * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
1612         * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
1614 2001-05-19  H.J. Lu  <hjl@gnu.org>
1616         * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
1617         errstring of the failed DSO to _dl_signal_error ().
1619 2001-05-23  Ulrich Drepper  <drepper@redhat.com>
1621         * iconvdata/gconv-modules: Add more aliases to enable use in
1622         locale names.
1624 2001-05-23  Andreas Jaeger  <aj@suse.de>
1626         * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
1627         Remove, it's not used anywhere anymore.
1628         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
1629         (CFLAGS-initfini.s): Likewise.
1630         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1631         (CFLAGS-initfini.s): Likewise.
1632         * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
1633         Likewise.
1634         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
1635         Likewise.
1637 2001-05-21  Bruno Haible  <haible@clisp.cons.org>
1639         * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
1640         use 0 instead, and rely on the converter to do the flush.
1641         * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
1642         utf8_test.
1643         (utf8_test_2, utf8_test_3): New function.
1644         (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
1646 2001-05-22  Jakub Jelinek  <jakub@redhat.com>
1648         * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
1650         * elf/Makefile (distribute): Add reldep4mod[1234].c.
1651         (tests): Add reldep4.
1652         (modules-names): Add reldep4mod[1234].
1653         (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
1654         * elf/reldep4.c: New file.
1655         * elf/reldep4mod1.c: Likewise.
1656         * elf/reldep4mod2.c: Likewise.
1657         * elf/reldep4mod3.c: Likewise.
1658         * elf/reldep4mod4.c: Likewise.
1660 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
1662         * elf/dl-lookup.c (PROTECTED): Remove defines.
1663         (add_dependency): Mark it with internal_function.
1664         (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
1665         (_dl_lookup_symbol, _dl_lookup_symbol_skip,
1666         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
1667         it if we don't want do_lookup* inlined.
1669 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
1671         * include/link.h (struct r_scope_elem): Remove r_duplist and
1672         r_nduplist fields.
1673         * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
1674         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
1675         r_duplist.
1676         (_dl_lookup_versioned_symbol_skip): Likewise.
1677         * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
1678         (_dl_map_object_deps): Don't compute duplicate list.
1680         * elf/dl-symbol.c: Removed.
1681         * elf/Makefile (routines): Remove dl-symbol.
1683 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
1685         * po/el.po: Update from translation team.
1686         * po/sv.po: Likewise.
1688 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1690         * iconvdata/cp1255.c: Completely rewritten.
1691         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
1692         * iconvdata/testdata/WINDOWS-1255: New file.
1693         * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
1694         * iconvdata/TESTS: Add WINDOWS-1255 test.
1695         * iconvdata/CP1255.irreversible: New file.
1697 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1699         * iconvdata/cp1258.c: Completely rewritten.
1700         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
1701         * iconvdata/testdata/WINDOWS-1258: New file.
1702         * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
1703         * iconvdata/TESTS: Add WINDOWS-1258 test.
1704         * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
1705         the main call, and flush it afterwards.
1706         (utf8_decode): Return a string, possibly containing several Unicode
1707         characters.
1708         (main): Update all utf8_decode calls.
1709         * iconvdata/CP1258.irreversible: New file.
1711 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1713         * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
1714         * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2.  In the
1715         first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
1716         EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
1717         the next step.  In the second case, clear the state without calling
1718         EMIT_SHIFT_TO_INIT.
1719         * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
1720         data->__outbuf, and outend instead of data->__outbufend.
1721         * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
1722         * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
1723         * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
1724         * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
1725         * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
1726         * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
1727         * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
1728         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
1729         * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
1731 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
1733         * elf/rtld.c (dl_main): Compute l_map_end for the main program.
1734         * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
1735         If match == _dl_loaded, caller can still come from the main program.
1736         (_dl_vsym): Likewise.
1737         * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
1738         * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
1739         * elf/restest2.c: New test.
1740         * elf/Makefile (tests): Add restest2.
1741         (restest2, LDFLAGS-restest2): Add rules.
1743 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
1745         * intl/Makefile: Add a few more dependencies to avoid races in the
1746         test shell scripts.
1748 2001-05-22  Andreas Jaeger  <aj@suse.de>
1750         * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
1751         Stephen L Moshier <moshier@mediaone.net>.
1753 2001-05-22  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1755         * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
1756         return addresses instead of the stack pointers.
1757         * sysdeps/s390/s390-64/backtrace.c: Likewise.
1759 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
1761         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
1762         bits/sigcontext.h instead of bits/sigstack.h.
1763         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
1764         multiple-inclusion guards.
1766 2001-05-21  Andreas Jaeger  <aj@suse.de>
1768         * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
1769         Patch by Philipp Thomas <pthomas@suse.de>.
1771 2001-05-17  Bruce Mitchener  <bruce@cubik.org>
1773         * manual/arpg.texi: Spelling, misc fixes.
1774         * manual/arith.texi: Likewise.
1775         * manual/crypt.texi: Likewise.
1776         * manual/debug.texi: Likewise.
1777         * manual/getopt.texi: Likewise.
1778         * manual/intro.texi: Likewise.
1779         * manual/memory.texi: Likewise.
1780         * manual/nss.texi: Likewise.
1781         * manual/pattern.texi: Likewise.
1782         * manual/process.texi: Likewise.
1783         * manual/resource.texi: Likewise.
1784         * manual/search.texi: Likewise.
1785         * manual/setjmp.texi: Likewise.
1786         * manual/signal.texi: Likewise.
1787         * manual/socket.texi: Likewise.
1788         * manual/stdio.texi: Likewise.
1789         * manual/string.texi: Likewise.
1790         * manual/sysinfo.texi: Likewise.
1791         * manual/terminal.texi: Likewise.
1792         * manual/llio.texi: Document madvise().
1794 2001-05-20  Roland McGrath  <roland@frob.com>
1796         * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
1797         found within $(add-ons) directories too.
1798         [linuxthreads add-on]: Move variable settings for linuxthreads
1799         to new file linuxthreads/Makeconfig.
1801 2001-05-20  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1803         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1804         Define for linux >= 2.4.5 on powerpc.
1805         (__ASSUME_MMAP2_SYSCALL): Likewise.
1807 2001-05-19  Roland McGrath  <roland@frob.com>
1809         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
1810         result port when failing with ELOOP.  Do the ELOOP check when
1811         following an absolute symlink target as well as relative.
1812         Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
1814 2001-05-18  Andreas Jaeger  <aj@suse.de>
1816         * po/fr.po: Free software is "logiciel libre".
1817         Patch by Martin Michlmayr <tbm@cyrius.com>.
1819         * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
1820         Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
1822 2001-05-17  David Mosberger  <davidm@hpl.hp.com>
1824         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
1826 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1828         * elf/dl-profile.c (_dl_mcount): Check whether state is
1829         GMON_PROF_ON before doing anything.
1831 2001-05-17  H.J. Lu  <hjl@gnu.org>
1833         * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
1835 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1837         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
1838         CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
1839         Reported by Mark Burton <markb@ordern.com>.
1841 2001-05-17  Jakub Jelinek  <jakub@redhat.com>
1843         * elf/ldconfig.c (add_dir): Only warn about stat failure if
1844         opt_verbose.
1845         (search_dir): Likewise.
1847 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1849         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
1850         parameter of xaddl.  Patch by H . J . Lu <hjl@lucon.org>.
1852 2001-05-14  Bruno Haible  <haible@clisp.cons.org>
1854         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
1855         without previous announcement, reject it regularly, don't abort.
1857 2001-05-16  Ulrich Drepper  <drepper@redhat.com>
1859         * math/tgmath.h: Fix handling of int parameters to binary and
1860         ternary functions.  Reported by mitr@volny.cz.
1862         * math/test-tgmath.c: Add tests for calls with integer parameters.
1864 2001-05-15  Jakub Jelinek  <jakub@redhat.com>
1866         * sunrpc/rpc_thread.c (rpc_default): Remove.
1867         (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
1868         rpc_default.
1869         (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
1870         __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
1871         * sunrpc/auth_none.c (authnone_private): Fix a typo.
1873 2001-05-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1875         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
1877 2001-05-16  Bruce Mitchener  <bruce@cubik.org>
1879         * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
1881 2001-05-15  Andreas Jaeger  <aj@suse.de>
1883         * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
1884         Stephen L Moshier <moshier@mediaone.net>.
1886         * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
1888         * math/libm-test.inc: Add comment with ToDo.
1890         * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
1891         accurate algorithm.  Patch by Stephen L Moshier <moshier@mediaone.net>.
1893         * sysdeps/i386/fpu/e_expl.S: Removed.
1895 2001-05-14  Roland McGrath  <roland@frob.com>
1897         * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
1898         static pattern rule also that also covers
1899         $(objpx)g$(static-start-installed-name).
1900         [$(start-installed-name) != $(static-start-installed-name)]
1901         (extra-objs, omit-deps, install-lib): Add
1902         $(static-start-installed-name) and g$(static-start-installed-name).
1903         * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
1904         just setting static-start-installed-name is now sufficient.
1905         (extra-objs): Add static-start.o here.
1906         (CFLAGS-initfini.s): Remove obsolete variable.
1907         * sysdeps/mach/hurd/i386/Makeconfig: New file.
1908         Define static-start-installed-name here.
1910         * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
1911         * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
1913         * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
1914         associated hair.  Instead, just use $(wildcard ...) in the include.
1916         * configure.in (critic_missing, aux_missing): Collect in these vars
1917         the names of the missing programs, and include them in the error msgs.
1918         * configure: Regenerated.
1920 2001-05-14  Andreas Jaeger  <aj@suse.de>
1922         * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
1924         * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
1926 2001-05-14  Stephen L Moshier <moshier@mediaone.net>
1928         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
1930 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
1932         * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
1933         as well if swapping strings.
1934         Make sure stop is not past end of second string.
1935         * posix/bug-regex4.c: New test.
1936         * posix/Makefile (tests): Add bug-regex4.
1938 2001-05-10  Andreas Jaeger  <aj@suse.de>
1940         * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
1941         requirement.
1943 2001-05-12  Andreas Jaeger  <aj@suse.de>
1945         * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
1946         internal prototypes.
1947         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1948         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1949         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1950         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1951         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1952         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1953         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1955         * math/math_private.h: Add prototypes for internal functions of
1956         the IBM Accurate Mathematical Library.
1958         * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
1959         prototypes.
1960         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1962         * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
1963         internal prototypes.
1964         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1965         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1966         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1967         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1968         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1969         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1970         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1971         * sysdeps/generic/e_rem_pio2l.c: Likewise.
1972         (__ieee754_rem_pio2l): Fix prototype.
1974         * math/math_private.h (__copysign): Add internal prototype.
1976 2001-05-11  Andreas Jaeger  <aj@suse.de>
1978         * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
1979         * sysdeps/unix/sysv/linux/mips/configure.in: ...here.  New file.
1981 2001-05-11  Andreas Jaeger  <aj@suse.de>
1983         * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
1984         MIPS.
1986         * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
1987         format directive.  Patch by Steven J. Hill <sjhill@cotw.com>.
1989 2001-05-11  Roland McGrath  <roland@frob.com>
1991         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
1992         $(build-module) here, since we don't need the full magilla.
1993         Just use $(build-module-helper) and append our special options.
1995 2001-05-09  Andreas Schwab  <schwab@suse.de>
1997         * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
1998         reached EOF.
2000 2001-05-07  H.J. Lu  <hjl@gnu.org>
2002         * elf/ldconfig.c (dir_entry): Add ino and dev.
2003         (add_single_dir): Compare ino and dev to check if 2 directory
2004         paths are the same or not.  Free entry->path for duplicates.
2005         (add_dir): Initialize ino and dev for entry.
2006         (search_dir): Handle symlink to directory.
2008 2001-05-07  Andreas Jaeger  <aj@suse.de>
2010         * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
2012         * math/libm-test.inc (exp_test): Add some more tests.
2013         (pow_test): Run double only test also for long double.
2015         * math/test-ldouble.c (TEST_LDOUBLE): Define.
2016         * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
2018         * sysdeps/generic/bits/confname.h: Remove extra comma at end of
2019         enumeration.
2020         Closes PR libc/2240.
2022         * scripts/config.guess: Imported from gnu.org.
2023         * scripts/config.sub: Likewise.
2025 2001-05-05  Jakub Jelinek  <jakub@redhat.com>
2027         * include/features.h (__USE_EXTERN_INLINES): Don't define if
2028         __NO_INLINE__ is defined.
2029         * ctype/ctype.h (tolower, toupper): Change the guard condition to
2030         __USE_EXTERN_INLINES check only.
2031         * stdlib/stdlib.h (strtod, ...): Likewise.
2032         * wcsmbs/wchar.h (mbrlen): Likewise.
2033         * string/string.h: Only include bits/string.h and bits/string2.h
2034         if __NO_INLINE__ is not defined.
2036 2001-05-07  Andreas Jaeger  <aj@suse.de>
2038         * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
2039         of @LIBDIR@.
2041 2001-05-04  H.J. Lu  <hjl@gnu.org>
2043         * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
2044         not @LIBDIR@.
2046 2001-05-06  Andreas Jaeger  <aj@suse.de>
2048         * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
2049         * sysdeps/i386/fpu/e_fmodl.S: Removed.
2050         * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
2051         * sysdeps/i386/fpu/e_atan2l.S: Removed.
2052         * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
2053         * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
2054         * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
2055         * sysdeps/i386/fpu/e_acosl.S: Removed.
2056         * sysdeps/i386/fpu/s_atanl.S: Removed.
2057         * sysdeps/i386/fpu/e_sqrtl.S: Removed.
2059 2001-05-05  Mark Kettenis  <kettenis@gnu.org>
2061         * sysdeps/mach/hurd/bits/environments.h: Add comment from
2062         sysdeps/generic/bits/environments.h.  Define _POSIX_V6_* values.
2064 2001-04-30  Jakub Jelinek  <jakub@redhat.com>
2066         * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
2067         that _CS_LFS_CFLAGS can fall through to the empty returned string
2068         case.  Add FALLTHROUGH comment.
2070 2001-04-29  Ralf Baechle  <ralf@gnu.org>
2072         * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
2073         definitions match the kernel definitions.
2074         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
2075         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2077 2001-04-29  Ben Collins  <bcollins@debian.org>
2079         * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
2080         warnings.
2081         * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
2082         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2083         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2084         * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
2085         * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
2086         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2087         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2088         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2089         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2090         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2091         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2092         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2093         * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
2094         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2095         * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
2096         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2097         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2098         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2099         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2100         * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
2101         * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
2102         * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
2103         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2105 2001-04-29  Andreas Schwab  <schwab@suse.de>
2107         * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
2108         in last change.
2110 2001-04-29  Andreas Jaeger  <aj@suse.de>
2112         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2113         Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
2115         * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
2116         Linux 2.4.4.
2117         (AF_WANPIPE): Likewise.
2118         (MSG_MORE): New.
2120         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
2121         for Linux generic version.
2122         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
2123         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2124         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2125         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
2127         * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
2129 2001-04-27  Ulrich Drepper  <drepper@redhat.com>
2131         * nis/nss-nis.h: Correct test for invalid error number.
2132         * nis/nss-nisplus.h: Likewise.
2134         * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
2136 2001-04-26  Ulrich Drepper  <drepper@redhat.com>
2138         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
2140         * string/strcoll.c: Fix two memory allocation problems.
2141         * string/Makefile (tests): Add bug-strcoll1.
2142         * string/bug-strcoll1.c: New file.
2144         * malloc/mcheck.c (mcheck): Call malloc once before setting the
2145         hooks to allow the internal check hooks to be set up if necessary.
2147         * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
2148         and rename to __yperr2nss_tab.  Change YPERR_COUNT into variable
2149         __yperr2nss_count.
2150         * nis/nss-nis.c: New file.
2151         * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
2152         and rename to __niserr2nss_tab.  Change NISERR_COUNT into variable
2153         __niserr2nss_count.
2154         * nis/nss-nisplus.c: New file.
2155         * nis/Makefile (libnss_compat-routines): Add nss-nis.
2156         (libnss_nis-routines): Likewise.
2157         (libnss_nisplus-routines): Add nss-nisplus.
2159         * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
2160         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2161         * nis/nss_nisplus/nisplus-grp.c: Likewise.
2162         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2163         * nis/nss_nisplus/nisplus-network.c: Likewise.
2164         * nis/nss_nisplus/nisplus-proto.c: Likewise.
2165         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2166         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2167         * nis/nss_nisplus/nisplus-service.c: Likewise.
2168         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2169         * nis/nss_nis/nis-alias.c: Likewise.
2170         * nis/nss_nis/nis-ethers.c: Likewise.
2171         * nis/nss_nis/nis-grp.c: Likewise.
2172         * nis/nss_nis/nis-network.c: Likewise.
2173         * nis/nss_nis/nis-proto.c: Likewise.
2174         * nis/nss_nis/nis-pwd.c: Likewise.
2175         * nis/nss_nis/nis-spwd.c: Likewise.
2176         * nis/nss_compat/compat-grp.c: Likewise.
2177         * nis/nss_compat/compat-initgroups.c: Likewise.
2178         * nis/nss_compat/compat-pwd.c: Likewise.
2179         * nis/nss_compat/compat-spwd.c: Likewise.
2181         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
2182         optimizations.  Patch by Jakub Jelinek <jakub@redhat.com>.
2184 2001-04-26  Andreas Jaeger  <aj@suse.de>
2186         * po/zh_TW.po: Update.
2187         Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
2189 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
2191         * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
2192         compiler command line.
2193         * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
2194         command line for malloc.c.
2196 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
2198         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
2199         * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
2200         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
2201         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
2202         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here.  Adjust
2203         struct msghdr for __WORDSIZE == 32.
2204         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
2205         * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here.  Adjust
2206         for __WORDSIZE == 32.
2207         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
2208         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
2209         file.
2210         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
2211         Rename from longjmp, make longjmp weak alias to it.
2213 2001-04-24  David S. Miller  <davem@redhat.com>
2215         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
2217 2001-04-25  Matthew Wilcox  <willy@ldl.fc.hp.com>
2219         * sysdeps/hppa/stackinfo.h: New file.
2220         * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
2221         * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
2222         * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
2223         * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
2224         of PA kernel features.
2226 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
2228         * locale/programs/localedef.c (main): Always set a file name for
2229         the initial locale.
2230         * locale/programs/locfile.c (locfile_read): filename is allowed to
2231         be NULL.
2233 2001-04-12  Paul Bame  <paul_bame@hp.com>
2235         * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
2236         enable flags.
2238 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
2240         * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
2241         _XBS5_LPBIG_OFFBIG): Define to -1.
2242         Fix typos.
2244         * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
2245         * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
2246         * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2247         * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2249         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
2250         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
2252 2001-03-21  Alan Modra  <alan@one.net.au>
2254         * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
2255         value from application so that constructors in non-PIC libs work.
2257 2000-12-13  Jes Sorensen  <jes@linuxcare.com>
2259         * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
2260         function pointer, hence load the jump address and gp from the
2261         function pointer before jumping.
2263 2001-04-24  Andreas Jaeger  <aj@suse.de>
2265         * sysdeps/generic/send.c (__send): Return ssize_t.
2266         * sysdeps/mach/hurd/send.c (__send): Likewise.
2267         * sysdeps/mach/hurd/recv.c (recv): Likewise.
2268         * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
2269         * sysdeps/generic/sendto.c (sendto): Likewise.
2270         * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
2271         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
2272         * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
2273         * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
2275         * socket/sys/socket.h: send* and recv* return ssize_t.
2277         * include/sys/socket.h: send returns ssize_t.
2279         * sysdeps/i386/fpu_control.h: Fix comments.
2281 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
2283         * sysdeps/ia64/Dist: Add hp-timing.c.
2284         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
2285         * posix/Makefile (distribute): Add tst-getconf.sh.
2286         * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
2288 2001-04-23  Ulrich Drepper  <drepper@redhat.com>
2290         * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
2291         * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
2292         * sysdeps/ia64/hp-timing.c: New file.
2293         * sysdeps/ia64/hp-timing.h: New file.
2294         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
2295         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
2297         * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
2298         using #ifdef whether the clock is available.
2299         * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
2301         * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
2302         it into data section.
2304         * sysdeps/unix/i386/i586/clock_getres.c: Removed.
2305         * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
2306         * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
2307         * sysdeps/unix/i386/i586/clock_settime.c: Removed.
2308         * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
2309         * sysdeps/generic/cpuclock-init.h: Removed.
2310         * sysdeps/unix/i386/i686/Implies: Removed.
2311         * sysdeps/unix/i386/i686/tempname.c: Removed.
2312         * sysdeps/i386/i686/Versions: New file.
2313         * sysdeps/unix/i386/i586/Versions: Removed.
2315         * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
2316         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
2317         * sysdeps/unix/clock_gettime.c: Likewise.
2318         * sysdeps/unix/clock_nanosleep.c: Likewise.
2319         * sysdeps/unix/clock_settime.c: Likewise.
2320         * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
2321         RANDOM_BITS use CPU clock.
2323         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
2324         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
2325         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
2326         * sysdeps/sparc/Versions: New file.
2328         * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
2329         hp-timing.h definitions.
2330         * sysdeps/generic/dl-sysdep.c: Likewise.
2332         * include/libc-internal.h: Include hp-timing.h.  Use hp_timing_t in
2333         __get_clockfreq prototype.
2335         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2336         Use hp_timing_t type.
2337         * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
2339         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
2341         * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
2342         whether named file is a regular file or a block device.
2343         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2345 2001-04-23  Andreas Jaeger  <aj@suse.de>
2347         * nscd/nscd.h: Add noreturn attribute for start_threads.
2349 2001-04-22  Ulrich Drepper  <drepper@redhat.com>
2351         * posix/getconf.c: Fix names of XBS5 LFS test variables.
2352         Add missing configuration variables from XPG6.
2353         * posix/tst-getconf.c: New file.
2354         * posix/Makefile (generated): Add tst-getconf.out.
2355         (tests): Add ($objpfx)tst-getconf.out.
2356         Add rule to run tst-getconf.sh.
2357         * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
2358         from XPG6.
2359         * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
2360         _PC_SYMLINK_MAX.
2361         * sysdeps/posix/pathconf.c: Likewise.
2362         * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
2363         and _SC_SYMLOOP_MAX.
2365 2001-04-22  Philip Blundell  <philb@gnu.org>
2367         * sysdeps/arm/fpu/feenablxcpt.c: New file.
2368         * sysdeps/arm/fpu/fedisablxcpt.c: New file.
2369         * sysdeps/arm/fpu/fegetexcpt.c: New file.
2371 2001-04-22  Philip Blundell  <philb@gnu.org>
2373         * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
2374         Renamed from struct user_fp.
2375         (struct user_regs): New.
2376         (struct user): Use struct user_regs rather than struct pt_regs to
2377         avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
2378         of struct user_fp and struct user_fp_struct.
2379         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
2380         not sys/elf.h.
2382 2001-04-22  Philip Blundell  <philb@gnu.org>
2384         * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
2385         sys/procfs.h, and tell the user to include that file instead.
2386         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
2387         surrounded with #if 0.
2388         (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
2389         from sys/elf.h.
2390         (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
2391         elf_fpregset_t respectively.
2393 2001-04-22  Philip Blundell  <philb@gnu.org>
2395         * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
2396         address that faulted.
2398 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2400         * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
2401         values.
2402         * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
2403         * posix/confstr.c: Handle _CS_POSIX_V6_* values.
2404         * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
2405         * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
2407         * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
2408         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2409         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2410         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2412 2001-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2414         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
2415         offset.
2417 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2419         * posix/getopt.h: Treat __cplusplus like __STDC__.
2421 2001-04-20  John S. Marvin  <jsm@fc.hp.com>
2423         * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
2424         entry point stub.
2426 2001-04-20  Richard Hirst  <rhirst@linuxcare.com>
2428         * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
2429         and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
2431         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
2432         entry so the ptrace.c wrapper is used.
2434 2001-04-20  Alan Modra  <amodra@one.net.au>
2436         * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
2437         (DL_FUNCTION_ADDRESS): Define.
2438         (DL_DT_INIT_ADDRESS): Define.
2439         (DL_DT_FINI_ADDRESS): Define.
2440         * sysdeps/hppa/Versions: Add _dl_function_address.
2441         * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
2442         * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
2443         _dl_function_address.
2445 2001-04-21  Andreas Jaeger  <aj@suse.de>
2447         * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
2448         * resolv/gai_misc.c (handle_requests): Likewise.
2449         * malloc/obstack.c (print_and_abort): Likewise.
2450         * malloc/mcheck.c (mabort): Likewise.
2452         * sysdeps/unix/i386/i586/clock_settime.c: Include
2453         "libc-internal.h" for __get_clockfreq declaration.
2455 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2457         * elf/dl-support.c: Include cpuclock-init.h.  Use CPUCLOCK_VARDEF and
2458         CPUCLOCK_INIT if defined.
2459         * sysdeps/generic/dl-sysdep.c: Likewise.
2460         * sysdeps/generic/cpuclock-init.h: New file.
2461         * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
2462         * sysdeps/unix/i386/i586/Versions: New file.
2463         * sysdeps/unix/i386/i586/clock_settime.c: New file.
2464         * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
2465         separately by calling __pthread_clock_gettime if this function is
2466         available.  Subtract offset from tsc value before computing time value.
2468 2001-04-20  Ulrich Drepper  <drepper@redhat.com>
2470         * iconv/iconv_prog.c (print_known_names): If printing goes not to
2471         a tty print in a more machine-friendly way.
2473         * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
2474         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2476 2001-04-20  Andreas Jaeger  <aj@suse.de>
2478         * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
2480 2001-04-20  Andreas Schwab  <schwab@suse.de>
2482         * sysdeps/m68k/fpu/libm-test-ulps: Update.
2484 2001-04-19  Alan Modra  <amodra@one.net.au>
2486         * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
2487         * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
2488         (CFLAGS-.os): Remove.
2490         * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
2492         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
2493         gregset): Correct for new kernel definitions.
2495 2001-04-19  Alan Modra  <alan@linuxcare.com.au>
2497         * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
2498         generate unwind info by hand.
2500 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
2502         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
2504         * configure.in: Correct regular expression for msgfmt.
2505         Patch by Bruno Haible <haible@ilog.fr>.
2507 2001-04-19  Andreas Jaeger  <aj@suse.de>
2509         * po/el.po: Add comment explaining what's broken.
2511         * po/Makefile (BROKEN_LINGUAS): New.
2512         (ALL_LINGUAS): Don't add broken languages.
2514 2001-04-19  Roland McGrath  <roland@frob.com>
2516         * sysdeps/mach/hurd/mlock.c: New file.
2517         * sysdeps/mach/hurd/munlock.c: New file.
2518         * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
2520         * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
2521         * sysdeps/generic/mlock.c: New file.
2522         * sysdeps/generic/munlock.c: New file.
2523         * sysdeps/generic/mlockall.c: New file.
2524         * sysdeps/generic/munlockall.c: New file.
2525         * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
2526         * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
2527         mlockall, munlockall): Change caller field to - from EXTRA.
2528         Don't use __ names; not used (and not declared in include/sys/mman.h).
2530         * hurd/privports.c (__get_privileged_ports): Renamed with __.
2531         Use __ names for calls we make.
2532         (get_privileged_ports): Add alias.
2533         * hurd/hurd.h: Declare it with the __ name.
2534         * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
2535         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
2536         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2538         * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
2539         nothing if it's zero.
2541 2001-04-19  Matthew Wilcox  <willy@ldl.fc.hp.com>
2543         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
2544         Change to return a signed result for compatibility with other
2545         architectures, and correctness.
2547 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
2549         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
2550         HPPA always had them.  Patch by Matthew Wilcox <matthew@wil.cx>.
2552 2001-04-19  Andreas Jaeger  <aj@suse.de>
2554         * configure.in: Require gettext 0.10.36 or newer.
2556         * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
2558         * po/zh_TW.po: Remove extraneous backslashes.
2560         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
2561         variables b and n.
2563 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
2565         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
2566         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
2567         * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
2568         * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
2569         Copy first word of uc_sigmask into __uc_sigmask.
2570         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
2571         Save uc_link around trap.  Copy __uc_sigmask into first word of
2572         uc_sigmask, clear the rest.  Make sure setcontext to the created
2573         context doesn't do this though.
2574         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
2575         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
2576         uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
2577         64bit version, make uc_sigmask __sigset_t in the 32bit version.
2579 2001-04-19  Andreas Jaeger  <aj@suse.de>
2581         * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
2583         * rt/Makefile (otherlibs): Added for static NSS.
2585         * glibcbug.in (BUGGLIBC): Send to new alias.
2587 2001-04-02  Andreas Schwab  <schwab@suse.de>
2589         * Makerules (build-module): Make sure exit codes get checked
2590         properly and remove unnecessary slashes.
2592 2001-04-17  Ulrich Drepper  <drepper@redhat.com>
2594         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2595         Handle kernels which report only three digits after the decimal point.
2596         Reported by Van Okamura <van.okamura@oracle.com>.
2598         * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
2600 2001-04-17  David S. Miller  <davem@redhat.com>
2602         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
2603         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2605 2001-04-17  Jakub Jelinek  <jakub@redhat.com>
2607         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
2608         desired exceptions are raised for exceptional values.
2609         * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
2610         cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
2611         clog_test, log_test, log1p_test, tan_test): Increase precision of
2612         expected values to satisfy ldbl-128.
2613         * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
2614         * sysdeps/arm/libm-test-ulps: Likewise.
2615         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2616         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2617         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
2618         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2619         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2620         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2621         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2622         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2623         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2625 2001-04-17  Andreas Jaeger  <aj@suse.de>
2627         * configure.in: Move test for critical programs up.
2629 2001-04-16  Stephen L Moshier  <moshier@mediaone.net>
2631         * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
2632         Correct the values.
2633         (pSx, qSx): Replace by shorter approximation.
2634         Use f suffix on float constants.
2636 2001-04-16  Ulrich Drepper  <drepper@redhat.com>
2638         * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
2639         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2641         * string/string.h: Replace const in attribute list with __const__.
2643 2001-04-16  Roland McGrath  <roland@frob.com>
2645         * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
2646         instead of the constant NGROUPS_MAX.  That way, the limit can be
2647         raised in the kernel configuration without having to recompile libc.
2649         * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
2650         define NGROUPS_MAX; we don't use it here.
2652 2001-04-16  Andreas Jaeger  <aj@suse.de>
2654         * math/libm-test.inc (atan2_test): Add more testcases.
2656         * iconv/gconv_db.c: Include gconv_charset.h for
2657         __gconv_lookup_alias prototype.
2659 2001-04-13  Ulrich Drepper  <drepper@redhat.com>
2661         * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
2662         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2664 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
2666         * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
2668 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
2670         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
2671         explicitly pad struct siginfo instead of relying on compiler padding.
2673 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
2675         * sysdeps/ia64/Dist: Add elf/entry.h.
2677         * iconvdata/Makefile (distribute): Add TESTS2.
2679 2001-04-13  Jakub Jelinek  <jakub@redhat.com>
2681         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
2682         Calculate load address differently.
2684 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
2686         * iconvdata/TESTS2: New file.
2687         * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
2688         * iconvdata/testdata/alfabeta..UTF-8: New file.
2689         * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
2690         * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
2691         * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
2692         * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
2694 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2696         * iconvdata/utf-32.c: New file.
2697         * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
2698         * iconvdata/Makefile (modules): Add UTF-32.
2699         (distribute): Add utf-32.c.
2701 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2703         * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
2704         changing it in the state.  After incrementing 'inptr', store it back.
2705         * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
2706         store it back.
2708 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2710         * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
2711         MIN_NEEDED_FROM.
2713 2001-04-11  David Mosberger  <davidm@hpl.hp.com>
2715         * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
2716         * sysdeps/ia64/htons.S: Likewise.
2718         * sysdeps/ia64/memset.S: Add unwind directives.
2719         * sysdeps/ia64/strncpy.S: Likewise.
2720         * sysdeps/ia64/strcat.S: Likewise.
2722         * sysdeps/ia64/memccpy.S: Add unwind directives.  Drop superfluous
2723         restore of ar.pfs.
2724         * sysdeps/ia64/strchr.S: Likewise.
2725         * sysdeps/ia64/memmove.S: Likewise.
2726         * sysdeps/ia64/memcpy.S: Likewise.
2727         * sysdeps/ia64/memcmp.S: Likewise.
2728         * sysdeps/ia64/memchr.S: Likewise.
2729         * sysdeps/ia64/strcmp.S: Likewise.
2730         * sysdeps/ia64/strlen.S: Likewise.
2731         * sysdeps/ia64/strcpy.S: Likewise.
2732         * sysdeps/ia64/strncmp.S: Likewise.
2734 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
2736         * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
2737         fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
2738         fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
2739         fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
2741 2001-04-11  Andreas Jaeger  <aj@suse.de>
2743         * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
2745 2001-04-11  Andreas Schwab  <schwab@suse.de>
2747         * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
2749 2001-04-11  Ulrich Drepper  <drepper@redhat.com>
2751         * sysdeps/arm/stackinfo.h: New file.
2753 2001-04-08  Thorsten Kukuk  <kukuk@suse.de>
2755         * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
2756         rpcgen to generate thread safe code.
2758 2001-04-10  Andreas Jaeger  <aj@suse.de>
2760         * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
2762 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2764         * elf/dl-minimal.c (__assert_fail): Change error string.  It's
2765         most of the time no bug in ld.so.
2766         (__assert_perror_fail): Likewise.
2768 2001-04-11  Hans-Peter Nilsson  <hp@axis.com>
2770         * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
2771         from struct to unsigned int.
2773 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2775         * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
2776         AT_IGNOREPPC): New defines.
2777         * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
2778         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2779         Define for newer powerpc kernels.
2780         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
2781         DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
2783 2000-4-10  kaz Kojima  <kkojima@rr.iij4u.or.jp>
2785         * sysdeps/sh/stackinfo.h: New file.
2787 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2789         * locale/tst-C-locale.c (run_test): Add tests for locale objects.
2790         * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
2791         __ctype_tolower, and __ctype_toupper elements.
2793         * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
2794         Reported by Konstantin Osipov <rabid@spylog.ru>.
2796         * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
2797         the lousy AMD FPU.
2799 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2801         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
2802         * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
2803         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
2804         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
2806 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2808         * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
2809         message.  Based on a patch by HJ Lu.
2811 2001-04-10  Andreas Schwab  <schwab@suse.de>
2813         * math/libm-test.inc (csinh_test): Don't require the invalid
2814         exception for csinh (x + iNaN), but make it optional.
2816 2001-04-09  David Mosberger  <davidm@hpl.hp.com>
2818         * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
2820         * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
2821         * sysdeps/ia64/elf/entry.h: New file.
2822         * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
2823         __start.
2824         * elf/rtld.c: Don't declare ENTRY_POINT.  Use ENTRY_POINT instead
2825         of &ENTRY_POINT.
2826         * sysdeps/generic/dl-sysdep.c: Likewise.
2827         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2828         * sysdeps/ia64/elf/start.S: Save base address of register backing
2829         store in __libc_ia64_register_backing_store_base.
2831 2001-04-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2833         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
2834         value of getcontext.
2835         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2836         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
2837         value of setcontext.
2838         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2839         * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
2840         call by changing the saved context.
2842 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2844         * sysdeps/alpha/stackinfo.h: New file.
2845         * sysdeps/ia64/stackinfo.h: New file.
2847 2001-04-10  Andreas Schwab  <schwab@suse.de>
2849         * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
2850         values.
2851         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2853 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
2855         * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
2856         * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
2858         * libio/Makefile (distribute): Add fd_to_filename.h.
2860 2001-04-05  David S. Miller  <davem@redhat.com>
2862         Add hp-timing support for sparcv9/sparc64 targets.
2863         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
2864         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
2865         * sysdeps/sparc/sparc64/hp-timing.c: New file
2866         * sysdeps/sparc/sparc64/hp-timing.h: New file
2867         * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
2868         * sysdeps/sparc/sparc64/Makefile: Likewise.
2870 2001-04-09  Jakub Jelinek  <jakub@redhat.com>
2872         * sysdeps/generic/fd_to_filename.h: New file.
2873         * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
2874         * libio/freopen.c (freopen): If FILENAME is NULL, try to get
2875         filename from the open file descriptor.
2876         * libio/freopen64.c (freopen64): Likewise.
2878 2001-04-09  Bruno Haible  <haible@clisp.cons.org>
2880         * misc/error.c (error): fflush stdout also if
2881         error_print_progname != NULL.
2882         (error_at_line): Likewise.
2884 2001-04-07  Bruno Haible  <haible@clisp.cons.org>
2886         * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
2887         (struct binding): Add codeset_cntr field.
2888         (_nl_load_domain): Add domainbinding argument.
2889         (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
2890         (_nl_find_msg): New declaration, moved here from loadinfo.h.
2891         * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
2892         (_nl_make_l10nflist): Remove domainbinding argument.
2893         (_nl_find_msg): Move declaration to gettextP.h.
2894         * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
2895         to 0.  Increment it when ->codeset is changed.
2896         * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
2897         (_nl_find_msg): Add domainbinding argument.  Reinitialize the converter
2898         if domainbinding->codeset_cntr has been incremented.
2899         * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
2900         _nl_make_l10nflist().  Pass it to _nl_load_domain() instead.
2901         * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
2902         * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
2903          from _nl_load_domain.  Append //TRANSLIT also when using libiconv.
2904         (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
2905         (_nl_load_domain): Add domainbinding argument.  Call
2906         _nl_init_domain_conv.
2907         (_nl_unload_domain): Call _nl_free_domain_conv.
2908         * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
2909         (test-srcs): Add tst-codeset.
2910         (tests): Depend on tst-codeset.out.
2911         (tst-codeset.out): New rule.
2912         (CFLAGS-tst-codeset.c): New variable.
2913         * intl/tst-codeset.sh: New file.
2914         * intl/tstcodeset.po: New file.
2915         * intl/tst-codeset.c: New file.
2916         * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
2917         calls.
2919 2001-04-07  Roland McGrath  <roland@frob.com>
2921         * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
2923 2001-03-31  Roland McGrath  <roland@frob.com>
2925         * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
2926         copying send rights into child.  When we hit our name for our proc
2927         port, just copy NEWPROC directly instead of repeating proc_task2proc
2928         to install the child's port.
2930 2001-04-08  Roland McGrath  <roland@frob.com>
2932         * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
2933         in second column, to provide default values for third column.
2934         * shlib-versions: Add comments about using DEFAULT in second column.
2935         (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
2936         (cris-.*-linux.*): Likewise.
2938 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
2940         * Makefile (distribute): Add scripts/documented.sh.
2941         * scripts/documented.sh: New file.
2943 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2945         * sysdeps/unix/sysv/linux/cris/Dist: New file.
2946         * sysdeps/unix/sysv/linux/cris/Makefile: New file.
2947         * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
2948         * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
2949         * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
2950         * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
2951         * sysdeps/unix/sysv/linux/cris/brk.c: New file.
2952         * sysdeps/unix/sysv/linux/cris/chown.c: New file.
2953         * sysdeps/unix/sysv/linux/cris/clone.S: New file.
2954         * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
2955         * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
2956         * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
2957         * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
2958         * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
2959         * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
2960         * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
2961         * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
2962         * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
2963         * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
2964         * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
2965         * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
2966         * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
2967         * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
2968         * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
2969         * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
2970         * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
2971         * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
2972         * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
2973         * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
2974         * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
2975         * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
2976         * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
2977         * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
2978         * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
2979         * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
2980         * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
2981         * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
2982         * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
2983         * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
2984         * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
2985         * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
2986         * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
2987         * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
2988         * sysdeps/unix/sysv/linux/cris/socket.S: New file.
2989         * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
2990         * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
2991         * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
2992         * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
2993         * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
2994         * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
2996 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2998         * sysdeps/cris/Dist: New file.
2999         * sysdeps/cris/Implies: New file.
3000         * sysdeps/cris/Makefile: New file.
3001         * sysdeps/cris/__longjmp.S: New file.
3002         * sysdeps/cris/_mcount.S: New file.
3003         * sysdeps/cris/bits/endian.h: New file.
3004         * sysdeps/cris/bits/setjmp.h: New file.
3005         * sysdeps/cris/bits/string.h: New file.
3006         * sysdeps/cris/dl-machine.h: New file.
3007         * sysdeps/cris/elf/start.S: New file.
3008         * sysdeps/cris/machine-gmon.h: New file.
3009         * sysdeps/cris/memcopy.h: New file.
3010         * sysdeps/cris/memusage.h: New file.
3011         * sysdeps/cris/setjmp.S: New file.
3012         * sysdeps/cris/sysdep.h: New file.
3013         * sysdeps/cris/wordcopy.c: New file.
3015 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3017         * elf/elf.h: Add new relocations for CRIS.
3019 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3021         * shlib-versions: Add cases for Linux on CRIS.
3023 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3025         * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
3026         ';' for comments and '@' for line separator.
3028 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3030         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
3031         typo; s/==/=/ for assignment.
3033 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3035         * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
3037 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3039         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
3040         empty input before checking full output.
3042 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3044         * iconv/gconv.c (__gconv): Don't derefer parameter cd before
3045         checking if == -1L.
3047 2001-04-08  Ulrich Drepper  <drepper@redhat.com>
3049         * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
3051 2001-04-07  Stephen L Moshier  <moshier@mediaone.net>
3053         * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
3054         return values.
3056 2001-04-07  Ulrich Drepper  <drepper@redhat.com>
3058         * stdlib/tst-setcontext.c (main): Add a test for setcontext.
3060         * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
3061         * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
3062         * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
3063         * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
3064         * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
3065         * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
3067 2001-04-07  Andreas Jaeger  <aj@suse.de>
3069         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
3070         instead of separate sin and cos.
3071         (__ieee754_j1l): Likewise.
3073 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
3075         * sysdeps/ia64/abort-instr.h: New file.  Code by David Mosberger.
3077         * sysdeps/ia64/atomicity.h: New file.  Copied from libstdc++.
3079         * sysdeps/i386/i486/atomicity.h: Clean up the asms.
3081         * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
3082         available.
3083         * sysdeps/generic/e_scalbf.c: Likewise.
3084         * sysdeps/generic/e_scalbl.c: Likewise.
3085         Patch by Mark Hatle <fray@mvista.com>.
3087 2001-04-05  David S. Miller  <davem@redhat.com>
3089         * sysdeps/sparc/abort-instr.h: New file.
3091 2001-04-05  Matt Wilson  <msw@redhat.com>
3093         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
3094         added code to parse new 2.4 format.
3095         (GET_NPROCS_CONF_PARSER): Likewise.
3097 2001-04-05  David S. Miller  <davem@redhat.com>
3099         * scripts/config.sub: Recognize sparcv9b like sparcv9.
3100         * configure.in: Add sparcv9b.
3101         * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
3102         * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
3103         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
3105 2001-04-06  David Mosberger  <davidm@hpl.hp.com>
3107         * stdlib/tst-setcontext.c: Move st2[] to global scope.
3108         (f2): Verify that stack pointer is inside st2[].
3110         * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
3111         * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
3113 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
3115         * timezone/antarctica: Update from tzdata2001b.
3116         * timezone/asia: Likewise.
3117         * timezone/australasia: Likewise.
3118         * timezone/europe: Likewise.
3119         * timezone/northamerica: Likewise.
3121         * iconv/iconv_open.c: Move strip and upstr definitions...
3122         * iconv/gconv_charset.h: ...here.  New file.
3123         * iconv/gconv_db.c (once): Move to file level.
3124         (do_lookup_alias): Split out from __gconv_find_transform.
3125         (__gconv_find_transform): Call do_lookup_alias.
3126         (__gconv_loopup_alias): New function.
3127         * locale/langinfo.h: Define _NL_*_CODESET values for all categories
3128         but LC_CTYPE.
3129         * locale/categories.def: Add entries for new _NL_*_CODESET values.
3130         * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
3131         * locale/C-address.c: Initialize _NL_*_CODESET element.
3132         * locale/C-collate.c: Likewise.
3133         * locale/C-identification.c: Likewise.
3134         * locale/C-measurement.c: Likewise.
3135         * locale/C-messages.c: Likewise.
3136         * locale/C-monetary.c: Likewise.
3137         * locale/C-name.c: Likewise.
3138         * locale/C-numeric.c: Likewise.
3139         * locale/C-paper.c: Likewise.
3140         * locale/C-telephone.c: Likewise.
3141         * locale/C-time.c: Likewise.
3142         * locale/localeinfo.h: Declare _nl_C_codeset.
3143         * locale/C_name.c: Define _nl_C_codeset.
3144         * locale/findlocale.c: Before accepting locale check that the used
3145         charset does not conflict with what the locale name said.
3146         * locale/programs/ld-address.c: Emit codeset information.
3147         * locale/programs/ld-collate.c: Likewise.
3148         * locale/programs/ld-identification.c: Likewise.
3149         * locale/programs/ld-measurement.c: Likewise.
3150         * locale/programs/ld-messages.c: Likewise.
3151         * locale/programs/ld-monetary.c: Likewise.
3152         * locale/programs/ld-name.c: Likewise.
3153         * locale/programs/ld-numeric.c: Likewise.
3154         * locale/programs/ld-paper.c: Likewise.
3155         * locale/programs/ld-telephone.c: Likewise.
3156         * locale/programs/ld-time.c: Likewise.
3158         * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
3159         if the locale data couldn't be found.
3161         * string/Makefile: Define tst-strxfrm-ENV.
3163         * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
3165 2001-04-06  Andreas Jaeger  <aj@suse.de>
3167         * include/sys/profil.h: New file.
3169         * dlfcn/modatexit.c: Add prototypes to silence GCC.
3170         * dlfcn/modcxaatexit.c: Likewise.
3171         * elf/globalmod1.c: Likewise.
3173 2001-04-05  David S. Miller  <davem@redhat.com>
3175         * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
3176         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
3177         capability flags table and HWCAP_IMPORTANT, increase
3178         _DL_HWCAP_COUNT to 6.
3179         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3181 2001-04-04  David Mosberger  <davidm@hpl.hp.com>
3183         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
3184         initialization of stack_end (bug reported by Zheng Gengbin
3185         <gzheng@students.uiuc.edu>).
3187 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
3189         * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
3191 2001-04-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3193         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
3195 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
3197         * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
3198         * sysdeps/i386/fpu/e_asinl.S: Removed.  Too inaccurate.
3200         * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
3202 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3204         * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
3205         define simple replacements here.  Patch by Michael Keezer.
3207         * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
3208         * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
3209         Contributed by Stephen L Moshier <moshier@mediaone.net>.
3211         * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
3212         anymore.
3214 2001-04-01  Andreas Jaeger  <aj@suse.de>
3216         * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
3217         alias.
3219         * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
3221 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3223         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
3224         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
3226 2001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3228         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
3229         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
3230         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
3231         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
3232         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
3233         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
3234         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
3235         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
3236         * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
3238 2001-04-04  Andreas Jaeger  <aj@suse.de>
3240         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
3241         place.
3243 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3245         * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
3246         * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
3247         * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
3248         (unsigned_dec): Likewise.
3249         Patch by atai@jezebel.dreamhost.com.
3251         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
3252         pointer to int as last parameter of yp_match.
3253         Patch by kanazawa@flab.fujitsu.co.jp.
3255 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
3257         * resolv/netdb.h (gai_strerror): Make return value const.
3258         * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
3259         * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
3260         Add strings for new error values.
3262 2001-03-29  Michael Keezer  <mkeezer@redhat.com>
3264         * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
3265         * login/tst-utmp.c: Handle case where ut_tv is not available but
3266         ut_time is.
3267         * sysdeps/unix/sysv/aix/utmpx.h: New file.
3268         * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
3269         _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
3270         * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
3271         * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
3272         to access RTCU timer reg.
3273         * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
3274         added dl-libc, dl-open,dl-sym, dl-close to misc.
3275         * sysdeps/unix/sysv/aix/start.c: New file.  Start code.
3276         * sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
3277         * sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
3278         * sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
3279         * sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
3280         * sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
3281         * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
3282         GLIBC_2_2).
3283         * sysdeps/generic/strtoull.c: Likewise.
3284         * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
3285         * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
3286         sysdeps/generic/memset.c.
3287         * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
3289 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
3291         * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
3292         * locale/programs/charmap.c: Define null_pointer if
3293         NEED_NULL_POINTER is defined.
3295         * misc/dirname.c (dirname): Handle multiple slashes correctly.
3297 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3299         * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
3301 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3303         * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
3304         * sysdeps/s390/s390-64/bcopy.S: Likewise.
3305         * sysdeps/s390/s390-32/mempcy.S: Likewise.
3306         * sysdeps/s390/s390-64/memcpy.S: Likewise.
3308 2001-04-02  Bruno Haible  <haible@clisp.cons.org>
3310         * manual/message.texi (Advanced gettext functions): More specific
3311         syntax in the plural formula examples.
3313 2001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3315         * sysdeps/powerpc/atomicity.h: Silence warnings.
3316         * sysdeps/powerpc/dl-machine.h: Likewise.
3317         * sysdeps/powerpc/register-dump.h: Likewise.
3318         * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
3320 2001-04-02  Andreas Jaeger  <aj@suse.de>
3322         * misc/tst-dirname.c (main): Add more tests, derived from a bug
3323         report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
3325 2001-04-01  Andreas Jaeger  <aj@suse.de>
3327         * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
3328         is installed there.
3329         * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
3331 2001-04-01  H.J. Lu  <hjl@gnu.org>
3333         * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
3334         tmpnam (NULL).
3335         * stdlib/isomac.c (macrofile): Likewise.
3337 2001-03-30  Thorsten Kukuk  <kukuk@suse.de>
3339         * inet/rcmd.c: Allow AF_UNSPEC as parameter.
3340         * nis/ypclnt.c (yp_all): Print error message only at last try,
3341         check for protocoll error only if we don't have a network error.
3343 2001-04-02  Andreas Schwab  <schwab@suse.de>
3345         * resolv/res_data.c (res_isourserver): Fix cast.
3347 2001-04-02  Andreas Jaeger  <aj@suse.de>
3349         * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
3350         __umount2.
3352         * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
3353         strings.
3354         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
3356         * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
3357         initializers.
3358         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
3360         * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
3361         warning about unused variable.
3363         * string/string.h (strndupa): Add cast for C++ conformance.
3364         (strdupa): Likewise.
3365         Fixes PR libc/2173, reported by tbrowder@home.com.
3367 2001-03-30  Roland McGrath  <roland@frob.com>
3369         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
3370         options after $(build-module), which is no longer a single command.
3371         (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
3372         (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
3373         variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
3375 2001-03-11  Roland McGrath  <roland@frob.com>
3377         * elf/rtld.c (dl_main): Add cast to quiet warning.
3378         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3379         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
3380         (__gconv_read_conf): Likewise.
3381         * iconv/gconv_db.c (gen_steps): Likewise.
3382         (__gconv_find_transform): Likewise.
3383         * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
3384         (fopen_uncompressed): Use const in second argument's type.
3386 2001-03-11  Roland McGrath  <roland@frob.com>
3388         * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
3390         * mach/mach_error.h: Fix ancient #endif syntax.
3391         * hurd/hurdmalloc.c: Likewise.
3393         * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
3394         compare_and_swap): Add volatile qualifier to first arg, to bring
3395         these prototypes in line with all the other implementations.
3396         Add a #warning to remind the builder that these are not atomic.
3398 2001-03-04  Roland McGrath  <roland@frob.com>
3400         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
3401         member of TEMP_F so its type is _IO_FILE * as expected.
3403         * hurd/fopenport.c (seekio): Conditionalize type of POS argument
3404         on [USE_IN_LIBIO].  Check the value for overflow, since for libio
3405         it might exceed off_t's range.
3407 2001-02-25  Roland McGrath  <roland@frob.com>
3409         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
3410         * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
3412         * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
3413         macro instead of an inline function,
3414         (MSG_EXAMINE): Likewise.
3416         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
3418         * hurd/get-host.c: Include <string.h> for decls of built-ins.
3419         * hurd/hurdchdir.c: Likewise.
3420         * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
3421         * sysdeps/mach/hurd/opendir.c: Likewise.
3423         * mach/mach_init.c: Include <unistd.h> for _exit decl.
3425         * mach/errsystems.awk: Give output file a trailing newline.
3427         * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
3428         the script will use our compiler for the cpp stage.
3430         With --enable-all-warnings we get a whole bunch of warnings,
3431         and these are just a few fixes; there are more needed to silence it.
3432         * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
3433         decls before extern inline defns to quiet gcc warning.
3434         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
3435         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
3437 2001-03-31  Andreas Jaeger  <aj@suse.de>
3439         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
3440         (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
3441         (ARPHRD_CISCO): New.
3442         Changes from Linux 2.4.3.
3444 2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
3446         * posix/regex.c: Avoid an access violation if malloc fails.
3448 2001-03-30  Andreas Jaeger  <aj@suse.de>
3450         * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
3452 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
3454         * posix/regex.c: Remove unnecessary ifs.
3456         * math/bits/mathcalls.h: Remove infnan declaration.
3458 2001-03-29  H.J. Lu  <hjl@gnu.org>
3460         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
3461         and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
3462         * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
3464 2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
3466         * posix/regex.c: Fix typo and add a sentinel.
3468 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
3470         * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
3471         O_NOFOLLOW.  Suggested by Christoph Roland.
3473 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3475         * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
3476         * sysdeps/s390/s390-32/bits/string.h: Remove.
3477         * sysdeps/s390/s390-64/bits/string.h: Remove.
3478         * sysdeps/s390/s390-32/strcmp.S: New file.
3479         * sysdeps/s390/s390-64/strcmp.S: New file.
3481 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3483         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
3484         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3486 2001-03-27  Ulrich Drepper  <drepper@redhat.com>
3488         * version.h (VERSION): Bump to 2.2.3.
3490         * stdlib/isomac.c (fmt): Don't define _LIBC.
3491         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
3492         LOW_HALF only if _LIBC is defined.
3494         * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
3496         * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
3497         and +().
3498         * posix/tst-fnmatch.input: Add test cases for matching empty strings.
3500         * sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
3501         * include/endian.h: ...to here.
3503 2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
3505         * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
3506         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
3508 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3510         * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
3512 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
3514         * sysdeps/ia64/fpu/Dist: Add new files to distribute.
3515         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
3516         * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
3518         * gmon/Makefile (headers): Add sys/profil.h.
3520 2001-03-18  Andreas Jaeger  <aj@suse.de>
3522         * manual/install.texi (Tools for Compilation): Advise to use GCC
3523         2.95.3.
3524         (Supported Configurations): Mention s390x.
3526 2001-03-26  Ben Collins  <bcollins@debian.org>
3528         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
3529         defines to match other architectures.
3531 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
3533         * libio/Makefile (tests): Add tst-ext.
3534         * libio/tst-ext.c: New file.
3536         * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
3538 2001-03-25  Ulrich Drepper  <drepper@redhat.com>
3540         Add changes which were in this form in the original patch by
3541         Eric Norum <eric.norum@usask.ca>.
3542         * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
3543         svc_max_pollfd.
3544         * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
3545         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3546         __rpc_thread_svc_max_pollfd.
3547         Define svc_fdset, get_rpc_createerr, svc_pollfd, and
3548         svc_max_pollfd.
3549         * sunrpc/rpc_thread.c: Handle first thread special, it uses the
3550         global variables.
3551         Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
3552         __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
3553         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
3554         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3555         __rpc_thread_svc_max_pollfd.
3556         * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
3557         get_rpc_createerr.
3558         * sunrpc/clnt_perr.c: Likewise.
3559         * sunrpc/clnt_simp.c: Likewise.
3560         * sunrpc/clnt_tcp.c: Likewise.
3561         * sunrpc/clnt_udp.c: Likewise.
3562         * sunrpc/clnt_unix.c: Likewise.
3563         * sunrpc/pm_getport.c: Likewise.
3565         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
3566         syscall checks for negative n so don't test here as well.
3568 2001-03-23  Jes Sorensen  <jes@linuxcare.com>
3570         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
3571         * sysdeps/ia64/sysdep.h: ...here.
3573         * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
3574         * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
3576         * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
3577         declare instead of LEAF().  Suggestion from David Mosberger.
3579 2001-03-21  David Mosberger  <davidm@hpl.hp.com>
3581         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
3582         directives.
3583         (PSEUDO): Drop .psr and .lsb directives.
3585         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
3586         directives.
3587         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
3589         * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
3590         directives etc.
3591         * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
3592         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
3593         * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
3594         longer needed).  Add unwind directives.
3596         * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
3597         ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
3599 2001-03-21  Paul Eggert  <eggert@twinsun.com>
3601         * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
3602         (RE_SYNTAX_POSIX_EGREP): Use it.
3603         * posix/regex.c (regex_compile): Implement it.
3605 2001-03-21  Paul Eggert  <eggert@twinsun.com>
3607         * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
3608         Rewrite to avoid duplicate code.
3610 2001-03-21  H.J. Lu  <hjl@gnu.org>
3612         * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
3613         for cross-compiling.
3614         ($(objpfx)tst-pathopt.out): Undo the last change.
3616 2001-03-24  Mark Kettenis  <kettenis@gnu.org>
3618         * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
3619         sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
3621         * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
3622         (_dl_argv): Declare.
3623         (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
3625 2001-03-22  Andreas Jaeger  <aj@suse.de>
3627         * iconvdata/Makefile (generated): Add iconv-test.xxx.
3629         * posix/Makefile (generated): Add bug-regex2.mtrace and
3630         bug-regex2-mem.
3632 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
3634         * csu/version.c (__gnu_get_libc_release): Add prototype.
3635         (__gnu_get_libc_version): Likewise.
3636         * include/gnu/libc-version.h: Remove prototypes for not exported
3637         functions.
3639 2001-03-21  Jes Sorensen  <jes@linuxcare.com>
3641         * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
3642         for internationalized printfs to work.
3644 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
3646         * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
3647         avoid compiler warning.
3648         (_nl_find_msg): Add casts to avoid compiler warnings.
3650 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
3652         * gmon/Makefile (routines): Add sprofil.
3653         (tests): Add tst-sprofil.
3654         (noprof): Add sprofil.
3655         * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
3657 2001-03-20  David Mosberger  <davidm@hpl.hp.com>
3659         * sysdeps/generic/sprofil.c: New file.
3660         * sysdeps/posix/sprofil.c: New file.
3661         * gmon/tst-sprofil.c: New file.
3662         * gmon/sys/profil.h: New file.
3664 2001-03-20  Andreas Schwab  <schwab@suse.de>
3666         * include/unistd.h: Adjust prototype of __gethostname.
3668 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
3670         * sysdeps/sparc/stackinfo.h: New file.
3672 2001-03-21  Andreas Jaeger  <aj@suse.de>
3674         * elf/global.c (main): Use proper prototype.
3676 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
3678         * sunrpc/Makefile (routines): Add rpc_thread.
3679         (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
3680         * sunrpc/rpc_thread.c: New file.
3681         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
3682         * sunrpc/auth_none.c: Don't use global variables.  Access state in
3683         thread-local storage.
3684         * sunrpc/clnt_perr.c: Likewise.
3685         * sunrpc/clnt_raw.c: Likewise.
3686         * sunrpc/clnt_simp.c: Likewise.
3687         * sunrpc/key_call.c: Likewise.
3688         * sunrpc/rpc_common.c: Likewise.
3689         * sunrpc/svc.c: Likewise.
3690         * sunrpc/svc_raw.c: Likewise.
3691         * sunrpc/svc_simple.c: Likewise.
3692         * sunrpc/svcauth_des.c: Likewise.
3693         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3694         _HURD_THREADVAR_RPC_VARS.
3695         * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
3696         * include/rpc/rpc.h: Define data structures for internal thread-local
3697         "global" variables.
3698         Based on patches by Eric Norum <eric.norum@usask.ca>.
3700         * elf/dl-load.c: Various little optimizations.
3702         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
3703         LINUX_LINK_MAX only if the statfs function is not implemented for
3704         the filesystem.
3706         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
3707         LINUX_LINK_MAX only if the fstatfs function is not implemented for
3708         the filesystem.
3710 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3712         * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
3714         * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
3715         (_dl_dst_substitute): Likewise.
3717 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3719         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
3721 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3723         * intl/gettextP.h (struct expression): Add operators lnot, less_than,
3724         greater_than, less_or_equal, greater_or_equal.  Replace args2/args3
3725         union by a 'nargs' counter and an 'args[]' array.
3726         * intl/plural.y: Don't include stdarg.h.
3727         (new_exp): Take an array of arguments instead of varargs.
3728         (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
3729         ('?' ':'): Make right-associative.
3730         (EQUOP2): New token, replaces '=' and '!'.
3731         (CMPOP2): New token.
3732         (ADDOP2): New token, replaces '+' and '-'.
3733         (MULOP2): New token, replaces '*', '/' and '%'.
3734         ('!'): New token.
3735         (exp): Add rules for CMPOP2 and '!'.  Don't call YYABORT.
3736         (start): Call YYABORT here.
3737         (FREE_EXPRESSION): Update.
3738         (yylex): Don't skip "\\n".  Recognize comparison and '!' operators.
3739         Update for new token symbols.
3740         * intl/loadmsgcat.c (plvar, plone, germanic_plural,
3741         init_germanic_plural): Update.
3742         * intl/dcigettext.c (_nl_find_msg): Optimize for space.
3743         (plural_eval): Recognize comparison and '!' operators.  Optimize for
3744         space.
3746 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
3748         * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
3749         NULL any more.
3751 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3753         * intl/loadmsgcat.c: Include headers needed for alloca().
3754         (freea): New macro.
3755         (_nl_load_domain): Add fallback code for platforms lacking alloca.
3756         * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
3757         (freea): New macro.
3758         (read_alias_file): Simplify fallback code for platforms lacking
3759         alloca.
3761 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
3763         * intl/gettextP.h (__gettextdebug): Remove declaration.
3764         (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
3765         syntax.
3766         (gettext_free_exp__, gettextparse__): New non-libc declarations.
3767         * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
3768         not __gettextparse, __gettext_free_exp.
3769         * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
3771 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
3773         * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
3775 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3777         * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
3778         lacking strtoul, like SunOS4.
3780 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3782         * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
3784 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3786         * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
3787         syntax.
3788         * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
3789         * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
3790         * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
3791         syntax.
3793 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
3795         * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
3796         bindtextdomain__, bind_textdomain_codeset__): New declarations, from
3797         old libgettext.h.
3798         * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
3799         * intl/dcgettext.c: Likewise.
3800         * intl/dcigettext.c: Likewise.
3801         * intl/dcngettext.c: Likewise.
3802         * intl/dngettext.c: Likewise.
3803         * intl/finddomain.c: Likewise.
3804         * intl/ngettext.c: Likewise.
3805         * intl/textdomain.c: Likewise.
3806         * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
3807         Include gettextP.h.
3808         * intl/gettext.c: Likewise.  Don't include locale.h.
3810 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3812         * intl/gettextP.h (ZERO): New macro.
3813         (struct binding): Always use ZERO.
3814         * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
3815         lack it, like SunOS4.
3816         (set_binding_values): Use offsetof, not sizeof.
3817         * intl/dcigettext.c (offsetof): Provide fallback for platforms that
3818         lack it, like SunOS4.
3819         (ZERO): Remove macro.
3820         (struct transmem_list): Use ZERO.
3821         (DCIGETTEXT): Use offsetof, not sizeof.
3823 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3825         * intl/gettextP.h: Include <stddef.h>.  Include gettext.h, for
3826         nls_uint32.
3827         * intl/bindtextdom.c: Don't include gettext.h.
3828         * intl/dcgettext.c: Likewise.
3829         * intl/dcigettext.c: Likewise.
3830         * intl/dcngettext.c: Likewise.
3831         * intl/dngettext.c: Likewise.
3832         * intl/finddomain.c: Likewise.
3833         * intl/localealias.c: Likewise.
3834         * intl/ngettext.c: Likewise.
3835         * intl/plural.y: Likewise.
3836         * intl/textdomain.c: Likewise.
3838 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3840         * intl/gettext.h: Don't include <stdio.h>.
3842 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3844         * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
3845         * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
3847 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3849         * sysdeps/unix/i386/i686/tempname.c: New file.
3851         * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
3852         defined use this macro to get some bits of randomness instead of
3853         the usual gettimeofday or time calls.
3855 2001-03-16  Paul Eggert  <eggert@twinsun.com>
3857         * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
3858         not defined, and if UINT64_MAX is not defined.
3860 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3862         * elf/cache.c: Mark and have translated a few more messages.
3864 2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3866         * elf/cache.c: Add case for FLAG_S390_LIB64.
3867         * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
3868         * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
3869         * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
3871 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3873         * string/Makefile (tests): Add tst-strxfrm.
3874         * string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
3875         * string/Depend: New file.
3877 2001-03-19  Paul Eggert  <eggert@twinsun.com>
3879         * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
3880         when given the empty string in nontrivial locales.
3882 2001-03-17  H.J. Lu  <hjl@gnu.org>
3884         * manual/Makefile (install): Use $(INSTALL_DATA) instead of
3885         cp to install `dir'.
3887 2001-03-19  Andreas Schwab  <schwab@suse.de>
3889         * Makerules (build-shlib): Make sure exit codes get checked
3890         properly.
3892 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
3894         * Makerules (build-shlib): Remove unnecessary slashes introduced in
3895         last change.
3897         * configure.in: Test for -Bgroup option of linker.
3898         * config.make.in: Define have-Bgroup.
3900         * conform/data/unistd.h-data: Require gethostname.
3901         * posix/unistd.h: Make gethostname prototype available for
3902         __USE_XOPEN2K.
3904         * crypt/Makefile: When generating DSO link with libc_nonshared.a.
3905         * debug/Makefile: Likewise.
3906         * dlfcn/Makefile: Likewise.
3907         * hesiod/Makefile: Likewise.
3908         * iconvdata/extra-module.mk: Likewise.
3909         * locale/Makefile: Likewise.
3910         * login/Makefile: Likewise.
3911         * math/Makefile: Likewise.
3912         * nis/Makefile: Likewise.
3913         * nss/Makefile: Likewise.
3914         * resolv/Makefile: Likewise.
3915         * rt/Makefile: Likewise.
3917 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
3919         * inet/Makefile (tests): Remove left-over comment.
3921         * posix/unistd.h (gethostname): Change type of second parameter
3922         back to size_t as per upcoming XPG6.
3923         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
3924         parameter back to size_t as per upcoming XPG6.
3925         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
3926         * sysdeps/unix/sysv/gethostname.c: Likewise.
3927         * sysdeps/mach/hurd/gethostname.c: Likewise.
3928         * sysdeps/generic/gethostname.c: Likewise.
3930 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
3932         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3933         Handle NaN here.
3935         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
3936         Internationalize.
3938 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
3940         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
3941         looking for name matches.
3943 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
3945         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
3946         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
3947         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
3948         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3949         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
3950         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
3951         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
3952         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
3953         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
3954         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
3955         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
3956         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
3958 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
3960         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
3961         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3963         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
3964         erfcl.
3965         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3967 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
3969         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
3970         Drop hack that was needed for 2.1.1 kernel headers.
3972         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
3974         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
3975         overlay with kernel's "struct sigcontext".
3977         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
3978         sys/rse.h for "misc" subdir.
3979         (sysdep_routines): Add __start_context for "stdlib" subdir.
3981         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
3982         kernel file of the same name).
3984         * stdlib/Makefile (tests): Add tst-setcontext.
3985         * stdlib/tst-setcontext.c: New file (based on a sample program by
3986         Uli Drepper).
3988         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
3989         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
3990         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
3991         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
3992         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
3994         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
3995         instead of shift & and.
3997 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3999         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
4000         * sysdeps/s390/bits/huge_val.h: ...here.
4001         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
4002         * sysdeps/s390/s390-64/ffs.c: Move to...
4003         * sysdeps/s390/ffs.c: ...here.
4004         * sysdeps/s390/s390-32/ffs.c: Remove.
4006 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
4008         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
4009         update osversion from more recent library.
4011 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4013         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
4014         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
4015         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
4016         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
4017         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
4018         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
4019         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
4020         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
4021         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
4022         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
4023         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
4024         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
4025         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
4026         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
4027         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
4028         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
4029         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
4030         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
4031         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
4032         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
4033         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
4034         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
4035         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
4036         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
4037         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
4038         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
4039         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
4040         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
4041         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
4042         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
4043         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
4044         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
4045         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
4046         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
4047         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
4048         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
4049         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
4050         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
4051         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
4052         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
4053         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
4054         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
4055         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
4056         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
4057         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
4058         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
4059         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
4060         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
4061         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
4062         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
4063         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
4064         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
4065         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
4066         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
4067         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
4068         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
4069         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
4070         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
4071         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
4072         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
4073         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
4074         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
4075         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
4076         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
4077         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
4078         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
4079         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
4080         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
4081         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
4082         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
4083         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
4084         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
4085         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
4086         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
4087         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
4088         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
4089         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
4090         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
4091         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
4092         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
4093         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
4094         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
4095         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
4096         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
4097         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
4098         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
4099         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
4100         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
4101         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
4102         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
4103         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
4104         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
4105         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
4106         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
4107         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
4108         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
4109         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
4110         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
4111         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
4112         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
4113         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
4114         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
4115         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
4116         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
4117         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
4118         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
4119         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
4120         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
4121         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4122         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
4123         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
4124         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
4125         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
4126         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
4128 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4130         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
4131         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
4132         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
4133         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
4134         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
4135         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
4136         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
4137         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
4138         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
4139         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
4140         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
4141         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
4142         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
4143         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
4144         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
4145         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
4146         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
4147         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
4148         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
4149         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
4150         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
4151         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
4152         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
4153         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
4154         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
4155         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
4156         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
4157         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
4158         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
4159         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
4160         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
4161         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
4162         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
4163         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
4164         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
4165         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
4166         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
4167         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
4168         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
4169         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
4170         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
4171         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
4172         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
4173         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
4174         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
4175         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
4176         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
4177         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
4178         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
4179         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
4180         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
4181         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
4182         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
4184 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4186         * sysdeps/s390/Dist: Move to...
4187         * sysdeps/s390/390-32/Dist: ...here.
4188         * sysdeps/s390/Implies: Move to...
4189         * sysdeps/s390/s390-32/Implies: ...here.
4190         * sysdeps/s390/Makefile: Move to...
4191         * sysdeps/s390/s390-32/Makefile: ...here.
4192         * sysdeps/s390/Versions: Move to...
4193         * sysdeps/s390-32/s390/Versions: ...here.
4194         * sysdeps/s390/add_n.S: Move to...
4195         * sysdeps/s390/s390-32/add_n.S: ...here.
4196         * sysdeps/s390/addmul_1.S: Move to...
4197         * sysdeps/s390/s390-32/addmul_1.S: ...here.
4198         * sysdeps/s390/atomicity.h: Move to...
4199         * sysdeps/s390/s390-32/atomicity.h: ...here.
4200         * sysdeps/s390/backtrace.c: Move to...
4201         * sysdeps/s390/s390-32/backtrace.c: ...here.
4202         * sysdeps/s390/bcopy.S: Move to...
4203         * sysdeps/s390/s390-32/bcopy.S: ...here.
4204         * sysdeps/s390/bits/byteswap.h: Move to...
4205         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
4206         * sysdeps/s390/bits/huge_val.h: Move to...
4207         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
4208         * sysdeps/s390/bsd-_setjmp.S: Move to...
4209         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
4210         * sysdeps/s390/bsd-setjmp.S: Move to...
4211         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
4212         * sysdeps/s390/bzero.S: Move to...
4213         * sysdeps/s390/s390-32/bzero.S: ...here.
4214         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
4215         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
4216         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
4217         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
4218         * sysdeps/s390/elf/start.S: Move to...
4219         * sysdeps/s390/s390-32/elf/start.S: ...here.
4220         * sysdeps/s390/ffs.c: Move to...
4221         * sysdeps/s390/s390-32/ffs.c: ...here.
4222         * sysdeps/s390/memchr.S: Move to...
4223         * sysdeps/s390/s390-32/memchr.S: ...here.
4224         * sysdeps/s390/memcpy.S: Move to...
4225         * sysdeps/s390/s390-32/memcpy.S: ...here.
4226         * sysdeps/s390/memset.S: Move to...
4227         * sysdeps/s390/s390-32/memset.S: ...here.
4228         * sysdeps/s390/mul_1.S: Move to...
4229         * sysdeps/s390/s390-32/mul_1.S: ...here.
4230         * sysdeps/s390/s390-mcount.S: Move to...
4231         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
4232         * sysdeps/s390/strcpy.S: Move to...
4233         * sysdeps/s390/s390-32/strcpy.S: ...here.
4234         * sysdeps/s390/strncpy.S: Move to...
4235         * sysdeps/s390/s390-32/strncpy.S: ...here.
4236         * sysdeps/s390/sub_n.S: Move to...
4237         * sysdeps/s390/s390-32/sub_n.S: ...here.
4239 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4241         * sysdeps/s390/s390-64/Dist: New file.
4242         * sysdeps/s390/s390-64/Implies: New file.
4243         * sysdeps/s390/s390-64/Makefile: New file.
4244         * sysdeps/s390/s390-64/__longjmp.c: New file.
4245         * sysdeps/s390/s390-64/add_n.S: New file.
4246         * sysdeps/s390/s390-64/atomicity.h: New file.
4247         * sysdeps/s390/s390-64/backtrace.c: New file.
4248         * sysdeps/s390/s390-64/bcopy.S: New file.
4249         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
4250         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
4251         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
4252         * sysdeps/s390/s390-64/bits/string.h: New file.
4253         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
4254         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
4255         * sysdeps/s390/s390-64/bzero.S: New file.
4256         * sysdeps/s390/s390-64/dl-machine.h: New file.
4257         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
4258         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
4259         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
4260         * sysdeps/s390/s390-64/elf/start.S: New file.
4261         * sysdeps/s390/s390-64/ffs.c: New file.
4262         * sysdeps/s390/s390-64/initfini.c: New file.
4263         * sysdeps/s390/s390-64/memchr.S: New file.
4264         * sysdeps/s390/s390-64/memcpy.S: New file.
4265         * sysdeps/s390/s390-64/memset.S: New file.
4266         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
4267         * sysdeps/s390/s390-64/setjmp.S: New file.
4268         * sysdeps/s390/s390-64/strcpy.S: New file.
4269         * sysdeps/s390/s390-64/strncpy.S: New file.
4270         * sysdeps/s390/s390-64/sub_n.S: New file.
4271         * sysdeps/s390/s390-64/sysdep.h: New file.
4273 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4275         * scripts/config.guess: Add support for Linux on 64 bit S/390.
4276         * scripts/config.sub: Likewise.
4278 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4280         * configure.in: Add support for 64 bit S/390.
4282         * elf/elf.h: Add new relocations for 64 bit S/390.
4284         * shlib-versions: Add rules for Linux on 64 bit S/390.
4286 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4288         * sysdeps/s390/__longjmp.c: Move to...
4289         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
4290         to load the floating point registers that should be saved
4291         according to the ABI.
4293         * sysdeps/s390/bits/setjmp.h: Move to...
4294         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
4295         the use of long long in the __jmp_buf type definition.
4297         * sysdeps/s390/bits/string.h: Move to...
4298         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
4299         #ifndef _FORCE_INLINES.
4301         * sysdeps/s390/dl-machine.h: Move to...
4302         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
4303         executables EI_CLASS in elf_machine_matches_host.
4305         * sysdeps/s390/elf/setjmp.S: Move to...
4306         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
4307         branches to globally defined symbol __sigsetjmp by branches to
4308         a local label (this avoids the generation of a R_390_PC16DBL
4309         relocation in -fpic code).
4311         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
4312         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
4314         * sysdeps/s390/initfini.c: Move to...
4315         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
4316         ".align 4,0x07".
4318         * sysdeps/s390/setjmp.S: Move to...
4319         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
4320         floating point registers that should be saved according to the ABI.
4322         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
4324         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4325         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.  Include
4326         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
4328 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4330         * configure.in: Change machine=s390 to machine=s390/s390-32.
4332         * elf/elf.h: Correct comment for R_390_PLT16DBL.
4334 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
4336         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
4337         version to be overriden from config.h.
4338         * csu/abi-note.S: Use OS and version separately, include config.h.
4339         * elf/dl-load.c (_dl_osversion): New.
4340         (_dl_map_object_from_fd): Kill some warnings.
4341         (open_verify): Check .note.ABI-tag of the library if present.
4342         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
4343         * elf/cache.c (struct cache_entry): Add osversion.
4344         (print_entry): Print osversion.
4345         (print_cache): Pass osversion to it.
4346         (compare): Sort according to osversion.
4347         (save_cache): Set osversion.
4348         (add_to_cache): Add osversion argument.
4349         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
4350         process_elf_file): Add osversion argument.
4351         * elf/readlib.c (process_file): Likewise.
4352         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
4353         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
4354         process_elf32_file, process_elf64_file): Likewise.
4355         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
4356         process_elf32_file, process_elf64_file): Likewise.
4357         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
4358         process_elf32_file, process_elf64_file): Likewise.
4359         * elf/ldconfig.c (manual_link): Pass it.
4360         (search_dir): Issue diagnostic if two libs with the same soname in
4361         the same directory have different .note.ABI-tag.  Record osversion in
4362         dlib_entry and use it from there.
4363         (struct lib_entry): Remove.
4364         (struct dlib_entry): Add osversion.
4365         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
4366         osversion.
4367         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
4368         field with osversion.
4369         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
4370         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
4371         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
4372         version in _dl_osversion.
4373         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
4374         * Makerules (build-shlib-helper, build-module-helper): New.
4375         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
4376         early.
4377         * config.h.in (__ABI_TAG_VERSION): Add.
4378         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
4379         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
4380         Handle LD_ASSUME_KERNEL.
4381         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
4383 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
4385         * timezone/antarctica: Update from tzdata2001a.
4386         * timezone/asia: Likewise.
4387         * timezone/australasia: Likewise.
4388         * timezone/backward: Likewise.
4389         * timezone/etcetera: Likewise.
4390         * timezone/europe: Likewise.
4391         * timezone/leapseconds: Likewise.
4392         * timezone/northamerica: Likewise.
4393         * timezone/southamerica: Likewise.
4394         * timezone/systemv: Likewise.
4395         * timezone/yearistype: Likewise.
4396         * timezone/zone.tab: Likewise.
4397         * timezone/tzdump.c: Update from tzcode2001a.
4399 2001-03-15  H.J. Lu  <hjl@gnu.org>
4401         * intl/Makefile: Fix a typo.
4403 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
4405         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
4406         writing arc structures.
4408 2001-03-15  H.J. Lu  <hjl@gnu.org>
4410         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
4411         cross-compiling.
4413 2001-03-13  Andreas Schwab  <schwab@suse.de>
4415         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
4417 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
4419         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
4420         for control message fitting into message data.
4421         Patch by James Antill <james@and.org>.
4423         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
4424         FNM_EXTMATCH.
4426         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
4427         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
4429         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
4430         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
4431         avoid running binaries with libc versions without FNM_EXTMATCH support.
4433         * include/wchar.h: Add prototype for __wcscat.
4434         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
4436         * posix/fnmatch.h (FNM_EXTMATCH): Define.
4437         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
4438         (posixly_correct): Move global variable here.
4439         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
4440         (fnmatch): Pretty printing.
4441         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
4442         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
4443         * posix/tst-fnmatch.input: Add tests for extended matching.
4445         * posix/testfnm.c: Add test for patterns with multiple ** before /.
4446         * posix/fnmatch_loop.c: Fix problem with the test above.
4448 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
4450         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
4451         reference to usqrt.
4453         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
4455 2001-03-12  Andreas Jaeger  <aj@suse.de>
4457         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4458         Use EM_X86_64 instead of EM_X8664.
4460 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
4462         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
4464         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
4465         conditions.
4467         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
4468         conditions.
4470         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
4471         correctly.
4472         (__cos): Likewise.
4474         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
4475         correctly.
4476         (__ieee754_acos): Likewise.
4478 2001-03-12  Andreas Jaeger  <aj@suse.de>
4480         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
4481         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
4483         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
4484         redefinition.
4486 2001-03-11  Roland McGrath  <roland@frob.com>
4488         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
4490 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
4492         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
4493         LITTLE_ENDI.
4495         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
4496         parameter list.
4498         Last-bit accurate math library implementation by IBM Haifa.
4499         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
4500         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
4501         Anna Reitman <reitman@il.ibm.com>.
4502         * math/Makefile (dbl-only-routines): New variable.
4503         (libm-routines): Add $(dbl-only-routines).
4504         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
4505         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
4506         implementation.
4507         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
4508         implementation.
4509         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
4510         implementation.
4511         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
4512         __kernel_cos.
4513         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
4514         implementation.
4515         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
4516         remainder implementation.
4517         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
4518         implementation.
4519         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
4520         implementation.
4521         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
4522         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
4523         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
4524         implementation.
4525         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
4526         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
4527         implementation.
4528         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
4529         and __kernel_cos.
4530         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
4531         implementation.
4532         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
4533         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
4534         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
4535         * sysdeps/ieee754/dbl-64/atnat.h: New file.
4536         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
4537         * sysdeps/ieee754/dbl-64/branred.c: New file.
4538         * sysdeps/ieee754/dbl-64/branred.h: New file.
4539         * sysdeps/ieee754/dbl-64/dla.h: New file.
4540         * sysdeps/ieee754/dbl-64/doasin.c: New file.
4541         * sysdeps/ieee754/dbl-64/doasin.h: New file.
4542         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
4543         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
4544         * sysdeps/ieee754/dbl-64/endian.h: New file.
4545         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
4546         * sysdeps/ieee754/dbl-64/mpa.c: New file.
4547         * sysdeps/ieee754/dbl-64/mpa.h: New file.
4548         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
4549         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
4550         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
4551         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
4552         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
4553         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
4554         * sysdeps/ieee754/dbl-64/mplog.c: New file.
4555         * sysdeps/ieee754/dbl-64/mplog.h: New file.
4556         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
4557         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
4558         * sysdeps/ieee754/dbl-64/mptan.c: New file.
4559         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
4560         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
4561         * sysdeps/ieee754/dbl-64/root.tbl: New file.
4562         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
4563         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
4564         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
4565         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
4566         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
4567         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
4568         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
4569         * sysdeps/ieee754/dbl-64/uexp.h: New file.
4570         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
4571         * sysdeps/ieee754/dbl-64/ulog.h: New file.
4572         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
4573         * sysdeps/ieee754/dbl-64/upow.h: New file.
4574         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
4575         * sysdeps/ieee754/dbl-64/urem.h: New file.
4576         * sysdeps/ieee754/dbl-64/uroot.h: New file.
4577         * sysdeps/ieee754/dbl-64/usncs.h: New file.
4578         * sysdeps/ieee754/dbl-64/utan.h: New file.
4579         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
4580         * sysdeps/i386/fpu/branred.c: New file.
4581         * sysdeps/i386/fpu/doasin.c: New file.
4582         * sysdeps/i386/fpu/dosincos.c: New file.
4583         * sysdeps/i386/fpu/halfulp.c: New file.
4584         * sysdeps/i386/fpu/mpa.c: New file.
4585         * sysdeps/i386/fpu/mpatan.c: New file.
4586         * sysdeps/i386/fpu/mpatan2.c: New file.
4587         * sysdeps/i386/fpu/mpexp.c: New file.
4588         * sysdeps/i386/fpu/mplog.c: New file.
4589         * sysdeps/i386/fpu/mpsqrt.c: New file.
4590         * sysdeps/i386/fpu/mptan.c: New file.
4591         * sysdeps/i386/fpu/sincos32.c: New file.
4592         * sysdeps/i386/fpu/slowexp.c: New file.
4593         * sysdeps/i386/fpu/slowpow.c: New file.
4594         * sysdeps/ia64/fpu/branred.c: New file.
4595         * sysdeps/ia64/fpu/doasin.c: New file.
4596         * sysdeps/ia64/fpu/dosincos.c: New file.
4597         * sysdeps/ia64/fpu/halfulp.c: New file.
4598         * sysdeps/ia64/fpu/mpa.c: New file.
4599         * sysdeps/ia64/fpu/mpatan.c: New file.
4600         * sysdeps/ia64/fpu/mpatan2.c: New file.
4601         * sysdeps/ia64/fpu/mpexp.c: New file.
4602         * sysdeps/ia64/fpu/mplog.c: New file.
4603         * sysdeps/ia64/fpu/mpsqrt.c: New file.
4604         * sysdeps/ia64/fpu/mptan.c: New file.
4605         * sysdeps/ia64/fpu/sincos32.c: New file.
4606         * sysdeps/ia64/fpu/slowexp.c: New file.
4607         * sysdeps/ia64/fpu/slowpow.c: New file.
4608         * sysdeps/m68k/fpu/branred.c: New file.
4609         * sysdeps/m68k/fpu/doasin.c: New file.
4610         * sysdeps/m68k/fpu/dosincos.c: New file.
4611         * sysdeps/m68k/fpu/halfulp.c: New file.
4612         * sysdeps/m68k/fpu/mpa.c: New file.
4613         * sysdeps/m68k/fpu/mpatan.c: New file.
4614         * sysdeps/m68k/fpu/mpatan2.c: New file.
4615         * sysdeps/m68k/fpu/mpexp.c: New file.
4616         * sysdeps/m68k/fpu/mplog.c: New file.
4617         * sysdeps/m68k/fpu/mpsqrt.c: New file.
4618         * sysdeps/m68k/fpu/mptan.c: New file.
4619         * sysdeps/m68k/fpu/sincos32.c: New file.
4620         * sysdeps/m68k/fpu/slowexp.c: New file.
4621         * sysdeps/m68k/fpu/slowpow.c: New file.
4623         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
4624         codepages.
4626 2001-03-11  Andreas Jaeger  <aj@suse.de>
4628         * elf/elf.h (EM_*): Synch with official list.
4630 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
4632         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
4634 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
4636         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
4637         variables addr & len.
4639 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
4641         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
4642         punctuation in asm constraint.
4644 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
4646         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
4647         <time.h> to get definition of `struct timespec'.
4649 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
4651         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
4652         LD_WARN=1, not if LD_WARN is unset.
4654 2001-03-07  Andreas Schwab  <schwab@suse.de>
4656         * elf/ldconfig.h: Moved to ...
4657         * sysdeps/generic/ldconfig.h: ... here.
4658         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
4659         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
4660         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
4661         * elf/readlib.c (interpreters, known_libs): Use
4662         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
4663         instead of hard coding old names.
4665 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4667         * catgets/Makefile (generated): Add test-gencat.h.
4668         (sample.SJIS.cat): Also generate header.
4669         * catgets/sample.SJIS: Add new set and message, both with symbolic
4670         names.
4671         * catgets/test-gencat.sh: Also compare generated header with what
4672         we expect.
4674 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
4676         * catgets/gencat.c (read_input_file): Preserve properly symbolic
4677         names.
4679 2001-03-06  Andreas Jaeger  <aj@suse.de>
4681         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
4682         needed.
4683         (elf_machine_pltrel_p): Likewise.
4684         * sysdeps/powerpc/dl-machine.h: Likewise.
4685         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
4687 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4689         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
4690         dl-procinfo.h.
4692 2001-03-05  Philip Blundell  <philb@gnu.org>
4694         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
4695         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
4696         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
4697         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
4698         dl-procinfo.
4700 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4702         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
4703         is not available.
4704         * dlfcn/tstcxaatexit.c (main): Likewise.
4706 2001-03-10  Andreas Jaeger  <aj@suse.de>
4708         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
4710 2001-03-09  Andreas Jaeger  <aj@suse.de>
4712         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
4713         both new and old EM_S390 values.
4714         (EM_S390_OLD): New constant.
4716         * elf/elf.h (EM_S390): Use official value.
4718 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4720         * conform/data/sys/socket.h-data: Allow SO* symbols.
4722 2001-03-07  Andreas Schwab  <schwab@suse.de>
4724         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
4725         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
4727 2001-03-07  Andreas Jaeger  <aj@suse.de>
4729         * resolv/Makefile (routines): Only build gai_sigqueue when threads
4730         are available.
4732 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
4734         * elf/ldconfig.c (_dl_sysdep_message): Remove.
4735         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
4736         ldsodefs.h.
4737         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
4739         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
4740         _dl_error_printf instead of _dl_sysdep_error.
4741         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4742         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
4743         Use _dl_printf instead of _dl_sysdep_message.
4744         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
4745         Likewise.
4747 2001-03-06  Ben Collins  <bcollins@debian.org>
4749         * manual/arith.texi (Integers): Fix documentation of fast and
4750         least integer typedefs.
4752 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
4754         * resolv/Depend: New file.
4755         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
4756         when libpthread is built.
4758 2001-03-06  Andreas Jaeger  <aj@suse.de>
4760         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
4762         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
4763         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
4765 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
4767         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
4769 2001-03-05  Andreas Jaeger  <aj@suse.de>
4771         * stdlib/msort.c (qsort): Don't use alloca in a function call.
4773 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
4775         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
4776         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
4777         always return zero.
4778         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4779         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
4780         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4781         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
4782         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4783         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4784         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4786 2001-03-04  Andreas Jaeger  <aj@suse.de>
4788         * stdlib/longlong.h: Don't use multi-line strings.
4789         * iconvdata/tst-loading.c: Likewise.
4791         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
4792         string.
4794 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
4796         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
4798         * rt/lio_listio.c: Add a few asserts.
4800         * elf/global.c: New file.
4801         * elf/globalmod1.c: New file.
4802         * elf/Makefile: Add rules to build and run global.
4804         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
4805         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4806         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4807         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4808         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4810         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
4811         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4813         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
4815         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
4816         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4818         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
4820         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
4822 2001-03-04  Andreas Jaeger  <aj@suse.de>
4824         * resolv/tst-aton.c: Add testcase for IP with four periods.
4826         * resolv/inet_addr.c: Don't recognize an IP with four periods.
4827         Patch by Andre' Breiler <A.Breiler@gmx.net>.
4829 2001-02-27  Philip Blundell  <pb@futuretv.com>
4831         * elf/elf.h: Add new ARM definitions from latest (B-01)
4832         specification.  Correct naming of EF_ARM_ALIGN8 et al.
4834 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
4836         * stdio-common/tst-printf.sh: Remove bashisms.
4837         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
4839 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
4841         * Versions.def: Add libanl definition.
4842         * shlib-versions: Add entry for libanl.
4843         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
4844         (routines): Add gai_sigqueue.
4845         (extra-libs): Add libanl.
4846         (libanl-routines): New variable.
4847         Add rules to build libanl and ga_test.
4848         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
4849         [libanl]: New library.
4850         * resolv/netdb.h: Add definitions for libanl.
4851         * resolv/getaddrinfo_a.c: New file.
4852         * resolv/gai_cancel.c: New file.
4853         * resolv/gai_error.c: New file.
4854         * resolv/gai_misc.c: New file.
4855         * resolv/gai_misc.h: New file.
4856         * resolv/gai_notify.c: New file.
4857         * resolv/gai_suspend.c: New file.
4858         * resolv/ga_test.c: New file.
4859         * sysdeps/generic/gai_sigqueue.c: New file.
4860         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
4861         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
4862         and provide only that definition.
4863         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4864         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4865         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4866         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4867         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4868         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4870         * rt/aio_misc.c: Fix typos in comments.
4871         * rt/lio_listio.c: Pretty printing.  Little optimization in request
4872         list handling.
4874         * elf/rtld.c: Remove commented out code.
4876         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
4877         Update for real 2.4 kernels.
4879 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
4881         * elf/dl-load.c: Pretty printing.
4883         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
4884         twice.
4886 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
4888         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
4889         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
4891         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
4893         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
4894         machines.
4896         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
4898 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
4900         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
4901         _dl_debug_mask.
4903         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
4904         _dl_debug_printf.
4905         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
4906         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
4907         _dl_debug_printf_c, and _dl_printf.
4908         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
4909         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
4910         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
4911         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
4912         * elf/dl-close.c: Replace use of old output functions with the new
4913         ones.
4914         * elf/dl-deps.c: Likewise.
4915         * elf/dl-error.c: Likewise.
4916         * elf/dl-fini.c: Likewise.
4917         * elf/dl-init.c: Likewise.
4918         * elf/dl-load.c: Likewise.
4919         * elf/dl-lookup.c: Likewise.
4920         * elf/dl-minimal.c: Likewise.
4921         * elf/dl-open.c: Likewise.
4922         * elf/dl-profile.c: Likewise.
4923         * elf/dl-reloc.c: Likewise.
4924         * elf/dl-version.c: Likewise.
4925         * elf/do-lookup.h: Likewise.
4926         * elf/rtld.c: Likewise.
4927         * sysdeps/generic/dl-cache.c: Likewise.
4928         * sysdeps/generic/dl-sysdep.c: Likewise.
4929         * sysdeps/generic/libc-start.c: Likewise.
4930         * sysdeps/i386/dl-machine.h: Likewise.
4931         * sysdeps/arm/dl-machine.h: Likewise.
4932         * sysdeps/hppa/dl-machine.h: Likewise.
4933         * sysdeps/m68k/dl-machine.h: Likewise.
4934         * sysdeps/powerpc/dl-machine.h: Likewise.
4935         * sysdeps/s390/dl-machine.h: Likewise.
4936         * sysdeps/sh/dl-machine.h: Likewise.
4937         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4938         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
4939         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4941         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
4943         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
4944         supported by assembler.
4946         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
4947         declaractions.
4949         * elf/rtld.c: Little optimizations in handling _dl_lazy.
4951         * elf/cache.c (save_cache): Portability changes.
4952         * elf/dl-profile.c (_dl_start_profile): Likewise.
4954         * elf/sln.c: Cleanups.  Remove arbitrary limits.
4956         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
4957         * elf/dl-deps.c: Likewise.
4958         * elf/dl-fini.c: Likewise.
4959         * elf/dl-init.c: Likewise.
4960         * elf/dl-load.c: Likewise.
4961         * elf/dl-lookup.c: Likewise.
4962         * elf/dl-open.c: Likewise.
4963         * elf/dl-reloc.c: Likewise.
4964         * elf/dl-support.c: Likewise.
4965         * elf/dl-version.c: Likewise.
4966         * elf/do-lookup.h: Likewise.
4967         * elf/rtld.c: Likewise.
4968         * sysdeps/generic/dl-cache.c: Likewise.
4969         * sysdeps/generic/ldsodefs.h: Likewise.
4970         * sysdeps/generic/libc-start.c: Likewise.
4971         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
4972         Export _dl_debug_mask.
4973         * Versions.def: Define GLIBC_2.2.3 for ld.
4975 2001-02-26  Greg McGary  <greg@mcgary.org>
4977         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
4979 2001-02-26  Paul Eggert  <eggert@twinsun.com>
4981         Modify mkstemp.c and tempname.c so that they can be used by
4982         GNU applications on non-glibc platforms.
4984         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
4986         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
4987         Include <stddef.h>, <stdint.h>, <string.h> only if
4988         STDC_HEADERS || _LIBC.
4989         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
4990         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
4991         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
4992         (__set_errno): Define this macro if <errno.h> doesn't.
4993         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
4994         Define these macros if <stdio.h> doesn't.
4995         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
4996         Define these macros if <sys/stat.h> doesn't.
4997         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
4998         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
4999         lxstat64, __xstat64): Define if not _LIBC.
5000         (struct_stat64): New macro.
5001         (direxists, __gen_tempname): Use it, to avoid a
5002         portability problem with Solaris 8.
5003         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
5004         (__gen_tempname): Invoke gettimeofday only if
5005         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
5006         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
5007         octal values like 0600.
5009 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
5011         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
5012         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5014         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
5015         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5017         * posix/wordexp-test.c (testit): Remove warnings.
5019         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
5020         (tests): Add tstatexit and tstcxaatexit.
5021         (module-names): Add modatexit and modcxaatexit.
5022         Add rules to build and run tstatexit and tstcxaatexit.
5023         * dlfcn/modatexit.c: New file.
5024         * dlfcn/modcxaatexit.c: New file.
5025         * dlfcn/tstatexit.c: New file.
5026         * dlfcn/tstcxaatexit.c: New file.
5028         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
5029         .hidden is available.
5030         * io/stat.c: If .hidden is available use it to avoid exporting
5031         functions.
5032         * io/fstat.c: Likewise.
5033         * io/lstat.c: Likewise.
5034         * io/stat64.c: Likewise.
5035         * io/fstat64.c: Likewise.
5036         * io/lstat64.c: Likewise.
5037         * sysdeps/generic/mknod.c: Likewise.
5039         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
5040         * sysdeps/generic/bb_init_func.c: Likewise.
5041         * sysdeps/generic/libc-start.c: Likewise.
5043         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
5044         (atexit): Implement using __cxa_atexit.
5045         Use .hidden if availble to avoid exporting atexit.
5046         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
5047         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
5048         * stdlib/Makefile (routines): Add old_atexit.
5049         (static-only-routines): Add atexit.
5050         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
5051         * stdlib/old_atexit.c: New file.
5053         * intl/Makefile: Remove bogus endif.
5055 2001-02-26  Andreas Jaeger  <aj@suse.de>
5057         * iconvdata/Makefile (tests): Fix typo in last patch.
5059         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
5060         available.
5061         Reported by Achim Gottinger <achim@gentoo.org>.
5063 2001-02-25  Andreas Jaeger  <aj@suse.de>
5065         * intl/Makefile (plural.c): Reorder rules so that they work if
5066         BISON doesn't exist.
5068 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
5070         * intl/locale.alias: Don't use nb_NO but define aliases for it.
5072 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
5074         * sysdeps/i386/strtok.S: Continue to return NULL after the first
5075         time this happened.
5077 2001-02-23  Andreas Jaeger  <aj@suse.de>
5079         * string/tester.c (test_strtok_r): Add testcase.
5080         (test_strtok_r): Always initialize cp for proper checking.
5082         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
5083         returning NULL correctly.
5084         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
5085         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
5087 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
5089         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
5090         including <stddef.h>.
5091         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
5092         * include/libc-symbols.h (weak_alias): Don't use .weak if
5093         HAVE_ASM_GLOBAL_DOT_NAME is defined.
5094         Patches by Michael Keezer <mkeezer@redhat.com>.
5096         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
5097         Patch by Michael Keezer <mkeezer@redhat.com>.
5099         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
5100         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
5101         (sysdep_routines): Remove restf.S and savef.S.
5102         * sysdeps/unix/sysv/aix/restf.S: Removed.
5103         * sysdeps/unix/sysv/aix/savef.S: Removed.
5104         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
5105         alternative names used on some platforms.
5106         * sysdeps/powerpc/fprsave.S: Likewise.
5107         * sysdeps/powerpc/gprrest0.S: Likewise.
5108         * sysdeps/powerpc/gprrest1.S: Likewise.
5109         * sysdeps/powerpc/gprsave0.S: Likewise.
5110         * sysdeps/powerpc/gprsave1.S: Likewise.
5111         Patch by Michael Keezer <mkeezer@redhat.com>.
5113 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
5115         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
5117 2001-02-22  Andreas Jaeger  <aj@suse.de>
5119         * string/tst-strtok.c (main): Fix error messages.
5121 2001-02-22  Andreas Jaeger  <aj@suse.de>
5123         * math/Makefile: Remove omit-long-double-fcts.
5125 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
5127         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
5128         avoid problems on MIPS I.
5129         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
5131         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
5132         noreorder".
5134 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
5136         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
5138         * sysdeps/generic/ftime.c: Include <time.h>.
5140         * configure.in: Don't check for libgd if user passed --without-gd.
5141         Patch by Achim Gottinger <achim@gentoo.org>.
5143         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
5144         first time this happened.
5145         * string/Makefile (tests): Add tst-strtok.
5147 2001-02-21  Andreas Jaeger  <aj@suse.de>
5149         * string/tst-strtok.c: New testcase, reported by
5150         Andrew Church <achurch@achurch.org>.
5152 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
5154         * libio/iofwide.c: Remove fwide alias.
5156 2001-02-20  Andreas Jaeger  <aj@suse.de>
5158         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
5159         is available.
5160         Reported by Achim Gottinger <achim@gentoo.org>.
5162 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
5164         * iconv/tst-iconv1.c (main): Remove debugging code.
5166         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
5167         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5169         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
5170         parameters.
5171         * sysdeps/generic/e_scalbf.c: Likewise.
5172         * sysdeps/generic/e_scalbl.c: Likewise.
5174         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
5175         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
5176         in libc.
5177         (routines): Replace libm_error with libc_libm_error.
5178         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
5179         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
5181 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
5183         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
5184         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
5186 2001-02-17  H.J. Lu  <hjl@gnu.org>
5188         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
5189         scratch registers across the system call.
5191 2001-02-19  Andreas Jaeger  <aj@suse.de>
5193         * malloc/Makefile (tests): Run mtrace only when perl is available.
5194         Reported by Achim Gottinger <achim@gentoo.org>.
5196 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
5198         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
5199         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5201         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
5202         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
5203         * math/libm-test.inc (j1_test): Mark constants as long double.
5204         (jn_test): Likewise.
5205         (y1_test): Likewise.
5206         (yn_test): Likewise.
5208         * libio/iogetline.c: Move return until after last statement.
5210         * localedata/show-ucs-data.c: Don't show < > for better readability.
5212         * sysdeps/ia64/fpu/Dist: New file.
5213         * sysdeps/ia64/fpu/Makefile: New file.
5214         * sysdeps/ia64/fpu/Versions: New file.
5215         * sysdeps/ia64/fpu/e_acos.S: New file.
5216         * sysdeps/ia64/fpu/e_acosf.S: New file.
5217         * sysdeps/ia64/fpu/e_acosl.S: New file.
5218         * sysdeps/ia64/fpu/e_asin.S: New file.
5219         * sysdeps/ia64/fpu/e_asinf.S: New file.
5220         * sysdeps/ia64/fpu/e_asinl.S: New file.
5221         * sysdeps/ia64/fpu/e_atan2.S: New file.
5222         * sysdeps/ia64/fpu/e_atan2f.S: New file.
5223         * sysdeps/ia64/fpu/e_atan2l.c: New file.
5224         * sysdeps/ia64/fpu/e_cosh.S: New file.
5225         * sysdeps/ia64/fpu/e_coshf.S: New file.
5226         * sysdeps/ia64/fpu/e_coshl.S: New file.
5227         * sysdeps/ia64/fpu/e_exp.S: New file.
5228         * sysdeps/ia64/fpu/e_expf.S: New file.
5229         * sysdeps/ia64/fpu/e_expl.c: New file.
5230         * sysdeps/ia64/fpu/e_fmod.S: New file.
5231         * sysdeps/ia64/fpu/e_fmodf.S: New file.
5232         * sysdeps/ia64/fpu/e_fmodl.S: New file.
5233         * sysdeps/ia64/fpu/e_hypot.S: New file.
5234         * sysdeps/ia64/fpu/e_hypotf.S: New file.
5235         * sysdeps/ia64/fpu/e_hypotl.S: New file.
5236         * sysdeps/ia64/fpu/e_log.S: New file.
5237         * sysdeps/ia64/fpu/e_log10.c: New file.
5238         * sysdeps/ia64/fpu/e_log10f.c: New file.
5239         * sysdeps/ia64/fpu/e_log10l.c: New file.
5240         * sysdeps/ia64/fpu/e_logf.S: New file.
5241         * sysdeps/ia64/fpu/e_logl.c: New file.
5242         * sysdeps/ia64/fpu/e_pow.S: New file.
5243         * sysdeps/ia64/fpu/e_powf.S: New file.
5244         * sysdeps/ia64/fpu/e_powl.S: New file.
5245         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
5246         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
5247         * sysdeps/ia64/fpu/e_remainder.S: New file.
5248         * sysdeps/ia64/fpu/e_remainderf.S: New file.
5249         * sysdeps/ia64/fpu/e_remainderl.S: New file.
5250         * sysdeps/ia64/fpu/e_scalb.S: New file.
5251         * sysdeps/ia64/fpu/e_scalbf.S: New file.
5252         * sysdeps/ia64/fpu/e_scalbl.S: New file.
5253         * sysdeps/ia64/fpu/e_sinh.S: New file.
5254         * sysdeps/ia64/fpu/e_sinhf.S: New file.
5255         * sysdeps/ia64/fpu/e_sinhl.S: New file.
5256         * sysdeps/ia64/fpu/e_sqrt.S: New file.
5257         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
5258         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
5259         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
5260         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
5261         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
5262         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
5263         * sysdeps/ia64/fpu/libm_error.c: New file.
5264         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
5265         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
5266         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
5267         * sysdeps/ia64/fpu/libm_reduce.S: New file.
5268         * sysdeps/ia64/fpu/libm_support.h: New file.
5269         * sysdeps/ia64/fpu/libm_tan.S: New file.
5270         * sysdeps/ia64/fpu/s_atan.S: New file.
5271         * sysdeps/ia64/fpu/s_atanf.S: New file.
5272         * sysdeps/ia64/fpu/s_atanl.S: New file.
5273         * sysdeps/ia64/fpu/s_cbrt.S: New file.
5274         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
5275         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
5276         * sysdeps/ia64/fpu/s_ceil.S: New file.
5277         * sysdeps/ia64/fpu/s_ceilf.S: New file.
5278         * sysdeps/ia64/fpu/s_ceill.S: New file.
5279         * sysdeps/ia64/fpu/s_cos.S: New file.
5280         * sysdeps/ia64/fpu/s_cosf.S: New file.
5281         * sysdeps/ia64/fpu/s_cosl.S: New file.
5282         * sysdeps/ia64/fpu/s_expm1.S: New file.
5283         * sysdeps/ia64/fpu/s_expm1f.S: New file.
5284         * sysdeps/ia64/fpu/s_expm1l.S: New file.
5285         * sysdeps/ia64/fpu/s_floor.S: New file.
5286         * sysdeps/ia64/fpu/s_floorf.S: New file.
5287         * sysdeps/ia64/fpu/s_floorl.S: New file.
5288         * sysdeps/ia64/fpu/s_frexp.c: New file.
5289         * sysdeps/ia64/fpu/s_frexpf.c: New file.
5290         * sysdeps/ia64/fpu/s_frexpl.c: New file.
5291         * sysdeps/ia64/fpu/s_ilogb.S: New file.
5292         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
5293         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
5294         * sysdeps/ia64/fpu/s_ldexp.S: New file.
5295         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
5296         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
5297         * sysdeps/ia64/fpu/s_log1p.S: New file.
5298         * sysdeps/ia64/fpu/s_log1pf.S: New file.
5299         * sysdeps/ia64/fpu/s_log1pl.S: New file.
5300         * sysdeps/ia64/fpu/s_logb.S: New file.
5301         * sysdeps/ia64/fpu/s_logbf.S: New file.
5302         * sysdeps/ia64/fpu/s_logbl.S: New file.
5303         * sysdeps/ia64/fpu/s_matherrf.c: New file.
5304         * sysdeps/ia64/fpu/s_matherrl.c: New file.
5305         * sysdeps/ia64/fpu/s_modf.S: New file.
5306         * sysdeps/ia64/fpu/s_modff.S: New file.
5307         * sysdeps/ia64/fpu/s_modfl.S: New file.
5308         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
5309         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
5310         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
5311         * sysdeps/ia64/fpu/s_rint.S: New file.
5312         * sysdeps/ia64/fpu/s_rintf.S: New file.
5313         * sysdeps/ia64/fpu/s_rintl.S: New file.
5314         * sysdeps/ia64/fpu/s_round.S: New file.
5315         * sysdeps/ia64/fpu/s_roundf.S: New file.
5316         * sysdeps/ia64/fpu/s_roundl.S: New file.
5317         * sysdeps/ia64/fpu/s_scalbn.S: New file.
5318         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
5319         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
5320         * sysdeps/ia64/fpu/s_significand.S: New file.
5321         * sysdeps/ia64/fpu/s_significandf.S: New file.
5322         * sysdeps/ia64/fpu/s_significandl.S: New file.
5323         * sysdeps/ia64/fpu/s_sin.c: New file.
5324         * sysdeps/ia64/fpu/s_sincos.c: New file.
5325         * sysdeps/ia64/fpu/s_sincosf.c: New file.
5326         * sysdeps/ia64/fpu/s_sincosl.c: New file.
5327         * sysdeps/ia64/fpu/s_sinf.c: New file.
5328         * sysdeps/ia64/fpu/s_sinl.c: New file.
5329         * sysdeps/ia64/fpu/s_tan.S: New file.
5330         * sysdeps/ia64/fpu/s_tanf.S: New file.
5331         * sysdeps/ia64/fpu/s_tanl.S: New file.
5332         * sysdeps/ia64/fpu/s_trunc.S: New file.
5333         * sysdeps/ia64/fpu/s_truncf.S: New file.
5334         * sysdeps/ia64/fpu/s_truncl.S: New file.
5335         * sysdeps/ia64/fpu/w_acos.c: New file.
5336         * sysdeps/ia64/fpu/w_acosf.c: New file.
5337         * sysdeps/ia64/fpu/w_acosl.c: New file.
5338         * sysdeps/ia64/fpu/w_asin.c: New file.
5339         * sysdeps/ia64/fpu/w_asinf.c: New file.
5340         * sysdeps/ia64/fpu/w_asinl.c: New file.
5341         * sysdeps/ia64/fpu/w_atan2.c: New file.
5342         * sysdeps/ia64/fpu/w_atan2f.c: New file.
5343         * sysdeps/ia64/fpu/w_atan2l.c: New file.
5344         * sysdeps/ia64/fpu/w_cosh.c: New file.
5345         * sysdeps/ia64/fpu/w_coshf.c: New file.
5346         * sysdeps/ia64/fpu/w_coshl.c: New file.
5347         * sysdeps/ia64/fpu/w_exp.c: New file.
5348         * sysdeps/ia64/fpu/w_expf.c: New file.
5349         * sysdeps/ia64/fpu/w_fmod.c: New file.
5350         * sysdeps/ia64/fpu/w_fmodf.c: New file.
5351         * sysdeps/ia64/fpu/w_fmodl.c: New file.
5352         * sysdeps/ia64/fpu/w_hypot.c: New file.
5353         * sysdeps/ia64/fpu/w_hypotf.c: New file.
5354         * sysdeps/ia64/fpu/w_hypotl.c: New file.
5355         * sysdeps/ia64/fpu/w_log.c: New file.
5356         * sysdeps/ia64/fpu/w_log10.c: New file.
5357         * sysdeps/ia64/fpu/w_log10f.c: New file.
5358         * sysdeps/ia64/fpu/w_log10l.c: New file.
5359         * sysdeps/ia64/fpu/w_logf.c: New file.
5360         * sysdeps/ia64/fpu/w_logl.c: New file.
5361         * sysdeps/ia64/fpu/w_pow.c: New file.
5362         * sysdeps/ia64/fpu/w_powf.c: New file.
5363         * sysdeps/ia64/fpu/w_powl.c: New file.
5364         * sysdeps/ia64/fpu/w_remainder.c: New file.
5365         * sysdeps/ia64/fpu/w_remainderf.c: New file.
5366         * sysdeps/ia64/fpu/w_remainderl.c: New file.
5367         * sysdeps/ia64/fpu/w_scalb.c: New file.
5368         * sysdeps/ia64/fpu/w_scalbf.c: New file.
5369         * sysdeps/ia64/fpu/w_scalbl.c: New file.
5370         * sysdeps/ia64/fpu/w_sqrt.c: New file.
5371         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
5372         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
5373         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
5374         implementation.
5375         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
5376         Change FP_ILOGBNAN for new implementation.
5377         * Verions.def: Add 2.2.3 versions.
5379 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
5381         * math/libm-test.inc (scalb_test): Require invalid exception being
5382         raised for invalid parameters.
5383         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
5384         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5385         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5387 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
5389         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
5390         value to long int.
5391         (__get_avphys_pages): Likewise.
5393 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
5395         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
5396         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
5397         * sysdeps/i386/fpu/e_powf.S: Likewise.
5398         * sysdeps/i386/fpu/e_powl.S: Likewise.
5400         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
5402 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
5404         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
5406         * sysdeps/generic/s_exp2l.c: Renamed to...
5407         * sysdeps/generic/e_exp2l.c: ...this.   New file.
5408         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
5409         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
5410         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
5411         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
5412         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
5413         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
5414         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
5415         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
5416         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
5417         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
5418         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
5419         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
5420         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
5421         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
5422         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
5423         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
5425 2001-02-17  Andreas Jaeger  <aj@suse.de>
5427         * configure.in: Allow gcc 3.
5429 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
5431         * math/w_acos.c: Move to ...
5432         * sysdeps/generic/w_acos.c: ...here.  New file.
5433         * math/w_acosf.c: Move to ...
5434         * sysdeps/generic/w_acosf.c: ...here.  New file.
5435         * math/w_acosh.c: Move to ...
5436         * sysdeps/generic/w_acosh.c: ...here.  New file.
5437         * math/w_acoshf.c: Move to ...
5438         * sysdeps/generic/w_acoshf.c: ...here.  New file.
5439         * math/w_acoshl.c: Move to ...
5440         * sysdeps/generic/w_acoshl.c: ...here.  New file.
5441         * math/w_acosl.c: Move to ...
5442         * sysdeps/generic/w_acosl.c: ...here.  New file.
5443         * math/w_asin.c: Move to ...
5444         * sysdeps/generic/w_asin.c: ...here.  New file.
5445         * math/w_asinf.c: Move to ...
5446         * sysdeps/generic/w_asinf.c: ...here.  New file.
5447         * math/w_asinl.c: Move to ...
5448         * sysdeps/generic/w_asinl.c: ...here.  New file.
5449         * math/w_atan2.c: Move to ...
5450         * sysdeps/generic/w_atan2.c: ...here.  New file.
5451         * math/w_atan2f.c: Move to ...
5452         * sysdeps/generic/w_atan2f.c: ...here.  New file.
5453         * math/w_atan2l.c: Move to ...
5454         * sysdeps/generic/w_atan2l.c: ...here.  New file.
5455         * math/w_atanh.c: Move to ...
5456         * sysdeps/generic/w_atanh.c: ...here.  New file.
5457         * math/w_atanhf.c: Move to ...
5458         * sysdeps/generic/w_atanhf.c: ...here.  New file.
5459         * math/w_atanhl.c: Move to ...
5460         * sysdeps/generic/w_atanhl.c: ...here.  New file.
5461         * math/w_cosh.c: Move to ...
5462         * sysdeps/generic/w_cosh.c: ...here.  New file.
5463         * math/w_coshf.c: Move to ...
5464         * sysdeps/generic/w_coshf.c: ...here.  New file.
5465         * math/w_coshl.c: Move to ...
5466         * sysdeps/generic/w_coshl.c: ...here.  New file.
5467         * math/w_drem.c: Move to ...
5468         * sysdeps/generic/w_drem.c: ...here.  New file.
5469         * math/w_dremf.c: Move to ...
5470         * sysdeps/generic/w_dremf.c: ...here.  New file.
5471         * math/w_dreml.c: Move to ...
5472         * sysdeps/generic/w_dreml.c: ...here.  New file.
5473         * math/w_exp10.c: Move to ...
5474         * sysdeps/generic/w_exp10.c: ...here.  New file.
5475         * math/w_exp10f.c: Move to ...
5476         * sysdeps/generic/w_exp10f.c: ...here.  New file.
5477         * math/w_exp10l.c: Move to ...
5478         * sysdeps/generic/w_exp10l.c: ...here.  New file.
5479         * math/w_exp2.c: Move to ...
5480         * sysdeps/generic/w_exp2.c: ...here.  New file.
5481         * math/w_exp2f.c: Move to ...
5482         * sysdeps/generic/w_exp2f.c: ...here.  New file.
5483         * math/w_exp2l.c: Move to ...
5484         * sysdeps/generic/w_exp2l.c: ...here.  New file.
5485         * math/w_fmod.c: Move to ...
5486         * sysdeps/generic/w_fmod.c: ...here.  New file.
5487         * math/w_fmodf.c: Move to ...
5488         * sysdeps/generic/w_fmodf.c: ...here.  New file.
5489         * math/w_fmodl.c: Move to ...
5490         * sysdeps/generic/w_fmodl.c: ...here.  New file.
5491         * math/w_hypot.c: Move to ...
5492         * sysdeps/generic/w_hypot.c: ...here.  New file.
5493         * math/w_hypotf.c: Move to ...
5494         * sysdeps/generic/w_hypotf.c: ...here.  New file.
5495         * math/w_hypotl.c: Move to ...
5496         * sysdeps/generic/w_hypotl.c: ...here.  New file.
5497         * math/w_j0.c: Move to ...
5498         * sysdeps/generic/w_j0.c: ...here.  New file.
5499         * math/w_j0f.c: Move to ...
5500         * sysdeps/generic/w_j0f.c: ...here.  New file.
5501         * math/w_j0l.c: Move to ...
5502         * sysdeps/generic/w_j0l.c: ...here.  New file.
5503         * math/w_j1.c: Move to ...
5504         * sysdeps/generic/w_j1.c: ...here.  New file.
5505         * math/w_j1f.c: Move to ...
5506         * sysdeps/generic/w_j1f.c: ...here.  New file.
5507         * math/w_j1l.c: Move to ...
5508         * sysdeps/generic/w_j1l.c: ...here.  New file.
5509         * math/w_jn.c: Move to ...
5510         * sysdeps/generic/w_jn.c: ...here.  New file.
5511         * math/w_jnf.c: Move to ...
5512         * sysdeps/generic/w_jnf.c: ...here.  New file.
5513         * math/w_jnl.c: Move to ...
5514         * sysdeps/generic/w_jnl.c: ...here.  New file.
5515         * math/w_lgamma.c: Move to ...
5516         * sysdeps/generic/w_lgamma.c: ...here.  New file.
5517         * math/w_lgammaf.c: Move to ...
5518         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
5519         * math/w_lgammaf_r.c: Move to ...
5520         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
5521         * math/w_lgammal.c: Move to ...
5522         * sysdeps/generic/w_lgammal.c: ...here.  New file.
5523         * math/w_lgammal_r.c: Move to ...
5524         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
5525         * math/w_lgamma_r.c: Move to ...
5526         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
5527         * math/w_log10.c: Move to ...
5528         * sysdeps/generic/w_log10.c: ...here.  New file.
5529         * math/w_log10f.c: Move to ...
5530         * sysdeps/generic/w_log10f.c: ...here.  New file.
5531         * math/w_log10l.c: Move to ...
5532         * sysdeps/generic/w_log10l.c: ...here.  New file.
5533         * math/w_log.c: Move to ...
5534         * sysdeps/generic/w_log.c: ...here.  New file.
5535         * math/w_logf.c: Move to ...
5536         * sysdeps/generic/w_logf.c: ...here.  New file.
5537         * math/w_logl.c: Move to ...
5538         * sysdeps/generic/w_logl.c: ...here.  New file.
5539         * math/w_pow.c: Move to ...
5540         * sysdeps/generic/w_pow.c: ...here.  New file.
5541         * math/w_powf.c: Move to ...
5542         * sysdeps/generic/w_powf.c: ...here.  New file.
5543         * math/w_powl.c: Move to ...
5544         * sysdeps/generic/w_powl.c: ...here.  New file.
5545         * math/w_remainder.c: Move to ...
5546         * sysdeps/generic/w_remainder.c: ...here.  New file.
5547         * math/w_remainderf.c: Move to ...
5548         * sysdeps/generic/w_remainderf.c: ...here.  New file.
5549         * math/w_remainderl.c: Move to ...
5550         * sysdeps/generic/w_remainderl.c: ...here.  New file.
5551         * math/w_scalb.c: Move to ...
5552         * sysdeps/generic/w_scalb.c: ...here.  New file.
5553         * math/w_scalbf.c: Move to ...
5554         * sysdeps/generic/w_scalbf.c: ...here.  New file.
5555         * math/w_scalbl.c: Move to ...
5556         * sysdeps/generic/w_scalbl.c: ...here.  New file.
5557         * math/w_sinh.c: Move to ...
5558         * sysdeps/generic/w_sinh.c: ...here.  New file.
5559         * math/w_sinhf.c: Move to ...
5560         * sysdeps/generic/w_sinhf.c: ...here.  New file.
5561         * math/w_sinhl.c: Move to ...
5562         * sysdeps/generic/w_sinhl.c: ...here.  New file.
5563         * math/w_sqrtl.c: Move to ...
5564         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
5565         * math/w_tgamma.c: Move to ...
5566         * sysdeps/generic/w_tgamma.c: ...here.  New file.
5567         * math/w_tgammaf.c: Move to ...
5568         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
5569         * math/w_tgammal.c: Move to ...
5570         * sysdeps/generic/w_tgammal.c: ...here.  New file.
5572         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
5573         formats for postal_fmt.
5575 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
5577         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
5578         __ftruncate64 alias.
5579         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
5580         Likewise.
5582 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
5584         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
5585         do "loadrs".  Writing to bspstore already takes care of
5586         invalidating the "clean" partition.
5588 2001-02-16  Andreas Schwab  <schwab@suse.de>
5590         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
5591         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
5593 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
5595         * posix/regex.c (init_syntax_once): Add prototype.
5596         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
5597         (re_search_2): Avoid warning.
5598         (count_mbs_length): Add prototype.
5599         * posix/tst-regex3.c: New file.
5600         * posix/Makefile (tests): Add bug-regex3.
5602 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
5604         * stdio-common/Makefile (tests): Add tst-gets.
5605         * stdio-common/tst-gets.c: New file.
5606         * stdio-common/tst-gets.input: New file.
5608         * elf/elf.h (DT_CHECKSUM): Define.
5610         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
5611         default symbol.
5612         * sysdeps/generic/strtoull.c: Likewise.
5614 2001-02-14  Wolfram Gloger  <wg@malloc.de>
5616         * malloc/malloc.c (new_heap): When allocating large chunk aligned
5617         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
5618         between the heaps.
5620 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
5622         * math/libm-test.inc (j0_test): Check whether sincos is available.
5623         (j1_test): Likewise.
5624         (jn_test): Likewise.
5625         (y0_test): Likewise.
5626         (y1_test): Likewise.
5627         (yn_test): Likewise.
5629         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
5630         fake filesystem routines to handle this.
5632         * time/sys/time.h: Make settimeofday and adjtime available if
5633         _BSD_SOURCE.
5635         * time/sys/time.h: Make timer* macros available for BSD.
5637         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
5638         Patch by Yong Li <rigel863@yahoo.com>.
5640         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
5641         name.
5643         * posix/Makefile (tests): Add tst-gnuglob.
5644         * posix/tst-gnuglob.c: New file.
5646 2001-02-13  H.J. Lu  <hjl@gnu.org>
5648         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
5650 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
5652         * locale/programs/ld-paper.c (paper_output): Pretty printing.
5654         * iconvdata/Makefile (modules): Add GBBIG5.
5655         (distribute): Add gbbig5.c.
5656         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
5658         * iconvdata/gbbig5.c: New file.
5659         Contributed by Yong Li <rigel863@yahoo.com>.
5661 2001-02-13  Philip Blundell  <pb@futuretv.com>
5663         * manual/crypt.texi: Remove outdated references to crypt add-on.
5665         * manual/creature.texi: Improve wording slightly.
5667 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
5669         * io/ftw.c: Always use readdir64.
5670         * io/ftw64.c: Likewise.
5671         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5672         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5673         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
5674         callback to dirent.  Still allow compiling outside glibc.
5675         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
5676         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5678         * malloc/mtrace.c: Use fopen64.
5679         * posix/spawni.c: Use __open64.
5680         * sysdeps/unix/opendir.c: Likewise.
5681         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
5683         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
5684         name a weak alias.
5685         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
5686         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
5687         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5688         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
5690         * resolv/res_data.c: Add cast to avoid warning.
5692         * include/unistd.h: Declare __ftruncate64.
5694         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
5696         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
5697         instead of __lseek.
5699 2001-02-13  Andreas Jaeger  <aj@suse.de>
5701         * login/getutent_r.c: Include <stdlib.h> for NULL.
5702         * login/getutid_r.c: Likewise.
5704 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5706         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
5707         * sysdeps/dbl-64/e_j1.c: Likewise.
5708         * sysdeps/dbl-64/e_jn.c: Likewise.
5709         * sysdeps/flt-32/e_j0f.c: Likewise.
5710         * sysdeps/flt-32/e_j1f.c: Likewise.
5711         * sysdeps/ldbl-96/e_j0l.c: Likewise.
5713 2000-12-02  H.J. Lu  <hjl@gnu.org>
5715         * resolv/res_libc.c (res_init): Don't make it default.
5717 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5719         * manual/debug.texi: Improved the wording.
5720         Patch by Philip Blundell <pb@futuretv.com>.
5722 2001-02-12  Andreas Jaeger  <aj@suse.de>
5724         * posix/Makefile (tests): Don't run bug-regex2 when
5725         cross-compiling.
5727         * libio/Makefile (tests): Don't run test-freopen when
5728         cross-compiling.
5730         * manual/stdio.texi (Streams and I18N): Fix typos.
5732 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5734         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
5736         * math/libm-test.inc (j0_test): Make expected results long double
5737         constants.
5738         (y0_test): Likewise.
5740         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
5741         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5743 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
5745         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
5746         which was exported from libc.
5747         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
5749 2001-02-12  Andreas Jaeger  <aj@suse.de>
5751         * manual/arith.texi (Parsing of Integers): Fix some wordings.
5753 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
5755         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
5756         and get_avphys_page to long int.
5757         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
5758         * include/sys/sysinfo.h: Likewise.
5759         * sysdeps/generic/sys/sysinfo.h: Likewise.
5760         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
5762         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
5763         cannot return as many values as the user asked for.
5765 2001-02-11  Andreas Jaeger  <aj@suse.de>
5767         * manual/resource.texi (Memory Resources): Fix typo.
5769         * libio/Makefile ($(objpfx)test-freopen.out): Pass
5770         run-program-prefix.
5772         * libio/test-freopen.sh: Use run_program_prefix.
5774 2001-02-10  Andreas Jaeger  <aj@suse.de>
5776         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
5777         cross-compiling.
5778         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
5780         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
5781         only builds.
5783         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
5785         * posix/Makefile: Fix typo, it's build-static-nss.
5787         * iconv/Makefile (extra-objs): New.
5789 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5791         * sysdeps/unix/stime.c: Include <time.h>.
5793         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
5795 2001-02-10  Andreas Jaeger  <aj@suse.de>
5797         * manual/string.texi (Search Functions): Fix typo.
5799 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5801         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
5802         (timeval_to_clock_t): Add clk_tck argument and use that instead of
5803         CLK_TCK.
5804         (__times): Use __getclktck to get the number of clock ticks per
5805         second and use its return value instead of CLK_TCK.
5807 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5809         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
5811 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5813         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
5815 2001-02-10  Andreas Jaeger  <aj@suse.de>
5817         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
5818         warning.
5820 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5822         * posix/Makefile: Add rules to build and run bug-regex2.
5823         * posix/bug-regex2.c: New file.
5825 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
5827         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
5828         (regex_compile): Likewise.
5829         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
5830         (re_match_2_internal): Use just is_binary instead of two variables.
5831         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
5833 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5835         * version.h (VERSION): Bump to 2.2.2.
5837         * iconv/Makefile (distribute): Add iconv_charmap.c and
5838         dummy-repertoire.c.
5839         * elf/Makefile (distribute): Add firstobj.c.
5840         * Makefile (distribute): Add include/pthread.h.
5842         * configure.in: Require makeinfo version 4.
5844         * libio/tst_wscanf.c (main): Add cast to avoid warning.
5845         * libio/tst_swscanf.c (main): Likewise..
5847 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
5849         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
5850         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
5851         __NO_MATH_INLINES.
5852         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
5853         if not RTLD_BOOTSTRAP.
5854         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5855         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5857 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5859         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
5860         lr_ungetc to push back last read character.
5861         * locale/programs/linereader.h (lr_ungetc): Don't push back is
5862         character is EOF.
5863         (lr_ignore_rest): Don't warn about garbage if it is really the end
5864         of the file.
5866         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
5867         definition.
5869 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
5871         * Makerules (build-shlib): Work around different order of
5872         processing of -B option in different gcc versions.
5874         * posix/regex.c: Fix alignment problem.
5875         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5877         * sysdeps/alpha/strrchr.S: Little optimization.
5878         Patch by Richard Henderson <rth@redhat.com>.
5880         * sysdeps/alpha/alphaev67/strrchr.S: New file.
5881         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
5883 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
5885         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
5886         in the assembler end directive.
5888 2001-02-08  Andreas Jaeger  <aj@suse.de>
5890         * manual/stdio.texi (Closing Streams): Fix typos.
5892 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
5894         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
5895         Patch by Richard Henderson <rth@redhat.com>.
5896         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
5898         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
5899         pointer in FILE structure before calling _IO_init.
5900         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
5901         strfmon_l if necessary.
5902         Reported by Jury Gerold <gjury@grips.com>.
5904         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
5905         Patch by Pekka.Pietikainen@cern.ch.
5907         * posix/regex.c: Correct several problems with 64-bit architectures
5908         introduced in the MBS changes.
5909         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5911 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
5913         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
5914         not defined.
5915         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
5917 2001-02-07  Andreas Jaeger  <aj@suse.de>
5919         * manual/install.texi (Tools for Compilation): Fix typo.
5920         Reported by Pavel Machek <pavel@bug.ucw.cz>.
5922 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
5924         * stdlib/strtod.c: Never stop prematurely reading digits before the
5925         decimal point is found.  Compute exponent limit for negative exponents
5926         correctly.  For numbers ending in all zeros eat the zeros even before
5927         the decimal point if the exponent is negative [PR libc/2072].
5928         * stdlib/Makefile (tests): Add bug-strtod.
5929         * stdlib/bug-strtod.c: New file.
5931 2001-02-07  Andreas Jaeger  <aj@suse.de>
5933         * posix/bug-regex1.c: Include <wchar.h> for fwide.
5935 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5937         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
5938         Store index.
5939         (compile_range): Handle index being passed, not pointer.
5940         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5942         * posix/regex.c: Fix a cast in the code for bracket handling which
5943         caused 8-bit uncleanliness.
5944         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
5946         * posix/Makefile (tests): Add bug-regex1.
5947         * posix/bug-regex1.c: New file.
5948         Contributed by Jim Meyering <jim@meyering.net>.
5950         * posix/regex.c: Many cleanups for incorrect format strings.
5952 2001-02-06  Andreas Jaeger  <aj@suse.de>
5954         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
5956 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5958         * locale/programs/locale.c (write_locales): Use scandir to read
5959         directory so that the entries are sorted.
5961 2001-02-06  Andreas Jaeger  <aj@suse.de>
5963         * include/pthread.h: New file.
5965         * wctype/wctype.h: Move internal interfaces from here to...
5966         * include/wctype.h: ...here.
5968         * wcsmbs/wchar.h: Move __wcslen from here to...
5969         * include/wchar.h: ...here.
5971         * posix/sys/wait.h: Move __wait from here to...
5972         * include/sys/wait.h: ...here.
5974         * string/string.h: Move __ffs and __strerror_r from here to...
5975         * include/string.h: ...here.
5977         * stdlib/stdlib.h: Move __on_exit from here to...
5978         * include/stdlib.h: ...here.
5980         * libio/stdio.h: Move __vsnprintf from here to...
5981         * include/stdio.h: ...here.
5983 2001-02-06  Andreas Schwab  <schwab@suse.de>
5985         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
5986         headers.
5988         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
5989         of $(inst_datadir).
5991 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5993         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
5995 2001-02-06  Andreas Jaeger  <aj@suse.de>
5997         * elf/firstobj.c: Add prototype.
5999         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
6000         (truncate_wchar): Likewise.
6002 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
6004         * locale/programs/locale.c: Implement --verbose option for -a
6005         which prints detailed information about the locales.
6007 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
6009         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
6010         variable to uint32_t.
6011         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
6013 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
6015         * locale/C-translit.h.in: Add transliterations for CJK units of
6016         measurement.
6018 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
6020         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
6021         string.  Include <inttypes.h> instead of <stdint.h>.
6023         * localedata/Makefile (tests): Add bug-iconv-trans.
6024         Define bug-iconv-trans-ENV.
6025         * localedata/bug-iconv-trans.c: New file.
6027 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
6029         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
6030         pointer, to avoid accumulating output from incomplete (unsuccessful)
6031         transliteration attempts.
6033 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
6035         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
6036         string.  Include <inttypes.h> instead of <stdint.h>.
6038         * configure.in: Add check for bison.
6039         * config.make.in: Define BISON variable.
6040         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
6041         Rename YFLAGS to BISONFLAGS.
6043 2001-02-05  Andreas Jaeger  <aj@suse.de>
6045         * io/test-lfs.c (do_test): Test lseek64 return value, call
6046         test_ftello.
6047         (test_ftello): New function to test ftello64 and fseeko64.
6049         * signal/signal.h: Move __sigaction from here to...
6050         * include/signal.h: ...here.
6052         * io/fcntl.h: Move __fcntl and __open to...
6053         * include/fcntl.h: ...here.
6055 2001-02-04  Philip Blundell  <philb@gnu.org>
6057         * configure.in: Distinguish ARM from Thumb.
6059 2001-02-04  Philip Blundell  <philb@gnu.org>
6061         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
6062         PC24 relocs with negative value.
6064 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
6066         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
6067         files in locale/programs.  Add CFLAGS definition to allow compiling
6068         localedef files.
6069         * iconv/dummy-repertoire.c: New file.
6070         * iconv/iconv_charmap.c: New file.
6071         * iconv/iconv_prog.h: New file.
6072         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
6073         (main): If parameter for -f and -t contain slashes try first to resolve
6074         the strings as filenames of charmap files.  Use them for conversion
6075         in this case.
6076         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
6077         iconv getting charmap names as parameters.
6078         * locale/programs/linereader.c (lr_token): Take extra parameters
6079         verbose and pass it to get_string.
6080         (get_string): Take extra parameters verbose.
6081         * locale/programs/charmap.c (parse_charmap): Take extra parameters
6082         verbose and be_quiet.  Change all callers of lr_token and
6083         parse_charmap.
6084         * locale/programs/charmap.h: Likewise.
6085         * locale/programs/ld-address.c: Likewise.
6086         * locale/programs/ld-collate.c: Likewise.
6087         * locale/programs/ld-ctype.c: Likewise.
6088         * locale/programs/ld-identification.c: Likewise.
6089         * locale/programs/ld-measurement.c: Likewise.
6090         * locale/programs/ld-messages.c: Likewise.
6091         * locale/programs/ld-monetary.c: Likewise.
6092         * locale/programs/ld-name.c: Likewise.
6093         * locale/programs/ld-numeric.c: Likewise.
6094         * locale/programs/ld-paper.c: Likewise.
6095         * locale/programs/ld-telephone.c: Likewise.
6096         * locale/programs/ld-time.c: Likewise.
6097         * locale/programs/linereader.c: Likewise.
6098         * locale/programs/linereader.h: Likewise.
6099         * locale/programs/localedef.c: Likewise.
6100         * locale/programs/locfile.c: Likewise.
6101         * locale/programs/locfile.h: Likewise.
6102         * locale/programs/repertoire.c: Likewise.
6104 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
6106         * iconv/iconv_prog.c (main): If output file name is "-" write to
6107         stdout.
6108         (main): If -f or -t argument is missing use charset of the current
6109         locale.
6111 2001-02-03  Andreas Jaeger  <aj@suse.de>
6113         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
6114         boundary for SSE/SSE-2 alignment.
6116         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
6117         annexc.
6119 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
6121         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
6122         Remove comma at end of enum.
6124         * elf/dl-init.c: Add a few __builtin_expect.
6126         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
6128 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
6130         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
6131         errno is ECONNREFUSED.
6133         * posix/Makefile: Define MBS_SUPPORT for regex.c.
6134         * posix/regex.c: Implement multibyte character handling.
6135         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
6137         * string/tst-svc.input: Add two more test cases.
6138         * string/tst-svc.expect: Modify to reflect new test cases.
6140 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
6142         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
6143         tp->name tests with tp->name[0] tests.
6145 2001-01-29  Ben Collins  <bcollins@debian.org>
6147         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
6148         Fix check for name == NULL.
6150 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
6152         * elf/Makefile: Add rules to build and run initfirst test.
6153         * elf/initfirst.c: New file.
6154         * elf/firstobj.c: New file.
6156         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
6157         * configure.in: Test for -z initfirst linker option.
6158         * config.make.in: Add have-z-initfirst.
6159         * elf/dl-init.c (_dl_init): Split out actual initialization code in
6160         new function call_init.  If _dl_initfirst is non-NULL initialize first.
6161         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
6162         remember object in _dl_initfirst.
6163         * elf/soinit.c: Remove special support for calling
6164         __pthread_initialize_minimal.
6166         * conform/conformtest.pl: Add missing $prepend in type test.
6168 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
6170         * elf/elf.h (SHT_CHECKSUM): New definition.
6172         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
6173         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6174         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
6176 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
6178         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
6179         to get definition of `struct timeval'.
6181 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
6183         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
6184         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
6186 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
6188         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
6189         seen, not flags.
6191         * nis/nis_findserv.c: Include <time.h>.
6193 2001-01-30  Yong Li  <yong.li@asu.edu>
6195         * iconv/iconv_prog.c (main): Correct error handling method name.
6197 2001-01-29  Ben Collins  <bcollins@debian.org>
6199         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
6200         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
6201         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
6202         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
6204 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
6206         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
6207         Patch by Marko Myllynen <myllynen@lut.fi>.
6209         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
6210         (int instead of char).
6211         (__strpbrk_c3): Likewise.
6212         Reported by GOTO Masanori <gotom@debian.or.jp>.
6214         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
6215         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
6216         * include/sys/socket.h: Add SA_LEN here for internal use.
6217         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
6219 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
6221         * malloc/Makefile: Don't build memusagestat if cross-compiling.
6223         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
6225         * math/libm-test.inc (rint_test): Add a few more tests for round
6226         to even rounding.
6228 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
6230         * conform/data/pthread.h-data: Correct return type of pthread_exit.
6232         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
6234         * conform/data/stdlib.h-data: Add _Exit.
6236         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
6237         if not already happened.
6238         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
6239         Don't include <limits.h> and <bits/sockaddr.h>.
6241         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
6243         * conform/data/spawn.h-data: Allow all of <sched.h>.
6245         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
6246         unused variable.
6248         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
6249         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
6251         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
6253         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
6254         * libio/stdio.h: Define va_list correctly.
6256         * conform/data/pthread.h-data: Make priority protocol related
6257         functions optional.  Fix typos.
6259         * posix/sched.h: Define sched_priority as __sched_priority.
6260         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
6261         to __sched_priority.
6262         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6264 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
6266         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
6267         of <sys/time.h>.
6269         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
6270         * sysdeps/unix/time.c: Likewise.
6272         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
6273         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
6274         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
6275         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
6276         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6277         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
6278         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
6279         * time/time.h: Likewise.
6281         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
6282         * conform/data/complex.h-data: New file.
6283         * conform/data/tgmath.h-data: New file.
6285         * conform/data/wchar.h-data: Add missing functions.
6287         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
6289         * conform/data/termios.h-data: Add missing const in tcsetattr()
6290         prototype.
6292         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
6293         Don't define pid_t here.
6295         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
6297         * conform/data/sys/time.h-data: Allow sys/select.h.
6298         * conform/data/sys/un.h-data: Fix typo.
6299         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
6300         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
6301         <sys/time.h>.
6302         * sysdeps/unix/clock_nanosleep.c: Likewise.
6303         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
6304         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
6305         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
6306         * sysdeps/unix/clock_settime.c: Likewise.
6308         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
6309         * login/getutent.c: Likewise.
6310         * login/getutid.c: Likewise.
6311         * login/getutline.c: Likewise.
6313         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
6315         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
6316         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
6317         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
6318         f_fsid field after change in struct statvfs.
6319         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
6320         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
6321         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
6323         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
6324         optional-macro.
6326         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
6327         recvfrom, send, and socketpair prototypes.  Add allow lines.
6328         * socket/sys/socket.h: Include <sys/uio.h>.
6329         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
6330         Fix type of second parameter of listen.
6331         Don't declare isfdtype unless __USE_MISC.
6332         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
6333         * sysdeps/mach/hurd/listen.c: Likewise.
6334         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
6335         ss_family and __ss_family.
6336         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
6337         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6338         (struct msghdr): Change type of msg_iovlen to int and type of
6339         msg_controllen to socklen_t.
6340         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
6341         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
6342         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
6343         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
6344         (rresvport_af): Likewise.
6346         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
6347         * conform/conformtest.pl: Implement handling of symbol.
6349         * signal/signal.h: Fix handling of __need_* symbols.
6350         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
6351         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
6352         * include/sys/select.h: Use fd_set not __fd_set.
6353         * sysdeps/generic/bits/select.h: Likewise.
6354         * sysdeps/i386/bits/select.h: Likewise.
6355         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
6356         __FDELT, __FDMASK, and __fd_set here.
6357         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
6358         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
6359         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6360         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6361         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
6362         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6363         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6364         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6365         * time/sys/time.h: Define struct timeval before including <time.h>
6366         and <sys/select.h>.
6368         * conform/data/sys/time.h-data: fd_set is a typedef.
6369         * conform/data/sys/select.h-data: New file.
6370         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
6371         * conform/conformtest.pl (@headers): Add sys/select.h.
6372         (type, optional-type): Unless testing a typedef instantiate object.
6373         Implement optional-function.
6375         * math/test-misc.c: Include <float.h>.
6377 2001-01-27  Andreas Jaeger  <aj@suse.de>
6379         * misc/efgcvt_r.c: Include <float.h>.
6381 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
6383         * conform/data/stdlib.h-data: Account for XPG6 changes.
6384         * stdlib/stdlib.h (__random): Change return value type to long.
6385         (posix_memalign): Cleanup parameter names.
6386         (setenv, unsetenv): Make available for __USE_XOPEN2K.
6387         Change return type of unsetenv to int.
6388         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
6389         * include/stdlib.h: Change return type of unsetenv to int.
6390         Change return type of random to long int.
6391         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
6392         Return -1 and set errno if parameter is invalid.
6393         * stdlib/random.c (__random): Change return value type to long.
6395         * conform/data/stdio.h-data: Account for changes in XPG6.
6397         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
6398         prototype.
6400         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
6401         * conform/data/signal.h-data: Fix sigev_notify_function entry.
6402         Fix typo (SIGVALRM -> SIGVTALRM).
6403         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
6404         with real type.
6405         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
6406         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
6407         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
6408         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6409         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
6411         * conform/conformtest.pl: Implement optional-element.  Define
6412         $mustprepend{"sched.h"}.
6413         * conform/data/sched.h-data: Make sporadic scheduler definitions
6414         optional.
6416         * pwd/pwd.h: Don't define getpwent_r for XPG.
6418         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
6419         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
6420         * sysdeps/mach/hurd/poll.c: Likewise.
6421         * sysdeps/unix/bsd/poll.c: Likewise.
6422         * sysdeps/unix/sysv/linux/poll.c: Likewise.
6423         * sysdeps/unix/sysv/aix/poll.c: Likewise.
6424         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
6425         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
6426         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
6427         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
6428         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
6429         * conform/data/poll.h-data: Fix typo in poll prototype.
6431         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
6432         only if __USE_MISC.
6433         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
6435         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
6437         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
6439         * conform/conformtest.pl: Implement optional-type.
6441         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
6442         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
6443         defining uint32_t here.  Define IPPORT_RESERVED.
6444         (struct hostent): Type of h_length element is int.
6445         (getnameinfo): Type of flags parameter is unsigned int.
6446         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
6447         * conform/data/netdb.h-data: Add many missing definitions.
6449         * conform/conformtest.pl: Implement optional-macro.
6450         * conform/data/math.h-data: Update for XPG6.
6452         * math/math.h (HUGE): Define as FLT_MAX value but don't use
6453         FLT_MAX.  Don't include <float.h>.
6454         (MAXFLOAT): Likewise.
6456         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
6458         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
6460         * conform/data/limits.h-data: Mark constants as optional wherever
6461         appropriate.
6463         * posix/bits/posix2_lim.h: Set correct values for
6464         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
6465         EQUIV_CLASS_MAX.
6467         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
6468         Required by POSIX.
6470         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
6472         * conform/data/netinet/in.h-data: Add reserved prefixes.
6474         * conform/data/arpa/inet.h-data: Fix a few typos.
6476 2001-01-26  Andreas Jaeger  <aj@suse.de>
6478         * sysdeps/generic/strtol.c: Include <locale.h>
6479         * stdlib/strtod.c: Likewise
6480         * stdlib/strfmon.c: Likewise.
6481         * string/strcoll.c: Likewise.
6482         * string/strxfrm.c: Likewise.
6483         * wctype/wcfuncs_l.c: Likewise.
6484         * wctype/wctype_l.c: Likewise.
6485         * wctype/wctrans_l.c: Likewise.
6487         * include/bits/locale.h: New file.
6489 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
6491         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
6492         and NOSTR.
6494         * locale/Makefile (headers): Add bits/locale.h.
6495         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
6496         and use __LC_ constants instead of LC_.
6497         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
6498         using __LC_ constants.
6499         * locale/bits/locale.h: New file.
6500         * locale/loadlocale.c: Include <locale.h>.
6501         * locale/nl_langinfo.h: Likewise.
6503         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
6505         * io/sys/stat.h: Define S_IFSOCK for XPG6.
6507         * conform/data/fcntl.h-data: posix_madvise is not expected here.
6509         * conform/conformtest.pl: Fix handling of macro-str.
6511         * conform/data/inttypes.h-data: Add missing definition and all of
6512         stdint.h-data.
6514         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
6516 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
6518         * conform/conformtest.pl (@headers): Add stdint.h.
6519         * conform/data/stdint.h-data: New file.
6521         * conform/conformtest.pl: Recognize options --headers and
6522         --dialect.  Add dialect-specific CFLAGS.
6524         * conform/conformtest.pl: Implement handling of recursive
6525         allow-header.
6527         * conform/data/locale.h-data: Add new struct lconv members.
6529         * posix/wordexp.h: Correct definition of wordexp_t.
6530         * posix/wordexp.c: Moved to ...
6531         * sysdeps/generic/wordexp.c: ...here.  New file.
6532         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
6533         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
6534         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
6535         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
6536         wordexp.
6537         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
6538         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
6540         * math/tgmath.h: Pretty printing.
6542         * math/Makefile (tests): Add test-tgmath.
6543         (CFLAGS-test-tgmath.c): New variable.
6544         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
6546         * conform/conformtest.pl: Handle allow-header in secondary headers
6547         correctly.
6549         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
6550         #ifdef.
6552         * conform/data/netinet/in.h-data: Use correct comment character.
6553         * conform/data/sys/stat.h-data: Likewise.
6555 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
6557         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
6558         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
6559         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
6560         __builtin_classify_type, add ##f suffixes where appropriate.
6561         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
6562         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
6563         __builtin_classify_type.
6564         (fma): Fix spelling of first argument.
6566 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
6568         * conform/data/unistd.h-data: Mark functions removed in XPG6
6569         correctly.
6571         * posix/unistd.h: Don't make functions removed in XPG6 available if
6572         __USE_XOPEN2K.
6574         * conform/conformtest.pl: Implement optional-constant.
6575         * conform/data/unistd.h-data: Use optional-constant wherever
6576         appropriate.
6578         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
6579         constants and add _SC_STREAMS.
6580         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6582         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
6583         make old name weak alias.
6584         * sysdeps/generic/statvfs64.c: Likewise.
6585         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
6586         make old name weak alias.
6587         * sysdeps/generic/fstatvfs64.c: Likewise.
6588         * include/sys/statvfs.h: New file.
6590         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
6591         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
6592         _PC_REC_XFER_ALIGN.
6593         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
6594         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
6595         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
6596         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
6598         * conform/conformtest.pl: Run Unix tests for XPG6.
6599         Implement handling of known namespace violations.
6600         Improve printing of results.
6602         * posix/unistd.h (usleep): Correct return type.
6603         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
6604         * sysdeps/unix/bsd/usleep.c: Correct return type.
6605         * sysdeps/mach/usleep.c: Correct return type.
6606         * sysdeps/generic/usleep.c: Correct return type.
6608         * posix/unistd.h (sync): Correct return type.
6609         * sysdeps/generic/sync.c: Likewise.
6610         * sysdeps/mach/hurd/sync.c: Likewise.
6612         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
6614         * posix/unistd.h: Make seteuid and setegid available for XPG6.
6616         * wcsmbs/wchar.h: Get FILE definition for XPG5.
6618         * conform/data/ctype.h-data: Use correct comment form.
6619         * conform/data/errno.h-data: Likewise.
6620         * conform/data/math.h-data: Likewise.
6621         * conform/data/mqueue.h-data: Likewise.
6622         * conform/data/netdb.h-data: Likewise.
6623         * conform/data/pthread.h-data: Likewise.
6625 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
6627         * conform/data/wordexp.h-data: Fix typo.
6629         * conform/conformtest.pl: Handle allow-header correctly.
6631         * conform/data/time.h-data: Use correct comment form.
6633         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
6635         * configure.in: Comment out binutils version test.
6637         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
6638         separators.
6639         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
6641         * stdlib/tst-strtod.c (locale_test): New function.
6642         (main): Call locale_test.
6643         * stdlib/Makefile (tst-strtod-ENV): New variable.
6645 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
6647         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
6648         declaration of value such that we actually return the value of the
6649         environment variable.
6651 2001-01-24  Andreas Jaeger  <aj@suse.de>
6653         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
6654         prototype.
6655         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6657         * include/sys/sysctl.h: New file.
6659 2001-01-23  Andreas Jaeger  <aj@suse.de>
6661         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
6662         isomac.
6664         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
6665         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
6666         closes PR libc/2039.
6668         * manual/install.texi (Tools for Compilation): Change required
6669         binutils version.
6671 2001-01-22  Andreas Jaeger  <aj@suse.de>
6673         * configure.in: Add test for new enough binutils version, move
6674         compiler/binutils test up.
6676         * Versions.def: Add version GLIBC_2.2.2.
6678 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6680         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
6681         available.
6682         * iconvdata/testdata/IBM932: New file.
6683         * iconvdata/testdata/IBM932..UTF8: New file.
6684         * iconvdata/testdata/IBM943: New file.
6685         * iconvdata/testdata/IBM943..UTF8: New file.
6686         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
6688 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6690         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
6692 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6694         * malloc/malloc.c: Remove a few unnecessary initializers of global
6695         variables.
6697 2000-12-09  H.J. Lu  <hjl@gnu.org>
6699         * nss/Makefile (routines): Add digits_dots.
6700         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
6701         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
6702         into a function.
6703         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
6704         function.
6705         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
6706         (TYPE_VAR_P): Likewise.
6707         (FLAGS_VAR): Likewise.
6708         (AF_VAR_P): Likewise.
6709         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6710         instead of including digits_dots.c.
6711         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
6712         (TYPE_VAR_P): Likewise.
6713         (FLAGS_VAR): Likewise.
6714         (AF_VAR_P): Likewise.
6715         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6716         instead of including digits_dots.c.
6718 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6720         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
6722 2001-01-21  Andreas Jaeger  <aj@suse.de>
6724         * elf/constload2.c: Add prototype for init.
6726 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6728         * stdlib/stdlib.h (drand48_data): Make available only for
6729         __USE_MISC.  Rename elements to protect namespace.  Change type
6730         and position of a and init element.
6731         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
6732         differently.  Adjust for drand48_data change.  Don't compute a here,
6733         it comes from drand48_data.
6734         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
6735         differently.  Adjust for drand48_data change.  Compute a here.
6736         * stdlib/srand48_r.c: Likewise.
6737         * stdlib/drand48.c: Adjust for drand48_data change.
6738         * stdlib/lrand48.c: Likewise.
6739         * stdlib/mrand48.c: Likewise.
6740         * stdlib/seek48.c: Likewise.
6741         * stdlib/drand48_r.c: Likewise.
6742         * stdlib/lrand48_r.c: Likewise.
6743         * stdlib/mrand48_r.c: Likewise.
6744         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
6745         differently.
6746         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
6747         * stdlib/jrand48_r.c: Likewise.
6749         * po/sv.po: Update from translation team.
6751 2001-01-21  Andreas Jaeger  <aj@suse.de>
6753         * stdio-common/vfprintf.c (vfprintf): Add casts.
6755 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
6757         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
6758         the ASCII test.
6759         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
6761         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
6762         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
6763         * iconvdata/ibm932.c: New file.
6764         * iconvdata/ibm932.h: New file.
6765         * iconvdata/ibm943.c: New file.
6766         * iconvdata/ibm943.h: New file.
6767         Patches by Masahide Washizawa <washi@jp.ibm.com>.
6769         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
6770         preventing optimization from being done.  Set the correct type bit
6771         in seen.  Don't define and use _dl_base_addr unless
6772         NEED_DL_BASE_ADDR is defined.
6774         * io/ftw.c (ftw_dir): Add slash after directory name if there
6775         wasn't any.  Reported by loris <loris@iol.it>.
6776         * io/Makefile (tests): Add bug-ftw2.
6777         * io/bug-ftw2.c: New file.
6779 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
6781         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
6782         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
6783         * stdlib/tst-rand48.c: New file.
6784         * stdlib/Makefile (tests): Add tst-rand48.
6786         * locale/newlocale.c (__newlocale): Fix test for setting all
6787         categories.
6789 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
6791         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
6792         but change looking up the initial directory port in a similar way
6793         as done by _hurd_change_directory_port_from_name.
6794         * hurd/fchroot.c (fchroot): Likewise.
6796 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
6798         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
6799         defined don't look whether the AT_*ID values were set.
6800         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
6801         (_dl_show_auxv): Rewrite to avoid switch statement.
6802         * sysdeps/unix/sysv/linux/kernel-features.h: Define
6803         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
6804         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
6805         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
6807         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
6808         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6809         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6811         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
6812         strtoul.
6813         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
6814         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
6815         anything.
6816         * dlfcn/eval.c (__strtol_internal): Define here.
6817         (eval): Use __strtol_internal instead of strtol.
6819         * elf/elf.h: Add a few more EF_MIPS_* constants.
6821 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
6823         * manual/Makefile (chapters): Add debug.
6824         * manual/debug.texi: New file.
6825         * manual/examples/execinfo.c: New file.
6826         Patch by suckfish@ihug.co.nz.
6828 2001-01-17  Andreas Schwab  <schwab@suse.de>
6830         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
6831         invalid asm.
6833 2001-01-17  Andreas Jaeger  <aj@suse.de>
6835         * nscd/connections.c (nscd_run): Use proper format specifier.
6837 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
6839         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
6840         x86_platforms data into new file after prepending _dl_.  Change
6841         users.
6842         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
6843         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
6844         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
6845         dl-procinfo.c.
6847         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
6849         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
6850         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
6851         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
6852         (_setjmp): Likewise.
6853         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
6854         * sysdeps/i386/bsd-setjmp.S: Real implementation.
6855         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
6856         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
6857         version.
6859 2001-01-16  Andreas Jaeger  <aj@suse.de>
6861         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
6862         misapplied last patch.
6864 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
6866         * stdlib/random.c (__initstate): Clean up a cast.
6867         (__setstate): Likewise.
6869         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
6870         syscall handling.  The generic Linux version should work.
6872 2001-01-15  Andreas Jaeger  <aj@suse.de>
6874         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
6876         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
6878 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
6880         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
6881         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
6882         New functions.
6883         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
6884         If number is 0, list all.
6885         (services_keys): Likewise.  Lookup aliases as well.
6886         (databases): New table.
6887         (build_doc): Prepare argp doc text with list of supported databases.
6888         (main): Change to table driven processing.
6890 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
6892         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
6893         functions.
6895 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
6897         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
6898         encode value which does not fit in the 32bit type.
6900 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
6902         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
6903         Change type of CTX to (struct sigcontext *).
6904         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
6905         (GET_FRAME): Likewise.
6906         (GET_STACK): Likewise.
6907         (SIGCONTEXT): Likewise.  Add 2nd arg _code.
6908         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
6910 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
6912         * manual/texinfo.tex: Update from upstream version.
6914 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
6916         * inet/ether_ntoh.c (lookup_function): Change arguments to match
6917         _nss_*_getntohost_r prototype.
6918         (ether_ntohost): Pass errno pointer to NSS function.
6920 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6922         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
6923         (MAP_LOCKED): New definition.
6924         (MAP_NORESERVE): New definition.
6926 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
6928         * assert/assert.h: Use static_cast instead of C-style cast for C++.
6929         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
6931 2001-01-12  Ben Collins  <bcollins@debian.org>
6933         * sysdeps/generic/segfault.c (install_handler): Use access, not
6934         __access.
6936 2001-01-12  Andreas Jaeger  <aj@suse.de>
6938         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
6939         * posix/wordexp.c (do_parse_glob): Likewise.
6940         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6941         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
6942         * elf/dl-open.c (_dl_open): Likewise.
6943         * elf/dl-close.c (_dl_close): Likewise.
6944         * elf/dl-load.c (_dl_map_object): Likewise.
6945         * iconv/iconv_prog.c (process_fd): Likewise.
6946         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
6948         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
6949         of a zero-length array.
6951 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
6953         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
6954         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
6955         * stdlib/cxa_on_exit.c: Remove.
6956         * stdlib/Makefile: Revert last patch.
6957         * stdlib/Versions: Likewise.
6958         * include/stdlib.h: Likewise.
6959         * stdlib/exit.h: Revert last patch.
6960         (struct exit_function): Add second argument to cxa fn.
6961         * stdlib/exit.c: Revert last patch.
6962         (exit): Add hidden second argument.
6964 2001-01-11  H.J. Lu  <hjl@gnu.org>
6966         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
6967         * elf/dl-open.c (_dl_open): Here.
6968         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
6969         Make it static.
6970         (_dl_static_init): Initialize the variables every time when possible.
6971         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
6972         Undefine it first.
6974 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
6976         * stdlib/Makefile (routines): Add cxa_on_exit.
6977         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
6978         * stdlib/cxa_on_exit.c: New file.
6979         * include/stdlib.h: Add prototype for __cxa_on_exit.
6980         * stdlib/exit.c: Handle ef_cxa2.
6981         * stdlib/exit.h (enum): Add ef_cxa2.
6982         (struct exit_function): Add cxa2.
6984         * Versions.def [ld]: Add GLIBC_2.2.1.
6986 2001-01-10  H.J. Lu  <hjl@gnu.org>
6988         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
6989         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
6990         dl-static.
6991         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
6992         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
6993         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
6994         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
6995         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
6997 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
6999         * libio/stdio.h: Remove definition of off_t.
7001 2001-01-11  Andreas Jaeger  <aj@suse.de>
7003         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
7004         <mkuhn@acm.org>.
7006 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
7008         * sunrpc/Makefile (distribute): Add errqueue.h.
7010 2001-01-10  H.J. Lu  <hjl@gnu.org>
7012         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
7013         r9, r10 and r11 for language specific registers.
7015 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
7017         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
7018         UDP socket.
7019         (clntudp_call): Handle MSG_ERRQUEUE.
7020         * sysdeps/generic/errqueue.h: New file.
7021         * sysdeps/unix/sysv/linux/errqueue.h: New file.
7023 2001-01-10  H.J. Lu  <hjl@gnu.org>
7025         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
7027 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
7029         * CONFORMANCE: Update.
7031 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
7033         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
7034         Minimal cleanups.  Add assert to ensure memory handling is correct.
7036         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
7037         Reported by Ben Collins <bcollins@debian.org>.
7039         * time/strftime.c (my_strftime): Mark previous GNU extensions
7040         which are now in C99 as such.
7042 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
7044         * elf/rtld.c (process_envvars): Place output files for profiling
7045         in SUID binaries in /var/profile.
7047         * elf/dl-load.c (_dl_map_object): Don't look in cache for
7048         preloading in SUID binaries.
7050         * elf/dl-profile.c (_dl_start_profile): Open the output file with
7051         O_NOFOLLOW if possible.
7053         * include/stdlib.h: Add __posix_openpt declaration.
7054         * stdlib/stdlib.h: Add posix_openpt declaration.
7055         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
7056         * sysdeps/generic/getpt.c: Define posix_openpt.
7057         * sysdeps/unix/bsd/getpt.c: Likewise.
7058         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
7060         * time/Makefile (tests): Add tst-mktime.
7061         * time/tst-mktime.c: New file.
7063         * posix/tst-dir.c (main): One more mkdir() test.
7065         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
7066         Remove getpagesize syscall.  We assume that the pagesize is always
7067         determined from the auxiliary vector.
7069         * intl/dcigettext.c: Fix a few warnings.
7070         Patch by Bruno Haible <haible@ilog.fr>.
7072 2001-01-08  Andreas Jaeger  <aj@suse.de>
7074         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
7075         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
7077 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
7079         * sysdeps/generic/segfault.c (install_handler): Check output file
7080         name with access().
7082         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
7083         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
7085         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
7087         * malloc/memusage.c (me): Use access() to determine whether we
7088         should write the output file or not.
7090         * libio/bits/stdio.h (printf): Define macro to map printf call to
7091         fprintf which gcc can optimize.
7092         * stdio-common/printf.c: Undefine printf.
7094 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
7096         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
7097         patch.  We must use unsigned int for l member of union.
7099         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
7100         _dl_aux_init for shared libraries.
7102         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
7103         * sysdeps/gnu/glob64.c: ...here.  New file.
7105 2001-01-07  Ben Collins  <bcollins@debian.org>
7107         * manual/examples/longopt.c: Make the "struct option" a little
7108         more like it should be, adding usage of required_argument,
7109         noargument and such, and also setting the options string right.
7111         * manual/sysinfo.texi (Load Average): New section, documents
7112         getloadavg().
7114 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
7116         * version.h (VERSION): Bump to 2.2.1.
7118         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
7119         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
7120         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
7121         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
7122         * Makefile (distribute): Add include/libc-internal.h.
7123         * libio/Makefile (distribute): Avoid overwriting.
7125         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
7126         buffer and table handling.
7128 2001-01-05  H.J. Lu  <hjl@gnu.org>
7130         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
7131         vector checking to ...
7132         (_dl_aux_init): Here.  New function.  Defined only if
7133         HAVE_AUX_VECTOR is defined.
7135         * sysdeps/generic/libc-start.c (__libc_start_main): Call
7136         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
7138         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
7139         _dl_aux_init.
7141         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
7142         (HAVE_AUX_VECTOR): Defined.
7143         (_dl_aux_init): Declared.
7145 2001-01-05  Ben Collins  <bcollins@debian.org>
7147         * manual/string.texi (Finding Tokens in a String): Document XPG
7148         basename() and dirname(), as well as GNU basename().
7150 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
7152         * Makeconfig (preprocess-version): Replace -traditional with
7153         -x assembler-with-cpp.
7155 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
7157         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
7158         for GCC 2.97 or later.
7160 2001-01-05  Ben Collins  <bcollins@debian.org>
7162         * manual/stdio.texi (getline): Clarify the return value in the
7163         case of EOF being reached before a newline.
7165 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
7167         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
7168         FALSE otherwise.
7169         (pmap_set, pmap_unset): Check __get_myaddress return value.
7171 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
7173         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
7174         (struct ether_addr): Declare ether_addr_octet member as
7175         `u_int8_t'.  Add __attribute__ ((__packed__)).
7177 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7179         * sysdeps/mach/hurd/readdir64.c: New file.
7180         * sysdeps/mach/hurd/readdir64_r.c: New file.
7182 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
7184         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
7185         `struct statfs' and `struct statvfs' being identical.
7186         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
7188 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7190         * sysdeps/mach/hurd/fstatfs64.c: New file.
7191         * sysdeps/mach/hurd/fstatvfs64.c: New file.
7192         * sysdeps/mach/hurd/statfs64.c: New file.
7193         * sysdeps/mach/hurd/statvfs64.c: New file.
7194         * sysdeps/mach/hurd/statfsconv.c: New file.
7195         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
7197 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
7199         * iconv/skeleton.c: Reset outbuf for next round of the loop.
7200         Reported by Owen Taylor <otaylor@redhat.com>.
7201         * iconv/Makefile (tests): Add tst-iconv3.
7202         * iconv/tst-iconv3.c: New file.
7204         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
7205         * iconvdata/ibm933.c: Likewise.
7206         * iconvdata/ibm935.c: Likewise.
7207         * iconvdata/ibm937.c: Likewise.
7208         * iconvdata/ibm939.c: Likewise.
7209         * iconvdata/ibm930.h: Adjust single byte table for optimization.
7210         * iconvdata/ibm933.h: Likewise.
7211         * iconvdata/ibm935.h: Likewise.
7212         * iconvdata/ibm939.h: Likewise.
7214         * iconvdata/testdata/IBM930: Add misssing SI.
7215         * iconvdata/testdata/IBM933: Likewise.
7216         * iconvdata/testdata/IBM935: Likewise.
7217         * iconvdata/testdata/IBM937: Likewise.
7218         * iconvdata/testdata/IBM939: Likewise.
7220 2001-01-06  Andreas Jaeger  <aj@suse.de>
7222         * configure.in: Check for old add-ons that shouldn't be used with
7223         current glibc anymore.
7225 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7227         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
7228         instead of -1 on failure.  Don't forget to copy file name into
7229         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
7230         of the directory.
7232 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7234         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
7235         copy st_atime member.
7237 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
7239         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
7240         for searches from the root directory.
7241         Reported by loris <loris@iol.it> [PR libc/1991].
7242         * io/Makefile (tests): Add bug-ftw1.
7243         * io/bug-ftw1.c: New file.
7245         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
7246         if it is not available.  Instead use it only if it is available.
7247         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
7249         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
7250         overflowing output buffer.
7251         (internal_ucs4_loop_unaligned): Likewise.
7252         (ucs4_internal_loop): Likewise.
7253         (ucs4_internal_loop_unaligned): Likewise.
7254         (internal_ucs4le_loop): Likewise.
7255         (internal_ucs4le_loop_unaligned): Likewise.
7256         (ucs4le_internal_loop): Likewise.
7257         (ucs4le_internal_loop_unaligned): Likewise.
7258         Reported by Owen Taylor <otaylor@redhat.com>.
7259         * iconv/Makefile (tests): Add tst-iconv2.
7260         * iconv/tst-iconv2.c: New file.
7262 2001-01-04  H.J. Lu  <hjl@gnu.org>
7264         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
7265         (_dl_clktck): Declared.
7266         (non_dynamic_init): Take 3 arguments.
7267         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
7269 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
7271         Finish implementation of plural form handling.
7272         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
7273         'domainname'.  Remove 'plindex' field.  Add 'domain' and
7274         'translation_length' fields.
7275         (transcmp): Don't compare 'plindex' fields.
7276         (plural_lookup): New function.
7277         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
7278         plural_eval before the translation and its catalog file have been
7279         found.  Remove plindex from cache key.  Add 'translation_length' and
7280         'domain' to cache result.
7281         (_nl_find_msg): Remove index argument, return length of translation
7282         to the caller instead.  Weaken comparison of string lengths, to account
7283         for plural entries.  Call iconv() on the entire result string, not
7284         only on the portion needed so far.
7285         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
7286         argument.
7287         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
7289 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
7291         * intl/plural.y (yylex): Minimal improvement in number scanner.
7293 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
7295         * intl/plural.y: Include config.h.  Needed to define 'inline' away for
7296         C compilers that don't support it.
7297         (yylex): Don't use gcc specific case range syntax.
7298         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
7299         compilers.
7301 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
7303         * intl/finddomain.c: Remove unneeded includes.
7305 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
7307         * intl/localealias.c (memcpy): Return first argument, just like the
7308         real memcpy function does.
7309         * intl/bindtextdom.c (memcpy): Likewise.
7310         * intl/finddomain.c (memcpy): Likewise.
7311         * intl/l10nflist.c (memcpy): Likewise.
7312         * intl/textdomain.c (memcpy): Likewise.
7313         From Paul Eggert <eggert@twinsun.com>.
7315 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
7317         * resolv/resolv.h (struct __res_state): Add nsinit field.
7318         * resolv/res_send.c (res_nsend): Use it instead of nscount.
7319         * resolv/res_init.c (__res_vinit): Initialize it.
7320         (res_nclose): Clear it instead of nscount.
7322 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
7324         * malloc/mtrace.pl: Fix matching of addresses.
7325         Patch by Aharon Robbins <arnold@skeeve.com>.
7327         * Versions.def (ld): Add GLIBC_2.2.
7329         * catgets/gencat.c: Copyright 2001.
7330         * csu/version.c: Likewise.
7331         * debug/catchsegv.sh: Likewise.
7332         * debug/xtrace.sh: Likewise.
7333         * elf/ldconfig.c: Likewise.
7334         * elf/sprof.c: Likewise.
7335         * iconv/iconv_prog.c: Likewise.
7336         * locale/locale.c: Likewise.
7337         * locale/localedef.c: Likewise.
7338         * malloc/memusage.sh: Likewise.
7339         * malloc/mtrace.pl: Likewise.
7340         * nscd/nscd.c: Likewise.
7341         * posix/getconf.c: Likewise.
7343 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
7345         * include/stdio.h: Only provide __getwc_unlocked prototype if
7346         USE_IN_LIBIO is defined.
7348 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7350         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
7351         handling.
7353 2001-01-03  Andreas Schwab  <schwab@suse.de>
7355         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
7356         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
7358         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
7359         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
7360         strtoull alias.
7361         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
7362         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
7363         wcstoull alias.
7365         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
7366         directory.
7367         * sysdeps/generic/strtol_l.c: Likewise.
7368         * sysdeps/generic/strtoul_l.c: Likewise.
7369         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
7371         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
7372         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
7373         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
7374         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
7376 2001-01-04  Andreas Jaeger  <aj@suse.de>
7378         * nss/nsswitch.c: Include files for missing prototypes, remove
7379         buggy declaration of prototypes.
7381 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7383         * resolv/Versions: Fix bracing.
7384         * sysdeps/powerpc/soft-fp/Versions: Likewise.
7385         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
7387 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7389         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
7391 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7393         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
7394         Suggested by Minko Markov <mmarkov@home.com>.
7396 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7398         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
7399         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
7400         the failing symbol.
7401         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
7403 2001-01-02  Ben Collins  <bcollins@debian.org>
7405         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
7406         if TZ is not set and TZDEFAULT is not present.
7408 2001-01-01  Ben Collins  <bcollins@debian.org>
7410         * string/strings.h: Make sure we declare our functions even if
7411         string.h is already included, based on whether or not __USE_BSD is
7412         defined.
7414 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7416         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
7417         other dlopen() and dlsym().
7418         Based on a patch by Ben Collins <bcollins@debian.org>.
7420 2001-01-02  Andreas Jaeger  <aj@suse.de>
7422         * dlfcn/errmsg1.c (main): Call dlerror initially.
7423         Reported by Ben Collins <bcollins@debian.org>.
7425 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7427         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
7428         value is ignored if the selected locale is the C locale.
7429         * intl/tst-gettext.c: Set locale for above change.
7430         * intl/tst-translit.c: Likewise.
7432 2001-01-02  Andreas Jaeger  <aj@suse.de>
7434         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
7435         (_IO_switch_to_wget_mode): Likewise.
7436         (_IO_sputbackwc): Likewise.
7437         (_IO_sungetwc): Use wint_t for result.
7439         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
7441         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
7442         signedness.
7444         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
7445         to (int) to avoid warnings.
7446         * stdio-common/printf_fp.c (putc): Likewise.
7447         * stdio-common/printf_size.c (putc): Likewise.
7449         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
7450         constant unsigned.
7452 2001-01-01  Andreas Jaeger  <aj@suse.de>
7454         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
7456 2000-12-31  Andreas Jaeger  <aj@suse.de>
7458         * include/libc-internal.h: Add prototype for __libc_freeres.
7460         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
7461         for prototypes, remove redundant prototypes.
7462         * gmon/gmon.c: Likewise.
7463         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
7464         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
7465         * malloc/mtrace.c: Likewise.
7467         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
7468         prototypes.
7469         * elf/soinit.c: Likewise.
7470         * sysdeps/generic/prof-freq.c: Likewise.
7471         * sysdeps/mach/hurd/profil.c: Likewise.
7472         * debug/noophooks.c: Likewise.
7473         * debug/pcprofile.c: Likewise.
7474         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
7475         * sysdeps/generic/get_clockfreq.c: Likewise.
7476         * malloc/set-freeres.c: Likewise.
7478         * locale/localeinfo.h: Add internal prototypes.
7480         * elf/rtld.c (dl_main): Fix prototype.
7482         * iconvdata/tst-table-to.c (main): Use return instead of exit to
7483         avoid warning.
7485         * nis/rpcsvc/yp_prot.h: Remove __P.
7486         * nis/rpcsvc/ypupd.h: Likewise.
7487         * nis/rpcsvc/yp.h: Likewise.
7489         * sunrpc/rpc_main.c: Add noreturn attributes.
7490         * sunrpc/rpc_scan.h: Likewise.
7492         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
7494         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
7496         * sunrpc/proto.h: Add noreturn attributes to error and crash.
7498         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
7500         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
7502         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
7504         * include/rpc/rpc_msg.h: Add prototypes for some functions.
7505         * include/rpc/auth.h: Likewise.
7506         * include/rpc/auth_des.h: Likewise.
7507         * include/rpc/clnt.h: Likewise.
7508         * include/rpc/rpc.h: Likewise.
7509         * include/rpc/svc.h: Likewise.
7510         * include/rpc/svc_auth.h: Likewise.
7512         * include/rpc/des_crypt.h: New file.
7514         * malloc/memusagestat.c (main): Use return instead of exit to
7515         avoid warning.
7516         * io/pwd.c (main): Likewise.
7517         * iconvdata/tst-table-from.c (main): Likewise.
7518         * ctype/test_ctype.c (main): Likewise.
7519         * setjmp/tst-setjmp.c (main): Likewise.
7520         * signal/tst-signal.c (main): Likewise.
7521         * stdlib/tst-strtol.c (main): Likewise.
7522         * stdlib/tst-strtod.c (main): Likewise.
7523         * stdlib/tst-strtoll.c (main): Likewise.
7524         * stdlib/tst-xpg-basename.c (main): Likewise.
7525         * dirent/tst-seekdir.c (main): Likewise.
7526         * grp/testgrp.c (main): Likewise.
7527         * inet/test_ifindex.c (main): Likewise.
7528         * io/test-utime.c (main): Likewise.
7529         * posix/test-vfork.c (main): Likewise.
7530         * posix/testfnm.c (main): Likewise.
7531         * stdio-common/temptest.c (main): Likewise.
7532         * stdio-common/test_rdwr.c (main): Likewise.
7533         * stdio-common/tst-fileno.c (main): Likewise.
7534         * stdio-common/tst-sscanf.c (main): Likewise.
7535         * stdio-common/tstscanf.c (main): Likewise.
7536         * string/bug-strncat1.c (main): Likewise.
7537         * string/bug-strpbrk1.c (main): Likewise.
7538         * string/bug-strspn1.c (main): Likewise.
7539         * string/test-ffs.c (main): Likewise.
7540         * string/tst-inlcall.c (main): Likewise.
7541         * string/tst-svc.c (main): Likewise.
7542         * timezone/test-tz.c (main): Likewise.
7543         * wctype/test_wcfuncs.c (main): Likewise.
7544         * wctype/test_wctype.c (main): Likewise.
7546         * stdlib/tst-random.c: Add attribute noreturn to fail.
7548 2000-12-28  Wolfram Gloger  <wg@malloc.de>
7550         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
7551         destination overlap.  Assume dest is always below source if
7552         overlapping.
7554 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
7556         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
7557         object was not yet initialized.
7559 2000-12-28  H.J. Lu  <hjl@gnu.org>
7561         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
7562         is always consistent even if its dependency is failed.
7564         * elf/dl-open.c (_dl_open): Increment the open count before
7565         calling _dl_close () in case of failure.
7567         * elf/neededtest4.c: New file.
7568         * elf/neededobj5.c: New file.
7569         * elf/neededobj6.c: New file.
7571         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
7572         (tests): Add neededtest4.
7573         (modules-names): Add neededobj5 and neededobj6.
7574         ($(objpfx)neededobj6.so): New target.
7575         ($(objpfx)neededtest4): New target.
7576         ($(objpfx)neededtest4.out): New target.
7578 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
7580         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
7581         * stdlib/monetary.h: Add strfmon format attributes.
7583 2000-12-28  Roland McGrath  <roland@frob.com>
7585         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
7586         __mempcpy does it for us.
7588 2000-12-28  Andreas Jaeger  <aj@suse.de>
7590         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
7592         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
7593         __new_setrlimit.
7595         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
7596         __old_getrlimit64.
7598         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
7599         __new_getrlimit.
7601         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
7602         __chown_is_lchown and __real_chown.
7604         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
7605         _dl_reloc_bad_type.
7607         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
7608         up GCC's warning about "deprecated use of label at end of compound
7609         statement."
7610         * sunrpc/rpc_cout.c (emit_inline): Likewise.
7612         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
7613         prototypes.
7614         Remove struct bb and __bb_head since those are declared by
7615         sys/gmon.h.
7617 2000-12-22  Ben Collins  <bcollins@debian.org>
7619         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
7621         * manual/argp.texi: Document argp_domain as part of struct argp.
7623 2000-12-28  Andreas Jaeger  <aj@suse.de>
7625         * catgets/Makefile (generated): Add sample.SJIS.cat.
7627         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
7629         * elf/dl-minimal.c: Add prototypes.
7631         * include/locale.h: Add internal prototypes.
7632         * include/sys/gmon.h: Likewise.
7634         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
7636 2000-12-27  Ben Collins  <bcollins@debian.org>
7638         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
7639         when reallocating the error strings.
7640         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
7642 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
7644         * dlfcn/Makefile (tests): Add errmsg1.
7645         (modules-names): Add errmsg1mod.
7646         Add rules to run errmsg1.
7647         * dlfcn/errmsg1.c: New file.
7648         * dlfcn/errmsg1mod.c: New file.
7650         * dlfcn/dlerror.c (dlerror): Always create output string which
7651         includes object file name.
7653         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
7654         if we would go through it only once.
7655         Patch by Rick Gorton <rick.gorton@api-networks.com>.
7657         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
7658         Patch by Richard Henderson <rth@redhat.com>.
7660 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
7662         * malloc/malloc.c (memmove): Add prototypes.
7663         (MALLOC_MEMMOVE): Define.
7664         (chunk_realloc): Use it instead of MALLOC_COPY if source and
7665         destination might overlap.
7667 2000-12-27  Andreas Jaeger  <aj@suse.de>
7669         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
7670         function.
7671         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7672         * locale/programs/locale.c (show_locale_vars): Likewise.
7673         (show_info): Likewise.
7674         * locale/programs/ld-collate.c (collate_output): Likewise.
7675         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
7676         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7677         * stdlib/rpmatch.c (rpmatch): Likewise.
7679         * setjmp/tst-setjmp.c: Make local functions static.
7680         * setjmp/jmpbug.c: Likewise.
7681         * signal/tst-signal.c: Likewise.
7682         * stdio-common/tfformat.c: Likewise.
7683         * string/tst-svc.c: Likewise.
7684         * time/clocktest.c: Likewise.
7685         * time/tst-getdate.c: Likewise.
7686         * dirent/list.c: Likewise.
7687         * dirent/opendir-tst1.c: Likewise.
7688         * posix/runtests.c: Likewise.
7689         * posix/tst-getaddrinfo.c: Likewise.
7690         * posix/tst-chmod.c: Likewise.
7691         * posix/wordexp-test.c: Likewise.
7692         * misc/tst-efgcvt.c: Likewise.
7693         * timezone/tst-timezone.c: Likewise.
7694         * rt/tst-clock.c: Likewise.
7695         * rt/tst-shm.c: Likewise.
7696         * rt/tst-aio2.c: Likewise.
7697         * rt/tst-aio3.c: Likewise.
7698         * rt/tst-aio4.c: Likewise.
7699         * rt/tst-aio5.c: Likewise.
7701         * dlfcn/failtest.c: Add prototype for foo.
7703         * dlfcn/glrefmain.c: Add prototype for do_test.
7705         * dlfcn/tst-dladdr.c: Add prototype for do_test.
7707         * string/test-ffs.c (main): Add prototype for nested function.
7709         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
7711         * nss/XXX-lookup.c: Add prototype to shut up GCC.
7713         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
7714         setetherent prototype.
7715         Add internal interfaces.
7717         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
7718         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
7720         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
7722         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
7724         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
7725         prototypes, remove struct etherent since it's declared in ether.h.
7726         Fix ntohost declaration.
7728         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
7730         * include/getopt.h: Add internal interfaces.
7731         * include/termios.h: Likewise.
7732         * include/resolv.h: Likewise.
7733         * include/netdb.h: Likewise.
7734         * include/grp.h: Likewise.
7735         * include/pwd.h: Likewise.
7736         * include/shadow.h: Likewise.
7737         * include/rpc/netdb.h: Likewise.
7738         * include/setjmp.h: Likewise.
7740         * include/stdio.h: Add prototypes for compatibility functions.
7741         * include/grp.h: Likewise.
7742         * include/pwd.h: Likewise.
7743         * include/shadow.h: Likewise.
7745         * include/fenv.h: Define internal interfaces.
7747 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
7749         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
7750         argument case separately.
7751         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
7753 2000-12-27  Andreas Jaeger  <aj@suse.de>
7755         * include/sys/wait.h: Add some prototypes.
7756         * Rules (dummy.c): Create also prototype to shut up GCC.
7758 2000-12-27  Andreas Jaeger  <aj@suse.de>
7760         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
7761         it's not needed at the moment.
7762         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
7763         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
7765 2000-12-26  Andreas Jaeger  <aj@suse.de>
7767         * libio/getc_u.c: Include stdio.h via system path to get internal
7768         prototypes.
7769         * libio/getwc_u.c: Likewise.
7771         * stdlib/strfmon.c: Fix prototype of __printf_fp.
7773         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
7774         __printf_fp prototypes to ...
7775         * include/printf.h: ...here.
7777         * include/stdio.h: Add some internal prototypes to shut up GCC.
7778         * include/stdlib.h: Likewise.
7780         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
7781         declaration.
7783         * include/signal.h: Add prototypes for internal sigpause
7784         interfaces.
7786 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
7788         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
7789         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
7791         * string/Makefile (tests): Add tst-bswap.
7792         * string/tst-bswap.c: New file.
7794 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
7796         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
7798 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
7800         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
7801         Patch by Ed Connell <Ed.Connell@sas.com>.
7803 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
7805         * locale/iso-639.def: Correct one entry.  Add two missing entries.
7807         * locale/iso-4217.def: Change entry for Eritrea.
7808         Reported by Daniel Yacob <yacob@geez.org>.
7810 2000-12-23  Ben Collins  <bcollins@debian.org>
7812         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
7813         description.
7815         * manual/stdio.texi (Dynamic Output): Document the return value of
7816         asprintf.  Also make the asprintf/snprintf examples a little
7817         better (check for some error returns).
7819 2000-12-22  Andreas Jaeger  <aj@suse.de>
7821         * include/stdio.h: Add __ftrylockfile prototype.
7823 2000-12-21  H.J. Lu  <hjl@gnu.org>
7825         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
7826         Make sign_exponent element signed.
7828         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
7829         Fix a typo.
7831         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
7833 2000-12-21  Andreas Jaeger  <aj@suse.de>
7835         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
7836         * inet/ether_hton.c: Likewise
7837         * inet/ether_ntoh.c: Likewise.
7839         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
7840         declaration to match prototype.
7842         * include/netinet/ether.h (struct etherent): Declare here so that
7843         all implementations use the same struct.
7845         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
7846         prototypes.
7847         (struct ether): Removed.
7848         Use struct etherent instead of ether everywhere.
7850         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
7852         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
7854         * sunrpc/publickey.c: Include auth_des.h for prototypes.
7856 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
7858         * math/test-misc.c: Add more tests for nextafter functions.
7860         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
7861         normal correctly.  Correct test for sign.
7862         Based on a patch by HJ Lu.
7864 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
7866         * Makeconfig (preprocess-version): Add -traditional to gcc call.
7867         Cleanup sed calls.
7869 2000-12-19  Andreas Jaeger  <aj@suse.de>
7871         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
7873         * nis/nis_intern.h: Add prototype for __do_niscall3.
7875         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
7876         match prototype.
7878         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
7880         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7882         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
7884 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
7886         * math/test-misc.c: Add more tests for nextafter.
7887         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
7888         * sysdeps/ieee754/ldbl-96/math_ldbl.h
7889         (ieee_long_double_shape_type): Make sign_exponent element signed.
7891         * manual/message.texi: Add Estonian to plural overview list.
7892         Correct rule for Slavic languages.
7893         Patch by Stanislav Brabec <utx@penguin.cz>.
7895         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
7897 2000-12-18  Andreas Jaeger  <aj@suse.de>
7899         * test-skeleton.c: Use temp_name_list instead of name_list to
7900         avoid collision with name_list from inet/netgroup.h.
7902         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
7904         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
7905         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
7906         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7907         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
7909         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
7910         declaration to match prototype.
7911         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
7912         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
7913         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
7914         Likewise.
7915         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
7916         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
7917         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
7918         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
7919         (_nss_nis_getservbyport_r): Likewise.
7920         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
7921         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
7922         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
7923         (_nss_nis_setnetent): Likewise
7924         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7925         (_nss_nis_endnetgrent): Likewise.
7926         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
7927         Likewise.
7928         (_nss_nisplus_setnetgrent): Likewise.
7929         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
7930         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
7931         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
7932         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
7933         Likewise.
7934         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
7935         Likewise.
7936         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
7937         Likewise.
7938         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
7939         Likewise.
7940         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
7941         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
7942         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
7943         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7944         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
7945         (_nss_dns_getnetbyaddr_r): Likewise.
7947 2000-12-17  Andreas Jaeger  <aj@suse.de>
7949         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
7950         parameter.
7952         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
7953         unused attribute to shut up gcc warnings.
7955         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
7956         * sysdeps/generic/k_tanl.c: Likewise.
7957         * sysdeps/generic/k_cosl.c: Likewise.
7958         * sysdeps/generic/e_j0l.c: Likewise.
7959         * sysdeps/generic/e_j1l.c: Likewise.
7960         * sysdeps/generic/e_jnl.c: Likewise.
7961         * sysdeps/generic/e_lgammal_r.c: Likewise.
7963         * elf/vismain.c: Move prototypes for functions in vismod*.c to
7964         vismod.h.
7965         * elf/vismod.h: New file.
7966         * elf/Makefile (distribute): Add vismod.h.
7967         * elf/vismod1.c: Include vismod.h.
7968         * elf/vismod2.c: Likewise.
7969         * elf/vismod3.c: Likewise.
7971         * elf/constload3.c: Add prototype declarations to shut up gcc.
7972         * elf/failobj.c: Likewise.
7973         * elf/nodelmod3.c: Likewise.
7974         * elf/filtmod1.c: Likewise.
7975         * elf/filtmod2.c: Likewise.
7976         * elf/reldepmod1.c: Likewise.
7977         * elf/reldepmod2.c: Likewise.
7978         * elf/reldepmod3.c: Likewise.
7979         * elf/reldepmod4.c: Likewise.
7980         * elf/unload2dep.c: Likewise.
7981         * elf/unload2mod.c: Likewise.
7982         * elf/ltglobmod1.c: Likewise.
7983         * elf/pathoptobj.c: Likewise.
7984         * elf/neededobj1.c: Likewise.
7985         * elf/neededobj2.c: Likewise.
7986         * elf/neededobj3.c: Likewise.
7987         * elf/neededobj4.c: Likewise.
7988         * elf/nextmod1.c: Likewise.
7989         * elf/nextmod2.c: Likewise.
7991         * locale/programs/ld-collate.c (collate_finish): Don't use labels
7992         at end of compound statement.
7993         * locale/programs/locale.c (show_info): Likewise.
7994         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7996 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
7998         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
7999         with a pointer not returned by obstack_ functions.
8001 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
8003         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
8004         version.
8005         (struct stat64): Likewise.
8006         Reported by Michael Keezer <mkeezer@redhat.com>.
8008         * timezone/asia: Update from tzdata2000h.
8009         * timezone/australasia: Likewise.
8010         * timezone/backward: Likewise.
8011         * timezone/europe: Likewise.
8012         * timezone/northamerica: Likewise.
8013         * timezone/southamerica: Likewise.
8014         * timezone/zone.tab: Likewise.
8016 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
8018         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
8019         and dir.stream is NULL, only free dir.content.
8020         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
8021         * io/ftwtest-sh: Test with --early-exit.
8023 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
8025         * misc/efgcvt.c (FCVT_MAXDIG): Define.
8026         (FCVT_BUFPTR): New variable.
8027         (fcvt): If fcvt_r returns -1 on the static short buffer,
8028         try to malloc a sufficiently large one and retry.
8029         (free_mem): New function.
8030         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
8031         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
8033 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
8035         * misc/dirname.c (dirname): Fix search for second to last slash.
8037 2000-12-13  Andreas Jaeger  <aj@suse.de>
8039         * misc/tst-dirname.c (main): Fix typo in test to really use
8040         the examples from Unix98.
8041         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8043 2000-12-09  H.J. Lu  <hjl@gnu.org>
8045         * sysdeps/ia64/fpu/s_fabs.S: New file.
8046         * sysdeps/ia64/fpu/s_fabsf.S: New file.
8047         * sysdeps/ia64/fpu/s_fabsl.S: New file.
8049 2000-12-15  Andreas Jaeger  <aj@suse.de>
8051         * stdio-common/scanf9.c (main): Reformat and change to avoid
8052         warnings.
8054         * stdio-common/tstdiomisc.c: Make local functions static.
8055         * stdio-common/tst-printf.c: Likewise.
8057         * elf/constload2.c: Add prototype declarations to shut up gcc.
8058         * elf/dep1.c: Likewise.
8059         * elf/dep2.c: Likewise.
8060         * elf/dep3.c: Likewise.
8061         * elf/dep4.c: Likewise.
8062         * elf/ltglobmod2.c: Likewise.
8064         * libio/fmemopen.c: Make local functions static.
8066         * elf/Makefile (distribute): Added testobj.h.
8068         * elf/testobj.h: New file.
8070         * elf/testobj1.c: Include testobj.h and move prototype
8071         declarations to testobj.h.
8072         * elf/testobj2.c: Likewise.
8073         * elf/testobj3.c: Likewise.
8074         * elf/testobj4.c: Likewise.
8075         * elf/testobj5.c: Likewise.
8076         * elf/testobj6.c: Likewise.
8077         * elf/testobj1_1.c: Likewise.
8078         * elf/preloadtest.c: Likewise.
8080 2000-12-15  Ben Collins  <bcollins@debian.org>
8082         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
8083         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
8085 2000-12-14  H.J. Lu  <hjl@gnu.org>
8087         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
8088         field in a float is 8 bits, not 11 bits.
8090 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
8092         * math/test-misc.c (main): Adjust m for IEEE quad long double.
8094 2000-12-13  Andreas Jaeger  <aj@suse.de>
8096         * manual/message.texi (Using gettextized software): Fix typo.
8098         * manual/charset.texi (Converting a Character): Fix mbstouwcs
8099         program to compile.
8100         Patch by Martin Buchholz <martin@xemacs.org>.
8102         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
8103         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8105 2000-12-11  Andreas Jaeger  <aj@suse.de>
8107         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
8108         kernel_sigset_t and use it.
8109         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
8111 2000-12-10  Richard Henderson  <rth@redhat.com>
8113         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
8114         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
8115         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
8117 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
8119         * sysdeps/alpha/htonl.S: Fix a typo.
8121 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
8123         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
8125 2000-12-10  Andreas Jaeger  <aj@suse.de>
8127         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
8128         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
8129         Drepper <drepper@redhat.com>.
8131 2000-12-09  Andreas Jaeger  <aj@suse.de>
8133         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
8135         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
8136         generic version.
8137         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
8139         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
8140         string.
8142         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
8143         format string.
8145         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
8146         * nscd/connections.c (handle_request): Likewise.
8147         * nscd/pwdcache.c (addpwbyname): Likewise.
8148         * nscd/grpcache.c (addgrbyname): Likewise.
8150         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
8152 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
8154         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
8156         * Makeconfig (default_cflags): Make -O2 the default for stable
8157         releases.
8159 2000-12-08  H.J. Lu  <hjl@gnu.org>
8161         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
8162         * sysdeps/ia64/fpu/s_isinf.S: This.
8163         Add a .pred.rel.mutex note to avoid false report.
8165         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
8166         * sysdeps/ia64/fpu/s_isnan.S: This.
8168         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
8169         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
8170         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
8171         * sysdeps/ia64/fpu/s_isinff.S: New file.
8172         * sysdeps/ia64/fpu/s_isinfl.S: New file.
8173         * sysdeps/ia64/fpu/s_isnanf.S: New file.
8174         * sysdeps/ia64/fpu/s_isnanl.S: New file.
8175         * sysdeps/ia64/fpu/s_finite.S: New file.
8176         * sysdeps/ia64/fpu/s_finitef.S: New file.
8177         * sysdeps/ia64/fpu/s_finitel.S: New file.
8178         * sysdeps/ia64/fpu/s_signbit.S: New file.
8179         * sysdeps/ia64/fpu/s_signbitf.S: New file.
8180         * sysdeps/ia64/fpu/s_signbitl.S: New file.
8181         * sysdeps/ia64/fpu/s_copysign.S: New file.
8182         * sysdeps/ia64/fpu/s_copysignf.S: New file.
8183         * sysdeps/ia64/fpu/s_copysignl.S: New file.
8185 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
8187         * math/libm-test.inc (main): Fix typos in messages.
8189         * string/stratcliff.c: Add test for rawmemchr.
8191 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8193         * elf/dl-open.c (_dl_open): If objname points right after errstring,
8194         allocate it together with errstring using alloca.
8195         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
8196         to "", because it might point to local stack.
8198 2000-12-05  H.J. Lu  <hjl@gnu.org>
8200         * nss/Makefile (routines): Add getnssent and getnssent_r.
8201         * nss/nsswitch.h (__nss_setent): New internal NSS function.
8202         (__nss_endent): Likewise.
8203         (__nss_getent_r): Likewise.
8204         (__nss_getent): Likewise.
8205         * nss/getnssent_r.c: New file.
8206         * nss/getnssent.c: New file.
8207         * nss/getXXent.c (H_ERRNO_VAR): Updated.
8208         (GETFUNC_NAME): Updated to call __nss_getent ().
8209         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
8210         (STAYOPEN_TMPVAR): Updated.
8211         (STAYOPEN_VAR): Updated.
8212         (SETFUNC_NAME): Updated to call __nss_setent ().
8213         (ENDFUNC_NAME): Updated to call __nss_endent ().
8214         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
8216 2000-12-08  Andreas Jaeger  <aj@suse.de>
8218         * nscd/dbg_log.h (dbg_log): Correct attribute.
8220 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8222         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
8223         cp + len.  Compute where from dirname.
8224         Reported by <jreiser@BitWagon.com>.
8226 2000-12-08  Richard Henderson  <rth@twiddle.net>
8228         * sysdeps/alpha/_mcount.S: Fix typo.
8229         * sysdeps/alpha/strncpy.S: Likewise.
8231         * sysdeps/alpha/alphaev6/Implies: New file.
8232         * sysdeps/alpha/alphaev67/Implies: New file.
8233         * sysdeps/alpha/alphaev67/ffs.S: New file.
8234         * sysdeps/alpha/alphaev67/ffsll.S: New file.
8235         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
8236         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
8237         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
8238         * sysdeps/alpha/rawmemchr.S: New file.
8239         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
8240         * sysdeps/alpha/strcpy.S: Likewise.
8242         From GMP 3.1.1:
8243         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
8245         From rick.gorton@alpha-processor.com:
8246         * sysdeps/alpha/alphaev6/memchr.S: New file.
8247         * sysdeps/alpha/alphaev6/memcpy.S: New file.
8248         * sysdeps/alpha/alphaev6/memset.S: New file.
8249         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
8250         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
8251         * sysdeps/alpha/alphaev67/strcat.S: New file.
8252         * sysdeps/alpha/alphaev67/strchr.S: New file.
8253         * sysdeps/alpha/alphaev67/strlen.S: New file.
8254         * sysdeps/alpha/alphaev67/strncat.S: New file.
8255         * sysdeps/alpha/htonl.S: Use a shorter sequence.
8257 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8259         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
8260         Reported by <pspencer@fields.utoronto.ca>.
8262 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
8264         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
8265         Pointed out by Hans Boehm.
8267 2000-12-07  H.J. Lu  <hjl@gnu.org>
8269         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
8271 2000-12-07  Andreas Jaeger  <aj@suse.de>
8273         * misc/error.c: Add format attributes for __error and __error_at_line.
8275         * nscd/dbg_log.h: Add format attribute.
8277 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
8279         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
8280         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
8282 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
8284         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
8286 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
8288         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
8289         (sysdep_routines): Add uitrunc.
8290         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
8291         Patches by Michael Keezer <mkeezer@redhat.com>.
8293 2000-12-06  Roland McGrath  <roland@frob.com>
8295         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
8296         argument data, since it will be used to copy out too (for INOUT).
8297         Reported by Marcus Brinkmann <marcus@gnu.org>.
8299         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
8300         (__ioctl): Use uintptr_t instead of unsigned long int.
8302 2000-12-06  Jim Wilson  <wilson@redhat.com>
8304         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
8306 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
8308         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
8309         x.5 rounding correctly.
8311 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
8313         * stdio-common/perror.c (perror): Conditionalize code dealing with
8314         wide-oriented streams on USE_IN_LIBIO.
8316 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
8318         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
8319         as internal_function.
8321 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
8323         * sysdeps/alpha/elf/start.S (__data_start): Define.
8325 2000-12-05  H.J. Lu  <hjl@gnu.org>
8327         * nss/getXXent_r.c (setup): Change the return type to int.
8329 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
8331         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
8332         (sysdep_routines): Add restf and savef.
8333         * sysdeps/unix/sysv/aix/restf.c: New file.
8334         * sysdeps/unix/sysv/aix/savef.c: New file.
8335         Patches by Michael Keezer <mkeezer@redhat.com>.
8337         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
8338         if O_DIRECTORY is not defined.
8339         Patch by Michael Keezer <mkeezer@redhat.com>.
8341         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
8342         Patch by Michael Keezer <mkeezer@redhat.com>.
8344         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
8345         than 4 bytes in escape sequence.
8346         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8348 2000-12-05  Andreas Jaeger  <aj@suse.de>
8350         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
8351         set mips2.
8353         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
8355         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
8357         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
8358         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8360         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
8361         internal_function.
8362         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
8363         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
8365         * sysdeps/generic/dl-cache.c: Remove declaration of
8366         _dl_sysdep_read_whole_file.
8368         * elf/dl-load.c (_dl_map_object): Remove declaration of
8369         _dl_load_cache_lookup.
8371         * sysdeps/generic/ldsodefs.h: Add declarations of
8372         _dl_load_cache_lookup, _dl_unload_cache,
8373         _dl_sysdep_read_whole_file, _dl_sysdep_start and
8374         _dl_sysdep_start_cleanup.
8376         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
8377         now.
8379         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
8380         * sysdeps/generic/dl-environ.c: Likewise.
8382         * stdio-common/printf_fp.c: Include <gmp.h> instead of
8383         <stdlib/gmp.h>.
8384         * math/atest-exp.c: Likewise.
8385         * math/atest-exp2.c: Likewise.
8386         * math/atest-sincos.c: Likewise.
8387         * stdio-common/_itoa.c: Likewise.
8388         * stdio-common/_itowa.c: Likewise.
8390         * include/gmp.h: New file with internal prototypes.
8392         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
8393         here to...
8394         * include/setjmp.h: ...here.
8396         * locale/Makefile (routines): Remove codeset_name since it's not
8397         needed anywhere.
8399         * locale/codeset_name.c: Removed.
8401 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
8403         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
8405 2000-12-05  Andreas Jaeger  <aj@suse.de>
8407         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
8409 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
8411         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
8412         available.
8414 2000-12-05  Andreas Jaeger  <aj@suse.de>
8416         * nss/test-netdb.c: Mark local functions as static to avoid
8417         warnings.
8418         (main): Use return to silence warning.
8420         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
8422         * stdio-common/test-popen.c: Mark local functions as static to
8423         avoid warnings.
8424         (main): Use return to silence warning.
8426         * stdlib/testsort.c (compare): Mark as static to avoid warning.
8428         * assert/test-assert.c: Mark local functions as static to avoid
8429         warnings.
8430         * assert/test-assert-perr.c: Likewise.
8432         * math/libm-test.inc (main): Use return to silence warnings.
8434 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8436         * math/fenv.h: Fix typo in comment.
8438         * math/test-misc.c (main): Add a few more over and underflow tests
8439         for scalb.
8441         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
8442         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8443         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8444         * math/w_scalb.c: Don't use matherr except in SVID mode.
8445         * math/w_scalbf.c: Likewise.
8446         * math/w_scalbl.c: Likewise.
8447         * math/test-misc.c: Add test for NaN and scalbl.
8448         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8450 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8452         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
8453         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
8454         * include/libc-symbols.h (strong_alias): Define special version
8455         for HAVE_ASM_GLOBAL_DOT_NAME.
8456         (weak_alias): Likewise.
8457         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
8458         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
8459         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
8460         getutxline, pututxline, and utmpxname.
8461         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
8462         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
8463         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
8464         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
8465         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
8466         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
8467         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
8468         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
8469         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
8470         Patches by Michael Keezer <mkeezer@redhat.com>.
8472 2000-12-04  H.J. Lu  <hjl@gnu.org>
8474         * configure.in: Change --with-oldest-abi=ABI to
8475         --enable-oldest-abi=ABI.
8477 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
8479         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
8480         fwprintf instead of fprintf.
8482 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8484         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
8485         DECIMAL_DIG definitions.
8486         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
8487         * sysdeps/generic/bits/mathdef.h: Likewise
8488         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
8489         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
8490         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
8491         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
8492         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
8493         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
8495 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
8497         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
8499         * math/atest-exp.c: Mark local functions as static to avoid warnings.
8500         * math/atest-exp2.c: Likewise.
8501         * math/atest-sincos.c: Likewise.
8503         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
8504         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8506         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
8507         the handling of denormalized numbers.
8509         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
8510         numbers on x86.
8511         * sysdeps/i386/fpu/fpclassifyl.c: New file.
8513         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
8514         pseudo denormal representation of LDBL_MIN.
8516         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
8517         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
8519         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
8520         * iconvdata/jis0208.c: Likewise.
8521         * iconvdata/jis0212.c: Likewise.
8522         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8524         * math/test-misc.c (main): More tests for frexp and some for
8525         fpclassify and isnormal.
8527         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
8528         test for subnormal.
8529         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8531         * math/test-misc.c (main): Add tests for frexp.
8532         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8533         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
8535 2000-12-02  H.J. Lu  <hjl@gnu.org>
8537         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
8538         '\0' to wcschr.
8540 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
8542         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
8543         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8544         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8546         * sysdeps/generic/glob.c: Adjust types of several variables to
8547         avoid warnings.
8549 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
8551         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
8553 2000-11-30  Roland McGrath  <roland@frob.com>
8555         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
8556         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
8557         allow multiple instances using the same function name in one file.
8559 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
8561         * configure.in: Correct test for pserver CVS access.
8563 2000-11-28  H.J. Lu  <hjl@gnu.org>
8565         * libio/libio.h: Remove extra "#if ... #endif".
8567 2000-11-29  H.J. Lu  <hjl@gnu.org>
8569         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
8571 2000-12-01  H.J. Lu  <hjl@gnu.org>
8573         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
8574         * nss/getXXent_r.c: Likewise.
8575         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8577 2000-11-30  H.J. Lu  <hjl@gnu.org>
8579         * scripts/abi-versions.awk (oldest_abi): New variable.
8580         Handle the oldest ABI supported.
8582         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
8583         for scripts/abi-versions.awk.
8585         * configure.in: Add --with-oldest-abi=ABI.
8586         * configure: Rebuild.
8588         * config.make.in (oldest-abi): New.
8590         * config.h.in (GLIBC_OLDEST_ABI): New.
8592         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
8594 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
8596         * locale/setlocale.c (setname): Free for all categories, not just
8597         LC_ALL.
8598         (setlocale): Store a copy of string passed by user, not the string
8599         itself.
8601 2000-11-30  Roland McGrath  <roland@frob.com>
8603         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
8604         rather than _hurd_fd_subinit, so it happens after it's safe to use
8605         libc facilities like malloc.
8607 2000-11-28  Andreas Jaeger  <aj@suse.de>
8609         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
8610         declaration, adjust declaration of __syscall_getdents to match
8611         kernel.
8613 2000-11-29  H.J. Lu  <hjl@gnu.org>
8615         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
8617 2000-11-29  Andreas Jaeger  <aj@suse.de>
8619         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
8621 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8623         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
8624         * dlfcn/defaultmod2.c: Likewise.
8625         * dlfcn/dlopen.c: Likewise.
8626         * dlfcn/dlopenold.c: Likewise.
8627         * dlfcn/failtestmod.c: Likewise.
8628         * dlfcn/glreflib1.c: Likewise.
8629         * dlfcn/glreflib2.c: Likewise.
8630         * dlfcn/eval.c: Likewise.  Add attributes.
8632         * ctype/ctype-extn.c: Define isblank and not __isblank.
8634         * time/strftime.c: Add const where necessary to avoid warnings.
8635         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
8637 2000-11-22  Paul Eggert  <eggert@twinsun.com>
8639         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
8640         size of (size_t) -1; it's not portable.
8642 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8644         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
8645         crappy i486 FPU.
8646         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8648 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
8650         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
8652         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
8653         _mcount is required by profiled binaries.
8655         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
8656         * sysdeps/ia64/machine-gmon.h: ...here.
8658 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
8660         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
8661         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
8662         and ibm1129.h.
8663         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
8664         IBM1129.
8665         * iconvdata/ibm922.c: New file.
8666         * iconvdata/ibm922.h: New file.
8667         * iconvdata/ibm1124.c: New file.
8668         * iconvdata/ibm1124.h: New file.
8669         * iconvdata/ibm1129.c: New file.
8670         * iconvdata/ibm1129.h: New file.
8671         * iconvdata/testdata/IBM922: New file.
8672         * iconvdata/testdata/IBM922..UTF8: New file.
8673         * iconvdata/testdata/IBM1124: New file.
8674         * iconvdata/testdata/IBM1124..UTF8: New file.
8675         * iconvdata/testdata/IBM1129: New file.
8676         * iconvdata/testdata/IBM1129..UTF8: New file.
8678 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8680         * catgets/gencat.c (normalize_line): Take extra parameter with escape
8681         character.  Change callers.
8682         (open_conversion): Determine mapping of 0x5c as wchar_t value.
8683         * catgets/Makefile: Add rules to build and run test-gencat.
8684         * catgets/sample.SJIS: New file.
8685         * catgets/test-gencat.c: New file.
8686         * catgets/test-gencat.sh: New file.
8687         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8689 2000-11-28  Andreas Jaeger  <aj@suse.de>
8691         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
8692         Linux version.
8694 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8696         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
8698 2000-11-28  Andreas Jaeger  <aj@suse.de>
8700         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
8701         __flexarr.
8702         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
8703         Likewise.
8705 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
8707         * misc/getusershell.c: Make strings in okshells array const.
8708         * misc/regexp.c: Add const to cast to avoid warnings.
8709         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
8710         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
8711         __setresuid.
8712         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
8713         setresgid.
8714         * misc/error.c: Add prototypes for __error and __error_at_line.
8715         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
8716         statement to avoid warning.
8717         * test-skeleton.c: Mark timeout_handler with noreturn.
8718         * iconv/skeleton.c (get16u): Add const to cast.
8719         (get32u): Likewise.
8720         * iconvdata/gb18030.c: Likewise.
8721         * iconvdata/iso-2022-cn-ext.c: Likewise.
8722         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
8723         * iconvdata/big5.c: Likewise.
8724         * iconvdata/big5hkscs.c: Likewise.
8725         * iconvdata/iso_6937.c: Likewise.
8726         * iconvdata/iso_6937-2.c: Likewise.
8727         * iconvdata/t.61.c: Likewise.
8728         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
8729         * iconvdata/unicode.c: Likewise.
8730         * iconvdata/utf-16.c: Likewise.
8731         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
8732         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
8733         with little code shuffling.
8735         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
8736         the problems introduced when the user selects -O3.
8738         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
8739         * misc/sys/cdefs.h: Define __flexarr.
8740         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
8742         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
8743         * iconv/skeleton.c: Likewise.
8744         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
8745         * iconv/loop.c (get16): Add const to cast.
8746         (get32): Likewise.
8748 2000-11-27  Andreas Jaeger  <aj@suse.de>
8750         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
8751         to avoid warning.
8752         * login/programs/utmpdump.c (print_entry): Likewise.
8754 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
8756         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
8757         in a single asm as they may be used to access other stored
8758         registers.
8759         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8761 2000-11-27  Andreas Jaeger  <aj@suse.de>
8763         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
8764         * rt/tst-aio64.c: Likewise.
8766 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
8768         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
8769         for gencat run.
8770         (libc.cat): Likewise.
8771         * catgets/gencat.c: Implement handling of message catalogs encoded
8772         with stateful character sets.
8773         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8775 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
8777         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
8779         * inet/getnameinfo.c: Adjust casts to avoid warnings.
8780         * inet/rcmd.c: Likewise.
8781         * inet/ruserpass.c: Likewise.
8782         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
8783         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8784         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
8785         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
8786         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
8787         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
8788         * include/aliases.h: Add prototypes for internal __getalias* functions.
8789         * include/netdb.h: Add prototypes for __old_gethostent_r,
8790         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
8791         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
8792         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
8793         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
8794         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
8795         __old_getrpcbynumber_r, __old_getrpcent_r.
8797         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
8798         __getrpcent_r prototypes.
8800 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
8802         * string/strcoll.c: Add casts to avoid warnings.
8803         * string/strnlen.c: Likewise.
8804         * string/strxfrm.c: Likewise.
8805         * sysdeps/generic/_strerror.c: Likewise.
8806         * sysdeps/generic/memrchr.c: Likewise.
8807         * sysdeps/generic/strcasestr.c: Likewise.
8808         * sysdeps/generic/strstr.c: Likewise.
8810         * locale/weight.h (findidx): Add const to cast to avoid warning.
8812         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
8813         * elf/loadtest.c: Likewise.
8814         * elf/multiload.c: Likewise.
8815         * elf/next.c: Likewise.
8816         * elf/nodelete.c: Likewise.
8817         * elf/noload.c: Likewise.
8818         * elf/order.c: Likewise.
8819         * elf/origtest.c: Likewise.
8820         * elf/preloadtest.c: Likewise.
8821         * elf/restest1.c: Likewise.
8823         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
8824         parameter of asm must be in %ecx.
8826         * string/tester.c: Mark test functions as static to avoid warnings.
8828         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
8829         preserve value over different gconv-modules files.
8831 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
8833         * locale/findlocale.c: Add casts to avoid warnings.
8834         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
8835         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
8836         to avoid warnings.
8837         * misc/tsearch.c (const_node): New type.
8838         (trecurse): Correct casts to avoid warnings.
8839         (__twalk): Likewise.
8840         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
8841         LONG_BIT.
8843         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
8845         * test-skeleton.c: Mark local functions as static to avoid warnings.
8847 2000-11-23  H.J. Lu  <hjl@gnu.org>
8849         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
8850         support the background job.
8851         Fix a typo.
8853 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
8855         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
8856         has same names but lower cost.
8858 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
8860         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
8861         which never occur during bootstrap.
8862         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8864 2000-11-23  Andreas Jaeger  <aj@suse.de>
8866         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
8868         * nss/Versions: Remove _nss_files_getipnodebyname_r.
8870         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
8872 2000-11-18  Martin Buchholz  <martin@xemacs.org>
8874         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
8875         (called++) return;'
8877 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
8879         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
8881         * csu/abi-note.S: Correct comment for operating system number.
8883 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
8885         * Versions.def: Add GLIBC_2.2.1 for glibc.
8887 2000-11-22  Andreas Schwab  <schwab@suse.de>
8889         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
8890         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
8892 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
8894         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
8895         absolute time for pthread_cond_timedwait call.
8896         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
8898         * rt/Makefile (tests): Add tst-aio6.
8899         * rt/tst-aio6.c: New file.
8901 2000-11-23  Andreas Jaeger  <aj@suse.de>
8903         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
8905 2000-11-22  Andreas Jaeger  <aj@suse.de>
8907         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
8909 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
8911         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
8913 2000-11-21  Andreas Schwab  <schwab@suse.de>
8915         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
8916         * sysdeps/arm/setjmp.S: Likewise.
8917         * sysdeps/arm/fpu/setjmp.S: Likewise.
8918         * sysdeps/i386/setjmp.S: Likewise.
8919         * sysdeps/i386/elf/setjmp.S: Likewise.
8920         * sysdeps/s390/setjmp.S: Likewise.
8921         * sysdeps/s390/elf/setjmp.S: Likewise.
8922         * sysdeps/sh/sh3/setjmp.S: Likewise.
8923         * sysdeps/sh/sh4/setjmp.S: Likewise.
8924         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8925         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8926         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
8927         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
8929 2000-11-21  Andreas Jaeger  <aj@suse.de>
8931         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
8932         NORETURN, fix parameter list.
8934         * string/bug-strncat1.c (main): Fix typo.
8935         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
8937 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
8939         * configure.in: Add --enable-all-warnings.
8940         * config.make.in (all-warnings): New variable.
8941         * Makeconfig (+gccwarn): Define with many more warnings if
8942         all-warnings is yes.
8944 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
8946         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
8947         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
8948         * malloc/tst-valloc.c (main): Cast valloc return value to long.
8949         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
8950         * math/test-fpucw.c (main): Use %lx in format string, cast
8951         control words to long.
8952         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
8953         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
8954         large that it is unsigned warning.
8956         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
8957         it to long on sparc64.
8959 2000-11-20  Andreas Jaeger  <aj@suse.de>
8961         * nscd/nscd.h (termination_handler): Add noreturn attribute.
8962         (receiv_print_stats): Likewise.
8964         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
8966 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
8968         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
8970         * csu/gmon-start.c: Always have prototype for __gmon_start.
8971         * csu/version.c: Add prototypes for __libc_print_version and
8972         __libc_main.
8973         * iconv/gconv.c: Include gconv_int.h and gconv.h.
8974         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
8975         and __to_name.
8976         * iconv/gconv_builtin.h: Add ASCII module definitions.
8977         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
8978         (add_module): Add cast to avoid warning.  Rework construction of
8979         strings for new module.
8980         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
8981         (derivation_compare): Likewise.
8982         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
8983         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
8984         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
8985         (struct gconv_alias): Remove const from fromname and toname.
8986         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
8987         for loop functions.
8988         (internal_ucs4_loop): Use correct const-ness.
8989         (ucs4_internal_loop): Likewise.
8990         (internal_ucs4le_loop): Likewise.
8991         (ucs4le_internal_loop_single): Likewise.
8992         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
8993         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
8994         assignments appropriately.
8995         (struct known_trans): Remove const from fname.
8996         (trans_compare): Make s1 and s2 const.
8997         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
8998         avoid warning.
8999         * iconv/skeleton.c: Remove cast in calls of loop functions.
9000         * iconvdata/gconv-modules: Remove US-ASCII definitions.
9001         * iconvdata/iso646.c: Remove US_ASCII support.
9002         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
9003         * include/unistd.h: Add __libc_check_standard_fds prototype.
9004         * string/bits/string2.h (__mempcpy_args): Add const to casts.
9005         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
9006         _fini.
9007         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
9008         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
9009         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
9010         warning.
9011         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
9012         __libc_init_first and _dl_start.
9013         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
9014         (DCIGETTEXT): Make domaindata variable const.
9015         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
9016         to avoid warning.
9018 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
9020         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
9022         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
9023         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
9024         __unused? members.
9026         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
9027         value defined in /usr/include/asm-mips/fcntl.h.
9029 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
9031         * stdio-common/Makefile (tests): Add test-vfprintf.
9032         (test-vfprintf-ENV): New variable.
9033         * stdio-common/test-vfprintf.c: New file.
9035         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
9037         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
9038         (tst-mbrtowc-ENV): New variable.
9039         (tst-wcrtomb-ENV): New variable.
9040         * wcsmbs/tst-mbrtowc.c: New file.
9041         * wcsmbs/tst-wcrtomb.c: New file.
9043 2000-11-16  Andreas Jaeger  <aj@suse.de>
9045         * manual/install.texi (Tools for Compilation): Update
9046         documentation for GCC 2.95.2.
9048 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
9050         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
9051         if IPv4 and IPv6 requests timed out.
9053 2000-11-18  Akim Demaille  <akim@epita.fr>
9055         * malloc/obstack.h: Formatting changes.
9056         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
9057         prevents type checking.
9058         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
9059         cast the value to (void *): assigning a `foo *' to a `void *'
9060         variable is valid.
9061         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
9063 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
9065         * scripts/config.guess: Update from upstream maintainer.
9066         * scripts/config.sub: Likewise.
9068 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
9070         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
9071         * libio/freopen64.c (freopen64): Likewise.
9072         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9074         * libio/Makefile: Add rules to build and run test-freopen.
9075         * libio/test-freopen.c: New file.
9076         * libio/test-freopen.sh: New file.
9078 2000-11-15  H.J. Lu  <hjl@gnu.org>
9080         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
9081         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
9082         (DL_DT_FINI_ADDRESS): Likewise.
9084         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
9085         return type to ElfW(Addr).
9086         (_dl_function_address): New prototype.
9087         (DL_FUNCTION_ADDRESS): Defined.
9088         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
9089         (DL_DT_FINI_ADDRESS): Likewise.
9091         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
9093         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
9094         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
9096         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
9097         (_dl_function_address): This.
9099         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
9100         function pointer for DT_FINI.
9101         * elf/dl-close.c (_dl_close): Likewise.
9103         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
9104         function pointer for DT_INIT.
9106 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
9108         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
9109         end of wexpbuf buffer.
9111 2000-11-16  Andreas Jaeger  <aj@suse.de>
9113         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
9114         definition of F_GETLK, F_SETLK, F_SETLKW.
9116 2000-11-16  Andreas Jaeger  <aj@suse.de>
9118         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
9119         it's not defined.
9121 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
9123         * dlfcn/default.c (main): Add test for dladdr of main returning
9124         argv[0] in dli_fname field.
9126 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
9128         * Makeconfig (run-program-prefix): Move test-static test into the
9129         variable.
9131         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
9132         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
9133         schedule instructions.
9134         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
9135         schedule instructions, fix a bug in copying auxiliary data.
9137 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9139         * manual/startup.texi (Program Arguments): Fix type of main's envp
9140         parameter.
9141         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
9143         * iconvdata/gconv-modules: Add CP950 alias.
9145 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
9147         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
9148         syscall-list.h goal.
9149         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
9151 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9153         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
9155         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
9156         output of program.
9158         * intl/tst-gettext2.c: Set C locale if setting other locale
9159         failed.  Use gettext() not _().
9161         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
9162         successfully loaded a new locale.
9164 2000-11-13  Andreas Jaeger  <aj@suse.de>
9166         * configure.in: Require gcc 2.95 or newer.
9168 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9170         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
9171         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
9173 2000-11-11  Jim Meyering  <meyering@lucent.com>
9175         * string/strndup.c (strndup): Cast return value to `char *'.
9177 2000-11-15  Jim Meyering  <meyering@ascend.com>
9179         * sysdeps/generic/memchr.c: Remove some useless parentheses.
9180         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
9181         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
9182         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
9183         Also #undef __memchr.
9184         Use `weak_alias' only if it's defined.
9186 2000-11-10  H.J. Lu  <hjl@gnu.org>
9188         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
9190 2000-11-15  Andreas Jaeger  <aj@suse.de>
9192         * elf/chroot_canon.c: Include <stdint.h>.
9194         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
9195         (print_entry): Likewise.
9196         (add_to_cache): Likewise.
9198         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
9200         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
9201         (path_hwcap): Likewise.
9202         (search_dir): Likewise.
9204         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
9206         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
9208         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
9209         (_dl_platform_string): New.
9210         (_DL_HWCAP_PLATFORM): New.
9211         (_dl_string_platform): New.
9212         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
9214         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
9215         (_dl_string_platform): New.
9216         (_DL_HWCAP_PLATFORM): New.
9217         (_dl_platform_string): New.
9219         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
9220         recognition.
9221         (_DL_HWCAP_COUNT): New.
9222         (_dl_string_platform): New.
9223         (_DL_HWCAP_PLATFORM): New.
9224         (_dl_platform_string): New.
9226 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
9228         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
9230 2000-11-14  Andreas Jaeger  <aj@suse.de>
9232         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
9234 2000-11-13  Roland McGrath  <roland@frob.com>
9236         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
9238 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
9240         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
9241         underrun and make sure the result is null terminated even if there
9242         is no trailing newline.
9244 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
9246         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9248 2000-11-10  H.J. Lu  <hjl@gnu.org>
9250         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
9252 2000-11-10  Andreas Jaeger  <aj@suse.de>
9254         * elf/ldconfig.c (create_links): Fix alloca calculation.
9255         Patch by Ben Collins <bcollins@debian.org>.
9257 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
9259         * inet/getnameinfo.c (getnameinfo): Use correct destination
9260         parameter for if_indextoname.
9261         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
9263 2000-11-09  H.J. Lu  <hjl@gnu.org>
9265         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
9266         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
9267         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
9268         xdr_keystatus.
9270         * time/Versions (GLIBC_2.1): Move getitimer to...
9271         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
9273 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
9275         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
9276         "make install", to work around a binary incompatibility between
9277         glibc 2.1 and glibc 2.2 gconv modules.
9279 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
9281         * intl/locale.alias: Add thai.
9282         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
9284 2000-11-07  Akim Demaille  <akim@epita.fr>
9286         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
9287         argument `data' for consistency with the prototypes.
9288         Qualify it `const'.
9289         (obstack_copy, obstack_copy0): Rename the second argument as
9290         `address' for consistency.  Qualify it `const'.
9291         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
9292         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
9293         `const' their input argument (`data' or `address').
9294         Adjust the corresponding macros to include `const' in casts.
9296 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9298         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
9299         target family.
9301 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9303         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
9304         socket creation.
9306 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9308         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
9309         ai_protocol by internal table if service was not given.
9311 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9313         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
9314         numerical port was specified with protocol without socktype.
9316 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9318         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
9320 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9322         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
9324 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9326         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
9327         sin6_scope_id field.
9329 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9331         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
9333 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9335         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
9337 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9339         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
9340         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
9342 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
9344         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
9345         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
9347 2000-11-09  H.J. Lu  <hjl@gnu.org>
9349         * io/Versions (GLIBC_2.1.1): Remove lockf64.
9352 See ChangeLog.11 for earlier changes.