Update.
[glibc.git] / ChangeLog
blobd63b8ec332b229fa63dc0f7d9843bb60d9fc150f
1 2001-08-07  Andreas Jaeger  <aj@suse.de>
3         * iconv/gconv_charset.h (upstr): Add unused attribute to avoid
4         warning.
6         * libio/iopopen.c (_IO_new_proc_open): Fix typos, it's
7         _IO_MTSAFE_IO.
8         (_IO_new_proc_close): Likewise.
9         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
10         (_IO_old_proc_close): Likewise.
12 2001-08-06  Ulrich Drepper  <drepper@redhat.com>
14         * manual/locale.texi: Add documentation of rpmatch.
15         Patch by Jochen Hein <jochen@jochen.org>.
17 2001-08-06  Jakub Jelinek  <jakub@redhat.com>
19         * stdlib/strtod.c (STRTOF): Skip whole infinity, not just inf.
20         * stdio-common/vfscanf.c (__vfscanf): +- can be followed by i in +-Inf.
22         * stdlib/tst-strtod.c (tests): Add Inf tests.
23         * stdio-common/tstscanf.c (main): Add tests for +- before Inf.
25 2001-08-06  Ulrich Drepper  <drepper@redhat.com>
27         * locale/weightwc.h (findidx): Change type of i to int32_t.
29         * wcsmbs/wcsmbs-tst1.c (main): Avoid warning.  Pretty printing.
31 2001-08-05  Roland McGrath  <roland@frob.com>
33         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h (struct dirent): Rename member
34         d_fileno to d_ino.
35         (struct dirent64): Likewise.
36         (d_fileno): Define as macro.
38 2001-08-04  Roland McGrath  <roland@frob.com>
40         * sysdeps/mach/hurd/getrusage.c: Use TASK_EVENTS_INFO if implemented
41         by the microkernel (which it's not).
43 2001-08-04  Ulrich Drepper  <drepper@redhat.com>
45         * libio/fileops.c (_IO_new_file_underflow): Don't call
46         _IO_flush_all_linebuffered.  This isn't required in any standard.
47         Instead flush only stdout.
48         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
50 2001-08-04  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
52         * dlfcn/Makefile: Add rules for new testcase tststatic.
53         * dlfcn/tststatic.c: New file.
54         * dlfcn/modstatic.c: New file.
56 2001-08-04  Ulrich Drepper  <drepper@redhat.com>
58         * manual/summary.awk: Fix value used for FF.
60         * elf/rtld.c: Correct use of __builtin_expect.
62         * elf/dl-close.c: Remove commented-out code.
64         * libio/genops.c (_IO_unbuffer_write): Force streams in narrow
65         orientation so that conversion modules aren't used anymore.
66         * malloc/set-freeres.c: Call _IO_cleanup before running subfreeres
67         functions to avoid using wide streams afterwards.
69         * iconvdata/Makefile: Add rules to build GEORGIAN-PS and
70         GEORGIAN-ACADEMY.
71         * iconvdata/georgian-ps.c: New file.
72         * iconvdata/georgian-academy.c: New file.
73         * iconvdata/gconv-modules: Add entries for GEORGIAN-PS and
74         GEORGIAN-ACADEMY.
75         * iconvdata/tst-tables.sh: Add GEORGIAN-PS and GEORGIAN-ACADEMY.
77 2001-08-03  Ulrich Drepper  <drepper@redhat.com>
79         * locale/programs/ld-collate (insert_value): If symbol in order
80         definition does not exist create it as a sequence without
81         associated multibyte and wide representation.
83 2001-07-30  Roland McGrath  <roland@frob.com>
85         * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): Diddle
86         syntax so both function and pointer-to-function arguments work right.
88 2001-08-03  Tom Rix  <trix@redhat.com>
90         * config.h.in: Add HAVE_XCOFF for AIX.
91         * configure.in: Add --with-xcoff option.
92         * include/libc-symbols.h: Disable the .stabs macros.
94 2001-08-03  Ulrich Drepper  <drepper@redhat.com>
96         * iconvdata/8bit-gap.c: Correctly use __builtin_expect.
97         * iconvdata/ansi_x3.110.c: Likewise.
98         * iconvdata/big5.c: Likewise.
99         * iconvdata/euc-cn.c: Likewise.
100         * iconvdata/euc-jp.c: Likewise.
101         * iconvdata/euc-kr.c: Likewise.
102         * iconvdata/gb18030.c: Likewise.
103         * iconvdata/gbbig5.c: Likewise.
104         * iconvdata/gbgbk.c: Likewise.
105         * iconvdata/gbk.c: Likewise.
106         * iconvdata/ibm930.c: Likewise.
107         * iconvdata/ibm932.c: Likewise.
108         * iconvdata/ibm933.c: Likewise.
109         * iconvdata/ibm935.c: Likewise.
110         * iconvdata/ibm939.c: Likewise.
111         * iconvdata/ibm943.c: Likewise.
112         * iconvdata/iso-2022-cn.c: Likewise.
113         * iconvdata/iso-2022-kr.c: Likewise.
114         * iconvdata/iso646.c: Likewise.
115         * iconvdata/iso8859-1.c: Likewise.
116         * iconvdata/iso_6937-2.c: Likewise.
117         * iconvdata/iso_6937.c: Likewise.
118         * iconvdata/johab.c: Likewise.
119         * iconvdata/sjis.c: Likewise.
120         * iconvdata/t.61.c: Likewise.
121         * iconvdata/uhc.c: Likewise.
122         * iconvdata/unicode.c: Likewise.
123         * iconvdata/utf-16.c: Likewise.
124         * iconv/gconv_simple.c: Likewise.   Convert assert() in real error
125         handling.
127         * iconvdata/Makefile: Add rules to build KOI8-T module.
128         * iconvdata/koi8-t.c: New file.
129         * iconvdata/gconv-modules: Add entries for KOI8-T.
130         * iconvdata/tst-tables.sh: Add KOI8-T.
132         * locale/iso-639.def: Correct Javanese 2 letter code.  Add Tonga.
133         Add Tigrinya.
135 2001-08-02  Ulrich Drepper  <drepper@redhat.com>
137         * locale/programs/ld-collate.c (collate_read): Handle collating-element
138         and reorder_after following copy statement correctly.
140 2001-08-02  Andreas Jaeger  <aj@suse.de>
142         * libio/bits/stdio.h (printf): Remove printf optimization since
143         GCC 3.0 can optimize printf.
145 2001-08-02  Ulrich Weigand  <uweigand@de.ibm.com>
147         * sysdeps/s390/s390-32/memcpy.S: Fixed incorrect use of
148         mvcle introduced by 2001-07-12 change.
149         * sysdeps/s390/s390-64/memcpy.S: Likewise.
151 2001-07-31  Ulrich Drepper  <drepper@redhat.com>
153         * sysdeps/unix/sysv/linux/i386/getcontext.S: Don't touch the %gs
154         register so that contexts can be used in different threads.
155         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
156         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
158         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Correct
159         test for cmsg struct size.
160         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Likewise.
162         * sysdeps/unix/sysv/linux/i386/makecontext.S: Remove unnecessary
163         initializations.
165         * libio/iopopen.c: Add lock for proc_file_chain access.
166         * libio/oldiopopen.c: Add lock for old_proc_file_chain access.
167         Reported by Padraig Brady <Padraig@linux.ie>.
169 2001-07-31  Andreas Jaeger  <aj@suse.de>
171         * sysdeps/unix/sysv/linux/sparc/bits/poll.h (NPOLLFILE): Removed.
172         * sysdeps/unix/sysv/linux/mips/bits/poll.h (NPOLLFILE): Removed.
173         * sysdeps/unix/sysv/linux/m68k/bits/poll.h (NPOLLFILE): Removed.
174         * sysdeps/unix/sysv/linux/bits/poll.h (NPOLLFILE): Removed.
175         * sysdeps/generic/bits/poll.h (NPOLLFILE): Removed.
177         * libio/genops.c (flush_cleanup): Guard list_all_lock to allow
178         compilation without threads.
180 2001-07-30  Ulrich Drepper  <drepper@redhat.com>
182         * po/fr.po: Update from translation team.
184 2001-07-30  Andreas Jaeger  <aj@suse.de>
186         * sysdeps/ieee754/ldbl-128/e_atanhl.c: New file, contributed by
187         Stephen L Moshier.
189         * posix/regex.c: Declare wcs functions only if compiling with
190         MBS_SUPPORT.
191         Don't use #elif for traditional C.
193 2001-07-29  Mark Kettenis  <kettenis@gnu.org>
195         * sysdeps/mach/hurd/recvmsg.c: New file.
196         * sysdeps/mach/hurd/sendmsg.c: New file.
198 2001-07-27  Ulrich Drepper  <drepper@redhat.com>
200         * version.h (VERSION): Bump to 2.2.4.
202         * sysdeps/mips/Dist: Remove non-existing files.
203         * sysdeps/mips/mips64/Dist: Likewise.
204         * sysdeps/mips/mipsel/Dist: Removed.
205         * iconv/Makefile (distribute): Add strtab.c and iconvconfig.h.
206         * sysdeps/generic/Dist: Add bits/link.h.
207         * sysdeps/unix/sysv/linux/m68k/Dist: Add sys/procfs.h.
208         * sysdeps/unix/sysv/aix/Dist: Add dl-support.c, dl-addr.c, and
209         dl-error.c.
210         * sysdeps/ia64/Dist: Add bits/link.h.
212         * libio/vasprintf.c (_IO_vasprintf): Don't copy uninitialized byte
213         from stream buffer to result buffer.
214         Reported by Michael Meeks <michael@ximian.com>.
216         * libio/Makefile: Add rules to check output of tst-fopenloc and
217         for memory leaks.
218         * libio/tst-fopenloc.c: New file.
220         * iconv/gconv_cache.c (__gconv_compare_alias_cache): New function.
221         * iconv/gconv_int.h: Add prototype for __gconv_compare_alias_cache.
222         * iconv/gconv_charset.h: Replace __gconv_lookup_alias prototype with
223         __gconv_compare_alias prototype.
224         * iconv/gconv_db.c (__gconv_lookup_alias): Removed.
225         (__gconv_compare_alias): New function.
226         * locale/findlocale.c (_nl_find_locale): Use __gconv_compare_alias
227         instead of calling __gconv_lookup_alias twice and compare here.
229 2001-07-26  Mark Kettenis  <kettenis@gnu.org>
231         * hurd/hurdsig.c (_hurd_internal_post_signal): Fix handling of
232         SA_RESETHAND and SA_NODEFER.
234 2001-07-27  Ulrich Drepper  <drepper@redhat.com>
236         * libio/fileops.c (_IO_new_file_fopen): Correctly locate ccs=
237         substring.  Don't handle ccs= if no descriptor was allocated.
238         Normalize codeset name before calling __wcsmbs_named_conv.
239         Initialize transliteration elements.  Free step data structure.
240         * libio/iofclose.c (_IO_new_fclose): Correct freeing of the step data.
241         * libio/iofwide.c (__libio_translit): Renamed from libio_translit
242         and made public.  Various little cleanup changes.
243         * wcsmbs/wcsmbsload.h (struct gconv_fcts): Add towc_nsteps and
244         tomb_nsteps member.
245         * wcsmbs/wcsmbsload.c: Add some casts to avoid warnings.
246         (__wcsmbs_gconv_fcts): Initialize towc_nsteps and tomb_nsteps member.
247         (getfct): Take additional parameter with pointer to variable where the
248         number of steps is stored in.  Disable code which allows to use more
249         than one step for now.  Adjust all callers.
250         (free_mem): New function.  Frees data associated with currently
251         selected converters.
253         * malloc/mtrace.pl: Extract addresses from DSOs.
255 2001-07-26  Ulrich Drepper  <drepper@redhat.com>
257         * malloc/mcheck.c (checkhdr): Disable mcheck before reporting an
258         error.  Don't run any tests if mcheck is disabled.
260         * elf/dl-support.c (_dl_important_hwcaps): Avoid using malloc
261         early in the program.
263 2001-07-27  Andreas Jaeger  <aj@suse.de>
265         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_GPRS): Fix
266         value following change from 2001-05-30.
268         * sysdeps/s390/s390-64/bits/setjmp.h (_JMPBUF_UNWINDS): Follow
269         rename change from 2001-07-12 for __jmp_buf.
270         Patches by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>.
272 2001-07-26  Roland McGrath  <roland@frob.com>
274         * sysdeps/generic/bits/termios.h (EXTA, EXTB): Make these conditional
275         on __USE_MISC rather than __USE_BSD.
276         (B57600, B115200, B230400, B460800, B500000, B576000, B921600,
277         B1000000, B1152000, B1500000, B2000000, B2500000, B3000000,
278         B3500000, B4000000): New macros.
279         * sysdeps/generic/tcsetattr.c (bad_speed): Accept those values.
280         * termios/cfsetspeed.c (speeds): Likewise.
282 2001-07-26  kaz Kojima  <kkojima@rr.iij4u.or.jp>
284         * sysdeps/sh/dl-machine.h (elf_machine_load_address): Don't use
285         multi-line strings.
286         (FUN_ADDR, FGR_SAVE, ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
287         (elf_machine_rela): Handle unaligned relocation.
289 2001-06-07  David Mosberger  <davidm@hpl.hp.com>
291         * sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Update call to
292         __ia64_make_fptr() for new interface.
293         (_dl_function_address): Remove.
295         * sysdeps/ia64/dl-machine.h (IA64_BOOT_FPTR_TABLE_LEN): Rename
296         from IA64_BOOT_FPTR_SIZE and reduce its value from 256 to 200.
297         (struct ia64_fdesc): Rename from struct ia64_fptr and drop "next"
298         pointer.  Rename member "func" to "ip".
299         (struct ia64_fdesc_table): New type.
300         (__ia64_make_fptr): Change prototype.
301         (__ia64_init_bootstrap_fdesc_table): New function.
302         (ELF_MACHINE_BEFORE_RTLD_RELOC): New macro.
303         (__boot_ldso_fptr): Removed.
304         (__fptr_next): Removed.
305         (__fptr_root): Removed.
306         (__fptr_count): Removed.
307         (TRAMPOLINE_TEMPLATE): Fix typo in comment.  Don't use multi-line
308         strings to avoid warning from gcc3.
309         (RTLD_START): Don't use multi-line strings.
310         (ELF_MACHINE_START_ADDRESS): Use DL_STATIC_FUNCTION_ADDRESS.
311         (elf_machine_fixup_plt): Update the code entry point in the
312         function descriptor through a "volatile" pointer to ensure proper
313         write ordering.
314         (elf_machine_rela): Simplify handling of FPTR relocs: always call
315         __ia64_make_fptr().
317         * sysdeps/ia64/dl-lookupcfg.h (DL_AUTO_FUNCTION_ADDRESS): New macro.
318         (DL_STATIC_FUNCTION_ADDRESS): Likewise.
319         (DL_DT_INIT_ADDRESS): Use DL_AUTO_FUNCTION_ADDRESS.
320         (DL_DT_FINI_ADDRESS): Likewise.
322         * sysdeps/ia64/dl-fptr.c: Rewrite for better scalability and to
323         avoid deadlocks.
325         * include/link.h: Add member machine specific "l_mach" member to
326         link_map.
328         * sysdeps/generic/bits/link.h: New file.
329         * sysdeps/ia64/bits/link.h: Likewise.
331         * elf/rtld.c (_dl_start): Fix typo in comment.
332         (_dl_start_final): Copy new "l_mach" member from temporary to
333         final bootstrap map.
335 2001-07-25  Ulrich Drepper  <drepper@redhat.com>
337         * csu/gmon-start.c: Use ENTRY_POINT_DECL if defined instead of a
338         declaration using ENTRY_POINT.
339         * sysdeps/ia64/elf/entry.h (ENTRY_POINT_DECL): New definition.
341 2001-07-25  H.J. Lu  <hjl@gnu.org>
343         * csu/gmon-start.c: Include <entry.h>
344         (_start): Replaced with ENTRY_POINT.
346 2001-07-25  Mark Kettenis  <kettenis@gnu.org>
348         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: New file.
350 2001-07-25  Ulrich Drepper  <drepper@redhat.com>
352         * iconv/iconvconfig.c (main): Don't write an output file if we
353         have seen an error.
354         (write_output): Don't overwrite old cache file until we know we
355         have a new one.
357         * iconv/Makefile (install-sbin): Add iconvconfig.
359 2001-07-25  Jakub Jelinek  <jakub@redhat.com>
361         * elf/Makefile (routines): Add dl-iteratephdr and
362         dl-iteratephdr-static.
363         (elide-routines.os): Add dl-iteratephdr-static.
364         * elf/dl-iteratephdr.c: New file.
365         * elf/link.h (struct dl_phdr_info): New definition.
366         (dl_iterate_phdr): New prototype.
367         * elf/Versions (dl_iterate_phdr): Add at GLIBC_2.2.4.
368         * include/link.h (struct dl_phdr_info): New definition.
369         (dl_iterate_phdr, __dl_iterate_phdr): New prototypes.
370         * sysdeps/generic/dl-iteratephdr-static.c: New file.
371         * sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: New file.
373 2001-07-24  Igor Khavkine  <i_khavki@alcor.concordia.ca>
375         * hurd/hurdsig.c (_hurdsig_init): Fix incorrect initialization
376         of pending signals.
378 2001-06-22  Jakub Jelinek  <jakub@redhat.com>
380         * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
381         gaps below main executable.
383 2001-07-22  Bruno Haible  <haible@clisp.cons.org>
385         * intl/libintl.h (ngettext, dngettext, dcngettext): Use both msgid1
386         and msgid2 for printf format argument checking.
388 2001-07-24  Ulrich Drepper  <drepper@redhat.com>
390         * iconv/gconv_cache.c (find_module): Don't allocate room for the
391         filename.  Use alloca, we don't need it beyond this function.
392         (__gconv_release_cache): New function.
393         * iconv/gconv_db.c (__gconv_close_transform): Call
394         __gconv_release_cache after the steps are handled.
395         * iconv/gconv_dl.c (__gconv_find_shlib): Allocate file name in the
396         record as well.
397         * iconv/gconv_int.h: Add prototype for __gconv_release_cache.
399         * iconv/gconv_cache.c (__gconv_lookup_cache): Catch one more
400         boundary case and reject it.
402 2001-07-24  Andreas Jaeger  <aj@suse.de>
404         * manual/examples/longopt.c (main): Fix which options take arguments.
406 2001-07-24  Ulrich Drepper  <drepper@redhat.com>
408         * iconvdata/Makefile: Add dependencies for tst-loading test.
410 2001-07-24  Andreas Jaeger  <aj@suse.de>
412         * iconv/iconvconfig.c (name_insert): Make static to avoid warning.
414 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
416         * locale/programs/locale.c (write_locales): Disable implicit
417         locking for the stream.  Use feof_unlocked instead of feof.
419         * sysdeps/unix/sysv/linux/i386/makecontext.S: Initialize %fs, %gs,
420         and floating-point status as well.
422         * libio/iofclose.c (_IO_new_fclose): Unlink descriptor first to
423         avoid deadlock.
424         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
425         * libio/genops.c (_IO_un_link): Get stream lock since it's not
426         always done in the caller.
427         (_IO_link_in): Likewise.
429         * libio/genops.c (_IO_list_all_stamp): New variable.
430         (_IO_un_link): Bump _IO_list_all_stamp after removing from list.
431         (_IO_link): Likewise for insertion.
432         (flush_cleanup): New function.
433         (_IO_flush_all): Get list_all_lock and all individual locks for the
434         streams.  Detect and handle changes to the _IO_list_all list.
435         (_IO_flush_all_linebuffered): Likewise.
436         * sysdeps/generic/bits/stdio-lock.h: Define
437         _IO_cleanup_region_start_noarg.
438         * sysdeps/mach/hurd/bits/stdio-lock.c: Likewise.
440         * stdio-common/printf.h: Fix typo in comment.
442         * iconv/gconv_cache.c (__gconv_lookup_cache): Handle encoding from
443         and to INTERNAL.
444         * iconv/iconvconfig.c: Create a special record for the INTERNAL
445         encoding name in the output file.
447 2001-07-23  Jakub Jelinek  <jakub@redhat.com>
449         * sunrpc/svc_tcp.c (svctcp_rendezvous_abort): New function.
450         (svctcp_rendezvous_op): Use it.
451         * sunrpc/svc_unix.c (svcunix_rendezvous_abort): New function.
452         (svcunix_rendezvous_op): Use it.
454 2001-07-23  Andreas Schwab  <schwab@suse.de>
456         * math/Makefile (CPPFLAGS-test-ifloat.c, CPPFLAGS-test-idouble.c,
457         CPPFLAGS-test-ildoubl.c): Renamed from CFLAGS-*.
458         (math-CPPFLAGS): Set this instead of CPPFLAGS.
460 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
462         * elf/elf.h: Add more definitions from Sun's latest version.
464 2001-07-23  Stephen L Moshier  <moshier@mediaone.net>
466         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Return proper
467         sign for 0 input and set divide by zero exception for -1 input.
468         Return argument if NaN or infinity.
470 2001-07-23  Andreas Jaeger  <aj@suse.de>
472         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add some deltas.
474 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
476         * iconv/gconv_cache.c (__gconv_lookup_cache): Select correct
477         module for conversion direction.
479 2001-07-23  Stephen L Moshier  <moshier@mediaone.net>
481         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Return proper
482         sign for 0 input.  Return NaN with no exception for NaN input.
484 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
486         * iconv/gconv_builtin.h: ISO-106464/UTF-8/ transformation must
487         really be an alias.
489 2001-07-23  Andreas Jaeger  <aj@suse.de>
491         * iconv/iconvconfig.c: Include <sys/cdefs.h> and use
492         __attribute_malloc__ for older GCC versions.
493         * iconv/strtab.c: Likewise.
494         Add prototypes to avoid warnings.
496 2001-07-22  Roland McGrath  <roland@frob.com>
498         * hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND
499         and SA_NODEFER options.  Spurred to action by Igor Khavkine.
501         * sysdeps/generic/bits/sigaction.h [__USE_UNIX98 || __USE_MISC]
502         (SA_NODEFER, SA_RESETHAND): New macros, same bit values as FreeBSD.
503         [__USE_MISC] (SA_INTERRUPT): New macro, value 0.
504         [__USE_MISC] (SA_NOMASK, SA_ONESHOT, SA_STACK): New macros, aliases
505         as in other sysdeps versions of this file.
507         * sysdeps/generic/bits/sigaction.h (struct sigaction): Use a union
508         and provide sa_handler and sa_sigaction member names as macros, as
509         done in other sysdeps versions of this file.
510         Suggested by Igor Khavkine <i_khavki@alcor.concordia.ca>.
512 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
514         * posix/regex.c: Revamp memory allocation for WCHAR functions to
515         not use too much stack.
517 2001-07-22  Ulrich Drepper  <drepper@redhat.com>
519         * iconv/iconvconfig.c (write_output): Update comment explaining
520         output format.
522         * elf/dl-load.c (_dl_dst_count): In SUID binaries expand $ORIGIN
523         if it is alone.
524         (_dl_dst_substitute): Likewise.
526         * iconv/iconvconfig.c: Remove --verbose option.  Comment out
527         mcheck_verbose call.
529         * iconv/strtab.c (morememory): Fix little memory handling problem.
531 2001-07-22  Andreas Schwab  <schwab@suse.de>
533         * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don't
534         mark asm input operand as clobbered.
535         * sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise.
537 2001-07-22  Ulrich Drepper  <drepper@redhat.com>
539         * iconv/gconv_builtin.c (struct builtin_map): Remove init and end
540         elements.
541         (BUILTIN_TRANSFORMATION): Remove Init and End parameters.
542         (__gconv_get_builtin_trans): Initialize __init_fct and __end_fct to
543         NULL.
544         * iconv/gconv_builtin.h: Remove NULL parameters for Init and End in
545         all BUILTIN_TRANSFORMATION calls.
546         * iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Remove Init and End
547         parameters.
548         * iconv/gconv_simple.c: Likewise.
549         * iconv/gconv_db.c (gen_steps): Internal converters don't have
550         initializers, move the code accordingly.
552         * iconv/gconv_conf.c (__gconv_read_conf): Don't read configuration
553         file if STATIC_GCONV is defined.
555         * iconv/gconv_conf.c (__gconv_path_envvar): New global variable.
556         (__gconv_get_path): Use it instead of call getenv.
557         (__gconv_read_conf): First see whether cache can be used.  If yes,
558         don't do any work here.
559         * iconv/gconv_db.c (__gconv_release_step): Renamed from release_step
560         and exported.  Change callers.
561         (__gconv_find_transform): First call __gconv_lookup_cache and only
562         continue if it signals no cache available.  Remove some unnecessary
563         tests.
564         * iconv/gconv_int.h: Declare __gconv_path_envvar, __gconv_lookup_cache,
565         __gconv_release_step, and __gconv_loaded_cache.
566         * iconv/gconv_cache.c: New file.
567         * iconv/iconvconfig.c: New file.
568         * iconv/iconvconfig.h: New file.
569         * iconv/strtab.c: New file.
570         * iconv/Makefile: Add rules to build new files and programs.
572 2001-07-20  Roland McGrath  <roland@frob.com>
574         * sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type
575         from `dev_t' (st_rdev value) `const struct stat *'.
576         * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Likewise.
577         * libio/filedoalloc.c (_IO_file_doallocate): Change caller.
578         * sysdeps/mach/hurd/device-nrs.h: New file.
580         * libio/stdio_ext.h: Moved to ...
581         * stdio-common/stdio_ext.h: ... here.
582         * libio/Makefile (headers): Move stdio_ext.h from here ...
583         * stdio-common/Makefile (headers): ... to here.
584         * include/stdio_ext.h: New file.
585         * stdio/Makefile (routines): Add the stdio_ext.h functions here.
586         * stdio/Versions (GLIBC_2.2.4): Export the stdio_ext.h functions.
587         * stdio/__flbf.c: New file.
588         * stdio/__fbufsize.c: New file.
589         * stdio/__fpending.c: New file.
590         * stdio/__fpurge.c: New file.
591         * stdio/__freadable.c: New file.
592         * stdio/__freading.c: New file.
593         * stdio/__fsetlocking.c: New file.
594         * stdio/__fwritable.c: New file.
595         * stdio/__fwriting.c: New file.
597 2001-07-20  Ulrich Drepper  <drepper@redhat.com>
598             Andreas Jaeger  <aj@suse.de>
600         * elf/ldconfig.c (search_dir): Avoid use of uninitialized memory.
601         Add a few __builtin_expect to mark unlikely error cases.
603 2001-07-20  Andreas Jaeger  <aj@suse.de>
605         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Synch with kernel.
606         Patch by Daniel Jacobowitz <dan@debian.org>.
608 2001-07-19  Ulrich Drepper  <drepper@redhat.com>
610         * intl/localealias.c: Remove unnecessary prototype.
612         * Makefile: Add html goal.
613         * manual/Makefile: Likewise.
615 2001-07-18  Ulrich Drepper  <drepper@redhat.com>
617         * libio/filedoalloc.c (_IO_file_doallocate): A few more minor
618         cleanups and improvements.
620 2001-07-18  Andreas Schwab  <schwab@suse.de>
622         * posix/regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
623         underscore character.
625 2001-07-18  Jakub Jelinek  <jakub@redhat.com>
627         * malloc/malloc (new_heap): Don't call munmap for zero length.
629 2001-07-18  Ulrich Drepper  <drepper@redhat.com>
631         * libio/filedoalloc.c (_IO_file_doallocate): Use DEV_TTY_P if
632         available to determine whether descriptor is for tty before
633         calling isatty.
635         * sysdeps/unix/sysv/linux/device-nrs.h: Define DEV_TTY_P.
636         * sysdeps/generic/device-nrs.h: Likewise.
638 2001-07-18  Andreas Jaeger  <aj@suse.de>
640         * time/Makefile (tst-getdate-ENV): Add TZDIR to environment.
642         * time/Depend: New, add dependency on timezone.
644         * time/tst-getdate.c: Add testcase for bug report by Hendrik
645         Uhlmann <HUhlmann@stn-atlas.de>.
646         * time/datemsk: Likewise.
648 2001-07-17  Ulrich Drepper  <drepper@redhat.com>
650         * elf/ldconfig.c (parse_conf): Disable implicit locking for the
651         stream.  Remove some unnecessary initializers.
653 2001-07-17  Andreas Jaeger  <aj@suse.de>
655         * elf/ldconfig.c: Add new variable hwcap_mask to honour LD_HWCAP_MASK.
656         (is_hwcap_platform): Use it.
657         (set_hwcap): New function to set hwcap_mask.
658         (main): Call set_hwcap.
660 2001-07-17  Jakub Jelinek  <jakub@redhat.com>
662         * time/getdate.c (__getdate_r): Initialize tm_isdst, tm_gmtoff and
663         tm_zone before calling strptime.
665 2001-07-17  Andreas Schwab  <schwab@suse.de>
667         * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Fix last change.
669 2001-07-17  Ulrich Drepper  <drepper@redhat.com>
671         * inet/rcmd.c (iruserfopen): Disable implicit locking for the stream.
672         * inet/ruserpass.c (ruserpass): Likewise.
673         * nss/nsswitch.c (nss_parse_file): Likewise.
674         * resolv/res_hconf.c (_res_hconf_init): Likewise.
675         * resolv/res_init.c (__res_vinit): Likewise.
676         * gmon/bb_exit_func.c (__bb_exit_func): Likewise.
677         * misc/getpass.c (getpass): Likewise.
678         * misc/getusershell.c (initshells): Likewise.
679         * misc/getttyent.c (setttyent): Likewise.
680         * misc/mntent_r.c (__setmntent): Likewise.
681         * time/getdate.c (__getdate_r): Likewise.
682         * time/tzfile.c (__tzfile_read): Likewise.
683         * iconv/gconv_conf.c (read_conf_file): Likewise.
684         * intl/localealias.c (read_alias_file): Disable implicit locking
685         for the stream.  Use _unlocked functions for glibc.
686         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Disable
687         implicit locking for the stream.
688         (__get_nprocs_conf): Likewise.
689         (phys_pages_info): Likewise.
691 2001-07-16  Ulrich Drepper  <drepper@redhat.com>
693         * nscd/connections.c: Print messages caused by user application
694         only if debug_level > 0.  Add little performance improvements.
695         Use TEMP_FAILURE_RETRY around write calls.
696         * nscd/grpcache.c: Likewise.
697         * nscd/hstcache.c: Likewise.
698         * nscd/pwdcache.c: Likewise.
700 2001-07-13  H.J. Lu  <hjl@gnu.org>
702         * sysdeps/mips/dl-machine.h (MAP_BASE_ADDR): Removed.
703         (elf_machine_got_rel): Defined only if RTLD_BOOTSTRAP is not defined.
704         (RESOLVE_GOTSYM): Rewrite to use RESOLVE.
706         * sysdeps/mips/rtld-ldscript.in: Removed.
707         * sysdeps/mips/rtld-parms: Likewise.
708         * sysdeps/mips/mips64/rtld-parms: Likewise.
709         * sysdeps/mips/mipsel/rtld-parms: Likewise.
711 2001-07-16  Ulrich Drepper  <drepper@redhat.com>
713         * catgets/test-gencat.sh: Use <<"EOF" instead of <<EOF to prevent
714         substitution in here document.
716 2001-07-16  Andreas Schwab  <schwab@suse.de>
718         * sysdeps/posix/spawni.c: Fix typo when iterating over signal numbers.
720 2001-07-16  Andreas Schwab  <schwab@suse.de>
722         * math/libm-test.inc (check_float_internal): Fix sign bit test of
723         infinities.
725 2001-07-16  Jakub Jelinek  <jakub@redhat.com>
727         * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Make it PIC friendly.
729 2001-07-15  Ulrich Drepper  <drepper@redhat.com>
731         * malloc/obstack.c: Define __attribute__ for non-gcc compilers.
732         Patch by Jim Meyering <jim@meyering.net>.
734 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
736         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder
737         fields in the sigaction struct to match the definition in the kernel.
739 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
741         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the
742         test for ENOSYS.
744 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
746         * sysdeps/s390/s390-32/bits/setjmp.h: Add leading underscores
747         to the entries in the __jmp_buf structure.
748         * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
750 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
752         * sysdeps/s390/s390-32/bcopy.S: Use mvcle for big blocks
753         (> 64K) and a mvc loop for small blocks.
754         * sysdeps/s390/s390-32/memcpy.S: Likewise.
755         * sysdeps/s390/s390-64/bcopy.S: Likewise.
756         * sysdeps/s390/s390-64/memcpy.S: Likewise.
758 2001-07-15  Andreas Schwab  <schwab@suse.de>
760         * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: New file.
761         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: New file.
763         * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Check _dl_pagesize
764         first.  Default to 4096, not EXEC_PAGESIZE.
766         * iconv/loop.c (put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]:
767         Fix index.
769 2001-07-09  Andreas Jaeger  <aj@suse.de>
771         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2.
773         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM,
774         HWCAP_I386_XMM2 to enum.
776 2001-07-13  Andreas Jaeger  <aj@suse.de>
778         * libio/fileops.c: Include unistd.h for lseek64 prototype.  Closes
779         PR libc/2372.
781 2001-07-12  Ulrich Drepper  <drepper@redhat.com>
783         * Makeconfig: Add some more changes to handle AIX linker better.
785 2001-07-12  H.J. Lu  <hjl@gnu.org>
787         * sysdeps/generic/segfault.c: Include <errno.h>.
789 2001-07-01  Andreas Jaeger  <aj@suse.de>
791         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate
792         sbrk.  Closes PR libc/2312.
794 2001-07-01  Andreas Jaeger  <aj@suse.de>
796         * sysdeps/generic/segfault.c (install_handler): Handle case that
797         the output file does not exists.  Closes PR libc/2345.
799 2001-07-11  Ulrich Drepper  <drepper@redhat.com>
801         * intl/locale.alias: Use he language code for hebrew, not il
802         [PR libc/2382].
804 2001-07-11  Jakub Jelinek  <jakub@redhat.com>
806         * iconv/gconv_int.h: Fix comment typo.
808 2001-07-11  Igor Khavkine  <i_khavki@alcor.concordia.ca>
810         * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.
812 2001-07-07  Roland McGrath  <roland@frob.com>
814         * hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0.
816 2001-07-10  Stephen L Moshier  <moshier@mediaone.net>
818         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl):  Fix
819         backwards conditional in test for x == 1.0.
821 2001-07-10  Andreas Jaeger  <aj@suse.de>
823         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh
824         (-0.7).
826 2001-07-09  Andreas Jaeger  <aj@suse.de>
828         * sysdeps/unix/sysv/linux/configure.in: Revert patch from
829         2001-07-05 for sysconfdir handling.
830         * config.make.in (sysconfdir): Likewise.
831         * configure.in: Likewise.
833         * configure.in: Always assign libc_cv_sysconfdir.
835 2001-07-08  Ulrich Drepper  <drepper@redhat.com>
837         * Makerules [AIX] (build-shlib-helper): Precede linker options
838         with -Wl.
840         * Makeconfig (config-LDFLAGS): Add ld.so only for ELF.
842         * sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to
843         what we define in <stdio.h>.
845         * iconv/iconv_prog.c (main): Don't unconditionally define
846         variables only use if _POSIX_MAPPED_FILES is defined.
848         * sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type.
849         * sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.
851         * sysdeps/unix/sysv/aix/recv.c: New file.
853         * sysdeps/unix/sysv/aix/recvfrom.c: Fix various types.
855 2001-07-07  Ulrich Drepper  <drepper@redhat.com>
857         * sysdeps/generic/recv.c: Fix return type.
859         * sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo.
861         * sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add
862         declarations for asm functions.
864         * include/libc-symbols.h: Provide more dummy definitions for the
865         case if GNU ld isn't used.
867         * libio/freopen.c: Include <stdlib.h> for free declaration.
868         * libio/freopen64.c: Likewise.
870         * sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
872 2001-07-06  Jakub Jelinek  <jakub@redhat.com>
874         * sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm
875         explicitly into .text section.
877 2001-04-16  Jes Sorensen  <jes@linuxcare.com>
879         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
880         Add 16 longwords reserved for future use to match changes in the
881         kernel.
883 2001-07-03  Jes Sorensen  <jes@trained-monkey.org>
885         * sysdeps/ia64/strncpy.S: Call strnlen() when determining the
886         string length rather than strlen(). Solves the performance problem
887         of doing strlen on a 5MB string when strncpy was called with a
888         length argument of 5 bytes.
890 2001-07-02  Jakub Jelinek  <jakub@redhat.com>
892         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
893         R_SPARC_UA16 and R_SPARC_UA32.
894         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
896 2001-07-01  Stephen L Moshier  <moshier@mediaone.net>
898         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl):
899         acosh(x) = ln(2x) if x > 2^30.
900         * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
901         acosh(x) = ln(2x) if x > 2^54.
903 2001-07-07  Mark Kettenis  <kettenis@gnu.org>
905         * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal):
906         Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and
907         KERN_WRITE_PROTECTION_FAILURE.
909 2001-07-07  Ulrich Drepper  <drepper@redhat.com>
911         * posix/regex.c: Limit string length printed in debug messages to
912         100 chars.
914         * configure.in: Don't warn about versioning if not on ELF system.
916 2001-07-07  Andreas Jaeger  <aj@suse.de>
918         * sysdeps/*: Put files from GNU MP Library under LGPL v2.1.
920 2001-07-06  Ulrich Drepper  <drepper@redhat.com>
922         * po/gl.po: Update from translation team.
924 2001-07-06  Andreas Jaeger  <aj@suse.de>
926         * sysdeps/unix/sysv/linux/configure.in: Fix handling of
927         sysconfdir.
929         * manual/libc-texinfo.sh: Add note for the FDL.
931         * manual/argp.texi (Argp Example 4): Fix texinfo warning.
933         * manual/libc.texinfo: Regenerated.
935         * manual/fdl.texi: Fix node.
937         * config.make.in (sysconfdir): Replace correctly.
938         Closes PR libc/2369, reported by Peter Simons <simons@cryp.to>.
940         * sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no
941         longer needed.
943         * sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add
944         case for alpha.
945         Rework handling of missing linuxthreads add-on.
947         * configure.in: Remove unused sysconfdir substitution.
949         * manual/Makefile (texis): Add fdl.texi.
950         * manual/fdl.texi: New.
951         * manual/socket.texi (Host Names): Improve grammar, fix overflow hbox.
952         * manual/libc.texinfo: Add fdl, update titlepage.
953         Patches by Brian Youmans <3diff@gnu.org>.
955         * sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for
956         generated file.
958 2001-07-06  Paul Eggert  <eggert@twinsun.com>
960         * manual/argp.texi: Remove ignored LGPL copyright notice; it's
961         not appropriate for documentation anyway.
962         * manual/libc-texinfo.sh: "Library General Public License" ->
963         "Lesser General Public License".
964         * COPYING: Fix Y2k bug in sample copyright notices.
965         * manual/lesser.texi: Renamed from manual/lgpl.texinfo,
966         as fsf.org uses the name "lesser.texi".
967         * manual/Makefile (texis): Follow rename.
969 2001-07-06  Andreas Jaeger  <aj@suse.de>
971         * All files under GPL/LGPL version 2: Place under LGPL version
972         2.1.
974 2001-07-05  Andreas Jaeger  <aj@suse.de>
976         Synch with Linux 2.4.6:
977         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
978         New.
979         (AF_BLUETOOTH): New.
981         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
982         (PF_BLUETOOTH): New.
983         (AF_BLUETOOTH): New.
985         * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
986         (PF_BLUETOOTH): New.
988         * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
989         (PF_BLUETOOTH): New.
991         * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
992         (AF_BLUETOOTH): New.
994         * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
995         (AF_BLUETOOTH): New.
997         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.
999         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.
1001         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.
1003         * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
1005 2001-07-04  Roland McGrath  <roland@frob.com>
1007         * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
1008         wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
1009         rather than doing a mach_port_insert_right call first.
1011 2001-06-26  Roland McGrath  <roland@frob.com>
1013         * hurd/hurdioctl.c: Include <string.h> for memcpy decl.
1015 2001-07-03  Andreas Jaeger  <aj@suse.de>
1017         * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for
1018         crypt add-on.
1020 2001-07-01  Mark Kettenis  <kettenis@gnu.org>
1022         * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
1023         the Hurd pfinet server, using equivalent code from the Linux
1024         version in sysdeps/unix/sysv/linux/if_index.c. In detail:
1025         Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
1026         <hurd/pfinet.h>.  Don't include <sys/mman.h> and <hurd/fsys.h>
1027         anymore.
1028         (if_nametoindex): New implementation using SIOCGIFINDEX.
1029         (if_freenameindex): Straight copy of the Linux version.
1030         (if_nameindex): New implementation based on pfinet_siocgifconf and
1031         SIOCGIFINDEX.
1032         (if_indextoname): New implementation using SIOCGIFNAME.
1033         (map_interfaces): Function removed.
1034         From Marcus Brinkmann <marcus@gnu.org>.
1036 2001-06-30  Jakub Jelinek  <jakub@redhat.com>
1038         * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
1039         gaps below main executable.
1041 2001-06-19  Andreas Jaeger  <aj@suse.de>
1043         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
1044         Handle profiling.
1046 2001-06-29  Andreas Jaeger  <aj@suse.de>
1048         * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
1049         Patch by Stephen L Moshier <moshier@mediaone.net>.
1051 2001-06-28  Ulrich Drepper  <drepper@redhat.com>
1053         * manual/argp.texi: Tons of cleanups.
1054         Patch by Clifford U. Smith <cuel@swbell.net>.
1056 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
1058         * manual/users.texi (Setting Groups): Correct initgroups
1059         documentation.  Add documentation for getgrouplist.
1061 2001-06-28  H.J. Lu  <hjl@gnu.org>
1063         * locale/findlocale.c (locale_file_list): Renamed to ...
1064         (_nl_locale_file_list): This.  Make it extern.
1065         (free_mem): Move to ...
1066         * locale/setlocale.c (free_mem): Here.
1068 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
1070         * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
1071         (__libc_read): Don't call __pread.  Use _hurd_fd_read directly
1072         instead.
1073         * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
1074         (__libc_write): Don't call __pwrite.  Use _hurd_fd_write directly
1075         instead.
1077         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
1078         -Wl,-soname option lost in 2001-06-16 change.
1080 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
1082         * posix/tst-regex.c: Pass REG_NEWLINE to regcomp.  Add extra tests.
1083         Restrict printing of string in debug mode to 100 characters to make
1084         the output useful for long input texts.
1086         * posix/Makefile: Add rules to build and run tst-regex.
1088 2001-06-20  Isamu Hasegawa  <isamu@yamato.ibm.com>
1090         * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
1091         (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
1092         (wcs_re_match_2_internal): Check whether the wcs buffers need
1093         seting up or not, and skip seting up routin if not needed.
1095 2001-06-26  Isamu Hasegawa  <isamu@yamato.ibm.com>
1097         * posix/regex.c (count_mbs_length): Use binary search for optimization.
1099 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
1101         * posix/tst-regex.c: Fix several bugs.  Add more tests.
1103 2001-06-26  Mark Kettenis  <kettenis@gnu.org>
1105         * hurd/Makefile (user-interfaces): Add pfinet.
1106         * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
1107         <netinet/in.h>.
1108         (siocgifconf): New function.  Register it with HURD_HANDLE_IOCTL
1109         as the handler for SIOCGIFCONF.
1110         * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
1111         SIOCGIFFLAGS to be of IOC type ifreq_short.  Modify SIOCSIFMETRIC
1112         and SIOCGIFMETRIC to be of IOC type ifreq_int.  Add new macro
1113         definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
1114         SIOCGIFNAME.
1115         From Marcus Brunkmann <marcus@gnu.org>.
1117 2001-06-25  Ulrich Drepper  <drepper@redhat.com>
1119         * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
1120         and _IOT_ifreq_int.  Patch by Mark Kettenis <kettenis@wins.uva.nl>.
1122         * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
1123         _dl_catch_error calls.
1125 2001-06-22  Jakub Jelinek  <jakub@redhat.com>
1127         * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
1128         typos.
1130 2001-06-01  Wolfram Gloger  <wg@malloc.de>
1132         * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
1133         ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
1134         when malloc_atfork is in use.
1136 2001-06-22  Andreas Jaeger  <aj@suse.de>
1138         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
1139         to avoid warnings.
1141         * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
1142         variable.
1143         Add unused attributes to avoid warnings.
1145         * elf/reldep4mod4.c: Add prototype to avoid warning.
1146         * elf/reldep4mod2.c: Likewise.
1148         * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
1149         prototypes.
1151 2001-06-18  Roland McGrath  <roland@frob.com>
1153         * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
1155 2001-06-20  Alexandre Oliva  <aoliva@redhat.com>
1157         * sysdeps/unix/sysv/settimeofday.c: Include time.h.
1159 2001-06-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1161         * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
1163 2001-05-09  Michael Keezer  <mkeezer@redhat.com>
1165         * Makeconfig: Added AIX-ld support for DSO.
1166         * Makerules: Likewise.
1167         * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
1168         (defaultmod2.so): Likewise.
1169         * debug/Makefile: Conditionalize use of elf/ld.so.
1170         * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
1172         * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
1173         * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
1174         (f/g)prrest(0/1) static only.
1175         * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
1176         * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
1177         shared.
1178         * sysdeps/unix/sysv/aix/setitimer.c: New file.
1179         * sysdeps/unix/sysv/aix/sleep.c: New file.
1180         * sysdeps/unix/sysv/aix/usleep.c: New file.
1181         * sysdeps/unix/sysv/aix/dl-addr.c: New file.
1182         * sysdeps/unix/sysv/aix/dl-error.c: New file.
1183         * sysdeps/unix/sysv/aix/dl-support.c: New file.
1184         * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
1186 2001-06-19  Ulrich Drepper  <drepper@redhat.com>
1188         * po/es.po: Update from translation team.
1190 2001-06-19  Andreas Jaeger  <aj@suse.de>
1192         * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
1194         * math/libm-test.inc (tanh_test): Test for 2^-56.
1196         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
1197         equals argument when x < 2^-55.
1198         Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1200 2001-06-17  Alan Modra  <amodra@bigpond.net.au>
1202         * sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs
1203         at unaligned address.
1205 2001-06-18  Ulrich Drepper  <drepper@redhat.com>
1207         * posix/regex.c: Reorganize code to build code twice, once for single
1208         byte, once for multi-byte charsets.  Choose function set adequate for
1209         locale at runtime.
1210         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
1212         * po/nl.po: Update from translation team.
1214 2001-06-09  Bruno Haible  <haible@clisp.cons.org>
1216         * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
1217         (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
1218         * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
1220 2001-05-26  Bruno Haible  <haible@clisp.cons.org>
1222         * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
1223         * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
1225 2001-06-17  Roland McGrath  <roland@frob.com>
1227         * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
1228         not LIO_READ + 1 (which is the value of LIO_WRITE!).
1230         * Makerules (build-module-helper-objlist): New variable,
1231         broken out of build-module.  Insert --whole-archive/--no-whole-archive
1232         immediately each *_pic.a file in the link object list.
1233         (whole-archive): New variable, used by that.
1234         (build-module-objlist): New variable using build-module-helper-objlist.
1235         (build-module, build-module-helper): Use it.
1236         (build-shlib-objlist): New variable using build-module-helper-objlist.
1237         (build-shlib): Use that.
1238         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
1240         * posix/spawni.c: Moved to ...
1241         * sysdeps/posix/spawni.c: ... here.
1242         * sysdeps/generic/spawni.c: New file.
1244 2001-06-16  Roland McGrath  <roland@frob.com>
1246         * hurd/Makefile (routines): Add lookup-retry.
1247         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
1248         * hurd/lookup-retry.c: ... into here, new file.
1249         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
1250         using of duplicate code here.
1252         * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
1254 2001-06-17  Ulrich Drepper  <drepper@redhat.com>
1256         * po/ja.po: Update from translation team.
1258 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
1260         * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
1261         compare_files): New functions.
1262         (write_locale_data): Use xmalloc.  Compare the file with the locale
1263         data files for the same category in other locales, and reuse it if
1264         possible and safe.
1266 2001-06-07  Mark Kettenis  <kettenis@gnu.org>
1268         * grp/initgroups.c (initgroups): Factor out re-usable code into...
1269         (internal_getgrouplist): ... new function.
1270         (getgrouplist): New function.
1271         * grp/grp.h (getgrouplist): New prototype.
1272         * grp/Versions [2.2.4]: Add getgrouplist.
1274 2001-06-16  Ulrich Drepper  <drepper@redhat.com>
1276         * inet/netinet/ip6.h: Fix comments in ip6_hdr.
1277         Patch by Pekka Savola <pekkas@netcore.fi>.
1279 2001-06-15  Roland McGrath  <roland@frob.com>
1281         * rt/Makefile (aio-routines, clock-routines, timer-routines): New
1282         variables, broken out of librt-routines.
1283         (librt-routines): Set using those.
1284         (extra-libs, extra-libc-others, tests): Set these unconditionally.
1285         (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
1286         * sysdeps/generic/aio_fsync.c: New file.
1287         * sysdeps/generic/aio_misc.c: New file.
1288         * sysdeps/generic/aio_write.c: New file.
1289         * sysdeps/generic/aio_write64.c: New file.
1290         * sysdeps/generic/aio_read64.c: New file.
1291         * sysdeps/generic/aio_read.c: New file.
1292         * sysdeps/generic/aio_notify.c: New file.
1293         * sysdeps/generic/lio_listio64.c: New file.
1294         * sysdeps/generic/lio_listio.c: New file.
1295         * sysdeps/generic/aio_cancel.c: New file.
1296         * sysdeps/generic/aio_misc.h: New file.
1297         * sysdeps/generic/aio_suspend.c: New file.
1298         * rt/aio_cancel.c: Moved to ...
1299         * sysdeps/pthread/aio_cancel.c: ... here.
1300         * rt/aio_fsync.c: Moved to ...
1301         * sysdeps/pthread/aio_fsync.c: ... here.
1302         * rt/aio_misc.c: Moved to ...
1303         * sysdeps/pthread/aio_misc.c: ... here.
1304         * rt/aio_misc.h: Moved to ...
1305         * sysdeps/pthread/aio_misc.h: ... here.
1306         * rt/aio_notify.c: Moved to ...
1307         * sysdeps/pthread/aio_notify.c: ... here.
1308         * rt/aio_read.c: Moved to ...
1309         * sysdeps/pthread/aio_read.c: ... here.
1310         * rt/aio_read64.c: Moved to ...
1311         * sysdeps/pthread/aio_read64.c: ... here.
1312         * rt/aio_suspend.c: Moved to ...
1313         * sysdeps/pthread/aio_suspend.c: ... here.
1314         * rt/aio_write.c: Moved to ...
1315         * sysdeps/pthread/aio_write.c: ... here.
1316         * rt/aio_write64.c: Moved to ...
1317         * sysdeps/pthread/aio_write64.c: ... here.
1318         * rt/lio_listio.c: Moved to ...
1319         * sysdeps/pthread/lio_listio.c: ... here.
1320         * rt/lio_listio64.c: Moved to ...
1321         * sysdeps/pthread/lio_listio64.c: ... here.
1323 2001-06-14  Roland McGrath  <roland@frob.com>
1325         * configure.in: Let sysdeps Implies files in add-ons bring in
1326         sysdeps directories from the main source and other add-ons too.
1328 2001-06-15  Jakub Jelinek  <jakub@redhat.com>
1330         * math/test-misc.c (main): Add tests for nextafter and nexttoward
1331         with +-Inf as second argument.
1333         * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
1334         NaN, not Inf.
1335         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
1336         * sysdeps/i386/fpu/s_nexttoward.c: New.
1337         * sysdeps/i386/fpu/s_nexttowardf.c: New.
1338         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
1339         check for NaN, optimize x==+-0 handling.
1340         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
1341         * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
1342         check for NaN, fix sign in x==+-0 case.
1343         * sysdeps/ia64/fpu/s_nexttoward.c: New.
1344         * sysdeps/ia64/fpu/s_nexttowardf.c: New.
1346 2001-06-15  H.J. Lu  <hjl@gnu.org>
1348         * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
1349         * rt/tst-aio3.c (do_test): Likewise.
1350         * rt/tst-aio4.c (do_test): Likewise.
1351         * rt/tst-aio5.c (do_test): Likewise.
1352         * rt/tst-aio6.c (do_test): Likewise.
1354 2001-06-15  Andreas Schwab  <schwab@suse.de>
1356         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
1357         * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
1359 2001-06-15  Andreas Jaeger  <aj@suse.de>
1361         * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
1363 2001-06-14  Andreas Schwab  <schwab@suse.de>
1365         * elf/ldconfig.c (search_dir): Fix check for regular file.
1367         * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
1368         * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
1370 2001-06-14  Roland McGrath  <roland@frob.com>
1372         * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
1373         (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
1375 2001-06-13  Roland McGrath  <roland@frob.com>
1377         * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
1379         * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
1380         so the label is not considered unused.
1382         * sysdeps/mach/hurd/pwrite64.c: New file.
1383         * sysdeps/mach/hurd/pread64.c: New file.
1385         * sysdeps/mach/hurd/pread.c
1386         (__libc_pread): Define this name, with __pread as an alias.
1387         * sysdeps/mach/hurd/pwrite.c
1388         (__libc_pwrite): Define this name, with __pwrite as an alias.
1390         Implement POSIX "shared memory objects" as regular
1391         files residing in the /var/run/shm/ directory.
1392         This works on any system that supports _POSIX_MAPPED_FILES,
1393         to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
1394         * sysdeps/posix/shm_open.c: New file.
1395         * sysdeps/posix/shm_unlink.c: New file.
1396         * sysdeps/mach/hurd/bits/posix_opt.h
1397         (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
1399         * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
1400         Use raise instead of __aio_sigqueue.
1402         * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
1403         * sysdeps/mach/hurd/pwrite.c: Likewise.
1405         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
1406         [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
1407         as default version set.
1409 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
1411         * libio/iolibio.h (_IO_freopen): Correct last parameter to
1412         _IO_file_open.
1413         (_IO_freopen64): Likewise.
1414         Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
1416         * elf/elf.h: Add a few more EM_* constants.
1418 2001-06-12  Bruno Haible  <haible@clisp.cons.org>
1420         * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
1422 2001-06-09  Ben Collins  <bcollins@debian.org>
1424         * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
1425         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1426         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1427         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1428         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1429         * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
1430         hardcoded B400000.
1432 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
1434         * time/sys/time.h: Don't use enum __itimer_which ever for
1435         __itimer_which_t for C++.
1436         Reported by Martin Buchholz <martin@xemacs.org>.
1438         * po/fr.po: Update from translation team.
1440 2001-06-12  H.J. Lu  <hjl@gnu.org>
1442         * configure.in: Fix typos in missing program names.
1443         * configure: Regenerated.
1445 2001-06-12  Andreas Jaeger  <aj@suse.de>
1447         * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
1449         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1451 2001-06-11  Andreas Jaeger  <aj@suse.de>
1453         * sysdeps/ieee754/ldbl-128/e_coshl.c: New file.  Contributed by
1454         Stephen L Moshier <moshier@mediaone.net>.
1456         * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
1458         * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1459         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1461 2001-06-11  Michael Deutschmann  <michael@talamasca.ocis.net>
1463         * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
1464         Use my_signo instead of MY_SIGNO and initialize it so that the
1465         used signal is always available.
1467 2001-06-11  Andreas Jaeger  <aj@suse.de>,
1468             Michael Deutschmann  <michael@talamasca.ocis.net>
1470         * io/test-lfs.c (do_prepare): Clean up error messages.
1471         (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
1472         (do_test): Likewise.
1474 2001-06-11  Andreas Jaeger  <aj@suse.de>
1476         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
1477         IMAXBEL): Make always visible since they're needed by POSIX.
1478         Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
1480 2001-06-10  Ben Collins  <bcollins@debian.org>
1482         * sysdeps/arm/elf/start.S: Use #function, not @function, for
1483         .type of _start.
1485         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
1486         INT_MAX.
1488 2001-06-07  H.J. Lu  <hjl@gnu.org>
1490         * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
1492 2001-06-10  Roland McGrath  <roland@frob.com>
1494         * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
1495         * elf/reldep4mod4.c: Likewise.
1497 2001-06-10  Mark Kettenis  <kettenis@gnu.org>
1499         * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
1501 2001-06-08  Andreas Schwab  <schwab@suse.de>
1503         * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
1504         Don't dereference at end of string.
1506 2001-06-06  Roland McGrath  <roland@frob.com>
1508         * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
1509         From Robert Bihlmeyer <robbe@orcus.priv.at>.
1511 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1513         * po/ko.po: Update from translation team.
1515 2001-06-06  Andreas Jaeger  <aj@suse.de>
1517         * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
1518         offset+length-1.
1519         Reported by Robert Bernecky <bernecky@acm.org>.
1521 2001-06-06  Jakub Jelinek  <jakub@redhat.com>
1523         * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
1524         * sysdeps/ia64/elf/start.S: Likewise.
1525         * sysdeps/sh/elf/start.S: Likewise.
1526         * sysdeps/s390/s390-32/elf/start.S: Likewise.
1527         * sysdeps/s390/s390-64/elf/start.S: Likewise.
1529 2001-06-05  Matthew Wilcox  <willy@ldl.fc.hp.com>
1531         * sysdeps/hppa/bsd-_setjmp.S: New.
1532         * sysdeps/hppa/bsd-setjmp.S: New.
1534         * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
1535         gcc warnings about multi-line strings.
1537         * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
1538         * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
1540         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
1541         setrlimit directly instead of using wrappers.
1543 2001-05-01  Richard Hirst  <rhirst@linuxcare.com>
1545         * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
1546         * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
1548 2001-06-05  Philipp Thomas  <pthomas@suse.de>
1550         * nis/nis_call.c (__nisbind_connect): Don't mark for translation
1551         what can't be translated.
1553 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1555         * timezone/zic.c: Update from tzcode2001c.
1556         * timezone/private.h: Likewise.
1557         * timezone/africa: Update from tzdata2001c.
1558         * timezone/asia: Likewise.
1559         * timezone/europe: Likewise.
1560         * timezone/northamerica: Likewise.
1561         * timezone/southamerica: Likewise.
1562         * timezone/zone.tab: Likewise.
1564 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
1566         * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
1567         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
1568         UNICODE_TAG_HANDLER.
1569         (__gconv_transform_internal_ucs2): Likewise.
1570         (__gconv_transform_internal_ucs2reverse): Likewise.
1571         * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
1572         * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
1573         * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
1574         * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
1575         * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
1576         * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
1577         * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
1578         * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
1579         * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
1580         * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
1581         * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
1582         * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
1583         * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
1584         * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
1585         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1586         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1587         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1588         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1589         * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
1590         * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
1591         * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
1592         * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
1593         * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
1594         * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
1595         * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
1596         * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
1597         * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
1598         * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
1599         * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
1600         * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
1601         * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
1602         * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
1603         TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
1604         TAG_language_zh, CURRENT_TAG_MASK): New enum values.
1605         (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
1606         is already selected but set2 or tag are set.
1607         (conversion): New enum type.
1608         (cvlist_t): New type.
1609         (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
1610         (conversion_lists): New array.
1611         (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag.  If "ja",
1612         prefer conversion to Japanese character sets.  If "zh", prefer
1613         conversion to GB2312.  If "ko", prefer conversion to KSC5601.  Small
1614         optimizations.
1615         (INIT_PARAMS): Add tag.
1616         (UPDATE_PARAMS): Add tag.
1618 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
1620         * locale/programs/locfile.c (write_locale_data): Before creat(),
1621         unlink the file, to avoid crashing the processes that mmap it.  Change
1622         a double slash to a single slash.  Free fname in case of error return.
1624 2001-06-02  Jakub Jelinek  <jakub@redhat.com>
1626         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
1627         changes, do the special handling for denormal numbers, not for
1628         normalized numbers (patch by <trevin@xmission.com>).
1630         * math/test-misc.c (main): Test frexpl with denormal arguments.
1632 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1634         * math/libm-test.inc (llround_test): Add two new llround tests.
1635         * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
1636         overflow when rounding away from zero.
1638 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1640         * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
1641         * math/math_private.h (__ieee754_log2, __ieee754_log2f,
1642         __ieee754_log2l): New prototypes.
1643         * sysdeps/generic/w_log2.c: New file.
1644         * sysdeps/generic/w_log2f.c: New file.
1645         * sysdeps/generic/w_log2l.c: New file.
1646         * sysdeps/generic/s_log2l.c: Move...
1647         * sysdeps/generic/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
1648         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
1649         and log2(x < 0).
1650         * sysdeps/i386/fpu/s_log2.S: Move...
1651         * sysdeps/i386/fpu/e_log2.S: ...to here.  Rename to __ieee754_log2.
1652         * sysdeps/i386/fpu/s_log2f.S: Move...
1653         * sysdeps/i386/fpu/e_log2f.S: ...to here.  Rename to __ieee754_log2f.
1654         * sysdeps/i386/fpu/s_log2l.S: Move...
1655         * sysdeps/i386/fpu/e_log2l.S: ...to here.  Rename to __ieee754_log2l.
1656         * sysdeps/m68k/fpu/s_log2.c: Move...
1657         * sysdeps/m68k/fpu/e_log2.c: ...to here.  Rename to __ieee754_log2.
1658         * sysdeps/m68k/fpu/s_log2f.c: Move...
1659         * sysdeps/m68k/fpu/e_log2f.c: ...to here.  Rename to __ieee754_log2f.
1660         * sysdeps/m68k/fpu/s_log2l.c: Move...
1661         * sysdeps/m68k/fpu/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
1662         * sysdeps/ieee754/dbl-64/s_log2.c: Move...
1663         * sysdeps/ieee754/dbl-64/e_log2.c: ...to here.  Rename to
1664         __ieee754_log2.
1665         * sysdeps/ieee754/flt-32/s_log2f.c: Move...
1666         * sysdeps/ieee754/flt-32/e_log2f.c: ...to here.  Rename to
1667         __ieee754_log2f.
1669 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1671         * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
1672         even arguments which result in denormalized exp2 are accepted.
1673         (__exp2): Arguments equal to u_threshold already result into
1674         underflow.
1675         * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
1676         * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
1677         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
1678         low, with corrected lowmark use greaterequal, not greater.
1679         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1681 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1683         * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
1684         * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
1685         * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
1686         * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
1687         * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
1688         * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
1689         * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
1690         * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
1692 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1694         * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
1695         gave non-finite result instead of using constant in generic
1696         version.
1697         * sysdeps/generic/w_coshf.c (__coshf): Likewise.
1698         * sysdeps/generic/w_cosh.c (__cosh): Likewise.
1699         * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
1700         (__exp10): Test if finite argument gave non-finite result.
1701         * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
1702         Likewise.
1703         * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
1704         Likewise.
1706 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1708         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
1709         overflow threshold constant (log(LDBL_MAX)+M_LN2l).
1711 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1713         * locale/programs/ld-ctype.c (idx_table): New struct type.
1714         (idx_table_init, idx_table_get, idx_table_add): New functions.
1715         (MAX_CHARNAMES_IDX): Remove macro.
1716         (locale_ctype_t): Change type of charnames_idx field.
1717         (ctype_startup): Change initialization of charnames_idx field.
1718         (find_idx): Use idx_table_get and idx_table_add for speed.
1720         * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
1721         computation of characters in a range.
1723 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1725         * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
1726         <U03F5>.
1727         (__ucs_to_gb18030_tab1): Likewise.
1728         (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
1729         (BODY for TO_LOOP): Likewise.
1730         * iconvdata/tst-table-charmap.sh: Update for charmaps containing
1731         <U00xxxxxx> syntax.
1732         * iconvdata/tst-table-from.c (bmp_only): New variable.
1733         (utf8_decode): If bmp_only, don't return characters outside Unicode
1734         plane 0.
1735         (main): When testing UTF-8 or GB18030, set bmp_only to 1.  Don't print
1736         a conversion line if utf8_decode returns NULL.
1737         * iconvdata/tst-table-to.c (main): When testing encodings other than
1738         UTF-8 and GB18030, loop upto U+30000 instead of U+10000.  Use UTF-8
1739         instead of UCS-2 as input.
1740         * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
1741         of the charmap.
1743 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1745         * iconvdata/cns11643l1.c: Update to Unicode 3.1.
1746         (__cns11643l1_to_ucs4_tab): Regenerated.
1747         (__cns11643l1_from_ucs4_tab12): Regenerated.
1748         * iconvdata/cns11643.c: Update to Unicode 3.1.
1749         (__cns11643l14_to_ucs4_tab): Remove array.
1750         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
1751         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
1752         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
1753         (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
1754         (__cns11643_from_ucs4p2_tab): New array.
1755         * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
1756         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
1757         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
1758         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
1759         (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
1760         (__cns11643_from_ucs4_tab): Remove declaration.
1761         (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
1762         declarations.
1763         (ucs4_to_cns11643): Update for new arrays.  Treat U+3400..U+4DFF and
1764         U+20000..U+2A6D6.
1765         * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
1766         declaration.
1767         (__cns11643_from_ucs4p0_tab): New declaration.
1768         (ucs4_to_cns11643l2): Update for new arrays.
1769         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
1770         3 to 7.
1771         (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
1772         * iconvdata/EUC-TW.irreversible: New file.
1773         * iconvdata/tst-table.sh: Use it.
1774         * iconvdata/Makefile (distribute): Add CP1255.irreversible,
1775         CP1258.irreversible, EUC-TW.irreversible.
1777 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1779         * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
1780         mathematical symbols.
1782 2001-06-05  Andreas Jaeger  <aj@suse.de>
1784         * manual/stdio.texi (Portable Positioning): Fix description of
1785         fpos_t and fpos64_t.
1787 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1789         * sysdeps/generic/wordexp.c: Undo last patch.  Use strndupa instead.
1791         * po/sk.po: Update from translation team.
1793 2001-06-05  Andreas Jaeger  <aj@suse.de>
1795         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
1796         tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
1797         Closes PR libc/2315.
1799 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
1801         * sysdeps/generic/wordexp.c: Add missing free.
1802         Patch by yeti@physics.muni.cz.
1804 2001-06-02  Tom Browder  <tbrowder@home.com>
1806         * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
1807         within bounds when lag > 0.
1809 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
1811         * po/tr.po: New file.
1813 2001-06-05  Andreas Jaeger  <aj@suse.de>
1815         * manual/libm-err-tab.pl (parse_ulps): Fix typo.
1817 2001-06-04  H.J. Lu  <hjl@gnu.org>
1819         * sysdeps/alpha/elf/start.S: Add .type for the entry point.
1820         * sysdeps/arm/elf/start.S: Likewise.
1821         * sysdeps/hppa/elf/start.S: Likewise.
1822         * sysdeps/i386/elf/start.S: Likewise.
1823         * sysdeps/m68k/elf/start.S: Likewise.
1824         * sysdeps/mips/elf/start.S: Likewise.
1825         * sysdeps/ia64/elf/start.S: Likewise.
1826         * sysdeps/sh/elf/start.S: Likewise.
1827         * sysdeps/s390/s390-32/elf/start.S: Likewise.
1828         * sysdeps/s390/s390-64/elf/start.S: Likewise.
1829         * sysdeps/cris/elf/start.S: Likewise.
1831 2001-06-04  Bruce Mitchener  <bruce@cubik.org>
1833         * manual/resource.texi: Correct setpriority/nice documentation.
1835         * sysdeps/unix/nice.c: Correct nice() implementation.
1837 2001-06-04  Andreas Jaeger  <aj@suse.de>
1839         * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
1840         Stephen L Moshier <moshier@mediaone.net>.
1842 2001-06-03  Roland McGrath  <roland@frob.com>
1844         * Makefile (postclean): Remove obsolete sysd-Makefile.
1846 2001-06-01  Roland McGrath  <roland@frob.com>
1848         * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
1849         and use compat_symbol/versioned_symbol instead of plain
1850         symbol_version/default_symbol_version.
1851         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
1852         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
1853         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
1854         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
1855         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
1856         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
1857         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
1858         * sysdeps/arm/fpu/fegetenv.c: Likewise.
1859         * sysdeps/arm/fpu/fesetenv.c: Likewise.
1860         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
1861         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
1862         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
1863         * sysdeps/i386/fpu/fegetenv.c: Likewise.
1864         * sysdeps/i386/fpu/fesetenv.c: Likewise.
1865         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
1866         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
1867         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1868         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1869         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
1870         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
1871         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
1872         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
1873         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
1874         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
1875         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
1876         * sysdeps/powerpc/fclrexcpt.c: Likewise.
1877         * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
1878         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1879         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1880         * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
1881         * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
1882         * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
1884         * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
1885         * iconvdata/iso-2022-cn-ext.c: Likewise.
1887 2001-06-01  Andreas Jaeger  <aj@suse.de>
1889         * Versions.def: Add version 2.2.4.
1891 2001-06-01  Ulrich Drepper  <drepper@redhat.com>
1893         * socket/Makefile (routines): Add sockatmark.
1894         * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
1895         * socket/sys/socket.h: Add prototype for sockatmark.
1896         * sysdeps/generic/sockatmark.c: New file.
1897         * sysdeps/unix/sockatmark.c: New file.
1899 2001-06-01  Andreas Jaeger  <aj@suse.de>
1901         * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
1902         B4000000.
1903         (cfsetospeed): Likewise.
1904         Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
1906 2001-05-31  Joseph S. Myers  <jsm28@cam.ac.uk>
1908         * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
1910 2001-05-30  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1912         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
1913         needs to have the same aligment as the kernel structure.
1915 2001-05-29  Jakub Jelinek  <jakub@redhat.com>
1917         * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
1918         u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
1919         * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
1920         u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
1921         against multiple definition.
1923 2001-05-30  Ulrich Drepper  <drepper@redhat.com>
1925         * po/da.po: Update from translation team.
1927 2001-05-29  Andreas Jaeger  <aj@suse.de>
1929         * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
1930         Stephen L Moshier <moshier@mediaone.net>.
1932         * math/libm-test.inc (sinh_test): Add new test case.
1934         * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
1935         x when x < 2^-32.
1936         Patch by Stephen L Moshier <moshier@mediaone.net>.
1938 2001-05-23  Andreas Jaeger  <aj@suse.de>
1940         * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
1941         * iconvdata/testdata/WINDOWS-1255..UTF8: this.
1943 2001-05-27  Andreas Jaeger  <aj@suse.de>
1945         * manual/stdio.texi (String Streams): Fix fmemopen description.
1946         Reported by Michal Kochanowicz <michal@michal.waw.pl>.
1948 2001-05-26  H.J. Lu <hjl@gnu.org>
1950         * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
1951         to s_sigsuspend.  Add s_mmap2.
1953         * sysdeps/mips/atomicity.h: New file.
1955         * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
1957         * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
1958         back __key.
1960 2001-05-25  Bruce Mitchener  <bruce@cubik.org>
1962         * manual/ctype.texi: Minor fix.
1963         * manual/install.texi: Likewise.
1964         * manual/startup.texi: Likewise.
1965         * manual/examples/dir.c: Use perror() rather than puts().
1967 2001-05-25  David Mosberger  <davidm@hpl.hp.com>
1969         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
1970         #endif directive inside a comment to avoid compiler warnings.
1972 2001-05-25  Philipp Thomas  <pthomas@suse.de>
1974         * nis/nis_print.c (nis_nstype2str): Don't mark names of
1975         naming services for translation, only UNKNOWN needs it.
1976         Add comment to prevent it for the future.
1978 2001-05-25  Joseph S. Myers  <jsm28@cam.ac.uk>
1980         * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
1981         3.1 and non-GCC C99 compilers.
1983 2001-05-22  David Mosberger  <davidm@hpl.hp.com>
1985         * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
1986         performance.
1987         * sysdeps/ia64/memcpy.S: Likewise.
1989         * sysdeps/ia64/bcopy.S: New file.
1991         * sysdeps/ia64/bzero.S: New file (derived from memset.S).
1993 2001-05-26  Ulrich Drepper  <drepper@redhat.com>
1995         * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
1997 2001-05-24  Ulrich Drepper  <drepper@redhat.com>
1999         * iconvdata/Makefile: Add rules for CP10007.
2000         * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
2001         * iconvdata/cp10007.c: New file.
2002         * iconvdata/tst-tables.sh: Add CP10007.
2004 2001-05-23  kaz Kojima  <kkojima@rr.iij4u.or.jp>
2006         * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
2007         (_dl_runtime_profile): Likewise..
2009 2001-05-23  Thorsten Kukuk  <kukuk@suse.de>
2011         * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
2012         * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
2014 2001-05-19  H.J. Lu  <hjl@gnu.org>
2016         * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
2017         errstring of the failed DSO to _dl_signal_error ().
2019 2001-05-23  Ulrich Drepper  <drepper@redhat.com>
2021         * iconvdata/gconv-modules: Add more aliases to enable use in
2022         locale names.
2024 2001-05-23  Andreas Jaeger  <aj@suse.de>
2026         * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
2027         Remove, it's not used anywhere anymore.
2028         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
2029         (CFLAGS-initfini.s): Likewise.
2030         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
2031         (CFLAGS-initfini.s): Likewise.
2032         * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
2033         Likewise.
2034         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
2035         Likewise.
2037 2001-05-21  Bruno Haible  <haible@clisp.cons.org>
2039         * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
2040         use 0 instead, and rely on the converter to do the flush.
2041         * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
2042         utf8_test.
2043         (utf8_test_2, utf8_test_3): New function.
2044         (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
2046 2001-05-22  Jakub Jelinek  <jakub@redhat.com>
2048         * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
2050         * elf/Makefile (distribute): Add reldep4mod[1234].c.
2051         (tests): Add reldep4.
2052         (modules-names): Add reldep4mod[1234].
2053         (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
2054         * elf/reldep4.c: New file.
2055         * elf/reldep4mod1.c: Likewise.
2056         * elf/reldep4mod2.c: Likewise.
2057         * elf/reldep4mod3.c: Likewise.
2058         * elf/reldep4mod4.c: Likewise.
2060 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
2062         * elf/dl-lookup.c (PROTECTED): Remove defines.
2063         (add_dependency): Mark it with internal_function.
2064         (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
2065         (_dl_lookup_symbol, _dl_lookup_symbol_skip,
2066         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
2067         it if we don't want do_lookup* inlined.
2069 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
2071         * include/link.h (struct r_scope_elem): Remove r_duplist and
2072         r_nduplist fields.
2073         * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
2074         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
2075         r_duplist.
2076         (_dl_lookup_versioned_symbol_skip): Likewise.
2077         * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
2078         (_dl_map_object_deps): Don't compute duplicate list.
2080         * elf/dl-symbol.c: Removed.
2081         * elf/Makefile (routines): Remove dl-symbol.
2083 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
2085         * po/el.po: Update from translation team.
2086         * po/sv.po: Likewise.
2088 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
2090         * iconvdata/cp1255.c: Completely rewritten.
2091         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
2092         * iconvdata/testdata/WINDOWS-1255: New file.
2093         * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
2094         * iconvdata/TESTS: Add WINDOWS-1255 test.
2095         * iconvdata/CP1255.irreversible: New file.
2097 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
2099         * iconvdata/cp1258.c: Completely rewritten.
2100         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
2101         * iconvdata/testdata/WINDOWS-1258: New file.
2102         * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
2103         * iconvdata/TESTS: Add WINDOWS-1258 test.
2104         * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
2105         the main call, and flush it afterwards.
2106         (utf8_decode): Return a string, possibly containing several Unicode
2107         characters.
2108         (main): Update all utf8_decode calls.
2109         * iconvdata/CP1258.irreversible: New file.
2111 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
2113         * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
2114         * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2.  In the
2115         first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
2116         EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
2117         the next step.  In the second case, clear the state without calling
2118         EMIT_SHIFT_TO_INIT.
2119         * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
2120         data->__outbuf, and outend instead of data->__outbufend.
2121         * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
2122         * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
2123         * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
2124         * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
2125         * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
2126         * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
2127         * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
2128         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
2129         * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
2131 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
2133         * elf/rtld.c (dl_main): Compute l_map_end for the main program.
2134         * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
2135         If match == _dl_loaded, caller can still come from the main program.
2136         (_dl_vsym): Likewise.
2137         * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
2138         * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
2139         * elf/restest2.c: New test.
2140         * elf/Makefile (tests): Add restest2.
2141         (restest2, LDFLAGS-restest2): Add rules.
2143 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
2145         * intl/Makefile: Add a few more dependencies to avoid races in the
2146         test shell scripts.
2148 2001-05-22  Andreas Jaeger  <aj@suse.de>
2150         * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
2151         Stephen L Moshier <moshier@mediaone.net>.
2153 2001-05-22  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2155         * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
2156         return addresses instead of the stack pointers.
2157         * sysdeps/s390/s390-64/backtrace.c: Likewise.
2159 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
2161         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
2162         bits/sigcontext.h instead of bits/sigstack.h.
2163         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
2164         multiple-inclusion guards.
2166 2001-05-21  Andreas Jaeger  <aj@suse.de>
2168         * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
2169         Patch by Philipp Thomas <pthomas@suse.de>.
2171 2001-05-17  Bruce Mitchener  <bruce@cubik.org>
2173         * manual/arpg.texi: Spelling, misc fixes.
2174         * manual/arith.texi: Likewise.
2175         * manual/crypt.texi: Likewise.
2176         * manual/debug.texi: Likewise.
2177         * manual/getopt.texi: Likewise.
2178         * manual/intro.texi: Likewise.
2179         * manual/memory.texi: Likewise.
2180         * manual/nss.texi: Likewise.
2181         * manual/pattern.texi: Likewise.
2182         * manual/process.texi: Likewise.
2183         * manual/resource.texi: Likewise.
2184         * manual/search.texi: Likewise.
2185         * manual/setjmp.texi: Likewise.
2186         * manual/signal.texi: Likewise.
2187         * manual/socket.texi: Likewise.
2188         * manual/stdio.texi: Likewise.
2189         * manual/string.texi: Likewise.
2190         * manual/sysinfo.texi: Likewise.
2191         * manual/terminal.texi: Likewise.
2192         * manual/llio.texi: Document madvise().
2194 2001-05-20  Roland McGrath  <roland@frob.com>
2196         * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
2197         found within $(add-ons) directories too.
2198         [linuxthreads add-on]: Move variable settings for linuxthreads
2199         to new file linuxthreads/Makeconfig.
2201 2001-05-20  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2203         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2204         Define for linux >= 2.4.5 on powerpc.
2205         (__ASSUME_MMAP2_SYSCALL): Likewise.
2207 2001-05-19  Roland McGrath  <roland@frob.com>
2209         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
2210         result port when failing with ELOOP.  Do the ELOOP check when
2211         following an absolute symlink target as well as relative.
2212         Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
2214 2001-05-18  Andreas Jaeger  <aj@suse.de>
2216         * po/fr.po: Free software is "logiciel libre".
2217         Patch by Martin Michlmayr <tbm@cyrius.com>.
2219         * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
2220         Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
2222 2001-05-17  David Mosberger  <davidm@hpl.hp.com>
2224         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
2226 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
2228         * elf/dl-profile.c (_dl_mcount): Check whether state is
2229         GMON_PROF_ON before doing anything.
2231 2001-05-17  H.J. Lu  <hjl@gnu.org>
2233         * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
2235 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
2237         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
2238         CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
2239         Reported by Mark Burton <markb@ordern.com>.
2241 2001-05-17  Jakub Jelinek  <jakub@redhat.com>
2243         * elf/ldconfig.c (add_dir): Only warn about stat failure if
2244         opt_verbose.
2245         (search_dir): Likewise.
2247 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
2249         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
2250         parameter of xaddl.  Patch by H . J . Lu <hjl@lucon.org>.
2252 2001-05-14  Bruno Haible  <haible@clisp.cons.org>
2254         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
2255         without previous announcement, reject it regularly, don't abort.
2257 2001-05-16  Ulrich Drepper  <drepper@redhat.com>
2259         * math/tgmath.h: Fix handling of int parameters to binary and
2260         ternary functions.  Reported by mitr@volny.cz.
2262         * math/test-tgmath.c: Add tests for calls with integer parameters.
2264 2001-05-15  Jakub Jelinek  <jakub@redhat.com>
2266         * sunrpc/rpc_thread.c (rpc_default): Remove.
2267         (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
2268         rpc_default.
2269         (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
2270         __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
2271         * sunrpc/auth_none.c (authnone_private): Fix a typo.
2273 2001-05-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2275         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
2277 2001-05-16  Bruce Mitchener  <bruce@cubik.org>
2279         * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
2281 2001-05-15  Andreas Jaeger  <aj@suse.de>
2283         * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
2284         Stephen L Moshier <moshier@mediaone.net>.
2286         * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
2288         * math/libm-test.inc: Add comment with ToDo.
2290         * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
2291         accurate algorithm.  Patch by Stephen L Moshier <moshier@mediaone.net>.
2293         * sysdeps/i386/fpu/e_expl.S: Removed.
2295 2001-05-14  Roland McGrath  <roland@frob.com>
2297         * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
2298         static pattern rule also that also covers
2299         $(objpx)g$(static-start-installed-name).
2300         [$(start-installed-name) != $(static-start-installed-name)]
2301         (extra-objs, omit-deps, install-lib): Add
2302         $(static-start-installed-name) and g$(static-start-installed-name).
2303         * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
2304         just setting static-start-installed-name is now sufficient.
2305         (extra-objs): Add static-start.o here.
2306         (CFLAGS-initfini.s): Remove obsolete variable.
2307         * sysdeps/mach/hurd/i386/Makeconfig: New file.
2308         Define static-start-installed-name here.
2310         * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
2311         * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
2313         * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
2314         associated hair.  Instead, just use $(wildcard ...) in the include.
2316         * configure.in (critic_missing, aux_missing): Collect in these vars
2317         the names of the missing programs, and include them in the error msgs.
2318         * configure: Regenerated.
2320 2001-05-14  Andreas Jaeger  <aj@suse.de>
2322         * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
2324         * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
2326 2001-05-14  Stephen L Moshier <moshier@mediaone.net>
2328         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
2330 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
2332         * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
2333         as well if swapping strings.
2334         Make sure stop is not past end of second string.
2335         * posix/bug-regex4.c: New test.
2336         * posix/Makefile (tests): Add bug-regex4.
2338 2001-05-10  Andreas Jaeger  <aj@suse.de>
2340         * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
2341         requirement.
2343 2001-05-12  Andreas Jaeger  <aj@suse.de>
2345         * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
2346         internal prototypes.
2347         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2348         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2349         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2350         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2351         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2352         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2353         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2355         * math/math_private.h: Add prototypes for internal functions of
2356         the IBM Accurate Mathematical Library.
2358         * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
2359         prototypes.
2360         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2362         * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
2363         internal prototypes.
2364         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2365         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2366         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2367         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2368         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2369         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2370         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2371         * sysdeps/generic/e_rem_pio2l.c: Likewise.
2372         (__ieee754_rem_pio2l): Fix prototype.
2374         * math/math_private.h (__copysign): Add internal prototype.
2376 2001-05-11  Andreas Jaeger  <aj@suse.de>
2378         * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
2379         * sysdeps/unix/sysv/linux/mips/configure.in: ...here.  New file.
2381 2001-05-11  Andreas Jaeger  <aj@suse.de>
2383         * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
2384         MIPS.
2386         * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
2387         format directive.  Patch by Steven J. Hill <sjhill@cotw.com>.
2389 2001-05-11  Roland McGrath  <roland@frob.com>
2391         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
2392         $(build-module) here, since we don't need the full magilla.
2393         Just use $(build-module-helper) and append our special options.
2395 2001-05-09  Andreas Schwab  <schwab@suse.de>
2397         * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
2398         reached EOF.
2400 2001-05-07  H.J. Lu  <hjl@gnu.org>
2402         * elf/ldconfig.c (dir_entry): Add ino and dev.
2403         (add_single_dir): Compare ino and dev to check if 2 directory
2404         paths are the same or not.  Free entry->path for duplicates.
2405         (add_dir): Initialize ino and dev for entry.
2406         (search_dir): Handle symlink to directory.
2408 2001-05-07  Andreas Jaeger  <aj@suse.de>
2410         * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
2412         * math/libm-test.inc (exp_test): Add some more tests.
2413         (pow_test): Run double only test also for long double.
2415         * math/test-ldouble.c (TEST_LDOUBLE): Define.
2416         * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
2418         * sysdeps/generic/bits/confname.h: Remove extra comma at end of
2419         enumeration.
2420         Closes PR libc/2240.
2422         * scripts/config.guess: Imported from gnu.org.
2423         * scripts/config.sub: Likewise.
2425 2001-05-05  Jakub Jelinek  <jakub@redhat.com>
2427         * include/features.h (__USE_EXTERN_INLINES): Don't define if
2428         __NO_INLINE__ is defined.
2429         * ctype/ctype.h (tolower, toupper): Change the guard condition to
2430         __USE_EXTERN_INLINES check only.
2431         * stdlib/stdlib.h (strtod, ...): Likewise.
2432         * wcsmbs/wchar.h (mbrlen): Likewise.
2433         * string/string.h: Only include bits/string.h and bits/string2.h
2434         if __NO_INLINE__ is not defined.
2436 2001-05-07  Andreas Jaeger  <aj@suse.de>
2438         * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
2439         of @LIBDIR@.
2441 2001-05-04  H.J. Lu  <hjl@gnu.org>
2443         * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
2444         not @LIBDIR@.
2446 2001-05-06  Andreas Jaeger  <aj@suse.de>
2448         * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
2449         * sysdeps/i386/fpu/e_fmodl.S: Removed.
2450         * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
2451         * sysdeps/i386/fpu/e_atan2l.S: Removed.
2452         * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
2453         * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
2454         * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
2455         * sysdeps/i386/fpu/e_acosl.S: Removed.
2456         * sysdeps/i386/fpu/s_atanl.S: Removed.
2457         * sysdeps/i386/fpu/e_sqrtl.S: Removed.
2459 2001-05-05  Mark Kettenis  <kettenis@gnu.org>
2461         * sysdeps/mach/hurd/bits/environments.h: Add comment from
2462         sysdeps/generic/bits/environments.h.  Define _POSIX_V6_* values.
2464 2001-04-30  Jakub Jelinek  <jakub@redhat.com>
2466         * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
2467         that _CS_LFS_CFLAGS can fall through to the empty returned string
2468         case.  Add FALLTHROUGH comment.
2470 2001-04-29  Ralf Baechle  <ralf@gnu.org>
2472         * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
2473         definitions match the kernel definitions.
2474         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
2475         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2477 2001-04-29  Ben Collins  <bcollins@debian.org>
2479         * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
2480         warnings.
2481         * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
2482         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2483         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2484         * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
2485         * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
2486         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2487         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2488         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2489         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2490         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2491         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2492         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2493         * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
2494         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2495         * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
2496         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2497         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2498         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2499         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2500         * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
2501         * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
2502         * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
2503         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2505 2001-04-29  Andreas Schwab  <schwab@suse.de>
2507         * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
2508         in last change.
2510 2001-04-29  Andreas Jaeger  <aj@suse.de>
2512         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2513         Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
2515         * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
2516         Linux 2.4.4.
2517         (AF_WANPIPE): Likewise.
2518         (MSG_MORE): New.
2520         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
2521         for Linux generic version.
2522         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
2523         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2524         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2525         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
2527         * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
2529 2001-04-27  Ulrich Drepper  <drepper@redhat.com>
2531         * nis/nss-nis.h: Correct test for invalid error number.
2532         * nis/nss-nisplus.h: Likewise.
2534         * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
2536 2001-04-26  Ulrich Drepper  <drepper@redhat.com>
2538         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
2540         * string/strcoll.c: Fix two memory allocation problems.
2541         * string/Makefile (tests): Add bug-strcoll1.
2542         * string/bug-strcoll1.c: New file.
2544         * malloc/mcheck.c (mcheck): Call malloc once before setting the
2545         hooks to allow the internal check hooks to be set up if necessary.
2547         * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
2548         and rename to __yperr2nss_tab.  Change YPERR_COUNT into variable
2549         __yperr2nss_count.
2550         * nis/nss-nis.c: New file.
2551         * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
2552         and rename to __niserr2nss_tab.  Change NISERR_COUNT into variable
2553         __niserr2nss_count.
2554         * nis/nss-nisplus.c: New file.
2555         * nis/Makefile (libnss_compat-routines): Add nss-nis.
2556         (libnss_nis-routines): Likewise.
2557         (libnss_nisplus-routines): Add nss-nisplus.
2559         * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
2560         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2561         * nis/nss_nisplus/nisplus-grp.c: Likewise.
2562         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2563         * nis/nss_nisplus/nisplus-network.c: Likewise.
2564         * nis/nss_nisplus/nisplus-proto.c: Likewise.
2565         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2566         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2567         * nis/nss_nisplus/nisplus-service.c: Likewise.
2568         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2569         * nis/nss_nis/nis-alias.c: Likewise.
2570         * nis/nss_nis/nis-ethers.c: Likewise.
2571         * nis/nss_nis/nis-grp.c: Likewise.
2572         * nis/nss_nis/nis-network.c: Likewise.
2573         * nis/nss_nis/nis-proto.c: Likewise.
2574         * nis/nss_nis/nis-pwd.c: Likewise.
2575         * nis/nss_nis/nis-spwd.c: Likewise.
2576         * nis/nss_compat/compat-grp.c: Likewise.
2577         * nis/nss_compat/compat-initgroups.c: Likewise.
2578         * nis/nss_compat/compat-pwd.c: Likewise.
2579         * nis/nss_compat/compat-spwd.c: Likewise.
2581         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
2582         optimizations.  Patch by Jakub Jelinek <jakub@redhat.com>.
2584 2001-04-26  Andreas Jaeger  <aj@suse.de>
2586         * po/zh_TW.po: Update.
2587         Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
2589 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
2591         * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
2592         compiler command line.
2593         * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
2594         command line for malloc.c.
2596 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
2598         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
2599         * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
2600         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
2601         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
2602         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here.  Adjust
2603         struct msghdr for __WORDSIZE == 32.
2604         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
2605         * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here.  Adjust
2606         for __WORDSIZE == 32.
2607         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
2608         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
2609         file.
2610         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
2611         Rename from longjmp, make longjmp weak alias to it.
2613 2001-04-24  David S. Miller  <davem@redhat.com>
2615         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
2617 2001-04-25  Matthew Wilcox  <willy@ldl.fc.hp.com>
2619         * sysdeps/hppa/stackinfo.h: New file.
2620         * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
2621         * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
2622         * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
2623         * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
2624         of PA kernel features.
2626 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
2628         * locale/programs/localedef.c (main): Always set a file name for
2629         the initial locale.
2630         * locale/programs/locfile.c (locfile_read): filename is allowed to
2631         be NULL.
2633 2001-04-12  Paul Bame  <paul_bame@hp.com>
2635         * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
2636         enable flags.
2638 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
2640         * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
2641         _XBS5_LPBIG_OFFBIG): Define to -1.
2642         Fix typos.
2644         * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
2645         * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
2646         * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2647         * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2649         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
2650         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
2652 2001-03-21  Alan Modra  <alan@one.net.au>
2654         * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
2655         value from application so that constructors in non-PIC libs work.
2657 2000-12-13  Jes Sorensen  <jes@linuxcare.com>
2659         * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
2660         function pointer, hence load the jump address and gp from the
2661         function pointer before jumping.
2663 2001-04-24  Andreas Jaeger  <aj@suse.de>
2665         * sysdeps/generic/send.c (__send): Return ssize_t.
2666         * sysdeps/mach/hurd/send.c (__send): Likewise.
2667         * sysdeps/mach/hurd/recv.c (recv): Likewise.
2668         * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
2669         * sysdeps/generic/sendto.c (sendto): Likewise.
2670         * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
2671         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
2672         * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
2673         * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
2675         * socket/sys/socket.h: send* and recv* return ssize_t.
2677         * include/sys/socket.h: send returns ssize_t.
2679         * sysdeps/i386/fpu_control.h: Fix comments.
2681 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
2683         * sysdeps/ia64/Dist: Add hp-timing.c.
2684         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
2685         * posix/Makefile (distribute): Add tst-getconf.sh.
2686         * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
2688 2001-04-23  Ulrich Drepper  <drepper@redhat.com>
2690         * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
2691         * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
2692         * sysdeps/ia64/hp-timing.c: New file.
2693         * sysdeps/ia64/hp-timing.h: New file.
2694         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
2695         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
2697         * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
2698         using #ifdef whether the clock is available.
2699         * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
2701         * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
2702         it into data section.
2704         * sysdeps/unix/i386/i586/clock_getres.c: Removed.
2705         * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
2706         * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
2707         * sysdeps/unix/i386/i586/clock_settime.c: Removed.
2708         * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
2709         * sysdeps/generic/cpuclock-init.h: Removed.
2710         * sysdeps/unix/i386/i686/Implies: Removed.
2711         * sysdeps/unix/i386/i686/tempname.c: Removed.
2712         * sysdeps/i386/i686/Versions: New file.
2713         * sysdeps/unix/i386/i586/Versions: Removed.
2715         * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
2716         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
2717         * sysdeps/unix/clock_gettime.c: Likewise.
2718         * sysdeps/unix/clock_nanosleep.c: Likewise.
2719         * sysdeps/unix/clock_settime.c: Likewise.
2720         * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
2721         RANDOM_BITS use CPU clock.
2723         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
2724         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
2725         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
2726         * sysdeps/sparc/Versions: New file.
2728         * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
2729         hp-timing.h definitions.
2730         * sysdeps/generic/dl-sysdep.c: Likewise.
2732         * include/libc-internal.h: Include hp-timing.h.  Use hp_timing_t in
2733         __get_clockfreq prototype.
2735         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2736         Use hp_timing_t type.
2737         * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
2739         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
2741         * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
2742         whether named file is a regular file or a block device.
2743         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2745 2001-04-23  Andreas Jaeger  <aj@suse.de>
2747         * nscd/nscd.h: Add noreturn attribute for start_threads.
2749 2001-04-22  Ulrich Drepper  <drepper@redhat.com>
2751         * posix/getconf.c: Fix names of XBS5 LFS test variables.
2752         Add missing configuration variables from XPG6.
2753         * posix/tst-getconf.c: New file.
2754         * posix/Makefile (generated): Add tst-getconf.out.
2755         (tests): Add ($objpfx)tst-getconf.out.
2756         Add rule to run tst-getconf.sh.
2757         * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
2758         from XPG6.
2759         * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
2760         _PC_SYMLINK_MAX.
2761         * sysdeps/posix/pathconf.c: Likewise.
2762         * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
2763         and _SC_SYMLOOP_MAX.
2765 2001-04-22  Philip Blundell  <philb@gnu.org>
2767         * sysdeps/arm/fpu/feenablxcpt.c: New file.
2768         * sysdeps/arm/fpu/fedisablxcpt.c: New file.
2769         * sysdeps/arm/fpu/fegetexcpt.c: New file.
2771 2001-04-22  Philip Blundell  <philb@gnu.org>
2773         * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
2774         Renamed from struct user_fp.
2775         (struct user_regs): New.
2776         (struct user): Use struct user_regs rather than struct pt_regs to
2777         avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
2778         of struct user_fp and struct user_fp_struct.
2779         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
2780         not sys/elf.h.
2782 2001-04-22  Philip Blundell  <philb@gnu.org>
2784         * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
2785         sys/procfs.h, and tell the user to include that file instead.
2786         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
2787         surrounded with #if 0.
2788         (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
2789         from sys/elf.h.
2790         (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
2791         elf_fpregset_t respectively.
2793 2001-04-22  Philip Blundell  <philb@gnu.org>
2795         * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
2796         address that faulted.
2798 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2800         * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
2801         values.
2802         * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
2803         * posix/confstr.c: Handle _CS_POSIX_V6_* values.
2804         * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
2805         * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
2807         * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
2808         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2809         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2810         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2812 2001-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2814         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
2815         offset.
2817 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2819         * posix/getopt.h: Treat __cplusplus like __STDC__.
2821 2001-04-20  John S. Marvin  <jsm@fc.hp.com>
2823         * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
2824         entry point stub.
2826 2001-04-20  Richard Hirst  <rhirst@linuxcare.com>
2828         * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
2829         and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
2831         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
2832         entry so the ptrace.c wrapper is used.
2834 2001-04-20  Alan Modra  <amodra@one.net.au>
2836         * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
2837         (DL_FUNCTION_ADDRESS): Define.
2838         (DL_DT_INIT_ADDRESS): Define.
2839         (DL_DT_FINI_ADDRESS): Define.
2840         * sysdeps/hppa/Versions: Add _dl_function_address.
2841         * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
2842         * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
2843         _dl_function_address.
2845 2001-04-21  Andreas Jaeger  <aj@suse.de>
2847         * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
2848         * resolv/gai_misc.c (handle_requests): Likewise.
2849         * malloc/obstack.c (print_and_abort): Likewise.
2850         * malloc/mcheck.c (mabort): Likewise.
2852         * sysdeps/unix/i386/i586/clock_settime.c: Include
2853         "libc-internal.h" for __get_clockfreq declaration.
2855 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2857         * elf/dl-support.c: Include cpuclock-init.h.  Use CPUCLOCK_VARDEF and
2858         CPUCLOCK_INIT if defined.
2859         * sysdeps/generic/dl-sysdep.c: Likewise.
2860         * sysdeps/generic/cpuclock-init.h: New file.
2861         * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
2862         * sysdeps/unix/i386/i586/Versions: New file.
2863         * sysdeps/unix/i386/i586/clock_settime.c: New file.
2864         * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
2865         separately by calling __pthread_clock_gettime if this function is
2866         available.  Subtract offset from tsc value before computing time value.
2868 2001-04-20  Ulrich Drepper  <drepper@redhat.com>
2870         * iconv/iconv_prog.c (print_known_names): If printing goes not to
2871         a tty print in a more machine-friendly way.
2873         * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
2874         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2876 2001-04-20  Andreas Jaeger  <aj@suse.de>
2878         * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
2880 2001-04-20  Andreas Schwab  <schwab@suse.de>
2882         * sysdeps/m68k/fpu/libm-test-ulps: Update.
2884 2001-04-19  Alan Modra  <amodra@one.net.au>
2886         * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
2887         * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
2888         (CFLAGS-.os): Remove.
2890         * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
2892         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
2893         gregset): Correct for new kernel definitions.
2895 2001-04-19  Alan Modra  <alan@linuxcare.com.au>
2897         * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
2898         generate unwind info by hand.
2900 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
2902         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
2904         * configure.in: Correct regular expression for msgfmt.
2905         Patch by Bruno Haible <haible@ilog.fr>.
2907 2001-04-19  Andreas Jaeger  <aj@suse.de>
2909         * po/el.po: Add comment explaining what's broken.
2911         * po/Makefile (BROKEN_LINGUAS): New.
2912         (ALL_LINGUAS): Don't add broken languages.
2914 2001-04-19  Roland McGrath  <roland@frob.com>
2916         * sysdeps/mach/hurd/mlock.c: New file.
2917         * sysdeps/mach/hurd/munlock.c: New file.
2918         * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
2920         * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
2921         * sysdeps/generic/mlock.c: New file.
2922         * sysdeps/generic/munlock.c: New file.
2923         * sysdeps/generic/mlockall.c: New file.
2924         * sysdeps/generic/munlockall.c: New file.
2925         * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
2926         * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
2927         mlockall, munlockall): Change caller field to - from EXTRA.
2928         Don't use __ names; not used (and not declared in include/sys/mman.h).
2930         * hurd/privports.c (__get_privileged_ports): Renamed with __.
2931         Use __ names for calls we make.
2932         (get_privileged_ports): Add alias.
2933         * hurd/hurd.h: Declare it with the __ name.
2934         * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
2935         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
2936         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2938         * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
2939         nothing if it's zero.
2941 2001-04-19  Matthew Wilcox  <willy@ldl.fc.hp.com>
2943         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
2944         Change to return a signed result for compatibility with other
2945         architectures, and correctness.
2947 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
2949         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
2950         HPPA always had them.  Patch by Matthew Wilcox <matthew@wil.cx>.
2952 2001-04-19  Andreas Jaeger  <aj@suse.de>
2954         * configure.in: Require gettext 0.10.36 or newer.
2956         * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
2958         * po/zh_TW.po: Remove extraneous backslashes.
2960         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
2961         variables b and n.
2963 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
2965         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
2966         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
2967         * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
2968         * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
2969         Copy first word of uc_sigmask into __uc_sigmask.
2970         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
2971         Save uc_link around trap.  Copy __uc_sigmask into first word of
2972         uc_sigmask, clear the rest.  Make sure setcontext to the created
2973         context doesn't do this though.
2974         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
2975         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
2976         uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
2977         64bit version, make uc_sigmask __sigset_t in the 32bit version.
2979 2001-04-19  Andreas Jaeger  <aj@suse.de>
2981         * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
2983         * rt/Makefile (otherlibs): Added for static NSS.
2985         * glibcbug.in (BUGGLIBC): Send to new alias.
2987 2001-04-02  Andreas Schwab  <schwab@suse.de>
2989         * Makerules (build-module): Make sure exit codes get checked
2990         properly and remove unnecessary slashes.
2992 2001-04-17  Ulrich Drepper  <drepper@redhat.com>
2994         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2995         Handle kernels which report only three digits after the decimal point.
2996         Reported by Van Okamura <van.okamura@oracle.com>.
2998         * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
3000 2001-04-17  David S. Miller  <davem@redhat.com>
3002         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
3003         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3005 2001-04-17  Jakub Jelinek  <jakub@redhat.com>
3007         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
3008         desired exceptions are raised for exceptional values.
3009         * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
3010         cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
3011         clog_test, log_test, log1p_test, tan_test): Increase precision of
3012         expected values to satisfy ldbl-128.
3013         * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
3014         * sysdeps/arm/libm-test-ulps: Likewise.
3015         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3016         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3017         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
3018         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
3019         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3020         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3021         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3022         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3023         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3025 2001-04-17  Andreas Jaeger  <aj@suse.de>
3027         * configure.in: Move test for critical programs up.
3029 2001-04-16  Stephen L Moshier  <moshier@mediaone.net>
3031         * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
3032         Correct the values.
3033         (pSx, qSx): Replace by shorter approximation.
3034         Use f suffix on float constants.
3036 2001-04-16  Ulrich Drepper  <drepper@redhat.com>
3038         * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
3039         Contributed by Stephen L Moshier <moshier@mediaone.net>.
3041         * string/string.h: Replace const in attribute list with __const__.
3043 2001-04-16  Roland McGrath  <roland@frob.com>
3045         * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
3046         instead of the constant NGROUPS_MAX.  That way, the limit can be
3047         raised in the kernel configuration without having to recompile libc.
3049         * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
3050         define NGROUPS_MAX; we don't use it here.
3052 2001-04-16  Andreas Jaeger  <aj@suse.de>
3054         * math/libm-test.inc (atan2_test): Add more testcases.
3056         * iconv/gconv_db.c: Include gconv_charset.h for
3057         __gconv_lookup_alias prototype.
3059 2001-04-13  Ulrich Drepper  <drepper@redhat.com>
3061         * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
3062         Contributed by Stephen L Moshier <moshier@mediaone.net>.
3064 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
3066         * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
3068 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
3070         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
3071         explicitly pad struct siginfo instead of relying on compiler padding.
3073 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
3075         * sysdeps/ia64/Dist: Add elf/entry.h.
3077         * iconvdata/Makefile (distribute): Add TESTS2.
3079 2001-04-13  Jakub Jelinek  <jakub@redhat.com>
3081         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
3082         Calculate load address differently.
3084 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
3086         * iconvdata/TESTS2: New file.
3087         * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
3088         * iconvdata/testdata/alfabeta..UTF-8: New file.
3089         * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
3090         * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
3091         * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
3092         * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
3094 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
3096         * iconvdata/utf-32.c: New file.
3097         * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
3098         * iconvdata/Makefile (modules): Add UTF-32.
3099         (distribute): Add utf-32.c.
3101 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
3103         * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
3104         changing it in the state.  After incrementing 'inptr', store it back.
3105         * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
3106         store it back.
3108 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
3110         * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
3111         MIN_NEEDED_FROM.
3113 2001-04-11  David Mosberger  <davidm@hpl.hp.com>
3115         * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
3116         * sysdeps/ia64/htons.S: Likewise.
3118         * sysdeps/ia64/memset.S: Add unwind directives.
3119         * sysdeps/ia64/strncpy.S: Likewise.
3120         * sysdeps/ia64/strcat.S: Likewise.
3122         * sysdeps/ia64/memccpy.S: Add unwind directives.  Drop superfluous
3123         restore of ar.pfs.
3124         * sysdeps/ia64/strchr.S: Likewise.
3125         * sysdeps/ia64/memmove.S: Likewise.
3126         * sysdeps/ia64/memcpy.S: Likewise.
3127         * sysdeps/ia64/memcmp.S: Likewise.
3128         * sysdeps/ia64/memchr.S: Likewise.
3129         * sysdeps/ia64/strcmp.S: Likewise.
3130         * sysdeps/ia64/strlen.S: Likewise.
3131         * sysdeps/ia64/strcpy.S: Likewise.
3132         * sysdeps/ia64/strncmp.S: Likewise.
3134 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
3136         * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
3137         fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
3138         fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
3139         fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
3141 2001-04-11  Andreas Jaeger  <aj@suse.de>
3143         * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
3145 2001-04-11  Andreas Schwab  <schwab@suse.de>
3147         * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
3149 2001-04-11  Ulrich Drepper  <drepper@redhat.com>
3151         * sysdeps/arm/stackinfo.h: New file.
3153 2001-04-08  Thorsten Kukuk  <kukuk@suse.de>
3155         * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
3156         rpcgen to generate thread safe code.
3158 2001-04-10  Andreas Jaeger  <aj@suse.de>
3160         * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
3162 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
3164         * elf/dl-minimal.c (__assert_fail): Change error string.  It's
3165         most of the time no bug in ld.so.
3166         (__assert_perror_fail): Likewise.
3168 2001-04-11  Hans-Peter Nilsson  <hp@axis.com>
3170         * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
3171         from struct to unsigned int.
3173 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3175         * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
3176         AT_IGNOREPPC): New defines.
3177         * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
3178         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
3179         Define for newer powerpc kernels.
3180         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
3181         DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
3183 2000-4-10  kaz Kojima  <kkojima@rr.iij4u.or.jp>
3185         * sysdeps/sh/stackinfo.h: New file.
3187 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
3189         * locale/tst-C-locale.c (run_test): Add tests for locale objects.
3190         * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
3191         __ctype_tolower, and __ctype_toupper elements.
3193         * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
3194         Reported by Konstantin Osipov <rabid@spylog.ru>.
3196         * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
3197         the lousy AMD FPU.
3199 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3201         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
3202         * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
3203         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
3204         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
3206 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
3208         * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
3209         message.  Based on a patch by HJ Lu.
3211 2001-04-10  Andreas Schwab  <schwab@suse.de>
3213         * math/libm-test.inc (csinh_test): Don't require the invalid
3214         exception for csinh (x + iNaN), but make it optional.
3216 2001-04-09  David Mosberger  <davidm@hpl.hp.com>
3218         * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
3220         * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
3221         * sysdeps/ia64/elf/entry.h: New file.
3222         * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
3223         __start.
3224         * elf/rtld.c: Don't declare ENTRY_POINT.  Use ENTRY_POINT instead
3225         of &ENTRY_POINT.
3226         * sysdeps/generic/dl-sysdep.c: Likewise.
3227         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3228         * sysdeps/ia64/elf/start.S: Save base address of register backing
3229         store in __libc_ia64_register_backing_store_base.
3231 2001-04-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3233         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
3234         value of getcontext.
3235         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3236         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
3237         value of setcontext.
3238         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3239         * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
3240         call by changing the saved context.
3242 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
3244         * sysdeps/alpha/stackinfo.h: New file.
3245         * sysdeps/ia64/stackinfo.h: New file.
3247 2001-04-10  Andreas Schwab  <schwab@suse.de>
3249         * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
3250         values.
3251         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
3253 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
3255         * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
3256         * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
3258         * libio/Makefile (distribute): Add fd_to_filename.h.
3260 2001-04-05  David S. Miller  <davem@redhat.com>
3262         Add hp-timing support for sparcv9/sparc64 targets.
3263         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
3264         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
3265         * sysdeps/sparc/sparc64/hp-timing.c: New file
3266         * sysdeps/sparc/sparc64/hp-timing.h: New file
3267         * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
3268         * sysdeps/sparc/sparc64/Makefile: Likewise.
3270 2001-04-09  Jakub Jelinek  <jakub@redhat.com>
3272         * sysdeps/generic/fd_to_filename.h: New file.
3273         * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
3274         * libio/freopen.c (freopen): If FILENAME is NULL, try to get
3275         filename from the open file descriptor.
3276         * libio/freopen64.c (freopen64): Likewise.
3278 2001-04-09  Bruno Haible  <haible@clisp.cons.org>
3280         * misc/error.c (error): fflush stdout also if
3281         error_print_progname != NULL.
3282         (error_at_line): Likewise.
3284 2001-04-07  Bruno Haible  <haible@clisp.cons.org>
3286         * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
3287         (struct binding): Add codeset_cntr field.
3288         (_nl_load_domain): Add domainbinding argument.
3289         (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
3290         (_nl_find_msg): New declaration, moved here from loadinfo.h.
3291         * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
3292         (_nl_make_l10nflist): Remove domainbinding argument.
3293         (_nl_find_msg): Move declaration to gettextP.h.
3294         * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
3295         to 0.  Increment it when ->codeset is changed.
3296         * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
3297         (_nl_find_msg): Add domainbinding argument.  Reinitialize the converter
3298         if domainbinding->codeset_cntr has been incremented.
3299         * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
3300         _nl_make_l10nflist().  Pass it to _nl_load_domain() instead.
3301         * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
3302         * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
3303          from _nl_load_domain.  Append //TRANSLIT also when using libiconv.
3304         (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
3305         (_nl_load_domain): Add domainbinding argument.  Call
3306         _nl_init_domain_conv.
3307         (_nl_unload_domain): Call _nl_free_domain_conv.
3308         * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
3309         (test-srcs): Add tst-codeset.
3310         (tests): Depend on tst-codeset.out.
3311         (tst-codeset.out): New rule.
3312         (CFLAGS-tst-codeset.c): New variable.
3313         * intl/tst-codeset.sh: New file.
3314         * intl/tstcodeset.po: New file.
3315         * intl/tst-codeset.c: New file.
3316         * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
3317         calls.
3319 2001-04-07  Roland McGrath  <roland@frob.com>
3321         * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
3323 2001-03-31  Roland McGrath  <roland@frob.com>
3325         * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
3326         copying send rights into child.  When we hit our name for our proc
3327         port, just copy NEWPROC directly instead of repeating proc_task2proc
3328         to install the child's port.
3330 2001-04-08  Roland McGrath  <roland@frob.com>
3332         * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
3333         in second column, to provide default values for third column.
3334         * shlib-versions: Add comments about using DEFAULT in second column.
3335         (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
3336         (cris-.*-linux.*): Likewise.
3338 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
3340         * Makefile (distribute): Add scripts/documented.sh.
3341         * scripts/documented.sh: New file.
3343 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3345         * sysdeps/unix/sysv/linux/cris/Dist: New file.
3346         * sysdeps/unix/sysv/linux/cris/Makefile: New file.
3347         * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
3348         * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
3349         * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
3350         * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
3351         * sysdeps/unix/sysv/linux/cris/brk.c: New file.
3352         * sysdeps/unix/sysv/linux/cris/chown.c: New file.
3353         * sysdeps/unix/sysv/linux/cris/clone.S: New file.
3354         * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
3355         * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
3356         * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
3357         * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
3358         * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
3359         * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
3360         * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
3361         * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
3362         * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
3363         * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
3364         * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
3365         * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
3366         * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
3367         * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
3368         * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
3369         * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
3370         * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
3371         * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
3372         * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
3373         * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
3374         * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
3375         * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
3376         * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
3377         * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
3378         * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
3379         * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
3380         * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
3381         * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
3382         * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
3383         * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
3384         * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
3385         * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
3386         * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
3387         * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
3388         * sysdeps/unix/sysv/linux/cris/socket.S: New file.
3389         * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
3390         * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
3391         * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
3392         * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
3393         * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
3394         * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
3396 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3398         * sysdeps/cris/Dist: New file.
3399         * sysdeps/cris/Implies: New file.
3400         * sysdeps/cris/Makefile: New file.
3401         * sysdeps/cris/__longjmp.S: New file.
3402         * sysdeps/cris/_mcount.S: New file.
3403         * sysdeps/cris/bits/endian.h: New file.
3404         * sysdeps/cris/bits/setjmp.h: New file.
3405         * sysdeps/cris/bits/string.h: New file.
3406         * sysdeps/cris/dl-machine.h: New file.
3407         * sysdeps/cris/elf/start.S: New file.
3408         * sysdeps/cris/machine-gmon.h: New file.
3409         * sysdeps/cris/memcopy.h: New file.
3410         * sysdeps/cris/memusage.h: New file.
3411         * sysdeps/cris/setjmp.S: New file.
3412         * sysdeps/cris/sysdep.h: New file.
3413         * sysdeps/cris/wordcopy.c: New file.
3415 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3417         * elf/elf.h: Add new relocations for CRIS.
3419 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3421         * shlib-versions: Add cases for Linux on CRIS.
3423 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3425         * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
3426         ';' for comments and '@' for line separator.
3428 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3430         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
3431         typo; s/==/=/ for assignment.
3433 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3435         * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
3437 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3439         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
3440         empty input before checking full output.
3442 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3444         * iconv/gconv.c (__gconv): Don't derefer parameter cd before
3445         checking if == -1L.
3447 2001-04-08  Ulrich Drepper  <drepper@redhat.com>
3449         * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
3451 2001-04-07  Stephen L Moshier  <moshier@mediaone.net>
3453         * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
3454         return values.
3456 2001-04-07  Ulrich Drepper  <drepper@redhat.com>
3458         * stdlib/tst-setcontext.c (main): Add a test for setcontext.
3460         * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
3461         * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
3462         * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
3463         * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
3464         * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
3465         * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
3467 2001-04-07  Andreas Jaeger  <aj@suse.de>
3469         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
3470         instead of separate sin and cos.
3471         (__ieee754_j1l): Likewise.
3473 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
3475         * sysdeps/ia64/abort-instr.h: New file.  Code by David Mosberger.
3477         * sysdeps/ia64/atomicity.h: New file.  Copied from libstdc++.
3479         * sysdeps/i386/i486/atomicity.h: Clean up the asms.
3481         * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
3482         available.
3483         * sysdeps/generic/e_scalbf.c: Likewise.
3484         * sysdeps/generic/e_scalbl.c: Likewise.
3485         Patch by Mark Hatle <fray@mvista.com>.
3487 2001-04-05  David S. Miller  <davem@redhat.com>
3489         * sysdeps/sparc/abort-instr.h: New file.
3491 2001-04-05  Matt Wilson  <msw@redhat.com>
3493         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
3494         added code to parse new 2.4 format.
3495         (GET_NPROCS_CONF_PARSER): Likewise.
3497 2001-04-05  David S. Miller  <davem@redhat.com>
3499         * scripts/config.sub: Recognize sparcv9b like sparcv9.
3500         * configure.in: Add sparcv9b.
3501         * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
3502         * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
3503         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
3505 2001-04-06  David Mosberger  <davidm@hpl.hp.com>
3507         * stdlib/tst-setcontext.c: Move st2[] to global scope.
3508         (f2): Verify that stack pointer is inside st2[].
3510         * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
3511         * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
3513 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
3515         * timezone/antarctica: Update from tzdata2001b.
3516         * timezone/asia: Likewise.
3517         * timezone/australasia: Likewise.
3518         * timezone/europe: Likewise.
3519         * timezone/northamerica: Likewise.
3521         * iconv/iconv_open.c: Move strip and upstr definitions...
3522         * iconv/gconv_charset.h: ...here.  New file.
3523         * iconv/gconv_db.c (once): Move to file level.
3524         (do_lookup_alias): Split out from __gconv_find_transform.
3525         (__gconv_find_transform): Call do_lookup_alias.
3526         (__gconv_loopup_alias): New function.
3527         * locale/langinfo.h: Define _NL_*_CODESET values for all categories
3528         but LC_CTYPE.
3529         * locale/categories.def: Add entries for new _NL_*_CODESET values.
3530         * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
3531         * locale/C-address.c: Initialize _NL_*_CODESET element.
3532         * locale/C-collate.c: Likewise.
3533         * locale/C-identification.c: Likewise.
3534         * locale/C-measurement.c: Likewise.
3535         * locale/C-messages.c: Likewise.
3536         * locale/C-monetary.c: Likewise.
3537         * locale/C-name.c: Likewise.
3538         * locale/C-numeric.c: Likewise.
3539         * locale/C-paper.c: Likewise.
3540         * locale/C-telephone.c: Likewise.
3541         * locale/C-time.c: Likewise.
3542         * locale/localeinfo.h: Declare _nl_C_codeset.
3543         * locale/C_name.c: Define _nl_C_codeset.
3544         * locale/findlocale.c: Before accepting locale check that the used
3545         charset does not conflict with what the locale name said.
3546         * locale/programs/ld-address.c: Emit codeset information.
3547         * locale/programs/ld-collate.c: Likewise.
3548         * locale/programs/ld-identification.c: Likewise.
3549         * locale/programs/ld-measurement.c: Likewise.
3550         * locale/programs/ld-messages.c: Likewise.
3551         * locale/programs/ld-monetary.c: Likewise.
3552         * locale/programs/ld-name.c: Likewise.
3553         * locale/programs/ld-numeric.c: Likewise.
3554         * locale/programs/ld-paper.c: Likewise.
3555         * locale/programs/ld-telephone.c: Likewise.
3556         * locale/programs/ld-time.c: Likewise.
3558         * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
3559         if the locale data couldn't be found.
3561         * string/Makefile: Define tst-strxfrm-ENV.
3563         * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
3565 2001-04-06  Andreas Jaeger  <aj@suse.de>
3567         * include/sys/profil.h: New file.
3569         * dlfcn/modatexit.c: Add prototypes to silence GCC.
3570         * dlfcn/modcxaatexit.c: Likewise.
3571         * elf/globalmod1.c: Likewise.
3573 2001-04-05  David S. Miller  <davem@redhat.com>
3575         * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
3576         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
3577         capability flags table and HWCAP_IMPORTANT, increase
3578         _DL_HWCAP_COUNT to 6.
3579         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3581 2001-04-04  David Mosberger  <davidm@hpl.hp.com>
3583         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
3584         initialization of stack_end (bug reported by Zheng Gengbin
3585         <gzheng@students.uiuc.edu>).
3587 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
3589         * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
3591 2001-04-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3593         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
3595 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
3597         * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
3598         * sysdeps/i386/fpu/e_asinl.S: Removed.  Too inaccurate.
3600         * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
3602 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3604         * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
3605         define simple replacements here.  Patch by Michael Keezer.
3607         * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
3608         * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
3609         Contributed by Stephen L Moshier <moshier@mediaone.net>.
3611         * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
3612         anymore.
3614 2001-04-01  Andreas Jaeger  <aj@suse.de>
3616         * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
3617         alias.
3619         * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
3621 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3623         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
3624         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
3626 2001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3628         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
3629         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
3630         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
3631         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
3632         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
3633         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
3634         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
3635         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
3636         * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
3638 2001-04-04  Andreas Jaeger  <aj@suse.de>
3640         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
3641         place.
3643 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3645         * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
3646         * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
3647         * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
3648         (unsigned_dec): Likewise.
3649         Patch by atai@jezebel.dreamhost.com.
3651         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
3652         pointer to int as last parameter of yp_match.
3653         Patch by kanazawa@flab.fujitsu.co.jp.
3655 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
3657         * resolv/netdb.h (gai_strerror): Make return value const.
3658         * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
3659         * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
3660         Add strings for new error values.
3662 2001-03-29  Michael Keezer  <mkeezer@redhat.com>
3664         * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
3665         * login/tst-utmp.c: Handle case where ut_tv is not available but
3666         ut_time is.
3667         * sysdeps/unix/sysv/aix/utmpx.h: New file.
3668         * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
3669         _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
3670         * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
3671         * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
3672         to access RTCU timer reg.
3673         * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
3674         added dl-libc, dl-open,dl-sym, dl-close to misc.
3675         * sysdeps/unix/sysv/aix/start.c: New file.  Start code.
3676         * sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
3677         * sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
3678         * sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
3679         * sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
3680         * sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
3681         * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
3682         GLIBC_2_2).
3683         * sysdeps/generic/strtoull.c: Likewise.
3684         * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
3685         * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
3686         sysdeps/generic/memset.c.
3687         * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
3689 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
3691         * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
3692         * locale/programs/charmap.c: Define null_pointer if
3693         NEED_NULL_POINTER is defined.
3695         * misc/dirname.c (dirname): Handle multiple slashes correctly.
3697 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3699         * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
3701 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3703         * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
3704         * sysdeps/s390/s390-64/bcopy.S: Likewise.
3705         * sysdeps/s390/s390-32/mempcy.S: Likewise.
3706         * sysdeps/s390/s390-64/memcpy.S: Likewise.
3708 2001-04-02  Bruno Haible  <haible@clisp.cons.org>
3710         * manual/message.texi (Advanced gettext functions): More specific
3711         syntax in the plural formula examples.
3713 2001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3715         * sysdeps/powerpc/atomicity.h: Silence warnings.
3716         * sysdeps/powerpc/dl-machine.h: Likewise.
3717         * sysdeps/powerpc/register-dump.h: Likewise.
3718         * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
3720 2001-04-02  Andreas Jaeger  <aj@suse.de>
3722         * misc/tst-dirname.c (main): Add more tests, derived from a bug
3723         report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
3725 2001-04-01  Andreas Jaeger  <aj@suse.de>
3727         * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
3728         is installed there.
3729         * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
3731 2001-04-01  H.J. Lu  <hjl@gnu.org>
3733         * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
3734         tmpnam (NULL).
3735         * stdlib/isomac.c (macrofile): Likewise.
3737 2001-03-30  Thorsten Kukuk  <kukuk@suse.de>
3739         * inet/rcmd.c: Allow AF_UNSPEC as parameter.
3740         * nis/ypclnt.c (yp_all): Print error message only at last try,
3741         check for protocoll error only if we don't have a network error.
3743 2001-04-02  Andreas Schwab  <schwab@suse.de>
3745         * resolv/res_data.c (res_isourserver): Fix cast.
3747 2001-04-02  Andreas Jaeger  <aj@suse.de>
3749         * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
3750         __umount2.
3752         * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
3753         strings.
3754         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
3756         * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
3757         initializers.
3758         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
3760         * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
3761         warning about unused variable.
3763         * string/string.h (strndupa): Add cast for C++ conformance.
3764         (strdupa): Likewise.
3765         Fixes PR libc/2173, reported by tbrowder@home.com.
3767 2001-03-30  Roland McGrath  <roland@frob.com>
3769         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
3770         options after $(build-module), which is no longer a single command.
3771         (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
3772         (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
3773         variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
3775 2001-03-11  Roland McGrath  <roland@frob.com>
3777         * elf/rtld.c (dl_main): Add cast to quiet warning.
3778         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3779         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
3780         (__gconv_read_conf): Likewise.
3781         * iconv/gconv_db.c (gen_steps): Likewise.
3782         (__gconv_find_transform): Likewise.
3783         * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
3784         (fopen_uncompressed): Use const in second argument's type.
3786 2001-03-11  Roland McGrath  <roland@frob.com>
3788         * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
3790         * mach/mach_error.h: Fix ancient #endif syntax.
3791         * hurd/hurdmalloc.c: Likewise.
3793         * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
3794         compare_and_swap): Add volatile qualifier to first arg, to bring
3795         these prototypes in line with all the other implementations.
3796         Add a #warning to remind the builder that these are not atomic.
3798 2001-03-04  Roland McGrath  <roland@frob.com>
3800         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
3801         member of TEMP_F so its type is _IO_FILE * as expected.
3803         * hurd/fopenport.c (seekio): Conditionalize type of POS argument
3804         on [USE_IN_LIBIO].  Check the value for overflow, since for libio
3805         it might exceed off_t's range.
3807 2001-02-25  Roland McGrath  <roland@frob.com>
3809         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
3810         * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
3812         * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
3813         macro instead of an inline function,
3814         (MSG_EXAMINE): Likewise.
3816         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
3818         * hurd/get-host.c: Include <string.h> for decls of built-ins.
3819         * hurd/hurdchdir.c: Likewise.
3820         * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
3821         * sysdeps/mach/hurd/opendir.c: Likewise.
3823         * mach/mach_init.c: Include <unistd.h> for _exit decl.
3825         * mach/errsystems.awk: Give output file a trailing newline.
3827         * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
3828         the script will use our compiler for the cpp stage.
3830         With --enable-all-warnings we get a whole bunch of warnings,
3831         and these are just a few fixes; there are more needed to silence it.
3832         * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
3833         decls before extern inline defns to quiet gcc warning.
3834         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
3835         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
3837 2001-03-31  Andreas Jaeger  <aj@suse.de>
3839         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
3840         (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
3841         (ARPHRD_CISCO): New.
3842         Changes from Linux 2.4.3.
3844 2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
3846         * posix/regex.c: Avoid an access violation if malloc fails.
3848 2001-03-30  Andreas Jaeger  <aj@suse.de>
3850         * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
3852 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
3854         * posix/regex.c: Remove unnecessary ifs.
3856         * math/bits/mathcalls.h: Remove infnan declaration.
3858 2001-03-29  H.J. Lu  <hjl@gnu.org>
3860         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
3861         and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
3862         * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
3864 2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
3866         * posix/regex.c: Fix typo and add a sentinel.
3868 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
3870         * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
3871         O_NOFOLLOW.  Suggested by Christoph Roland.
3873 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3875         * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
3876         * sysdeps/s390/s390-32/bits/string.h: Remove.
3877         * sysdeps/s390/s390-64/bits/string.h: Remove.
3878         * sysdeps/s390/s390-32/strcmp.S: New file.
3879         * sysdeps/s390/s390-64/strcmp.S: New file.
3881 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3883         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
3884         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3886 2001-03-27  Ulrich Drepper  <drepper@redhat.com>
3888         * version.h (VERSION): Bump to 2.2.3.
3890         * stdlib/isomac.c (fmt): Don't define _LIBC.
3891         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
3892         LOW_HALF only if _LIBC is defined.
3894         * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
3896         * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
3897         and +().
3898         * posix/tst-fnmatch.input: Add test cases for matching empty strings.
3900         * sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
3901         * include/endian.h: ...to here.
3903 2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
3905         * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
3906         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
3908 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3910         * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
3912 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
3914         * sysdeps/ia64/fpu/Dist: Add new files to distribute.
3915         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
3916         * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
3918         * gmon/Makefile (headers): Add sys/profil.h.
3920 2001-03-18  Andreas Jaeger  <aj@suse.de>
3922         * manual/install.texi (Tools for Compilation): Advise to use GCC
3923         2.95.3.
3924         (Supported Configurations): Mention s390x.
3926 2001-03-26  Ben Collins  <bcollins@debian.org>
3928         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
3929         defines to match other architectures.
3931 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
3933         * libio/Makefile (tests): Add tst-ext.
3934         * libio/tst-ext.c: New file.
3936         * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
3938 2001-03-25  Ulrich Drepper  <drepper@redhat.com>
3940         Add changes which were in this form in the original patch by
3941         Eric Norum <eric.norum@usask.ca>.
3942         * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
3943         svc_max_pollfd.
3944         * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
3945         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3946         __rpc_thread_svc_max_pollfd.
3947         Define svc_fdset, get_rpc_createerr, svc_pollfd, and
3948         svc_max_pollfd.
3949         * sunrpc/rpc_thread.c: Handle first thread special, it uses the
3950         global variables.
3951         Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
3952         __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
3953         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
3954         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3955         __rpc_thread_svc_max_pollfd.
3956         * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
3957         get_rpc_createerr.
3958         * sunrpc/clnt_perr.c: Likewise.
3959         * sunrpc/clnt_simp.c: Likewise.
3960         * sunrpc/clnt_tcp.c: Likewise.
3961         * sunrpc/clnt_udp.c: Likewise.
3962         * sunrpc/clnt_unix.c: Likewise.
3963         * sunrpc/pm_getport.c: Likewise.
3965         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
3966         syscall checks for negative n so don't test here as well.
3968 2001-03-23  Jes Sorensen  <jes@linuxcare.com>
3970         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
3971         * sysdeps/ia64/sysdep.h: ...here.
3973         * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
3974         * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
3976         * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
3977         declare instead of LEAF().  Suggestion from David Mosberger.
3979 2001-03-21  David Mosberger  <davidm@hpl.hp.com>
3981         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
3982         directives.
3983         (PSEUDO): Drop .psr and .lsb directives.
3985         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
3986         directives.
3987         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
3989         * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
3990         directives etc.
3991         * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
3992         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
3993         * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
3994         longer needed).  Add unwind directives.
3996         * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
3997         ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
3999 2001-03-21  Paul Eggert  <eggert@twinsun.com>
4001         * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
4002         (RE_SYNTAX_POSIX_EGREP): Use it.
4003         * posix/regex.c (regex_compile): Implement it.
4005 2001-03-21  Paul Eggert  <eggert@twinsun.com>
4007         * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
4008         Rewrite to avoid duplicate code.
4010 2001-03-21  H.J. Lu  <hjl@gnu.org>
4012         * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
4013         for cross-compiling.
4014         ($(objpfx)tst-pathopt.out): Undo the last change.
4016 2001-03-24  Mark Kettenis  <kettenis@gnu.org>
4018         * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
4019         sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
4021         * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
4022         (_dl_argv): Declare.
4023         (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
4025 2001-03-22  Andreas Jaeger  <aj@suse.de>
4027         * iconvdata/Makefile (generated): Add iconv-test.xxx.
4029         * posix/Makefile (generated): Add bug-regex2.mtrace and
4030         bug-regex2-mem.
4032 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
4034         * csu/version.c (__gnu_get_libc_release): Add prototype.
4035         (__gnu_get_libc_version): Likewise.
4036         * include/gnu/libc-version.h: Remove prototypes for not exported
4037         functions.
4039 2001-03-21  Jes Sorensen  <jes@linuxcare.com>
4041         * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
4042         for internationalized printfs to work.
4044 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
4046         * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
4047         avoid compiler warning.
4048         (_nl_find_msg): Add casts to avoid compiler warnings.
4050 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
4052         * gmon/Makefile (routines): Add sprofil.
4053         (tests): Add tst-sprofil.
4054         (noprof): Add sprofil.
4055         * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
4057 2001-03-20  David Mosberger  <davidm@hpl.hp.com>
4059         * sysdeps/generic/sprofil.c: New file.
4060         * sysdeps/posix/sprofil.c: New file.
4061         * gmon/tst-sprofil.c: New file.
4062         * gmon/sys/profil.h: New file.
4064 2001-03-20  Andreas Schwab  <schwab@suse.de>
4066         * include/unistd.h: Adjust prototype of __gethostname.
4068 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
4070         * sysdeps/sparc/stackinfo.h: New file.
4072 2001-03-21  Andreas Jaeger  <aj@suse.de>
4074         * elf/global.c (main): Use proper prototype.
4076 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
4078         * sunrpc/Makefile (routines): Add rpc_thread.
4079         (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
4080         * sunrpc/rpc_thread.c: New file.
4081         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
4082         * sunrpc/auth_none.c: Don't use global variables.  Access state in
4083         thread-local storage.
4084         * sunrpc/clnt_perr.c: Likewise.
4085         * sunrpc/clnt_raw.c: Likewise.
4086         * sunrpc/clnt_simp.c: Likewise.
4087         * sunrpc/key_call.c: Likewise.
4088         * sunrpc/rpc_common.c: Likewise.
4089         * sunrpc/svc.c: Likewise.
4090         * sunrpc/svc_raw.c: Likewise.
4091         * sunrpc/svc_simple.c: Likewise.
4092         * sunrpc/svcauth_des.c: Likewise.
4093         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
4094         _HURD_THREADVAR_RPC_VARS.
4095         * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
4096         * include/rpc/rpc.h: Define data structures for internal thread-local
4097         "global" variables.
4098         Based on patches by Eric Norum <eric.norum@usask.ca>.
4100         * elf/dl-load.c: Various little optimizations.
4102         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
4103         LINUX_LINK_MAX only if the statfs function is not implemented for
4104         the filesystem.
4106         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
4107         LINUX_LINK_MAX only if the fstatfs function is not implemented for
4108         the filesystem.
4110 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
4112         * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
4114         * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
4115         (_dl_dst_substitute): Likewise.
4117 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4119         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
4121 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4123         * intl/gettextP.h (struct expression): Add operators lnot, less_than,
4124         greater_than, less_or_equal, greater_or_equal.  Replace args2/args3
4125         union by a 'nargs' counter and an 'args[]' array.
4126         * intl/plural.y: Don't include stdarg.h.
4127         (new_exp): Take an array of arguments instead of varargs.
4128         (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
4129         ('?' ':'): Make right-associative.
4130         (EQUOP2): New token, replaces '=' and '!'.
4131         (CMPOP2): New token.
4132         (ADDOP2): New token, replaces '+' and '-'.
4133         (MULOP2): New token, replaces '*', '/' and '%'.
4134         ('!'): New token.
4135         (exp): Add rules for CMPOP2 and '!'.  Don't call YYABORT.
4136         (start): Call YYABORT here.
4137         (FREE_EXPRESSION): Update.
4138         (yylex): Don't skip "\\n".  Recognize comparison and '!' operators.
4139         Update for new token symbols.
4140         * intl/loadmsgcat.c (plvar, plone, germanic_plural,
4141         init_germanic_plural): Update.
4142         * intl/dcigettext.c (_nl_find_msg): Optimize for space.
4143         (plural_eval): Recognize comparison and '!' operators.  Optimize for
4144         space.
4146 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
4148         * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
4149         NULL any more.
4151 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
4153         * intl/loadmsgcat.c: Include headers needed for alloca().
4154         (freea): New macro.
4155         (_nl_load_domain): Add fallback code for platforms lacking alloca.
4156         * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
4157         (freea): New macro.
4158         (read_alias_file): Simplify fallback code for platforms lacking
4159         alloca.
4161 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
4163         * intl/gettextP.h (__gettextdebug): Remove declaration.
4164         (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
4165         syntax.
4166         (gettext_free_exp__, gettextparse__): New non-libc declarations.
4167         * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
4168         not __gettextparse, __gettext_free_exp.
4169         * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
4171 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
4173         * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
4175 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
4177         * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
4178         lacking strtoul, like SunOS4.
4180 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
4182         * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
4184 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
4186         * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
4187         syntax.
4188         * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
4189         * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
4190         * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
4191         syntax.
4193 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
4195         * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
4196         bindtextdomain__, bind_textdomain_codeset__): New declarations, from
4197         old libgettext.h.
4198         * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
4199         * intl/dcgettext.c: Likewise.
4200         * intl/dcigettext.c: Likewise.
4201         * intl/dcngettext.c: Likewise.
4202         * intl/dngettext.c: Likewise.
4203         * intl/finddomain.c: Likewise.
4204         * intl/ngettext.c: Likewise.
4205         * intl/textdomain.c: Likewise.
4206         * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
4207         Include gettextP.h.
4208         * intl/gettext.c: Likewise.  Don't include locale.h.
4210 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4212         * intl/gettextP.h (ZERO): New macro.
4213         (struct binding): Always use ZERO.
4214         * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
4215         lack it, like SunOS4.
4216         (set_binding_values): Use offsetof, not sizeof.
4217         * intl/dcigettext.c (offsetof): Provide fallback for platforms that
4218         lack it, like SunOS4.
4219         (ZERO): Remove macro.
4220         (struct transmem_list): Use ZERO.
4221         (DCIGETTEXT): Use offsetof, not sizeof.
4223 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4225         * intl/gettextP.h: Include <stddef.h>.  Include gettext.h, for
4226         nls_uint32.
4227         * intl/bindtextdom.c: Don't include gettext.h.
4228         * intl/dcgettext.c: Likewise.
4229         * intl/dcigettext.c: Likewise.
4230         * intl/dcngettext.c: Likewise.
4231         * intl/dngettext.c: Likewise.
4232         * intl/finddomain.c: Likewise.
4233         * intl/localealias.c: Likewise.
4234         * intl/ngettext.c: Likewise.
4235         * intl/plural.y: Likewise.
4236         * intl/textdomain.c: Likewise.
4238 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4240         * intl/gettext.h: Don't include <stdio.h>.
4242 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4244         * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
4245         * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
4247 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
4249         * sysdeps/unix/i386/i686/tempname.c: New file.
4251         * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
4252         defined use this macro to get some bits of randomness instead of
4253         the usual gettimeofday or time calls.
4255 2001-03-16  Paul Eggert  <eggert@twinsun.com>
4257         * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
4258         not defined, and if UINT64_MAX is not defined.
4260 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
4262         * elf/cache.c: Mark and have translated a few more messages.
4264 2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4266         * elf/cache.c: Add case for FLAG_S390_LIB64.
4267         * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
4268         * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
4269         * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
4271 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
4273         * string/Makefile (tests): Add tst-strxfrm.
4274         * string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
4275         * string/Depend: New file.
4277 2001-03-19  Paul Eggert  <eggert@twinsun.com>
4279         * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
4280         when given the empty string in nontrivial locales.
4282 2001-03-17  H.J. Lu  <hjl@gnu.org>
4284         * manual/Makefile (install): Use $(INSTALL_DATA) instead of
4285         cp to install `dir'.
4287 2001-03-19  Andreas Schwab  <schwab@suse.de>
4289         * Makerules (build-shlib): Make sure exit codes get checked
4290         properly.
4292 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
4294         * Makerules (build-shlib): Remove unnecessary slashes introduced in
4295         last change.
4297         * configure.in: Test for -Bgroup option of linker.
4298         * config.make.in: Define have-Bgroup.
4300         * conform/data/unistd.h-data: Require gethostname.
4301         * posix/unistd.h: Make gethostname prototype available for
4302         __USE_XOPEN2K.
4304         * crypt/Makefile: When generating DSO link with libc_nonshared.a.
4305         * debug/Makefile: Likewise.
4306         * dlfcn/Makefile: Likewise.
4307         * hesiod/Makefile: Likewise.
4308         * iconvdata/extra-module.mk: Likewise.
4309         * locale/Makefile: Likewise.
4310         * login/Makefile: Likewise.
4311         * math/Makefile: Likewise.
4312         * nis/Makefile: Likewise.
4313         * nss/Makefile: Likewise.
4314         * resolv/Makefile: Likewise.
4315         * rt/Makefile: Likewise.
4317 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
4319         * inet/Makefile (tests): Remove left-over comment.
4321         * posix/unistd.h (gethostname): Change type of second parameter
4322         back to size_t as per upcoming XPG6.
4323         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
4324         parameter back to size_t as per upcoming XPG6.
4325         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
4326         * sysdeps/unix/sysv/gethostname.c: Likewise.
4327         * sysdeps/mach/hurd/gethostname.c: Likewise.
4328         * sysdeps/generic/gethostname.c: Likewise.
4330 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
4332         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4333         Handle NaN here.
4335         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
4336         Internationalize.
4338 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
4340         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
4341         looking for name matches.
4343 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
4345         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
4346         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
4347         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
4348         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4349         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
4350         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
4351         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
4352         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
4353         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
4354         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
4355         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
4356         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
4358 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
4360         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
4361         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4363         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
4364         erfcl.
4365         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4367 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
4369         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
4370         Drop hack that was needed for 2.1.1 kernel headers.
4372         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
4374         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
4375         overlay with kernel's "struct sigcontext".
4377         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
4378         sys/rse.h for "misc" subdir.
4379         (sysdep_routines): Add __start_context for "stdlib" subdir.
4381         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
4382         kernel file of the same name).
4384         * stdlib/Makefile (tests): Add tst-setcontext.
4385         * stdlib/tst-setcontext.c: New file (based on a sample program by
4386         Uli Drepper).
4388         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
4389         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
4390         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
4391         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
4392         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
4394         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
4395         instead of shift & and.
4397 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4399         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
4400         * sysdeps/s390/bits/huge_val.h: ...here.
4401         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
4402         * sysdeps/s390/s390-64/ffs.c: Move to...
4403         * sysdeps/s390/ffs.c: ...here.
4404         * sysdeps/s390/s390-32/ffs.c: Remove.
4406 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
4408         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
4409         update osversion from more recent library.
4411 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4413         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
4414         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
4415         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
4416         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
4417         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
4418         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
4419         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
4420         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
4421         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
4422         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
4423         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
4424         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
4425         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
4426         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
4427         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
4428         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
4429         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
4430         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
4431         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
4432         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
4433         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
4434         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
4435         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
4436         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
4437         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
4438         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
4439         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
4440         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
4441         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
4442         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
4443         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
4444         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
4445         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
4446         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
4447         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
4448         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
4449         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
4450         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
4451         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
4452         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
4453         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
4454         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
4455         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
4456         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
4457         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
4458         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
4459         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
4460         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
4461         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
4462         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
4463         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
4464         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
4465         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
4466         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
4467         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
4468         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
4469         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
4470         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
4471         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
4472         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
4473         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
4474         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
4475         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
4476         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
4477         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
4478         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
4479         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
4480         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
4481         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
4482         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
4483         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
4484         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
4485         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
4486         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
4487         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
4488         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
4489         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
4490         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
4491         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
4492         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
4493         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
4494         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
4495         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
4496         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
4497         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
4498         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
4499         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
4500         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
4501         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
4502         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
4503         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
4504         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
4505         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
4506         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
4507         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
4508         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
4509         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
4510         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
4511         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
4512         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
4513         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
4514         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
4515         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
4516         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
4517         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
4518         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
4519         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
4520         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
4521         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4522         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
4523         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
4524         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
4525         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
4526         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
4528 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4530         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
4531         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
4532         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
4533         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
4534         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
4535         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
4536         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
4537         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
4538         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
4539         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
4540         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
4541         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
4542         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
4543         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
4544         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
4545         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
4546         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
4547         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
4548         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
4549         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
4550         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
4551         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
4552         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
4553         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
4554         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
4555         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
4556         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
4557         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
4558         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
4559         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
4560         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
4561         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
4562         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
4563         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
4564         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
4565         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
4566         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
4567         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
4568         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
4569         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
4570         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
4571         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
4572         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
4573         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
4574         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
4575         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
4576         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
4577         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
4578         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
4579         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
4580         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
4581         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
4582         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
4584 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4586         * sysdeps/s390/Dist: Move to...
4587         * sysdeps/s390/390-32/Dist: ...here.
4588         * sysdeps/s390/Implies: Move to...
4589         * sysdeps/s390/s390-32/Implies: ...here.
4590         * sysdeps/s390/Makefile: Move to...
4591         * sysdeps/s390/s390-32/Makefile: ...here.
4592         * sysdeps/s390/Versions: Move to...
4593         * sysdeps/s390-32/s390/Versions: ...here.
4594         * sysdeps/s390/add_n.S: Move to...
4595         * sysdeps/s390/s390-32/add_n.S: ...here.
4596         * sysdeps/s390/addmul_1.S: Move to...
4597         * sysdeps/s390/s390-32/addmul_1.S: ...here.
4598         * sysdeps/s390/atomicity.h: Move to...
4599         * sysdeps/s390/s390-32/atomicity.h: ...here.
4600         * sysdeps/s390/backtrace.c: Move to...
4601         * sysdeps/s390/s390-32/backtrace.c: ...here.
4602         * sysdeps/s390/bcopy.S: Move to...
4603         * sysdeps/s390/s390-32/bcopy.S: ...here.
4604         * sysdeps/s390/bits/byteswap.h: Move to...
4605         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
4606         * sysdeps/s390/bits/huge_val.h: Move to...
4607         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
4608         * sysdeps/s390/bsd-_setjmp.S: Move to...
4609         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
4610         * sysdeps/s390/bsd-setjmp.S: Move to...
4611         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
4612         * sysdeps/s390/bzero.S: Move to...
4613         * sysdeps/s390/s390-32/bzero.S: ...here.
4614         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
4615         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
4616         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
4617         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
4618         * sysdeps/s390/elf/start.S: Move to...
4619         * sysdeps/s390/s390-32/elf/start.S: ...here.
4620         * sysdeps/s390/ffs.c: Move to...
4621         * sysdeps/s390/s390-32/ffs.c: ...here.
4622         * sysdeps/s390/memchr.S: Move to...
4623         * sysdeps/s390/s390-32/memchr.S: ...here.
4624         * sysdeps/s390/memcpy.S: Move to...
4625         * sysdeps/s390/s390-32/memcpy.S: ...here.
4626         * sysdeps/s390/memset.S: Move to...
4627         * sysdeps/s390/s390-32/memset.S: ...here.
4628         * sysdeps/s390/mul_1.S: Move to...
4629         * sysdeps/s390/s390-32/mul_1.S: ...here.
4630         * sysdeps/s390/s390-mcount.S: Move to...
4631         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
4632         * sysdeps/s390/strcpy.S: Move to...
4633         * sysdeps/s390/s390-32/strcpy.S: ...here.
4634         * sysdeps/s390/strncpy.S: Move to...
4635         * sysdeps/s390/s390-32/strncpy.S: ...here.
4636         * sysdeps/s390/sub_n.S: Move to...
4637         * sysdeps/s390/s390-32/sub_n.S: ...here.
4639 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4641         * sysdeps/s390/s390-64/Dist: New file.
4642         * sysdeps/s390/s390-64/Implies: New file.
4643         * sysdeps/s390/s390-64/Makefile: New file.
4644         * sysdeps/s390/s390-64/__longjmp.c: New file.
4645         * sysdeps/s390/s390-64/add_n.S: New file.
4646         * sysdeps/s390/s390-64/atomicity.h: New file.
4647         * sysdeps/s390/s390-64/backtrace.c: New file.
4648         * sysdeps/s390/s390-64/bcopy.S: New file.
4649         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
4650         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
4651         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
4652         * sysdeps/s390/s390-64/bits/string.h: New file.
4653         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
4654         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
4655         * sysdeps/s390/s390-64/bzero.S: New file.
4656         * sysdeps/s390/s390-64/dl-machine.h: New file.
4657         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
4658         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
4659         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
4660         * sysdeps/s390/s390-64/elf/start.S: New file.
4661         * sysdeps/s390/s390-64/ffs.c: New file.
4662         * sysdeps/s390/s390-64/initfini.c: New file.
4663         * sysdeps/s390/s390-64/memchr.S: New file.
4664         * sysdeps/s390/s390-64/memcpy.S: New file.
4665         * sysdeps/s390/s390-64/memset.S: New file.
4666         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
4667         * sysdeps/s390/s390-64/setjmp.S: New file.
4668         * sysdeps/s390/s390-64/strcpy.S: New file.
4669         * sysdeps/s390/s390-64/strncpy.S: New file.
4670         * sysdeps/s390/s390-64/sub_n.S: New file.
4671         * sysdeps/s390/s390-64/sysdep.h: New file.
4673 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4675         * scripts/config.guess: Add support for Linux on 64 bit S/390.
4676         * scripts/config.sub: Likewise.
4678 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4680         * configure.in: Add support for 64 bit S/390.
4682         * elf/elf.h: Add new relocations for 64 bit S/390.
4684         * shlib-versions: Add rules for Linux on 64 bit S/390.
4686 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4688         * sysdeps/s390/__longjmp.c: Move to...
4689         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
4690         to load the floating point registers that should be saved
4691         according to the ABI.
4693         * sysdeps/s390/bits/setjmp.h: Move to...
4694         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
4695         the use of long long in the __jmp_buf type definition.
4697         * sysdeps/s390/bits/string.h: Move to...
4698         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
4699         #ifndef _FORCE_INLINES.
4701         * sysdeps/s390/dl-machine.h: Move to...
4702         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
4703         executables EI_CLASS in elf_machine_matches_host.
4705         * sysdeps/s390/elf/setjmp.S: Move to...
4706         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
4707         branches to globally defined symbol __sigsetjmp by branches to
4708         a local label (this avoids the generation of a R_390_PC16DBL
4709         relocation in -fpic code).
4711         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
4712         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
4714         * sysdeps/s390/initfini.c: Move to...
4715         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
4716         ".align 4,0x07".
4718         * sysdeps/s390/setjmp.S: Move to...
4719         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
4720         floating point registers that should be saved according to the ABI.
4722         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
4724         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4725         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.  Include
4726         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
4728 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4730         * configure.in: Change machine=s390 to machine=s390/s390-32.
4732         * elf/elf.h: Correct comment for R_390_PLT16DBL.
4734 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
4736         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
4737         version to be overriden from config.h.
4738         * csu/abi-note.S: Use OS and version separately, include config.h.
4739         * elf/dl-load.c (_dl_osversion): New.
4740         (_dl_map_object_from_fd): Kill some warnings.
4741         (open_verify): Check .note.ABI-tag of the library if present.
4742         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
4743         * elf/cache.c (struct cache_entry): Add osversion.
4744         (print_entry): Print osversion.
4745         (print_cache): Pass osversion to it.
4746         (compare): Sort according to osversion.
4747         (save_cache): Set osversion.
4748         (add_to_cache): Add osversion argument.
4749         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
4750         process_elf_file): Add osversion argument.
4751         * elf/readlib.c (process_file): Likewise.
4752         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
4753         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
4754         process_elf32_file, process_elf64_file): Likewise.
4755         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
4756         process_elf32_file, process_elf64_file): Likewise.
4757         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
4758         process_elf32_file, process_elf64_file): Likewise.
4759         * elf/ldconfig.c (manual_link): Pass it.
4760         (search_dir): Issue diagnostic if two libs with the same soname in
4761         the same directory have different .note.ABI-tag.  Record osversion in
4762         dlib_entry and use it from there.
4763         (struct lib_entry): Remove.
4764         (struct dlib_entry): Add osversion.
4765         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
4766         osversion.
4767         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
4768         field with osversion.
4769         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
4770         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
4771         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
4772         version in _dl_osversion.
4773         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
4774         * Makerules (build-shlib-helper, build-module-helper): New.
4775         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
4776         early.
4777         * config.h.in (__ABI_TAG_VERSION): Add.
4778         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
4779         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
4780         Handle LD_ASSUME_KERNEL.
4781         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
4783 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
4785         * timezone/antarctica: Update from tzdata2001a.
4786         * timezone/asia: Likewise.
4787         * timezone/australasia: Likewise.
4788         * timezone/backward: Likewise.
4789         * timezone/etcetera: Likewise.
4790         * timezone/europe: Likewise.
4791         * timezone/leapseconds: Likewise.
4792         * timezone/northamerica: Likewise.
4793         * timezone/southamerica: Likewise.
4794         * timezone/systemv: Likewise.
4795         * timezone/yearistype: Likewise.
4796         * timezone/zone.tab: Likewise.
4797         * timezone/tzdump.c: Update from tzcode2001a.
4799 2001-03-15  H.J. Lu  <hjl@gnu.org>
4801         * intl/Makefile: Fix a typo.
4803 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
4805         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
4806         writing arc structures.
4808 2001-03-15  H.J. Lu  <hjl@gnu.org>
4810         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
4811         cross-compiling.
4813 2001-03-13  Andreas Schwab  <schwab@suse.de>
4815         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
4817 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
4819         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
4820         for control message fitting into message data.
4821         Patch by James Antill <james@and.org>.
4823         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
4824         FNM_EXTMATCH.
4826         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
4827         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
4829         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
4830         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
4831         avoid running binaries with libc versions without FNM_EXTMATCH support.
4833         * include/wchar.h: Add prototype for __wcscat.
4834         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
4836         * posix/fnmatch.h (FNM_EXTMATCH): Define.
4837         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
4838         (posixly_correct): Move global variable here.
4839         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
4840         (fnmatch): Pretty printing.
4841         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
4842         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
4843         * posix/tst-fnmatch.input: Add tests for extended matching.
4845         * posix/testfnm.c: Add test for patterns with multiple ** before /.
4846         * posix/fnmatch_loop.c: Fix problem with the test above.
4848 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
4850         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
4851         reference to usqrt.
4853         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
4855 2001-03-12  Andreas Jaeger  <aj@suse.de>
4857         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4858         Use EM_X86_64 instead of EM_X8664.
4860 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
4862         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
4864         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
4865         conditions.
4867         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
4868         conditions.
4870         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
4871         correctly.
4872         (__cos): Likewise.
4874         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
4875         correctly.
4876         (__ieee754_acos): Likewise.
4878 2001-03-12  Andreas Jaeger  <aj@suse.de>
4880         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
4881         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
4883         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
4884         redefinition.
4886 2001-03-11  Roland McGrath  <roland@frob.com>
4888         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
4890 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
4892         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
4893         LITTLE_ENDI.
4895         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
4896         parameter list.
4898         Last-bit accurate math library implementation by IBM Haifa.
4899         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
4900         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
4901         Anna Reitman <reitman@il.ibm.com>.
4902         * math/Makefile (dbl-only-routines): New variable.
4903         (libm-routines): Add $(dbl-only-routines).
4904         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
4905         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
4906         implementation.
4907         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
4908         implementation.
4909         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
4910         implementation.
4911         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
4912         __kernel_cos.
4913         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
4914         implementation.
4915         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
4916         remainder implementation.
4917         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
4918         implementation.
4919         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
4920         implementation.
4921         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
4922         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
4923         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
4924         implementation.
4925         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
4926         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
4927         implementation.
4928         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
4929         and __kernel_cos.
4930         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
4931         implementation.
4932         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
4933         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
4934         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
4935         * sysdeps/ieee754/dbl-64/atnat.h: New file.
4936         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
4937         * sysdeps/ieee754/dbl-64/branred.c: New file.
4938         * sysdeps/ieee754/dbl-64/branred.h: New file.
4939         * sysdeps/ieee754/dbl-64/dla.h: New file.
4940         * sysdeps/ieee754/dbl-64/doasin.c: New file.
4941         * sysdeps/ieee754/dbl-64/doasin.h: New file.
4942         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
4943         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
4944         * sysdeps/ieee754/dbl-64/endian.h: New file.
4945         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
4946         * sysdeps/ieee754/dbl-64/mpa.c: New file.
4947         * sysdeps/ieee754/dbl-64/mpa.h: New file.
4948         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
4949         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
4950         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
4951         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
4952         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
4953         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
4954         * sysdeps/ieee754/dbl-64/mplog.c: New file.
4955         * sysdeps/ieee754/dbl-64/mplog.h: New file.
4956         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
4957         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
4958         * sysdeps/ieee754/dbl-64/mptan.c: New file.
4959         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
4960         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
4961         * sysdeps/ieee754/dbl-64/root.tbl: New file.
4962         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
4963         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
4964         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
4965         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
4966         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
4967         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
4968         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
4969         * sysdeps/ieee754/dbl-64/uexp.h: New file.
4970         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
4971         * sysdeps/ieee754/dbl-64/ulog.h: New file.
4972         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
4973         * sysdeps/ieee754/dbl-64/upow.h: New file.
4974         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
4975         * sysdeps/ieee754/dbl-64/urem.h: New file.
4976         * sysdeps/ieee754/dbl-64/uroot.h: New file.
4977         * sysdeps/ieee754/dbl-64/usncs.h: New file.
4978         * sysdeps/ieee754/dbl-64/utan.h: New file.
4979         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
4980         * sysdeps/i386/fpu/branred.c: New file.
4981         * sysdeps/i386/fpu/doasin.c: New file.
4982         * sysdeps/i386/fpu/dosincos.c: New file.
4983         * sysdeps/i386/fpu/halfulp.c: New file.
4984         * sysdeps/i386/fpu/mpa.c: New file.
4985         * sysdeps/i386/fpu/mpatan.c: New file.
4986         * sysdeps/i386/fpu/mpatan2.c: New file.
4987         * sysdeps/i386/fpu/mpexp.c: New file.
4988         * sysdeps/i386/fpu/mplog.c: New file.
4989         * sysdeps/i386/fpu/mpsqrt.c: New file.
4990         * sysdeps/i386/fpu/mptan.c: New file.
4991         * sysdeps/i386/fpu/sincos32.c: New file.
4992         * sysdeps/i386/fpu/slowexp.c: New file.
4993         * sysdeps/i386/fpu/slowpow.c: New file.
4994         * sysdeps/ia64/fpu/branred.c: New file.
4995         * sysdeps/ia64/fpu/doasin.c: New file.
4996         * sysdeps/ia64/fpu/dosincos.c: New file.
4997         * sysdeps/ia64/fpu/halfulp.c: New file.
4998         * sysdeps/ia64/fpu/mpa.c: New file.
4999         * sysdeps/ia64/fpu/mpatan.c: New file.
5000         * sysdeps/ia64/fpu/mpatan2.c: New file.
5001         * sysdeps/ia64/fpu/mpexp.c: New file.
5002         * sysdeps/ia64/fpu/mplog.c: New file.
5003         * sysdeps/ia64/fpu/mpsqrt.c: New file.
5004         * sysdeps/ia64/fpu/mptan.c: New file.
5005         * sysdeps/ia64/fpu/sincos32.c: New file.
5006         * sysdeps/ia64/fpu/slowexp.c: New file.
5007         * sysdeps/ia64/fpu/slowpow.c: New file.
5008         * sysdeps/m68k/fpu/branred.c: New file.
5009         * sysdeps/m68k/fpu/doasin.c: New file.
5010         * sysdeps/m68k/fpu/dosincos.c: New file.
5011         * sysdeps/m68k/fpu/halfulp.c: New file.
5012         * sysdeps/m68k/fpu/mpa.c: New file.
5013         * sysdeps/m68k/fpu/mpatan.c: New file.
5014         * sysdeps/m68k/fpu/mpatan2.c: New file.
5015         * sysdeps/m68k/fpu/mpexp.c: New file.
5016         * sysdeps/m68k/fpu/mplog.c: New file.
5017         * sysdeps/m68k/fpu/mpsqrt.c: New file.
5018         * sysdeps/m68k/fpu/mptan.c: New file.
5019         * sysdeps/m68k/fpu/sincos32.c: New file.
5020         * sysdeps/m68k/fpu/slowexp.c: New file.
5021         * sysdeps/m68k/fpu/slowpow.c: New file.
5023         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
5024         codepages.
5026 2001-03-11  Andreas Jaeger  <aj@suse.de>
5028         * elf/elf.h (EM_*): Synch with official list.
5030 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
5032         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
5034 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
5036         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
5037         variables addr & len.
5039 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
5041         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
5042         punctuation in asm constraint.
5044 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
5046         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
5047         <time.h> to get definition of `struct timespec'.
5049 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
5051         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
5052         LD_WARN=1, not if LD_WARN is unset.
5054 2001-03-07  Andreas Schwab  <schwab@suse.de>
5056         * elf/ldconfig.h: Moved to ...
5057         * sysdeps/generic/ldconfig.h: ... here.
5058         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
5059         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
5060         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
5061         * elf/readlib.c (interpreters, known_libs): Use
5062         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
5063         instead of hard coding old names.
5065 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
5067         * catgets/Makefile (generated): Add test-gencat.h.
5068         (sample.SJIS.cat): Also generate header.
5069         * catgets/sample.SJIS: Add new set and message, both with symbolic
5070         names.
5071         * catgets/test-gencat.sh: Also compare generated header with what
5072         we expect.
5074 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
5076         * catgets/gencat.c (read_input_file): Preserve properly symbolic
5077         names.
5079 2001-03-06  Andreas Jaeger  <aj@suse.de>
5081         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
5082         needed.
5083         (elf_machine_pltrel_p): Likewise.
5084         * sysdeps/powerpc/dl-machine.h: Likewise.
5085         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
5087 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
5089         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
5090         dl-procinfo.h.
5092 2001-03-05  Philip Blundell  <philb@gnu.org>
5094         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
5095         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
5096         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
5097         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
5098         dl-procinfo.
5100 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
5102         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
5103         is not available.
5104         * dlfcn/tstcxaatexit.c (main): Likewise.
5106 2001-03-10  Andreas Jaeger  <aj@suse.de>
5108         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
5110 2001-03-09  Andreas Jaeger  <aj@suse.de>
5112         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
5113         both new and old EM_S390 values.
5114         (EM_S390_OLD): New constant.
5116         * elf/elf.h (EM_S390): Use official value.
5118 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
5120         * conform/data/sys/socket.h-data: Allow SO* symbols.
5122 2001-03-07  Andreas Schwab  <schwab@suse.de>
5124         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
5125         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
5127 2001-03-07  Andreas Jaeger  <aj@suse.de>
5129         * resolv/Makefile (routines): Only build gai_sigqueue when threads
5130         are available.
5132 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
5134         * elf/ldconfig.c (_dl_sysdep_message): Remove.
5135         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
5136         ldsodefs.h.
5137         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
5139         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
5140         _dl_error_printf instead of _dl_sysdep_error.
5141         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5142         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
5143         Use _dl_printf instead of _dl_sysdep_message.
5144         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
5145         Likewise.
5147 2001-03-06  Ben Collins  <bcollins@debian.org>
5149         * manual/arith.texi (Integers): Fix documentation of fast and
5150         least integer typedefs.
5152 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
5154         * resolv/Depend: New file.
5155         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
5156         when libpthread is built.
5158 2001-03-06  Andreas Jaeger  <aj@suse.de>
5160         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
5162         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
5163         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
5165 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
5167         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
5169 2001-03-05  Andreas Jaeger  <aj@suse.de>
5171         * stdlib/msort.c (qsort): Don't use alloca in a function call.
5173 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
5175         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
5176         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
5177         always return zero.
5178         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5179         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
5180         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
5181         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
5182         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5183         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
5184         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
5186 2001-03-04  Andreas Jaeger  <aj@suse.de>
5188         * stdlib/longlong.h: Don't use multi-line strings.
5189         * iconvdata/tst-loading.c: Likewise.
5191         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
5192         string.
5194 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
5196         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
5198         * rt/lio_listio.c: Add a few asserts.
5200         * elf/global.c: New file.
5201         * elf/globalmod1.c: New file.
5202         * elf/Makefile: Add rules to build and run global.
5204         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
5205         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5206         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5207         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5208         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5210         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
5211         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5213         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
5215         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
5216         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5218         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
5220         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
5222 2001-03-04  Andreas Jaeger  <aj@suse.de>
5224         * resolv/tst-aton.c: Add testcase for IP with four periods.
5226         * resolv/inet_addr.c: Don't recognize an IP with four periods.
5227         Patch by Andre' Breiler <A.Breiler@gmx.net>.
5229 2001-02-27  Philip Blundell  <pb@futuretv.com>
5231         * elf/elf.h: Add new ARM definitions from latest (B-01)
5232         specification.  Correct naming of EF_ARM_ALIGN8 et al.
5234 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
5236         * stdio-common/tst-printf.sh: Remove bashisms.
5237         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
5239 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
5241         * Versions.def: Add libanl definition.
5242         * shlib-versions: Add entry for libanl.
5243         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
5244         (routines): Add gai_sigqueue.
5245         (extra-libs): Add libanl.
5246         (libanl-routines): New variable.
5247         Add rules to build libanl and ga_test.
5248         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
5249         [libanl]: New library.
5250         * resolv/netdb.h: Add definitions for libanl.
5251         * resolv/getaddrinfo_a.c: New file.
5252         * resolv/gai_cancel.c: New file.
5253         * resolv/gai_error.c: New file.
5254         * resolv/gai_misc.c: New file.
5255         * resolv/gai_misc.h: New file.
5256         * resolv/gai_notify.c: New file.
5257         * resolv/gai_suspend.c: New file.
5258         * resolv/ga_test.c: New file.
5259         * sysdeps/generic/gai_sigqueue.c: New file.
5260         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
5261         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
5262         and provide only that definition.
5263         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
5264         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
5265         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5266         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5267         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5268         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5270         * rt/aio_misc.c: Fix typos in comments.
5271         * rt/lio_listio.c: Pretty printing.  Little optimization in request
5272         list handling.
5274         * elf/rtld.c: Remove commented out code.
5276         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
5277         Update for real 2.4 kernels.
5279 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
5281         * elf/dl-load.c: Pretty printing.
5283         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
5284         twice.
5286 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
5288         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
5289         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
5291         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
5293         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
5294         machines.
5296         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
5298 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
5300         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
5301         _dl_debug_mask.
5303         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
5304         _dl_debug_printf.
5305         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
5306         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
5307         _dl_debug_printf_c, and _dl_printf.
5308         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
5309         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
5310         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
5311         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
5312         * elf/dl-close.c: Replace use of old output functions with the new
5313         ones.
5314         * elf/dl-deps.c: Likewise.
5315         * elf/dl-error.c: Likewise.
5316         * elf/dl-fini.c: Likewise.
5317         * elf/dl-init.c: Likewise.
5318         * elf/dl-load.c: Likewise.
5319         * elf/dl-lookup.c: Likewise.
5320         * elf/dl-minimal.c: Likewise.
5321         * elf/dl-open.c: Likewise.
5322         * elf/dl-profile.c: Likewise.
5323         * elf/dl-reloc.c: Likewise.
5324         * elf/dl-version.c: Likewise.
5325         * elf/do-lookup.h: Likewise.
5326         * elf/rtld.c: Likewise.
5327         * sysdeps/generic/dl-cache.c: Likewise.
5328         * sysdeps/generic/dl-sysdep.c: Likewise.
5329         * sysdeps/generic/libc-start.c: Likewise.
5330         * sysdeps/i386/dl-machine.h: Likewise.
5331         * sysdeps/arm/dl-machine.h: Likewise.
5332         * sysdeps/hppa/dl-machine.h: Likewise.
5333         * sysdeps/m68k/dl-machine.h: Likewise.
5334         * sysdeps/powerpc/dl-machine.h: Likewise.
5335         * sysdeps/s390/dl-machine.h: Likewise.
5336         * sysdeps/sh/dl-machine.h: Likewise.
5337         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5338         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
5339         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5341         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
5343         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
5344         supported by assembler.
5346         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
5347         declaractions.
5349         * elf/rtld.c: Little optimizations in handling _dl_lazy.
5351         * elf/cache.c (save_cache): Portability changes.
5352         * elf/dl-profile.c (_dl_start_profile): Likewise.
5354         * elf/sln.c: Cleanups.  Remove arbitrary limits.
5356         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
5357         * elf/dl-deps.c: Likewise.
5358         * elf/dl-fini.c: Likewise.
5359         * elf/dl-init.c: Likewise.
5360         * elf/dl-load.c: Likewise.
5361         * elf/dl-lookup.c: Likewise.
5362         * elf/dl-open.c: Likewise.
5363         * elf/dl-reloc.c: Likewise.
5364         * elf/dl-support.c: Likewise.
5365         * elf/dl-version.c: Likewise.
5366         * elf/do-lookup.h: Likewise.
5367         * elf/rtld.c: Likewise.
5368         * sysdeps/generic/dl-cache.c: Likewise.
5369         * sysdeps/generic/ldsodefs.h: Likewise.
5370         * sysdeps/generic/libc-start.c: Likewise.
5371         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
5372         Export _dl_debug_mask.
5373         * Versions.def: Define GLIBC_2.2.3 for ld.
5375 2001-02-26  Greg McGary  <greg@mcgary.org>
5377         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
5379 2001-02-26  Paul Eggert  <eggert@twinsun.com>
5381         Modify mkstemp.c and tempname.c so that they can be used by
5382         GNU applications on non-glibc platforms.
5384         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
5386         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
5387         Include <stddef.h>, <stdint.h>, <string.h> only if
5388         STDC_HEADERS || _LIBC.
5389         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
5390         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
5391         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
5392         (__set_errno): Define this macro if <errno.h> doesn't.
5393         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
5394         Define these macros if <stdio.h> doesn't.
5395         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
5396         Define these macros if <sys/stat.h> doesn't.
5397         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
5398         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
5399         lxstat64, __xstat64): Define if not _LIBC.
5400         (struct_stat64): New macro.
5401         (direxists, __gen_tempname): Use it, to avoid a
5402         portability problem with Solaris 8.
5403         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
5404         (__gen_tempname): Invoke gettimeofday only if
5405         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
5406         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
5407         octal values like 0600.
5409 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
5411         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
5412         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5414         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
5415         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5417         * posix/wordexp-test.c (testit): Remove warnings.
5419         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
5420         (tests): Add tstatexit and tstcxaatexit.
5421         (module-names): Add modatexit and modcxaatexit.
5422         Add rules to build and run tstatexit and tstcxaatexit.
5423         * dlfcn/modatexit.c: New file.
5424         * dlfcn/modcxaatexit.c: New file.
5425         * dlfcn/tstatexit.c: New file.
5426         * dlfcn/tstcxaatexit.c: New file.
5428         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
5429         .hidden is available.
5430         * io/stat.c: If .hidden is available use it to avoid exporting
5431         functions.
5432         * io/fstat.c: Likewise.
5433         * io/lstat.c: Likewise.
5434         * io/stat64.c: Likewise.
5435         * io/fstat64.c: Likewise.
5436         * io/lstat64.c: Likewise.
5437         * sysdeps/generic/mknod.c: Likewise.
5439         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
5440         * sysdeps/generic/bb_init_func.c: Likewise.
5441         * sysdeps/generic/libc-start.c: Likewise.
5443         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
5444         (atexit): Implement using __cxa_atexit.
5445         Use .hidden if availble to avoid exporting atexit.
5446         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
5447         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
5448         * stdlib/Makefile (routines): Add old_atexit.
5449         (static-only-routines): Add atexit.
5450         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
5451         * stdlib/old_atexit.c: New file.
5453         * intl/Makefile: Remove bogus endif.
5455 2001-02-26  Andreas Jaeger  <aj@suse.de>
5457         * iconvdata/Makefile (tests): Fix typo in last patch.
5459         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
5460         available.
5461         Reported by Achim Gottinger <achim@gentoo.org>.
5463 2001-02-25  Andreas Jaeger  <aj@suse.de>
5465         * intl/Makefile (plural.c): Reorder rules so that they work if
5466         BISON doesn't exist.
5468 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
5470         * intl/locale.alias: Don't use nb_NO but define aliases for it.
5472 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
5474         * sysdeps/i386/strtok.S: Continue to return NULL after the first
5475         time this happened.
5477 2001-02-23  Andreas Jaeger  <aj@suse.de>
5479         * string/tester.c (test_strtok_r): Add testcase.
5480         (test_strtok_r): Always initialize cp for proper checking.
5482         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
5483         returning NULL correctly.
5484         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
5485         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
5487 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
5489         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
5490         including <stddef.h>.
5491         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
5492         * include/libc-symbols.h (weak_alias): Don't use .weak if
5493         HAVE_ASM_GLOBAL_DOT_NAME is defined.
5494         Patches by Michael Keezer <mkeezer@redhat.com>.
5496         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
5497         Patch by Michael Keezer <mkeezer@redhat.com>.
5499         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
5500         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
5501         (sysdep_routines): Remove restf.S and savef.S.
5502         * sysdeps/unix/sysv/aix/restf.S: Removed.
5503         * sysdeps/unix/sysv/aix/savef.S: Removed.
5504         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
5505         alternative names used on some platforms.
5506         * sysdeps/powerpc/fprsave.S: Likewise.
5507         * sysdeps/powerpc/gprrest0.S: Likewise.
5508         * sysdeps/powerpc/gprrest1.S: Likewise.
5509         * sysdeps/powerpc/gprsave0.S: Likewise.
5510         * sysdeps/powerpc/gprsave1.S: Likewise.
5511         Patch by Michael Keezer <mkeezer@redhat.com>.
5513 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
5515         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
5517 2001-02-22  Andreas Jaeger  <aj@suse.de>
5519         * string/tst-strtok.c (main): Fix error messages.
5521 2001-02-22  Andreas Jaeger  <aj@suse.de>
5523         * math/Makefile: Remove omit-long-double-fcts.
5525 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
5527         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
5528         avoid problems on MIPS I.
5529         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
5531         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
5532         noreorder".
5534 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
5536         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
5538         * sysdeps/generic/ftime.c: Include <time.h>.
5540         * configure.in: Don't check for libgd if user passed --without-gd.
5541         Patch by Achim Gottinger <achim@gentoo.org>.
5543         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
5544         first time this happened.
5545         * string/Makefile (tests): Add tst-strtok.
5547 2001-02-21  Andreas Jaeger  <aj@suse.de>
5549         * string/tst-strtok.c: New testcase, reported by
5550         Andrew Church <achurch@achurch.org>.
5552 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
5554         * libio/iofwide.c: Remove fwide alias.
5556 2001-02-20  Andreas Jaeger  <aj@suse.de>
5558         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
5559         is available.
5560         Reported by Achim Gottinger <achim@gentoo.org>.
5562 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
5564         * iconv/tst-iconv1.c (main): Remove debugging code.
5566         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
5567         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5569         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
5570         parameters.
5571         * sysdeps/generic/e_scalbf.c: Likewise.
5572         * sysdeps/generic/e_scalbl.c: Likewise.
5574         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
5575         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
5576         in libc.
5577         (routines): Replace libm_error with libc_libm_error.
5578         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
5579         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
5581 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
5583         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
5584         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
5586 2001-02-17  H.J. Lu  <hjl@gnu.org>
5588         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
5589         scratch registers across the system call.
5591 2001-02-19  Andreas Jaeger  <aj@suse.de>
5593         * malloc/Makefile (tests): Run mtrace only when perl is available.
5594         Reported by Achim Gottinger <achim@gentoo.org>.
5596 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
5598         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
5599         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5601         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
5602         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
5603         * math/libm-test.inc (j1_test): Mark constants as long double.
5604         (jn_test): Likewise.
5605         (y1_test): Likewise.
5606         (yn_test): Likewise.
5608         * libio/iogetline.c: Move return until after last statement.
5610         * localedata/show-ucs-data.c: Don't show < > for better readability.
5612         * sysdeps/ia64/fpu/Dist: New file.
5613         * sysdeps/ia64/fpu/Makefile: New file.
5614         * sysdeps/ia64/fpu/Versions: New file.
5615         * sysdeps/ia64/fpu/e_acos.S: New file.
5616         * sysdeps/ia64/fpu/e_acosf.S: New file.
5617         * sysdeps/ia64/fpu/e_acosl.S: New file.
5618         * sysdeps/ia64/fpu/e_asin.S: New file.
5619         * sysdeps/ia64/fpu/e_asinf.S: New file.
5620         * sysdeps/ia64/fpu/e_asinl.S: New file.
5621         * sysdeps/ia64/fpu/e_atan2.S: New file.
5622         * sysdeps/ia64/fpu/e_atan2f.S: New file.
5623         * sysdeps/ia64/fpu/e_atan2l.c: New file.
5624         * sysdeps/ia64/fpu/e_cosh.S: New file.
5625         * sysdeps/ia64/fpu/e_coshf.S: New file.
5626         * sysdeps/ia64/fpu/e_coshl.S: New file.
5627         * sysdeps/ia64/fpu/e_exp.S: New file.
5628         * sysdeps/ia64/fpu/e_expf.S: New file.
5629         * sysdeps/ia64/fpu/e_expl.c: New file.
5630         * sysdeps/ia64/fpu/e_fmod.S: New file.
5631         * sysdeps/ia64/fpu/e_fmodf.S: New file.
5632         * sysdeps/ia64/fpu/e_fmodl.S: New file.
5633         * sysdeps/ia64/fpu/e_hypot.S: New file.
5634         * sysdeps/ia64/fpu/e_hypotf.S: New file.
5635         * sysdeps/ia64/fpu/e_hypotl.S: New file.
5636         * sysdeps/ia64/fpu/e_log.S: New file.
5637         * sysdeps/ia64/fpu/e_log10.c: New file.
5638         * sysdeps/ia64/fpu/e_log10f.c: New file.
5639         * sysdeps/ia64/fpu/e_log10l.c: New file.
5640         * sysdeps/ia64/fpu/e_logf.S: New file.
5641         * sysdeps/ia64/fpu/e_logl.c: New file.
5642         * sysdeps/ia64/fpu/e_pow.S: New file.
5643         * sysdeps/ia64/fpu/e_powf.S: New file.
5644         * sysdeps/ia64/fpu/e_powl.S: New file.
5645         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
5646         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
5647         * sysdeps/ia64/fpu/e_remainder.S: New file.
5648         * sysdeps/ia64/fpu/e_remainderf.S: New file.
5649         * sysdeps/ia64/fpu/e_remainderl.S: New file.
5650         * sysdeps/ia64/fpu/e_scalb.S: New file.
5651         * sysdeps/ia64/fpu/e_scalbf.S: New file.
5652         * sysdeps/ia64/fpu/e_scalbl.S: New file.
5653         * sysdeps/ia64/fpu/e_sinh.S: New file.
5654         * sysdeps/ia64/fpu/e_sinhf.S: New file.
5655         * sysdeps/ia64/fpu/e_sinhl.S: New file.
5656         * sysdeps/ia64/fpu/e_sqrt.S: New file.
5657         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
5658         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
5659         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
5660         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
5661         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
5662         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
5663         * sysdeps/ia64/fpu/libm_error.c: New file.
5664         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
5665         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
5666         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
5667         * sysdeps/ia64/fpu/libm_reduce.S: New file.
5668         * sysdeps/ia64/fpu/libm_support.h: New file.
5669         * sysdeps/ia64/fpu/libm_tan.S: New file.
5670         * sysdeps/ia64/fpu/s_atan.S: New file.
5671         * sysdeps/ia64/fpu/s_atanf.S: New file.
5672         * sysdeps/ia64/fpu/s_atanl.S: New file.
5673         * sysdeps/ia64/fpu/s_cbrt.S: New file.
5674         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
5675         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
5676         * sysdeps/ia64/fpu/s_ceil.S: New file.
5677         * sysdeps/ia64/fpu/s_ceilf.S: New file.
5678         * sysdeps/ia64/fpu/s_ceill.S: New file.
5679         * sysdeps/ia64/fpu/s_cos.S: New file.
5680         * sysdeps/ia64/fpu/s_cosf.S: New file.
5681         * sysdeps/ia64/fpu/s_cosl.S: New file.
5682         * sysdeps/ia64/fpu/s_expm1.S: New file.
5683         * sysdeps/ia64/fpu/s_expm1f.S: New file.
5684         * sysdeps/ia64/fpu/s_expm1l.S: New file.
5685         * sysdeps/ia64/fpu/s_floor.S: New file.
5686         * sysdeps/ia64/fpu/s_floorf.S: New file.
5687         * sysdeps/ia64/fpu/s_floorl.S: New file.
5688         * sysdeps/ia64/fpu/s_frexp.c: New file.
5689         * sysdeps/ia64/fpu/s_frexpf.c: New file.
5690         * sysdeps/ia64/fpu/s_frexpl.c: New file.
5691         * sysdeps/ia64/fpu/s_ilogb.S: New file.
5692         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
5693         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
5694         * sysdeps/ia64/fpu/s_ldexp.S: New file.
5695         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
5696         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
5697         * sysdeps/ia64/fpu/s_log1p.S: New file.
5698         * sysdeps/ia64/fpu/s_log1pf.S: New file.
5699         * sysdeps/ia64/fpu/s_log1pl.S: New file.
5700         * sysdeps/ia64/fpu/s_logb.S: New file.
5701         * sysdeps/ia64/fpu/s_logbf.S: New file.
5702         * sysdeps/ia64/fpu/s_logbl.S: New file.
5703         * sysdeps/ia64/fpu/s_matherrf.c: New file.
5704         * sysdeps/ia64/fpu/s_matherrl.c: New file.
5705         * sysdeps/ia64/fpu/s_modf.S: New file.
5706         * sysdeps/ia64/fpu/s_modff.S: New file.
5707         * sysdeps/ia64/fpu/s_modfl.S: New file.
5708         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
5709         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
5710         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
5711         * sysdeps/ia64/fpu/s_rint.S: New file.
5712         * sysdeps/ia64/fpu/s_rintf.S: New file.
5713         * sysdeps/ia64/fpu/s_rintl.S: New file.
5714         * sysdeps/ia64/fpu/s_round.S: New file.
5715         * sysdeps/ia64/fpu/s_roundf.S: New file.
5716         * sysdeps/ia64/fpu/s_roundl.S: New file.
5717         * sysdeps/ia64/fpu/s_scalbn.S: New file.
5718         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
5719         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
5720         * sysdeps/ia64/fpu/s_significand.S: New file.
5721         * sysdeps/ia64/fpu/s_significandf.S: New file.
5722         * sysdeps/ia64/fpu/s_significandl.S: New file.
5723         * sysdeps/ia64/fpu/s_sin.c: New file.
5724         * sysdeps/ia64/fpu/s_sincos.c: New file.
5725         * sysdeps/ia64/fpu/s_sincosf.c: New file.
5726         * sysdeps/ia64/fpu/s_sincosl.c: New file.
5727         * sysdeps/ia64/fpu/s_sinf.c: New file.
5728         * sysdeps/ia64/fpu/s_sinl.c: New file.
5729         * sysdeps/ia64/fpu/s_tan.S: New file.
5730         * sysdeps/ia64/fpu/s_tanf.S: New file.
5731         * sysdeps/ia64/fpu/s_tanl.S: New file.
5732         * sysdeps/ia64/fpu/s_trunc.S: New file.
5733         * sysdeps/ia64/fpu/s_truncf.S: New file.
5734         * sysdeps/ia64/fpu/s_truncl.S: New file.
5735         * sysdeps/ia64/fpu/w_acos.c: New file.
5736         * sysdeps/ia64/fpu/w_acosf.c: New file.
5737         * sysdeps/ia64/fpu/w_acosl.c: New file.
5738         * sysdeps/ia64/fpu/w_asin.c: New file.
5739         * sysdeps/ia64/fpu/w_asinf.c: New file.
5740         * sysdeps/ia64/fpu/w_asinl.c: New file.
5741         * sysdeps/ia64/fpu/w_atan2.c: New file.
5742         * sysdeps/ia64/fpu/w_atan2f.c: New file.
5743         * sysdeps/ia64/fpu/w_atan2l.c: New file.
5744         * sysdeps/ia64/fpu/w_cosh.c: New file.
5745         * sysdeps/ia64/fpu/w_coshf.c: New file.
5746         * sysdeps/ia64/fpu/w_coshl.c: New file.
5747         * sysdeps/ia64/fpu/w_exp.c: New file.
5748         * sysdeps/ia64/fpu/w_expf.c: New file.
5749         * sysdeps/ia64/fpu/w_fmod.c: New file.
5750         * sysdeps/ia64/fpu/w_fmodf.c: New file.
5751         * sysdeps/ia64/fpu/w_fmodl.c: New file.
5752         * sysdeps/ia64/fpu/w_hypot.c: New file.
5753         * sysdeps/ia64/fpu/w_hypotf.c: New file.
5754         * sysdeps/ia64/fpu/w_hypotl.c: New file.
5755         * sysdeps/ia64/fpu/w_log.c: New file.
5756         * sysdeps/ia64/fpu/w_log10.c: New file.
5757         * sysdeps/ia64/fpu/w_log10f.c: New file.
5758         * sysdeps/ia64/fpu/w_log10l.c: New file.
5759         * sysdeps/ia64/fpu/w_logf.c: New file.
5760         * sysdeps/ia64/fpu/w_logl.c: New file.
5761         * sysdeps/ia64/fpu/w_pow.c: New file.
5762         * sysdeps/ia64/fpu/w_powf.c: New file.
5763         * sysdeps/ia64/fpu/w_powl.c: New file.
5764         * sysdeps/ia64/fpu/w_remainder.c: New file.
5765         * sysdeps/ia64/fpu/w_remainderf.c: New file.
5766         * sysdeps/ia64/fpu/w_remainderl.c: New file.
5767         * sysdeps/ia64/fpu/w_scalb.c: New file.
5768         * sysdeps/ia64/fpu/w_scalbf.c: New file.
5769         * sysdeps/ia64/fpu/w_scalbl.c: New file.
5770         * sysdeps/ia64/fpu/w_sqrt.c: New file.
5771         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
5772         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
5773         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
5774         implementation.
5775         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
5776         Change FP_ILOGBNAN for new implementation.
5777         * Verions.def: Add 2.2.3 versions.
5779 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
5781         * math/libm-test.inc (scalb_test): Require invalid exception being
5782         raised for invalid parameters.
5783         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
5784         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5785         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5787 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
5789         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
5790         value to long int.
5791         (__get_avphys_pages): Likewise.
5793 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
5795         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
5796         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
5797         * sysdeps/i386/fpu/e_powf.S: Likewise.
5798         * sysdeps/i386/fpu/e_powl.S: Likewise.
5800         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
5802 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
5804         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
5806         * sysdeps/generic/s_exp2l.c: Renamed to...
5807         * sysdeps/generic/e_exp2l.c: ...this.   New file.
5808         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
5809         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
5810         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
5811         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
5812         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
5813         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
5814         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
5815         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
5816         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
5817         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
5818         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
5819         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
5820         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
5821         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
5822         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
5823         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
5825 2001-02-17  Andreas Jaeger  <aj@suse.de>
5827         * configure.in: Allow gcc 3.
5829 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
5831         * math/w_acos.c: Move to ...
5832         * sysdeps/generic/w_acos.c: ...here.  New file.
5833         * math/w_acosf.c: Move to ...
5834         * sysdeps/generic/w_acosf.c: ...here.  New file.
5835         * math/w_acosh.c: Move to ...
5836         * sysdeps/generic/w_acosh.c: ...here.  New file.
5837         * math/w_acoshf.c: Move to ...
5838         * sysdeps/generic/w_acoshf.c: ...here.  New file.
5839         * math/w_acoshl.c: Move to ...
5840         * sysdeps/generic/w_acoshl.c: ...here.  New file.
5841         * math/w_acosl.c: Move to ...
5842         * sysdeps/generic/w_acosl.c: ...here.  New file.
5843         * math/w_asin.c: Move to ...
5844         * sysdeps/generic/w_asin.c: ...here.  New file.
5845         * math/w_asinf.c: Move to ...
5846         * sysdeps/generic/w_asinf.c: ...here.  New file.
5847         * math/w_asinl.c: Move to ...
5848         * sysdeps/generic/w_asinl.c: ...here.  New file.
5849         * math/w_atan2.c: Move to ...
5850         * sysdeps/generic/w_atan2.c: ...here.  New file.
5851         * math/w_atan2f.c: Move to ...
5852         * sysdeps/generic/w_atan2f.c: ...here.  New file.
5853         * math/w_atan2l.c: Move to ...
5854         * sysdeps/generic/w_atan2l.c: ...here.  New file.
5855         * math/w_atanh.c: Move to ...
5856         * sysdeps/generic/w_atanh.c: ...here.  New file.
5857         * math/w_atanhf.c: Move to ...
5858         * sysdeps/generic/w_atanhf.c: ...here.  New file.
5859         * math/w_atanhl.c: Move to ...
5860         * sysdeps/generic/w_atanhl.c: ...here.  New file.
5861         * math/w_cosh.c: Move to ...
5862         * sysdeps/generic/w_cosh.c: ...here.  New file.
5863         * math/w_coshf.c: Move to ...
5864         * sysdeps/generic/w_coshf.c: ...here.  New file.
5865         * math/w_coshl.c: Move to ...
5866         * sysdeps/generic/w_coshl.c: ...here.  New file.
5867         * math/w_drem.c: Move to ...
5868         * sysdeps/generic/w_drem.c: ...here.  New file.
5869         * math/w_dremf.c: Move to ...
5870         * sysdeps/generic/w_dremf.c: ...here.  New file.
5871         * math/w_dreml.c: Move to ...
5872         * sysdeps/generic/w_dreml.c: ...here.  New file.
5873         * math/w_exp10.c: Move to ...
5874         * sysdeps/generic/w_exp10.c: ...here.  New file.
5875         * math/w_exp10f.c: Move to ...
5876         * sysdeps/generic/w_exp10f.c: ...here.  New file.
5877         * math/w_exp10l.c: Move to ...
5878         * sysdeps/generic/w_exp10l.c: ...here.  New file.
5879         * math/w_exp2.c: Move to ...
5880         * sysdeps/generic/w_exp2.c: ...here.  New file.
5881         * math/w_exp2f.c: Move to ...
5882         * sysdeps/generic/w_exp2f.c: ...here.  New file.
5883         * math/w_exp2l.c: Move to ...
5884         * sysdeps/generic/w_exp2l.c: ...here.  New file.
5885         * math/w_fmod.c: Move to ...
5886         * sysdeps/generic/w_fmod.c: ...here.  New file.
5887         * math/w_fmodf.c: Move to ...
5888         * sysdeps/generic/w_fmodf.c: ...here.  New file.
5889         * math/w_fmodl.c: Move to ...
5890         * sysdeps/generic/w_fmodl.c: ...here.  New file.
5891         * math/w_hypot.c: Move to ...
5892         * sysdeps/generic/w_hypot.c: ...here.  New file.
5893         * math/w_hypotf.c: Move to ...
5894         * sysdeps/generic/w_hypotf.c: ...here.  New file.
5895         * math/w_hypotl.c: Move to ...
5896         * sysdeps/generic/w_hypotl.c: ...here.  New file.
5897         * math/w_j0.c: Move to ...
5898         * sysdeps/generic/w_j0.c: ...here.  New file.
5899         * math/w_j0f.c: Move to ...
5900         * sysdeps/generic/w_j0f.c: ...here.  New file.
5901         * math/w_j0l.c: Move to ...
5902         * sysdeps/generic/w_j0l.c: ...here.  New file.
5903         * math/w_j1.c: Move to ...
5904         * sysdeps/generic/w_j1.c: ...here.  New file.
5905         * math/w_j1f.c: Move to ...
5906         * sysdeps/generic/w_j1f.c: ...here.  New file.
5907         * math/w_j1l.c: Move to ...
5908         * sysdeps/generic/w_j1l.c: ...here.  New file.
5909         * math/w_jn.c: Move to ...
5910         * sysdeps/generic/w_jn.c: ...here.  New file.
5911         * math/w_jnf.c: Move to ...
5912         * sysdeps/generic/w_jnf.c: ...here.  New file.
5913         * math/w_jnl.c: Move to ...
5914         * sysdeps/generic/w_jnl.c: ...here.  New file.
5915         * math/w_lgamma.c: Move to ...
5916         * sysdeps/generic/w_lgamma.c: ...here.  New file.
5917         * math/w_lgammaf.c: Move to ...
5918         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
5919         * math/w_lgammaf_r.c: Move to ...
5920         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
5921         * math/w_lgammal.c: Move to ...
5922         * sysdeps/generic/w_lgammal.c: ...here.  New file.
5923         * math/w_lgammal_r.c: Move to ...
5924         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
5925         * math/w_lgamma_r.c: Move to ...
5926         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
5927         * math/w_log10.c: Move to ...
5928         * sysdeps/generic/w_log10.c: ...here.  New file.
5929         * math/w_log10f.c: Move to ...
5930         * sysdeps/generic/w_log10f.c: ...here.  New file.
5931         * math/w_log10l.c: Move to ...
5932         * sysdeps/generic/w_log10l.c: ...here.  New file.
5933         * math/w_log.c: Move to ...
5934         * sysdeps/generic/w_log.c: ...here.  New file.
5935         * math/w_logf.c: Move to ...
5936         * sysdeps/generic/w_logf.c: ...here.  New file.
5937         * math/w_logl.c: Move to ...
5938         * sysdeps/generic/w_logl.c: ...here.  New file.
5939         * math/w_pow.c: Move to ...
5940         * sysdeps/generic/w_pow.c: ...here.  New file.
5941         * math/w_powf.c: Move to ...
5942         * sysdeps/generic/w_powf.c: ...here.  New file.
5943         * math/w_powl.c: Move to ...
5944         * sysdeps/generic/w_powl.c: ...here.  New file.
5945         * math/w_remainder.c: Move to ...
5946         * sysdeps/generic/w_remainder.c: ...here.  New file.
5947         * math/w_remainderf.c: Move to ...
5948         * sysdeps/generic/w_remainderf.c: ...here.  New file.
5949         * math/w_remainderl.c: Move to ...
5950         * sysdeps/generic/w_remainderl.c: ...here.  New file.
5951         * math/w_scalb.c: Move to ...
5952         * sysdeps/generic/w_scalb.c: ...here.  New file.
5953         * math/w_scalbf.c: Move to ...
5954         * sysdeps/generic/w_scalbf.c: ...here.  New file.
5955         * math/w_scalbl.c: Move to ...
5956         * sysdeps/generic/w_scalbl.c: ...here.  New file.
5957         * math/w_sinh.c: Move to ...
5958         * sysdeps/generic/w_sinh.c: ...here.  New file.
5959         * math/w_sinhf.c: Move to ...
5960         * sysdeps/generic/w_sinhf.c: ...here.  New file.
5961         * math/w_sinhl.c: Move to ...
5962         * sysdeps/generic/w_sinhl.c: ...here.  New file.
5963         * math/w_sqrtl.c: Move to ...
5964         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
5965         * math/w_tgamma.c: Move to ...
5966         * sysdeps/generic/w_tgamma.c: ...here.  New file.
5967         * math/w_tgammaf.c: Move to ...
5968         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
5969         * math/w_tgammal.c: Move to ...
5970         * sysdeps/generic/w_tgammal.c: ...here.  New file.
5972         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
5973         formats for postal_fmt.
5975 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
5977         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
5978         __ftruncate64 alias.
5979         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
5980         Likewise.
5982 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
5984         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
5985         do "loadrs".  Writing to bspstore already takes care of
5986         invalidating the "clean" partition.
5988 2001-02-16  Andreas Schwab  <schwab@suse.de>
5990         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
5991         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
5993 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
5995         * posix/regex.c (init_syntax_once): Add prototype.
5996         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
5997         (re_search_2): Avoid warning.
5998         (count_mbs_length): Add prototype.
5999         * posix/tst-regex3.c: New file.
6000         * posix/Makefile (tests): Add bug-regex3.
6002 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
6004         * stdio-common/Makefile (tests): Add tst-gets.
6005         * stdio-common/tst-gets.c: New file.
6006         * stdio-common/tst-gets.input: New file.
6008         * elf/elf.h (DT_CHECKSUM): Define.
6010         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
6011         default symbol.
6012         * sysdeps/generic/strtoull.c: Likewise.
6014 2001-02-14  Wolfram Gloger  <wg@malloc.de>
6016         * malloc/malloc.c (new_heap): When allocating large chunk aligned
6017         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
6018         between the heaps.
6020 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
6022         * math/libm-test.inc (j0_test): Check whether sincos is available.
6023         (j1_test): Likewise.
6024         (jn_test): Likewise.
6025         (y0_test): Likewise.
6026         (y1_test): Likewise.
6027         (yn_test): Likewise.
6029         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
6030         fake filesystem routines to handle this.
6032         * time/sys/time.h: Make settimeofday and adjtime available if
6033         _BSD_SOURCE.
6035         * time/sys/time.h: Make timer* macros available for BSD.
6037         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
6038         Patch by Yong Li <rigel863@yahoo.com>.
6040         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
6041         name.
6043         * posix/Makefile (tests): Add tst-gnuglob.
6044         * posix/tst-gnuglob.c: New file.
6046 2001-02-13  H.J. Lu  <hjl@gnu.org>
6048         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
6050 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
6052         * locale/programs/ld-paper.c (paper_output): Pretty printing.
6054         * iconvdata/Makefile (modules): Add GBBIG5.
6055         (distribute): Add gbbig5.c.
6056         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
6058         * iconvdata/gbbig5.c: New file.
6059         Contributed by Yong Li <rigel863@yahoo.com>.
6061 2001-02-13  Philip Blundell  <pb@futuretv.com>
6063         * manual/crypt.texi: Remove outdated references to crypt add-on.
6065         * manual/creature.texi: Improve wording slightly.
6067 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
6069         * io/ftw.c: Always use readdir64.
6070         * io/ftw64.c: Likewise.
6071         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6072         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6073         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
6074         callback to dirent.  Still allow compiling outside glibc.
6075         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
6076         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6078         * malloc/mtrace.c: Use fopen64.
6079         * posix/spawni.c: Use __open64.
6080         * sysdeps/unix/opendir.c: Likewise.
6081         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
6083         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
6084         name a weak alias.
6085         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
6086         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
6087         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
6088         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
6090         * resolv/res_data.c: Add cast to avoid warning.
6092         * include/unistd.h: Declare __ftruncate64.
6094         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
6096         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
6097         instead of __lseek.
6099 2001-02-13  Andreas Jaeger  <aj@suse.de>
6101         * login/getutent_r.c: Include <stdlib.h> for NULL.
6102         * login/getutid_r.c: Likewise.
6104 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
6106         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
6107         * sysdeps/dbl-64/e_j1.c: Likewise.
6108         * sysdeps/dbl-64/e_jn.c: Likewise.
6109         * sysdeps/flt-32/e_j0f.c: Likewise.
6110         * sysdeps/flt-32/e_j1f.c: Likewise.
6111         * sysdeps/ldbl-96/e_j0l.c: Likewise.
6113 2000-12-02  H.J. Lu  <hjl@gnu.org>
6115         * resolv/res_libc.c (res_init): Don't make it default.
6117 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
6119         * manual/debug.texi: Improved the wording.
6120         Patch by Philip Blundell <pb@futuretv.com>.
6122 2001-02-12  Andreas Jaeger  <aj@suse.de>
6124         * posix/Makefile (tests): Don't run bug-regex2 when
6125         cross-compiling.
6127         * libio/Makefile (tests): Don't run test-freopen when
6128         cross-compiling.
6130         * manual/stdio.texi (Streams and I18N): Fix typos.
6132 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
6134         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
6136         * math/libm-test.inc (j0_test): Make expected results long double
6137         constants.
6138         (y0_test): Likewise.
6140         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
6141         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
6143 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
6145         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
6146         which was exported from libc.
6147         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
6149 2001-02-12  Andreas Jaeger  <aj@suse.de>
6151         * manual/arith.texi (Parsing of Integers): Fix some wordings.
6153 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
6155         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
6156         and get_avphys_page to long int.
6157         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
6158         * include/sys/sysinfo.h: Likewise.
6159         * sysdeps/generic/sys/sysinfo.h: Likewise.
6160         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
6162         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
6163         cannot return as many values as the user asked for.
6165 2001-02-11  Andreas Jaeger  <aj@suse.de>
6167         * manual/resource.texi (Memory Resources): Fix typo.
6169         * libio/Makefile ($(objpfx)test-freopen.out): Pass
6170         run-program-prefix.
6172         * libio/test-freopen.sh: Use run_program_prefix.
6174 2001-02-10  Andreas Jaeger  <aj@suse.de>
6176         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
6177         cross-compiling.
6178         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
6180         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
6181         only builds.
6183         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
6185         * posix/Makefile: Fix typo, it's build-static-nss.
6187         * iconv/Makefile (extra-objs): New.
6189 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
6191         * sysdeps/unix/stime.c: Include <time.h>.
6193         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
6195 2001-02-10  Andreas Jaeger  <aj@suse.de>
6197         * manual/string.texi (Search Functions): Fix typo.
6199 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
6201         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
6202         (timeval_to_clock_t): Add clk_tck argument and use that instead of
6203         CLK_TCK.
6204         (__times): Use __getclktck to get the number of clock ticks per
6205         second and use its return value instead of CLK_TCK.
6207 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
6209         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
6211 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
6213         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
6215 2001-02-10  Andreas Jaeger  <aj@suse.de>
6217         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
6218         warning.
6220 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
6222         * posix/Makefile: Add rules to build and run bug-regex2.
6223         * posix/bug-regex2.c: New file.
6225 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
6227         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
6228         (regex_compile): Likewise.
6229         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
6230         (re_match_2_internal): Use just is_binary instead of two variables.
6231         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
6233 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
6235         * version.h (VERSION): Bump to 2.2.2.
6237         * iconv/Makefile (distribute): Add iconv_charmap.c and
6238         dummy-repertoire.c.
6239         * elf/Makefile (distribute): Add firstobj.c.
6240         * Makefile (distribute): Add include/pthread.h.
6242         * configure.in: Require makeinfo version 4.
6244         * libio/tst_wscanf.c (main): Add cast to avoid warning.
6245         * libio/tst_swscanf.c (main): Likewise..
6247 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
6249         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
6250         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
6251         __NO_MATH_INLINES.
6252         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
6253         if not RTLD_BOOTSTRAP.
6254         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6255         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6257 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
6259         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
6260         lr_ungetc to push back last read character.
6261         * locale/programs/linereader.h (lr_ungetc): Don't push back is
6262         character is EOF.
6263         (lr_ignore_rest): Don't warn about garbage if it is really the end
6264         of the file.
6266         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
6267         definition.
6269 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
6271         * Makerules (build-shlib): Work around different order of
6272         processing of -B option in different gcc versions.
6274         * posix/regex.c: Fix alignment problem.
6275         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6277         * sysdeps/alpha/strrchr.S: Little optimization.
6278         Patch by Richard Henderson <rth@redhat.com>.
6280         * sysdeps/alpha/alphaev67/strrchr.S: New file.
6281         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
6283 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
6285         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
6286         in the assembler end directive.
6288 2001-02-08  Andreas Jaeger  <aj@suse.de>
6290         * manual/stdio.texi (Closing Streams): Fix typos.
6292 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
6294         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
6295         Patch by Richard Henderson <rth@redhat.com>.
6296         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
6298         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
6299         pointer in FILE structure before calling _IO_init.
6300         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
6301         strfmon_l if necessary.
6302         Reported by Jury Gerold <gjury@grips.com>.
6304         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
6305         Patch by Pekka.Pietikainen@cern.ch.
6307         * posix/regex.c: Correct several problems with 64-bit architectures
6308         introduced in the MBS changes.
6309         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6311 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
6313         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
6314         not defined.
6315         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
6317 2001-02-07  Andreas Jaeger  <aj@suse.de>
6319         * manual/install.texi (Tools for Compilation): Fix typo.
6320         Reported by Pavel Machek <pavel@bug.ucw.cz>.
6322 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
6324         * stdlib/strtod.c: Never stop prematurely reading digits before the
6325         decimal point is found.  Compute exponent limit for negative exponents
6326         correctly.  For numbers ending in all zeros eat the zeros even before
6327         the decimal point if the exponent is negative [PR libc/2072].
6328         * stdlib/Makefile (tests): Add bug-strtod.
6329         * stdlib/bug-strtod.c: New file.
6331 2001-02-07  Andreas Jaeger  <aj@suse.de>
6333         * posix/bug-regex1.c: Include <wchar.h> for fwide.
6335 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
6337         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
6338         Store index.
6339         (compile_range): Handle index being passed, not pointer.
6340         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6342         * posix/regex.c: Fix a cast in the code for bracket handling which
6343         caused 8-bit uncleanliness.
6344         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
6346         * posix/Makefile (tests): Add bug-regex1.
6347         * posix/bug-regex1.c: New file.
6348         Contributed by Jim Meyering <jim@meyering.net>.
6350         * posix/regex.c: Many cleanups for incorrect format strings.
6352 2001-02-06  Andreas Jaeger  <aj@suse.de>
6354         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
6356 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
6358         * locale/programs/locale.c (write_locales): Use scandir to read
6359         directory so that the entries are sorted.
6361 2001-02-06  Andreas Jaeger  <aj@suse.de>
6363         * include/pthread.h: New file.
6365         * wctype/wctype.h: Move internal interfaces from here to...
6366         * include/wctype.h: ...here.
6368         * wcsmbs/wchar.h: Move __wcslen from here to...
6369         * include/wchar.h: ...here.
6371         * posix/sys/wait.h: Move __wait from here to...
6372         * include/sys/wait.h: ...here.
6374         * string/string.h: Move __ffs and __strerror_r from here to...
6375         * include/string.h: ...here.
6377         * stdlib/stdlib.h: Move __on_exit from here to...
6378         * include/stdlib.h: ...here.
6380         * libio/stdio.h: Move __vsnprintf from here to...
6381         * include/stdio.h: ...here.
6383 2001-02-06  Andreas Schwab  <schwab@suse.de>
6385         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
6386         headers.
6388         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
6389         of $(inst_datadir).
6391 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
6393         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
6395 2001-02-06  Andreas Jaeger  <aj@suse.de>
6397         * elf/firstobj.c: Add prototype.
6399         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
6400         (truncate_wchar): Likewise.
6402 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
6404         * locale/programs/locale.c: Implement --verbose option for -a
6405         which prints detailed information about the locales.
6407 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
6409         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
6410         variable to uint32_t.
6411         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
6413 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
6415         * locale/C-translit.h.in: Add transliterations for CJK units of
6416         measurement.
6418 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
6420         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
6421         string.  Include <inttypes.h> instead of <stdint.h>.
6423         * localedata/Makefile (tests): Add bug-iconv-trans.
6424         Define bug-iconv-trans-ENV.
6425         * localedata/bug-iconv-trans.c: New file.
6427 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
6429         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
6430         pointer, to avoid accumulating output from incomplete (unsuccessful)
6431         transliteration attempts.
6433 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
6435         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
6436         string.  Include <inttypes.h> instead of <stdint.h>.
6438         * configure.in: Add check for bison.
6439         * config.make.in: Define BISON variable.
6440         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
6441         Rename YFLAGS to BISONFLAGS.
6443 2001-02-05  Andreas Jaeger  <aj@suse.de>
6445         * io/test-lfs.c (do_test): Test lseek64 return value, call
6446         test_ftello.
6447         (test_ftello): New function to test ftello64 and fseeko64.
6449         * signal/signal.h: Move __sigaction from here to...
6450         * include/signal.h: ...here.
6452         * io/fcntl.h: Move __fcntl and __open to...
6453         * include/fcntl.h: ...here.
6455 2001-02-04  Philip Blundell  <philb@gnu.org>
6457         * configure.in: Distinguish ARM from Thumb.
6459 2001-02-04  Philip Blundell  <philb@gnu.org>
6461         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
6462         PC24 relocs with negative value.
6464 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
6466         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
6467         files in locale/programs.  Add CFLAGS definition to allow compiling
6468         localedef files.
6469         * iconv/dummy-repertoire.c: New file.
6470         * iconv/iconv_charmap.c: New file.
6471         * iconv/iconv_prog.h: New file.
6472         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
6473         (main): If parameter for -f and -t contain slashes try first to resolve
6474         the strings as filenames of charmap files.  Use them for conversion
6475         in this case.
6476         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
6477         iconv getting charmap names as parameters.
6478         * locale/programs/linereader.c (lr_token): Take extra parameters
6479         verbose and pass it to get_string.
6480         (get_string): Take extra parameters verbose.
6481         * locale/programs/charmap.c (parse_charmap): Take extra parameters
6482         verbose and be_quiet.  Change all callers of lr_token and
6483         parse_charmap.
6484         * locale/programs/charmap.h: Likewise.
6485         * locale/programs/ld-address.c: Likewise.
6486         * locale/programs/ld-collate.c: Likewise.
6487         * locale/programs/ld-ctype.c: Likewise.
6488         * locale/programs/ld-identification.c: Likewise.
6489         * locale/programs/ld-measurement.c: Likewise.
6490         * locale/programs/ld-messages.c: Likewise.
6491         * locale/programs/ld-monetary.c: Likewise.
6492         * locale/programs/ld-name.c: Likewise.
6493         * locale/programs/ld-numeric.c: Likewise.
6494         * locale/programs/ld-paper.c: Likewise.
6495         * locale/programs/ld-telephone.c: Likewise.
6496         * locale/programs/ld-time.c: Likewise.
6497         * locale/programs/linereader.c: Likewise.
6498         * locale/programs/linereader.h: Likewise.
6499         * locale/programs/localedef.c: Likewise.
6500         * locale/programs/locfile.c: Likewise.
6501         * locale/programs/locfile.h: Likewise.
6502         * locale/programs/repertoire.c: Likewise.
6504 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
6506         * iconv/iconv_prog.c (main): If output file name is "-" write to
6507         stdout.
6508         (main): If -f or -t argument is missing use charset of the current
6509         locale.
6511 2001-02-03  Andreas Jaeger  <aj@suse.de>
6513         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
6514         boundary for SSE/SSE-2 alignment.
6516         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
6517         annexc.
6519 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
6521         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
6522         Remove comma at end of enum.
6524         * elf/dl-init.c: Add a few __builtin_expect.
6526         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
6528 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
6530         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
6531         errno is ECONNREFUSED.
6533         * posix/Makefile: Define MBS_SUPPORT for regex.c.
6534         * posix/regex.c: Implement multibyte character handling.
6535         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
6537         * string/tst-svc.input: Add two more test cases.
6538         * string/tst-svc.expect: Modify to reflect new test cases.
6540 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
6542         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
6543         tp->name tests with tp->name[0] tests.
6545 2001-01-29  Ben Collins  <bcollins@debian.org>
6547         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
6548         Fix check for name == NULL.
6550 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
6552         * elf/Makefile: Add rules to build and run initfirst test.
6553         * elf/initfirst.c: New file.
6554         * elf/firstobj.c: New file.
6556         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
6557         * configure.in: Test for -z initfirst linker option.
6558         * config.make.in: Add have-z-initfirst.
6559         * elf/dl-init.c (_dl_init): Split out actual initialization code in
6560         new function call_init.  If _dl_initfirst is non-NULL initialize first.
6561         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
6562         remember object in _dl_initfirst.
6563         * elf/soinit.c: Remove special support for calling
6564         __pthread_initialize_minimal.
6566         * conform/conformtest.pl: Add missing $prepend in type test.
6568 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
6570         * elf/elf.h (SHT_CHECKSUM): New definition.
6572         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
6573         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6574         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
6576 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
6578         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
6579         to get definition of `struct timeval'.
6581 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
6583         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
6584         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
6586 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
6588         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
6589         seen, not flags.
6591         * nis/nis_findserv.c: Include <time.h>.
6593 2001-01-30  Yong Li  <yong.li@asu.edu>
6595         * iconv/iconv_prog.c (main): Correct error handling method name.
6597 2001-01-29  Ben Collins  <bcollins@debian.org>
6599         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
6600         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
6601         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
6602         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
6604 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
6606         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
6607         Patch by Marko Myllynen <myllynen@lut.fi>.
6609         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
6610         (int instead of char).
6611         (__strpbrk_c3): Likewise.
6612         Reported by GOTO Masanori <gotom@debian.or.jp>.
6614         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
6615         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
6616         * include/sys/socket.h: Add SA_LEN here for internal use.
6617         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
6619 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
6621         * malloc/Makefile: Don't build memusagestat if cross-compiling.
6623         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
6625         * math/libm-test.inc (rint_test): Add a few more tests for round
6626         to even rounding.
6628 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
6630         * conform/data/pthread.h-data: Correct return type of pthread_exit.
6632         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
6634         * conform/data/stdlib.h-data: Add _Exit.
6636         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
6637         if not already happened.
6638         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
6639         Don't include <limits.h> and <bits/sockaddr.h>.
6641         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
6643         * conform/data/spawn.h-data: Allow all of <sched.h>.
6645         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
6646         unused variable.
6648         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
6649         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
6651         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
6653         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
6654         * libio/stdio.h: Define va_list correctly.
6656         * conform/data/pthread.h-data: Make priority protocol related
6657         functions optional.  Fix typos.
6659         * posix/sched.h: Define sched_priority as __sched_priority.
6660         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
6661         to __sched_priority.
6662         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6664 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
6666         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
6667         of <sys/time.h>.
6669         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
6670         * sysdeps/unix/time.c: Likewise.
6672         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
6673         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
6674         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
6675         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
6676         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6677         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
6678         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
6679         * time/time.h: Likewise.
6681         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
6682         * conform/data/complex.h-data: New file.
6683         * conform/data/tgmath.h-data: New file.
6685         * conform/data/wchar.h-data: Add missing functions.
6687         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
6689         * conform/data/termios.h-data: Add missing const in tcsetattr()
6690         prototype.
6692         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
6693         Don't define pid_t here.
6695         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
6697         * conform/data/sys/time.h-data: Allow sys/select.h.
6698         * conform/data/sys/un.h-data: Fix typo.
6699         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
6700         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
6701         <sys/time.h>.
6702         * sysdeps/unix/clock_nanosleep.c: Likewise.
6703         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
6704         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
6705         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
6706         * sysdeps/unix/clock_settime.c: Likewise.
6708         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
6709         * login/getutent.c: Likewise.
6710         * login/getutid.c: Likewise.
6711         * login/getutline.c: Likewise.
6713         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
6715         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
6716         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
6717         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
6718         f_fsid field after change in struct statvfs.
6719         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
6720         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
6721         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
6723         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
6724         optional-macro.
6726         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
6727         recvfrom, send, and socketpair prototypes.  Add allow lines.
6728         * socket/sys/socket.h: Include <sys/uio.h>.
6729         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
6730         Fix type of second parameter of listen.
6731         Don't declare isfdtype unless __USE_MISC.
6732         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
6733         * sysdeps/mach/hurd/listen.c: Likewise.
6734         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
6735         ss_family and __ss_family.
6736         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
6737         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6738         (struct msghdr): Change type of msg_iovlen to int and type of
6739         msg_controllen to socklen_t.
6740         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
6741         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
6742         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
6743         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
6744         (rresvport_af): Likewise.
6746         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
6747         * conform/conformtest.pl: Implement handling of symbol.
6749         * signal/signal.h: Fix handling of __need_* symbols.
6750         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
6751         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
6752         * include/sys/select.h: Use fd_set not __fd_set.
6753         * sysdeps/generic/bits/select.h: Likewise.
6754         * sysdeps/i386/bits/select.h: Likewise.
6755         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
6756         __FDELT, __FDMASK, and __fd_set here.
6757         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
6758         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
6759         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6760         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6761         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
6762         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6763         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6764         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6765         * time/sys/time.h: Define struct timeval before including <time.h>
6766         and <sys/select.h>.
6768         * conform/data/sys/time.h-data: fd_set is a typedef.
6769         * conform/data/sys/select.h-data: New file.
6770         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
6771         * conform/conformtest.pl (@headers): Add sys/select.h.
6772         (type, optional-type): Unless testing a typedef instantiate object.
6773         Implement optional-function.
6775         * math/test-misc.c: Include <float.h>.
6777 2001-01-27  Andreas Jaeger  <aj@suse.de>
6779         * misc/efgcvt_r.c: Include <float.h>.
6781 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
6783         * conform/data/stdlib.h-data: Account for XPG6 changes.
6784         * stdlib/stdlib.h (__random): Change return value type to long.
6785         (posix_memalign): Cleanup parameter names.
6786         (setenv, unsetenv): Make available for __USE_XOPEN2K.
6787         Change return type of unsetenv to int.
6788         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
6789         * include/stdlib.h: Change return type of unsetenv to int.
6790         Change return type of random to long int.
6791         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
6792         Return -1 and set errno if parameter is invalid.
6793         * stdlib/random.c (__random): Change return value type to long.
6795         * conform/data/stdio.h-data: Account for changes in XPG6.
6797         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
6798         prototype.
6800         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
6801         * conform/data/signal.h-data: Fix sigev_notify_function entry.
6802         Fix typo (SIGVALRM -> SIGVTALRM).
6803         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
6804         with real type.
6805         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
6806         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
6807         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
6808         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6809         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
6811         * conform/conformtest.pl: Implement optional-element.  Define
6812         $mustprepend{"sched.h"}.
6813         * conform/data/sched.h-data: Make sporadic scheduler definitions
6814         optional.
6816         * pwd/pwd.h: Don't define getpwent_r for XPG.
6818         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
6819         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
6820         * sysdeps/mach/hurd/poll.c: Likewise.
6821         * sysdeps/unix/bsd/poll.c: Likewise.
6822         * sysdeps/unix/sysv/linux/poll.c: Likewise.
6823         * sysdeps/unix/sysv/aix/poll.c: Likewise.
6824         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
6825         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
6826         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
6827         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
6828         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
6829         * conform/data/poll.h-data: Fix typo in poll prototype.
6831         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
6832         only if __USE_MISC.
6833         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
6835         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
6837         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
6839         * conform/conformtest.pl: Implement optional-type.
6841         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
6842         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
6843         defining uint32_t here.  Define IPPORT_RESERVED.
6844         (struct hostent): Type of h_length element is int.
6845         (getnameinfo): Type of flags parameter is unsigned int.
6846         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
6847         * conform/data/netdb.h-data: Add many missing definitions.
6849         * conform/conformtest.pl: Implement optional-macro.
6850         * conform/data/math.h-data: Update for XPG6.
6852         * math/math.h (HUGE): Define as FLT_MAX value but don't use
6853         FLT_MAX.  Don't include <float.h>.
6854         (MAXFLOAT): Likewise.
6856         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
6858         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
6860         * conform/data/limits.h-data: Mark constants as optional wherever
6861         appropriate.
6863         * posix/bits/posix2_lim.h: Set correct values for
6864         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
6865         EQUIV_CLASS_MAX.
6867         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
6868         Required by POSIX.
6870         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
6872         * conform/data/netinet/in.h-data: Add reserved prefixes.
6874         * conform/data/arpa/inet.h-data: Fix a few typos.
6876 2001-01-26  Andreas Jaeger  <aj@suse.de>
6878         * sysdeps/generic/strtol.c: Include <locale.h>
6879         * stdlib/strtod.c: Likewise
6880         * stdlib/strfmon.c: Likewise.
6881         * string/strcoll.c: Likewise.
6882         * string/strxfrm.c: Likewise.
6883         * wctype/wcfuncs_l.c: Likewise.
6884         * wctype/wctype_l.c: Likewise.
6885         * wctype/wctrans_l.c: Likewise.
6887         * include/bits/locale.h: New file.
6889 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
6891         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
6892         and NOSTR.
6894         * locale/Makefile (headers): Add bits/locale.h.
6895         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
6896         and use __LC_ constants instead of LC_.
6897         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
6898         using __LC_ constants.
6899         * locale/bits/locale.h: New file.
6900         * locale/loadlocale.c: Include <locale.h>.
6901         * locale/nl_langinfo.h: Likewise.
6903         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
6905         * io/sys/stat.h: Define S_IFSOCK for XPG6.
6907         * conform/data/fcntl.h-data: posix_madvise is not expected here.
6909         * conform/conformtest.pl: Fix handling of macro-str.
6911         * conform/data/inttypes.h-data: Add missing definition and all of
6912         stdint.h-data.
6914         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
6916 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
6918         * conform/conformtest.pl (@headers): Add stdint.h.
6919         * conform/data/stdint.h-data: New file.
6921         * conform/conformtest.pl: Recognize options --headers and
6922         --dialect.  Add dialect-specific CFLAGS.
6924         * conform/conformtest.pl: Implement handling of recursive
6925         allow-header.
6927         * conform/data/locale.h-data: Add new struct lconv members.
6929         * posix/wordexp.h: Correct definition of wordexp_t.
6930         * posix/wordexp.c: Moved to ...
6931         * sysdeps/generic/wordexp.c: ...here.  New file.
6932         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
6933         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
6934         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
6935         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
6936         wordexp.
6937         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
6938         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
6940         * math/tgmath.h: Pretty printing.
6942         * math/Makefile (tests): Add test-tgmath.
6943         (CFLAGS-test-tgmath.c): New variable.
6944         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
6946         * conform/conformtest.pl: Handle allow-header in secondary headers
6947         correctly.
6949         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
6950         #ifdef.
6952         * conform/data/netinet/in.h-data: Use correct comment character.
6953         * conform/data/sys/stat.h-data: Likewise.
6955 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
6957         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
6958         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
6959         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
6960         __builtin_classify_type, add ##f suffixes where appropriate.
6961         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
6962         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
6963         __builtin_classify_type.
6964         (fma): Fix spelling of first argument.
6966 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
6968         * conform/data/unistd.h-data: Mark functions removed in XPG6
6969         correctly.
6971         * posix/unistd.h: Don't make functions removed in XPG6 available if
6972         __USE_XOPEN2K.
6974         * conform/conformtest.pl: Implement optional-constant.
6975         * conform/data/unistd.h-data: Use optional-constant wherever
6976         appropriate.
6978         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
6979         constants and add _SC_STREAMS.
6980         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6982         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
6983         make old name weak alias.
6984         * sysdeps/generic/statvfs64.c: Likewise.
6985         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
6986         make old name weak alias.
6987         * sysdeps/generic/fstatvfs64.c: Likewise.
6988         * include/sys/statvfs.h: New file.
6990         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
6991         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
6992         _PC_REC_XFER_ALIGN.
6993         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
6994         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
6995         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
6996         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
6998         * conform/conformtest.pl: Run Unix tests for XPG6.
6999         Implement handling of known namespace violations.
7000         Improve printing of results.
7002         * posix/unistd.h (usleep): Correct return type.
7003         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
7004         * sysdeps/unix/bsd/usleep.c: Correct return type.
7005         * sysdeps/mach/usleep.c: Correct return type.
7006         * sysdeps/generic/usleep.c: Correct return type.
7008         * posix/unistd.h (sync): Correct return type.
7009         * sysdeps/generic/sync.c: Likewise.
7010         * sysdeps/mach/hurd/sync.c: Likewise.
7012         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
7014         * posix/unistd.h: Make seteuid and setegid available for XPG6.
7016         * wcsmbs/wchar.h: Get FILE definition for XPG5.
7018         * conform/data/ctype.h-data: Use correct comment form.
7019         * conform/data/errno.h-data: Likewise.
7020         * conform/data/math.h-data: Likewise.
7021         * conform/data/mqueue.h-data: Likewise.
7022         * conform/data/netdb.h-data: Likewise.
7023         * conform/data/pthread.h-data: Likewise.
7025 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
7027         * conform/data/wordexp.h-data: Fix typo.
7029         * conform/conformtest.pl: Handle allow-header correctly.
7031         * conform/data/time.h-data: Use correct comment form.
7033         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
7035         * configure.in: Comment out binutils version test.
7037         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
7038         separators.
7039         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
7041         * stdlib/tst-strtod.c (locale_test): New function.
7042         (main): Call locale_test.
7043         * stdlib/Makefile (tst-strtod-ENV): New variable.
7045 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
7047         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
7048         declaration of value such that we actually return the value of the
7049         environment variable.
7051 2001-01-24  Andreas Jaeger  <aj@suse.de>
7053         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
7054         prototype.
7055         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7057         * include/sys/sysctl.h: New file.
7059 2001-01-23  Andreas Jaeger  <aj@suse.de>
7061         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
7062         isomac.
7064         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
7065         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
7066         closes PR libc/2039.
7068         * manual/install.texi (Tools for Compilation): Change required
7069         binutils version.
7071 2001-01-22  Andreas Jaeger  <aj@suse.de>
7073         * configure.in: Add test for new enough binutils version, move
7074         compiler/binutils test up.
7076         * Versions.def: Add version GLIBC_2.2.2.
7078 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
7080         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
7081         available.
7082         * iconvdata/testdata/IBM932: New file.
7083         * iconvdata/testdata/IBM932..UTF8: New file.
7084         * iconvdata/testdata/IBM943: New file.
7085         * iconvdata/testdata/IBM943..UTF8: New file.
7086         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
7088 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7090         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
7092 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
7094         * malloc/malloc.c: Remove a few unnecessary initializers of global
7095         variables.
7097 2000-12-09  H.J. Lu  <hjl@gnu.org>
7099         * nss/Makefile (routines): Add digits_dots.
7100         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
7101         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
7102         into a function.
7103         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
7104         function.
7105         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
7106         (TYPE_VAR_P): Likewise.
7107         (FLAGS_VAR): Likewise.
7108         (AF_VAR_P): Likewise.
7109         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
7110         instead of including digits_dots.c.
7111         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
7112         (TYPE_VAR_P): Likewise.
7113         (FLAGS_VAR): Likewise.
7114         (AF_VAR_P): Likewise.
7115         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
7116         instead of including digits_dots.c.
7118 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
7120         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
7122 2001-01-21  Andreas Jaeger  <aj@suse.de>
7124         * elf/constload2.c: Add prototype for init.
7126 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
7128         * stdlib/stdlib.h (drand48_data): Make available only for
7129         __USE_MISC.  Rename elements to protect namespace.  Change type
7130         and position of a and init element.
7131         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
7132         differently.  Adjust for drand48_data change.  Don't compute a here,
7133         it comes from drand48_data.
7134         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
7135         differently.  Adjust for drand48_data change.  Compute a here.
7136         * stdlib/srand48_r.c: Likewise.
7137         * stdlib/drand48.c: Adjust for drand48_data change.
7138         * stdlib/lrand48.c: Likewise.
7139         * stdlib/mrand48.c: Likewise.
7140         * stdlib/seek48.c: Likewise.
7141         * stdlib/drand48_r.c: Likewise.
7142         * stdlib/lrand48_r.c: Likewise.
7143         * stdlib/mrand48_r.c: Likewise.
7144         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
7145         differently.
7146         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
7147         * stdlib/jrand48_r.c: Likewise.
7149         * po/sv.po: Update from translation team.
7151 2001-01-21  Andreas Jaeger  <aj@suse.de>
7153         * stdio-common/vfprintf.c (vfprintf): Add casts.
7155 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
7157         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
7158         the ASCII test.
7159         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
7161         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
7162         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
7163         * iconvdata/ibm932.c: New file.
7164         * iconvdata/ibm932.h: New file.
7165         * iconvdata/ibm943.c: New file.
7166         * iconvdata/ibm943.h: New file.
7167         Patches by Masahide Washizawa <washi@jp.ibm.com>.
7169         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
7170         preventing optimization from being done.  Set the correct type bit
7171         in seen.  Don't define and use _dl_base_addr unless
7172         NEED_DL_BASE_ADDR is defined.
7174         * io/ftw.c (ftw_dir): Add slash after directory name if there
7175         wasn't any.  Reported by loris <loris@iol.it>.
7176         * io/Makefile (tests): Add bug-ftw2.
7177         * io/bug-ftw2.c: New file.
7179 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
7181         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
7182         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
7183         * stdlib/tst-rand48.c: New file.
7184         * stdlib/Makefile (tests): Add tst-rand48.
7186         * locale/newlocale.c (__newlocale): Fix test for setting all
7187         categories.
7189 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
7191         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
7192         but change looking up the initial directory port in a similar way
7193         as done by _hurd_change_directory_port_from_name.
7194         * hurd/fchroot.c (fchroot): Likewise.
7196 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
7198         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
7199         defined don't look whether the AT_*ID values were set.
7200         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
7201         (_dl_show_auxv): Rewrite to avoid switch statement.
7202         * sysdeps/unix/sysv/linux/kernel-features.h: Define
7203         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
7204         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
7205         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
7207         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
7208         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
7209         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
7211         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
7212         strtoul.
7213         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
7214         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
7215         anything.
7216         * dlfcn/eval.c (__strtol_internal): Define here.
7217         (eval): Use __strtol_internal instead of strtol.
7219         * elf/elf.h: Add a few more EF_MIPS_* constants.
7221 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
7223         * manual/Makefile (chapters): Add debug.
7224         * manual/debug.texi: New file.
7225         * manual/examples/execinfo.c: New file.
7226         Patch by suckfish@ihug.co.nz.
7228 2001-01-17  Andreas Schwab  <schwab@suse.de>
7230         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
7231         invalid asm.
7233 2001-01-17  Andreas Jaeger  <aj@suse.de>
7235         * nscd/connections.c (nscd_run): Use proper format specifier.
7237 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
7239         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
7240         x86_platforms data into new file after prepending _dl_.  Change
7241         users.
7242         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
7243         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
7244         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
7245         dl-procinfo.c.
7247         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
7249         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
7250         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
7251         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
7252         (_setjmp): Likewise.
7253         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
7254         * sysdeps/i386/bsd-setjmp.S: Real implementation.
7255         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
7256         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
7257         version.
7259 2001-01-16  Andreas Jaeger  <aj@suse.de>
7261         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
7262         misapplied last patch.
7264 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
7266         * stdlib/random.c (__initstate): Clean up a cast.
7267         (__setstate): Likewise.
7269         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
7270         syscall handling.  The generic Linux version should work.
7272 2001-01-15  Andreas Jaeger  <aj@suse.de>
7274         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
7276         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
7278 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
7280         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
7281         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
7282         New functions.
7283         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
7284         If number is 0, list all.
7285         (services_keys): Likewise.  Lookup aliases as well.
7286         (databases): New table.
7287         (build_doc): Prepare argp doc text with list of supported databases.
7288         (main): Change to table driven processing.
7290 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
7292         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
7293         functions.
7295 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
7297         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
7298         encode value which does not fit in the 32bit type.
7300 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
7302         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
7303         Change type of CTX to (struct sigcontext *).
7304         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
7305         (GET_FRAME): Likewise.
7306         (GET_STACK): Likewise.
7307         (SIGCONTEXT): Likewise.  Add 2nd arg _code.
7308         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
7310 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
7312         * manual/texinfo.tex: Update from upstream version.
7314 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
7316         * inet/ether_ntoh.c (lookup_function): Change arguments to match
7317         _nss_*_getntohost_r prototype.
7318         (ether_ntohost): Pass errno pointer to NSS function.
7320 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7322         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
7323         (MAP_LOCKED): New definition.
7324         (MAP_NORESERVE): New definition.
7326 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
7328         * assert/assert.h: Use static_cast instead of C-style cast for C++.
7329         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
7331 2001-01-12  Ben Collins  <bcollins@debian.org>
7333         * sysdeps/generic/segfault.c (install_handler): Use access, not
7334         __access.
7336 2001-01-12  Andreas Jaeger  <aj@suse.de>
7338         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
7339         * posix/wordexp.c (do_parse_glob): Likewise.
7340         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
7341         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
7342         * elf/dl-open.c (_dl_open): Likewise.
7343         * elf/dl-close.c (_dl_close): Likewise.
7344         * elf/dl-load.c (_dl_map_object): Likewise.
7345         * iconv/iconv_prog.c (process_fd): Likewise.
7346         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
7348         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
7349         of a zero-length array.
7351 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
7353         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
7354         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
7355         * stdlib/cxa_on_exit.c: Remove.
7356         * stdlib/Makefile: Revert last patch.
7357         * stdlib/Versions: Likewise.
7358         * include/stdlib.h: Likewise.
7359         * stdlib/exit.h: Revert last patch.
7360         (struct exit_function): Add second argument to cxa fn.
7361         * stdlib/exit.c: Revert last patch.
7362         (exit): Add hidden second argument.
7364 2001-01-11  H.J. Lu  <hjl@gnu.org>
7366         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
7367         * elf/dl-open.c (_dl_open): Here.
7368         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
7369         Make it static.
7370         (_dl_static_init): Initialize the variables every time when possible.
7371         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
7372         Undefine it first.
7374 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
7376         * stdlib/Makefile (routines): Add cxa_on_exit.
7377         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
7378         * stdlib/cxa_on_exit.c: New file.
7379         * include/stdlib.h: Add prototype for __cxa_on_exit.
7380         * stdlib/exit.c: Handle ef_cxa2.
7381         * stdlib/exit.h (enum): Add ef_cxa2.
7382         (struct exit_function): Add cxa2.
7384         * Versions.def [ld]: Add GLIBC_2.2.1.
7386 2001-01-10  H.J. Lu  <hjl@gnu.org>
7388         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
7389         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
7390         dl-static.
7391         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
7392         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
7393         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
7394         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
7395         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
7397 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
7399         * libio/stdio.h: Remove definition of off_t.
7401 2001-01-11  Andreas Jaeger  <aj@suse.de>
7403         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
7404         <mkuhn@acm.org>.
7406 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
7408         * sunrpc/Makefile (distribute): Add errqueue.h.
7410 2001-01-10  H.J. Lu  <hjl@gnu.org>
7412         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
7413         r9, r10 and r11 for language specific registers.
7415 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
7417         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
7418         UDP socket.
7419         (clntudp_call): Handle MSG_ERRQUEUE.
7420         * sysdeps/generic/errqueue.h: New file.
7421         * sysdeps/unix/sysv/linux/errqueue.h: New file.
7423 2001-01-10  H.J. Lu  <hjl@gnu.org>
7425         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
7427 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
7429         * CONFORMANCE: Update.
7431 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
7433         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
7434         Minimal cleanups.  Add assert to ensure memory handling is correct.
7436         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
7437         Reported by Ben Collins <bcollins@debian.org>.
7439         * time/strftime.c (my_strftime): Mark previous GNU extensions
7440         which are now in C99 as such.
7442 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
7444         * elf/rtld.c (process_envvars): Place output files for profiling
7445         in SUID binaries in /var/profile.
7447         * elf/dl-load.c (_dl_map_object): Don't look in cache for
7448         preloading in SUID binaries.
7450         * elf/dl-profile.c (_dl_start_profile): Open the output file with
7451         O_NOFOLLOW if possible.
7453         * include/stdlib.h: Add __posix_openpt declaration.
7454         * stdlib/stdlib.h: Add posix_openpt declaration.
7455         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
7456         * sysdeps/generic/getpt.c: Define posix_openpt.
7457         * sysdeps/unix/bsd/getpt.c: Likewise.
7458         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
7460         * time/Makefile (tests): Add tst-mktime.
7461         * time/tst-mktime.c: New file.
7463         * posix/tst-dir.c (main): One more mkdir() test.
7465         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
7466         Remove getpagesize syscall.  We assume that the pagesize is always
7467         determined from the auxiliary vector.
7469         * intl/dcigettext.c: Fix a few warnings.
7470         Patch by Bruno Haible <haible@ilog.fr>.
7472 2001-01-08  Andreas Jaeger  <aj@suse.de>
7474         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
7475         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
7477 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
7479         * sysdeps/generic/segfault.c (install_handler): Check output file
7480         name with access().
7482         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
7483         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
7485         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
7487         * malloc/memusage.c (me): Use access() to determine whether we
7488         should write the output file or not.
7490         * libio/bits/stdio.h (printf): Define macro to map printf call to
7491         fprintf which gcc can optimize.
7492         * stdio-common/printf.c: Undefine printf.
7494 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
7496         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
7497         patch.  We must use unsigned int for l member of union.
7499         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
7500         _dl_aux_init for shared libraries.
7502         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
7503         * sysdeps/gnu/glob64.c: ...here.  New file.
7505 2001-01-07  Ben Collins  <bcollins@debian.org>
7507         * manual/examples/longopt.c: Make the "struct option" a little
7508         more like it should be, adding usage of required_argument,
7509         noargument and such, and also setting the options string right.
7511         * manual/sysinfo.texi (Load Average): New section, documents
7512         getloadavg().
7514 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
7516         * version.h (VERSION): Bump to 2.2.1.
7518         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
7519         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
7520         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
7521         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
7522         * Makefile (distribute): Add include/libc-internal.h.
7523         * libio/Makefile (distribute): Avoid overwriting.
7525         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
7526         buffer and table handling.
7528 2001-01-05  H.J. Lu  <hjl@gnu.org>
7530         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
7531         vector checking to ...
7532         (_dl_aux_init): Here.  New function.  Defined only if
7533         HAVE_AUX_VECTOR is defined.
7535         * sysdeps/generic/libc-start.c (__libc_start_main): Call
7536         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
7538         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
7539         _dl_aux_init.
7541         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
7542         (HAVE_AUX_VECTOR): Defined.
7543         (_dl_aux_init): Declared.
7545 2001-01-05  Ben Collins  <bcollins@debian.org>
7547         * manual/string.texi (Finding Tokens in a String): Document XPG
7548         basename() and dirname(), as well as GNU basename().
7550 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
7552         * Makeconfig (preprocess-version): Replace -traditional with
7553         -x assembler-with-cpp.
7555 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
7557         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
7558         for GCC 2.97 or later.
7560 2001-01-05  Ben Collins  <bcollins@debian.org>
7562         * manual/stdio.texi (getline): Clarify the return value in the
7563         case of EOF being reached before a newline.
7565 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
7567         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
7568         FALSE otherwise.
7569         (pmap_set, pmap_unset): Check __get_myaddress return value.
7571 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
7573         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
7574         (struct ether_addr): Declare ether_addr_octet member as
7575         `u_int8_t'.  Add __attribute__ ((__packed__)).
7577 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7579         * sysdeps/mach/hurd/readdir64.c: New file.
7580         * sysdeps/mach/hurd/readdir64_r.c: New file.
7582 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
7584         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
7585         `struct statfs' and `struct statvfs' being identical.
7586         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
7588 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7590         * sysdeps/mach/hurd/fstatfs64.c: New file.
7591         * sysdeps/mach/hurd/fstatvfs64.c: New file.
7592         * sysdeps/mach/hurd/statfs64.c: New file.
7593         * sysdeps/mach/hurd/statvfs64.c: New file.
7594         * sysdeps/mach/hurd/statfsconv.c: New file.
7595         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
7597 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
7599         * iconv/skeleton.c: Reset outbuf for next round of the loop.
7600         Reported by Owen Taylor <otaylor@redhat.com>.
7601         * iconv/Makefile (tests): Add tst-iconv3.
7602         * iconv/tst-iconv3.c: New file.
7604         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
7605         * iconvdata/ibm933.c: Likewise.
7606         * iconvdata/ibm935.c: Likewise.
7607         * iconvdata/ibm937.c: Likewise.
7608         * iconvdata/ibm939.c: Likewise.
7609         * iconvdata/ibm930.h: Adjust single byte table for optimization.
7610         * iconvdata/ibm933.h: Likewise.
7611         * iconvdata/ibm935.h: Likewise.
7612         * iconvdata/ibm939.h: Likewise.
7614         * iconvdata/testdata/IBM930: Add misssing SI.
7615         * iconvdata/testdata/IBM933: Likewise.
7616         * iconvdata/testdata/IBM935: Likewise.
7617         * iconvdata/testdata/IBM937: Likewise.
7618         * iconvdata/testdata/IBM939: Likewise.
7620 2001-01-06  Andreas Jaeger  <aj@suse.de>
7622         * configure.in: Check for old add-ons that shouldn't be used with
7623         current glibc anymore.
7625 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7627         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
7628         instead of -1 on failure.  Don't forget to copy file name into
7629         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
7630         of the directory.
7632 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7634         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
7635         copy st_atime member.
7637 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
7639         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
7640         for searches from the root directory.
7641         Reported by loris <loris@iol.it> [PR libc/1991].
7642         * io/Makefile (tests): Add bug-ftw1.
7643         * io/bug-ftw1.c: New file.
7645         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
7646         if it is not available.  Instead use it only if it is available.
7647         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
7649         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
7650         overflowing output buffer.
7651         (internal_ucs4_loop_unaligned): Likewise.
7652         (ucs4_internal_loop): Likewise.
7653         (ucs4_internal_loop_unaligned): Likewise.
7654         (internal_ucs4le_loop): Likewise.
7655         (internal_ucs4le_loop_unaligned): Likewise.
7656         (ucs4le_internal_loop): Likewise.
7657         (ucs4le_internal_loop_unaligned): Likewise.
7658         Reported by Owen Taylor <otaylor@redhat.com>.
7659         * iconv/Makefile (tests): Add tst-iconv2.
7660         * iconv/tst-iconv2.c: New file.
7662 2001-01-04  H.J. Lu  <hjl@gnu.org>
7664         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
7665         (_dl_clktck): Declared.
7666         (non_dynamic_init): Take 3 arguments.
7667         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
7669 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
7671         Finish implementation of plural form handling.
7672         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
7673         'domainname'.  Remove 'plindex' field.  Add 'domain' and
7674         'translation_length' fields.
7675         (transcmp): Don't compare 'plindex' fields.
7676         (plural_lookup): New function.
7677         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
7678         plural_eval before the translation and its catalog file have been
7679         found.  Remove plindex from cache key.  Add 'translation_length' and
7680         'domain' to cache result.
7681         (_nl_find_msg): Remove index argument, return length of translation
7682         to the caller instead.  Weaken comparison of string lengths, to account
7683         for plural entries.  Call iconv() on the entire result string, not
7684         only on the portion needed so far.
7685         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
7686         argument.
7687         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
7689 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
7691         * intl/plural.y (yylex): Minimal improvement in number scanner.
7693 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
7695         * intl/plural.y: Include config.h.  Needed to define 'inline' away for
7696         C compilers that don't support it.
7697         (yylex): Don't use gcc specific case range syntax.
7698         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
7699         compilers.
7701 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
7703         * intl/finddomain.c: Remove unneeded includes.
7705 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
7707         * intl/localealias.c (memcpy): Return first argument, just like the
7708         real memcpy function does.
7709         * intl/bindtextdom.c (memcpy): Likewise.
7710         * intl/finddomain.c (memcpy): Likewise.
7711         * intl/l10nflist.c (memcpy): Likewise.
7712         * intl/textdomain.c (memcpy): Likewise.
7713         From Paul Eggert <eggert@twinsun.com>.
7715 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
7717         * resolv/resolv.h (struct __res_state): Add nsinit field.
7718         * resolv/res_send.c (res_nsend): Use it instead of nscount.
7719         * resolv/res_init.c (__res_vinit): Initialize it.
7720         (res_nclose): Clear it instead of nscount.
7722 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
7724         * malloc/mtrace.pl: Fix matching of addresses.
7725         Patch by Aharon Robbins <arnold@skeeve.com>.
7727         * Versions.def (ld): Add GLIBC_2.2.
7729         * catgets/gencat.c: Copyright 2001.
7730         * csu/version.c: Likewise.
7731         * debug/catchsegv.sh: Likewise.
7732         * debug/xtrace.sh: Likewise.
7733         * elf/ldconfig.c: Likewise.
7734         * elf/sprof.c: Likewise.
7735         * iconv/iconv_prog.c: Likewise.
7736         * locale/locale.c: Likewise.
7737         * locale/localedef.c: Likewise.
7738         * malloc/memusage.sh: Likewise.
7739         * malloc/mtrace.pl: Likewise.
7740         * nscd/nscd.c: Likewise.
7741         * posix/getconf.c: Likewise.
7743 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
7745         * include/stdio.h: Only provide __getwc_unlocked prototype if
7746         USE_IN_LIBIO is defined.
7748 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7750         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
7751         handling.
7753 2001-01-03  Andreas Schwab  <schwab@suse.de>
7755         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
7756         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
7758         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
7759         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
7760         strtoull alias.
7761         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
7762         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
7763         wcstoull alias.
7765         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
7766         directory.
7767         * sysdeps/generic/strtol_l.c: Likewise.
7768         * sysdeps/generic/strtoul_l.c: Likewise.
7769         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
7771         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
7772         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
7773         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
7774         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
7776 2001-01-04  Andreas Jaeger  <aj@suse.de>
7778         * nss/nsswitch.c: Include files for missing prototypes, remove
7779         buggy declaration of prototypes.
7781 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7783         * resolv/Versions: Fix bracing.
7784         * sysdeps/powerpc/soft-fp/Versions: Likewise.
7785         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
7787 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7789         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
7791 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7793         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
7794         Suggested by Minko Markov <mmarkov@home.com>.
7796 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7798         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
7799         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
7800         the failing symbol.
7801         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
7803 2001-01-02  Ben Collins  <bcollins@debian.org>
7805         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
7806         if TZ is not set and TZDEFAULT is not present.
7808 2001-01-01  Ben Collins  <bcollins@debian.org>
7810         * string/strings.h: Make sure we declare our functions even if
7811         string.h is already included, based on whether or not __USE_BSD is
7812         defined.
7814 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7816         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
7817         other dlopen() and dlsym().
7818         Based on a patch by Ben Collins <bcollins@debian.org>.
7820 2001-01-02  Andreas Jaeger  <aj@suse.de>
7822         * dlfcn/errmsg1.c (main): Call dlerror initially.
7823         Reported by Ben Collins <bcollins@debian.org>.
7825 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7827         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
7828         value is ignored if the selected locale is the C locale.
7829         * intl/tst-gettext.c: Set locale for above change.
7830         * intl/tst-translit.c: Likewise.
7832 2001-01-02  Andreas Jaeger  <aj@suse.de>
7834         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
7835         (_IO_switch_to_wget_mode): Likewise.
7836         (_IO_sputbackwc): Likewise.
7837         (_IO_sungetwc): Use wint_t for result.
7839         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
7841         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
7842         signedness.
7844         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
7845         to (int) to avoid warnings.
7846         * stdio-common/printf_fp.c (putc): Likewise.
7847         * stdio-common/printf_size.c (putc): Likewise.
7849         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
7850         constant unsigned.
7852 2001-01-01  Andreas Jaeger  <aj@suse.de>
7854         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
7856 2000-12-31  Andreas Jaeger  <aj@suse.de>
7858         * include/libc-internal.h: Add prototype for __libc_freeres.
7860         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
7861         for prototypes, remove redundant prototypes.
7862         * gmon/gmon.c: Likewise.
7863         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
7864         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
7865         * malloc/mtrace.c: Likewise.
7867         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
7868         prototypes.
7869         * elf/soinit.c: Likewise.
7870         * sysdeps/generic/prof-freq.c: Likewise.
7871         * sysdeps/mach/hurd/profil.c: Likewise.
7872         * debug/noophooks.c: Likewise.
7873         * debug/pcprofile.c: Likewise.
7874         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
7875         * sysdeps/generic/get_clockfreq.c: Likewise.
7876         * malloc/set-freeres.c: Likewise.
7878         * locale/localeinfo.h: Add internal prototypes.
7880         * elf/rtld.c (dl_main): Fix prototype.
7882         * iconvdata/tst-table-to.c (main): Use return instead of exit to
7883         avoid warning.
7885         * nis/rpcsvc/yp_prot.h: Remove __P.
7886         * nis/rpcsvc/ypupd.h: Likewise.
7887         * nis/rpcsvc/yp.h: Likewise.
7889         * sunrpc/rpc_main.c: Add noreturn attributes.
7890         * sunrpc/rpc_scan.h: Likewise.
7892         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
7894         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
7896         * sunrpc/proto.h: Add noreturn attributes to error and crash.
7898         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
7900         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
7902         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
7904         * include/rpc/rpc_msg.h: Add prototypes for some functions.
7905         * include/rpc/auth.h: Likewise.
7906         * include/rpc/auth_des.h: Likewise.
7907         * include/rpc/clnt.h: Likewise.
7908         * include/rpc/rpc.h: Likewise.
7909         * include/rpc/svc.h: Likewise.
7910         * include/rpc/svc_auth.h: Likewise.
7912         * include/rpc/des_crypt.h: New file.
7914         * malloc/memusagestat.c (main): Use return instead of exit to
7915         avoid warning.
7916         * io/pwd.c (main): Likewise.
7917         * iconvdata/tst-table-from.c (main): Likewise.
7918         * ctype/test_ctype.c (main): Likewise.
7919         * setjmp/tst-setjmp.c (main): Likewise.
7920         * signal/tst-signal.c (main): Likewise.
7921         * stdlib/tst-strtol.c (main): Likewise.
7922         * stdlib/tst-strtod.c (main): Likewise.
7923         * stdlib/tst-strtoll.c (main): Likewise.
7924         * stdlib/tst-xpg-basename.c (main): Likewise.
7925         * dirent/tst-seekdir.c (main): Likewise.
7926         * grp/testgrp.c (main): Likewise.
7927         * inet/test_ifindex.c (main): Likewise.
7928         * io/test-utime.c (main): Likewise.
7929         * posix/test-vfork.c (main): Likewise.
7930         * posix/testfnm.c (main): Likewise.
7931         * stdio-common/temptest.c (main): Likewise.
7932         * stdio-common/test_rdwr.c (main): Likewise.
7933         * stdio-common/tst-fileno.c (main): Likewise.
7934         * stdio-common/tst-sscanf.c (main): Likewise.
7935         * stdio-common/tstscanf.c (main): Likewise.
7936         * string/bug-strncat1.c (main): Likewise.
7937         * string/bug-strpbrk1.c (main): Likewise.
7938         * string/bug-strspn1.c (main): Likewise.
7939         * string/test-ffs.c (main): Likewise.
7940         * string/tst-inlcall.c (main): Likewise.
7941         * string/tst-svc.c (main): Likewise.
7942         * timezone/test-tz.c (main): Likewise.
7943         * wctype/test_wcfuncs.c (main): Likewise.
7944         * wctype/test_wctype.c (main): Likewise.
7946         * stdlib/tst-random.c: Add attribute noreturn to fail.
7948 2000-12-28  Wolfram Gloger  <wg@malloc.de>
7950         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
7951         destination overlap.  Assume dest is always below source if
7952         overlapping.
7954 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
7956         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
7957         object was not yet initialized.
7959 2000-12-28  H.J. Lu  <hjl@gnu.org>
7961         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
7962         is always consistent even if its dependency is failed.
7964         * elf/dl-open.c (_dl_open): Increment the open count before
7965         calling _dl_close () in case of failure.
7967         * elf/neededtest4.c: New file.
7968         * elf/neededobj5.c: New file.
7969         * elf/neededobj6.c: New file.
7971         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
7972         (tests): Add neededtest4.
7973         (modules-names): Add neededobj5 and neededobj6.
7974         ($(objpfx)neededobj6.so): New target.
7975         ($(objpfx)neededtest4): New target.
7976         ($(objpfx)neededtest4.out): New target.
7978 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
7980         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
7981         * stdlib/monetary.h: Add strfmon format attributes.
7983 2000-12-28  Roland McGrath  <roland@frob.com>
7985         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
7986         __mempcpy does it for us.
7988 2000-12-28  Andreas Jaeger  <aj@suse.de>
7990         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
7992         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
7993         __new_setrlimit.
7995         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
7996         __old_getrlimit64.
7998         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
7999         __new_getrlimit.
8001         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
8002         __chown_is_lchown and __real_chown.
8004         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
8005         _dl_reloc_bad_type.
8007         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
8008         up GCC's warning about "deprecated use of label at end of compound
8009         statement."
8010         * sunrpc/rpc_cout.c (emit_inline): Likewise.
8012         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
8013         prototypes.
8014         Remove struct bb and __bb_head since those are declared by
8015         sys/gmon.h.
8017 2000-12-22  Ben Collins  <bcollins@debian.org>
8019         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
8021         * manual/argp.texi: Document argp_domain as part of struct argp.
8023 2000-12-28  Andreas Jaeger  <aj@suse.de>
8025         * catgets/Makefile (generated): Add sample.SJIS.cat.
8027         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
8029         * elf/dl-minimal.c: Add prototypes.
8031         * include/locale.h: Add internal prototypes.
8032         * include/sys/gmon.h: Likewise.
8034         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
8036 2000-12-27  Ben Collins  <bcollins@debian.org>
8038         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
8039         when reallocating the error strings.
8040         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
8042 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
8044         * dlfcn/Makefile (tests): Add errmsg1.
8045         (modules-names): Add errmsg1mod.
8046         Add rules to run errmsg1.
8047         * dlfcn/errmsg1.c: New file.
8048         * dlfcn/errmsg1mod.c: New file.
8050         * dlfcn/dlerror.c (dlerror): Always create output string which
8051         includes object file name.
8053         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
8054         if we would go through it only once.
8055         Patch by Rick Gorton <rick.gorton@api-networks.com>.
8057         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
8058         Patch by Richard Henderson <rth@redhat.com>.
8060 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
8062         * malloc/malloc.c (memmove): Add prototypes.
8063         (MALLOC_MEMMOVE): Define.
8064         (chunk_realloc): Use it instead of MALLOC_COPY if source and
8065         destination might overlap.
8067 2000-12-27  Andreas Jaeger  <aj@suse.de>
8069         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
8070         function.
8071         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8072         * locale/programs/locale.c (show_locale_vars): Likewise.
8073         (show_info): Likewise.
8074         * locale/programs/ld-collate.c (collate_output): Likewise.
8075         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
8076         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8077         * stdlib/rpmatch.c (rpmatch): Likewise.
8079         * setjmp/tst-setjmp.c: Make local functions static.
8080         * setjmp/jmpbug.c: Likewise.
8081         * signal/tst-signal.c: Likewise.
8082         * stdio-common/tfformat.c: Likewise.
8083         * string/tst-svc.c: Likewise.
8084         * time/clocktest.c: Likewise.
8085         * time/tst-getdate.c: Likewise.
8086         * dirent/list.c: Likewise.
8087         * dirent/opendir-tst1.c: Likewise.
8088         * posix/runtests.c: Likewise.
8089         * posix/tst-getaddrinfo.c: Likewise.
8090         * posix/tst-chmod.c: Likewise.
8091         * posix/wordexp-test.c: Likewise.
8092         * misc/tst-efgcvt.c: Likewise.
8093         * timezone/tst-timezone.c: Likewise.
8094         * rt/tst-clock.c: Likewise.
8095         * rt/tst-shm.c: Likewise.
8096         * rt/tst-aio2.c: Likewise.
8097         * rt/tst-aio3.c: Likewise.
8098         * rt/tst-aio4.c: Likewise.
8099         * rt/tst-aio5.c: Likewise.
8101         * dlfcn/failtest.c: Add prototype for foo.
8103         * dlfcn/glrefmain.c: Add prototype for do_test.
8105         * dlfcn/tst-dladdr.c: Add prototype for do_test.
8107         * string/test-ffs.c (main): Add prototype for nested function.
8109         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
8111         * nss/XXX-lookup.c: Add prototype to shut up GCC.
8113         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
8114         setetherent prototype.
8115         Add internal interfaces.
8117         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
8118         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
8120         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
8122         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
8124         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
8125         prototypes, remove struct etherent since it's declared in ether.h.
8126         Fix ntohost declaration.
8128         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
8130         * include/getopt.h: Add internal interfaces.
8131         * include/termios.h: Likewise.
8132         * include/resolv.h: Likewise.
8133         * include/netdb.h: Likewise.
8134         * include/grp.h: Likewise.
8135         * include/pwd.h: Likewise.
8136         * include/shadow.h: Likewise.
8137         * include/rpc/netdb.h: Likewise.
8138         * include/setjmp.h: Likewise.
8140         * include/stdio.h: Add prototypes for compatibility functions.
8141         * include/grp.h: Likewise.
8142         * include/pwd.h: Likewise.
8143         * include/shadow.h: Likewise.
8145         * include/fenv.h: Define internal interfaces.
8147 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
8149         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
8150         argument case separately.
8151         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
8153 2000-12-27  Andreas Jaeger  <aj@suse.de>
8155         * include/sys/wait.h: Add some prototypes.
8156         * Rules (dummy.c): Create also prototype to shut up GCC.
8158 2000-12-27  Andreas Jaeger  <aj@suse.de>
8160         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
8161         it's not needed at the moment.
8162         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
8163         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
8165 2000-12-26  Andreas Jaeger  <aj@suse.de>
8167         * libio/getc_u.c: Include stdio.h via system path to get internal
8168         prototypes.
8169         * libio/getwc_u.c: Likewise.
8171         * stdlib/strfmon.c: Fix prototype of __printf_fp.
8173         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
8174         __printf_fp prototypes to ...
8175         * include/printf.h: ...here.
8177         * include/stdio.h: Add some internal prototypes to shut up GCC.
8178         * include/stdlib.h: Likewise.
8180         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
8181         declaration.
8183         * include/signal.h: Add prototypes for internal sigpause
8184         interfaces.
8186 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
8188         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
8189         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
8191         * string/Makefile (tests): Add tst-bswap.
8192         * string/tst-bswap.c: New file.
8194 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
8196         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
8198 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
8200         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
8201         Patch by Ed Connell <Ed.Connell@sas.com>.
8203 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
8205         * locale/iso-639.def: Correct one entry.  Add two missing entries.
8207         * locale/iso-4217.def: Change entry for Eritrea.
8208         Reported by Daniel Yacob <yacob@geez.org>.
8210 2000-12-23  Ben Collins  <bcollins@debian.org>
8212         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
8213         description.
8215         * manual/stdio.texi (Dynamic Output): Document the return value of
8216         asprintf.  Also make the asprintf/snprintf examples a little
8217         better (check for some error returns).
8219 2000-12-22  Andreas Jaeger  <aj@suse.de>
8221         * include/stdio.h: Add __ftrylockfile prototype.
8223 2000-12-21  H.J. Lu  <hjl@gnu.org>
8225         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
8226         Make sign_exponent element signed.
8228         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
8229         Fix a typo.
8231         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
8233 2000-12-21  Andreas Jaeger  <aj@suse.de>
8235         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
8236         * inet/ether_hton.c: Likewise
8237         * inet/ether_ntoh.c: Likewise.
8239         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
8240         declaration to match prototype.
8242         * include/netinet/ether.h (struct etherent): Declare here so that
8243         all implementations use the same struct.
8245         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
8246         prototypes.
8247         (struct ether): Removed.
8248         Use struct etherent instead of ether everywhere.
8250         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
8252         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
8254         * sunrpc/publickey.c: Include auth_des.h for prototypes.
8256 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
8258         * math/test-misc.c: Add more tests for nextafter functions.
8260         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
8261         normal correctly.  Correct test for sign.
8262         Based on a patch by HJ Lu.
8264 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
8266         * Makeconfig (preprocess-version): Add -traditional to gcc call.
8267         Cleanup sed calls.
8269 2000-12-19  Andreas Jaeger  <aj@suse.de>
8271         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
8273         * nis/nis_intern.h: Add prototype for __do_niscall3.
8275         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
8276         match prototype.
8278         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
8280         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
8282         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
8284 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
8286         * math/test-misc.c: Add more tests for nextafter.
8287         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
8288         * sysdeps/ieee754/ldbl-96/math_ldbl.h
8289         (ieee_long_double_shape_type): Make sign_exponent element signed.
8291         * manual/message.texi: Add Estonian to plural overview list.
8292         Correct rule for Slavic languages.
8293         Patch by Stanislav Brabec <utx@penguin.cz>.
8295         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
8297 2000-12-18  Andreas Jaeger  <aj@suse.de>
8299         * test-skeleton.c: Use temp_name_list instead of name_list to
8300         avoid collision with name_list from inet/netgroup.h.
8302         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
8304         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
8305         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
8306         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
8307         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
8309         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
8310         declaration to match prototype.
8311         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
8312         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
8313         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
8314         Likewise.
8315         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
8316         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
8317         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
8318         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
8319         (_nss_nis_getservbyport_r): Likewise.
8320         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
8321         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
8322         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
8323         (_nss_nis_setnetent): Likewise
8324         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8325         (_nss_nis_endnetgrent): Likewise.
8326         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
8327         Likewise.
8328         (_nss_nisplus_setnetgrent): Likewise.
8329         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
8330         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
8331         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
8332         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
8333         Likewise.
8334         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
8335         Likewise.
8336         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
8337         Likewise.
8338         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
8339         Likewise.
8340         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
8341         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
8342         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
8343         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
8344         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
8345         (_nss_dns_getnetbyaddr_r): Likewise.
8347 2000-12-17  Andreas Jaeger  <aj@suse.de>
8349         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
8350         parameter.
8352         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
8353         unused attribute to shut up gcc warnings.
8355         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
8356         * sysdeps/generic/k_tanl.c: Likewise.
8357         * sysdeps/generic/k_cosl.c: Likewise.
8358         * sysdeps/generic/e_j0l.c: Likewise.
8359         * sysdeps/generic/e_j1l.c: Likewise.
8360         * sysdeps/generic/e_jnl.c: Likewise.
8361         * sysdeps/generic/e_lgammal_r.c: Likewise.
8363         * elf/vismain.c: Move prototypes for functions in vismod*.c to
8364         vismod.h.
8365         * elf/vismod.h: New file.
8366         * elf/Makefile (distribute): Add vismod.h.
8367         * elf/vismod1.c: Include vismod.h.
8368         * elf/vismod2.c: Likewise.
8369         * elf/vismod3.c: Likewise.
8371         * elf/constload3.c: Add prototype declarations to shut up gcc.
8372         * elf/failobj.c: Likewise.
8373         * elf/nodelmod3.c: Likewise.
8374         * elf/filtmod1.c: Likewise.
8375         * elf/filtmod2.c: Likewise.
8376         * elf/reldepmod1.c: Likewise.
8377         * elf/reldepmod2.c: Likewise.
8378         * elf/reldepmod3.c: Likewise.
8379         * elf/reldepmod4.c: Likewise.
8380         * elf/unload2dep.c: Likewise.
8381         * elf/unload2mod.c: Likewise.
8382         * elf/ltglobmod1.c: Likewise.
8383         * elf/pathoptobj.c: Likewise.
8384         * elf/neededobj1.c: Likewise.
8385         * elf/neededobj2.c: Likewise.
8386         * elf/neededobj3.c: Likewise.
8387         * elf/neededobj4.c: Likewise.
8388         * elf/nextmod1.c: Likewise.
8389         * elf/nextmod2.c: Likewise.
8391         * locale/programs/ld-collate.c (collate_finish): Don't use labels
8392         at end of compound statement.
8393         * locale/programs/locale.c (show_info): Likewise.
8394         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
8396 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
8398         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
8399         with a pointer not returned by obstack_ functions.
8401 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
8403         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
8404         version.
8405         (struct stat64): Likewise.
8406         Reported by Michael Keezer <mkeezer@redhat.com>.
8408         * timezone/asia: Update from tzdata2000h.
8409         * timezone/australasia: Likewise.
8410         * timezone/backward: Likewise.
8411         * timezone/europe: Likewise.
8412         * timezone/northamerica: Likewise.
8413         * timezone/southamerica: Likewise.
8414         * timezone/zone.tab: Likewise.
8416 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
8418         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
8419         and dir.stream is NULL, only free dir.content.
8420         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
8421         * io/ftwtest-sh: Test with --early-exit.
8423 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
8425         * misc/efgcvt.c (FCVT_MAXDIG): Define.
8426         (FCVT_BUFPTR): New variable.
8427         (fcvt): If fcvt_r returns -1 on the static short buffer,
8428         try to malloc a sufficiently large one and retry.
8429         (free_mem): New function.
8430         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
8431         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
8433 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
8435         * misc/dirname.c (dirname): Fix search for second to last slash.
8437 2000-12-13  Andreas Jaeger  <aj@suse.de>
8439         * misc/tst-dirname.c (main): Fix typo in test to really use
8440         the examples from Unix98.
8441         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8443 2000-12-09  H.J. Lu  <hjl@gnu.org>
8445         * sysdeps/ia64/fpu/s_fabs.S: New file.
8446         * sysdeps/ia64/fpu/s_fabsf.S: New file.
8447         * sysdeps/ia64/fpu/s_fabsl.S: New file.
8449 2000-12-15  Andreas Jaeger  <aj@suse.de>
8451         * stdio-common/scanf9.c (main): Reformat and change to avoid
8452         warnings.
8454         * stdio-common/tstdiomisc.c: Make local functions static.
8455         * stdio-common/tst-printf.c: Likewise.
8457         * elf/constload2.c: Add prototype declarations to shut up gcc.
8458         * elf/dep1.c: Likewise.
8459         * elf/dep2.c: Likewise.
8460         * elf/dep3.c: Likewise.
8461         * elf/dep4.c: Likewise.
8462         * elf/ltglobmod2.c: Likewise.
8464         * libio/fmemopen.c: Make local functions static.
8466         * elf/Makefile (distribute): Added testobj.h.
8468         * elf/testobj.h: New file.
8470         * elf/testobj1.c: Include testobj.h and move prototype
8471         declarations to testobj.h.
8472         * elf/testobj2.c: Likewise.
8473         * elf/testobj3.c: Likewise.
8474         * elf/testobj4.c: Likewise.
8475         * elf/testobj5.c: Likewise.
8476         * elf/testobj6.c: Likewise.
8477         * elf/testobj1_1.c: Likewise.
8478         * elf/preloadtest.c: Likewise.
8480 2000-12-15  Ben Collins  <bcollins@debian.org>
8482         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
8483         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
8485 2000-12-14  H.J. Lu  <hjl@gnu.org>
8487         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
8488         field in a float is 8 bits, not 11 bits.
8490 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
8492         * math/test-misc.c (main): Adjust m for IEEE quad long double.
8494 2000-12-13  Andreas Jaeger  <aj@suse.de>
8496         * manual/message.texi (Using gettextized software): Fix typo.
8498         * manual/charset.texi (Converting a Character): Fix mbstouwcs
8499         program to compile.
8500         Patch by Martin Buchholz <martin@xemacs.org>.
8502         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
8503         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8505 2000-12-11  Andreas Jaeger  <aj@suse.de>
8507         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
8508         kernel_sigset_t and use it.
8509         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
8511 2000-12-10  Richard Henderson  <rth@redhat.com>
8513         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
8514         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
8515         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
8517 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
8519         * sysdeps/alpha/htonl.S: Fix a typo.
8521 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
8523         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
8525 2000-12-10  Andreas Jaeger  <aj@suse.de>
8527         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
8528         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
8529         Drepper <drepper@redhat.com>.
8531 2000-12-09  Andreas Jaeger  <aj@suse.de>
8533         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
8535         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
8536         generic version.
8537         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
8539         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
8540         string.
8542         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
8543         format string.
8545         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
8546         * nscd/connections.c (handle_request): Likewise.
8547         * nscd/pwdcache.c (addpwbyname): Likewise.
8548         * nscd/grpcache.c (addgrbyname): Likewise.
8550         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
8552 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
8554         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
8556         * Makeconfig (default_cflags): Make -O2 the default for stable
8557         releases.
8559 2000-12-08  H.J. Lu  <hjl@gnu.org>
8561         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
8562         * sysdeps/ia64/fpu/s_isinf.S: This.
8563         Add a .pred.rel.mutex note to avoid false report.
8565         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
8566         * sysdeps/ia64/fpu/s_isnan.S: This.
8568         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
8569         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
8570         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
8571         * sysdeps/ia64/fpu/s_isinff.S: New file.
8572         * sysdeps/ia64/fpu/s_isinfl.S: New file.
8573         * sysdeps/ia64/fpu/s_isnanf.S: New file.
8574         * sysdeps/ia64/fpu/s_isnanl.S: New file.
8575         * sysdeps/ia64/fpu/s_finite.S: New file.
8576         * sysdeps/ia64/fpu/s_finitef.S: New file.
8577         * sysdeps/ia64/fpu/s_finitel.S: New file.
8578         * sysdeps/ia64/fpu/s_signbit.S: New file.
8579         * sysdeps/ia64/fpu/s_signbitf.S: New file.
8580         * sysdeps/ia64/fpu/s_signbitl.S: New file.
8581         * sysdeps/ia64/fpu/s_copysign.S: New file.
8582         * sysdeps/ia64/fpu/s_copysignf.S: New file.
8583         * sysdeps/ia64/fpu/s_copysignl.S: New file.
8585 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
8587         * math/libm-test.inc (main): Fix typos in messages.
8589         * string/stratcliff.c: Add test for rawmemchr.
8591 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8593         * elf/dl-open.c (_dl_open): If objname points right after errstring,
8594         allocate it together with errstring using alloca.
8595         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
8596         to "", because it might point to local stack.
8598 2000-12-05  H.J. Lu  <hjl@gnu.org>
8600         * nss/Makefile (routines): Add getnssent and getnssent_r.
8601         * nss/nsswitch.h (__nss_setent): New internal NSS function.
8602         (__nss_endent): Likewise.
8603         (__nss_getent_r): Likewise.
8604         (__nss_getent): Likewise.
8605         * nss/getnssent_r.c: New file.
8606         * nss/getnssent.c: New file.
8607         * nss/getXXent.c (H_ERRNO_VAR): Updated.
8608         (GETFUNC_NAME): Updated to call __nss_getent ().
8609         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
8610         (STAYOPEN_TMPVAR): Updated.
8611         (STAYOPEN_VAR): Updated.
8612         (SETFUNC_NAME): Updated to call __nss_setent ().
8613         (ENDFUNC_NAME): Updated to call __nss_endent ().
8614         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
8616 2000-12-08  Andreas Jaeger  <aj@suse.de>
8618         * nscd/dbg_log.h (dbg_log): Correct attribute.
8620 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8622         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
8623         cp + len.  Compute where from dirname.
8624         Reported by <jreiser@BitWagon.com>.
8626 2000-12-08  Richard Henderson  <rth@twiddle.net>
8628         * sysdeps/alpha/_mcount.S: Fix typo.
8629         * sysdeps/alpha/strncpy.S: Likewise.
8631         * sysdeps/alpha/alphaev6/Implies: New file.
8632         * sysdeps/alpha/alphaev67/Implies: New file.
8633         * sysdeps/alpha/alphaev67/ffs.S: New file.
8634         * sysdeps/alpha/alphaev67/ffsll.S: New file.
8635         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
8636         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
8637         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
8638         * sysdeps/alpha/rawmemchr.S: New file.
8639         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
8640         * sysdeps/alpha/strcpy.S: Likewise.
8642         From GMP 3.1.1:
8643         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
8645         From rick.gorton@alpha-processor.com:
8646         * sysdeps/alpha/alphaev6/memchr.S: New file.
8647         * sysdeps/alpha/alphaev6/memcpy.S: New file.
8648         * sysdeps/alpha/alphaev6/memset.S: New file.
8649         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
8650         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
8651         * sysdeps/alpha/alphaev67/strcat.S: New file.
8652         * sysdeps/alpha/alphaev67/strchr.S: New file.
8653         * sysdeps/alpha/alphaev67/strlen.S: New file.
8654         * sysdeps/alpha/alphaev67/strncat.S: New file.
8655         * sysdeps/alpha/htonl.S: Use a shorter sequence.
8657 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8659         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
8660         Reported by <pspencer@fields.utoronto.ca>.
8662 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
8664         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
8665         Pointed out by Hans Boehm.
8667 2000-12-07  H.J. Lu  <hjl@gnu.org>
8669         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
8671 2000-12-07  Andreas Jaeger  <aj@suse.de>
8673         * misc/error.c: Add format attributes for __error and __error_at_line.
8675         * nscd/dbg_log.h: Add format attribute.
8677 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
8679         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
8680         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
8682 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
8684         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
8686 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
8688         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
8689         (sysdep_routines): Add uitrunc.
8690         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
8691         Patches by Michael Keezer <mkeezer@redhat.com>.
8693 2000-12-06  Roland McGrath  <roland@frob.com>
8695         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
8696         argument data, since it will be used to copy out too (for INOUT).
8697         Reported by Marcus Brinkmann <marcus@gnu.org>.
8699         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
8700         (__ioctl): Use uintptr_t instead of unsigned long int.
8702 2000-12-06  Jim Wilson  <wilson@redhat.com>
8704         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
8706 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
8708         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
8709         x.5 rounding correctly.
8711 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
8713         * stdio-common/perror.c (perror): Conditionalize code dealing with
8714         wide-oriented streams on USE_IN_LIBIO.
8716 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
8718         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
8719         as internal_function.
8721 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
8723         * sysdeps/alpha/elf/start.S (__data_start): Define.
8725 2000-12-05  H.J. Lu  <hjl@gnu.org>
8727         * nss/getXXent_r.c (setup): Change the return type to int.
8729 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
8731         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
8732         (sysdep_routines): Add restf and savef.
8733         * sysdeps/unix/sysv/aix/restf.c: New file.
8734         * sysdeps/unix/sysv/aix/savef.c: New file.
8735         Patches by Michael Keezer <mkeezer@redhat.com>.
8737         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
8738         if O_DIRECTORY is not defined.
8739         Patch by Michael Keezer <mkeezer@redhat.com>.
8741         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
8742         Patch by Michael Keezer <mkeezer@redhat.com>.
8744         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
8745         than 4 bytes in escape sequence.
8746         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8748 2000-12-05  Andreas Jaeger  <aj@suse.de>
8750         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
8751         set mips2.
8753         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
8755         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
8757         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
8758         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8760         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
8761         internal_function.
8762         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
8763         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
8765         * sysdeps/generic/dl-cache.c: Remove declaration of
8766         _dl_sysdep_read_whole_file.
8768         * elf/dl-load.c (_dl_map_object): Remove declaration of
8769         _dl_load_cache_lookup.
8771         * sysdeps/generic/ldsodefs.h: Add declarations of
8772         _dl_load_cache_lookup, _dl_unload_cache,
8773         _dl_sysdep_read_whole_file, _dl_sysdep_start and
8774         _dl_sysdep_start_cleanup.
8776         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
8777         now.
8779         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
8780         * sysdeps/generic/dl-environ.c: Likewise.
8782         * stdio-common/printf_fp.c: Include <gmp.h> instead of
8783         <stdlib/gmp.h>.
8784         * math/atest-exp.c: Likewise.
8785         * math/atest-exp2.c: Likewise.
8786         * math/atest-sincos.c: Likewise.
8787         * stdio-common/_itoa.c: Likewise.
8788         * stdio-common/_itowa.c: Likewise.
8790         * include/gmp.h: New file with internal prototypes.
8792         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
8793         here to...
8794         * include/setjmp.h: ...here.
8796         * locale/Makefile (routines): Remove codeset_name since it's not
8797         needed anywhere.
8799         * locale/codeset_name.c: Removed.
8801 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
8803         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
8805 2000-12-05  Andreas Jaeger  <aj@suse.de>
8807         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
8809 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
8811         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
8812         available.
8814 2000-12-05  Andreas Jaeger  <aj@suse.de>
8816         * nss/test-netdb.c: Mark local functions as static to avoid
8817         warnings.
8818         (main): Use return to silence warning.
8820         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
8822         * stdio-common/test-popen.c: Mark local functions as static to
8823         avoid warnings.
8824         (main): Use return to silence warning.
8826         * stdlib/testsort.c (compare): Mark as static to avoid warning.
8828         * assert/test-assert.c: Mark local functions as static to avoid
8829         warnings.
8830         * assert/test-assert-perr.c: Likewise.
8832         * math/libm-test.inc (main): Use return to silence warnings.
8834 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8836         * math/fenv.h: Fix typo in comment.
8838         * math/test-misc.c (main): Add a few more over and underflow tests
8839         for scalb.
8841         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
8842         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8843         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8844         * math/w_scalb.c: Don't use matherr except in SVID mode.
8845         * math/w_scalbf.c: Likewise.
8846         * math/w_scalbl.c: Likewise.
8847         * math/test-misc.c: Add test for NaN and scalbl.
8848         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8850 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8852         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
8853         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
8854         * include/libc-symbols.h (strong_alias): Define special version
8855         for HAVE_ASM_GLOBAL_DOT_NAME.
8856         (weak_alias): Likewise.
8857         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
8858         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
8859         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
8860         getutxline, pututxline, and utmpxname.
8861         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
8862         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
8863         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
8864         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
8865         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
8866         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
8867         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
8868         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
8869         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
8870         Patches by Michael Keezer <mkeezer@redhat.com>.
8872 2000-12-04  H.J. Lu  <hjl@gnu.org>
8874         * configure.in: Change --with-oldest-abi=ABI to
8875         --enable-oldest-abi=ABI.
8877 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
8879         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
8880         fwprintf instead of fprintf.
8882 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8884         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
8885         DECIMAL_DIG definitions.
8886         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
8887         * sysdeps/generic/bits/mathdef.h: Likewise
8888         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
8889         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
8890         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
8891         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
8892         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
8893         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
8895 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
8897         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
8899         * math/atest-exp.c: Mark local functions as static to avoid warnings.
8900         * math/atest-exp2.c: Likewise.
8901         * math/atest-sincos.c: Likewise.
8903         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
8904         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8906         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
8907         the handling of denormalized numbers.
8909         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
8910         numbers on x86.
8911         * sysdeps/i386/fpu/fpclassifyl.c: New file.
8913         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
8914         pseudo denormal representation of LDBL_MIN.
8916         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
8917         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
8919         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
8920         * iconvdata/jis0208.c: Likewise.
8921         * iconvdata/jis0212.c: Likewise.
8922         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8924         * math/test-misc.c (main): More tests for frexp and some for
8925         fpclassify and isnormal.
8927         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
8928         test for subnormal.
8929         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8931         * math/test-misc.c (main): Add tests for frexp.
8932         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8933         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
8935 2000-12-02  H.J. Lu  <hjl@gnu.org>
8937         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
8938         '\0' to wcschr.
8940 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
8942         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
8943         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8944         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8946         * sysdeps/generic/glob.c: Adjust types of several variables to
8947         avoid warnings.
8949 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
8951         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
8953 2000-11-30  Roland McGrath  <roland@frob.com>
8955         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
8956         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
8957         allow multiple instances using the same function name in one file.
8959 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
8961         * configure.in: Correct test for pserver CVS access.
8963 2000-11-28  H.J. Lu  <hjl@gnu.org>
8965         * libio/libio.h: Remove extra "#if ... #endif".
8967 2000-11-29  H.J. Lu  <hjl@gnu.org>
8969         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
8971 2000-12-01  H.J. Lu  <hjl@gnu.org>
8973         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
8974         * nss/getXXent_r.c: Likewise.
8975         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8977 2000-11-30  H.J. Lu  <hjl@gnu.org>
8979         * scripts/abi-versions.awk (oldest_abi): New variable.
8980         Handle the oldest ABI supported.
8982         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
8983         for scripts/abi-versions.awk.
8985         * configure.in: Add --with-oldest-abi=ABI.
8986         * configure: Rebuild.
8988         * config.make.in (oldest-abi): New.
8990         * config.h.in (GLIBC_OLDEST_ABI): New.
8992         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
8994 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
8996         * locale/setlocale.c (setname): Free for all categories, not just
8997         LC_ALL.
8998         (setlocale): Store a copy of string passed by user, not the string
8999         itself.
9001 2000-11-30  Roland McGrath  <roland@frob.com>
9003         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
9004         rather than _hurd_fd_subinit, so it happens after it's safe to use
9005         libc facilities like malloc.
9007 2000-11-28  Andreas Jaeger  <aj@suse.de>
9009         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
9010         declaration, adjust declaration of __syscall_getdents to match
9011         kernel.
9013 2000-11-29  H.J. Lu  <hjl@gnu.org>
9015         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
9017 2000-11-29  Andreas Jaeger  <aj@suse.de>
9019         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
9021 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
9023         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
9024         * dlfcn/defaultmod2.c: Likewise.
9025         * dlfcn/dlopen.c: Likewise.
9026         * dlfcn/dlopenold.c: Likewise.
9027         * dlfcn/failtestmod.c: Likewise.
9028         * dlfcn/glreflib1.c: Likewise.
9029         * dlfcn/glreflib2.c: Likewise.
9030         * dlfcn/eval.c: Likewise.  Add attributes.
9032         * ctype/ctype-extn.c: Define isblank and not __isblank.
9034         * time/strftime.c: Add const where necessary to avoid warnings.
9035         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
9037 2000-11-22  Paul Eggert  <eggert@twinsun.com>
9039         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
9040         size of (size_t) -1; it's not portable.
9042 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
9044         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
9045         crappy i486 FPU.
9046         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
9048 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
9050         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
9052         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
9053         _mcount is required by profiled binaries.
9055         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
9056         * sysdeps/ia64/machine-gmon.h: ...here.
9058 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
9060         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
9061         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
9062         and ibm1129.h.
9063         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
9064         IBM1129.
9065         * iconvdata/ibm922.c: New file.
9066         * iconvdata/ibm922.h: New file.
9067         * iconvdata/ibm1124.c: New file.
9068         * iconvdata/ibm1124.h: New file.
9069         * iconvdata/ibm1129.c: New file.
9070         * iconvdata/ibm1129.h: New file.
9071         * iconvdata/testdata/IBM922: New file.
9072         * iconvdata/testdata/IBM922..UTF8: New file.
9073         * iconvdata/testdata/IBM1124: New file.
9074         * iconvdata/testdata/IBM1124..UTF8: New file.
9075         * iconvdata/testdata/IBM1129: New file.
9076         * iconvdata/testdata/IBM1129..UTF8: New file.
9078 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
9080         * catgets/gencat.c (normalize_line): Take extra parameter with escape
9081         character.  Change callers.
9082         (open_conversion): Determine mapping of 0x5c as wchar_t value.
9083         * catgets/Makefile: Add rules to build and run test-gencat.
9084         * catgets/sample.SJIS: New file.
9085         * catgets/test-gencat.c: New file.
9086         * catgets/test-gencat.sh: New file.
9087         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9089 2000-11-28  Andreas Jaeger  <aj@suse.de>
9091         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
9092         Linux version.
9094 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
9096         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
9098 2000-11-28  Andreas Jaeger  <aj@suse.de>
9100         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
9101         __flexarr.
9102         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
9103         Likewise.
9105 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
9107         * misc/getusershell.c: Make strings in okshells array const.
9108         * misc/regexp.c: Add const to cast to avoid warnings.
9109         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
9110         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
9111         __setresuid.
9112         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
9113         setresgid.
9114         * misc/error.c: Add prototypes for __error and __error_at_line.
9115         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
9116         statement to avoid warning.
9117         * test-skeleton.c: Mark timeout_handler with noreturn.
9118         * iconv/skeleton.c (get16u): Add const to cast.
9119         (get32u): Likewise.
9120         * iconvdata/gb18030.c: Likewise.
9121         * iconvdata/iso-2022-cn-ext.c: Likewise.
9122         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
9123         * iconvdata/big5.c: Likewise.
9124         * iconvdata/big5hkscs.c: Likewise.
9125         * iconvdata/iso_6937.c: Likewise.
9126         * iconvdata/iso_6937-2.c: Likewise.
9127         * iconvdata/t.61.c: Likewise.
9128         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
9129         * iconvdata/unicode.c: Likewise.
9130         * iconvdata/utf-16.c: Likewise.
9131         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
9132         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
9133         with little code shuffling.
9135         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
9136         the problems introduced when the user selects -O3.
9138         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
9139         * misc/sys/cdefs.h: Define __flexarr.
9140         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
9142         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
9143         * iconv/skeleton.c: Likewise.
9144         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
9145         * iconv/loop.c (get16): Add const to cast.
9146         (get32): Likewise.
9148 2000-11-27  Andreas Jaeger  <aj@suse.de>
9150         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
9151         to avoid warning.
9152         * login/programs/utmpdump.c (print_entry): Likewise.
9154 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
9156         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
9157         in a single asm as they may be used to access other stored
9158         registers.
9159         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
9161 2000-11-27  Andreas Jaeger  <aj@suse.de>
9163         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
9164         * rt/tst-aio64.c: Likewise.
9166 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
9168         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
9169         for gencat run.
9170         (libc.cat): Likewise.
9171         * catgets/gencat.c: Implement handling of message catalogs encoded
9172         with stateful character sets.
9173         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9175 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
9177         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
9179         * inet/getnameinfo.c: Adjust casts to avoid warnings.
9180         * inet/rcmd.c: Likewise.
9181         * inet/ruserpass.c: Likewise.
9182         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
9183         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9184         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
9185         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
9186         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
9187         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
9188         * include/aliases.h: Add prototypes for internal __getalias* functions.
9189         * include/netdb.h: Add prototypes for __old_gethostent_r,
9190         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
9191         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
9192         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
9193         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
9194         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
9195         __old_getrpcbynumber_r, __old_getrpcent_r.
9197         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
9198         __getrpcent_r prototypes.
9200 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
9202         * string/strcoll.c: Add casts to avoid warnings.
9203         * string/strnlen.c: Likewise.
9204         * string/strxfrm.c: Likewise.
9205         * sysdeps/generic/_strerror.c: Likewise.
9206         * sysdeps/generic/memrchr.c: Likewise.
9207         * sysdeps/generic/strcasestr.c: Likewise.
9208         * sysdeps/generic/strstr.c: Likewise.
9210         * locale/weight.h (findidx): Add const to cast to avoid warning.
9212         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
9213         * elf/loadtest.c: Likewise.
9214         * elf/multiload.c: Likewise.
9215         * elf/next.c: Likewise.
9216         * elf/nodelete.c: Likewise.
9217         * elf/noload.c: Likewise.
9218         * elf/order.c: Likewise.
9219         * elf/origtest.c: Likewise.
9220         * elf/preloadtest.c: Likewise.
9221         * elf/restest1.c: Likewise.
9223         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
9224         parameter of asm must be in %ecx.
9226         * string/tester.c: Mark test functions as static to avoid warnings.
9228         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
9229         preserve value over different gconv-modules files.
9231 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
9233         * locale/findlocale.c: Add casts to avoid warnings.
9234         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
9235         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
9236         to avoid warnings.
9237         * misc/tsearch.c (const_node): New type.
9238         (trecurse): Correct casts to avoid warnings.
9239         (__twalk): Likewise.
9240         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
9241         LONG_BIT.
9243         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
9245         * test-skeleton.c: Mark local functions as static to avoid warnings.
9247 2000-11-23  H.J. Lu  <hjl@gnu.org>
9249         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
9250         support the background job.
9251         Fix a typo.
9253 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
9255         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
9256         has same names but lower cost.
9258 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
9260         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
9261         which never occur during bootstrap.
9262         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9264 2000-11-23  Andreas Jaeger  <aj@suse.de>
9266         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
9268         * nss/Versions: Remove _nss_files_getipnodebyname_r.
9270         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
9272 2000-11-18  Martin Buchholz  <martin@xemacs.org>
9274         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
9275         (called++) return;'
9277 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
9279         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
9281         * csu/abi-note.S: Correct comment for operating system number.
9283 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
9285         * Versions.def: Add GLIBC_2.2.1 for glibc.
9287 2000-11-22  Andreas Schwab  <schwab@suse.de>
9289         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
9290         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
9292 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
9294         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
9295         absolute time for pthread_cond_timedwait call.
9296         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
9298         * rt/Makefile (tests): Add tst-aio6.
9299         * rt/tst-aio6.c: New file.
9301 2000-11-23  Andreas Jaeger  <aj@suse.de>
9303         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
9305 2000-11-22  Andreas Jaeger  <aj@suse.de>
9307         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
9309 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
9311         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
9313 2000-11-21  Andreas Schwab  <schwab@suse.de>
9315         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
9316         * sysdeps/arm/setjmp.S: Likewise.
9317         * sysdeps/arm/fpu/setjmp.S: Likewise.
9318         * sysdeps/i386/setjmp.S: Likewise.
9319         * sysdeps/i386/elf/setjmp.S: Likewise.
9320         * sysdeps/s390/setjmp.S: Likewise.
9321         * sysdeps/s390/elf/setjmp.S: Likewise.
9322         * sysdeps/sh/sh3/setjmp.S: Likewise.
9323         * sysdeps/sh/sh4/setjmp.S: Likewise.
9324         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
9325         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9326         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
9327         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
9329 2000-11-21  Andreas Jaeger  <aj@suse.de>
9331         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
9332         NORETURN, fix parameter list.
9334         * string/bug-strncat1.c (main): Fix typo.
9335         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
9337 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
9339         * configure.in: Add --enable-all-warnings.
9340         * config.make.in (all-warnings): New variable.
9341         * Makeconfig (+gccwarn): Define with many more warnings if
9342         all-warnings is yes.
9344 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
9346         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
9347         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
9348         * malloc/tst-valloc.c (main): Cast valloc return value to long.
9349         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
9350         * math/test-fpucw.c (main): Use %lx in format string, cast
9351         control words to long.
9352         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
9353         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
9354         large that it is unsigned warning.
9356         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
9357         it to long on sparc64.
9359 2000-11-20  Andreas Jaeger  <aj@suse.de>
9361         * nscd/nscd.h (termination_handler): Add noreturn attribute.
9362         (receiv_print_stats): Likewise.
9364         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
9366 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
9368         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
9370         * csu/gmon-start.c: Always have prototype for __gmon_start.
9371         * csu/version.c: Add prototypes for __libc_print_version and
9372         __libc_main.
9373         * iconv/gconv.c: Include gconv_int.h and gconv.h.
9374         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
9375         and __to_name.
9376         * iconv/gconv_builtin.h: Add ASCII module definitions.
9377         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
9378         (add_module): Add cast to avoid warning.  Rework construction of
9379         strings for new module.
9380         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
9381         (derivation_compare): Likewise.
9382         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
9383         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
9384         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
9385         (struct gconv_alias): Remove const from fromname and toname.
9386         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
9387         for loop functions.
9388         (internal_ucs4_loop): Use correct const-ness.
9389         (ucs4_internal_loop): Likewise.
9390         (internal_ucs4le_loop): Likewise.
9391         (ucs4le_internal_loop_single): Likewise.
9392         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
9393         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
9394         assignments appropriately.
9395         (struct known_trans): Remove const from fname.
9396         (trans_compare): Make s1 and s2 const.
9397         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
9398         avoid warning.
9399         * iconv/skeleton.c: Remove cast in calls of loop functions.
9400         * iconvdata/gconv-modules: Remove US-ASCII definitions.
9401         * iconvdata/iso646.c: Remove US_ASCII support.
9402         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
9403         * include/unistd.h: Add __libc_check_standard_fds prototype.
9404         * string/bits/string2.h (__mempcpy_args): Add const to casts.
9405         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
9406         _fini.
9407         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
9408         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
9409         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
9410         warning.
9411         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
9412         __libc_init_first and _dl_start.
9413         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
9414         (DCIGETTEXT): Make domaindata variable const.
9415         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
9416         to avoid warning.
9418 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
9420         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
9422         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
9423         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
9424         __unused? members.
9426         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
9427         value defined in /usr/include/asm-mips/fcntl.h.
9429 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
9431         * stdio-common/Makefile (tests): Add test-vfprintf.
9432         (test-vfprintf-ENV): New variable.
9433         * stdio-common/test-vfprintf.c: New file.
9435         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
9437         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
9438         (tst-mbrtowc-ENV): New variable.
9439         (tst-wcrtomb-ENV): New variable.
9440         * wcsmbs/tst-mbrtowc.c: New file.
9441         * wcsmbs/tst-wcrtomb.c: New file.
9443 2000-11-16  Andreas Jaeger  <aj@suse.de>
9445         * manual/install.texi (Tools for Compilation): Update
9446         documentation for GCC 2.95.2.
9448 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
9450         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
9451         if IPv4 and IPv6 requests timed out.
9453 2000-11-18  Akim Demaille  <akim@epita.fr>
9455         * malloc/obstack.h: Formatting changes.
9456         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
9457         prevents type checking.
9458         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
9459         cast the value to (void *): assigning a `foo *' to a `void *'
9460         variable is valid.
9461         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
9463 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
9465         * scripts/config.guess: Update from upstream maintainer.
9466         * scripts/config.sub: Likewise.
9468 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
9470         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
9471         * libio/freopen64.c (freopen64): Likewise.
9472         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9474         * libio/Makefile: Add rules to build and run test-freopen.
9475         * libio/test-freopen.c: New file.
9476         * libio/test-freopen.sh: New file.
9478 2000-11-15  H.J. Lu  <hjl@gnu.org>
9480         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
9481         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
9482         (DL_DT_FINI_ADDRESS): Likewise.
9484         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
9485         return type to ElfW(Addr).
9486         (_dl_function_address): New prototype.
9487         (DL_FUNCTION_ADDRESS): Defined.
9488         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
9489         (DL_DT_FINI_ADDRESS): Likewise.
9491         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
9493         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
9494         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
9496         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
9497         (_dl_function_address): This.
9499         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
9500         function pointer for DT_FINI.
9501         * elf/dl-close.c (_dl_close): Likewise.
9503         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
9504         function pointer for DT_INIT.
9506 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
9508         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
9509         end of wexpbuf buffer.
9511 2000-11-16  Andreas Jaeger  <aj@suse.de>
9513         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
9514         definition of F_GETLK, F_SETLK, F_SETLKW.
9516 2000-11-16  Andreas Jaeger  <aj@suse.de>
9518         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
9519         it's not defined.
9521 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
9523         * dlfcn/default.c (main): Add test for dladdr of main returning
9524         argv[0] in dli_fname field.
9526 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
9528         * Makeconfig (run-program-prefix): Move test-static test into the
9529         variable.
9531         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
9532         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
9533         schedule instructions.
9534         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
9535         schedule instructions, fix a bug in copying auxiliary data.
9537 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9539         * manual/startup.texi (Program Arguments): Fix type of main's envp
9540         parameter.
9541         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
9543         * iconvdata/gconv-modules: Add CP950 alias.
9545 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
9547         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
9548         syscall-list.h goal.
9549         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
9551 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9553         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
9555         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
9556         output of program.
9558         * intl/tst-gettext2.c: Set C locale if setting other locale
9559         failed.  Use gettext() not _().
9561         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
9562         successfully loaded a new locale.
9564 2000-11-13  Andreas Jaeger  <aj@suse.de>
9566         * configure.in: Require gcc 2.95 or newer.
9568 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9570         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
9571         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
9573 2000-11-11  Jim Meyering  <meyering@lucent.com>
9575         * string/strndup.c (strndup): Cast return value to `char *'.
9577 2000-11-15  Jim Meyering  <meyering@ascend.com>
9579         * sysdeps/generic/memchr.c: Remove some useless parentheses.
9580         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
9581         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
9582         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
9583         Also #undef __memchr.
9584         Use `weak_alias' only if it's defined.
9586 2000-11-10  H.J. Lu  <hjl@gnu.org>
9588         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
9590 2000-11-15  Andreas Jaeger  <aj@suse.de>
9592         * elf/chroot_canon.c: Include <stdint.h>.
9594         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
9595         (print_entry): Likewise.
9596         (add_to_cache): Likewise.
9598         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
9600         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
9601         (path_hwcap): Likewise.
9602         (search_dir): Likewise.
9604         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
9606         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
9608         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
9609         (_dl_platform_string): New.
9610         (_DL_HWCAP_PLATFORM): New.
9611         (_dl_string_platform): New.
9612         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
9614         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
9615         (_dl_string_platform): New.
9616         (_DL_HWCAP_PLATFORM): New.
9617         (_dl_platform_string): New.
9619         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
9620         recognition.
9621         (_DL_HWCAP_COUNT): New.
9622         (_dl_string_platform): New.
9623         (_DL_HWCAP_PLATFORM): New.
9624         (_dl_platform_string): New.
9626 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
9628         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
9630 2000-11-14  Andreas Jaeger  <aj@suse.de>
9632         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
9634 2000-11-13  Roland McGrath  <roland@frob.com>
9636         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
9638 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
9640         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
9641         underrun and make sure the result is null terminated even if there
9642         is no trailing newline.
9644 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
9646         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9648 2000-11-10  H.J. Lu  <hjl@gnu.org>
9650         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
9652 2000-11-10  Andreas Jaeger  <aj@suse.de>
9654         * elf/ldconfig.c (create_links): Fix alloca calculation.
9655         Patch by Ben Collins <bcollins@debian.org>.
9657 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
9659         * inet/getnameinfo.c (getnameinfo): Use correct destination
9660         parameter for if_indextoname.
9661         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
9663 2000-11-09  H.J. Lu  <hjl@gnu.org>
9665         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
9666         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
9667         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
9668         xdr_keystatus.
9670         * time/Versions (GLIBC_2.1): Move getitimer to...
9671         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
9673 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
9675         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
9676         "make install", to work around a binary incompatibility between
9677         glibc 2.1 and glibc 2.2 gconv modules.
9679 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
9681         * intl/locale.alias: Add thai.
9682         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
9684 2000-11-07  Akim Demaille  <akim@epita.fr>
9686         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
9687         argument `data' for consistency with the prototypes.
9688         Qualify it `const'.
9689         (obstack_copy, obstack_copy0): Rename the second argument as
9690         `address' for consistency.  Qualify it `const'.
9691         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
9692         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
9693         `const' their input argument (`data' or `address').
9694         Adjust the corresponding macros to include `const' in casts.
9696 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9698         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
9699         target family.
9701 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9703         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
9704         socket creation.
9706 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9708         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
9709         ai_protocol by internal table if service was not given.
9711 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9713         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
9714         numerical port was specified with protocol without socktype.
9716 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9718         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
9720 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9722         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
9724 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9726         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
9727         sin6_scope_id field.
9729 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9731         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
9733 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9735         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
9737 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9739         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
9740         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
9742 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
9744         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
9745         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
9747 2000-11-09  H.J. Lu  <hjl@gnu.org>
9749         * io/Versions (GLIBC_2.1.1): Remove lockf64.
9752 See ChangeLog.11 for earlier changes.