* sysdeps/m68k/m68020/atomicity.h (atomic_add): Don't allow
[glibc/pb-stable.git] / ChangeLog
blobff621f8a5282c99d49be0e6079725b2f1e452d3c
1 2001-08-15  Andreas Schwab  <schwab@suse.de>
3         * sysdeps/m68k/m68020/atomicity.h (atomic_add): Don't allow
4         address register for operand 0.
6 2001-08-14  Ulrich Drepper  <drepper@redhat.com>
8         * stdio-common/perror.c (perror): Use _IO_fwide instead of fwide.
10         * libio/libio.h (_IO_fwide): Handle zero as second parameter more
11         efficiently in macro.
13 2001-08-14  Jakub Jelinek  <jakub@redhat.com>
15         * resolv/nss_dns/dns-host.c (RESOLVSORT): Define.
16         (addrsort): New function.
17         * resolv/gethnamaddr.c (RESOLVSORT): Define.
19 2001-08-14  Jakub Jelinek  <jakub@redhat.com>
21         * string/strsignal.c (free_mem): Remove.
23 2001-08-14  Andreas Jaeger  <aj@suse.de>
25         * inet/inet_ntoa.c (free_mem): Remove, it's not used anymore.
26         Closes PR libc/2477, reported by Dylan Alex Simon
27         <dylan@dylex.caltech.edu>.
29 2001-08-14  Ulrich Drepper  <drepper@redhat.com>
31         * locale/Makefile (aux): Add xlocale.
32         * locale/xlocale.c: New file.
33         * include/locale.c (_nl_C_locobj): Declare.
34         * iconv/gconv_charset.h: Use __tolower_l, __isdigit_l, __isspace_l
35         with _nl_C_locobj instead of tolower, isdigit, isspace.
36         * iconv/gconv_conf.c: Likewise.
37         * iconv/gconv_int.h: Likewise.
38         * iconv/gconv_open.c: Likewise.
40         * locale/newlocale.c: Minor cleanups.
42 2001-08-14  Andreas Jaeger  <aj@suse.de>
44         * sysdeps/ieee754/ldbl-128/w_expl.c: New file, copy from
45         ldbl-96/w_expl.c with tweaked constants.  Patch by Stephen L
46         Moshier.
48 2001-08-13  Ulrich Drepper  <drepper@redhat.com>
50         * malloc/memusage.c (me): Allow creating the output file.
52         * sysdeps/unix/sysv/linux/Makefile: Remove -fkeep-inline-functions
53         flag for init-first.
55         * po/fr.po: Update from translation team.
57 2001-08-13  Andreas Jaeger  <aj@suse.de>
59         * sysdeps/mips/machine-gmon.h (MCOUNT): Don't use delay slot for
60         jal since it's a macro.
61         Patch by Simon Gee <simong@oz.agile.tv>.
63 2001-08-12  Ulrich Drepper  <drepper@redhat.com>
65         * iconvdata/Makefile: Add rules to build ISO-IR-209 and MAC-SAMI.
66         * iconvdata/iso-ir-209.c: New file.
67         * iconvdata/mac-sami.c: New file.
68         * iconvdata/gconv-modules: Add entries for ISO-IR-209 and MAC-SAMI.
69         * iconvdata/tst-tables.sh: Likewise.
71         * posix/getopt.c: Remove store_args_and_env which is not needed since
72         USE_NONOPTION_FLAGS is undefined anyhow.  Use __libc_argc and
73         __libc_argv variables.
75 2001-08-12  Roland McGrath  <roland@frob.com>
77         * sysdeps/mach/hurd/clock.c: New file.
78         * sysdeps/mach/hurd/times.c: New file.
79         * sysdeps/mach/hurd/getclktck.c (__getclktck): Always return 1000000.
80         * sysdeps/mach/hurd/init-posix.c: New file.
82         * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
84 2001-08-11  Roland McGrath  <roland@frob.com>
86         * sysdeps/mach/hurd/bits/time.h
87         (CLOCK_PROCESS_CPUTIME_ID, CLOCK_THREAD_CPUTIME_ID): New macros.
88         * sysdeps/mach/hurd/i386/bits/time.h: File removed.
90         * posix/getopt.c (nonoption_flags_max_len, nonoption_flags_len):
91         Make these defns conditional on [USE_NONOPTION_FLAGS].
93 2001-08-11  Ulrich Drepper  <drepper@redhat.com>
95         * config.h.in: Add #undef line for USE_NONOPTION_FLAGS.
96         * posix/getopt_init.c: Produce code only if USE_NONOPTION_FLAGS is
97         defined.
98         * posix/getopt.c: Use __getopt_nonoption_flags only if
99         USE_NONOPTION_FLAGS is defined.
100         * sysdeps/mach/hurd/i386/init-first.c: Use __getopt_clean_environment
101         only if USE_NONOPTION_FLAGS is defined.
102         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
103         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
104         * sysdeps/arm/init-first.c: Likewise.
105         * sysdeps/generic/init-first.c: Likewise.
106         * sysdeps/i386/init-first.c: Likewise.
107         * sysdeps/sh/init-first.c: Likewise.
109 2001-08-11  Andreas Jaeger  <aj@suse.de>
111         * sysdeps/ieee754/ldbl-128/e_j0l.c: New file.
112         Contributed by Stephen L Moshier <moshier@mediaone.net>.
114 2001-08-11  Ulrich Drepper  <drepper@redhat.com>
116         * assert/assert.c (set_progname): Removed.
117         (__assert_fail): Use __progname instead of __assert_program_name.
118         * assert/assert-perr.c (__assert_perror_fail): Likewise.
120         * malloc/malloc.c (ptmalloc_init): Don't call getenv five times.
121         Instead use new function next_env_entry which iterates over the
122         environment once.
124         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Only set
125         _dl_profile_map for the right object.
127         * elf/dl-reloc.c (_dl_relocate_object): Allocate l_reloc_result
128         only if consider_profiling is != 0, not if _dl_profile != NULL.
130         * sysdeps/generic/dl-environ.c (_dl_next_ld_env_entry): Optimize a bit.
131         Now returns pointer to first character after "LD_".
132         * elf/rtld.c (process_envvars): Adjust for change above.
133         * sysdeps/unix/sysv/linux/dl-librecon.h (EXTRA_LD_ENVVARS): Likewise.
134         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
135         Likewise.
137 2001-08-10  Wolfram Gloger  <wg@malloc.de>
139         * malloc/malloc.c (grow_heap): Use mmap() rather than mprotect()
140         to allocate new memory, for better performance with Linux-2.4.x.
142 2001-08-10  Ulrich Drepper  <drepper@redhat.com>
144         * posix/getopt_init.c (__getopt_clean_environment): Avoid making
145         the strncmp calls most of the time by testing for '_' as the first
146         character of the name.
148         * elf/dl-open.c (add_to_global): Remove stale comment.
150         * elf/dl-load.c (fillin_rpath): In SUID binaries, don't mark
151         non-system-dirs in LD_LIBRARY_PATH as nonexisting, simply drop them.
153         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_USER_LOCK flag for
154         temporary stream.  Don't define lock.
155         * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
156         * libio/strops.c (_IO_str_init_static): Likewise.
157         * libio/vasprintf.c (_IO_vasprintf): Likewise.
158         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
159         * libio/iovsprintf.c: Likewise.
160         * libio/iovsnprintf.c: Likewise.
161         * libio/iovswprintf.c: Likewise.
162         * libio/iovsscanf.c: Likewise.
163         * libio/iovswscanf.c: Likewise.
164         * stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Likewise.
165         * libio/genops.c (_IO_no_init): Don't call _IO_lock_init if _lock
166         is NULL.
167         (_IO_default_finish): Likewise.
168         * libio/wgenops.c (_IO_wdefault_finish): Likewise.
170 2001-08-10  Andreas Jaeger  <aj@suse.de>
172         * stdio-common/stdio_ext.h: Fix typo.
174 2001-08-09  Ulrich Drepper  <drepper@redhat.com>
176         * posix/fnmatch_loop.c: Fix computation of alignment.
178 2001-08-09  Isamu Hasegawa  <isamu@yamato.ibm.com>
180         * posix/regex.c (wcs_regex_compile): Use appropriate string
181         to compare with collating element.
182         Fix the padding for the alignment.
184 2001-08-09  Isamu Hasegawa  <isamu@yamato.ibm.com>
186         * locale/programs/ld-collate.c (collate_output): Exclude
187         characters from elem_table.
188         Reduce if clause to write collating elements correctly.
189         * posix/Makefile (tests): Add bug-regex5.
190         * posix/bug-regex5.c: New file.
192 2001-08-09  Ulrich Drepper  <drepper@redhat.com>
194         * locale/lc-time.c (_nl_parse_alt_digit): New function.
195         * locale/localeinfo.h: Add prototype for it.
196         * time/strptime.c (get_alt_number): Use _nl_parse_alt_digit to get
197         the value.  Correct computation of hour for %OI.  If no %EC given
198         but %Ey use numeric formular.
200         * dlfcn/Makefile (tststatic-ENV): Also add $(common-objpfx)elf for
201         ld.so.
203         * time/tst-strptime.c: Add tests in different locales.
204         * time/Makefile (tst-strptime-ENV): Define.
206 2001-08-09  Jakub Jelinek  <jakub@redhat.com>
208         * catgets/catgets.c (catclose): Be liberal about catalog_desc in
209         catclose too.
211 2001-08-09  Ulrich Drepper  <drepper@redhat.com>
213         * time/strptime.c (strptime_internal): Add handling of year +
214         %U/%W week + week day.
215         * time/tst-strptime.c: Add test case for %U and %W handling.
217         * stdio-common/vfscanf.c: Fix reading of wide chars and strings if
218         not COMPILE_WSCANF.
220         * libio/vswprintf.c (_IO_vswprintf): Fix return value handling
221         which is different from snprintf.
222         * libio/tst_swprintf.c: Add tests for too small output buffer.
224         * stdio-common/vfscanf.c: Fix handling of %[] for COMPILE_WSCANF.
225         * libio/Makefile (tests): Add tst-swscanf.
226         * libio/tst-swscanf.c: New file.
228 2001-08-09  Jakub Jelinek  <jakub@redhat.com>
230         * posix/globtest.sh: Robustify tilde tests.
232 2001-08-09  Andreas Jaeger  <aj@suse.de>
234         * locale/programs/ld-ctype.c (DEFAULT): Fix expression.
235         (EMPTY): New.
236         (wctype_table_finalize): Use it.
237         (find_idx): Likewise.
238         (wctype_table_get): Likewise.
240         * configure.in: Add check for GCC 3.x.
242 2001-08-09  Ulrich Drepper  <drepper@redhat.com>
244         * libio/wfileops.c (_IO_wfile_seekoff): Don't even try to handle
245         seeking with backup buffer present.
246         Correct determining of internal buffer position.
247         Reset also wide buffers if we reset the internal buffers.
248         * libio/iofwide.c (_IO_fwide): Always determine file offset for wide
249         streams.
250         * libio/ioseekoff.c: Catch one unimplemented case.
251         * libio/ftello.c: Don't abort if the wide stream has backup buffer.
252         * libio/ftello64.c: Likewise.
253         * libio/iofgetpos.c: Likewise.
254         * libio/iofgetpos64.c: Likewise.
255         * libio/ftell.c: Likewise.
256         * libio/Makefile (tests): Add tst-ungetwc2.
257         * libio/tst-ungetwc2.c: New file.
259 2001-08-08  Ulrich Drepper  <drepper@redhat.com>
261         * locale/elem-hash.h (elem_hash): Correct stupid mistake and
262         create real hash values now.
263         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
265         * libio/iofgetpos.c (_IO_new_fgetpos): Correct a few problems in
266         the handling of wide streams.
268         * libio/ioungetwc.c (ungetwc): Orient stream first.
269         * libio/Makefile (tests): Add tst-ungetwc1.
270         * libio/tst-ungetwc1.c: New file.
272         * libio/wfileops.c (_IO_wfile_underflow): Remove incorrect test
273         for possible conversion using __codecvt_do_in.
274         * libio/Makefile (tests): Add tst-fgetws.
275         * libio/tst-fgetws.c: New file.
277         * libio/iofgetws.c: Use _IO_ferror_unlocked macros instead of
278         coding the test here.
280         * catgets/open_catalog.c: Rewrite code to assume that the function
281         is called at catopen time and not delayed in catgets.
282         * catgets/catgets.c (catopen): Call __open_catalog and fail if that
283         function failed.
284         (catgets): Remove code for delayed opening of catalog.
285         * catgets/catgetsinfo.h: Remove now unnecessary information from
286         struct catalog_info.  Change __open_catalog prototype.
287         * catgets/gencat.c: Adjust __open_catalog call.
288         * catgets/test-gencat.c: Stop program if catopen failed.
290         * locale/C-monetary.c (_nl_C_LC_MONETARY): Provide correct value
291         for CRNCYSTR.
293         * locale/programs/ld-messages.c (messages_finish): Provide POSIX
294         locale compliant default values for fields without definition.
295         * locale/programs/ld-time.c (time_finish): Likewise.
296         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
298 2001-08-08  Andreas Jaeger  <aj@suse.de>
300         * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Fix test for
301         infinity.
303 2001-08-07  Ulrich Drepper  <drepper@redhat.com>
305         * sysdeps/ia64/memusage.h (GETTIME): Define using hp-timing.h
306         functionality.
308         * sysdeps/ia64/hp-timing.h (HP_TIMING_NOW): Fix comment.
310 2001-08-07  Jakub Jelinek  <jakub@redhat.com>
312         * malloc/memusage.c (initialized): New variable.
313         (init): If not yet initialized, call me().
314         (me): Do all dlsym calls here.
315         (malloc, realloc, calloc, free): If not yet initialized,
316         call me().  If in the middle of initializing, return NULL or
317         do nothing.
319 2001-08-07  Jakub Jelinek  <jakub@redhat.com>
321         * sysdeps/unix/seekdir.c (seekdir): Set dirp->filepos.
323         * dirent/tst-seekdir.c (main): Check whether telldir right after
324         seekdir returns 2nd argument given to seekdir.
326 2001-08-07  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
328         * dlfcn/Makefile (tststatic-ENV): Add $(common-objpfx) to
329         LD_LIBRARY_PATH.
331 2001-08-07  Andreas Jaeger  <aj@suse.de>
332             Andreas Schwab  <schwab@suse.de>
333             Bruno Haible  <haible@clisp.cons.org>
335         * locale/programs/3level.h (EMPTY): New macro.
336         (*_get, *_add, *_iterate, *_finalize): Use it instead of ~(uint32_t) 0.
338 2001-08-08  GOTO Masanori  <gotom@debian.or.jp>
340         * locale/iso-3166.def: Updates from latest official list.
342 2001-08-07  Andreas Jaeger  <aj@suse.de>
344         * stdlib/tst-strtod.c: Disable HUGE_VAL tests for older GCCs.
346         * iconv/gconv_charset.h (upstr): Add unused attribute to avoid warning.
348         * libio/iopopen.c (_IO_new_proc_open): Fix typos, it's _IO_MTSAFE_IO.
349         (_IO_new_proc_close): Likewise.
350         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
351         (_IO_old_proc_close): Likewise.
353 2001-08-06  Ulrich Drepper  <drepper@redhat.com>
355         * manual/locale.texi: Add documentation for rpmatch.
356         Patch by Jochen Hein <jochen@jochen.org>.
358 2001-08-06  Jakub Jelinek  <jakub@redhat.com>
360         * stdlib/strtod.c (STRTOF): Skip whole infinity, not just inf.
361         * stdio-common/vfscanf.c (__vfscanf): +- can be followed by i in +-Inf.
363         * stdlib/tst-strtod.c (tests): Add Inf tests.
364         * stdio-common/tstscanf.c (main): Add tests for +- before Inf.
366 2001-08-06  Ulrich Drepper  <drepper@redhat.com>
368         * locale/weightwc.h (findidx): Change type of i to int32_t.
370         * wcsmbs/wcsmbs-tst1.c (main): Avoid warning.  Pretty printing.
372 2001-08-05  Roland McGrath  <roland@frob.com>
374         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h (struct dirent): Rename member
375         d_fileno to d_ino.
376         (struct dirent64): Likewise.
377         (d_fileno): Define as macro.
379 2001-08-04  Roland McGrath  <roland@frob.com>
381         * sysdeps/mach/hurd/getrusage.c: Use TASK_EVENTS_INFO if implemented
382         by the microkernel (which it's not).
384 2001-08-04  Ulrich Drepper  <drepper@redhat.com>
386         * libio/fileops.c (_IO_new_file_underflow): Don't call
387         _IO_flush_all_linebuffered.  This isn't required in any standard.
388         Instead flush only stdout.
389         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
391 2001-08-04  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
393         * dlfcn/Makefile: Add rules for new testcase tststatic.
394         * dlfcn/tststatic.c: New file.
395         * dlfcn/modstatic.c: New file.
397 2001-08-04  Ulrich Drepper  <drepper@redhat.com>
399         * manual/summary.awk: Fix value used for FF.
401         * elf/rtld.c: Correct use of __builtin_expect.
403         * elf/dl-close.c: Remove commented-out code.
405         * libio/genops.c (_IO_unbuffer_write): Force streams in narrow
406         orientation so that conversion modules aren't used anymore.
407         * malloc/set-freeres.c: Call _IO_cleanup before running subfreeres
408         functions to avoid using wide streams afterwards.
410         * iconvdata/Makefile: Add rules to build GEORGIAN-PS and
411         GEORGIAN-ACADEMY.
412         * iconvdata/georgian-ps.c: New file.
413         * iconvdata/georgian-academy.c: New file.
414         * iconvdata/gconv-modules: Add entries for GEORGIAN-PS and
415         GEORGIAN-ACADEMY.
416         * iconvdata/tst-tables.sh: Add GEORGIAN-PS and GEORGIAN-ACADEMY.
418 2001-08-03  Ulrich Drepper  <drepper@redhat.com>
420         * locale/programs/ld-collate (insert_value): If symbol in order
421         definition does not exist create it as a sequence without
422         associated multibyte and wide representation.
424 2001-07-30  Roland McGrath  <roland@frob.com>
426         * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): Diddle
427         syntax so both function and pointer-to-function arguments work right.
429 2001-08-03  Tom Rix  <trix@redhat.com>
431         * config.h.in: Add HAVE_XCOFF for AIX.
432         * configure.in: Add --with-xcoff option.
433         * include/libc-symbols.h: Disable the .stabs macros.
435 2001-08-03  Ulrich Drepper  <drepper@redhat.com>
437         * iconvdata/8bit-gap.c: Correctly use __builtin_expect.
438         * iconvdata/ansi_x3.110.c: Likewise.
439         * iconvdata/big5.c: Likewise.
440         * iconvdata/euc-cn.c: Likewise.
441         * iconvdata/euc-jp.c: Likewise.
442         * iconvdata/euc-kr.c: Likewise.
443         * iconvdata/gb18030.c: Likewise.
444         * iconvdata/gbbig5.c: Likewise.
445         * iconvdata/gbgbk.c: Likewise.
446         * iconvdata/gbk.c: Likewise.
447         * iconvdata/ibm930.c: Likewise.
448         * iconvdata/ibm932.c: Likewise.
449         * iconvdata/ibm933.c: Likewise.
450         * iconvdata/ibm935.c: Likewise.
451         * iconvdata/ibm939.c: Likewise.
452         * iconvdata/ibm943.c: Likewise.
453         * iconvdata/iso-2022-cn.c: Likewise.
454         * iconvdata/iso-2022-kr.c: Likewise.
455         * iconvdata/iso646.c: Likewise.
456         * iconvdata/iso8859-1.c: Likewise.
457         * iconvdata/iso_6937-2.c: Likewise.
458         * iconvdata/iso_6937.c: Likewise.
459         * iconvdata/johab.c: Likewise.
460         * iconvdata/sjis.c: Likewise.
461         * iconvdata/t.61.c: Likewise.
462         * iconvdata/uhc.c: Likewise.
463         * iconvdata/unicode.c: Likewise.
464         * iconvdata/utf-16.c: Likewise.
465         * iconv/gconv_simple.c: Likewise.   Convert assert() in real error
466         handling.
468         * iconvdata/Makefile: Add rules to build KOI8-T module.
469         * iconvdata/koi8-t.c: New file.
470         * iconvdata/gconv-modules: Add entries for KOI8-T.
471         * iconvdata/tst-tables.sh: Add KOI8-T.
473         * locale/iso-639.def: Correct Javanese 2 letter code.  Add Tonga.
474         Add Tigrinya.
476 2001-08-02  Ulrich Drepper  <drepper@redhat.com>
478         * locale/programs/ld-collate.c (collate_read): Handle collating-element
479         and reorder_after following copy statement correctly.
481 2001-08-02  Andreas Jaeger  <aj@suse.de>
483         * libio/bits/stdio.h (printf): Remove printf optimization since
484         GCC 3.0 can optimize printf.
486 2001-08-02  Ulrich Weigand  <uweigand@de.ibm.com>
488         * sysdeps/s390/s390-32/memcpy.S: Fixed incorrect use of
489         mvcle introduced by 2001-07-12 change.
490         * sysdeps/s390/s390-64/memcpy.S: Likewise.
492 2001-07-31  Ulrich Drepper  <drepper@redhat.com>
494         * sysdeps/unix/sysv/linux/i386/getcontext.S: Don't touch the %gs
495         register so that contexts can be used in different threads.
496         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
497         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
499         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Correct
500         test for cmsg struct size.
501         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Likewise.
503         * sysdeps/unix/sysv/linux/i386/makecontext.S: Remove unnecessary
504         initializations.
506         * libio/iopopen.c: Add lock for proc_file_chain access.
507         * libio/oldiopopen.c: Add lock for old_proc_file_chain access.
508         Reported by Padraig Brady <Padraig@linux.ie>.
510 2001-07-31  Andreas Jaeger  <aj@suse.de>
512         * sysdeps/unix/sysv/linux/sparc/bits/poll.h (NPOLLFILE): Removed.
513         * sysdeps/unix/sysv/linux/mips/bits/poll.h (NPOLLFILE): Removed.
514         * sysdeps/unix/sysv/linux/m68k/bits/poll.h (NPOLLFILE): Removed.
515         * sysdeps/unix/sysv/linux/bits/poll.h (NPOLLFILE): Removed.
516         * sysdeps/generic/bits/poll.h (NPOLLFILE): Removed.
518         * libio/genops.c (flush_cleanup): Guard list_all_lock to allow
519         compilation without threads.
521 2001-07-30  Ulrich Drepper  <drepper@redhat.com>
523         * po/fr.po: Update from translation team.
525 2001-07-30  Andreas Jaeger  <aj@suse.de>
527         * sysdeps/ieee754/ldbl-128/e_atanhl.c: New file, contributed by
528         Stephen L Moshier.
530         * posix/regex.c: Declare wcs functions only if compiling with
531         MBS_SUPPORT.
532         Don't use #elif for traditional C.
534 2001-07-29  Mark Kettenis  <kettenis@gnu.org>
536         * sysdeps/mach/hurd/recvmsg.c: New file.
537         * sysdeps/mach/hurd/sendmsg.c: New file.
539 2001-07-27  Ulrich Drepper  <drepper@redhat.com>
541         * version.h (VERSION): Bump to 2.2.4.
543         * sysdeps/mips/Dist: Remove non-existing files.
544         * sysdeps/mips/mips64/Dist: Likewise.
545         * sysdeps/mips/mipsel/Dist: Removed.
546         * iconv/Makefile (distribute): Add strtab.c and iconvconfig.h.
547         * sysdeps/generic/Dist: Add bits/link.h.
548         * sysdeps/unix/sysv/linux/m68k/Dist: Add sys/procfs.h.
549         * sysdeps/unix/sysv/aix/Dist: Add dl-support.c, dl-addr.c, and
550         dl-error.c.
551         * sysdeps/ia64/Dist: Add bits/link.h.
553         * libio/vasprintf.c (_IO_vasprintf): Don't copy uninitialized byte
554         from stream buffer to result buffer.
555         Reported by Michael Meeks <michael@ximian.com>.
557         * libio/Makefile: Add rules to check output of tst-fopenloc and
558         for memory leaks.
559         * libio/tst-fopenloc.c: New file.
561         * iconv/gconv_cache.c (__gconv_compare_alias_cache): New function.
562         * iconv/gconv_int.h: Add prototype for __gconv_compare_alias_cache.
563         * iconv/gconv_charset.h: Replace __gconv_lookup_alias prototype with
564         __gconv_compare_alias prototype.
565         * iconv/gconv_db.c (__gconv_lookup_alias): Removed.
566         (__gconv_compare_alias): New function.
567         * locale/findlocale.c (_nl_find_locale): Use __gconv_compare_alias
568         instead of calling __gconv_lookup_alias twice and compare here.
570 2001-07-26  Mark Kettenis  <kettenis@gnu.org>
572         * hurd/hurdsig.c (_hurd_internal_post_signal): Fix handling of
573         SA_RESETHAND and SA_NODEFER.
575 2001-07-27  Ulrich Drepper  <drepper@redhat.com>
577         * libio/fileops.c (_IO_new_file_fopen): Correctly locate ccs=
578         substring.  Don't handle ccs= if no descriptor was allocated.
579         Normalize codeset name before calling __wcsmbs_named_conv.
580         Initialize transliteration elements.  Free step data structure.
581         * libio/iofclose.c (_IO_new_fclose): Correct freeing of the step data.
582         * libio/iofwide.c (__libio_translit): Renamed from libio_translit
583         and made public.  Various little cleanup changes.
584         * wcsmbs/wcsmbsload.h (struct gconv_fcts): Add towc_nsteps and
585         tomb_nsteps member.
586         * wcsmbs/wcsmbsload.c: Add some casts to avoid warnings.
587         (__wcsmbs_gconv_fcts): Initialize towc_nsteps and tomb_nsteps member.
588         (getfct): Take additional parameter with pointer to variable where the
589         number of steps is stored in.  Disable code which allows to use more
590         than one step for now.  Adjust all callers.
591         (free_mem): New function.  Frees data associated with currently
592         selected converters.
594         * malloc/mtrace.pl: Extract addresses from DSOs.
596 2001-07-26  Ulrich Drepper  <drepper@redhat.com>
598         * malloc/mcheck.c (checkhdr): Disable mcheck before reporting an
599         error.  Don't run any tests if mcheck is disabled.
601         * elf/dl-support.c (_dl_important_hwcaps): Avoid using malloc
602         early in the program.
604 2001-07-27  Andreas Jaeger  <aj@suse.de>
606         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_GPRS): Fix
607         value following change from 2001-05-30.
609         * sysdeps/s390/s390-64/bits/setjmp.h (_JMPBUF_UNWINDS): Follow
610         rename change from 2001-07-12 for __jmp_buf.
611         Patches by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>.
613 2001-07-26  Roland McGrath  <roland@frob.com>
615         * sysdeps/generic/bits/termios.h (EXTA, EXTB): Make these conditional
616         on __USE_MISC rather than __USE_BSD.
617         (B57600, B115200, B230400, B460800, B500000, B576000, B921600,
618         B1000000, B1152000, B1500000, B2000000, B2500000, B3000000,
619         B3500000, B4000000): New macros.
620         * sysdeps/generic/tcsetattr.c (bad_speed): Accept those values.
621         * termios/cfsetspeed.c (speeds): Likewise.
623 2001-07-26  kaz Kojima  <kkojima@rr.iij4u.or.jp>
625         * sysdeps/sh/dl-machine.h (elf_machine_load_address): Don't use
626         multi-line strings.
627         (FUN_ADDR, FGR_SAVE, ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
628         (elf_machine_rela): Handle unaligned relocation.
630 2001-06-07  David Mosberger  <davidm@hpl.hp.com>
632         * sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Update call to
633         __ia64_make_fptr() for new interface.
634         (_dl_function_address): Remove.
636         * sysdeps/ia64/dl-machine.h (IA64_BOOT_FPTR_TABLE_LEN): Rename
637         from IA64_BOOT_FPTR_SIZE and reduce its value from 256 to 200.
638         (struct ia64_fdesc): Rename from struct ia64_fptr and drop "next"
639         pointer.  Rename member "func" to "ip".
640         (struct ia64_fdesc_table): New type.
641         (__ia64_make_fptr): Change prototype.
642         (__ia64_init_bootstrap_fdesc_table): New function.
643         (ELF_MACHINE_BEFORE_RTLD_RELOC): New macro.
644         (__boot_ldso_fptr): Removed.
645         (__fptr_next): Removed.
646         (__fptr_root): Removed.
647         (__fptr_count): Removed.
648         (TRAMPOLINE_TEMPLATE): Fix typo in comment.  Don't use multi-line
649         strings to avoid warning from gcc3.
650         (RTLD_START): Don't use multi-line strings.
651         (ELF_MACHINE_START_ADDRESS): Use DL_STATIC_FUNCTION_ADDRESS.
652         (elf_machine_fixup_plt): Update the code entry point in the
653         function descriptor through a "volatile" pointer to ensure proper
654         write ordering.
655         (elf_machine_rela): Simplify handling of FPTR relocs: always call
656         __ia64_make_fptr().
658         * sysdeps/ia64/dl-lookupcfg.h (DL_AUTO_FUNCTION_ADDRESS): New macro.
659         (DL_STATIC_FUNCTION_ADDRESS): Likewise.
660         (DL_DT_INIT_ADDRESS): Use DL_AUTO_FUNCTION_ADDRESS.
661         (DL_DT_FINI_ADDRESS): Likewise.
663         * sysdeps/ia64/dl-fptr.c: Rewrite for better scalability and to
664         avoid deadlocks.
666         * include/link.h: Add member machine specific "l_mach" member to
667         link_map.
669         * sysdeps/generic/bits/link.h: New file.
670         * sysdeps/ia64/bits/link.h: Likewise.
672         * elf/rtld.c (_dl_start): Fix typo in comment.
673         (_dl_start_final): Copy new "l_mach" member from temporary to
674         final bootstrap map.
676 2001-07-25  Ulrich Drepper  <drepper@redhat.com>
678         * csu/gmon-start.c: Use ENTRY_POINT_DECL if defined instead of a
679         declaration using ENTRY_POINT.
680         * sysdeps/ia64/elf/entry.h (ENTRY_POINT_DECL): New definition.
682 2001-07-25  H.J. Lu  <hjl@gnu.org>
684         * csu/gmon-start.c: Include <entry.h>
685         (_start): Replaced with ENTRY_POINT.
687 2001-07-25  Mark Kettenis  <kettenis@gnu.org>
689         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: New file.
691 2001-07-25  Ulrich Drepper  <drepper@redhat.com>
693         * iconv/iconvconfig.c (main): Don't write an output file if we
694         have seen an error.
695         (write_output): Don't overwrite old cache file until we know we
696         have a new one.
698         * iconv/Makefile (install-sbin): Add iconvconfig.
700 2001-07-25  Jakub Jelinek  <jakub@redhat.com>
702         * elf/Makefile (routines): Add dl-iteratephdr and
703         dl-iteratephdr-static.
704         (elide-routines.os): Add dl-iteratephdr-static.
705         * elf/dl-iteratephdr.c: New file.
706         * elf/link.h (struct dl_phdr_info): New definition.
707         (dl_iterate_phdr): New prototype.
708         * elf/Versions (dl_iterate_phdr): Add at GLIBC_2.2.4.
709         * include/link.h (struct dl_phdr_info): New definition.
710         (dl_iterate_phdr, __dl_iterate_phdr): New prototypes.
711         * sysdeps/generic/dl-iteratephdr-static.c: New file.
712         * sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: New file.
714 2001-07-24  Igor Khavkine  <i_khavki@alcor.concordia.ca>
716         * hurd/hurdsig.c (_hurdsig_init): Fix incorrect initialization
717         of pending signals.
719 2001-06-22  Jakub Jelinek  <jakub@redhat.com>
721         * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
722         gaps below main executable.
724 2001-07-22  Bruno Haible  <haible@clisp.cons.org>
726         * intl/libintl.h (ngettext, dngettext, dcngettext): Use both msgid1
727         and msgid2 for printf format argument checking.
729 2001-07-24  Ulrich Drepper  <drepper@redhat.com>
731         * iconv/gconv_cache.c (find_module): Don't allocate room for the
732         filename.  Use alloca, we don't need it beyond this function.
733         (__gconv_release_cache): New function.
734         * iconv/gconv_db.c (__gconv_close_transform): Call
735         __gconv_release_cache after the steps are handled.
736         * iconv/gconv_dl.c (__gconv_find_shlib): Allocate file name in the
737         record as well.
738         * iconv/gconv_int.h: Add prototype for __gconv_release_cache.
740         * iconv/gconv_cache.c (__gconv_lookup_cache): Catch one more
741         boundary case and reject it.
743 2001-07-24  Andreas Jaeger  <aj@suse.de>
745         * manual/examples/longopt.c (main): Fix which options take arguments.
747 2001-07-24  Ulrich Drepper  <drepper@redhat.com>
749         * iconvdata/Makefile: Add dependencies for tst-loading test.
751 2001-07-24  Andreas Jaeger  <aj@suse.de>
753         * iconv/iconvconfig.c (name_insert): Make static to avoid warning.
755 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
757         * locale/programs/locale.c (write_locales): Disable implicit
758         locking for the stream.  Use feof_unlocked instead of feof.
760         * sysdeps/unix/sysv/linux/i386/makecontext.S: Initialize %fs, %gs,
761         and floating-point status as well.
763         * libio/iofclose.c (_IO_new_fclose): Unlink descriptor first to
764         avoid deadlock.
765         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
766         * libio/genops.c (_IO_un_link): Get stream lock since it's not
767         always done in the caller.
768         (_IO_link_in): Likewise.
770         * libio/genops.c (_IO_list_all_stamp): New variable.
771         (_IO_un_link): Bump _IO_list_all_stamp after removing from list.
772         (_IO_link): Likewise for insertion.
773         (flush_cleanup): New function.
774         (_IO_flush_all): Get list_all_lock and all individual locks for the
775         streams.  Detect and handle changes to the _IO_list_all list.
776         (_IO_flush_all_linebuffered): Likewise.
777         * sysdeps/generic/bits/stdio-lock.h: Define
778         _IO_cleanup_region_start_noarg.
779         * sysdeps/mach/hurd/bits/stdio-lock.c: Likewise.
781         * stdio-common/printf.h: Fix typo in comment.
783         * iconv/gconv_cache.c (__gconv_lookup_cache): Handle encoding from
784         and to INTERNAL.
785         * iconv/iconvconfig.c: Create a special record for the INTERNAL
786         encoding name in the output file.
788 2001-07-23  Jakub Jelinek  <jakub@redhat.com>
790         * sunrpc/svc_tcp.c (svctcp_rendezvous_abort): New function.
791         (svctcp_rendezvous_op): Use it.
792         * sunrpc/svc_unix.c (svcunix_rendezvous_abort): New function.
793         (svcunix_rendezvous_op): Use it.
795 2001-07-23  Andreas Schwab  <schwab@suse.de>
797         * math/Makefile (CPPFLAGS-test-ifloat.c, CPPFLAGS-test-idouble.c,
798         CPPFLAGS-test-ildoubl.c): Renamed from CFLAGS-*.
799         (math-CPPFLAGS): Set this instead of CPPFLAGS.
801 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
803         * elf/elf.h: Add more definitions from Sun's latest version.
805 2001-07-23  Stephen L Moshier  <moshier@mediaone.net>
807         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Return proper
808         sign for 0 input and set divide by zero exception for -1 input.
809         Return argument if NaN or infinity.
811 2001-07-23  Andreas Jaeger  <aj@suse.de>
813         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add some deltas.
815 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
817         * iconv/gconv_cache.c (__gconv_lookup_cache): Select correct
818         module for conversion direction.
820 2001-07-23  Stephen L Moshier  <moshier@mediaone.net>
822         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Return proper
823         sign for 0 input.  Return NaN with no exception for NaN input.
825 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
827         * iconv/gconv_builtin.h: ISO-106464/UTF-8/ transformation must
828         really be an alias.
830 2001-07-23  Andreas Jaeger  <aj@suse.de>
832         * iconv/iconvconfig.c: Include <sys/cdefs.h> and use
833         __attribute_malloc__ for older GCC versions.
834         * iconv/strtab.c: Likewise.
835         Add prototypes to avoid warnings.
837 2001-07-22  Roland McGrath  <roland@frob.com>
839         * hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND
840         and SA_NODEFER options.  Spurred to action by Igor Khavkine.
842         * sysdeps/generic/bits/sigaction.h [__USE_UNIX98 || __USE_MISC]
843         (SA_NODEFER, SA_RESETHAND): New macros, same bit values as FreeBSD.
844         [__USE_MISC] (SA_INTERRUPT): New macro, value 0.
845         [__USE_MISC] (SA_NOMASK, SA_ONESHOT, SA_STACK): New macros, aliases
846         as in other sysdeps versions of this file.
848         * sysdeps/generic/bits/sigaction.h (struct sigaction): Use a union
849         and provide sa_handler and sa_sigaction member names as macros, as
850         done in other sysdeps versions of this file.
851         Suggested by Igor Khavkine <i_khavki@alcor.concordia.ca>.
853 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
855         * posix/regex.c: Revamp memory allocation for WCHAR functions to
856         not use too much stack.
858 2001-07-22  Ulrich Drepper  <drepper@redhat.com>
860         * iconv/iconvconfig.c (write_output): Update comment explaining
861         output format.
863         * elf/dl-load.c (_dl_dst_count): In SUID binaries expand $ORIGIN
864         if it is alone.
865         (_dl_dst_substitute): Likewise.
867         * iconv/iconvconfig.c: Remove --verbose option.  Comment out
868         mcheck_verbose call.
870         * iconv/strtab.c (morememory): Fix little memory handling problem.
872 2001-07-22  Andreas Schwab  <schwab@suse.de>
874         * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don't
875         mark asm input operand as clobbered.
876         * sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise.
878 2001-07-22  Ulrich Drepper  <drepper@redhat.com>
880         * iconv/gconv_builtin.c (struct builtin_map): Remove init and end
881         elements.
882         (BUILTIN_TRANSFORMATION): Remove Init and End parameters.
883         (__gconv_get_builtin_trans): Initialize __init_fct and __end_fct to
884         NULL.
885         * iconv/gconv_builtin.h: Remove NULL parameters for Init and End in
886         all BUILTIN_TRANSFORMATION calls.
887         * iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Remove Init and End
888         parameters.
889         * iconv/gconv_simple.c: Likewise.
890         * iconv/gconv_db.c (gen_steps): Internal converters don't have
891         initializers, move the code accordingly.
893         * iconv/gconv_conf.c (__gconv_read_conf): Don't read configuration
894         file if STATIC_GCONV is defined.
896         * iconv/gconv_conf.c (__gconv_path_envvar): New global variable.
897         (__gconv_get_path): Use it instead of call getenv.
898         (__gconv_read_conf): First see whether cache can be used.  If yes,
899         don't do any work here.
900         * iconv/gconv_db.c (__gconv_release_step): Renamed from release_step
901         and exported.  Change callers.
902         (__gconv_find_transform): First call __gconv_lookup_cache and only
903         continue if it signals no cache available.  Remove some unnecessary
904         tests.
905         * iconv/gconv_int.h: Declare __gconv_path_envvar, __gconv_lookup_cache,
906         __gconv_release_step, and __gconv_loaded_cache.
907         * iconv/gconv_cache.c: New file.
908         * iconv/iconvconfig.c: New file.
909         * iconv/iconvconfig.h: New file.
910         * iconv/strtab.c: New file.
911         * iconv/Makefile: Add rules to build new files and programs.
913 2001-07-20  Roland McGrath  <roland@frob.com>
915         * sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type
916         from `dev_t' (st_rdev value) `const struct stat *'.
917         * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Likewise.
918         * libio/filedoalloc.c (_IO_file_doallocate): Change caller.
919         * sysdeps/mach/hurd/device-nrs.h: New file.
921         * libio/stdio_ext.h: Moved to ...
922         * stdio-common/stdio_ext.h: ... here.
923         * libio/Makefile (headers): Move stdio_ext.h from here ...
924         * stdio-common/Makefile (headers): ... to here.
925         * include/stdio_ext.h: New file.
926         * stdio/Makefile (routines): Add the stdio_ext.h functions here.
927         * stdio/Versions (GLIBC_2.2.4): Export the stdio_ext.h functions.
928         * stdio/__flbf.c: New file.
929         * stdio/__fbufsize.c: New file.
930         * stdio/__fpending.c: New file.
931         * stdio/__fpurge.c: New file.
932         * stdio/__freadable.c: New file.
933         * stdio/__freading.c: New file.
934         * stdio/__fsetlocking.c: New file.
935         * stdio/__fwritable.c: New file.
936         * stdio/__fwriting.c: New file.
938 2001-07-20  Ulrich Drepper  <drepper@redhat.com>
939             Andreas Jaeger  <aj@suse.de>
941         * elf/ldconfig.c (search_dir): Avoid use of uninitialized memory.
942         Add a few __builtin_expect to mark unlikely error cases.
944 2001-07-20  Andreas Jaeger  <aj@suse.de>
946         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Synch with kernel.
947         Patch by Daniel Jacobowitz <dan@debian.org>.
949 2001-07-19  Ulrich Drepper  <drepper@redhat.com>
951         * intl/localealias.c: Remove unnecessary prototype.
953         * Makefile: Add html goal.
954         * manual/Makefile: Likewise.
956 2001-07-18  Ulrich Drepper  <drepper@redhat.com>
958         * libio/filedoalloc.c (_IO_file_doallocate): A few more minor
959         cleanups and improvements.
961 2001-07-18  Andreas Schwab  <schwab@suse.de>
963         * posix/regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
964         underscore character.
966 2001-07-18  Jakub Jelinek  <jakub@redhat.com>
968         * malloc/malloc (new_heap): Don't call munmap for zero length.
970 2001-07-18  Ulrich Drepper  <drepper@redhat.com>
972         * libio/filedoalloc.c (_IO_file_doallocate): Use DEV_TTY_P if
973         available to determine whether descriptor is for tty before
974         calling isatty.
976         * sysdeps/unix/sysv/linux/device-nrs.h: Define DEV_TTY_P.
977         * sysdeps/generic/device-nrs.h: Likewise.
979 2001-07-18  Andreas Jaeger  <aj@suse.de>
981         * time/Makefile (tst-getdate-ENV): Add TZDIR to environment.
983         * time/Depend: New, add dependency on timezone.
985         * time/tst-getdate.c: Add testcase for bug report by Hendrik
986         Uhlmann <HUhlmann@stn-atlas.de>.
987         * time/datemsk: Likewise.
989 2001-07-17  Ulrich Drepper  <drepper@redhat.com>
991         * elf/ldconfig.c (parse_conf): Disable implicit locking for the
992         stream.  Remove some unnecessary initializers.
994 2001-07-17  Andreas Jaeger  <aj@suse.de>
996         * elf/ldconfig.c: Add new variable hwcap_mask to honour LD_HWCAP_MASK.
997         (is_hwcap_platform): Use it.
998         (set_hwcap): New function to set hwcap_mask.
999         (main): Call set_hwcap.
1001 2001-07-17  Jakub Jelinek  <jakub@redhat.com>
1003         * time/getdate.c (__getdate_r): Initialize tm_isdst, tm_gmtoff and
1004         tm_zone before calling strptime.
1006 2001-07-17  Andreas Schwab  <schwab@suse.de>
1008         * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Fix last change.
1010 2001-07-17  Ulrich Drepper  <drepper@redhat.com>
1012         * inet/rcmd.c (iruserfopen): Disable implicit locking for the stream.
1013         * inet/ruserpass.c (ruserpass): Likewise.
1014         * nss/nsswitch.c (nss_parse_file): Likewise.
1015         * resolv/res_hconf.c (_res_hconf_init): Likewise.
1016         * resolv/res_init.c (__res_vinit): Likewise.
1017         * gmon/bb_exit_func.c (__bb_exit_func): Likewise.
1018         * misc/getpass.c (getpass): Likewise.
1019         * misc/getusershell.c (initshells): Likewise.
1020         * misc/getttyent.c (setttyent): Likewise.
1021         * misc/mntent_r.c (__setmntent): Likewise.
1022         * time/getdate.c (__getdate_r): Likewise.
1023         * time/tzfile.c (__tzfile_read): Likewise.
1024         * iconv/gconv_conf.c (read_conf_file): Likewise.
1025         * intl/localealias.c (read_alias_file): Disable implicit locking
1026         for the stream.  Use _unlocked functions for glibc.
1027         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Disable
1028         implicit locking for the stream.
1029         (__get_nprocs_conf): Likewise.
1030         (phys_pages_info): Likewise.
1032 2001-07-16  Ulrich Drepper  <drepper@redhat.com>
1034         * nscd/connections.c: Print messages caused by user application
1035         only if debug_level > 0.  Add little performance improvements.
1036         Use TEMP_FAILURE_RETRY around write calls.
1037         * nscd/grpcache.c: Likewise.
1038         * nscd/hstcache.c: Likewise.
1039         * nscd/pwdcache.c: Likewise.
1041 2001-07-13  H.J. Lu  <hjl@gnu.org>
1043         * sysdeps/mips/dl-machine.h (MAP_BASE_ADDR): Removed.
1044         (elf_machine_got_rel): Defined only if RTLD_BOOTSTRAP is not defined.
1045         (RESOLVE_GOTSYM): Rewrite to use RESOLVE.
1047         * sysdeps/mips/rtld-ldscript.in: Removed.
1048         * sysdeps/mips/rtld-parms: Likewise.
1049         * sysdeps/mips/mips64/rtld-parms: Likewise.
1050         * sysdeps/mips/mipsel/rtld-parms: Likewise.
1052 2001-07-16  Ulrich Drepper  <drepper@redhat.com>
1054         * catgets/test-gencat.sh: Use <<"EOF" instead of <<EOF to prevent
1055         substitution in here document.
1057 2001-07-16  Andreas Schwab  <schwab@suse.de>
1059         * sysdeps/posix/spawni.c: Fix typo when iterating over signal numbers.
1061 2001-07-16  Andreas Schwab  <schwab@suse.de>
1063         * math/libm-test.inc (check_float_internal): Fix sign bit test of
1064         infinities.
1066 2001-07-16  Jakub Jelinek  <jakub@redhat.com>
1068         * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Make it PIC friendly.
1070 2001-07-15  Ulrich Drepper  <drepper@redhat.com>
1072         * malloc/obstack.c: Define __attribute__ for non-gcc compilers.
1073         Patch by Jim Meyering <jim@meyering.net>.
1075 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1077         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder
1078         fields in the sigaction struct to match the definition in the kernel.
1080 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1082         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the
1083         test for ENOSYS.
1085 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1087         * sysdeps/s390/s390-32/bits/setjmp.h: Add leading underscores
1088         to the entries in the __jmp_buf structure.
1089         * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
1091 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1093         * sysdeps/s390/s390-32/bcopy.S: Use mvcle for big blocks
1094         (> 64K) and a mvc loop for small blocks.
1095         * sysdeps/s390/s390-32/memcpy.S: Likewise.
1096         * sysdeps/s390/s390-64/bcopy.S: Likewise.
1097         * sysdeps/s390/s390-64/memcpy.S: Likewise.
1099 2001-07-15  Andreas Schwab  <schwab@suse.de>
1101         * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: New file.
1102         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: New file.
1104         * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Check _dl_pagesize
1105         first.  Default to 4096, not EXEC_PAGESIZE.
1107         * iconv/loop.c (put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]:
1108         Fix index.
1110 2001-07-09  Andreas Jaeger  <aj@suse.de>
1112         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2.
1114         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM,
1115         HWCAP_I386_XMM2 to enum.
1117 2001-07-13  Andreas Jaeger  <aj@suse.de>
1119         * libio/fileops.c: Include unistd.h for lseek64 prototype.  Closes
1120         PR libc/2372.
1122 2001-07-12  Ulrich Drepper  <drepper@redhat.com>
1124         * Makeconfig: Add some more changes to handle AIX linker better.
1126 2001-07-12  H.J. Lu  <hjl@gnu.org>
1128         * sysdeps/generic/segfault.c: Include <errno.h>.
1130 2001-07-01  Andreas Jaeger  <aj@suse.de>
1132         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate
1133         sbrk.  Closes PR libc/2312.
1135 2001-07-01  Andreas Jaeger  <aj@suse.de>
1137         * sysdeps/generic/segfault.c (install_handler): Handle case that
1138         the output file does not exists.  Closes PR libc/2345.
1140 2001-07-11  Ulrich Drepper  <drepper@redhat.com>
1142         * intl/locale.alias: Use he language code for hebrew, not il
1143         [PR libc/2382].
1145 2001-07-11  Jakub Jelinek  <jakub@redhat.com>
1147         * iconv/gconv_int.h: Fix comment typo.
1149 2001-07-11  Igor Khavkine  <i_khavki@alcor.concordia.ca>
1151         * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.
1153 2001-07-07  Roland McGrath  <roland@frob.com>
1155         * hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0.
1157 2001-07-10  Stephen L Moshier  <moshier@mediaone.net>
1159         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl):  Fix
1160         backwards conditional in test for x == 1.0.
1162 2001-07-10  Andreas Jaeger  <aj@suse.de>
1164         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh
1165         (-0.7).
1167 2001-07-09  Andreas Jaeger  <aj@suse.de>
1169         * sysdeps/unix/sysv/linux/configure.in: Revert patch from
1170         2001-07-05 for sysconfdir handling.
1171         * config.make.in (sysconfdir): Likewise.
1172         * configure.in: Likewise.
1174         * configure.in: Always assign libc_cv_sysconfdir.
1176 2001-07-08  Ulrich Drepper  <drepper@redhat.com>
1178         * Makerules [AIX] (build-shlib-helper): Precede linker options
1179         with -Wl.
1181         * Makeconfig (config-LDFLAGS): Add ld.so only for ELF.
1183         * sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to
1184         what we define in <stdio.h>.
1186         * iconv/iconv_prog.c (main): Don't unconditionally define
1187         variables only use if _POSIX_MAPPED_FILES is defined.
1189         * sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type.
1190         * sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.
1192         * sysdeps/unix/sysv/aix/recv.c: New file.
1194         * sysdeps/unix/sysv/aix/recvfrom.c: Fix various types.
1196 2001-07-07  Ulrich Drepper  <drepper@redhat.com>
1198         * sysdeps/generic/recv.c: Fix return type.
1200         * sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo.
1202         * sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add
1203         declarations for asm functions.
1205         * include/libc-symbols.h: Provide more dummy definitions for the
1206         case if GNU ld isn't used.
1208         * libio/freopen.c: Include <stdlib.h> for free declaration.
1209         * libio/freopen64.c: Likewise.
1211         * sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
1213 2001-07-06  Jakub Jelinek  <jakub@redhat.com>
1215         * sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm
1216         explicitly into .text section.
1218 2001-04-16  Jes Sorensen  <jes@linuxcare.com>
1220         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
1221         Add 16 longwords reserved for future use to match changes in the
1222         kernel.
1224 2001-07-03  Jes Sorensen  <jes@trained-monkey.org>
1226         * sysdeps/ia64/strncpy.S: Call strnlen() when determining the
1227         string length rather than strlen(). Solves the performance problem
1228         of doing strlen on a 5MB string when strncpy was called with a
1229         length argument of 5 bytes.
1231 2001-07-02  Jakub Jelinek  <jakub@redhat.com>
1233         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1234         R_SPARC_UA16 and R_SPARC_UA32.
1235         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1237 2001-07-01  Stephen L Moshier  <moshier@mediaone.net>
1239         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl):
1240         acosh(x) = ln(2x) if x > 2^30.
1241         * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
1242         acosh(x) = ln(2x) if x > 2^54.
1244 2001-07-07  Mark Kettenis  <kettenis@gnu.org>
1246         * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal):
1247         Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and
1248         KERN_WRITE_PROTECTION_FAILURE.
1250 2001-07-07  Ulrich Drepper  <drepper@redhat.com>
1252         * posix/regex.c: Limit string length printed in debug messages to
1253         100 chars.
1255         * configure.in: Don't warn about versioning if not on ELF system.
1257 2001-07-07  Andreas Jaeger  <aj@suse.de>
1259         * sysdeps/*: Put files from GNU MP Library under LGPL v2.1.
1261 2001-07-06  Ulrich Drepper  <drepper@redhat.com>
1263         * po/gl.po: Update from translation team.
1265 2001-07-06  Andreas Jaeger  <aj@suse.de>
1267         * sysdeps/unix/sysv/linux/configure.in: Fix handling of
1268         sysconfdir.
1270         * manual/libc-texinfo.sh: Add note for the FDL.
1272         * manual/argp.texi (Argp Example 4): Fix texinfo warning.
1274         * manual/libc.texinfo: Regenerated.
1276         * manual/fdl.texi: Fix node.
1278         * config.make.in (sysconfdir): Replace correctly.
1279         Closes PR libc/2369, reported by Peter Simons <simons@cryp.to>.
1281         * sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no
1282         longer needed.
1284         * sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add
1285         case for alpha.
1286         Rework handling of missing linuxthreads add-on.
1288         * configure.in: Remove unused sysconfdir substitution.
1290         * manual/Makefile (texis): Add fdl.texi.
1291         * manual/fdl.texi: New.
1292         * manual/socket.texi (Host Names): Improve grammar, fix overflow hbox.
1293         * manual/libc.texinfo: Add fdl, update titlepage.
1294         Patches by Brian Youmans <3diff@gnu.org>.
1296         * sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for
1297         generated file.
1299 2001-07-06  Paul Eggert  <eggert@twinsun.com>
1301         * manual/argp.texi: Remove ignored LGPL copyright notice; it's
1302         not appropriate for documentation anyway.
1303         * manual/libc-texinfo.sh: "Library General Public License" ->
1304         "Lesser General Public License".
1305         * COPYING: Fix Y2k bug in sample copyright notices.
1306         * manual/lesser.texi: Renamed from manual/lgpl.texinfo,
1307         as fsf.org uses the name "lesser.texi".
1308         * manual/Makefile (texis): Follow rename.
1310 2001-07-06  Andreas Jaeger  <aj@suse.de>
1312         * All files under GPL/LGPL version 2: Place under LGPL version
1313         2.1.
1315 2001-07-05  Andreas Jaeger  <aj@suse.de>
1317         Synch with Linux 2.4.6:
1318         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
1319         New.
1320         (AF_BLUETOOTH): New.
1322         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
1323         (PF_BLUETOOTH): New.
1324         (AF_BLUETOOTH): New.
1326         * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
1327         (PF_BLUETOOTH): New.
1329         * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
1330         (PF_BLUETOOTH): New.
1332         * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
1333         (AF_BLUETOOTH): New.
1335         * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
1336         (AF_BLUETOOTH): New.
1338         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.
1340         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.
1342         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.
1344         * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
1346 2001-07-04  Roland McGrath  <roland@frob.com>
1348         * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
1349         wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
1350         rather than doing a mach_port_insert_right call first.
1352 2001-06-26  Roland McGrath  <roland@frob.com>
1354         * hurd/hurdioctl.c: Include <string.h> for memcpy decl.
1356 2001-07-03  Andreas Jaeger  <aj@suse.de>
1358         * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for
1359         crypt add-on.
1361 2001-07-01  Mark Kettenis  <kettenis@gnu.org>
1363         * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
1364         the Hurd pfinet server, using equivalent code from the Linux
1365         version in sysdeps/unix/sysv/linux/if_index.c. In detail:
1366         Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
1367         <hurd/pfinet.h>.  Don't include <sys/mman.h> and <hurd/fsys.h>
1368         anymore.
1369         (if_nametoindex): New implementation using SIOCGIFINDEX.
1370         (if_freenameindex): Straight copy of the Linux version.
1371         (if_nameindex): New implementation based on pfinet_siocgifconf and
1372         SIOCGIFINDEX.
1373         (if_indextoname): New implementation using SIOCGIFNAME.
1374         (map_interfaces): Function removed.
1375         From Marcus Brinkmann <marcus@gnu.org>.
1377 2001-06-30  Jakub Jelinek  <jakub@redhat.com>
1379         * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
1380         gaps below main executable.
1382 2001-06-19  Andreas Jaeger  <aj@suse.de>
1384         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
1385         Handle profiling.
1387 2001-06-29  Andreas Jaeger  <aj@suse.de>
1389         * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
1390         Patch by Stephen L Moshier <moshier@mediaone.net>.
1392 2001-06-28  Ulrich Drepper  <drepper@redhat.com>
1394         * manual/argp.texi: Tons of cleanups.
1395         Patch by Clifford U. Smith <cuel@swbell.net>.
1397 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
1399         * manual/users.texi (Setting Groups): Correct initgroups
1400         documentation.  Add documentation for getgrouplist.
1402 2001-06-28  H.J. Lu  <hjl@gnu.org>
1404         * locale/findlocale.c (locale_file_list): Renamed to ...
1405         (_nl_locale_file_list): This.  Make it extern.
1406         (free_mem): Move to ...
1407         * locale/setlocale.c (free_mem): Here.
1409 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
1411         * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
1412         (__libc_read): Don't call __pread.  Use _hurd_fd_read directly
1413         instead.
1414         * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
1415         (__libc_write): Don't call __pwrite.  Use _hurd_fd_write directly
1416         instead.
1418         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
1419         -Wl,-soname option lost in 2001-06-16 change.
1421 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
1423         * posix/tst-regex.c: Pass REG_NEWLINE to regcomp.  Add extra tests.
1424         Restrict printing of string in debug mode to 100 characters to make
1425         the output useful for long input texts.
1427         * posix/Makefile: Add rules to build and run tst-regex.
1429 2001-06-20  Isamu Hasegawa  <isamu@yamato.ibm.com>
1431         * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
1432         (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
1433         (wcs_re_match_2_internal): Check whether the wcs buffers need
1434         seting up or not, and skip seting up routin if not needed.
1436 2001-06-26  Isamu Hasegawa  <isamu@yamato.ibm.com>
1438         * posix/regex.c (count_mbs_length): Use binary search for optimization.
1440 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
1442         * posix/tst-regex.c: Fix several bugs.  Add more tests.
1444 2001-06-26  Mark Kettenis  <kettenis@gnu.org>
1446         * hurd/Makefile (user-interfaces): Add pfinet.
1447         * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
1448         <netinet/in.h>.
1449         (siocgifconf): New function.  Register it with HURD_HANDLE_IOCTL
1450         as the handler for SIOCGIFCONF.
1451         * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
1452         SIOCGIFFLAGS to be of IOC type ifreq_short.  Modify SIOCSIFMETRIC
1453         and SIOCGIFMETRIC to be of IOC type ifreq_int.  Add new macro
1454         definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
1455         SIOCGIFNAME.
1456         From Marcus Brunkmann <marcus@gnu.org>.
1458 2001-06-25  Ulrich Drepper  <drepper@redhat.com>
1460         * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
1461         and _IOT_ifreq_int.  Patch by Mark Kettenis <kettenis@wins.uva.nl>.
1463         * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
1464         _dl_catch_error calls.
1466 2001-06-22  Jakub Jelinek  <jakub@redhat.com>
1468         * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
1469         typos.
1471 2001-06-01  Wolfram Gloger  <wg@malloc.de>
1473         * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
1474         ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
1475         when malloc_atfork is in use.
1477 2001-06-22  Andreas Jaeger  <aj@suse.de>
1479         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
1480         to avoid warnings.
1482         * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
1483         variable.
1484         Add unused attributes to avoid warnings.
1486         * elf/reldep4mod4.c: Add prototype to avoid warning.
1487         * elf/reldep4mod2.c: Likewise.
1489         * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
1490         prototypes.
1492 2001-06-18  Roland McGrath  <roland@frob.com>
1494         * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
1496 2001-06-20  Alexandre Oliva  <aoliva@redhat.com>
1498         * sysdeps/unix/sysv/settimeofday.c: Include time.h.
1500 2001-06-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1502         * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
1504 2001-05-09  Michael Keezer  <mkeezer@redhat.com>
1506         * Makeconfig: Added AIX-ld support for DSO.
1507         * Makerules: Likewise.
1508         * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
1509         (defaultmod2.so): Likewise.
1510         * debug/Makefile: Conditionalize use of elf/ld.so.
1511         * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
1513         * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
1514         * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
1515         (f/g)prrest(0/1) static only.
1516         * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
1517         * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
1518         shared.
1519         * sysdeps/unix/sysv/aix/setitimer.c: New file.
1520         * sysdeps/unix/sysv/aix/sleep.c: New file.
1521         * sysdeps/unix/sysv/aix/usleep.c: New file.
1522         * sysdeps/unix/sysv/aix/dl-addr.c: New file.
1523         * sysdeps/unix/sysv/aix/dl-error.c: New file.
1524         * sysdeps/unix/sysv/aix/dl-support.c: New file.
1525         * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
1527 2001-06-19  Ulrich Drepper  <drepper@redhat.com>
1529         * po/es.po: Update from translation team.
1531 2001-06-19  Andreas Jaeger  <aj@suse.de>
1533         * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
1535         * math/libm-test.inc (tanh_test): Test for 2^-56.
1537         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
1538         equals argument when x < 2^-55.
1539         Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1541 2001-06-17  Alan Modra  <amodra@bigpond.net.au>
1543         * sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs
1544         at unaligned address.
1546 2001-06-18  Ulrich Drepper  <drepper@redhat.com>
1548         * posix/regex.c: Reorganize code to build code twice, once for single
1549         byte, once for multi-byte charsets.  Choose function set adequate for
1550         locale at runtime.
1551         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
1553         * po/nl.po: Update from translation team.
1555 2001-06-09  Bruno Haible  <haible@clisp.cons.org>
1557         * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
1558         (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
1559         * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
1561 2001-05-26  Bruno Haible  <haible@clisp.cons.org>
1563         * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
1564         * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
1566 2001-06-17  Roland McGrath  <roland@frob.com>
1568         * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
1569         not LIO_READ + 1 (which is the value of LIO_WRITE!).
1571         * Makerules (build-module-helper-objlist): New variable,
1572         broken out of build-module.  Insert --whole-archive/--no-whole-archive
1573         immediately each *_pic.a file in the link object list.
1574         (whole-archive): New variable, used by that.
1575         (build-module-objlist): New variable using build-module-helper-objlist.
1576         (build-module, build-module-helper): Use it.
1577         (build-shlib-objlist): New variable using build-module-helper-objlist.
1578         (build-shlib): Use that.
1579         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
1581         * posix/spawni.c: Moved to ...
1582         * sysdeps/posix/spawni.c: ... here.
1583         * sysdeps/generic/spawni.c: New file.
1585 2001-06-16  Roland McGrath  <roland@frob.com>
1587         * hurd/Makefile (routines): Add lookup-retry.
1588         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
1589         * hurd/lookup-retry.c: ... into here, new file.
1590         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
1591         using of duplicate code here.
1593         * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
1595 2001-06-17  Ulrich Drepper  <drepper@redhat.com>
1597         * po/ja.po: Update from translation team.
1599 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
1601         * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
1602         compare_files): New functions.
1603         (write_locale_data): Use xmalloc.  Compare the file with the locale
1604         data files for the same category in other locales, and reuse it if
1605         possible and safe.
1607 2001-06-07  Mark Kettenis  <kettenis@gnu.org>
1609         * grp/initgroups.c (initgroups): Factor out re-usable code into...
1610         (internal_getgrouplist): ... new function.
1611         (getgrouplist): New function.
1612         * grp/grp.h (getgrouplist): New prototype.
1613         * grp/Versions [2.2.4]: Add getgrouplist.
1615 2001-06-16  Ulrich Drepper  <drepper@redhat.com>
1617         * inet/netinet/ip6.h: Fix comments in ip6_hdr.
1618         Patch by Pekka Savola <pekkas@netcore.fi>.
1620 2001-06-15  Roland McGrath  <roland@frob.com>
1622         * rt/Makefile (aio-routines, clock-routines, timer-routines): New
1623         variables, broken out of librt-routines.
1624         (librt-routines): Set using those.
1625         (extra-libs, extra-libc-others, tests): Set these unconditionally.
1626         (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
1627         * sysdeps/generic/aio_fsync.c: New file.
1628         * sysdeps/generic/aio_misc.c: New file.
1629         * sysdeps/generic/aio_write.c: New file.
1630         * sysdeps/generic/aio_write64.c: New file.
1631         * sysdeps/generic/aio_read64.c: New file.
1632         * sysdeps/generic/aio_read.c: New file.
1633         * sysdeps/generic/aio_notify.c: New file.
1634         * sysdeps/generic/lio_listio64.c: New file.
1635         * sysdeps/generic/lio_listio.c: New file.
1636         * sysdeps/generic/aio_cancel.c: New file.
1637         * sysdeps/generic/aio_misc.h: New file.
1638         * sysdeps/generic/aio_suspend.c: New file.
1639         * rt/aio_cancel.c: Moved to ...
1640         * sysdeps/pthread/aio_cancel.c: ... here.
1641         * rt/aio_fsync.c: Moved to ...
1642         * sysdeps/pthread/aio_fsync.c: ... here.
1643         * rt/aio_misc.c: Moved to ...
1644         * sysdeps/pthread/aio_misc.c: ... here.
1645         * rt/aio_misc.h: Moved to ...
1646         * sysdeps/pthread/aio_misc.h: ... here.
1647         * rt/aio_notify.c: Moved to ...
1648         * sysdeps/pthread/aio_notify.c: ... here.
1649         * rt/aio_read.c: Moved to ...
1650         * sysdeps/pthread/aio_read.c: ... here.
1651         * rt/aio_read64.c: Moved to ...
1652         * sysdeps/pthread/aio_read64.c: ... here.
1653         * rt/aio_suspend.c: Moved to ...
1654         * sysdeps/pthread/aio_suspend.c: ... here.
1655         * rt/aio_write.c: Moved to ...
1656         * sysdeps/pthread/aio_write.c: ... here.
1657         * rt/aio_write64.c: Moved to ...
1658         * sysdeps/pthread/aio_write64.c: ... here.
1659         * rt/lio_listio.c: Moved to ...
1660         * sysdeps/pthread/lio_listio.c: ... here.
1661         * rt/lio_listio64.c: Moved to ...
1662         * sysdeps/pthread/lio_listio64.c: ... here.
1664 2001-06-14  Roland McGrath  <roland@frob.com>
1666         * configure.in: Let sysdeps Implies files in add-ons bring in
1667         sysdeps directories from the main source and other add-ons too.
1669 2001-06-15  Jakub Jelinek  <jakub@redhat.com>
1671         * math/test-misc.c (main): Add tests for nextafter and nexttoward
1672         with +-Inf as second argument.
1674         * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
1675         NaN, not Inf.
1676         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
1677         * sysdeps/i386/fpu/s_nexttoward.c: New.
1678         * sysdeps/i386/fpu/s_nexttowardf.c: New.
1679         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
1680         check for NaN, optimize x==+-0 handling.
1681         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
1682         * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
1683         check for NaN, fix sign in x==+-0 case.
1684         * sysdeps/ia64/fpu/s_nexttoward.c: New.
1685         * sysdeps/ia64/fpu/s_nexttowardf.c: New.
1687 2001-06-15  H.J. Lu  <hjl@gnu.org>
1689         * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
1690         * rt/tst-aio3.c (do_test): Likewise.
1691         * rt/tst-aio4.c (do_test): Likewise.
1692         * rt/tst-aio5.c (do_test): Likewise.
1693         * rt/tst-aio6.c (do_test): Likewise.
1695 2001-06-15  Andreas Schwab  <schwab@suse.de>
1697         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
1698         * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
1700 2001-06-15  Andreas Jaeger  <aj@suse.de>
1702         * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
1704 2001-06-14  Andreas Schwab  <schwab@suse.de>
1706         * elf/ldconfig.c (search_dir): Fix check for regular file.
1708         * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
1709         * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
1711 2001-06-14  Roland McGrath  <roland@frob.com>
1713         * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
1714         (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
1716 2001-06-13  Roland McGrath  <roland@frob.com>
1718         * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
1720         * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
1721         so the label is not considered unused.
1723         * sysdeps/mach/hurd/pwrite64.c: New file.
1724         * sysdeps/mach/hurd/pread64.c: New file.
1726         * sysdeps/mach/hurd/pread.c
1727         (__libc_pread): Define this name, with __pread as an alias.
1728         * sysdeps/mach/hurd/pwrite.c
1729         (__libc_pwrite): Define this name, with __pwrite as an alias.
1731         Implement POSIX "shared memory objects" as regular
1732         files residing in the /var/run/shm/ directory.
1733         This works on any system that supports _POSIX_MAPPED_FILES,
1734         to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
1735         * sysdeps/posix/shm_open.c: New file.
1736         * sysdeps/posix/shm_unlink.c: New file.
1737         * sysdeps/mach/hurd/bits/posix_opt.h
1738         (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
1740         * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
1741         Use raise instead of __aio_sigqueue.
1743         * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
1744         * sysdeps/mach/hurd/pwrite.c: Likewise.
1746         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
1747         [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
1748         as default version set.
1750 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
1752         * libio/iolibio.h (_IO_freopen): Correct last parameter to
1753         _IO_file_open.
1754         (_IO_freopen64): Likewise.
1755         Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
1757         * elf/elf.h: Add a few more EM_* constants.
1759 2001-06-12  Bruno Haible  <haible@clisp.cons.org>
1761         * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
1763 2001-06-09  Ben Collins  <bcollins@debian.org>
1765         * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
1766         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1767         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1768         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1769         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1770         * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
1771         hardcoded B400000.
1773 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
1775         * time/sys/time.h: Don't use enum __itimer_which ever for
1776         __itimer_which_t for C++.
1777         Reported by Martin Buchholz <martin@xemacs.org>.
1779         * po/fr.po: Update from translation team.
1781 2001-06-12  H.J. Lu  <hjl@gnu.org>
1783         * configure.in: Fix typos in missing program names.
1784         * configure: Regenerated.
1786 2001-06-12  Andreas Jaeger  <aj@suse.de>
1788         * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
1790         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1792 2001-06-11  Andreas Jaeger  <aj@suse.de>
1794         * sysdeps/ieee754/ldbl-128/e_coshl.c: New file.  Contributed by
1795         Stephen L Moshier <moshier@mediaone.net>.
1797         * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
1799         * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1800         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1802 2001-06-11  Michael Deutschmann  <michael@talamasca.ocis.net>
1804         * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
1805         Use my_signo instead of MY_SIGNO and initialize it so that the
1806         used signal is always available.
1808 2001-06-11  Andreas Jaeger  <aj@suse.de>,
1809             Michael Deutschmann  <michael@talamasca.ocis.net>
1811         * io/test-lfs.c (do_prepare): Clean up error messages.
1812         (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
1813         (do_test): Likewise.
1815 2001-06-11  Andreas Jaeger  <aj@suse.de>
1817         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
1818         IMAXBEL): Make always visible since they're needed by POSIX.
1819         Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
1821 2001-06-10  Ben Collins  <bcollins@debian.org>
1823         * sysdeps/arm/elf/start.S: Use #function, not @function, for
1824         .type of _start.
1826         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
1827         INT_MAX.
1829 2001-06-07  H.J. Lu  <hjl@gnu.org>
1831         * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
1833 2001-06-10  Roland McGrath  <roland@frob.com>
1835         * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
1836         * elf/reldep4mod4.c: Likewise.
1838 2001-06-10  Mark Kettenis  <kettenis@gnu.org>
1840         * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
1842 2001-06-08  Andreas Schwab  <schwab@suse.de>
1844         * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
1845         Don't dereference at end of string.
1847 2001-06-06  Roland McGrath  <roland@frob.com>
1849         * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
1850         From Robert Bihlmeyer <robbe@orcus.priv.at>.
1852 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1854         * po/ko.po: Update from translation team.
1856 2001-06-06  Andreas Jaeger  <aj@suse.de>
1858         * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
1859         offset+length-1.
1860         Reported by Robert Bernecky <bernecky@acm.org>.
1862 2001-06-06  Jakub Jelinek  <jakub@redhat.com>
1864         * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
1865         * sysdeps/ia64/elf/start.S: Likewise.
1866         * sysdeps/sh/elf/start.S: Likewise.
1867         * sysdeps/s390/s390-32/elf/start.S: Likewise.
1868         * sysdeps/s390/s390-64/elf/start.S: Likewise.
1870 2001-06-05  Matthew Wilcox  <willy@ldl.fc.hp.com>
1872         * sysdeps/hppa/bsd-_setjmp.S: New.
1873         * sysdeps/hppa/bsd-setjmp.S: New.
1875         * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
1876         gcc warnings about multi-line strings.
1878         * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
1879         * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
1881         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
1882         setrlimit directly instead of using wrappers.
1884 2001-05-01  Richard Hirst  <rhirst@linuxcare.com>
1886         * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
1887         * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
1889 2001-06-05  Philipp Thomas  <pthomas@suse.de>
1891         * nis/nis_call.c (__nisbind_connect): Don't mark for translation
1892         what can't be translated.
1894 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1896         * timezone/zic.c: Update from tzcode2001c.
1897         * timezone/private.h: Likewise.
1898         * timezone/africa: Update from tzdata2001c.
1899         * timezone/asia: Likewise.
1900         * timezone/europe: Likewise.
1901         * timezone/northamerica: Likewise.
1902         * timezone/southamerica: Likewise.
1903         * timezone/zone.tab: Likewise.
1905 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
1907         * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
1908         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
1909         UNICODE_TAG_HANDLER.
1910         (__gconv_transform_internal_ucs2): Likewise.
1911         (__gconv_transform_internal_ucs2reverse): Likewise.
1912         * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
1913         * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
1914         * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
1915         * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
1916         * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
1917         * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
1918         * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
1919         * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
1920         * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
1921         * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
1922         * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
1923         * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
1924         * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
1925         * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
1926         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1927         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1928         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1929         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1930         * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
1931         * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
1932         * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
1933         * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
1934         * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
1935         * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
1936         * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
1937         * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
1938         * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
1939         * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
1940         * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
1941         * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
1942         * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
1943         * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
1944         TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
1945         TAG_language_zh, CURRENT_TAG_MASK): New enum values.
1946         (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
1947         is already selected but set2 or tag are set.
1948         (conversion): New enum type.
1949         (cvlist_t): New type.
1950         (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
1951         (conversion_lists): New array.
1952         (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag.  If "ja",
1953         prefer conversion to Japanese character sets.  If "zh", prefer
1954         conversion to GB2312.  If "ko", prefer conversion to KSC5601.  Small
1955         optimizations.
1956         (INIT_PARAMS): Add tag.
1957         (UPDATE_PARAMS): Add tag.
1959 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
1961         * locale/programs/locfile.c (write_locale_data): Before creat(),
1962         unlink the file, to avoid crashing the processes that mmap it.  Change
1963         a double slash to a single slash.  Free fname in case of error return.
1965 2001-06-02  Jakub Jelinek  <jakub@redhat.com>
1967         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
1968         changes, do the special handling for denormal numbers, not for
1969         normalized numbers (patch by <trevin@xmission.com>).
1971         * math/test-misc.c (main): Test frexpl with denormal arguments.
1973 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1975         * math/libm-test.inc (llround_test): Add two new llround tests.
1976         * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
1977         overflow when rounding away from zero.
1979 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1981         * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
1982         * math/math_private.h (__ieee754_log2, __ieee754_log2f,
1983         __ieee754_log2l): New prototypes.
1984         * sysdeps/generic/w_log2.c: New file.
1985         * sysdeps/generic/w_log2f.c: New file.
1986         * sysdeps/generic/w_log2l.c: New file.
1987         * sysdeps/generic/s_log2l.c: Move...
1988         * sysdeps/generic/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
1989         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
1990         and log2(x < 0).
1991         * sysdeps/i386/fpu/s_log2.S: Move...
1992         * sysdeps/i386/fpu/e_log2.S: ...to here.  Rename to __ieee754_log2.
1993         * sysdeps/i386/fpu/s_log2f.S: Move...
1994         * sysdeps/i386/fpu/e_log2f.S: ...to here.  Rename to __ieee754_log2f.
1995         * sysdeps/i386/fpu/s_log2l.S: Move...
1996         * sysdeps/i386/fpu/e_log2l.S: ...to here.  Rename to __ieee754_log2l.
1997         * sysdeps/m68k/fpu/s_log2.c: Move...
1998         * sysdeps/m68k/fpu/e_log2.c: ...to here.  Rename to __ieee754_log2.
1999         * sysdeps/m68k/fpu/s_log2f.c: Move...
2000         * sysdeps/m68k/fpu/e_log2f.c: ...to here.  Rename to __ieee754_log2f.
2001         * sysdeps/m68k/fpu/s_log2l.c: Move...
2002         * sysdeps/m68k/fpu/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
2003         * sysdeps/ieee754/dbl-64/s_log2.c: Move...
2004         * sysdeps/ieee754/dbl-64/e_log2.c: ...to here.  Rename to
2005         __ieee754_log2.
2006         * sysdeps/ieee754/flt-32/s_log2f.c: Move...
2007         * sysdeps/ieee754/flt-32/e_log2f.c: ...to here.  Rename to
2008         __ieee754_log2f.
2010 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
2012         * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
2013         even arguments which result in denormalized exp2 are accepted.
2014         (__exp2): Arguments equal to u_threshold already result into
2015         underflow.
2016         * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
2017         * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
2018         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
2019         low, with corrected lowmark use greaterequal, not greater.
2020         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2022 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
2024         * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
2025         * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
2026         * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
2027         * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
2028         * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
2029         * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
2030         * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
2031         * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
2033 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
2035         * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
2036         gave non-finite result instead of using constant in generic
2037         version.
2038         * sysdeps/generic/w_coshf.c (__coshf): Likewise.
2039         * sysdeps/generic/w_cosh.c (__cosh): Likewise.
2040         * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
2041         (__exp10): Test if finite argument gave non-finite result.
2042         * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
2043         Likewise.
2044         * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
2045         Likewise.
2047 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
2049         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
2050         overflow threshold constant (log(LDBL_MAX)+M_LN2l).
2052 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
2054         * locale/programs/ld-ctype.c (idx_table): New struct type.
2055         (idx_table_init, idx_table_get, idx_table_add): New functions.
2056         (MAX_CHARNAMES_IDX): Remove macro.
2057         (locale_ctype_t): Change type of charnames_idx field.
2058         (ctype_startup): Change initialization of charnames_idx field.
2059         (find_idx): Use idx_table_get and idx_table_add for speed.
2061         * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
2062         computation of characters in a range.
2064 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
2066         * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
2067         <U03F5>.
2068         (__ucs_to_gb18030_tab1): Likewise.
2069         (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
2070         (BODY for TO_LOOP): Likewise.
2071         * iconvdata/tst-table-charmap.sh: Update for charmaps containing
2072         <U00xxxxxx> syntax.
2073         * iconvdata/tst-table-from.c (bmp_only): New variable.
2074         (utf8_decode): If bmp_only, don't return characters outside Unicode
2075         plane 0.
2076         (main): When testing UTF-8 or GB18030, set bmp_only to 1.  Don't print
2077         a conversion line if utf8_decode returns NULL.
2078         * iconvdata/tst-table-to.c (main): When testing encodings other than
2079         UTF-8 and GB18030, loop upto U+30000 instead of U+10000.  Use UTF-8
2080         instead of UCS-2 as input.
2081         * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
2082         of the charmap.
2084 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
2086         * iconvdata/cns11643l1.c: Update to Unicode 3.1.
2087         (__cns11643l1_to_ucs4_tab): Regenerated.
2088         (__cns11643l1_from_ucs4_tab12): Regenerated.
2089         * iconvdata/cns11643.c: Update to Unicode 3.1.
2090         (__cns11643l14_to_ucs4_tab): Remove array.
2091         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
2092         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
2093         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
2094         (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
2095         (__cns11643_from_ucs4p2_tab): New array.
2096         * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
2097         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
2098         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
2099         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
2100         (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
2101         (__cns11643_from_ucs4_tab): Remove declaration.
2102         (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
2103         declarations.
2104         (ucs4_to_cns11643): Update for new arrays.  Treat U+3400..U+4DFF and
2105         U+20000..U+2A6D6.
2106         * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
2107         declaration.
2108         (__cns11643_from_ucs4p0_tab): New declaration.
2109         (ucs4_to_cns11643l2): Update for new arrays.
2110         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
2111         3 to 7.
2112         (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
2113         * iconvdata/EUC-TW.irreversible: New file.
2114         * iconvdata/tst-table.sh: Use it.
2115         * iconvdata/Makefile (distribute): Add CP1255.irreversible,
2116         CP1258.irreversible, EUC-TW.irreversible.
2118 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
2120         * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
2121         mathematical symbols.
2123 2001-06-05  Andreas Jaeger  <aj@suse.de>
2125         * manual/stdio.texi (Portable Positioning): Fix description of
2126         fpos_t and fpos64_t.
2128 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
2130         * sysdeps/generic/wordexp.c: Undo last patch.  Use strndupa instead.
2132         * po/sk.po: Update from translation team.
2134 2001-06-05  Andreas Jaeger  <aj@suse.de>
2136         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
2137         tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
2138         Closes PR libc/2315.
2140 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
2142         * sysdeps/generic/wordexp.c: Add missing free.
2143         Patch by yeti@physics.muni.cz.
2145 2001-06-02  Tom Browder  <tbrowder@home.com>
2147         * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
2148         within bounds when lag > 0.
2150 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
2152         * po/tr.po: New file.
2154 2001-06-05  Andreas Jaeger  <aj@suse.de>
2156         * manual/libm-err-tab.pl (parse_ulps): Fix typo.
2158 2001-06-04  H.J. Lu  <hjl@gnu.org>
2160         * sysdeps/alpha/elf/start.S: Add .type for the entry point.
2161         * sysdeps/arm/elf/start.S: Likewise.
2162         * sysdeps/hppa/elf/start.S: Likewise.
2163         * sysdeps/i386/elf/start.S: Likewise.
2164         * sysdeps/m68k/elf/start.S: Likewise.
2165         * sysdeps/mips/elf/start.S: Likewise.
2166         * sysdeps/ia64/elf/start.S: Likewise.
2167         * sysdeps/sh/elf/start.S: Likewise.
2168         * sysdeps/s390/s390-32/elf/start.S: Likewise.
2169         * sysdeps/s390/s390-64/elf/start.S: Likewise.
2170         * sysdeps/cris/elf/start.S: Likewise.
2172 2001-06-04  Bruce Mitchener  <bruce@cubik.org>
2174         * manual/resource.texi: Correct setpriority/nice documentation.
2176         * sysdeps/unix/nice.c: Correct nice() implementation.
2178 2001-06-04  Andreas Jaeger  <aj@suse.de>
2180         * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
2181         Stephen L Moshier <moshier@mediaone.net>.
2183 2001-06-03  Roland McGrath  <roland@frob.com>
2185         * Makefile (postclean): Remove obsolete sysd-Makefile.
2187 2001-06-01  Roland McGrath  <roland@frob.com>
2189         * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
2190         and use compat_symbol/versioned_symbol instead of plain
2191         symbol_version/default_symbol_version.
2192         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
2193         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
2194         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
2195         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
2196         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
2197         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
2198         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
2199         * sysdeps/arm/fpu/fegetenv.c: Likewise.
2200         * sysdeps/arm/fpu/fesetenv.c: Likewise.
2201         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
2202         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
2203         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
2204         * sysdeps/i386/fpu/fegetenv.c: Likewise.
2205         * sysdeps/i386/fpu/fesetenv.c: Likewise.
2206         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
2207         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
2208         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2209         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
2210         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
2211         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
2212         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
2213         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
2214         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
2215         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
2216         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
2217         * sysdeps/powerpc/fclrexcpt.c: Likewise.
2218         * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
2219         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2220         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2221         * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
2222         * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
2223         * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
2225         * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
2226         * iconvdata/iso-2022-cn-ext.c: Likewise.
2228 2001-06-01  Andreas Jaeger  <aj@suse.de>
2230         * Versions.def: Add version 2.2.4.
2232 2001-06-01  Ulrich Drepper  <drepper@redhat.com>
2234         * socket/Makefile (routines): Add sockatmark.
2235         * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
2236         * socket/sys/socket.h: Add prototype for sockatmark.
2237         * sysdeps/generic/sockatmark.c: New file.
2238         * sysdeps/unix/sockatmark.c: New file.
2240 2001-06-01  Andreas Jaeger  <aj@suse.de>
2242         * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
2243         B4000000.
2244         (cfsetospeed): Likewise.
2245         Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
2247 2001-05-31  Joseph S. Myers  <jsm28@cam.ac.uk>
2249         * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
2251 2001-05-30  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2253         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
2254         needs to have the same aligment as the kernel structure.
2256 2001-05-29  Jakub Jelinek  <jakub@redhat.com>
2258         * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
2259         u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
2260         * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
2261         u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
2262         against multiple definition.
2264 2001-05-30  Ulrich Drepper  <drepper@redhat.com>
2266         * po/da.po: Update from translation team.
2268 2001-05-29  Andreas Jaeger  <aj@suse.de>
2270         * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
2271         Stephen L Moshier <moshier@mediaone.net>.
2273         * math/libm-test.inc (sinh_test): Add new test case.
2275         * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
2276         x when x < 2^-32.
2277         Patch by Stephen L Moshier <moshier@mediaone.net>.
2279 2001-05-23  Andreas Jaeger  <aj@suse.de>
2281         * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
2282         * iconvdata/testdata/WINDOWS-1255..UTF8: this.
2284 2001-05-27  Andreas Jaeger  <aj@suse.de>
2286         * manual/stdio.texi (String Streams): Fix fmemopen description.
2287         Reported by Michal Kochanowicz <michal@michal.waw.pl>.
2289 2001-05-26  H.J. Lu <hjl@gnu.org>
2291         * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
2292         to s_sigsuspend.  Add s_mmap2.
2294         * sysdeps/mips/atomicity.h: New file.
2296         * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
2298         * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
2299         back __key.
2301 2001-05-25  Bruce Mitchener  <bruce@cubik.org>
2303         * manual/ctype.texi: Minor fix.
2304         * manual/install.texi: Likewise.
2305         * manual/startup.texi: Likewise.
2306         * manual/examples/dir.c: Use perror() rather than puts().
2308 2001-05-25  David Mosberger  <davidm@hpl.hp.com>
2310         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
2311         #endif directive inside a comment to avoid compiler warnings.
2313 2001-05-25  Philipp Thomas  <pthomas@suse.de>
2315         * nis/nis_print.c (nis_nstype2str): Don't mark names of
2316         naming services for translation, only UNKNOWN needs it.
2317         Add comment to prevent it for the future.
2319 2001-05-25  Joseph S. Myers  <jsm28@cam.ac.uk>
2321         * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
2322         3.1 and non-GCC C99 compilers.
2324 2001-05-22  David Mosberger  <davidm@hpl.hp.com>
2326         * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
2327         performance.
2328         * sysdeps/ia64/memcpy.S: Likewise.
2330         * sysdeps/ia64/bcopy.S: New file.
2332         * sysdeps/ia64/bzero.S: New file (derived from memset.S).
2334 2001-05-26  Ulrich Drepper  <drepper@redhat.com>
2336         * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
2338 2001-05-24  Ulrich Drepper  <drepper@redhat.com>
2340         * iconvdata/Makefile: Add rules for CP10007.
2341         * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
2342         * iconvdata/cp10007.c: New file.
2343         * iconvdata/tst-tables.sh: Add CP10007.
2345 2001-05-23  kaz Kojima  <kkojima@rr.iij4u.or.jp>
2347         * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
2348         (_dl_runtime_profile): Likewise..
2350 2001-05-23  Thorsten Kukuk  <kukuk@suse.de>
2352         * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
2353         * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
2355 2001-05-19  H.J. Lu  <hjl@gnu.org>
2357         * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
2358         errstring of the failed DSO to _dl_signal_error ().
2360 2001-05-23  Ulrich Drepper  <drepper@redhat.com>
2362         * iconvdata/gconv-modules: Add more aliases to enable use in
2363         locale names.
2365 2001-05-23  Andreas Jaeger  <aj@suse.de>
2367         * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
2368         Remove, it's not used anywhere anymore.
2369         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
2370         (CFLAGS-initfini.s): Likewise.
2371         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
2372         (CFLAGS-initfini.s): Likewise.
2373         * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
2374         Likewise.
2375         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
2376         Likewise.
2378 2001-05-21  Bruno Haible  <haible@clisp.cons.org>
2380         * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
2381         use 0 instead, and rely on the converter to do the flush.
2382         * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
2383         utf8_test.
2384         (utf8_test_2, utf8_test_3): New function.
2385         (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
2387 2001-05-22  Jakub Jelinek  <jakub@redhat.com>
2389         * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
2391         * elf/Makefile (distribute): Add reldep4mod[1234].c.
2392         (tests): Add reldep4.
2393         (modules-names): Add reldep4mod[1234].
2394         (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
2395         * elf/reldep4.c: New file.
2396         * elf/reldep4mod1.c: Likewise.
2397         * elf/reldep4mod2.c: Likewise.
2398         * elf/reldep4mod3.c: Likewise.
2399         * elf/reldep4mod4.c: Likewise.
2401 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
2403         * elf/dl-lookup.c (PROTECTED): Remove defines.
2404         (add_dependency): Mark it with internal_function.
2405         (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
2406         (_dl_lookup_symbol, _dl_lookup_symbol_skip,
2407         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
2408         it if we don't want do_lookup* inlined.
2410 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
2412         * include/link.h (struct r_scope_elem): Remove r_duplist and
2413         r_nduplist fields.
2414         * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
2415         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
2416         r_duplist.
2417         (_dl_lookup_versioned_symbol_skip): Likewise.
2418         * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
2419         (_dl_map_object_deps): Don't compute duplicate list.
2421         * elf/dl-symbol.c: Removed.
2422         * elf/Makefile (routines): Remove dl-symbol.
2424 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
2426         * po/el.po: Update from translation team.
2427         * po/sv.po: Likewise.
2429 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
2431         * iconvdata/cp1255.c: Completely rewritten.
2432         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
2433         * iconvdata/testdata/WINDOWS-1255: New file.
2434         * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
2435         * iconvdata/TESTS: Add WINDOWS-1255 test.
2436         * iconvdata/CP1255.irreversible: New file.
2438 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
2440         * iconvdata/cp1258.c: Completely rewritten.
2441         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
2442         * iconvdata/testdata/WINDOWS-1258: New file.
2443         * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
2444         * iconvdata/TESTS: Add WINDOWS-1258 test.
2445         * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
2446         the main call, and flush it afterwards.
2447         (utf8_decode): Return a string, possibly containing several Unicode
2448         characters.
2449         (main): Update all utf8_decode calls.
2450         * iconvdata/CP1258.irreversible: New file.
2452 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
2454         * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
2455         * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2.  In the
2456         first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
2457         EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
2458         the next step.  In the second case, clear the state without calling
2459         EMIT_SHIFT_TO_INIT.
2460         * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
2461         data->__outbuf, and outend instead of data->__outbufend.
2462         * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
2463         * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
2464         * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
2465         * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
2466         * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
2467         * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
2468         * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
2469         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
2470         * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
2472 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
2474         * elf/rtld.c (dl_main): Compute l_map_end for the main program.
2475         * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
2476         If match == _dl_loaded, caller can still come from the main program.
2477         (_dl_vsym): Likewise.
2478         * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
2479         * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
2480         * elf/restest2.c: New test.
2481         * elf/Makefile (tests): Add restest2.
2482         (restest2, LDFLAGS-restest2): Add rules.
2484 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
2486         * intl/Makefile: Add a few more dependencies to avoid races in the
2487         test shell scripts.
2489 2001-05-22  Andreas Jaeger  <aj@suse.de>
2491         * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
2492         Stephen L Moshier <moshier@mediaone.net>.
2494 2001-05-22  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2496         * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
2497         return addresses instead of the stack pointers.
2498         * sysdeps/s390/s390-64/backtrace.c: Likewise.
2500 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
2502         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
2503         bits/sigcontext.h instead of bits/sigstack.h.
2504         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
2505         multiple-inclusion guards.
2507 2001-05-21  Andreas Jaeger  <aj@suse.de>
2509         * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
2510         Patch by Philipp Thomas <pthomas@suse.de>.
2512 2001-05-17  Bruce Mitchener  <bruce@cubik.org>
2514         * manual/arpg.texi: Spelling, misc fixes.
2515         * manual/arith.texi: Likewise.
2516         * manual/crypt.texi: Likewise.
2517         * manual/debug.texi: Likewise.
2518         * manual/getopt.texi: Likewise.
2519         * manual/intro.texi: Likewise.
2520         * manual/memory.texi: Likewise.
2521         * manual/nss.texi: Likewise.
2522         * manual/pattern.texi: Likewise.
2523         * manual/process.texi: Likewise.
2524         * manual/resource.texi: Likewise.
2525         * manual/search.texi: Likewise.
2526         * manual/setjmp.texi: Likewise.
2527         * manual/signal.texi: Likewise.
2528         * manual/socket.texi: Likewise.
2529         * manual/stdio.texi: Likewise.
2530         * manual/string.texi: Likewise.
2531         * manual/sysinfo.texi: Likewise.
2532         * manual/terminal.texi: Likewise.
2533         * manual/llio.texi: Document madvise().
2535 2001-05-20  Roland McGrath  <roland@frob.com>
2537         * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
2538         found within $(add-ons) directories too.
2539         [linuxthreads add-on]: Move variable settings for linuxthreads
2540         to new file linuxthreads/Makeconfig.
2542 2001-05-20  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2544         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2545         Define for linux >= 2.4.5 on powerpc.
2546         (__ASSUME_MMAP2_SYSCALL): Likewise.
2548 2001-05-19  Roland McGrath  <roland@frob.com>
2550         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
2551         result port when failing with ELOOP.  Do the ELOOP check when
2552         following an absolute symlink target as well as relative.
2553         Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
2555 2001-05-18  Andreas Jaeger  <aj@suse.de>
2557         * po/fr.po: Free software is "logiciel libre".
2558         Patch by Martin Michlmayr <tbm@cyrius.com>.
2560         * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
2561         Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
2563 2001-05-17  David Mosberger  <davidm@hpl.hp.com>
2565         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
2567 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
2569         * elf/dl-profile.c (_dl_mcount): Check whether state is
2570         GMON_PROF_ON before doing anything.
2572 2001-05-17  H.J. Lu  <hjl@gnu.org>
2574         * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
2576 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
2578         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
2579         CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
2580         Reported by Mark Burton <markb@ordern.com>.
2582 2001-05-17  Jakub Jelinek  <jakub@redhat.com>
2584         * elf/ldconfig.c (add_dir): Only warn about stat failure if
2585         opt_verbose.
2586         (search_dir): Likewise.
2588 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
2590         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
2591         parameter of xaddl.  Patch by H . J . Lu <hjl@lucon.org>.
2593 2001-05-14  Bruno Haible  <haible@clisp.cons.org>
2595         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
2596         without previous announcement, reject it regularly, don't abort.
2598 2001-05-16  Ulrich Drepper  <drepper@redhat.com>
2600         * math/tgmath.h: Fix handling of int parameters to binary and
2601         ternary functions.  Reported by mitr@volny.cz.
2603         * math/test-tgmath.c: Add tests for calls with integer parameters.
2605 2001-05-15  Jakub Jelinek  <jakub@redhat.com>
2607         * sunrpc/rpc_thread.c (rpc_default): Remove.
2608         (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
2609         rpc_default.
2610         (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
2611         __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
2612         * sunrpc/auth_none.c (authnone_private): Fix a typo.
2614 2001-05-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2616         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
2618 2001-05-16  Bruce Mitchener  <bruce@cubik.org>
2620         * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
2622 2001-05-15  Andreas Jaeger  <aj@suse.de>
2624         * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
2625         Stephen L Moshier <moshier@mediaone.net>.
2627         * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
2629         * math/libm-test.inc: Add comment with ToDo.
2631         * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
2632         accurate algorithm.  Patch by Stephen L Moshier <moshier@mediaone.net>.
2634         * sysdeps/i386/fpu/e_expl.S: Removed.
2636 2001-05-14  Roland McGrath  <roland@frob.com>
2638         * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
2639         static pattern rule also that also covers
2640         $(objpx)g$(static-start-installed-name).
2641         [$(start-installed-name) != $(static-start-installed-name)]
2642         (extra-objs, omit-deps, install-lib): Add
2643         $(static-start-installed-name) and g$(static-start-installed-name).
2644         * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
2645         just setting static-start-installed-name is now sufficient.
2646         (extra-objs): Add static-start.o here.
2647         (CFLAGS-initfini.s): Remove obsolete variable.
2648         * sysdeps/mach/hurd/i386/Makeconfig: New file.
2649         Define static-start-installed-name here.
2651         * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
2652         * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
2654         * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
2655         associated hair.  Instead, just use $(wildcard ...) in the include.
2657         * configure.in (critic_missing, aux_missing): Collect in these vars
2658         the names of the missing programs, and include them in the error msgs.
2659         * configure: Regenerated.
2661 2001-05-14  Andreas Jaeger  <aj@suse.de>
2663         * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
2665         * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
2667 2001-05-14  Stephen L Moshier <moshier@mediaone.net>
2669         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
2671 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
2673         * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
2674         as well if swapping strings.
2675         Make sure stop is not past end of second string.
2676         * posix/bug-regex4.c: New test.
2677         * posix/Makefile (tests): Add bug-regex4.
2679 2001-05-10  Andreas Jaeger  <aj@suse.de>
2681         * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
2682         requirement.
2684 2001-05-12  Andreas Jaeger  <aj@suse.de>
2686         * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
2687         internal prototypes.
2688         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2689         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2690         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2691         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2692         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2693         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2694         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2696         * math/math_private.h: Add prototypes for internal functions of
2697         the IBM Accurate Mathematical Library.
2699         * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
2700         prototypes.
2701         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2703         * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
2704         internal prototypes.
2705         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2706         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2707         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2708         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2709         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2710         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2711         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2712         * sysdeps/generic/e_rem_pio2l.c: Likewise.
2713         (__ieee754_rem_pio2l): Fix prototype.
2715         * math/math_private.h (__copysign): Add internal prototype.
2717 2001-05-11  Andreas Jaeger  <aj@suse.de>
2719         * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
2720         * sysdeps/unix/sysv/linux/mips/configure.in: ...here.  New file.
2722 2001-05-11  Andreas Jaeger  <aj@suse.de>
2724         * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
2725         MIPS.
2727         * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
2728         format directive.  Patch by Steven J. Hill <sjhill@cotw.com>.
2730 2001-05-11  Roland McGrath  <roland@frob.com>
2732         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
2733         $(build-module) here, since we don't need the full magilla.
2734         Just use $(build-module-helper) and append our special options.
2736 2001-05-09  Andreas Schwab  <schwab@suse.de>
2738         * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
2739         reached EOF.
2741 2001-05-07  H.J. Lu  <hjl@gnu.org>
2743         * elf/ldconfig.c (dir_entry): Add ino and dev.
2744         (add_single_dir): Compare ino and dev to check if 2 directory
2745         paths are the same or not.  Free entry->path for duplicates.
2746         (add_dir): Initialize ino and dev for entry.
2747         (search_dir): Handle symlink to directory.
2749 2001-05-07  Andreas Jaeger  <aj@suse.de>
2751         * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
2753         * math/libm-test.inc (exp_test): Add some more tests.
2754         (pow_test): Run double only test also for long double.
2756         * math/test-ldouble.c (TEST_LDOUBLE): Define.
2757         * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
2759         * sysdeps/generic/bits/confname.h: Remove extra comma at end of
2760         enumeration.
2761         Closes PR libc/2240.
2763         * scripts/config.guess: Imported from gnu.org.
2764         * scripts/config.sub: Likewise.
2766 2001-05-05  Jakub Jelinek  <jakub@redhat.com>
2768         * include/features.h (__USE_EXTERN_INLINES): Don't define if
2769         __NO_INLINE__ is defined.
2770         * ctype/ctype.h (tolower, toupper): Change the guard condition to
2771         __USE_EXTERN_INLINES check only.
2772         * stdlib/stdlib.h (strtod, ...): Likewise.
2773         * wcsmbs/wchar.h (mbrlen): Likewise.
2774         * string/string.h: Only include bits/string.h and bits/string2.h
2775         if __NO_INLINE__ is not defined.
2777 2001-05-07  Andreas Jaeger  <aj@suse.de>
2779         * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
2780         of @LIBDIR@.
2782 2001-05-04  H.J. Lu  <hjl@gnu.org>
2784         * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
2785         not @LIBDIR@.
2787 2001-05-06  Andreas Jaeger  <aj@suse.de>
2789         * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
2790         * sysdeps/i386/fpu/e_fmodl.S: Removed.
2791         * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
2792         * sysdeps/i386/fpu/e_atan2l.S: Removed.
2793         * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
2794         * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
2795         * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
2796         * sysdeps/i386/fpu/e_acosl.S: Removed.
2797         * sysdeps/i386/fpu/s_atanl.S: Removed.
2798         * sysdeps/i386/fpu/e_sqrtl.S: Removed.
2800 2001-05-05  Mark Kettenis  <kettenis@gnu.org>
2802         * sysdeps/mach/hurd/bits/environments.h: Add comment from
2803         sysdeps/generic/bits/environments.h.  Define _POSIX_V6_* values.
2805 2001-04-30  Jakub Jelinek  <jakub@redhat.com>
2807         * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
2808         that _CS_LFS_CFLAGS can fall through to the empty returned string
2809         case.  Add FALLTHROUGH comment.
2811 2001-04-29  Ralf Baechle  <ralf@gnu.org>
2813         * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
2814         definitions match the kernel definitions.
2815         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
2816         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2818 2001-04-29  Ben Collins  <bcollins@debian.org>
2820         * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
2821         warnings.
2822         * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
2823         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2824         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2825         * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
2826         * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
2827         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2828         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2829         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2830         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2831         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2832         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2833         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2834         * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
2835         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2836         * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
2837         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2838         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2839         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2840         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2841         * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
2842         * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
2843         * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
2844         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2846 2001-04-29  Andreas Schwab  <schwab@suse.de>
2848         * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
2849         in last change.
2851 2001-04-29  Andreas Jaeger  <aj@suse.de>
2853         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2854         Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
2856         * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
2857         Linux 2.4.4.
2858         (AF_WANPIPE): Likewise.
2859         (MSG_MORE): New.
2861         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
2862         for Linux generic version.
2863         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
2864         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2865         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2866         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
2868         * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
2870 2001-04-27  Ulrich Drepper  <drepper@redhat.com>
2872         * nis/nss-nis.h: Correct test for invalid error number.
2873         * nis/nss-nisplus.h: Likewise.
2875         * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
2877 2001-04-26  Ulrich Drepper  <drepper@redhat.com>
2879         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
2881         * string/strcoll.c: Fix two memory allocation problems.
2882         * string/Makefile (tests): Add bug-strcoll1.
2883         * string/bug-strcoll1.c: New file.
2885         * malloc/mcheck.c (mcheck): Call malloc once before setting the
2886         hooks to allow the internal check hooks to be set up if necessary.
2888         * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
2889         and rename to __yperr2nss_tab.  Change YPERR_COUNT into variable
2890         __yperr2nss_count.
2891         * nis/nss-nis.c: New file.
2892         * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
2893         and rename to __niserr2nss_tab.  Change NISERR_COUNT into variable
2894         __niserr2nss_count.
2895         * nis/nss-nisplus.c: New file.
2896         * nis/Makefile (libnss_compat-routines): Add nss-nis.
2897         (libnss_nis-routines): Likewise.
2898         (libnss_nisplus-routines): Add nss-nisplus.
2900         * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
2901         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2902         * nis/nss_nisplus/nisplus-grp.c: Likewise.
2903         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2904         * nis/nss_nisplus/nisplus-network.c: Likewise.
2905         * nis/nss_nisplus/nisplus-proto.c: Likewise.
2906         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2907         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2908         * nis/nss_nisplus/nisplus-service.c: Likewise.
2909         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2910         * nis/nss_nis/nis-alias.c: Likewise.
2911         * nis/nss_nis/nis-ethers.c: Likewise.
2912         * nis/nss_nis/nis-grp.c: Likewise.
2913         * nis/nss_nis/nis-network.c: Likewise.
2914         * nis/nss_nis/nis-proto.c: Likewise.
2915         * nis/nss_nis/nis-pwd.c: Likewise.
2916         * nis/nss_nis/nis-spwd.c: Likewise.
2917         * nis/nss_compat/compat-grp.c: Likewise.
2918         * nis/nss_compat/compat-initgroups.c: Likewise.
2919         * nis/nss_compat/compat-pwd.c: Likewise.
2920         * nis/nss_compat/compat-spwd.c: Likewise.
2922         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
2923         optimizations.  Patch by Jakub Jelinek <jakub@redhat.com>.
2925 2001-04-26  Andreas Jaeger  <aj@suse.de>
2927         * po/zh_TW.po: Update.
2928         Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
2930 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
2932         * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
2933         compiler command line.
2934         * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
2935         command line for malloc.c.
2937 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
2939         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
2940         * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
2941         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
2942         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
2943         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here.  Adjust
2944         struct msghdr for __WORDSIZE == 32.
2945         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
2946         * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here.  Adjust
2947         for __WORDSIZE == 32.
2948         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
2949         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
2950         file.
2951         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
2952         Rename from longjmp, make longjmp weak alias to it.
2954 2001-04-24  David S. Miller  <davem@redhat.com>
2956         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
2958 2001-04-25  Matthew Wilcox  <willy@ldl.fc.hp.com>
2960         * sysdeps/hppa/stackinfo.h: New file.
2961         * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
2962         * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
2963         * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
2964         * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
2965         of PA kernel features.
2967 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
2969         * locale/programs/localedef.c (main): Always set a file name for
2970         the initial locale.
2971         * locale/programs/locfile.c (locfile_read): filename is allowed to
2972         be NULL.
2974 2001-04-12  Paul Bame  <paul_bame@hp.com>
2976         * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
2977         enable flags.
2979 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
2981         * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
2982         _XBS5_LPBIG_OFFBIG): Define to -1.
2983         Fix typos.
2985         * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
2986         * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
2987         * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2988         * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2990         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
2991         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
2993 2001-03-21  Alan Modra  <alan@one.net.au>
2995         * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
2996         value from application so that constructors in non-PIC libs work.
2998 2000-12-13  Jes Sorensen  <jes@linuxcare.com>
3000         * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
3001         function pointer, hence load the jump address and gp from the
3002         function pointer before jumping.
3004 2001-04-24  Andreas Jaeger  <aj@suse.de>
3006         * sysdeps/generic/send.c (__send): Return ssize_t.
3007         * sysdeps/mach/hurd/send.c (__send): Likewise.
3008         * sysdeps/mach/hurd/recv.c (recv): Likewise.
3009         * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
3010         * sysdeps/generic/sendto.c (sendto): Likewise.
3011         * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
3012         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
3013         * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
3014         * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
3016         * socket/sys/socket.h: send* and recv* return ssize_t.
3018         * include/sys/socket.h: send returns ssize_t.
3020         * sysdeps/i386/fpu_control.h: Fix comments.
3022 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
3024         * sysdeps/ia64/Dist: Add hp-timing.c.
3025         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
3026         * posix/Makefile (distribute): Add tst-getconf.sh.
3027         * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
3029 2001-04-23  Ulrich Drepper  <drepper@redhat.com>
3031         * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
3032         * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
3033         * sysdeps/ia64/hp-timing.c: New file.
3034         * sysdeps/ia64/hp-timing.h: New file.
3035         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
3036         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
3038         * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
3039         using #ifdef whether the clock is available.
3040         * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
3042         * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
3043         it into data section.
3045         * sysdeps/unix/i386/i586/clock_getres.c: Removed.
3046         * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
3047         * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
3048         * sysdeps/unix/i386/i586/clock_settime.c: Removed.
3049         * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
3050         * sysdeps/generic/cpuclock-init.h: Removed.
3051         * sysdeps/unix/i386/i686/Implies: Removed.
3052         * sysdeps/unix/i386/i686/tempname.c: Removed.
3053         * sysdeps/i386/i686/Versions: New file.
3054         * sysdeps/unix/i386/i586/Versions: Removed.
3056         * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
3057         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
3058         * sysdeps/unix/clock_gettime.c: Likewise.
3059         * sysdeps/unix/clock_nanosleep.c: Likewise.
3060         * sysdeps/unix/clock_settime.c: Likewise.
3061         * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
3062         RANDOM_BITS use CPU clock.
3064         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
3065         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
3066         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
3067         * sysdeps/sparc/Versions: New file.
3069         * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
3070         hp-timing.h definitions.
3071         * sysdeps/generic/dl-sysdep.c: Likewise.
3073         * include/libc-internal.h: Include hp-timing.h.  Use hp_timing_t in
3074         __get_clockfreq prototype.
3076         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3077         Use hp_timing_t type.
3078         * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
3080         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
3082         * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
3083         whether named file is a regular file or a block device.
3084         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
3086 2001-04-23  Andreas Jaeger  <aj@suse.de>
3088         * nscd/nscd.h: Add noreturn attribute for start_threads.
3090 2001-04-22  Ulrich Drepper  <drepper@redhat.com>
3092         * posix/getconf.c: Fix names of XBS5 LFS test variables.
3093         Add missing configuration variables from XPG6.
3094         * posix/tst-getconf.c: New file.
3095         * posix/Makefile (generated): Add tst-getconf.out.
3096         (tests): Add ($objpfx)tst-getconf.out.
3097         Add rule to run tst-getconf.sh.
3098         * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
3099         from XPG6.
3100         * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
3101         _PC_SYMLINK_MAX.
3102         * sysdeps/posix/pathconf.c: Likewise.
3103         * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
3104         and _SC_SYMLOOP_MAX.
3106 2001-04-22  Philip Blundell  <philb@gnu.org>
3108         * sysdeps/arm/fpu/feenablxcpt.c: New file.
3109         * sysdeps/arm/fpu/fedisablxcpt.c: New file.
3110         * sysdeps/arm/fpu/fegetexcpt.c: New file.
3112 2001-04-22  Philip Blundell  <philb@gnu.org>
3114         * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
3115         Renamed from struct user_fp.
3116         (struct user_regs): New.
3117         (struct user): Use struct user_regs rather than struct pt_regs to
3118         avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
3119         of struct user_fp and struct user_fp_struct.
3120         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
3121         not sys/elf.h.
3123 2001-04-22  Philip Blundell  <philb@gnu.org>
3125         * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
3126         sys/procfs.h, and tell the user to include that file instead.
3127         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
3128         surrounded with #if 0.
3129         (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
3130         from sys/elf.h.
3131         (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
3132         elf_fpregset_t respectively.
3134 2001-04-22  Philip Blundell  <philb@gnu.org>
3136         * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
3137         address that faulted.
3139 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
3141         * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
3142         values.
3143         * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
3144         * posix/confstr.c: Handle _CS_POSIX_V6_* values.
3145         * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
3146         * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
3148         * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
3149         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3150         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3151         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
3153 2001-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3155         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
3156         offset.
3158 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
3160         * posix/getopt.h: Treat __cplusplus like __STDC__.
3162 2001-04-20  John S. Marvin  <jsm@fc.hp.com>
3164         * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
3165         entry point stub.
3167 2001-04-20  Richard Hirst  <rhirst@linuxcare.com>
3169         * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
3170         and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
3172         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
3173         entry so the ptrace.c wrapper is used.
3175 2001-04-20  Alan Modra  <amodra@one.net.au>
3177         * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
3178         (DL_FUNCTION_ADDRESS): Define.
3179         (DL_DT_INIT_ADDRESS): Define.
3180         (DL_DT_FINI_ADDRESS): Define.
3181         * sysdeps/hppa/Versions: Add _dl_function_address.
3182         * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
3183         * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
3184         _dl_function_address.
3186 2001-04-21  Andreas Jaeger  <aj@suse.de>
3188         * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
3189         * resolv/gai_misc.c (handle_requests): Likewise.
3190         * malloc/obstack.c (print_and_abort): Likewise.
3191         * malloc/mcheck.c (mabort): Likewise.
3193         * sysdeps/unix/i386/i586/clock_settime.c: Include
3194         "libc-internal.h" for __get_clockfreq declaration.
3196 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
3198         * elf/dl-support.c: Include cpuclock-init.h.  Use CPUCLOCK_VARDEF and
3199         CPUCLOCK_INIT if defined.
3200         * sysdeps/generic/dl-sysdep.c: Likewise.
3201         * sysdeps/generic/cpuclock-init.h: New file.
3202         * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
3203         * sysdeps/unix/i386/i586/Versions: New file.
3204         * sysdeps/unix/i386/i586/clock_settime.c: New file.
3205         * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
3206         separately by calling __pthread_clock_gettime if this function is
3207         available.  Subtract offset from tsc value before computing time value.
3209 2001-04-20  Ulrich Drepper  <drepper@redhat.com>
3211         * iconv/iconv_prog.c (print_known_names): If printing goes not to
3212         a tty print in a more machine-friendly way.
3214         * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
3215         Contributed by Stephen L Moshier <moshier@mediaone.net>.
3217 2001-04-20  Andreas Jaeger  <aj@suse.de>
3219         * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
3221 2001-04-20  Andreas Schwab  <schwab@suse.de>
3223         * sysdeps/m68k/fpu/libm-test-ulps: Update.
3225 2001-04-19  Alan Modra  <amodra@one.net.au>
3227         * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
3228         * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
3229         (CFLAGS-.os): Remove.
3231         * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
3233         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
3234         gregset): Correct for new kernel definitions.
3236 2001-04-19  Alan Modra  <alan@linuxcare.com.au>
3238         * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
3239         generate unwind info by hand.
3241 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
3243         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
3245         * configure.in: Correct regular expression for msgfmt.
3246         Patch by Bruno Haible <haible@ilog.fr>.
3248 2001-04-19  Andreas Jaeger  <aj@suse.de>
3250         * po/el.po: Add comment explaining what's broken.
3252         * po/Makefile (BROKEN_LINGUAS): New.
3253         (ALL_LINGUAS): Don't add broken languages.
3255 2001-04-19  Roland McGrath  <roland@frob.com>
3257         * sysdeps/mach/hurd/mlock.c: New file.
3258         * sysdeps/mach/hurd/munlock.c: New file.
3259         * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
3261         * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
3262         * sysdeps/generic/mlock.c: New file.
3263         * sysdeps/generic/munlock.c: New file.
3264         * sysdeps/generic/mlockall.c: New file.
3265         * sysdeps/generic/munlockall.c: New file.
3266         * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
3267         * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
3268         mlockall, munlockall): Change caller field to - from EXTRA.
3269         Don't use __ names; not used (and not declared in include/sys/mman.h).
3271         * hurd/privports.c (__get_privileged_ports): Renamed with __.
3272         Use __ names for calls we make.
3273         (get_privileged_ports): Add alias.
3274         * hurd/hurd.h: Declare it with the __ name.
3275         * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
3276         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
3277         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
3279         * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
3280         nothing if it's zero.
3282 2001-04-19  Matthew Wilcox  <willy@ldl.fc.hp.com>
3284         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
3285         Change to return a signed result for compatibility with other
3286         architectures, and correctness.
3288 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
3290         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
3291         HPPA always had them.  Patch by Matthew Wilcox <matthew@wil.cx>.
3293 2001-04-19  Andreas Jaeger  <aj@suse.de>
3295         * configure.in: Require gettext 0.10.36 or newer.
3297         * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
3299         * po/zh_TW.po: Remove extraneous backslashes.
3301         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
3302         variables b and n.
3304 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
3306         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
3307         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
3308         * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
3309         * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
3310         Copy first word of uc_sigmask into __uc_sigmask.
3311         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
3312         Save uc_link around trap.  Copy __uc_sigmask into first word of
3313         uc_sigmask, clear the rest.  Make sure setcontext to the created
3314         context doesn't do this though.
3315         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
3316         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
3317         uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
3318         64bit version, make uc_sigmask __sigset_t in the 32bit version.
3320 2001-04-19  Andreas Jaeger  <aj@suse.de>
3322         * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
3324         * rt/Makefile (otherlibs): Added for static NSS.
3326         * glibcbug.in (BUGGLIBC): Send to new alias.
3328 2001-04-02  Andreas Schwab  <schwab@suse.de>
3330         * Makerules (build-module): Make sure exit codes get checked
3331         properly and remove unnecessary slashes.
3333 2001-04-17  Ulrich Drepper  <drepper@redhat.com>
3335         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3336         Handle kernels which report only three digits after the decimal point.
3337         Reported by Van Okamura <van.okamura@oracle.com>.
3339         * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
3341 2001-04-17  David S. Miller  <davem@redhat.com>
3343         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
3344         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3346 2001-04-17  Jakub Jelinek  <jakub@redhat.com>
3348         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
3349         desired exceptions are raised for exceptional values.
3350         * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
3351         cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
3352         clog_test, log_test, log1p_test, tan_test): Increase precision of
3353         expected values to satisfy ldbl-128.
3354         * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
3355         * sysdeps/arm/libm-test-ulps: Likewise.
3356         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3357         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3358         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
3359         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
3360         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3361         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3362         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3363         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3364         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3366 2001-04-17  Andreas Jaeger  <aj@suse.de>
3368         * configure.in: Move test for critical programs up.
3370 2001-04-16  Stephen L Moshier  <moshier@mediaone.net>
3372         * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
3373         Correct the values.
3374         (pSx, qSx): Replace by shorter approximation.
3375         Use f suffix on float constants.
3377 2001-04-16  Ulrich Drepper  <drepper@redhat.com>
3379         * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
3380         Contributed by Stephen L Moshier <moshier@mediaone.net>.
3382         * string/string.h: Replace const in attribute list with __const__.
3384 2001-04-16  Roland McGrath  <roland@frob.com>
3386         * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
3387         instead of the constant NGROUPS_MAX.  That way, the limit can be
3388         raised in the kernel configuration without having to recompile libc.
3390         * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
3391         define NGROUPS_MAX; we don't use it here.
3393 2001-04-16  Andreas Jaeger  <aj@suse.de>
3395         * math/libm-test.inc (atan2_test): Add more testcases.
3397         * iconv/gconv_db.c: Include gconv_charset.h for
3398         __gconv_lookup_alias prototype.
3400 2001-04-13  Ulrich Drepper  <drepper@redhat.com>
3402         * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
3403         Contributed by Stephen L Moshier <moshier@mediaone.net>.
3405 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
3407         * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
3409 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
3411         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
3412         explicitly pad struct siginfo instead of relying on compiler padding.
3414 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
3416         * sysdeps/ia64/Dist: Add elf/entry.h.
3418         * iconvdata/Makefile (distribute): Add TESTS2.
3420 2001-04-13  Jakub Jelinek  <jakub@redhat.com>
3422         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
3423         Calculate load address differently.
3425 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
3427         * iconvdata/TESTS2: New file.
3428         * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
3429         * iconvdata/testdata/alfabeta..UTF-8: New file.
3430         * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
3431         * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
3432         * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
3433         * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
3435 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
3437         * iconvdata/utf-32.c: New file.
3438         * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
3439         * iconvdata/Makefile (modules): Add UTF-32.
3440         (distribute): Add utf-32.c.
3442 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
3444         * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
3445         changing it in the state.  After incrementing 'inptr', store it back.
3446         * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
3447         store it back.
3449 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
3451         * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
3452         MIN_NEEDED_FROM.
3454 2001-04-11  David Mosberger  <davidm@hpl.hp.com>
3456         * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
3457         * sysdeps/ia64/htons.S: Likewise.
3459         * sysdeps/ia64/memset.S: Add unwind directives.
3460         * sysdeps/ia64/strncpy.S: Likewise.
3461         * sysdeps/ia64/strcat.S: Likewise.
3463         * sysdeps/ia64/memccpy.S: Add unwind directives.  Drop superfluous
3464         restore of ar.pfs.
3465         * sysdeps/ia64/strchr.S: Likewise.
3466         * sysdeps/ia64/memmove.S: Likewise.
3467         * sysdeps/ia64/memcpy.S: Likewise.
3468         * sysdeps/ia64/memcmp.S: Likewise.
3469         * sysdeps/ia64/memchr.S: Likewise.
3470         * sysdeps/ia64/strcmp.S: Likewise.
3471         * sysdeps/ia64/strlen.S: Likewise.
3472         * sysdeps/ia64/strcpy.S: Likewise.
3473         * sysdeps/ia64/strncmp.S: Likewise.
3475 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
3477         * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
3478         fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
3479         fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
3480         fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
3482 2001-04-11  Andreas Jaeger  <aj@suse.de>
3484         * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
3486 2001-04-11  Andreas Schwab  <schwab@suse.de>
3488         * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
3490 2001-04-11  Ulrich Drepper  <drepper@redhat.com>
3492         * sysdeps/arm/stackinfo.h: New file.
3494 2001-04-08  Thorsten Kukuk  <kukuk@suse.de>
3496         * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
3497         rpcgen to generate thread safe code.
3499 2001-04-10  Andreas Jaeger  <aj@suse.de>
3501         * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
3503 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
3505         * elf/dl-minimal.c (__assert_fail): Change error string.  It's
3506         most of the time no bug in ld.so.
3507         (__assert_perror_fail): Likewise.
3509 2001-04-11  Hans-Peter Nilsson  <hp@axis.com>
3511         * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
3512         from struct to unsigned int.
3514 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3516         * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
3517         AT_IGNOREPPC): New defines.
3518         * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
3519         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
3520         Define for newer powerpc kernels.
3521         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
3522         DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
3524 2000-4-10  kaz Kojima  <kkojima@rr.iij4u.or.jp>
3526         * sysdeps/sh/stackinfo.h: New file.
3528 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
3530         * locale/tst-C-locale.c (run_test): Add tests for locale objects.
3531         * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
3532         __ctype_tolower, and __ctype_toupper elements.
3534         * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
3535         Reported by Konstantin Osipov <rabid@spylog.ru>.
3537         * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
3538         the lousy AMD FPU.
3540 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3542         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
3543         * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
3544         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
3545         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
3547 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
3549         * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
3550         message.  Based on a patch by HJ Lu.
3552 2001-04-10  Andreas Schwab  <schwab@suse.de>
3554         * math/libm-test.inc (csinh_test): Don't require the invalid
3555         exception for csinh (x + iNaN), but make it optional.
3557 2001-04-09  David Mosberger  <davidm@hpl.hp.com>
3559         * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
3561         * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
3562         * sysdeps/ia64/elf/entry.h: New file.
3563         * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
3564         __start.
3565         * elf/rtld.c: Don't declare ENTRY_POINT.  Use ENTRY_POINT instead
3566         of &ENTRY_POINT.
3567         * sysdeps/generic/dl-sysdep.c: Likewise.
3568         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3569         * sysdeps/ia64/elf/start.S: Save base address of register backing
3570         store in __libc_ia64_register_backing_store_base.
3572 2001-04-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3574         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
3575         value of getcontext.
3576         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3577         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
3578         value of setcontext.
3579         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3580         * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
3581         call by changing the saved context.
3583 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
3585         * sysdeps/alpha/stackinfo.h: New file.
3586         * sysdeps/ia64/stackinfo.h: New file.
3588 2001-04-10  Andreas Schwab  <schwab@suse.de>
3590         * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
3591         values.
3592         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
3594 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
3596         * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
3597         * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
3599         * libio/Makefile (distribute): Add fd_to_filename.h.
3601 2001-04-05  David S. Miller  <davem@redhat.com>
3603         Add hp-timing support for sparcv9/sparc64 targets.
3604         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
3605         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
3606         * sysdeps/sparc/sparc64/hp-timing.c: New file
3607         * sysdeps/sparc/sparc64/hp-timing.h: New file
3608         * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
3609         * sysdeps/sparc/sparc64/Makefile: Likewise.
3611 2001-04-09  Jakub Jelinek  <jakub@redhat.com>
3613         * sysdeps/generic/fd_to_filename.h: New file.
3614         * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
3615         * libio/freopen.c (freopen): If FILENAME is NULL, try to get
3616         filename from the open file descriptor.
3617         * libio/freopen64.c (freopen64): Likewise.
3619 2001-04-09  Bruno Haible  <haible@clisp.cons.org>
3621         * misc/error.c (error): fflush stdout also if
3622         error_print_progname != NULL.
3623         (error_at_line): Likewise.
3625 2001-04-07  Bruno Haible  <haible@clisp.cons.org>
3627         * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
3628         (struct binding): Add codeset_cntr field.
3629         (_nl_load_domain): Add domainbinding argument.
3630         (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
3631         (_nl_find_msg): New declaration, moved here from loadinfo.h.
3632         * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
3633         (_nl_make_l10nflist): Remove domainbinding argument.
3634         (_nl_find_msg): Move declaration to gettextP.h.
3635         * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
3636         to 0.  Increment it when ->codeset is changed.
3637         * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
3638         (_nl_find_msg): Add domainbinding argument.  Reinitialize the converter
3639         if domainbinding->codeset_cntr has been incremented.
3640         * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
3641         _nl_make_l10nflist().  Pass it to _nl_load_domain() instead.
3642         * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
3643         * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
3644          from _nl_load_domain.  Append //TRANSLIT also when using libiconv.
3645         (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
3646         (_nl_load_domain): Add domainbinding argument.  Call
3647         _nl_init_domain_conv.
3648         (_nl_unload_domain): Call _nl_free_domain_conv.
3649         * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
3650         (test-srcs): Add tst-codeset.
3651         (tests): Depend on tst-codeset.out.
3652         (tst-codeset.out): New rule.
3653         (CFLAGS-tst-codeset.c): New variable.
3654         * intl/tst-codeset.sh: New file.
3655         * intl/tstcodeset.po: New file.
3656         * intl/tst-codeset.c: New file.
3657         * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
3658         calls.
3660 2001-04-07  Roland McGrath  <roland@frob.com>
3662         * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
3664 2001-03-31  Roland McGrath  <roland@frob.com>
3666         * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
3667         copying send rights into child.  When we hit our name for our proc
3668         port, just copy NEWPROC directly instead of repeating proc_task2proc
3669         to install the child's port.
3671 2001-04-08  Roland McGrath  <roland@frob.com>
3673         * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
3674         in second column, to provide default values for third column.
3675         * shlib-versions: Add comments about using DEFAULT in second column.
3676         (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
3677         (cris-.*-linux.*): Likewise.
3679 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
3681         * Makefile (distribute): Add scripts/documented.sh.
3682         * scripts/documented.sh: New file.
3684 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3686         * sysdeps/unix/sysv/linux/cris/Dist: New file.
3687         * sysdeps/unix/sysv/linux/cris/Makefile: New file.
3688         * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
3689         * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
3690         * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
3691         * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
3692         * sysdeps/unix/sysv/linux/cris/brk.c: New file.
3693         * sysdeps/unix/sysv/linux/cris/chown.c: New file.
3694         * sysdeps/unix/sysv/linux/cris/clone.S: New file.
3695         * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
3696         * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
3697         * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
3698         * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
3699         * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
3700         * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
3701         * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
3702         * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
3703         * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
3704         * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
3705         * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
3706         * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
3707         * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
3708         * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
3709         * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
3710         * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
3711         * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
3712         * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
3713         * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
3714         * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
3715         * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
3716         * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
3717         * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
3718         * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
3719         * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
3720         * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
3721         * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
3722         * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
3723         * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
3724         * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
3725         * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
3726         * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
3727         * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
3728         * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
3729         * sysdeps/unix/sysv/linux/cris/socket.S: New file.
3730         * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
3731         * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
3732         * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
3733         * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
3734         * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
3735         * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
3737 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3739         * sysdeps/cris/Dist: New file.
3740         * sysdeps/cris/Implies: New file.
3741         * sysdeps/cris/Makefile: New file.
3742         * sysdeps/cris/__longjmp.S: New file.
3743         * sysdeps/cris/_mcount.S: New file.
3744         * sysdeps/cris/bits/endian.h: New file.
3745         * sysdeps/cris/bits/setjmp.h: New file.
3746         * sysdeps/cris/bits/string.h: New file.
3747         * sysdeps/cris/dl-machine.h: New file.
3748         * sysdeps/cris/elf/start.S: New file.
3749         * sysdeps/cris/machine-gmon.h: New file.
3750         * sysdeps/cris/memcopy.h: New file.
3751         * sysdeps/cris/memusage.h: New file.
3752         * sysdeps/cris/setjmp.S: New file.
3753         * sysdeps/cris/sysdep.h: New file.
3754         * sysdeps/cris/wordcopy.c: New file.
3756 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3758         * elf/elf.h: Add new relocations for CRIS.
3760 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3762         * shlib-versions: Add cases for Linux on CRIS.
3764 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3766         * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
3767         ';' for comments and '@' for line separator.
3769 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3771         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
3772         typo; s/==/=/ for assignment.
3774 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3776         * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
3778 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3780         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
3781         empty input before checking full output.
3783 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3785         * iconv/gconv.c (__gconv): Don't derefer parameter cd before
3786         checking if == -1L.
3788 2001-04-08  Ulrich Drepper  <drepper@redhat.com>
3790         * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
3792 2001-04-07  Stephen L Moshier  <moshier@mediaone.net>
3794         * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
3795         return values.
3797 2001-04-07  Ulrich Drepper  <drepper@redhat.com>
3799         * stdlib/tst-setcontext.c (main): Add a test for setcontext.
3801         * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
3802         * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
3803         * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
3804         * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
3805         * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
3806         * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
3808 2001-04-07  Andreas Jaeger  <aj@suse.de>
3810         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
3811         instead of separate sin and cos.
3812         (__ieee754_j1l): Likewise.
3814 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
3816         * sysdeps/ia64/abort-instr.h: New file.  Code by David Mosberger.
3818         * sysdeps/ia64/atomicity.h: New file.  Copied from libstdc++.
3820         * sysdeps/i386/i486/atomicity.h: Clean up the asms.
3822         * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
3823         available.
3824         * sysdeps/generic/e_scalbf.c: Likewise.
3825         * sysdeps/generic/e_scalbl.c: Likewise.
3826         Patch by Mark Hatle <fray@mvista.com>.
3828 2001-04-05  David S. Miller  <davem@redhat.com>
3830         * sysdeps/sparc/abort-instr.h: New file.
3832 2001-04-05  Matt Wilson  <msw@redhat.com>
3834         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
3835         added code to parse new 2.4 format.
3836         (GET_NPROCS_CONF_PARSER): Likewise.
3838 2001-04-05  David S. Miller  <davem@redhat.com>
3840         * scripts/config.sub: Recognize sparcv9b like sparcv9.
3841         * configure.in: Add sparcv9b.
3842         * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
3843         * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
3844         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
3846 2001-04-06  David Mosberger  <davidm@hpl.hp.com>
3848         * stdlib/tst-setcontext.c: Move st2[] to global scope.
3849         (f2): Verify that stack pointer is inside st2[].
3851         * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
3852         * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
3854 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
3856         * timezone/antarctica: Update from tzdata2001b.
3857         * timezone/asia: Likewise.
3858         * timezone/australasia: Likewise.
3859         * timezone/europe: Likewise.
3860         * timezone/northamerica: Likewise.
3862         * iconv/iconv_open.c: Move strip and upstr definitions...
3863         * iconv/gconv_charset.h: ...here.  New file.
3864         * iconv/gconv_db.c (once): Move to file level.
3865         (do_lookup_alias): Split out from __gconv_find_transform.
3866         (__gconv_find_transform): Call do_lookup_alias.
3867         (__gconv_loopup_alias): New function.
3868         * locale/langinfo.h: Define _NL_*_CODESET values for all categories
3869         but LC_CTYPE.
3870         * locale/categories.def: Add entries for new _NL_*_CODESET values.
3871         * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
3872         * locale/C-address.c: Initialize _NL_*_CODESET element.
3873         * locale/C-collate.c: Likewise.
3874         * locale/C-identification.c: Likewise.
3875         * locale/C-measurement.c: Likewise.
3876         * locale/C-messages.c: Likewise.
3877         * locale/C-monetary.c: Likewise.
3878         * locale/C-name.c: Likewise.
3879         * locale/C-numeric.c: Likewise.
3880         * locale/C-paper.c: Likewise.
3881         * locale/C-telephone.c: Likewise.
3882         * locale/C-time.c: Likewise.
3883         * locale/localeinfo.h: Declare _nl_C_codeset.
3884         * locale/C_name.c: Define _nl_C_codeset.
3885         * locale/findlocale.c: Before accepting locale check that the used
3886         charset does not conflict with what the locale name said.
3887         * locale/programs/ld-address.c: Emit codeset information.
3888         * locale/programs/ld-collate.c: Likewise.
3889         * locale/programs/ld-identification.c: Likewise.
3890         * locale/programs/ld-measurement.c: Likewise.
3891         * locale/programs/ld-messages.c: Likewise.
3892         * locale/programs/ld-monetary.c: Likewise.
3893         * locale/programs/ld-name.c: Likewise.
3894         * locale/programs/ld-numeric.c: Likewise.
3895         * locale/programs/ld-paper.c: Likewise.
3896         * locale/programs/ld-telephone.c: Likewise.
3897         * locale/programs/ld-time.c: Likewise.
3899         * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
3900         if the locale data couldn't be found.
3902         * string/Makefile: Define tst-strxfrm-ENV.
3904         * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
3906 2001-04-06  Andreas Jaeger  <aj@suse.de>
3908         * include/sys/profil.h: New file.
3910         * dlfcn/modatexit.c: Add prototypes to silence GCC.
3911         * dlfcn/modcxaatexit.c: Likewise.
3912         * elf/globalmod1.c: Likewise.
3914 2001-04-05  David S. Miller  <davem@redhat.com>
3916         * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
3917         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
3918         capability flags table and HWCAP_IMPORTANT, increase
3919         _DL_HWCAP_COUNT to 6.
3920         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3922 2001-04-04  David Mosberger  <davidm@hpl.hp.com>
3924         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
3925         initialization of stack_end (bug reported by Zheng Gengbin
3926         <gzheng@students.uiuc.edu>).
3928 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
3930         * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
3932 2001-04-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3934         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
3936 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
3938         * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
3939         * sysdeps/i386/fpu/e_asinl.S: Removed.  Too inaccurate.
3941         * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
3943 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3945         * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
3946         define simple replacements here.  Patch by Michael Keezer.
3948         * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
3949         * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
3950         Contributed by Stephen L Moshier <moshier@mediaone.net>.
3952         * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
3953         anymore.
3955 2001-04-01  Andreas Jaeger  <aj@suse.de>
3957         * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
3958         alias.
3960         * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
3962 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3964         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
3965         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
3967 2001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3969         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
3970         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
3971         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
3972         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
3973         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
3974         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
3975         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
3976         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
3977         * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
3979 2001-04-04  Andreas Jaeger  <aj@suse.de>
3981         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
3982         place.
3984 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3986         * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
3987         * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
3988         * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
3989         (unsigned_dec): Likewise.
3990         Patch by atai@jezebel.dreamhost.com.
3992         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
3993         pointer to int as last parameter of yp_match.
3994         Patch by kanazawa@flab.fujitsu.co.jp.
3996 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
3998         * resolv/netdb.h (gai_strerror): Make return value const.
3999         * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
4000         * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
4001         Add strings for new error values.
4003 2001-03-29  Michael Keezer  <mkeezer@redhat.com>
4005         * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
4006         * login/tst-utmp.c: Handle case where ut_tv is not available but
4007         ut_time is.
4008         * sysdeps/unix/sysv/aix/utmpx.h: New file.
4009         * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
4010         _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
4011         * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
4012         * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
4013         to access RTCU timer reg.
4014         * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
4015         added dl-libc, dl-open,dl-sym, dl-close to misc.
4016         * sysdeps/unix/sysv/aix/start.c: New file.  Start code.
4017         * sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
4018         * sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
4019         * sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
4020         * sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
4021         * sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
4022         * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
4023         GLIBC_2_2).
4024         * sysdeps/generic/strtoull.c: Likewise.
4025         * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
4026         * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
4027         sysdeps/generic/memset.c.
4028         * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
4030 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
4032         * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
4033         * locale/programs/charmap.c: Define null_pointer if
4034         NEED_NULL_POINTER is defined.
4036         * misc/dirname.c (dirname): Handle multiple slashes correctly.
4038 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4040         * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
4042 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4044         * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
4045         * sysdeps/s390/s390-64/bcopy.S: Likewise.
4046         * sysdeps/s390/s390-32/mempcy.S: Likewise.
4047         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4049 2001-04-02  Bruno Haible  <haible@clisp.cons.org>
4051         * manual/message.texi (Advanced gettext functions): More specific
4052         syntax in the plural formula examples.
4054 2001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4056         * sysdeps/powerpc/atomicity.h: Silence warnings.
4057         * sysdeps/powerpc/dl-machine.h: Likewise.
4058         * sysdeps/powerpc/register-dump.h: Likewise.
4059         * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
4061 2001-04-02  Andreas Jaeger  <aj@suse.de>
4063         * misc/tst-dirname.c (main): Add more tests, derived from a bug
4064         report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
4066 2001-04-01  Andreas Jaeger  <aj@suse.de>
4068         * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
4069         is installed there.
4070         * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
4072 2001-04-01  H.J. Lu  <hjl@gnu.org>
4074         * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
4075         tmpnam (NULL).
4076         * stdlib/isomac.c (macrofile): Likewise.
4078 2001-03-30  Thorsten Kukuk  <kukuk@suse.de>
4080         * inet/rcmd.c: Allow AF_UNSPEC as parameter.
4081         * nis/ypclnt.c (yp_all): Print error message only at last try,
4082         check for protocoll error only if we don't have a network error.
4084 2001-04-02  Andreas Schwab  <schwab@suse.de>
4086         * resolv/res_data.c (res_isourserver): Fix cast.
4088 2001-04-02  Andreas Jaeger  <aj@suse.de>
4090         * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
4091         __umount2.
4093         * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
4094         strings.
4095         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
4097         * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
4098         initializers.
4099         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
4101         * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
4102         warning about unused variable.
4104         * string/string.h (strndupa): Add cast for C++ conformance.
4105         (strdupa): Likewise.
4106         Fixes PR libc/2173, reported by tbrowder@home.com.
4108 2001-03-30  Roland McGrath  <roland@frob.com>
4110         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
4111         options after $(build-module), which is no longer a single command.
4112         (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
4113         (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
4114         variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
4116 2001-03-11  Roland McGrath  <roland@frob.com>
4118         * elf/rtld.c (dl_main): Add cast to quiet warning.
4119         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4120         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
4121         (__gconv_read_conf): Likewise.
4122         * iconv/gconv_db.c (gen_steps): Likewise.
4123         (__gconv_find_transform): Likewise.
4124         * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
4125         (fopen_uncompressed): Use const in second argument's type.
4127 2001-03-11  Roland McGrath  <roland@frob.com>
4129         * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
4131         * mach/mach_error.h: Fix ancient #endif syntax.
4132         * hurd/hurdmalloc.c: Likewise.
4134         * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
4135         compare_and_swap): Add volatile qualifier to first arg, to bring
4136         these prototypes in line with all the other implementations.
4137         Add a #warning to remind the builder that these are not atomic.
4139 2001-03-04  Roland McGrath  <roland@frob.com>
4141         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
4142         member of TEMP_F so its type is _IO_FILE * as expected.
4144         * hurd/fopenport.c (seekio): Conditionalize type of POS argument
4145         on [USE_IN_LIBIO].  Check the value for overflow, since for libio
4146         it might exceed off_t's range.
4148 2001-02-25  Roland McGrath  <roland@frob.com>
4150         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
4151         * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
4153         * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
4154         macro instead of an inline function,
4155         (MSG_EXAMINE): Likewise.
4157         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
4159         * hurd/get-host.c: Include <string.h> for decls of built-ins.
4160         * hurd/hurdchdir.c: Likewise.
4161         * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
4162         * sysdeps/mach/hurd/opendir.c: Likewise.
4164         * mach/mach_init.c: Include <unistd.h> for _exit decl.
4166         * mach/errsystems.awk: Give output file a trailing newline.
4168         * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
4169         the script will use our compiler for the cpp stage.
4171         With --enable-all-warnings we get a whole bunch of warnings,
4172         and these are just a few fixes; there are more needed to silence it.
4173         * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
4174         decls before extern inline defns to quiet gcc warning.
4175         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
4176         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
4178 2001-03-31  Andreas Jaeger  <aj@suse.de>
4180         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
4181         (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
4182         (ARPHRD_CISCO): New.
4183         Changes from Linux 2.4.3.
4185 2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
4187         * posix/regex.c: Avoid an access violation if malloc fails.
4189 2001-03-30  Andreas Jaeger  <aj@suse.de>
4191         * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
4193 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
4195         * posix/regex.c: Remove unnecessary ifs.
4197         * math/bits/mathcalls.h: Remove infnan declaration.
4199 2001-03-29  H.J. Lu  <hjl@gnu.org>
4201         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
4202         and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
4203         * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
4205 2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
4207         * posix/regex.c: Fix typo and add a sentinel.
4209 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
4211         * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
4212         O_NOFOLLOW.  Suggested by Christoph Roland.
4214 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4216         * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
4217         * sysdeps/s390/s390-32/bits/string.h: Remove.
4218         * sysdeps/s390/s390-64/bits/string.h: Remove.
4219         * sysdeps/s390/s390-32/strcmp.S: New file.
4220         * sysdeps/s390/s390-64/strcmp.S: New file.
4222 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4224         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
4225         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4227 2001-03-27  Ulrich Drepper  <drepper@redhat.com>
4229         * version.h (VERSION): Bump to 2.2.3.
4231         * stdlib/isomac.c (fmt): Don't define _LIBC.
4232         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
4233         LOW_HALF only if _LIBC is defined.
4235         * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
4237         * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
4238         and +().
4239         * posix/tst-fnmatch.input: Add test cases for matching empty strings.
4241         * sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
4242         * include/endian.h: ...to here.
4244 2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
4246         * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
4247         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
4249 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4251         * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
4253 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
4255         * sysdeps/ia64/fpu/Dist: Add new files to distribute.
4256         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
4257         * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
4259         * gmon/Makefile (headers): Add sys/profil.h.
4261 2001-03-18  Andreas Jaeger  <aj@suse.de>
4263         * manual/install.texi (Tools for Compilation): Advise to use GCC
4264         2.95.3.
4265         (Supported Configurations): Mention s390x.
4267 2001-03-26  Ben Collins  <bcollins@debian.org>
4269         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
4270         defines to match other architectures.
4272 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
4274         * libio/Makefile (tests): Add tst-ext.
4275         * libio/tst-ext.c: New file.
4277         * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
4279 2001-03-25  Ulrich Drepper  <drepper@redhat.com>
4281         Add changes which were in this form in the original patch by
4282         Eric Norum <eric.norum@usask.ca>.
4283         * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
4284         svc_max_pollfd.
4285         * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
4286         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
4287         __rpc_thread_svc_max_pollfd.
4288         Define svc_fdset, get_rpc_createerr, svc_pollfd, and
4289         svc_max_pollfd.
4290         * sunrpc/rpc_thread.c: Handle first thread special, it uses the
4291         global variables.
4292         Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
4293         __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
4294         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
4295         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
4296         __rpc_thread_svc_max_pollfd.
4297         * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
4298         get_rpc_createerr.
4299         * sunrpc/clnt_perr.c: Likewise.
4300         * sunrpc/clnt_simp.c: Likewise.
4301         * sunrpc/clnt_tcp.c: Likewise.
4302         * sunrpc/clnt_udp.c: Likewise.
4303         * sunrpc/clnt_unix.c: Likewise.
4304         * sunrpc/pm_getport.c: Likewise.
4306         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
4307         syscall checks for negative n so don't test here as well.
4309 2001-03-23  Jes Sorensen  <jes@linuxcare.com>
4311         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
4312         * sysdeps/ia64/sysdep.h: ...here.
4314         * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
4315         * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
4317         * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
4318         declare instead of LEAF().  Suggestion from David Mosberger.
4320 2001-03-21  David Mosberger  <davidm@hpl.hp.com>
4322         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
4323         directives.
4324         (PSEUDO): Drop .psr and .lsb directives.
4326         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
4327         directives.
4328         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
4330         * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
4331         directives etc.
4332         * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
4333         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
4334         * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
4335         longer needed).  Add unwind directives.
4337         * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
4338         ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
4340 2001-03-21  Paul Eggert  <eggert@twinsun.com>
4342         * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
4343         (RE_SYNTAX_POSIX_EGREP): Use it.
4344         * posix/regex.c (regex_compile): Implement it.
4346 2001-03-21  Paul Eggert  <eggert@twinsun.com>
4348         * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
4349         Rewrite to avoid duplicate code.
4351 2001-03-21  H.J. Lu  <hjl@gnu.org>
4353         * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
4354         for cross-compiling.
4355         ($(objpfx)tst-pathopt.out): Undo the last change.
4357 2001-03-24  Mark Kettenis  <kettenis@gnu.org>
4359         * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
4360         sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
4362         * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
4363         (_dl_argv): Declare.
4364         (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
4366 2001-03-22  Andreas Jaeger  <aj@suse.de>
4368         * iconvdata/Makefile (generated): Add iconv-test.xxx.
4370         * posix/Makefile (generated): Add bug-regex2.mtrace and
4371         bug-regex2-mem.
4373 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
4375         * csu/version.c (__gnu_get_libc_release): Add prototype.
4376         (__gnu_get_libc_version): Likewise.
4377         * include/gnu/libc-version.h: Remove prototypes for not exported
4378         functions.
4380 2001-03-21  Jes Sorensen  <jes@linuxcare.com>
4382         * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
4383         for internationalized printfs to work.
4385 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
4387         * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
4388         avoid compiler warning.
4389         (_nl_find_msg): Add casts to avoid compiler warnings.
4391 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
4393         * gmon/Makefile (routines): Add sprofil.
4394         (tests): Add tst-sprofil.
4395         (noprof): Add sprofil.
4396         * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
4398 2001-03-20  David Mosberger  <davidm@hpl.hp.com>
4400         * sysdeps/generic/sprofil.c: New file.
4401         * sysdeps/posix/sprofil.c: New file.
4402         * gmon/tst-sprofil.c: New file.
4403         * gmon/sys/profil.h: New file.
4405 2001-03-20  Andreas Schwab  <schwab@suse.de>
4407         * include/unistd.h: Adjust prototype of __gethostname.
4409 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
4411         * sysdeps/sparc/stackinfo.h: New file.
4413 2001-03-21  Andreas Jaeger  <aj@suse.de>
4415         * elf/global.c (main): Use proper prototype.
4417 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
4419         * sunrpc/Makefile (routines): Add rpc_thread.
4420         (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
4421         * sunrpc/rpc_thread.c: New file.
4422         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
4423         * sunrpc/auth_none.c: Don't use global variables.  Access state in
4424         thread-local storage.
4425         * sunrpc/clnt_perr.c: Likewise.
4426         * sunrpc/clnt_raw.c: Likewise.
4427         * sunrpc/clnt_simp.c: Likewise.
4428         * sunrpc/key_call.c: Likewise.
4429         * sunrpc/rpc_common.c: Likewise.
4430         * sunrpc/svc.c: Likewise.
4431         * sunrpc/svc_raw.c: Likewise.
4432         * sunrpc/svc_simple.c: Likewise.
4433         * sunrpc/svcauth_des.c: Likewise.
4434         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
4435         _HURD_THREADVAR_RPC_VARS.
4436         * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
4437         * include/rpc/rpc.h: Define data structures for internal thread-local
4438         "global" variables.
4439         Based on patches by Eric Norum <eric.norum@usask.ca>.
4441         * elf/dl-load.c: Various little optimizations.
4443         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
4444         LINUX_LINK_MAX only if the statfs function is not implemented for
4445         the filesystem.
4447         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
4448         LINUX_LINK_MAX only if the fstatfs function is not implemented for
4449         the filesystem.
4451 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
4453         * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
4455         * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
4456         (_dl_dst_substitute): Likewise.
4458 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4460         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
4462 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4464         * intl/gettextP.h (struct expression): Add operators lnot, less_than,
4465         greater_than, less_or_equal, greater_or_equal.  Replace args2/args3
4466         union by a 'nargs' counter and an 'args[]' array.
4467         * intl/plural.y: Don't include stdarg.h.
4468         (new_exp): Take an array of arguments instead of varargs.
4469         (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
4470         ('?' ':'): Make right-associative.
4471         (EQUOP2): New token, replaces '=' and '!'.
4472         (CMPOP2): New token.
4473         (ADDOP2): New token, replaces '+' and '-'.
4474         (MULOP2): New token, replaces '*', '/' and '%'.
4475         ('!'): New token.
4476         (exp): Add rules for CMPOP2 and '!'.  Don't call YYABORT.
4477         (start): Call YYABORT here.
4478         (FREE_EXPRESSION): Update.
4479         (yylex): Don't skip "\\n".  Recognize comparison and '!' operators.
4480         Update for new token symbols.
4481         * intl/loadmsgcat.c (plvar, plone, germanic_plural,
4482         init_germanic_plural): Update.
4483         * intl/dcigettext.c (_nl_find_msg): Optimize for space.
4484         (plural_eval): Recognize comparison and '!' operators.  Optimize for
4485         space.
4487 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
4489         * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
4490         NULL any more.
4492 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
4494         * intl/loadmsgcat.c: Include headers needed for alloca().
4495         (freea): New macro.
4496         (_nl_load_domain): Add fallback code for platforms lacking alloca.
4497         * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
4498         (freea): New macro.
4499         (read_alias_file): Simplify fallback code for platforms lacking
4500         alloca.
4502 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
4504         * intl/gettextP.h (__gettextdebug): Remove declaration.
4505         (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
4506         syntax.
4507         (gettext_free_exp__, gettextparse__): New non-libc declarations.
4508         * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
4509         not __gettextparse, __gettext_free_exp.
4510         * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
4512 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
4514         * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
4516 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
4518         * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
4519         lacking strtoul, like SunOS4.
4521 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
4523         * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
4525 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
4527         * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
4528         syntax.
4529         * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
4530         * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
4531         * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
4532         syntax.
4534 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
4536         * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
4537         bindtextdomain__, bind_textdomain_codeset__): New declarations, from
4538         old libgettext.h.
4539         * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
4540         * intl/dcgettext.c: Likewise.
4541         * intl/dcigettext.c: Likewise.
4542         * intl/dcngettext.c: Likewise.
4543         * intl/dngettext.c: Likewise.
4544         * intl/finddomain.c: Likewise.
4545         * intl/ngettext.c: Likewise.
4546         * intl/textdomain.c: Likewise.
4547         * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
4548         Include gettextP.h.
4549         * intl/gettext.c: Likewise.  Don't include locale.h.
4551 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4553         * intl/gettextP.h (ZERO): New macro.
4554         (struct binding): Always use ZERO.
4555         * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
4556         lack it, like SunOS4.
4557         (set_binding_values): Use offsetof, not sizeof.
4558         * intl/dcigettext.c (offsetof): Provide fallback for platforms that
4559         lack it, like SunOS4.
4560         (ZERO): Remove macro.
4561         (struct transmem_list): Use ZERO.
4562         (DCIGETTEXT): Use offsetof, not sizeof.
4564 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4566         * intl/gettextP.h: Include <stddef.h>.  Include gettext.h, for
4567         nls_uint32.
4568         * intl/bindtextdom.c: Don't include gettext.h.
4569         * intl/dcgettext.c: Likewise.
4570         * intl/dcigettext.c: Likewise.
4571         * intl/dcngettext.c: Likewise.
4572         * intl/dngettext.c: Likewise.
4573         * intl/finddomain.c: Likewise.
4574         * intl/localealias.c: Likewise.
4575         * intl/ngettext.c: Likewise.
4576         * intl/plural.y: Likewise.
4577         * intl/textdomain.c: Likewise.
4579 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4581         * intl/gettext.h: Don't include <stdio.h>.
4583 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4585         * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
4586         * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
4588 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
4590         * sysdeps/unix/i386/i686/tempname.c: New file.
4592         * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
4593         defined use this macro to get some bits of randomness instead of
4594         the usual gettimeofday or time calls.
4596 2001-03-16  Paul Eggert  <eggert@twinsun.com>
4598         * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
4599         not defined, and if UINT64_MAX is not defined.
4601 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
4603         * elf/cache.c: Mark and have translated a few more messages.
4605 2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4607         * elf/cache.c: Add case for FLAG_S390_LIB64.
4608         * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
4609         * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
4610         * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
4612 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
4614         * string/Makefile (tests): Add tst-strxfrm.
4615         * string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
4616         * string/Depend: New file.
4618 2001-03-19  Paul Eggert  <eggert@twinsun.com>
4620         * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
4621         when given the empty string in nontrivial locales.
4623 2001-03-17  H.J. Lu  <hjl@gnu.org>
4625         * manual/Makefile (install): Use $(INSTALL_DATA) instead of
4626         cp to install `dir'.
4628 2001-03-19  Andreas Schwab  <schwab@suse.de>
4630         * Makerules (build-shlib): Make sure exit codes get checked
4631         properly.
4633 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
4635         * Makerules (build-shlib): Remove unnecessary slashes introduced in
4636         last change.
4638         * configure.in: Test for -Bgroup option of linker.
4639         * config.make.in: Define have-Bgroup.
4641         * conform/data/unistd.h-data: Require gethostname.
4642         * posix/unistd.h: Make gethostname prototype available for
4643         __USE_XOPEN2K.
4645         * crypt/Makefile: When generating DSO link with libc_nonshared.a.
4646         * debug/Makefile: Likewise.
4647         * dlfcn/Makefile: Likewise.
4648         * hesiod/Makefile: Likewise.
4649         * iconvdata/extra-module.mk: Likewise.
4650         * locale/Makefile: Likewise.
4651         * login/Makefile: Likewise.
4652         * math/Makefile: Likewise.
4653         * nis/Makefile: Likewise.
4654         * nss/Makefile: Likewise.
4655         * resolv/Makefile: Likewise.
4656         * rt/Makefile: Likewise.
4658 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
4660         * inet/Makefile (tests): Remove left-over comment.
4662         * posix/unistd.h (gethostname): Change type of second parameter
4663         back to size_t as per upcoming XPG6.
4664         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
4665         parameter back to size_t as per upcoming XPG6.
4666         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
4667         * sysdeps/unix/sysv/gethostname.c: Likewise.
4668         * sysdeps/mach/hurd/gethostname.c: Likewise.
4669         * sysdeps/generic/gethostname.c: Likewise.
4671 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
4673         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4674         Handle NaN here.
4676         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
4677         Internationalize.
4679 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
4681         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
4682         looking for name matches.
4684 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
4686         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
4687         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
4688         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
4689         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4690         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
4691         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
4692         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
4693         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
4694         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
4695         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
4696         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
4697         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
4699 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
4701         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
4702         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4704         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
4705         erfcl.
4706         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4708 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
4710         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
4711         Drop hack that was needed for 2.1.1 kernel headers.
4713         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
4715         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
4716         overlay with kernel's "struct sigcontext".
4718         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
4719         sys/rse.h for "misc" subdir.
4720         (sysdep_routines): Add __start_context for "stdlib" subdir.
4722         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
4723         kernel file of the same name).
4725         * stdlib/Makefile (tests): Add tst-setcontext.
4726         * stdlib/tst-setcontext.c: New file (based on a sample program by
4727         Uli Drepper).
4729         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
4730         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
4731         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
4732         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
4733         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
4735         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
4736         instead of shift & and.
4738 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4740         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
4741         * sysdeps/s390/bits/huge_val.h: ...here.
4742         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
4743         * sysdeps/s390/s390-64/ffs.c: Move to...
4744         * sysdeps/s390/ffs.c: ...here.
4745         * sysdeps/s390/s390-32/ffs.c: Remove.
4747 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
4749         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
4750         update osversion from more recent library.
4752 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4754         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
4755         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
4756         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
4757         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
4758         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
4759         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
4760         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
4761         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
4762         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
4763         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
4764         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
4765         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
4766         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
4767         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
4768         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
4769         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
4770         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
4771         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
4772         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
4773         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
4774         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
4775         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
4776         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
4777         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
4778         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
4779         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
4780         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
4781         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
4782         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
4783         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
4784         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
4785         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
4786         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
4787         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
4788         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
4789         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
4790         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
4791         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
4792         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
4793         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
4794         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
4795         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
4796         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
4797         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
4798         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
4799         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
4800         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
4801         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
4802         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
4803         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
4804         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
4805         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
4806         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
4807         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
4808         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
4809         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
4810         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
4811         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
4812         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
4813         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
4814         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
4815         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
4816         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
4817         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
4818         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
4819         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
4820         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
4821         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
4822         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
4823         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
4824         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
4825         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
4826         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
4827         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
4828         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
4829         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
4830         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
4831         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
4832         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
4833         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
4834         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
4835         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
4836         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
4837         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
4838         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
4839         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
4840         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
4841         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
4842         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
4843         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
4844         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
4845         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
4846         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
4847         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
4848         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
4849         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
4850         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
4851         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
4852         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
4853         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
4854         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
4855         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
4856         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
4857         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
4858         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
4859         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
4860         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
4861         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
4862         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4863         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
4864         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
4865         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
4866         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
4867         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
4869 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4871         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
4872         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
4873         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
4874         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
4875         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
4876         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
4877         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
4878         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
4879         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
4880         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
4881         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
4882         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
4883         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
4884         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
4885         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
4886         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
4887         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
4888         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
4889         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
4890         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
4891         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
4892         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
4893         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
4894         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
4895         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
4896         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
4897         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
4898         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
4899         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
4900         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
4901         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
4902         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
4903         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
4904         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
4905         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
4906         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
4907         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
4908         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
4909         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
4910         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
4911         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
4912         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
4913         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
4914         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
4915         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
4916         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
4917         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
4918         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
4919         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
4920         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
4921         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
4922         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
4923         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
4925 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4927         * sysdeps/s390/Dist: Move to...
4928         * sysdeps/s390/390-32/Dist: ...here.
4929         * sysdeps/s390/Implies: Move to...
4930         * sysdeps/s390/s390-32/Implies: ...here.
4931         * sysdeps/s390/Makefile: Move to...
4932         * sysdeps/s390/s390-32/Makefile: ...here.
4933         * sysdeps/s390/Versions: Move to...
4934         * sysdeps/s390-32/s390/Versions: ...here.
4935         * sysdeps/s390/add_n.S: Move to...
4936         * sysdeps/s390/s390-32/add_n.S: ...here.
4937         * sysdeps/s390/addmul_1.S: Move to...
4938         * sysdeps/s390/s390-32/addmul_1.S: ...here.
4939         * sysdeps/s390/atomicity.h: Move to...
4940         * sysdeps/s390/s390-32/atomicity.h: ...here.
4941         * sysdeps/s390/backtrace.c: Move to...
4942         * sysdeps/s390/s390-32/backtrace.c: ...here.
4943         * sysdeps/s390/bcopy.S: Move to...
4944         * sysdeps/s390/s390-32/bcopy.S: ...here.
4945         * sysdeps/s390/bits/byteswap.h: Move to...
4946         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
4947         * sysdeps/s390/bits/huge_val.h: Move to...
4948         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
4949         * sysdeps/s390/bsd-_setjmp.S: Move to...
4950         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
4951         * sysdeps/s390/bsd-setjmp.S: Move to...
4952         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
4953         * sysdeps/s390/bzero.S: Move to...
4954         * sysdeps/s390/s390-32/bzero.S: ...here.
4955         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
4956         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
4957         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
4958         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
4959         * sysdeps/s390/elf/start.S: Move to...
4960         * sysdeps/s390/s390-32/elf/start.S: ...here.
4961         * sysdeps/s390/ffs.c: Move to...
4962         * sysdeps/s390/s390-32/ffs.c: ...here.
4963         * sysdeps/s390/memchr.S: Move to...
4964         * sysdeps/s390/s390-32/memchr.S: ...here.
4965         * sysdeps/s390/memcpy.S: Move to...
4966         * sysdeps/s390/s390-32/memcpy.S: ...here.
4967         * sysdeps/s390/memset.S: Move to...
4968         * sysdeps/s390/s390-32/memset.S: ...here.
4969         * sysdeps/s390/mul_1.S: Move to...
4970         * sysdeps/s390/s390-32/mul_1.S: ...here.
4971         * sysdeps/s390/s390-mcount.S: Move to...
4972         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
4973         * sysdeps/s390/strcpy.S: Move to...
4974         * sysdeps/s390/s390-32/strcpy.S: ...here.
4975         * sysdeps/s390/strncpy.S: Move to...
4976         * sysdeps/s390/s390-32/strncpy.S: ...here.
4977         * sysdeps/s390/sub_n.S: Move to...
4978         * sysdeps/s390/s390-32/sub_n.S: ...here.
4980 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4982         * sysdeps/s390/s390-64/Dist: New file.
4983         * sysdeps/s390/s390-64/Implies: New file.
4984         * sysdeps/s390/s390-64/Makefile: New file.
4985         * sysdeps/s390/s390-64/__longjmp.c: New file.
4986         * sysdeps/s390/s390-64/add_n.S: New file.
4987         * sysdeps/s390/s390-64/atomicity.h: New file.
4988         * sysdeps/s390/s390-64/backtrace.c: New file.
4989         * sysdeps/s390/s390-64/bcopy.S: New file.
4990         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
4991         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
4992         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
4993         * sysdeps/s390/s390-64/bits/string.h: New file.
4994         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
4995         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
4996         * sysdeps/s390/s390-64/bzero.S: New file.
4997         * sysdeps/s390/s390-64/dl-machine.h: New file.
4998         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
4999         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
5000         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
5001         * sysdeps/s390/s390-64/elf/start.S: New file.
5002         * sysdeps/s390/s390-64/ffs.c: New file.
5003         * sysdeps/s390/s390-64/initfini.c: New file.
5004         * sysdeps/s390/s390-64/memchr.S: New file.
5005         * sysdeps/s390/s390-64/memcpy.S: New file.
5006         * sysdeps/s390/s390-64/memset.S: New file.
5007         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
5008         * sysdeps/s390/s390-64/setjmp.S: New file.
5009         * sysdeps/s390/s390-64/strcpy.S: New file.
5010         * sysdeps/s390/s390-64/strncpy.S: New file.
5011         * sysdeps/s390/s390-64/sub_n.S: New file.
5012         * sysdeps/s390/s390-64/sysdep.h: New file.
5014 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
5016         * scripts/config.guess: Add support for Linux on 64 bit S/390.
5017         * scripts/config.sub: Likewise.
5019 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
5021         * configure.in: Add support for 64 bit S/390.
5023         * elf/elf.h: Add new relocations for 64 bit S/390.
5025         * shlib-versions: Add rules for Linux on 64 bit S/390.
5027 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
5029         * sysdeps/s390/__longjmp.c: Move to...
5030         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
5031         to load the floating point registers that should be saved
5032         according to the ABI.
5034         * sysdeps/s390/bits/setjmp.h: Move to...
5035         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
5036         the use of long long in the __jmp_buf type definition.
5038         * sysdeps/s390/bits/string.h: Move to...
5039         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
5040         #ifndef _FORCE_INLINES.
5042         * sysdeps/s390/dl-machine.h: Move to...
5043         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
5044         executables EI_CLASS in elf_machine_matches_host.
5046         * sysdeps/s390/elf/setjmp.S: Move to...
5047         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
5048         branches to globally defined symbol __sigsetjmp by branches to
5049         a local label (this avoids the generation of a R_390_PC16DBL
5050         relocation in -fpic code).
5052         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
5053         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
5055         * sysdeps/s390/initfini.c: Move to...
5056         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
5057         ".align 4,0x07".
5059         * sysdeps/s390/setjmp.S: Move to...
5060         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
5061         floating point registers that should be saved according to the ABI.
5063         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
5065         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
5066         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.  Include
5067         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
5069 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
5071         * configure.in: Change machine=s390 to machine=s390/s390-32.
5073         * elf/elf.h: Correct comment for R_390_PLT16DBL.
5075 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
5077         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
5078         version to be overriden from config.h.
5079         * csu/abi-note.S: Use OS and version separately, include config.h.
5080         * elf/dl-load.c (_dl_osversion): New.
5081         (_dl_map_object_from_fd): Kill some warnings.
5082         (open_verify): Check .note.ABI-tag of the library if present.
5083         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
5084         * elf/cache.c (struct cache_entry): Add osversion.
5085         (print_entry): Print osversion.
5086         (print_cache): Pass osversion to it.
5087         (compare): Sort according to osversion.
5088         (save_cache): Set osversion.
5089         (add_to_cache): Add osversion argument.
5090         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
5091         process_elf_file): Add osversion argument.
5092         * elf/readlib.c (process_file): Likewise.
5093         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
5094         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
5095         process_elf32_file, process_elf64_file): Likewise.
5096         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
5097         process_elf32_file, process_elf64_file): Likewise.
5098         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
5099         process_elf32_file, process_elf64_file): Likewise.
5100         * elf/ldconfig.c (manual_link): Pass it.
5101         (search_dir): Issue diagnostic if two libs with the same soname in
5102         the same directory have different .note.ABI-tag.  Record osversion in
5103         dlib_entry and use it from there.
5104         (struct lib_entry): Remove.
5105         (struct dlib_entry): Add osversion.
5106         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
5107         osversion.
5108         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
5109         field with osversion.
5110         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
5111         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
5112         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
5113         version in _dl_osversion.
5114         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
5115         * Makerules (build-shlib-helper, build-module-helper): New.
5116         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
5117         early.
5118         * config.h.in (__ABI_TAG_VERSION): Add.
5119         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
5120         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
5121         Handle LD_ASSUME_KERNEL.
5122         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
5124 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
5126         * timezone/antarctica: Update from tzdata2001a.
5127         * timezone/asia: Likewise.
5128         * timezone/australasia: Likewise.
5129         * timezone/backward: Likewise.
5130         * timezone/etcetera: Likewise.
5131         * timezone/europe: Likewise.
5132         * timezone/leapseconds: Likewise.
5133         * timezone/northamerica: Likewise.
5134         * timezone/southamerica: Likewise.
5135         * timezone/systemv: Likewise.
5136         * timezone/yearistype: Likewise.
5137         * timezone/zone.tab: Likewise.
5138         * timezone/tzdump.c: Update from tzcode2001a.
5140 2001-03-15  H.J. Lu  <hjl@gnu.org>
5142         * intl/Makefile: Fix a typo.
5144 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
5146         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
5147         writing arc structures.
5149 2001-03-15  H.J. Lu  <hjl@gnu.org>
5151         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
5152         cross-compiling.
5154 2001-03-13  Andreas Schwab  <schwab@suse.de>
5156         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
5158 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
5160         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
5161         for control message fitting into message data.
5162         Patch by James Antill <james@and.org>.
5164         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
5165         FNM_EXTMATCH.
5167         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
5168         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
5170         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
5171         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
5172         avoid running binaries with libc versions without FNM_EXTMATCH support.
5174         * include/wchar.h: Add prototype for __wcscat.
5175         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
5177         * posix/fnmatch.h (FNM_EXTMATCH): Define.
5178         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
5179         (posixly_correct): Move global variable here.
5180         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
5181         (fnmatch): Pretty printing.
5182         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
5183         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
5184         * posix/tst-fnmatch.input: Add tests for extended matching.
5186         * posix/testfnm.c: Add test for patterns with multiple ** before /.
5187         * posix/fnmatch_loop.c: Fix problem with the test above.
5189 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
5191         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
5192         reference to usqrt.
5194         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
5196 2001-03-12  Andreas Jaeger  <aj@suse.de>
5198         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5199         Use EM_X86_64 instead of EM_X8664.
5201 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
5203         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
5205         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
5206         conditions.
5208         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
5209         conditions.
5211         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
5212         correctly.
5213         (__cos): Likewise.
5215         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
5216         correctly.
5217         (__ieee754_acos): Likewise.
5219 2001-03-12  Andreas Jaeger  <aj@suse.de>
5221         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
5222         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
5224         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
5225         redefinition.
5227 2001-03-11  Roland McGrath  <roland@frob.com>
5229         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
5231 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
5233         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
5234         LITTLE_ENDI.
5236         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
5237         parameter list.
5239         Last-bit accurate math library implementation by IBM Haifa.
5240         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
5241         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
5242         Anna Reitman <reitman@il.ibm.com>.
5243         * math/Makefile (dbl-only-routines): New variable.
5244         (libm-routines): Add $(dbl-only-routines).
5245         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
5246         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
5247         implementation.
5248         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
5249         implementation.
5250         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
5251         implementation.
5252         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
5253         __kernel_cos.
5254         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
5255         implementation.
5256         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
5257         remainder implementation.
5258         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
5259         implementation.
5260         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
5261         implementation.
5262         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
5263         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
5264         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
5265         implementation.
5266         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
5267         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
5268         implementation.
5269         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
5270         and __kernel_cos.
5271         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
5272         implementation.
5273         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
5274         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
5275         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
5276         * sysdeps/ieee754/dbl-64/atnat.h: New file.
5277         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
5278         * sysdeps/ieee754/dbl-64/branred.c: New file.
5279         * sysdeps/ieee754/dbl-64/branred.h: New file.
5280         * sysdeps/ieee754/dbl-64/dla.h: New file.
5281         * sysdeps/ieee754/dbl-64/doasin.c: New file.
5282         * sysdeps/ieee754/dbl-64/doasin.h: New file.
5283         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
5284         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
5285         * sysdeps/ieee754/dbl-64/endian.h: New file.
5286         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
5287         * sysdeps/ieee754/dbl-64/mpa.c: New file.
5288         * sysdeps/ieee754/dbl-64/mpa.h: New file.
5289         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
5290         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
5291         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
5292         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
5293         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
5294         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
5295         * sysdeps/ieee754/dbl-64/mplog.c: New file.
5296         * sysdeps/ieee754/dbl-64/mplog.h: New file.
5297         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
5298         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
5299         * sysdeps/ieee754/dbl-64/mptan.c: New file.
5300         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
5301         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
5302         * sysdeps/ieee754/dbl-64/root.tbl: New file.
5303         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
5304         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
5305         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
5306         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
5307         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
5308         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
5309         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
5310         * sysdeps/ieee754/dbl-64/uexp.h: New file.
5311         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
5312         * sysdeps/ieee754/dbl-64/ulog.h: New file.
5313         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
5314         * sysdeps/ieee754/dbl-64/upow.h: New file.
5315         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
5316         * sysdeps/ieee754/dbl-64/urem.h: New file.
5317         * sysdeps/ieee754/dbl-64/uroot.h: New file.
5318         * sysdeps/ieee754/dbl-64/usncs.h: New file.
5319         * sysdeps/ieee754/dbl-64/utan.h: New file.
5320         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
5321         * sysdeps/i386/fpu/branred.c: New file.
5322         * sysdeps/i386/fpu/doasin.c: New file.
5323         * sysdeps/i386/fpu/dosincos.c: New file.
5324         * sysdeps/i386/fpu/halfulp.c: New file.
5325         * sysdeps/i386/fpu/mpa.c: New file.
5326         * sysdeps/i386/fpu/mpatan.c: New file.
5327         * sysdeps/i386/fpu/mpatan2.c: New file.
5328         * sysdeps/i386/fpu/mpexp.c: New file.
5329         * sysdeps/i386/fpu/mplog.c: New file.
5330         * sysdeps/i386/fpu/mpsqrt.c: New file.
5331         * sysdeps/i386/fpu/mptan.c: New file.
5332         * sysdeps/i386/fpu/sincos32.c: New file.
5333         * sysdeps/i386/fpu/slowexp.c: New file.
5334         * sysdeps/i386/fpu/slowpow.c: New file.
5335         * sysdeps/ia64/fpu/branred.c: New file.
5336         * sysdeps/ia64/fpu/doasin.c: New file.
5337         * sysdeps/ia64/fpu/dosincos.c: New file.
5338         * sysdeps/ia64/fpu/halfulp.c: New file.
5339         * sysdeps/ia64/fpu/mpa.c: New file.
5340         * sysdeps/ia64/fpu/mpatan.c: New file.
5341         * sysdeps/ia64/fpu/mpatan2.c: New file.
5342         * sysdeps/ia64/fpu/mpexp.c: New file.
5343         * sysdeps/ia64/fpu/mplog.c: New file.
5344         * sysdeps/ia64/fpu/mpsqrt.c: New file.
5345         * sysdeps/ia64/fpu/mptan.c: New file.
5346         * sysdeps/ia64/fpu/sincos32.c: New file.
5347         * sysdeps/ia64/fpu/slowexp.c: New file.
5348         * sysdeps/ia64/fpu/slowpow.c: New file.
5349         * sysdeps/m68k/fpu/branred.c: New file.
5350         * sysdeps/m68k/fpu/doasin.c: New file.
5351         * sysdeps/m68k/fpu/dosincos.c: New file.
5352         * sysdeps/m68k/fpu/halfulp.c: New file.
5353         * sysdeps/m68k/fpu/mpa.c: New file.
5354         * sysdeps/m68k/fpu/mpatan.c: New file.
5355         * sysdeps/m68k/fpu/mpatan2.c: New file.
5356         * sysdeps/m68k/fpu/mpexp.c: New file.
5357         * sysdeps/m68k/fpu/mplog.c: New file.
5358         * sysdeps/m68k/fpu/mpsqrt.c: New file.
5359         * sysdeps/m68k/fpu/mptan.c: New file.
5360         * sysdeps/m68k/fpu/sincos32.c: New file.
5361         * sysdeps/m68k/fpu/slowexp.c: New file.
5362         * sysdeps/m68k/fpu/slowpow.c: New file.
5364         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
5365         codepages.
5367 2001-03-11  Andreas Jaeger  <aj@suse.de>
5369         * elf/elf.h (EM_*): Synch with official list.
5371 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
5373         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
5375 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
5377         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
5378         variables addr & len.
5380 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
5382         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
5383         punctuation in asm constraint.
5385 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
5387         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
5388         <time.h> to get definition of `struct timespec'.
5390 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
5392         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
5393         LD_WARN=1, not if LD_WARN is unset.
5395 2001-03-07  Andreas Schwab  <schwab@suse.de>
5397         * elf/ldconfig.h: Moved to ...
5398         * sysdeps/generic/ldconfig.h: ... here.
5399         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
5400         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
5401         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
5402         * elf/readlib.c (interpreters, known_libs): Use
5403         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
5404         instead of hard coding old names.
5406 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
5408         * catgets/Makefile (generated): Add test-gencat.h.
5409         (sample.SJIS.cat): Also generate header.
5410         * catgets/sample.SJIS: Add new set and message, both with symbolic
5411         names.
5412         * catgets/test-gencat.sh: Also compare generated header with what
5413         we expect.
5415 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
5417         * catgets/gencat.c (read_input_file): Preserve properly symbolic
5418         names.
5420 2001-03-06  Andreas Jaeger  <aj@suse.de>
5422         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
5423         needed.
5424         (elf_machine_pltrel_p): Likewise.
5425         * sysdeps/powerpc/dl-machine.h: Likewise.
5426         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
5428 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
5430         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
5431         dl-procinfo.h.
5433 2001-03-05  Philip Blundell  <philb@gnu.org>
5435         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
5436         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
5437         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
5438         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
5439         dl-procinfo.
5441 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
5443         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
5444         is not available.
5445         * dlfcn/tstcxaatexit.c (main): Likewise.
5447 2001-03-10  Andreas Jaeger  <aj@suse.de>
5449         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
5451 2001-03-09  Andreas Jaeger  <aj@suse.de>
5453         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
5454         both new and old EM_S390 values.
5455         (EM_S390_OLD): New constant.
5457         * elf/elf.h (EM_S390): Use official value.
5459 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
5461         * conform/data/sys/socket.h-data: Allow SO* symbols.
5463 2001-03-07  Andreas Schwab  <schwab@suse.de>
5465         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
5466         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
5468 2001-03-07  Andreas Jaeger  <aj@suse.de>
5470         * resolv/Makefile (routines): Only build gai_sigqueue when threads
5471         are available.
5473 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
5475         * elf/ldconfig.c (_dl_sysdep_message): Remove.
5476         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
5477         ldsodefs.h.
5478         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
5480         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
5481         _dl_error_printf instead of _dl_sysdep_error.
5482         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5483         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
5484         Use _dl_printf instead of _dl_sysdep_message.
5485         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
5486         Likewise.
5488 2001-03-06  Ben Collins  <bcollins@debian.org>
5490         * manual/arith.texi (Integers): Fix documentation of fast and
5491         least integer typedefs.
5493 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
5495         * resolv/Depend: New file.
5496         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
5497         when libpthread is built.
5499 2001-03-06  Andreas Jaeger  <aj@suse.de>
5501         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
5503         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
5504         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
5506 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
5508         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
5510 2001-03-05  Andreas Jaeger  <aj@suse.de>
5512         * stdlib/msort.c (qsort): Don't use alloca in a function call.
5514 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
5516         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
5517         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
5518         always return zero.
5519         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5520         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
5521         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
5522         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
5523         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5524         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
5525         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
5527 2001-03-04  Andreas Jaeger  <aj@suse.de>
5529         * stdlib/longlong.h: Don't use multi-line strings.
5530         * iconvdata/tst-loading.c: Likewise.
5532         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
5533         string.
5535 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
5537         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
5539         * rt/lio_listio.c: Add a few asserts.
5541         * elf/global.c: New file.
5542         * elf/globalmod1.c: New file.
5543         * elf/Makefile: Add rules to build and run global.
5545         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
5546         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5547         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5548         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5549         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5551         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
5552         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5554         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
5556         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
5557         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5559         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
5561         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
5563 2001-03-04  Andreas Jaeger  <aj@suse.de>
5565         * resolv/tst-aton.c: Add testcase for IP with four periods.
5567         * resolv/inet_addr.c: Don't recognize an IP with four periods.
5568         Patch by Andre' Breiler <A.Breiler@gmx.net>.
5570 2001-02-27  Philip Blundell  <pb@futuretv.com>
5572         * elf/elf.h: Add new ARM definitions from latest (B-01)
5573         specification.  Correct naming of EF_ARM_ALIGN8 et al.
5575 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
5577         * stdio-common/tst-printf.sh: Remove bashisms.
5578         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
5580 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
5582         * Versions.def: Add libanl definition.
5583         * shlib-versions: Add entry for libanl.
5584         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
5585         (routines): Add gai_sigqueue.
5586         (extra-libs): Add libanl.
5587         (libanl-routines): New variable.
5588         Add rules to build libanl and ga_test.
5589         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
5590         [libanl]: New library.
5591         * resolv/netdb.h: Add definitions for libanl.
5592         * resolv/getaddrinfo_a.c: New file.
5593         * resolv/gai_cancel.c: New file.
5594         * resolv/gai_error.c: New file.
5595         * resolv/gai_misc.c: New file.
5596         * resolv/gai_misc.h: New file.
5597         * resolv/gai_notify.c: New file.
5598         * resolv/gai_suspend.c: New file.
5599         * resolv/ga_test.c: New file.
5600         * sysdeps/generic/gai_sigqueue.c: New file.
5601         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
5602         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
5603         and provide only that definition.
5604         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
5605         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
5606         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5607         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5608         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5609         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5611         * rt/aio_misc.c: Fix typos in comments.
5612         * rt/lio_listio.c: Pretty printing.  Little optimization in request
5613         list handling.
5615         * elf/rtld.c: Remove commented out code.
5617         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
5618         Update for real 2.4 kernels.
5620 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
5622         * elf/dl-load.c: Pretty printing.
5624         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
5625         twice.
5627 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
5629         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
5630         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
5632         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
5634         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
5635         machines.
5637         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
5639 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
5641         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
5642         _dl_debug_mask.
5644         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
5645         _dl_debug_printf.
5646         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
5647         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
5648         _dl_debug_printf_c, and _dl_printf.
5649         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
5650         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
5651         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
5652         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
5653         * elf/dl-close.c: Replace use of old output functions with the new
5654         ones.
5655         * elf/dl-deps.c: Likewise.
5656         * elf/dl-error.c: Likewise.
5657         * elf/dl-fini.c: Likewise.
5658         * elf/dl-init.c: Likewise.
5659         * elf/dl-load.c: Likewise.
5660         * elf/dl-lookup.c: Likewise.
5661         * elf/dl-minimal.c: Likewise.
5662         * elf/dl-open.c: Likewise.
5663         * elf/dl-profile.c: Likewise.
5664         * elf/dl-reloc.c: Likewise.
5665         * elf/dl-version.c: Likewise.
5666         * elf/do-lookup.h: Likewise.
5667         * elf/rtld.c: Likewise.
5668         * sysdeps/generic/dl-cache.c: Likewise.
5669         * sysdeps/generic/dl-sysdep.c: Likewise.
5670         * sysdeps/generic/libc-start.c: Likewise.
5671         * sysdeps/i386/dl-machine.h: Likewise.
5672         * sysdeps/arm/dl-machine.h: Likewise.
5673         * sysdeps/hppa/dl-machine.h: Likewise.
5674         * sysdeps/m68k/dl-machine.h: Likewise.
5675         * sysdeps/powerpc/dl-machine.h: Likewise.
5676         * sysdeps/s390/dl-machine.h: Likewise.
5677         * sysdeps/sh/dl-machine.h: Likewise.
5678         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5679         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
5680         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5682         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
5684         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
5685         supported by assembler.
5687         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
5688         declaractions.
5690         * elf/rtld.c: Little optimizations in handling _dl_lazy.
5692         * elf/cache.c (save_cache): Portability changes.
5693         * elf/dl-profile.c (_dl_start_profile): Likewise.
5695         * elf/sln.c: Cleanups.  Remove arbitrary limits.
5697         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
5698         * elf/dl-deps.c: Likewise.
5699         * elf/dl-fini.c: Likewise.
5700         * elf/dl-init.c: Likewise.
5701         * elf/dl-load.c: Likewise.
5702         * elf/dl-lookup.c: Likewise.
5703         * elf/dl-open.c: Likewise.
5704         * elf/dl-reloc.c: Likewise.
5705         * elf/dl-support.c: Likewise.
5706         * elf/dl-version.c: Likewise.
5707         * elf/do-lookup.h: Likewise.
5708         * elf/rtld.c: Likewise.
5709         * sysdeps/generic/dl-cache.c: Likewise.
5710         * sysdeps/generic/ldsodefs.h: Likewise.
5711         * sysdeps/generic/libc-start.c: Likewise.
5712         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
5713         Export _dl_debug_mask.
5714         * Versions.def: Define GLIBC_2.2.3 for ld.
5716 2001-02-26  Greg McGary  <greg@mcgary.org>
5718         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
5720 2001-02-26  Paul Eggert  <eggert@twinsun.com>
5722         Modify mkstemp.c and tempname.c so that they can be used by
5723         GNU applications on non-glibc platforms.
5725         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
5727         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
5728         Include <stddef.h>, <stdint.h>, <string.h> only if
5729         STDC_HEADERS || _LIBC.
5730         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
5731         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
5732         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
5733         (__set_errno): Define this macro if <errno.h> doesn't.
5734         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
5735         Define these macros if <stdio.h> doesn't.
5736         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
5737         Define these macros if <sys/stat.h> doesn't.
5738         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
5739         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
5740         lxstat64, __xstat64): Define if not _LIBC.
5741         (struct_stat64): New macro.
5742         (direxists, __gen_tempname): Use it, to avoid a
5743         portability problem with Solaris 8.
5744         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
5745         (__gen_tempname): Invoke gettimeofday only if
5746         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
5747         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
5748         octal values like 0600.
5750 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
5752         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
5753         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5755         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
5756         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5758         * posix/wordexp-test.c (testit): Remove warnings.
5760         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
5761         (tests): Add tstatexit and tstcxaatexit.
5762         (module-names): Add modatexit and modcxaatexit.
5763         Add rules to build and run tstatexit and tstcxaatexit.
5764         * dlfcn/modatexit.c: New file.
5765         * dlfcn/modcxaatexit.c: New file.
5766         * dlfcn/tstatexit.c: New file.
5767         * dlfcn/tstcxaatexit.c: New file.
5769         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
5770         .hidden is available.
5771         * io/stat.c: If .hidden is available use it to avoid exporting
5772         functions.
5773         * io/fstat.c: Likewise.
5774         * io/lstat.c: Likewise.
5775         * io/stat64.c: Likewise.
5776         * io/fstat64.c: Likewise.
5777         * io/lstat64.c: Likewise.
5778         * sysdeps/generic/mknod.c: Likewise.
5780         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
5781         * sysdeps/generic/bb_init_func.c: Likewise.
5782         * sysdeps/generic/libc-start.c: Likewise.
5784         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
5785         (atexit): Implement using __cxa_atexit.
5786         Use .hidden if availble to avoid exporting atexit.
5787         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
5788         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
5789         * stdlib/Makefile (routines): Add old_atexit.
5790         (static-only-routines): Add atexit.
5791         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
5792         * stdlib/old_atexit.c: New file.
5794         * intl/Makefile: Remove bogus endif.
5796 2001-02-26  Andreas Jaeger  <aj@suse.de>
5798         * iconvdata/Makefile (tests): Fix typo in last patch.
5800         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
5801         available.
5802         Reported by Achim Gottinger <achim@gentoo.org>.
5804 2001-02-25  Andreas Jaeger  <aj@suse.de>
5806         * intl/Makefile (plural.c): Reorder rules so that they work if
5807         BISON doesn't exist.
5809 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
5811         * intl/locale.alias: Don't use nb_NO but define aliases for it.
5813 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
5815         * sysdeps/i386/strtok.S: Continue to return NULL after the first
5816         time this happened.
5818 2001-02-23  Andreas Jaeger  <aj@suse.de>
5820         * string/tester.c (test_strtok_r): Add testcase.
5821         (test_strtok_r): Always initialize cp for proper checking.
5823         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
5824         returning NULL correctly.
5825         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
5826         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
5828 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
5830         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
5831         including <stddef.h>.
5832         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
5833         * include/libc-symbols.h (weak_alias): Don't use .weak if
5834         HAVE_ASM_GLOBAL_DOT_NAME is defined.
5835         Patches by Michael Keezer <mkeezer@redhat.com>.
5837         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
5838         Patch by Michael Keezer <mkeezer@redhat.com>.
5840         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
5841         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
5842         (sysdep_routines): Remove restf.S and savef.S.
5843         * sysdeps/unix/sysv/aix/restf.S: Removed.
5844         * sysdeps/unix/sysv/aix/savef.S: Removed.
5845         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
5846         alternative names used on some platforms.
5847         * sysdeps/powerpc/fprsave.S: Likewise.
5848         * sysdeps/powerpc/gprrest0.S: Likewise.
5849         * sysdeps/powerpc/gprrest1.S: Likewise.
5850         * sysdeps/powerpc/gprsave0.S: Likewise.
5851         * sysdeps/powerpc/gprsave1.S: Likewise.
5852         Patch by Michael Keezer <mkeezer@redhat.com>.
5854 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
5856         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
5858 2001-02-22  Andreas Jaeger  <aj@suse.de>
5860         * string/tst-strtok.c (main): Fix error messages.
5862 2001-02-22  Andreas Jaeger  <aj@suse.de>
5864         * math/Makefile: Remove omit-long-double-fcts.
5866 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
5868         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
5869         avoid problems on MIPS I.
5870         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
5872         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
5873         noreorder".
5875 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
5877         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
5879         * sysdeps/generic/ftime.c: Include <time.h>.
5881         * configure.in: Don't check for libgd if user passed --without-gd.
5882         Patch by Achim Gottinger <achim@gentoo.org>.
5884         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
5885         first time this happened.
5886         * string/Makefile (tests): Add tst-strtok.
5888 2001-02-21  Andreas Jaeger  <aj@suse.de>
5890         * string/tst-strtok.c: New testcase, reported by
5891         Andrew Church <achurch@achurch.org>.
5893 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
5895         * libio/iofwide.c: Remove fwide alias.
5897 2001-02-20  Andreas Jaeger  <aj@suse.de>
5899         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
5900         is available.
5901         Reported by Achim Gottinger <achim@gentoo.org>.
5903 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
5905         * iconv/tst-iconv1.c (main): Remove debugging code.
5907         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
5908         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5910         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
5911         parameters.
5912         * sysdeps/generic/e_scalbf.c: Likewise.
5913         * sysdeps/generic/e_scalbl.c: Likewise.
5915         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
5916         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
5917         in libc.
5918         (routines): Replace libm_error with libc_libm_error.
5919         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
5920         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
5922 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
5924         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
5925         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
5927 2001-02-17  H.J. Lu  <hjl@gnu.org>
5929         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
5930         scratch registers across the system call.
5932 2001-02-19  Andreas Jaeger  <aj@suse.de>
5934         * malloc/Makefile (tests): Run mtrace only when perl is available.
5935         Reported by Achim Gottinger <achim@gentoo.org>.
5937 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
5939         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
5940         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5942         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
5943         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
5944         * math/libm-test.inc (j1_test): Mark constants as long double.
5945         (jn_test): Likewise.
5946         (y1_test): Likewise.
5947         (yn_test): Likewise.
5949         * libio/iogetline.c: Move return until after last statement.
5951         * localedata/show-ucs-data.c: Don't show < > for better readability.
5953         * sysdeps/ia64/fpu/Dist: New file.
5954         * sysdeps/ia64/fpu/Makefile: New file.
5955         * sysdeps/ia64/fpu/Versions: New file.
5956         * sysdeps/ia64/fpu/e_acos.S: New file.
5957         * sysdeps/ia64/fpu/e_acosf.S: New file.
5958         * sysdeps/ia64/fpu/e_acosl.S: New file.
5959         * sysdeps/ia64/fpu/e_asin.S: New file.
5960         * sysdeps/ia64/fpu/e_asinf.S: New file.
5961         * sysdeps/ia64/fpu/e_asinl.S: New file.
5962         * sysdeps/ia64/fpu/e_atan2.S: New file.
5963         * sysdeps/ia64/fpu/e_atan2f.S: New file.
5964         * sysdeps/ia64/fpu/e_atan2l.c: New file.
5965         * sysdeps/ia64/fpu/e_cosh.S: New file.
5966         * sysdeps/ia64/fpu/e_coshf.S: New file.
5967         * sysdeps/ia64/fpu/e_coshl.S: New file.
5968         * sysdeps/ia64/fpu/e_exp.S: New file.
5969         * sysdeps/ia64/fpu/e_expf.S: New file.
5970         * sysdeps/ia64/fpu/e_expl.c: New file.
5971         * sysdeps/ia64/fpu/e_fmod.S: New file.
5972         * sysdeps/ia64/fpu/e_fmodf.S: New file.
5973         * sysdeps/ia64/fpu/e_fmodl.S: New file.
5974         * sysdeps/ia64/fpu/e_hypot.S: New file.
5975         * sysdeps/ia64/fpu/e_hypotf.S: New file.
5976         * sysdeps/ia64/fpu/e_hypotl.S: New file.
5977         * sysdeps/ia64/fpu/e_log.S: New file.
5978         * sysdeps/ia64/fpu/e_log10.c: New file.
5979         * sysdeps/ia64/fpu/e_log10f.c: New file.
5980         * sysdeps/ia64/fpu/e_log10l.c: New file.
5981         * sysdeps/ia64/fpu/e_logf.S: New file.
5982         * sysdeps/ia64/fpu/e_logl.c: New file.
5983         * sysdeps/ia64/fpu/e_pow.S: New file.
5984         * sysdeps/ia64/fpu/e_powf.S: New file.
5985         * sysdeps/ia64/fpu/e_powl.S: New file.
5986         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
5987         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
5988         * sysdeps/ia64/fpu/e_remainder.S: New file.
5989         * sysdeps/ia64/fpu/e_remainderf.S: New file.
5990         * sysdeps/ia64/fpu/e_remainderl.S: New file.
5991         * sysdeps/ia64/fpu/e_scalb.S: New file.
5992         * sysdeps/ia64/fpu/e_scalbf.S: New file.
5993         * sysdeps/ia64/fpu/e_scalbl.S: New file.
5994         * sysdeps/ia64/fpu/e_sinh.S: New file.
5995         * sysdeps/ia64/fpu/e_sinhf.S: New file.
5996         * sysdeps/ia64/fpu/e_sinhl.S: New file.
5997         * sysdeps/ia64/fpu/e_sqrt.S: New file.
5998         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
5999         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
6000         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
6001         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
6002         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
6003         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
6004         * sysdeps/ia64/fpu/libm_error.c: New file.
6005         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
6006         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
6007         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
6008         * sysdeps/ia64/fpu/libm_reduce.S: New file.
6009         * sysdeps/ia64/fpu/libm_support.h: New file.
6010         * sysdeps/ia64/fpu/libm_tan.S: New file.
6011         * sysdeps/ia64/fpu/s_atan.S: New file.
6012         * sysdeps/ia64/fpu/s_atanf.S: New file.
6013         * sysdeps/ia64/fpu/s_atanl.S: New file.
6014         * sysdeps/ia64/fpu/s_cbrt.S: New file.
6015         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
6016         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
6017         * sysdeps/ia64/fpu/s_ceil.S: New file.
6018         * sysdeps/ia64/fpu/s_ceilf.S: New file.
6019         * sysdeps/ia64/fpu/s_ceill.S: New file.
6020         * sysdeps/ia64/fpu/s_cos.S: New file.
6021         * sysdeps/ia64/fpu/s_cosf.S: New file.
6022         * sysdeps/ia64/fpu/s_cosl.S: New file.
6023         * sysdeps/ia64/fpu/s_expm1.S: New file.
6024         * sysdeps/ia64/fpu/s_expm1f.S: New file.
6025         * sysdeps/ia64/fpu/s_expm1l.S: New file.
6026         * sysdeps/ia64/fpu/s_floor.S: New file.
6027         * sysdeps/ia64/fpu/s_floorf.S: New file.
6028         * sysdeps/ia64/fpu/s_floorl.S: New file.
6029         * sysdeps/ia64/fpu/s_frexp.c: New file.
6030         * sysdeps/ia64/fpu/s_frexpf.c: New file.
6031         * sysdeps/ia64/fpu/s_frexpl.c: New file.
6032         * sysdeps/ia64/fpu/s_ilogb.S: New file.
6033         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
6034         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
6035         * sysdeps/ia64/fpu/s_ldexp.S: New file.
6036         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
6037         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
6038         * sysdeps/ia64/fpu/s_log1p.S: New file.
6039         * sysdeps/ia64/fpu/s_log1pf.S: New file.
6040         * sysdeps/ia64/fpu/s_log1pl.S: New file.
6041         * sysdeps/ia64/fpu/s_logb.S: New file.
6042         * sysdeps/ia64/fpu/s_logbf.S: New file.
6043         * sysdeps/ia64/fpu/s_logbl.S: New file.
6044         * sysdeps/ia64/fpu/s_matherrf.c: New file.
6045         * sysdeps/ia64/fpu/s_matherrl.c: New file.
6046         * sysdeps/ia64/fpu/s_modf.S: New file.
6047         * sysdeps/ia64/fpu/s_modff.S: New file.
6048         * sysdeps/ia64/fpu/s_modfl.S: New file.
6049         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
6050         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
6051         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
6052         * sysdeps/ia64/fpu/s_rint.S: New file.
6053         * sysdeps/ia64/fpu/s_rintf.S: New file.
6054         * sysdeps/ia64/fpu/s_rintl.S: New file.
6055         * sysdeps/ia64/fpu/s_round.S: New file.
6056         * sysdeps/ia64/fpu/s_roundf.S: New file.
6057         * sysdeps/ia64/fpu/s_roundl.S: New file.
6058         * sysdeps/ia64/fpu/s_scalbn.S: New file.
6059         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
6060         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
6061         * sysdeps/ia64/fpu/s_significand.S: New file.
6062         * sysdeps/ia64/fpu/s_significandf.S: New file.
6063         * sysdeps/ia64/fpu/s_significandl.S: New file.
6064         * sysdeps/ia64/fpu/s_sin.c: New file.
6065         * sysdeps/ia64/fpu/s_sincos.c: New file.
6066         * sysdeps/ia64/fpu/s_sincosf.c: New file.
6067         * sysdeps/ia64/fpu/s_sincosl.c: New file.
6068         * sysdeps/ia64/fpu/s_sinf.c: New file.
6069         * sysdeps/ia64/fpu/s_sinl.c: New file.
6070         * sysdeps/ia64/fpu/s_tan.S: New file.
6071         * sysdeps/ia64/fpu/s_tanf.S: New file.
6072         * sysdeps/ia64/fpu/s_tanl.S: New file.
6073         * sysdeps/ia64/fpu/s_trunc.S: New file.
6074         * sysdeps/ia64/fpu/s_truncf.S: New file.
6075         * sysdeps/ia64/fpu/s_truncl.S: New file.
6076         * sysdeps/ia64/fpu/w_acos.c: New file.
6077         * sysdeps/ia64/fpu/w_acosf.c: New file.
6078         * sysdeps/ia64/fpu/w_acosl.c: New file.
6079         * sysdeps/ia64/fpu/w_asin.c: New file.
6080         * sysdeps/ia64/fpu/w_asinf.c: New file.
6081         * sysdeps/ia64/fpu/w_asinl.c: New file.
6082         * sysdeps/ia64/fpu/w_atan2.c: New file.
6083         * sysdeps/ia64/fpu/w_atan2f.c: New file.
6084         * sysdeps/ia64/fpu/w_atan2l.c: New file.
6085         * sysdeps/ia64/fpu/w_cosh.c: New file.
6086         * sysdeps/ia64/fpu/w_coshf.c: New file.
6087         * sysdeps/ia64/fpu/w_coshl.c: New file.
6088         * sysdeps/ia64/fpu/w_exp.c: New file.
6089         * sysdeps/ia64/fpu/w_expf.c: New file.
6090         * sysdeps/ia64/fpu/w_fmod.c: New file.
6091         * sysdeps/ia64/fpu/w_fmodf.c: New file.
6092         * sysdeps/ia64/fpu/w_fmodl.c: New file.
6093         * sysdeps/ia64/fpu/w_hypot.c: New file.
6094         * sysdeps/ia64/fpu/w_hypotf.c: New file.
6095         * sysdeps/ia64/fpu/w_hypotl.c: New file.
6096         * sysdeps/ia64/fpu/w_log.c: New file.
6097         * sysdeps/ia64/fpu/w_log10.c: New file.
6098         * sysdeps/ia64/fpu/w_log10f.c: New file.
6099         * sysdeps/ia64/fpu/w_log10l.c: New file.
6100         * sysdeps/ia64/fpu/w_logf.c: New file.
6101         * sysdeps/ia64/fpu/w_logl.c: New file.
6102         * sysdeps/ia64/fpu/w_pow.c: New file.
6103         * sysdeps/ia64/fpu/w_powf.c: New file.
6104         * sysdeps/ia64/fpu/w_powl.c: New file.
6105         * sysdeps/ia64/fpu/w_remainder.c: New file.
6106         * sysdeps/ia64/fpu/w_remainderf.c: New file.
6107         * sysdeps/ia64/fpu/w_remainderl.c: New file.
6108         * sysdeps/ia64/fpu/w_scalb.c: New file.
6109         * sysdeps/ia64/fpu/w_scalbf.c: New file.
6110         * sysdeps/ia64/fpu/w_scalbl.c: New file.
6111         * sysdeps/ia64/fpu/w_sqrt.c: New file.
6112         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
6113         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
6114         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
6115         implementation.
6116         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
6117         Change FP_ILOGBNAN for new implementation.
6118         * Verions.def: Add 2.2.3 versions.
6120 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
6122         * math/libm-test.inc (scalb_test): Require invalid exception being
6123         raised for invalid parameters.
6124         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
6125         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6126         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6128 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
6130         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
6131         value to long int.
6132         (__get_avphys_pages): Likewise.
6134 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
6136         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
6137         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
6138         * sysdeps/i386/fpu/e_powf.S: Likewise.
6139         * sysdeps/i386/fpu/e_powl.S: Likewise.
6141         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
6143 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
6145         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
6147         * sysdeps/generic/s_exp2l.c: Renamed to...
6148         * sysdeps/generic/e_exp2l.c: ...this.   New file.
6149         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
6150         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
6151         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
6152         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
6153         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
6154         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
6155         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
6156         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
6157         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
6158         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
6159         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
6160         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
6161         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
6162         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
6163         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
6164         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
6166 2001-02-17  Andreas Jaeger  <aj@suse.de>
6168         * configure.in: Allow gcc 3.
6170 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
6172         * math/w_acos.c: Move to ...
6173         * sysdeps/generic/w_acos.c: ...here.  New file.
6174         * math/w_acosf.c: Move to ...
6175         * sysdeps/generic/w_acosf.c: ...here.  New file.
6176         * math/w_acosh.c: Move to ...
6177         * sysdeps/generic/w_acosh.c: ...here.  New file.
6178         * math/w_acoshf.c: Move to ...
6179         * sysdeps/generic/w_acoshf.c: ...here.  New file.
6180         * math/w_acoshl.c: Move to ...
6181         * sysdeps/generic/w_acoshl.c: ...here.  New file.
6182         * math/w_acosl.c: Move to ...
6183         * sysdeps/generic/w_acosl.c: ...here.  New file.
6184         * math/w_asin.c: Move to ...
6185         * sysdeps/generic/w_asin.c: ...here.  New file.
6186         * math/w_asinf.c: Move to ...
6187         * sysdeps/generic/w_asinf.c: ...here.  New file.
6188         * math/w_asinl.c: Move to ...
6189         * sysdeps/generic/w_asinl.c: ...here.  New file.
6190         * math/w_atan2.c: Move to ...
6191         * sysdeps/generic/w_atan2.c: ...here.  New file.
6192         * math/w_atan2f.c: Move to ...
6193         * sysdeps/generic/w_atan2f.c: ...here.  New file.
6194         * math/w_atan2l.c: Move to ...
6195         * sysdeps/generic/w_atan2l.c: ...here.  New file.
6196         * math/w_atanh.c: Move to ...
6197         * sysdeps/generic/w_atanh.c: ...here.  New file.
6198         * math/w_atanhf.c: Move to ...
6199         * sysdeps/generic/w_atanhf.c: ...here.  New file.
6200         * math/w_atanhl.c: Move to ...
6201         * sysdeps/generic/w_atanhl.c: ...here.  New file.
6202         * math/w_cosh.c: Move to ...
6203         * sysdeps/generic/w_cosh.c: ...here.  New file.
6204         * math/w_coshf.c: Move to ...
6205         * sysdeps/generic/w_coshf.c: ...here.  New file.
6206         * math/w_coshl.c: Move to ...
6207         * sysdeps/generic/w_coshl.c: ...here.  New file.
6208         * math/w_drem.c: Move to ...
6209         * sysdeps/generic/w_drem.c: ...here.  New file.
6210         * math/w_dremf.c: Move to ...
6211         * sysdeps/generic/w_dremf.c: ...here.  New file.
6212         * math/w_dreml.c: Move to ...
6213         * sysdeps/generic/w_dreml.c: ...here.  New file.
6214         * math/w_exp10.c: Move to ...
6215         * sysdeps/generic/w_exp10.c: ...here.  New file.
6216         * math/w_exp10f.c: Move to ...
6217         * sysdeps/generic/w_exp10f.c: ...here.  New file.
6218         * math/w_exp10l.c: Move to ...
6219         * sysdeps/generic/w_exp10l.c: ...here.  New file.
6220         * math/w_exp2.c: Move to ...
6221         * sysdeps/generic/w_exp2.c: ...here.  New file.
6222         * math/w_exp2f.c: Move to ...
6223         * sysdeps/generic/w_exp2f.c: ...here.  New file.
6224         * math/w_exp2l.c: Move to ...
6225         * sysdeps/generic/w_exp2l.c: ...here.  New file.
6226         * math/w_fmod.c: Move to ...
6227         * sysdeps/generic/w_fmod.c: ...here.  New file.
6228         * math/w_fmodf.c: Move to ...
6229         * sysdeps/generic/w_fmodf.c: ...here.  New file.
6230         * math/w_fmodl.c: Move to ...
6231         * sysdeps/generic/w_fmodl.c: ...here.  New file.
6232         * math/w_hypot.c: Move to ...
6233         * sysdeps/generic/w_hypot.c: ...here.  New file.
6234         * math/w_hypotf.c: Move to ...
6235         * sysdeps/generic/w_hypotf.c: ...here.  New file.
6236         * math/w_hypotl.c: Move to ...
6237         * sysdeps/generic/w_hypotl.c: ...here.  New file.
6238         * math/w_j0.c: Move to ...
6239         * sysdeps/generic/w_j0.c: ...here.  New file.
6240         * math/w_j0f.c: Move to ...
6241         * sysdeps/generic/w_j0f.c: ...here.  New file.
6242         * math/w_j0l.c: Move to ...
6243         * sysdeps/generic/w_j0l.c: ...here.  New file.
6244         * math/w_j1.c: Move to ...
6245         * sysdeps/generic/w_j1.c: ...here.  New file.
6246         * math/w_j1f.c: Move to ...
6247         * sysdeps/generic/w_j1f.c: ...here.  New file.
6248         * math/w_j1l.c: Move to ...
6249         * sysdeps/generic/w_j1l.c: ...here.  New file.
6250         * math/w_jn.c: Move to ...
6251         * sysdeps/generic/w_jn.c: ...here.  New file.
6252         * math/w_jnf.c: Move to ...
6253         * sysdeps/generic/w_jnf.c: ...here.  New file.
6254         * math/w_jnl.c: Move to ...
6255         * sysdeps/generic/w_jnl.c: ...here.  New file.
6256         * math/w_lgamma.c: Move to ...
6257         * sysdeps/generic/w_lgamma.c: ...here.  New file.
6258         * math/w_lgammaf.c: Move to ...
6259         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
6260         * math/w_lgammaf_r.c: Move to ...
6261         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
6262         * math/w_lgammal.c: Move to ...
6263         * sysdeps/generic/w_lgammal.c: ...here.  New file.
6264         * math/w_lgammal_r.c: Move to ...
6265         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
6266         * math/w_lgamma_r.c: Move to ...
6267         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
6268         * math/w_log10.c: Move to ...
6269         * sysdeps/generic/w_log10.c: ...here.  New file.
6270         * math/w_log10f.c: Move to ...
6271         * sysdeps/generic/w_log10f.c: ...here.  New file.
6272         * math/w_log10l.c: Move to ...
6273         * sysdeps/generic/w_log10l.c: ...here.  New file.
6274         * math/w_log.c: Move to ...
6275         * sysdeps/generic/w_log.c: ...here.  New file.
6276         * math/w_logf.c: Move to ...
6277         * sysdeps/generic/w_logf.c: ...here.  New file.
6278         * math/w_logl.c: Move to ...
6279         * sysdeps/generic/w_logl.c: ...here.  New file.
6280         * math/w_pow.c: Move to ...
6281         * sysdeps/generic/w_pow.c: ...here.  New file.
6282         * math/w_powf.c: Move to ...
6283         * sysdeps/generic/w_powf.c: ...here.  New file.
6284         * math/w_powl.c: Move to ...
6285         * sysdeps/generic/w_powl.c: ...here.  New file.
6286         * math/w_remainder.c: Move to ...
6287         * sysdeps/generic/w_remainder.c: ...here.  New file.
6288         * math/w_remainderf.c: Move to ...
6289         * sysdeps/generic/w_remainderf.c: ...here.  New file.
6290         * math/w_remainderl.c: Move to ...
6291         * sysdeps/generic/w_remainderl.c: ...here.  New file.
6292         * math/w_scalb.c: Move to ...
6293         * sysdeps/generic/w_scalb.c: ...here.  New file.
6294         * math/w_scalbf.c: Move to ...
6295         * sysdeps/generic/w_scalbf.c: ...here.  New file.
6296         * math/w_scalbl.c: Move to ...
6297         * sysdeps/generic/w_scalbl.c: ...here.  New file.
6298         * math/w_sinh.c: Move to ...
6299         * sysdeps/generic/w_sinh.c: ...here.  New file.
6300         * math/w_sinhf.c: Move to ...
6301         * sysdeps/generic/w_sinhf.c: ...here.  New file.
6302         * math/w_sinhl.c: Move to ...
6303         * sysdeps/generic/w_sinhl.c: ...here.  New file.
6304         * math/w_sqrtl.c: Move to ...
6305         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
6306         * math/w_tgamma.c: Move to ...
6307         * sysdeps/generic/w_tgamma.c: ...here.  New file.
6308         * math/w_tgammaf.c: Move to ...
6309         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
6310         * math/w_tgammal.c: Move to ...
6311         * sysdeps/generic/w_tgammal.c: ...here.  New file.
6313         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
6314         formats for postal_fmt.
6316 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
6318         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
6319         __ftruncate64 alias.
6320         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
6321         Likewise.
6323 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
6325         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
6326         do "loadrs".  Writing to bspstore already takes care of
6327         invalidating the "clean" partition.
6329 2001-02-16  Andreas Schwab  <schwab@suse.de>
6331         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
6332         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
6334 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
6336         * posix/regex.c (init_syntax_once): Add prototype.
6337         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
6338         (re_search_2): Avoid warning.
6339         (count_mbs_length): Add prototype.
6340         * posix/tst-regex3.c: New file.
6341         * posix/Makefile (tests): Add bug-regex3.
6343 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
6345         * stdio-common/Makefile (tests): Add tst-gets.
6346         * stdio-common/tst-gets.c: New file.
6347         * stdio-common/tst-gets.input: New file.
6349         * elf/elf.h (DT_CHECKSUM): Define.
6351         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
6352         default symbol.
6353         * sysdeps/generic/strtoull.c: Likewise.
6355 2001-02-14  Wolfram Gloger  <wg@malloc.de>
6357         * malloc/malloc.c (new_heap): When allocating large chunk aligned
6358         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
6359         between the heaps.
6361 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
6363         * math/libm-test.inc (j0_test): Check whether sincos is available.
6364         (j1_test): Likewise.
6365         (jn_test): Likewise.
6366         (y0_test): Likewise.
6367         (y1_test): Likewise.
6368         (yn_test): Likewise.
6370         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
6371         fake filesystem routines to handle this.
6373         * time/sys/time.h: Make settimeofday and adjtime available if
6374         _BSD_SOURCE.
6376         * time/sys/time.h: Make timer* macros available for BSD.
6378         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
6379         Patch by Yong Li <rigel863@yahoo.com>.
6381         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
6382         name.
6384         * posix/Makefile (tests): Add tst-gnuglob.
6385         * posix/tst-gnuglob.c: New file.
6387 2001-02-13  H.J. Lu  <hjl@gnu.org>
6389         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
6391 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
6393         * locale/programs/ld-paper.c (paper_output): Pretty printing.
6395         * iconvdata/Makefile (modules): Add GBBIG5.
6396         (distribute): Add gbbig5.c.
6397         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
6399         * iconvdata/gbbig5.c: New file.
6400         Contributed by Yong Li <rigel863@yahoo.com>.
6402 2001-02-13  Philip Blundell  <pb@futuretv.com>
6404         * manual/crypt.texi: Remove outdated references to crypt add-on.
6406         * manual/creature.texi: Improve wording slightly.
6408 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
6410         * io/ftw.c: Always use readdir64.
6411         * io/ftw64.c: Likewise.
6412         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6413         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6414         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
6415         callback to dirent.  Still allow compiling outside glibc.
6416         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
6417         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6419         * malloc/mtrace.c: Use fopen64.
6420         * posix/spawni.c: Use __open64.
6421         * sysdeps/unix/opendir.c: Likewise.
6422         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
6424         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
6425         name a weak alias.
6426         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
6427         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
6428         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
6429         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
6431         * resolv/res_data.c: Add cast to avoid warning.
6433         * include/unistd.h: Declare __ftruncate64.
6435         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
6437         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
6438         instead of __lseek.
6440 2001-02-13  Andreas Jaeger  <aj@suse.de>
6442         * login/getutent_r.c: Include <stdlib.h> for NULL.
6443         * login/getutid_r.c: Likewise.
6445 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
6447         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
6448         * sysdeps/dbl-64/e_j1.c: Likewise.
6449         * sysdeps/dbl-64/e_jn.c: Likewise.
6450         * sysdeps/flt-32/e_j0f.c: Likewise.
6451         * sysdeps/flt-32/e_j1f.c: Likewise.
6452         * sysdeps/ldbl-96/e_j0l.c: Likewise.
6454 2000-12-02  H.J. Lu  <hjl@gnu.org>
6456         * resolv/res_libc.c (res_init): Don't make it default.
6458 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
6460         * manual/debug.texi: Improved the wording.
6461         Patch by Philip Blundell <pb@futuretv.com>.
6463 2001-02-12  Andreas Jaeger  <aj@suse.de>
6465         * posix/Makefile (tests): Don't run bug-regex2 when
6466         cross-compiling.
6468         * libio/Makefile (tests): Don't run test-freopen when
6469         cross-compiling.
6471         * manual/stdio.texi (Streams and I18N): Fix typos.
6473 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
6475         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
6477         * math/libm-test.inc (j0_test): Make expected results long double
6478         constants.
6479         (y0_test): Likewise.
6481         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
6482         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
6484 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
6486         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
6487         which was exported from libc.
6488         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
6490 2001-02-12  Andreas Jaeger  <aj@suse.de>
6492         * manual/arith.texi (Parsing of Integers): Fix some wordings.
6494 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
6496         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
6497         and get_avphys_page to long int.
6498         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
6499         * include/sys/sysinfo.h: Likewise.
6500         * sysdeps/generic/sys/sysinfo.h: Likewise.
6501         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
6503         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
6504         cannot return as many values as the user asked for.
6506 2001-02-11  Andreas Jaeger  <aj@suse.de>
6508         * manual/resource.texi (Memory Resources): Fix typo.
6510         * libio/Makefile ($(objpfx)test-freopen.out): Pass
6511         run-program-prefix.
6513         * libio/test-freopen.sh: Use run_program_prefix.
6515 2001-02-10  Andreas Jaeger  <aj@suse.de>
6517         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
6518         cross-compiling.
6519         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
6521         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
6522         only builds.
6524         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
6526         * posix/Makefile: Fix typo, it's build-static-nss.
6528         * iconv/Makefile (extra-objs): New.
6530 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
6532         * sysdeps/unix/stime.c: Include <time.h>.
6534         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
6536 2001-02-10  Andreas Jaeger  <aj@suse.de>
6538         * manual/string.texi (Search Functions): Fix typo.
6540 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
6542         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
6543         (timeval_to_clock_t): Add clk_tck argument and use that instead of
6544         CLK_TCK.
6545         (__times): Use __getclktck to get the number of clock ticks per
6546         second and use its return value instead of CLK_TCK.
6548 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
6550         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
6552 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
6554         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
6556 2001-02-10  Andreas Jaeger  <aj@suse.de>
6558         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
6559         warning.
6561 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
6563         * posix/Makefile: Add rules to build and run bug-regex2.
6564         * posix/bug-regex2.c: New file.
6566 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
6568         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
6569         (regex_compile): Likewise.
6570         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
6571         (re_match_2_internal): Use just is_binary instead of two variables.
6572         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
6574 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
6576         * version.h (VERSION): Bump to 2.2.2.
6578         * iconv/Makefile (distribute): Add iconv_charmap.c and
6579         dummy-repertoire.c.
6580         * elf/Makefile (distribute): Add firstobj.c.
6581         * Makefile (distribute): Add include/pthread.h.
6583         * configure.in: Require makeinfo version 4.
6585         * libio/tst_wscanf.c (main): Add cast to avoid warning.
6586         * libio/tst_swscanf.c (main): Likewise..
6588 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
6590         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
6591         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
6592         __NO_MATH_INLINES.
6593         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
6594         if not RTLD_BOOTSTRAP.
6595         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6596         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6598 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
6600         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
6601         lr_ungetc to push back last read character.
6602         * locale/programs/linereader.h (lr_ungetc): Don't push back is
6603         character is EOF.
6604         (lr_ignore_rest): Don't warn about garbage if it is really the end
6605         of the file.
6607         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
6608         definition.
6610 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
6612         * Makerules (build-shlib): Work around different order of
6613         processing of -B option in different gcc versions.
6615         * posix/regex.c: Fix alignment problem.
6616         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6618         * sysdeps/alpha/strrchr.S: Little optimization.
6619         Patch by Richard Henderson <rth@redhat.com>.
6621         * sysdeps/alpha/alphaev67/strrchr.S: New file.
6622         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
6624 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
6626         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
6627         in the assembler end directive.
6629 2001-02-08  Andreas Jaeger  <aj@suse.de>
6631         * manual/stdio.texi (Closing Streams): Fix typos.
6633 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
6635         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
6636         Patch by Richard Henderson <rth@redhat.com>.
6637         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
6639         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
6640         pointer in FILE structure before calling _IO_init.
6641         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
6642         strfmon_l if necessary.
6643         Reported by Jury Gerold <gjury@grips.com>.
6645         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
6646         Patch by Pekka.Pietikainen@cern.ch.
6648         * posix/regex.c: Correct several problems with 64-bit architectures
6649         introduced in the MBS changes.
6650         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6652 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
6654         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
6655         not defined.
6656         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
6658 2001-02-07  Andreas Jaeger  <aj@suse.de>
6660         * manual/install.texi (Tools for Compilation): Fix typo.
6661         Reported by Pavel Machek <pavel@bug.ucw.cz>.
6663 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
6665         * stdlib/strtod.c: Never stop prematurely reading digits before the
6666         decimal point is found.  Compute exponent limit for negative exponents
6667         correctly.  For numbers ending in all zeros eat the zeros even before
6668         the decimal point if the exponent is negative [PR libc/2072].
6669         * stdlib/Makefile (tests): Add bug-strtod.
6670         * stdlib/bug-strtod.c: New file.
6672 2001-02-07  Andreas Jaeger  <aj@suse.de>
6674         * posix/bug-regex1.c: Include <wchar.h> for fwide.
6676 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
6678         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
6679         Store index.
6680         (compile_range): Handle index being passed, not pointer.
6681         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6683         * posix/regex.c: Fix a cast in the code for bracket handling which
6684         caused 8-bit uncleanliness.
6685         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
6687         * posix/Makefile (tests): Add bug-regex1.
6688         * posix/bug-regex1.c: New file.
6689         Contributed by Jim Meyering <jim@meyering.net>.
6691         * posix/regex.c: Many cleanups for incorrect format strings.
6693 2001-02-06  Andreas Jaeger  <aj@suse.de>
6695         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
6697 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
6699         * locale/programs/locale.c (write_locales): Use scandir to read
6700         directory so that the entries are sorted.
6702 2001-02-06  Andreas Jaeger  <aj@suse.de>
6704         * include/pthread.h: New file.
6706         * wctype/wctype.h: Move internal interfaces from here to...
6707         * include/wctype.h: ...here.
6709         * wcsmbs/wchar.h: Move __wcslen from here to...
6710         * include/wchar.h: ...here.
6712         * posix/sys/wait.h: Move __wait from here to...
6713         * include/sys/wait.h: ...here.
6715         * string/string.h: Move __ffs and __strerror_r from here to...
6716         * include/string.h: ...here.
6718         * stdlib/stdlib.h: Move __on_exit from here to...
6719         * include/stdlib.h: ...here.
6721         * libio/stdio.h: Move __vsnprintf from here to...
6722         * include/stdio.h: ...here.
6724 2001-02-06  Andreas Schwab  <schwab@suse.de>
6726         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
6727         headers.
6729         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
6730         of $(inst_datadir).
6732 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
6734         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
6736 2001-02-06  Andreas Jaeger  <aj@suse.de>
6738         * elf/firstobj.c: Add prototype.
6740         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
6741         (truncate_wchar): Likewise.
6743 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
6745         * locale/programs/locale.c: Implement --verbose option for -a
6746         which prints detailed information about the locales.
6748 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
6750         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
6751         variable to uint32_t.
6752         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
6754 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
6756         * locale/C-translit.h.in: Add transliterations for CJK units of
6757         measurement.
6759 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
6761         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
6762         string.  Include <inttypes.h> instead of <stdint.h>.
6764         * localedata/Makefile (tests): Add bug-iconv-trans.
6765         Define bug-iconv-trans-ENV.
6766         * localedata/bug-iconv-trans.c: New file.
6768 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
6770         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
6771         pointer, to avoid accumulating output from incomplete (unsuccessful)
6772         transliteration attempts.
6774 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
6776         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
6777         string.  Include <inttypes.h> instead of <stdint.h>.
6779         * configure.in: Add check for bison.
6780         * config.make.in: Define BISON variable.
6781         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
6782         Rename YFLAGS to BISONFLAGS.
6784 2001-02-05  Andreas Jaeger  <aj@suse.de>
6786         * io/test-lfs.c (do_test): Test lseek64 return value, call
6787         test_ftello.
6788         (test_ftello): New function to test ftello64 and fseeko64.
6790         * signal/signal.h: Move __sigaction from here to...
6791         * include/signal.h: ...here.
6793         * io/fcntl.h: Move __fcntl and __open to...
6794         * include/fcntl.h: ...here.
6796 2001-02-04  Philip Blundell  <philb@gnu.org>
6798         * configure.in: Distinguish ARM from Thumb.
6800 2001-02-04  Philip Blundell  <philb@gnu.org>
6802         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
6803         PC24 relocs with negative value.
6805 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
6807         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
6808         files in locale/programs.  Add CFLAGS definition to allow compiling
6809         localedef files.
6810         * iconv/dummy-repertoire.c: New file.
6811         * iconv/iconv_charmap.c: New file.
6812         * iconv/iconv_prog.h: New file.
6813         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
6814         (main): If parameter for -f and -t contain slashes try first to resolve
6815         the strings as filenames of charmap files.  Use them for conversion
6816         in this case.
6817         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
6818         iconv getting charmap names as parameters.
6819         * locale/programs/linereader.c (lr_token): Take extra parameters
6820         verbose and pass it to get_string.
6821         (get_string): Take extra parameters verbose.
6822         * locale/programs/charmap.c (parse_charmap): Take extra parameters
6823         verbose and be_quiet.  Change all callers of lr_token and
6824         parse_charmap.
6825         * locale/programs/charmap.h: Likewise.
6826         * locale/programs/ld-address.c: Likewise.
6827         * locale/programs/ld-collate.c: Likewise.
6828         * locale/programs/ld-ctype.c: Likewise.
6829         * locale/programs/ld-identification.c: Likewise.
6830         * locale/programs/ld-measurement.c: Likewise.
6831         * locale/programs/ld-messages.c: Likewise.
6832         * locale/programs/ld-monetary.c: Likewise.
6833         * locale/programs/ld-name.c: Likewise.
6834         * locale/programs/ld-numeric.c: Likewise.
6835         * locale/programs/ld-paper.c: Likewise.
6836         * locale/programs/ld-telephone.c: Likewise.
6837         * locale/programs/ld-time.c: Likewise.
6838         * locale/programs/linereader.c: Likewise.
6839         * locale/programs/linereader.h: Likewise.
6840         * locale/programs/localedef.c: Likewise.
6841         * locale/programs/locfile.c: Likewise.
6842         * locale/programs/locfile.h: Likewise.
6843         * locale/programs/repertoire.c: Likewise.
6845 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
6847         * iconv/iconv_prog.c (main): If output file name is "-" write to
6848         stdout.
6849         (main): If -f or -t argument is missing use charset of the current
6850         locale.
6852 2001-02-03  Andreas Jaeger  <aj@suse.de>
6854         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
6855         boundary for SSE/SSE-2 alignment.
6857         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
6858         annexc.
6860 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
6862         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
6863         Remove comma at end of enum.
6865         * elf/dl-init.c: Add a few __builtin_expect.
6867         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
6869 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
6871         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
6872         errno is ECONNREFUSED.
6874         * posix/Makefile: Define MBS_SUPPORT for regex.c.
6875         * posix/regex.c: Implement multibyte character handling.
6876         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
6878         * string/tst-svc.input: Add two more test cases.
6879         * string/tst-svc.expect: Modify to reflect new test cases.
6881 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
6883         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
6884         tp->name tests with tp->name[0] tests.
6886 2001-01-29  Ben Collins  <bcollins@debian.org>
6888         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
6889         Fix check for name == NULL.
6891 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
6893         * elf/Makefile: Add rules to build and run initfirst test.
6894         * elf/initfirst.c: New file.
6895         * elf/firstobj.c: New file.
6897         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
6898         * configure.in: Test for -z initfirst linker option.
6899         * config.make.in: Add have-z-initfirst.
6900         * elf/dl-init.c (_dl_init): Split out actual initialization code in
6901         new function call_init.  If _dl_initfirst is non-NULL initialize first.
6902         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
6903         remember object in _dl_initfirst.
6904         * elf/soinit.c: Remove special support for calling
6905         __pthread_initialize_minimal.
6907         * conform/conformtest.pl: Add missing $prepend in type test.
6909 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
6911         * elf/elf.h (SHT_CHECKSUM): New definition.
6913         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
6914         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6915         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
6917 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
6919         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
6920         to get definition of `struct timeval'.
6922 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
6924         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
6925         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
6927 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
6929         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
6930         seen, not flags.
6932         * nis/nis_findserv.c: Include <time.h>.
6934 2001-01-30  Yong Li  <yong.li@asu.edu>
6936         * iconv/iconv_prog.c (main): Correct error handling method name.
6938 2001-01-29  Ben Collins  <bcollins@debian.org>
6940         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
6941         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
6942         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
6943         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
6945 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
6947         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
6948         Patch by Marko Myllynen <myllynen@lut.fi>.
6950         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
6951         (int instead of char).
6952         (__strpbrk_c3): Likewise.
6953         Reported by GOTO Masanori <gotom@debian.or.jp>.
6955         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
6956         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
6957         * include/sys/socket.h: Add SA_LEN here for internal use.
6958         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
6960 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
6962         * malloc/Makefile: Don't build memusagestat if cross-compiling.
6964         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
6966         * math/libm-test.inc (rint_test): Add a few more tests for round
6967         to even rounding.
6969 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
6971         * conform/data/pthread.h-data: Correct return type of pthread_exit.
6973         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
6975         * conform/data/stdlib.h-data: Add _Exit.
6977         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
6978         if not already happened.
6979         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
6980         Don't include <limits.h> and <bits/sockaddr.h>.
6982         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
6984         * conform/data/spawn.h-data: Allow all of <sched.h>.
6986         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
6987         unused variable.
6989         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
6990         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
6992         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
6994         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
6995         * libio/stdio.h: Define va_list correctly.
6997         * conform/data/pthread.h-data: Make priority protocol related
6998         functions optional.  Fix typos.
7000         * posix/sched.h: Define sched_priority as __sched_priority.
7001         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
7002         to __sched_priority.
7003         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7005 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
7007         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
7008         of <sys/time.h>.
7010         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
7011         * sysdeps/unix/time.c: Likewise.
7013         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
7014         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
7015         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
7016         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
7017         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
7018         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
7019         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
7020         * time/time.h: Likewise.
7022         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
7023         * conform/data/complex.h-data: New file.
7024         * conform/data/tgmath.h-data: New file.
7026         * conform/data/wchar.h-data: Add missing functions.
7028         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
7030         * conform/data/termios.h-data: Add missing const in tcsetattr()
7031         prototype.
7033         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
7034         Don't define pid_t here.
7036         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
7038         * conform/data/sys/time.h-data: Allow sys/select.h.
7039         * conform/data/sys/un.h-data: Fix typo.
7040         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
7041         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
7042         <sys/time.h>.
7043         * sysdeps/unix/clock_nanosleep.c: Likewise.
7044         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
7045         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
7046         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
7047         * sysdeps/unix/clock_settime.c: Likewise.
7049         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
7050         * login/getutent.c: Likewise.
7051         * login/getutid.c: Likewise.
7052         * login/getutline.c: Likewise.
7054         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
7056         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
7057         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
7058         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
7059         f_fsid field after change in struct statvfs.
7060         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
7061         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
7062         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
7064         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
7065         optional-macro.
7067         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
7068         recvfrom, send, and socketpair prototypes.  Add allow lines.
7069         * socket/sys/socket.h: Include <sys/uio.h>.
7070         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
7071         Fix type of second parameter of listen.
7072         Don't declare isfdtype unless __USE_MISC.
7073         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
7074         * sysdeps/mach/hurd/listen.c: Likewise.
7075         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
7076         ss_family and __ss_family.
7077         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
7078         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7079         (struct msghdr): Change type of msg_iovlen to int and type of
7080         msg_controllen to socklen_t.
7081         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
7082         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
7083         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
7084         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
7085         (rresvport_af): Likewise.
7087         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
7088         * conform/conformtest.pl: Implement handling of symbol.
7090         * signal/signal.h: Fix handling of __need_* symbols.
7091         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
7092         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
7093         * include/sys/select.h: Use fd_set not __fd_set.
7094         * sysdeps/generic/bits/select.h: Likewise.
7095         * sysdeps/i386/bits/select.h: Likewise.
7096         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
7097         __FDELT, __FDMASK, and __fd_set here.
7098         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
7099         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
7100         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
7101         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
7102         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
7103         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
7104         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
7105         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
7106         * time/sys/time.h: Define struct timeval before including <time.h>
7107         and <sys/select.h>.
7109         * conform/data/sys/time.h-data: fd_set is a typedef.
7110         * conform/data/sys/select.h-data: New file.
7111         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
7112         * conform/conformtest.pl (@headers): Add sys/select.h.
7113         (type, optional-type): Unless testing a typedef instantiate object.
7114         Implement optional-function.
7116         * math/test-misc.c: Include <float.h>.
7118 2001-01-27  Andreas Jaeger  <aj@suse.de>
7120         * misc/efgcvt_r.c: Include <float.h>.
7122 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
7124         * conform/data/stdlib.h-data: Account for XPG6 changes.
7125         * stdlib/stdlib.h (__random): Change return value type to long.
7126         (posix_memalign): Cleanup parameter names.
7127         (setenv, unsetenv): Make available for __USE_XOPEN2K.
7128         Change return type of unsetenv to int.
7129         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
7130         * include/stdlib.h: Change return type of unsetenv to int.
7131         Change return type of random to long int.
7132         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
7133         Return -1 and set errno if parameter is invalid.
7134         * stdlib/random.c (__random): Change return value type to long.
7136         * conform/data/stdio.h-data: Account for changes in XPG6.
7138         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
7139         prototype.
7141         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
7142         * conform/data/signal.h-data: Fix sigev_notify_function entry.
7143         Fix typo (SIGVALRM -> SIGVTALRM).
7144         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
7145         with real type.
7146         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
7147         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
7148         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
7149         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7150         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
7152         * conform/conformtest.pl: Implement optional-element.  Define
7153         $mustprepend{"sched.h"}.
7154         * conform/data/sched.h-data: Make sporadic scheduler definitions
7155         optional.
7157         * pwd/pwd.h: Don't define getpwent_r for XPG.
7159         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
7160         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
7161         * sysdeps/mach/hurd/poll.c: Likewise.
7162         * sysdeps/unix/bsd/poll.c: Likewise.
7163         * sysdeps/unix/sysv/linux/poll.c: Likewise.
7164         * sysdeps/unix/sysv/aix/poll.c: Likewise.
7165         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
7166         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
7167         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
7168         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
7169         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
7170         * conform/data/poll.h-data: Fix typo in poll prototype.
7172         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
7173         only if __USE_MISC.
7174         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
7176         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
7178         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
7180         * conform/conformtest.pl: Implement optional-type.
7182         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
7183         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
7184         defining uint32_t here.  Define IPPORT_RESERVED.
7185         (struct hostent): Type of h_length element is int.
7186         (getnameinfo): Type of flags parameter is unsigned int.
7187         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
7188         * conform/data/netdb.h-data: Add many missing definitions.
7190         * conform/conformtest.pl: Implement optional-macro.
7191         * conform/data/math.h-data: Update for XPG6.
7193         * math/math.h (HUGE): Define as FLT_MAX value but don't use
7194         FLT_MAX.  Don't include <float.h>.
7195         (MAXFLOAT): Likewise.
7197         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
7199         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
7201         * conform/data/limits.h-data: Mark constants as optional wherever
7202         appropriate.
7204         * posix/bits/posix2_lim.h: Set correct values for
7205         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
7206         EQUIV_CLASS_MAX.
7208         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
7209         Required by POSIX.
7211         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
7213         * conform/data/netinet/in.h-data: Add reserved prefixes.
7215         * conform/data/arpa/inet.h-data: Fix a few typos.
7217 2001-01-26  Andreas Jaeger  <aj@suse.de>
7219         * sysdeps/generic/strtol.c: Include <locale.h>
7220         * stdlib/strtod.c: Likewise
7221         * stdlib/strfmon.c: Likewise.
7222         * string/strcoll.c: Likewise.
7223         * string/strxfrm.c: Likewise.
7224         * wctype/wcfuncs_l.c: Likewise.
7225         * wctype/wctype_l.c: Likewise.
7226         * wctype/wctrans_l.c: Likewise.
7228         * include/bits/locale.h: New file.
7230 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
7232         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
7233         and NOSTR.
7235         * locale/Makefile (headers): Add bits/locale.h.
7236         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
7237         and use __LC_ constants instead of LC_.
7238         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
7239         using __LC_ constants.
7240         * locale/bits/locale.h: New file.
7241         * locale/loadlocale.c: Include <locale.h>.
7242         * locale/nl_langinfo.h: Likewise.
7244         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
7246         * io/sys/stat.h: Define S_IFSOCK for XPG6.
7248         * conform/data/fcntl.h-data: posix_madvise is not expected here.
7250         * conform/conformtest.pl: Fix handling of macro-str.
7252         * conform/data/inttypes.h-data: Add missing definition and all of
7253         stdint.h-data.
7255         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
7257 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
7259         * conform/conformtest.pl (@headers): Add stdint.h.
7260         * conform/data/stdint.h-data: New file.
7262         * conform/conformtest.pl: Recognize options --headers and
7263         --dialect.  Add dialect-specific CFLAGS.
7265         * conform/conformtest.pl: Implement handling of recursive
7266         allow-header.
7268         * conform/data/locale.h-data: Add new struct lconv members.
7270         * posix/wordexp.h: Correct definition of wordexp_t.
7271         * posix/wordexp.c: Moved to ...
7272         * sysdeps/generic/wordexp.c: ...here.  New file.
7273         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
7274         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
7275         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
7276         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
7277         wordexp.
7278         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
7279         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
7281         * math/tgmath.h: Pretty printing.
7283         * math/Makefile (tests): Add test-tgmath.
7284         (CFLAGS-test-tgmath.c): New variable.
7285         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
7287         * conform/conformtest.pl: Handle allow-header in secondary headers
7288         correctly.
7290         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
7291         #ifdef.
7293         * conform/data/netinet/in.h-data: Use correct comment character.
7294         * conform/data/sys/stat.h-data: Likewise.
7296 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
7298         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
7299         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
7300         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
7301         __builtin_classify_type, add ##f suffixes where appropriate.
7302         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
7303         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
7304         __builtin_classify_type.
7305         (fma): Fix spelling of first argument.
7307 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
7309         * conform/data/unistd.h-data: Mark functions removed in XPG6
7310         correctly.
7312         * posix/unistd.h: Don't make functions removed in XPG6 available if
7313         __USE_XOPEN2K.
7315         * conform/conformtest.pl: Implement optional-constant.
7316         * conform/data/unistd.h-data: Use optional-constant wherever
7317         appropriate.
7319         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
7320         constants and add _SC_STREAMS.
7321         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7323         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
7324         make old name weak alias.
7325         * sysdeps/generic/statvfs64.c: Likewise.
7326         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
7327         make old name weak alias.
7328         * sysdeps/generic/fstatvfs64.c: Likewise.
7329         * include/sys/statvfs.h: New file.
7331         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
7332         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
7333         _PC_REC_XFER_ALIGN.
7334         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
7335         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
7336         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
7337         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
7339         * conform/conformtest.pl: Run Unix tests for XPG6.
7340         Implement handling of known namespace violations.
7341         Improve printing of results.
7343         * posix/unistd.h (usleep): Correct return type.
7344         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
7345         * sysdeps/unix/bsd/usleep.c: Correct return type.
7346         * sysdeps/mach/usleep.c: Correct return type.
7347         * sysdeps/generic/usleep.c: Correct return type.
7349         * posix/unistd.h (sync): Correct return type.
7350         * sysdeps/generic/sync.c: Likewise.
7351         * sysdeps/mach/hurd/sync.c: Likewise.
7353         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
7355         * posix/unistd.h: Make seteuid and setegid available for XPG6.
7357         * wcsmbs/wchar.h: Get FILE definition for XPG5.
7359         * conform/data/ctype.h-data: Use correct comment form.
7360         * conform/data/errno.h-data: Likewise.
7361         * conform/data/math.h-data: Likewise.
7362         * conform/data/mqueue.h-data: Likewise.
7363         * conform/data/netdb.h-data: Likewise.
7364         * conform/data/pthread.h-data: Likewise.
7366 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
7368         * conform/data/wordexp.h-data: Fix typo.
7370         * conform/conformtest.pl: Handle allow-header correctly.
7372         * conform/data/time.h-data: Use correct comment form.
7374         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
7376         * configure.in: Comment out binutils version test.
7378         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
7379         separators.
7380         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
7382         * stdlib/tst-strtod.c (locale_test): New function.
7383         (main): Call locale_test.
7384         * stdlib/Makefile (tst-strtod-ENV): New variable.
7386 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
7388         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
7389         declaration of value such that we actually return the value of the
7390         environment variable.
7392 2001-01-24  Andreas Jaeger  <aj@suse.de>
7394         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
7395         prototype.
7396         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7398         * include/sys/sysctl.h: New file.
7400 2001-01-23  Andreas Jaeger  <aj@suse.de>
7402         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
7403         isomac.
7405         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
7406         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
7407         closes PR libc/2039.
7409         * manual/install.texi (Tools for Compilation): Change required
7410         binutils version.
7412 2001-01-22  Andreas Jaeger  <aj@suse.de>
7414         * configure.in: Add test for new enough binutils version, move
7415         compiler/binutils test up.
7417         * Versions.def: Add version GLIBC_2.2.2.
7419 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
7421         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
7422         available.
7423         * iconvdata/testdata/IBM932: New file.
7424         * iconvdata/testdata/IBM932..UTF8: New file.
7425         * iconvdata/testdata/IBM943: New file.
7426         * iconvdata/testdata/IBM943..UTF8: New file.
7427         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
7429 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7431         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
7433 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
7435         * malloc/malloc.c: Remove a few unnecessary initializers of global
7436         variables.
7438 2000-12-09  H.J. Lu  <hjl@gnu.org>
7440         * nss/Makefile (routines): Add digits_dots.
7441         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
7442         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
7443         into a function.
7444         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
7445         function.
7446         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
7447         (TYPE_VAR_P): Likewise.
7448         (FLAGS_VAR): Likewise.
7449         (AF_VAR_P): Likewise.
7450         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
7451         instead of including digits_dots.c.
7452         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
7453         (TYPE_VAR_P): Likewise.
7454         (FLAGS_VAR): Likewise.
7455         (AF_VAR_P): Likewise.
7456         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
7457         instead of including digits_dots.c.
7459 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
7461         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
7463 2001-01-21  Andreas Jaeger  <aj@suse.de>
7465         * elf/constload2.c: Add prototype for init.
7467 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
7469         * stdlib/stdlib.h (drand48_data): Make available only for
7470         __USE_MISC.  Rename elements to protect namespace.  Change type
7471         and position of a and init element.
7472         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
7473         differently.  Adjust for drand48_data change.  Don't compute a here,
7474         it comes from drand48_data.
7475         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
7476         differently.  Adjust for drand48_data change.  Compute a here.
7477         * stdlib/srand48_r.c: Likewise.
7478         * stdlib/drand48.c: Adjust for drand48_data change.
7479         * stdlib/lrand48.c: Likewise.
7480         * stdlib/mrand48.c: Likewise.
7481         * stdlib/seek48.c: Likewise.
7482         * stdlib/drand48_r.c: Likewise.
7483         * stdlib/lrand48_r.c: Likewise.
7484         * stdlib/mrand48_r.c: Likewise.
7485         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
7486         differently.
7487         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
7488         * stdlib/jrand48_r.c: Likewise.
7490         * po/sv.po: Update from translation team.
7492 2001-01-21  Andreas Jaeger  <aj@suse.de>
7494         * stdio-common/vfprintf.c (vfprintf): Add casts.
7496 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
7498         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
7499         the ASCII test.
7500         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
7502         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
7503         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
7504         * iconvdata/ibm932.c: New file.
7505         * iconvdata/ibm932.h: New file.
7506         * iconvdata/ibm943.c: New file.
7507         * iconvdata/ibm943.h: New file.
7508         Patches by Masahide Washizawa <washi@jp.ibm.com>.
7510         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
7511         preventing optimization from being done.  Set the correct type bit
7512         in seen.  Don't define and use _dl_base_addr unless
7513         NEED_DL_BASE_ADDR is defined.
7515         * io/ftw.c (ftw_dir): Add slash after directory name if there
7516         wasn't any.  Reported by loris <loris@iol.it>.
7517         * io/Makefile (tests): Add bug-ftw2.
7518         * io/bug-ftw2.c: New file.
7520 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
7522         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
7523         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
7524         * stdlib/tst-rand48.c: New file.
7525         * stdlib/Makefile (tests): Add tst-rand48.
7527         * locale/newlocale.c (__newlocale): Fix test for setting all
7528         categories.
7530 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
7532         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
7533         but change looking up the initial directory port in a similar way
7534         as done by _hurd_change_directory_port_from_name.
7535         * hurd/fchroot.c (fchroot): Likewise.
7537 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
7539         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
7540         defined don't look whether the AT_*ID values were set.
7541         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
7542         (_dl_show_auxv): Rewrite to avoid switch statement.
7543         * sysdeps/unix/sysv/linux/kernel-features.h: Define
7544         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
7545         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
7546         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
7548         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
7549         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
7550         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
7552         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
7553         strtoul.
7554         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
7555         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
7556         anything.
7557         * dlfcn/eval.c (__strtol_internal): Define here.
7558         (eval): Use __strtol_internal instead of strtol.
7560         * elf/elf.h: Add a few more EF_MIPS_* constants.
7562 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
7564         * manual/Makefile (chapters): Add debug.
7565         * manual/debug.texi: New file.
7566         * manual/examples/execinfo.c: New file.
7567         Patch by suckfish@ihug.co.nz.
7569 2001-01-17  Andreas Schwab  <schwab@suse.de>
7571         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
7572         invalid asm.
7574 2001-01-17  Andreas Jaeger  <aj@suse.de>
7576         * nscd/connections.c (nscd_run): Use proper format specifier.
7578 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
7580         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
7581         x86_platforms data into new file after prepending _dl_.  Change
7582         users.
7583         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
7584         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
7585         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
7586         dl-procinfo.c.
7588         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
7590         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
7591         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
7592         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
7593         (_setjmp): Likewise.
7594         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
7595         * sysdeps/i386/bsd-setjmp.S: Real implementation.
7596         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
7597         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
7598         version.
7600 2001-01-16  Andreas Jaeger  <aj@suse.de>
7602         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
7603         misapplied last patch.
7605 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
7607         * stdlib/random.c (__initstate): Clean up a cast.
7608         (__setstate): Likewise.
7610         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
7611         syscall handling.  The generic Linux version should work.
7613 2001-01-15  Andreas Jaeger  <aj@suse.de>
7615         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
7617         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
7619 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
7621         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
7622         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
7623         New functions.
7624         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
7625         If number is 0, list all.
7626         (services_keys): Likewise.  Lookup aliases as well.
7627         (databases): New table.
7628         (build_doc): Prepare argp doc text with list of supported databases.
7629         (main): Change to table driven processing.
7631 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
7633         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
7634         functions.
7636 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
7638         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
7639         encode value which does not fit in the 32bit type.
7641 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
7643         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
7644         Change type of CTX to (struct sigcontext *).
7645         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
7646         (GET_FRAME): Likewise.
7647         (GET_STACK): Likewise.
7648         (SIGCONTEXT): Likewise.  Add 2nd arg _code.
7649         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
7651 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
7653         * manual/texinfo.tex: Update from upstream version.
7655 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
7657         * inet/ether_ntoh.c (lookup_function): Change arguments to match
7658         _nss_*_getntohost_r prototype.
7659         (ether_ntohost): Pass errno pointer to NSS function.
7661 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7663         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
7664         (MAP_LOCKED): New definition.
7665         (MAP_NORESERVE): New definition.
7667 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
7669         * assert/assert.h: Use static_cast instead of C-style cast for C++.
7670         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
7672 2001-01-12  Ben Collins  <bcollins@debian.org>
7674         * sysdeps/generic/segfault.c (install_handler): Use access, not
7675         __access.
7677 2001-01-12  Andreas Jaeger  <aj@suse.de>
7679         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
7680         * posix/wordexp.c (do_parse_glob): Likewise.
7681         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
7682         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
7683         * elf/dl-open.c (_dl_open): Likewise.
7684         * elf/dl-close.c (_dl_close): Likewise.
7685         * elf/dl-load.c (_dl_map_object): Likewise.
7686         * iconv/iconv_prog.c (process_fd): Likewise.
7687         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
7689         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
7690         of a zero-length array.
7692 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
7694         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
7695         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
7696         * stdlib/cxa_on_exit.c: Remove.
7697         * stdlib/Makefile: Revert last patch.
7698         * stdlib/Versions: Likewise.
7699         * include/stdlib.h: Likewise.
7700         * stdlib/exit.h: Revert last patch.
7701         (struct exit_function): Add second argument to cxa fn.
7702         * stdlib/exit.c: Revert last patch.
7703         (exit): Add hidden second argument.
7705 2001-01-11  H.J. Lu  <hjl@gnu.org>
7707         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
7708         * elf/dl-open.c (_dl_open): Here.
7709         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
7710         Make it static.
7711         (_dl_static_init): Initialize the variables every time when possible.
7712         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
7713         Undefine it first.
7715 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
7717         * stdlib/Makefile (routines): Add cxa_on_exit.
7718         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
7719         * stdlib/cxa_on_exit.c: New file.
7720         * include/stdlib.h: Add prototype for __cxa_on_exit.
7721         * stdlib/exit.c: Handle ef_cxa2.
7722         * stdlib/exit.h (enum): Add ef_cxa2.
7723         (struct exit_function): Add cxa2.
7725         * Versions.def [ld]: Add GLIBC_2.2.1.
7727 2001-01-10  H.J. Lu  <hjl@gnu.org>
7729         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
7730         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
7731         dl-static.
7732         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
7733         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
7734         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
7735         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
7736         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
7738 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
7740         * libio/stdio.h: Remove definition of off_t.
7742 2001-01-11  Andreas Jaeger  <aj@suse.de>
7744         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
7745         <mkuhn@acm.org>.
7747 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
7749         * sunrpc/Makefile (distribute): Add errqueue.h.
7751 2001-01-10  H.J. Lu  <hjl@gnu.org>
7753         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
7754         r9, r10 and r11 for language specific registers.
7756 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
7758         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
7759         UDP socket.
7760         (clntudp_call): Handle MSG_ERRQUEUE.
7761         * sysdeps/generic/errqueue.h: New file.
7762         * sysdeps/unix/sysv/linux/errqueue.h: New file.
7764 2001-01-10  H.J. Lu  <hjl@gnu.org>
7766         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
7768 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
7770         * CONFORMANCE: Update.
7772 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
7774         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
7775         Minimal cleanups.  Add assert to ensure memory handling is correct.
7777         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
7778         Reported by Ben Collins <bcollins@debian.org>.
7780         * time/strftime.c (my_strftime): Mark previous GNU extensions
7781         which are now in C99 as such.
7783 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
7785         * elf/rtld.c (process_envvars): Place output files for profiling
7786         in SUID binaries in /var/profile.
7788         * elf/dl-load.c (_dl_map_object): Don't look in cache for
7789         preloading in SUID binaries.
7791         * elf/dl-profile.c (_dl_start_profile): Open the output file with
7792         O_NOFOLLOW if possible.
7794         * include/stdlib.h: Add __posix_openpt declaration.
7795         * stdlib/stdlib.h: Add posix_openpt declaration.
7796         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
7797         * sysdeps/generic/getpt.c: Define posix_openpt.
7798         * sysdeps/unix/bsd/getpt.c: Likewise.
7799         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
7801         * time/Makefile (tests): Add tst-mktime.
7802         * time/tst-mktime.c: New file.
7804         * posix/tst-dir.c (main): One more mkdir() test.
7806         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
7807         Remove getpagesize syscall.  We assume that the pagesize is always
7808         determined from the auxiliary vector.
7810         * intl/dcigettext.c: Fix a few warnings.
7811         Patch by Bruno Haible <haible@ilog.fr>.
7813 2001-01-08  Andreas Jaeger  <aj@suse.de>
7815         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
7816         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
7818 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
7820         * sysdeps/generic/segfault.c (install_handler): Check output file
7821         name with access().
7823         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
7824         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
7826         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
7828         * malloc/memusage.c (me): Use access() to determine whether we
7829         should write the output file or not.
7831         * libio/bits/stdio.h (printf): Define macro to map printf call to
7832         fprintf which gcc can optimize.
7833         * stdio-common/printf.c: Undefine printf.
7835 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
7837         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
7838         patch.  We must use unsigned int for l member of union.
7840         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
7841         _dl_aux_init for shared libraries.
7843         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
7844         * sysdeps/gnu/glob64.c: ...here.  New file.
7846 2001-01-07  Ben Collins  <bcollins@debian.org>
7848         * manual/examples/longopt.c: Make the "struct option" a little
7849         more like it should be, adding usage of required_argument,
7850         noargument and such, and also setting the options string right.
7852         * manual/sysinfo.texi (Load Average): New section, documents
7853         getloadavg().
7855 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
7857         * version.h (VERSION): Bump to 2.2.1.
7859         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
7860         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
7861         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
7862         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
7863         * Makefile (distribute): Add include/libc-internal.h.
7864         * libio/Makefile (distribute): Avoid overwriting.
7866         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
7867         buffer and table handling.
7869 2001-01-05  H.J. Lu  <hjl@gnu.org>
7871         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
7872         vector checking to ...
7873         (_dl_aux_init): Here.  New function.  Defined only if
7874         HAVE_AUX_VECTOR is defined.
7876         * sysdeps/generic/libc-start.c (__libc_start_main): Call
7877         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
7879         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
7880         _dl_aux_init.
7882         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
7883         (HAVE_AUX_VECTOR): Defined.
7884         (_dl_aux_init): Declared.
7886 2001-01-05  Ben Collins  <bcollins@debian.org>
7888         * manual/string.texi (Finding Tokens in a String): Document XPG
7889         basename() and dirname(), as well as GNU basename().
7891 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
7893         * Makeconfig (preprocess-version): Replace -traditional with
7894         -x assembler-with-cpp.
7896 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
7898         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
7899         for GCC 2.97 or later.
7901 2001-01-05  Ben Collins  <bcollins@debian.org>
7903         * manual/stdio.texi (getline): Clarify the return value in the
7904         case of EOF being reached before a newline.
7906 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
7908         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
7909         FALSE otherwise.
7910         (pmap_set, pmap_unset): Check __get_myaddress return value.
7912 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
7914         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
7915         (struct ether_addr): Declare ether_addr_octet member as
7916         `u_int8_t'.  Add __attribute__ ((__packed__)).
7918 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7920         * sysdeps/mach/hurd/readdir64.c: New file.
7921         * sysdeps/mach/hurd/readdir64_r.c: New file.
7923 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
7925         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
7926         `struct statfs' and `struct statvfs' being identical.
7927         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
7929 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7931         * sysdeps/mach/hurd/fstatfs64.c: New file.
7932         * sysdeps/mach/hurd/fstatvfs64.c: New file.
7933         * sysdeps/mach/hurd/statfs64.c: New file.
7934         * sysdeps/mach/hurd/statvfs64.c: New file.
7935         * sysdeps/mach/hurd/statfsconv.c: New file.
7936         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
7938 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
7940         * iconv/skeleton.c: Reset outbuf for next round of the loop.
7941         Reported by Owen Taylor <otaylor@redhat.com>.
7942         * iconv/Makefile (tests): Add tst-iconv3.
7943         * iconv/tst-iconv3.c: New file.
7945         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
7946         * iconvdata/ibm933.c: Likewise.
7947         * iconvdata/ibm935.c: Likewise.
7948         * iconvdata/ibm937.c: Likewise.
7949         * iconvdata/ibm939.c: Likewise.
7950         * iconvdata/ibm930.h: Adjust single byte table for optimization.
7951         * iconvdata/ibm933.h: Likewise.
7952         * iconvdata/ibm935.h: Likewise.
7953         * iconvdata/ibm939.h: Likewise.
7955         * iconvdata/testdata/IBM930: Add misssing SI.
7956         * iconvdata/testdata/IBM933: Likewise.
7957         * iconvdata/testdata/IBM935: Likewise.
7958         * iconvdata/testdata/IBM937: Likewise.
7959         * iconvdata/testdata/IBM939: Likewise.
7961 2001-01-06  Andreas Jaeger  <aj@suse.de>
7963         * configure.in: Check for old add-ons that shouldn't be used with
7964         current glibc anymore.
7966 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7968         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
7969         instead of -1 on failure.  Don't forget to copy file name into
7970         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
7971         of the directory.
7973 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7975         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
7976         copy st_atime member.
7978 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
7980         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
7981         for searches from the root directory.
7982         Reported by loris <loris@iol.it> [PR libc/1991].
7983         * io/Makefile (tests): Add bug-ftw1.
7984         * io/bug-ftw1.c: New file.
7986         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
7987         if it is not available.  Instead use it only if it is available.
7988         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
7990         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
7991         overflowing output buffer.
7992         (internal_ucs4_loop_unaligned): Likewise.
7993         (ucs4_internal_loop): Likewise.
7994         (ucs4_internal_loop_unaligned): Likewise.
7995         (internal_ucs4le_loop): Likewise.
7996         (internal_ucs4le_loop_unaligned): Likewise.
7997         (ucs4le_internal_loop): Likewise.
7998         (ucs4le_internal_loop_unaligned): Likewise.
7999         Reported by Owen Taylor <otaylor@redhat.com>.
8000         * iconv/Makefile (tests): Add tst-iconv2.
8001         * iconv/tst-iconv2.c: New file.
8003 2001-01-04  H.J. Lu  <hjl@gnu.org>
8005         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
8006         (_dl_clktck): Declared.
8007         (non_dynamic_init): Take 3 arguments.
8008         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
8010 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
8012         Finish implementation of plural form handling.
8013         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
8014         'domainname'.  Remove 'plindex' field.  Add 'domain' and
8015         'translation_length' fields.
8016         (transcmp): Don't compare 'plindex' fields.
8017         (plural_lookup): New function.
8018         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
8019         plural_eval before the translation and its catalog file have been
8020         found.  Remove plindex from cache key.  Add 'translation_length' and
8021         'domain' to cache result.
8022         (_nl_find_msg): Remove index argument, return length of translation
8023         to the caller instead.  Weaken comparison of string lengths, to account
8024         for plural entries.  Call iconv() on the entire result string, not
8025         only on the portion needed so far.
8026         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
8027         argument.
8028         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
8030 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
8032         * intl/plural.y (yylex): Minimal improvement in number scanner.
8034 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
8036         * intl/plural.y: Include config.h.  Needed to define 'inline' away for
8037         C compilers that don't support it.
8038         (yylex): Don't use gcc specific case range syntax.
8039         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
8040         compilers.
8042 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
8044         * intl/finddomain.c: Remove unneeded includes.
8046 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
8048         * intl/localealias.c (memcpy): Return first argument, just like the
8049         real memcpy function does.
8050         * intl/bindtextdom.c (memcpy): Likewise.
8051         * intl/finddomain.c (memcpy): Likewise.
8052         * intl/l10nflist.c (memcpy): Likewise.
8053         * intl/textdomain.c (memcpy): Likewise.
8054         From Paul Eggert <eggert@twinsun.com>.
8056 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
8058         * resolv/resolv.h (struct __res_state): Add nsinit field.
8059         * resolv/res_send.c (res_nsend): Use it instead of nscount.
8060         * resolv/res_init.c (__res_vinit): Initialize it.
8061         (res_nclose): Clear it instead of nscount.
8063 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
8065         * malloc/mtrace.pl: Fix matching of addresses.
8066         Patch by Aharon Robbins <arnold@skeeve.com>.
8068         * Versions.def (ld): Add GLIBC_2.2.
8070         * catgets/gencat.c: Copyright 2001.
8071         * csu/version.c: Likewise.
8072         * debug/catchsegv.sh: Likewise.
8073         * debug/xtrace.sh: Likewise.
8074         * elf/ldconfig.c: Likewise.
8075         * elf/sprof.c: Likewise.
8076         * iconv/iconv_prog.c: Likewise.
8077         * locale/locale.c: Likewise.
8078         * locale/localedef.c: Likewise.
8079         * malloc/memusage.sh: Likewise.
8080         * malloc/mtrace.pl: Likewise.
8081         * nscd/nscd.c: Likewise.
8082         * posix/getconf.c: Likewise.
8084 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
8086         * include/stdio.h: Only provide __getwc_unlocked prototype if
8087         USE_IN_LIBIO is defined.
8089 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8091         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
8092         handling.
8094 2001-01-03  Andreas Schwab  <schwab@suse.de>
8096         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
8097         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
8099         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
8100         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
8101         strtoull alias.
8102         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
8103         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
8104         wcstoull alias.
8106         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
8107         directory.
8108         * sysdeps/generic/strtol_l.c: Likewise.
8109         * sysdeps/generic/strtoul_l.c: Likewise.
8110         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
8112         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
8113         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
8114         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
8115         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
8117 2001-01-04  Andreas Jaeger  <aj@suse.de>
8119         * nss/nsswitch.c: Include files for missing prototypes, remove
8120         buggy declaration of prototypes.
8122 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8124         * resolv/Versions: Fix bracing.
8125         * sysdeps/powerpc/soft-fp/Versions: Likewise.
8126         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
8128 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8130         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
8132 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
8134         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
8135         Suggested by Minko Markov <mmarkov@home.com>.
8137 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8139         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
8140         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
8141         the failing symbol.
8142         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
8144 2001-01-02  Ben Collins  <bcollins@debian.org>
8146         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
8147         if TZ is not set and TZDEFAULT is not present.
8149 2001-01-01  Ben Collins  <bcollins@debian.org>
8151         * string/strings.h: Make sure we declare our functions even if
8152         string.h is already included, based on whether or not __USE_BSD is
8153         defined.
8155 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
8157         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
8158         other dlopen() and dlsym().
8159         Based on a patch by Ben Collins <bcollins@debian.org>.
8161 2001-01-02  Andreas Jaeger  <aj@suse.de>
8163         * dlfcn/errmsg1.c (main): Call dlerror initially.
8164         Reported by Ben Collins <bcollins@debian.org>.
8166 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
8168         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
8169         value is ignored if the selected locale is the C locale.
8170         * intl/tst-gettext.c: Set locale for above change.
8171         * intl/tst-translit.c: Likewise.
8173 2001-01-02  Andreas Jaeger  <aj@suse.de>
8175         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
8176         (_IO_switch_to_wget_mode): Likewise.
8177         (_IO_sputbackwc): Likewise.
8178         (_IO_sungetwc): Use wint_t for result.
8180         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
8182         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
8183         signedness.
8185         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
8186         to (int) to avoid warnings.
8187         * stdio-common/printf_fp.c (putc): Likewise.
8188         * stdio-common/printf_size.c (putc): Likewise.
8190         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
8191         constant unsigned.
8193 2001-01-01  Andreas Jaeger  <aj@suse.de>
8195         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
8197 2000-12-31  Andreas Jaeger  <aj@suse.de>
8199         * include/libc-internal.h: Add prototype for __libc_freeres.
8201         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
8202         for prototypes, remove redundant prototypes.
8203         * gmon/gmon.c: Likewise.
8204         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
8205         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
8206         * malloc/mtrace.c: Likewise.
8208         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
8209         prototypes.
8210         * elf/soinit.c: Likewise.
8211         * sysdeps/generic/prof-freq.c: Likewise.
8212         * sysdeps/mach/hurd/profil.c: Likewise.
8213         * debug/noophooks.c: Likewise.
8214         * debug/pcprofile.c: Likewise.
8215         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
8216         * sysdeps/generic/get_clockfreq.c: Likewise.
8217         * malloc/set-freeres.c: Likewise.
8219         * locale/localeinfo.h: Add internal prototypes.
8221         * elf/rtld.c (dl_main): Fix prototype.
8223         * iconvdata/tst-table-to.c (main): Use return instead of exit to
8224         avoid warning.
8226         * nis/rpcsvc/yp_prot.h: Remove __P.
8227         * nis/rpcsvc/ypupd.h: Likewise.
8228         * nis/rpcsvc/yp.h: Likewise.
8230         * sunrpc/rpc_main.c: Add noreturn attributes.
8231         * sunrpc/rpc_scan.h: Likewise.
8233         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
8235         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
8237         * sunrpc/proto.h: Add noreturn attributes to error and crash.
8239         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
8241         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
8243         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
8245         * include/rpc/rpc_msg.h: Add prototypes for some functions.
8246         * include/rpc/auth.h: Likewise.
8247         * include/rpc/auth_des.h: Likewise.
8248         * include/rpc/clnt.h: Likewise.
8249         * include/rpc/rpc.h: Likewise.
8250         * include/rpc/svc.h: Likewise.
8251         * include/rpc/svc_auth.h: Likewise.
8253         * include/rpc/des_crypt.h: New file.
8255         * malloc/memusagestat.c (main): Use return instead of exit to
8256         avoid warning.
8257         * io/pwd.c (main): Likewise.
8258         * iconvdata/tst-table-from.c (main): Likewise.
8259         * ctype/test_ctype.c (main): Likewise.
8260         * setjmp/tst-setjmp.c (main): Likewise.
8261         * signal/tst-signal.c (main): Likewise.
8262         * stdlib/tst-strtol.c (main): Likewise.
8263         * stdlib/tst-strtod.c (main): Likewise.
8264         * stdlib/tst-strtoll.c (main): Likewise.
8265         * stdlib/tst-xpg-basename.c (main): Likewise.
8266         * dirent/tst-seekdir.c (main): Likewise.
8267         * grp/testgrp.c (main): Likewise.
8268         * inet/test_ifindex.c (main): Likewise.
8269         * io/test-utime.c (main): Likewise.
8270         * posix/test-vfork.c (main): Likewise.
8271         * posix/testfnm.c (main): Likewise.
8272         * stdio-common/temptest.c (main): Likewise.
8273         * stdio-common/test_rdwr.c (main): Likewise.
8274         * stdio-common/tst-fileno.c (main): Likewise.
8275         * stdio-common/tst-sscanf.c (main): Likewise.
8276         * stdio-common/tstscanf.c (main): Likewise.
8277         * string/bug-strncat1.c (main): Likewise.
8278         * string/bug-strpbrk1.c (main): Likewise.
8279         * string/bug-strspn1.c (main): Likewise.
8280         * string/test-ffs.c (main): Likewise.
8281         * string/tst-inlcall.c (main): Likewise.
8282         * string/tst-svc.c (main): Likewise.
8283         * timezone/test-tz.c (main): Likewise.
8284         * wctype/test_wcfuncs.c (main): Likewise.
8285         * wctype/test_wctype.c (main): Likewise.
8287         * stdlib/tst-random.c: Add attribute noreturn to fail.
8289 2000-12-28  Wolfram Gloger  <wg@malloc.de>
8291         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
8292         destination overlap.  Assume dest is always below source if
8293         overlapping.
8295 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
8297         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
8298         object was not yet initialized.
8300 2000-12-28  H.J. Lu  <hjl@gnu.org>
8302         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
8303         is always consistent even if its dependency is failed.
8305         * elf/dl-open.c (_dl_open): Increment the open count before
8306         calling _dl_close () in case of failure.
8308         * elf/neededtest4.c: New file.
8309         * elf/neededobj5.c: New file.
8310         * elf/neededobj6.c: New file.
8312         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
8313         (tests): Add neededtest4.
8314         (modules-names): Add neededobj5 and neededobj6.
8315         ($(objpfx)neededobj6.so): New target.
8316         ($(objpfx)neededtest4): New target.
8317         ($(objpfx)neededtest4.out): New target.
8319 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
8321         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
8322         * stdlib/monetary.h: Add strfmon format attributes.
8324 2000-12-28  Roland McGrath  <roland@frob.com>
8326         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
8327         __mempcpy does it for us.
8329 2000-12-28  Andreas Jaeger  <aj@suse.de>
8331         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
8333         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
8334         __new_setrlimit.
8336         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
8337         __old_getrlimit64.
8339         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
8340         __new_getrlimit.
8342         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
8343         __chown_is_lchown and __real_chown.
8345         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
8346         _dl_reloc_bad_type.
8348         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
8349         up GCC's warning about "deprecated use of label at end of compound
8350         statement."
8351         * sunrpc/rpc_cout.c (emit_inline): Likewise.
8353         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
8354         prototypes.
8355         Remove struct bb and __bb_head since those are declared by
8356         sys/gmon.h.
8358 2000-12-22  Ben Collins  <bcollins@debian.org>
8360         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
8362         * manual/argp.texi: Document argp_domain as part of struct argp.
8364 2000-12-28  Andreas Jaeger  <aj@suse.de>
8366         * catgets/Makefile (generated): Add sample.SJIS.cat.
8368         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
8370         * elf/dl-minimal.c: Add prototypes.
8372         * include/locale.h: Add internal prototypes.
8373         * include/sys/gmon.h: Likewise.
8375         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
8377 2000-12-27  Ben Collins  <bcollins@debian.org>
8379         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
8380         when reallocating the error strings.
8381         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
8383 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
8385         * dlfcn/Makefile (tests): Add errmsg1.
8386         (modules-names): Add errmsg1mod.
8387         Add rules to run errmsg1.
8388         * dlfcn/errmsg1.c: New file.
8389         * dlfcn/errmsg1mod.c: New file.
8391         * dlfcn/dlerror.c (dlerror): Always create output string which
8392         includes object file name.
8394         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
8395         if we would go through it only once.
8396         Patch by Rick Gorton <rick.gorton@api-networks.com>.
8398         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
8399         Patch by Richard Henderson <rth@redhat.com>.
8401 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
8403         * malloc/malloc.c (memmove): Add prototypes.
8404         (MALLOC_MEMMOVE): Define.
8405         (chunk_realloc): Use it instead of MALLOC_COPY if source and
8406         destination might overlap.
8408 2000-12-27  Andreas Jaeger  <aj@suse.de>
8410         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
8411         function.
8412         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8413         * locale/programs/locale.c (show_locale_vars): Likewise.
8414         (show_info): Likewise.
8415         * locale/programs/ld-collate.c (collate_output): Likewise.
8416         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
8417         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8418         * stdlib/rpmatch.c (rpmatch): Likewise.
8420         * setjmp/tst-setjmp.c: Make local functions static.
8421         * setjmp/jmpbug.c: Likewise.
8422         * signal/tst-signal.c: Likewise.
8423         * stdio-common/tfformat.c: Likewise.
8424         * string/tst-svc.c: Likewise.
8425         * time/clocktest.c: Likewise.
8426         * time/tst-getdate.c: Likewise.
8427         * dirent/list.c: Likewise.
8428         * dirent/opendir-tst1.c: Likewise.
8429         * posix/runtests.c: Likewise.
8430         * posix/tst-getaddrinfo.c: Likewise.
8431         * posix/tst-chmod.c: Likewise.
8432         * posix/wordexp-test.c: Likewise.
8433         * misc/tst-efgcvt.c: Likewise.
8434         * timezone/tst-timezone.c: Likewise.
8435         * rt/tst-clock.c: Likewise.
8436         * rt/tst-shm.c: Likewise.
8437         * rt/tst-aio2.c: Likewise.
8438         * rt/tst-aio3.c: Likewise.
8439         * rt/tst-aio4.c: Likewise.
8440         * rt/tst-aio5.c: Likewise.
8442         * dlfcn/failtest.c: Add prototype for foo.
8444         * dlfcn/glrefmain.c: Add prototype for do_test.
8446         * dlfcn/tst-dladdr.c: Add prototype for do_test.
8448         * string/test-ffs.c (main): Add prototype for nested function.
8450         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
8452         * nss/XXX-lookup.c: Add prototype to shut up GCC.
8454         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
8455         setetherent prototype.
8456         Add internal interfaces.
8458         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
8459         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
8461         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
8463         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
8465         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
8466         prototypes, remove struct etherent since it's declared in ether.h.
8467         Fix ntohost declaration.
8469         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
8471         * include/getopt.h: Add internal interfaces.
8472         * include/termios.h: Likewise.
8473         * include/resolv.h: Likewise.
8474         * include/netdb.h: Likewise.
8475         * include/grp.h: Likewise.
8476         * include/pwd.h: Likewise.
8477         * include/shadow.h: Likewise.
8478         * include/rpc/netdb.h: Likewise.
8479         * include/setjmp.h: Likewise.
8481         * include/stdio.h: Add prototypes for compatibility functions.
8482         * include/grp.h: Likewise.
8483         * include/pwd.h: Likewise.
8484         * include/shadow.h: Likewise.
8486         * include/fenv.h: Define internal interfaces.
8488 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
8490         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
8491         argument case separately.
8492         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
8494 2000-12-27  Andreas Jaeger  <aj@suse.de>
8496         * include/sys/wait.h: Add some prototypes.
8497         * Rules (dummy.c): Create also prototype to shut up GCC.
8499 2000-12-27  Andreas Jaeger  <aj@suse.de>
8501         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
8502         it's not needed at the moment.
8503         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
8504         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
8506 2000-12-26  Andreas Jaeger  <aj@suse.de>
8508         * libio/getc_u.c: Include stdio.h via system path to get internal
8509         prototypes.
8510         * libio/getwc_u.c: Likewise.
8512         * stdlib/strfmon.c: Fix prototype of __printf_fp.
8514         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
8515         __printf_fp prototypes to ...
8516         * include/printf.h: ...here.
8518         * include/stdio.h: Add some internal prototypes to shut up GCC.
8519         * include/stdlib.h: Likewise.
8521         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
8522         declaration.
8524         * include/signal.h: Add prototypes for internal sigpause
8525         interfaces.
8527 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
8529         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
8530         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
8532         * string/Makefile (tests): Add tst-bswap.
8533         * string/tst-bswap.c: New file.
8535 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
8537         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
8539 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
8541         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
8542         Patch by Ed Connell <Ed.Connell@sas.com>.
8544 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
8546         * locale/iso-639.def: Correct one entry.  Add two missing entries.
8548         * locale/iso-4217.def: Change entry for Eritrea.
8549         Reported by Daniel Yacob <yacob@geez.org>.
8551 2000-12-23  Ben Collins  <bcollins@debian.org>
8553         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
8554         description.
8556         * manual/stdio.texi (Dynamic Output): Document the return value of
8557         asprintf.  Also make the asprintf/snprintf examples a little
8558         better (check for some error returns).
8560 2000-12-22  Andreas Jaeger  <aj@suse.de>
8562         * include/stdio.h: Add __ftrylockfile prototype.
8564 2000-12-21  H.J. Lu  <hjl@gnu.org>
8566         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
8567         Make sign_exponent element signed.
8569         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
8570         Fix a typo.
8572         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
8574 2000-12-21  Andreas Jaeger  <aj@suse.de>
8576         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
8577         * inet/ether_hton.c: Likewise
8578         * inet/ether_ntoh.c: Likewise.
8580         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
8581         declaration to match prototype.
8583         * include/netinet/ether.h (struct etherent): Declare here so that
8584         all implementations use the same struct.
8586         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
8587         prototypes.
8588         (struct ether): Removed.
8589         Use struct etherent instead of ether everywhere.
8591         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
8593         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
8595         * sunrpc/publickey.c: Include auth_des.h for prototypes.
8597 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
8599         * math/test-misc.c: Add more tests for nextafter functions.
8601         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
8602         normal correctly.  Correct test for sign.
8603         Based on a patch by HJ Lu.
8605 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
8607         * Makeconfig (preprocess-version): Add -traditional to gcc call.
8608         Cleanup sed calls.
8610 2000-12-19  Andreas Jaeger  <aj@suse.de>
8612         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
8614         * nis/nis_intern.h: Add prototype for __do_niscall3.
8616         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
8617         match prototype.
8619         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
8621         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
8623         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
8625 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
8627         * math/test-misc.c: Add more tests for nextafter.
8628         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
8629         * sysdeps/ieee754/ldbl-96/math_ldbl.h
8630         (ieee_long_double_shape_type): Make sign_exponent element signed.
8632         * manual/message.texi: Add Estonian to plural overview list.
8633         Correct rule for Slavic languages.
8634         Patch by Stanislav Brabec <utx@penguin.cz>.
8636         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
8638 2000-12-18  Andreas Jaeger  <aj@suse.de>
8640         * test-skeleton.c: Use temp_name_list instead of name_list to
8641         avoid collision with name_list from inet/netgroup.h.
8643         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
8645         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
8646         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
8647         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
8648         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
8650         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
8651         declaration to match prototype.
8652         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
8653         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
8654         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
8655         Likewise.
8656         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
8657         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
8658         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
8659         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
8660         (_nss_nis_getservbyport_r): Likewise.
8661         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
8662         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
8663         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
8664         (_nss_nis_setnetent): Likewise
8665         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8666         (_nss_nis_endnetgrent): Likewise.
8667         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
8668         Likewise.
8669         (_nss_nisplus_setnetgrent): Likewise.
8670         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
8671         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
8672         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
8673         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
8674         Likewise.
8675         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
8676         Likewise.
8677         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
8678         Likewise.
8679         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
8680         Likewise.
8681         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
8682         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
8683         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
8684         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
8685         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
8686         (_nss_dns_getnetbyaddr_r): Likewise.
8688 2000-12-17  Andreas Jaeger  <aj@suse.de>
8690         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
8691         parameter.
8693         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
8694         unused attribute to shut up gcc warnings.
8696         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
8697         * sysdeps/generic/k_tanl.c: Likewise.
8698         * sysdeps/generic/k_cosl.c: Likewise.
8699         * sysdeps/generic/e_j0l.c: Likewise.
8700         * sysdeps/generic/e_j1l.c: Likewise.
8701         * sysdeps/generic/e_jnl.c: Likewise.
8702         * sysdeps/generic/e_lgammal_r.c: Likewise.
8704         * elf/vismain.c: Move prototypes for functions in vismod*.c to
8705         vismod.h.
8706         * elf/vismod.h: New file.
8707         * elf/Makefile (distribute): Add vismod.h.
8708         * elf/vismod1.c: Include vismod.h.
8709         * elf/vismod2.c: Likewise.
8710         * elf/vismod3.c: Likewise.
8712         * elf/constload3.c: Add prototype declarations to shut up gcc.
8713         * elf/failobj.c: Likewise.
8714         * elf/nodelmod3.c: Likewise.
8715         * elf/filtmod1.c: Likewise.
8716         * elf/filtmod2.c: Likewise.
8717         * elf/reldepmod1.c: Likewise.
8718         * elf/reldepmod2.c: Likewise.
8719         * elf/reldepmod3.c: Likewise.
8720         * elf/reldepmod4.c: Likewise.
8721         * elf/unload2dep.c: Likewise.
8722         * elf/unload2mod.c: Likewise.
8723         * elf/ltglobmod1.c: Likewise.
8724         * elf/pathoptobj.c: Likewise.
8725         * elf/neededobj1.c: Likewise.
8726         * elf/neededobj2.c: Likewise.
8727         * elf/neededobj3.c: Likewise.
8728         * elf/neededobj4.c: Likewise.
8729         * elf/nextmod1.c: Likewise.
8730         * elf/nextmod2.c: Likewise.
8732         * locale/programs/ld-collate.c (collate_finish): Don't use labels
8733         at end of compound statement.
8734         * locale/programs/locale.c (show_info): Likewise.
8735         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
8737 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
8739         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
8740         with a pointer not returned by obstack_ functions.
8742 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
8744         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
8745         version.
8746         (struct stat64): Likewise.
8747         Reported by Michael Keezer <mkeezer@redhat.com>.
8749         * timezone/asia: Update from tzdata2000h.
8750         * timezone/australasia: Likewise.
8751         * timezone/backward: Likewise.
8752         * timezone/europe: Likewise.
8753         * timezone/northamerica: Likewise.
8754         * timezone/southamerica: Likewise.
8755         * timezone/zone.tab: Likewise.
8757 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
8759         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
8760         and dir.stream is NULL, only free dir.content.
8761         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
8762         * io/ftwtest-sh: Test with --early-exit.
8764 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
8766         * misc/efgcvt.c (FCVT_MAXDIG): Define.
8767         (FCVT_BUFPTR): New variable.
8768         (fcvt): If fcvt_r returns -1 on the static short buffer,
8769         try to malloc a sufficiently large one and retry.
8770         (free_mem): New function.
8771         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
8772         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
8774 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
8776         * misc/dirname.c (dirname): Fix search for second to last slash.
8778 2000-12-13  Andreas Jaeger  <aj@suse.de>
8780         * misc/tst-dirname.c (main): Fix typo in test to really use
8781         the examples from Unix98.
8782         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8784 2000-12-09  H.J. Lu  <hjl@gnu.org>
8786         * sysdeps/ia64/fpu/s_fabs.S: New file.
8787         * sysdeps/ia64/fpu/s_fabsf.S: New file.
8788         * sysdeps/ia64/fpu/s_fabsl.S: New file.
8790 2000-12-15  Andreas Jaeger  <aj@suse.de>
8792         * stdio-common/scanf9.c (main): Reformat and change to avoid
8793         warnings.
8795         * stdio-common/tstdiomisc.c: Make local functions static.
8796         * stdio-common/tst-printf.c: Likewise.
8798         * elf/constload2.c: Add prototype declarations to shut up gcc.
8799         * elf/dep1.c: Likewise.
8800         * elf/dep2.c: Likewise.
8801         * elf/dep3.c: Likewise.
8802         * elf/dep4.c: Likewise.
8803         * elf/ltglobmod2.c: Likewise.
8805         * libio/fmemopen.c: Make local functions static.
8807         * elf/Makefile (distribute): Added testobj.h.
8809         * elf/testobj.h: New file.
8811         * elf/testobj1.c: Include testobj.h and move prototype
8812         declarations to testobj.h.
8813         * elf/testobj2.c: Likewise.
8814         * elf/testobj3.c: Likewise.
8815         * elf/testobj4.c: Likewise.
8816         * elf/testobj5.c: Likewise.
8817         * elf/testobj6.c: Likewise.
8818         * elf/testobj1_1.c: Likewise.
8819         * elf/preloadtest.c: Likewise.
8821 2000-12-15  Ben Collins  <bcollins@debian.org>
8823         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
8824         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
8826 2000-12-14  H.J. Lu  <hjl@gnu.org>
8828         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
8829         field in a float is 8 bits, not 11 bits.
8831 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
8833         * math/test-misc.c (main): Adjust m for IEEE quad long double.
8835 2000-12-13  Andreas Jaeger  <aj@suse.de>
8837         * manual/message.texi (Using gettextized software): Fix typo.
8839         * manual/charset.texi (Converting a Character): Fix mbstouwcs
8840         program to compile.
8841         Patch by Martin Buchholz <martin@xemacs.org>.
8843         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
8844         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8846 2000-12-11  Andreas Jaeger  <aj@suse.de>
8848         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
8849         kernel_sigset_t and use it.
8850         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
8852 2000-12-10  Richard Henderson  <rth@redhat.com>
8854         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
8855         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
8856         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
8858 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
8860         * sysdeps/alpha/htonl.S: Fix a typo.
8862 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
8864         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
8866 2000-12-10  Andreas Jaeger  <aj@suse.de>
8868         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
8869         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
8870         Drepper <drepper@redhat.com>.
8872 2000-12-09  Andreas Jaeger  <aj@suse.de>
8874         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
8876         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
8877         generic version.
8878         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
8880         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
8881         string.
8883         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
8884         format string.
8886         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
8887         * nscd/connections.c (handle_request): Likewise.
8888         * nscd/pwdcache.c (addpwbyname): Likewise.
8889         * nscd/grpcache.c (addgrbyname): Likewise.
8891         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
8893 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
8895         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
8897         * Makeconfig (default_cflags): Make -O2 the default for stable
8898         releases.
8900 2000-12-08  H.J. Lu  <hjl@gnu.org>
8902         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
8903         * sysdeps/ia64/fpu/s_isinf.S: This.
8904         Add a .pred.rel.mutex note to avoid false report.
8906         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
8907         * sysdeps/ia64/fpu/s_isnan.S: This.
8909         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
8910         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
8911         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
8912         * sysdeps/ia64/fpu/s_isinff.S: New file.
8913         * sysdeps/ia64/fpu/s_isinfl.S: New file.
8914         * sysdeps/ia64/fpu/s_isnanf.S: New file.
8915         * sysdeps/ia64/fpu/s_isnanl.S: New file.
8916         * sysdeps/ia64/fpu/s_finite.S: New file.
8917         * sysdeps/ia64/fpu/s_finitef.S: New file.
8918         * sysdeps/ia64/fpu/s_finitel.S: New file.
8919         * sysdeps/ia64/fpu/s_signbit.S: New file.
8920         * sysdeps/ia64/fpu/s_signbitf.S: New file.
8921         * sysdeps/ia64/fpu/s_signbitl.S: New file.
8922         * sysdeps/ia64/fpu/s_copysign.S: New file.
8923         * sysdeps/ia64/fpu/s_copysignf.S: New file.
8924         * sysdeps/ia64/fpu/s_copysignl.S: New file.
8926 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
8928         * math/libm-test.inc (main): Fix typos in messages.
8930         * string/stratcliff.c: Add test for rawmemchr.
8932 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8934         * elf/dl-open.c (_dl_open): If objname points right after errstring,
8935         allocate it together with errstring using alloca.
8936         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
8937         to "", because it might point to local stack.
8939 2000-12-05  H.J. Lu  <hjl@gnu.org>
8941         * nss/Makefile (routines): Add getnssent and getnssent_r.
8942         * nss/nsswitch.h (__nss_setent): New internal NSS function.
8943         (__nss_endent): Likewise.
8944         (__nss_getent_r): Likewise.
8945         (__nss_getent): Likewise.
8946         * nss/getnssent_r.c: New file.
8947         * nss/getnssent.c: New file.
8948         * nss/getXXent.c (H_ERRNO_VAR): Updated.
8949         (GETFUNC_NAME): Updated to call __nss_getent ().
8950         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
8951         (STAYOPEN_TMPVAR): Updated.
8952         (STAYOPEN_VAR): Updated.
8953         (SETFUNC_NAME): Updated to call __nss_setent ().
8954         (ENDFUNC_NAME): Updated to call __nss_endent ().
8955         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
8957 2000-12-08  Andreas Jaeger  <aj@suse.de>
8959         * nscd/dbg_log.h (dbg_log): Correct attribute.
8961 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8963         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
8964         cp + len.  Compute where from dirname.
8965         Reported by <jreiser@BitWagon.com>.
8967 2000-12-08  Richard Henderson  <rth@twiddle.net>
8969         * sysdeps/alpha/_mcount.S: Fix typo.
8970         * sysdeps/alpha/strncpy.S: Likewise.
8972         * sysdeps/alpha/alphaev6/Implies: New file.
8973         * sysdeps/alpha/alphaev67/Implies: New file.
8974         * sysdeps/alpha/alphaev67/ffs.S: New file.
8975         * sysdeps/alpha/alphaev67/ffsll.S: New file.
8976         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
8977         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
8978         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
8979         * sysdeps/alpha/rawmemchr.S: New file.
8980         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
8981         * sysdeps/alpha/strcpy.S: Likewise.
8983         From GMP 3.1.1:
8984         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
8986         From rick.gorton@alpha-processor.com:
8987         * sysdeps/alpha/alphaev6/memchr.S: New file.
8988         * sysdeps/alpha/alphaev6/memcpy.S: New file.
8989         * sysdeps/alpha/alphaev6/memset.S: New file.
8990         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
8991         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
8992         * sysdeps/alpha/alphaev67/strcat.S: New file.
8993         * sysdeps/alpha/alphaev67/strchr.S: New file.
8994         * sysdeps/alpha/alphaev67/strlen.S: New file.
8995         * sysdeps/alpha/alphaev67/strncat.S: New file.
8996         * sysdeps/alpha/htonl.S: Use a shorter sequence.
8998 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
9000         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
9001         Reported by <pspencer@fields.utoronto.ca>.
9003 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
9005         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
9006         Pointed out by Hans Boehm.
9008 2000-12-07  H.J. Lu  <hjl@gnu.org>
9010         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
9012 2000-12-07  Andreas Jaeger  <aj@suse.de>
9014         * misc/error.c: Add format attributes for __error and __error_at_line.
9016         * nscd/dbg_log.h: Add format attribute.
9018 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
9020         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
9021         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
9023 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
9025         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
9027 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
9029         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
9030         (sysdep_routines): Add uitrunc.
9031         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
9032         Patches by Michael Keezer <mkeezer@redhat.com>.
9034 2000-12-06  Roland McGrath  <roland@frob.com>
9036         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
9037         argument data, since it will be used to copy out too (for INOUT).
9038         Reported by Marcus Brinkmann <marcus@gnu.org>.
9040         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
9041         (__ioctl): Use uintptr_t instead of unsigned long int.
9043 2000-12-06  Jim Wilson  <wilson@redhat.com>
9045         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
9047 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
9049         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
9050         x.5 rounding correctly.
9052 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
9054         * stdio-common/perror.c (perror): Conditionalize code dealing with
9055         wide-oriented streams on USE_IN_LIBIO.
9057 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
9059         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
9060         as internal_function.
9062 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
9064         * sysdeps/alpha/elf/start.S (__data_start): Define.
9066 2000-12-05  H.J. Lu  <hjl@gnu.org>
9068         * nss/getXXent_r.c (setup): Change the return type to int.
9070 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
9072         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
9073         (sysdep_routines): Add restf and savef.
9074         * sysdeps/unix/sysv/aix/restf.c: New file.
9075         * sysdeps/unix/sysv/aix/savef.c: New file.
9076         Patches by Michael Keezer <mkeezer@redhat.com>.
9078         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
9079         if O_DIRECTORY is not defined.
9080         Patch by Michael Keezer <mkeezer@redhat.com>.
9082         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
9083         Patch by Michael Keezer <mkeezer@redhat.com>.
9085         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
9086         than 4 bytes in escape sequence.
9087         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9089 2000-12-05  Andreas Jaeger  <aj@suse.de>
9091         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
9092         set mips2.
9094         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
9096         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
9098         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
9099         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
9101         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
9102         internal_function.
9103         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
9104         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
9106         * sysdeps/generic/dl-cache.c: Remove declaration of
9107         _dl_sysdep_read_whole_file.
9109         * elf/dl-load.c (_dl_map_object): Remove declaration of
9110         _dl_load_cache_lookup.
9112         * sysdeps/generic/ldsodefs.h: Add declarations of
9113         _dl_load_cache_lookup, _dl_unload_cache,
9114         _dl_sysdep_read_whole_file, _dl_sysdep_start and
9115         _dl_sysdep_start_cleanup.
9117         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
9118         now.
9120         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
9121         * sysdeps/generic/dl-environ.c: Likewise.
9123         * stdio-common/printf_fp.c: Include <gmp.h> instead of
9124         <stdlib/gmp.h>.
9125         * math/atest-exp.c: Likewise.
9126         * math/atest-exp2.c: Likewise.
9127         * math/atest-sincos.c: Likewise.
9128         * stdio-common/_itoa.c: Likewise.
9129         * stdio-common/_itowa.c: Likewise.
9131         * include/gmp.h: New file with internal prototypes.
9133         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
9134         here to...
9135         * include/setjmp.h: ...here.
9137         * locale/Makefile (routines): Remove codeset_name since it's not
9138         needed anywhere.
9140         * locale/codeset_name.c: Removed.
9142 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
9144         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
9146 2000-12-05  Andreas Jaeger  <aj@suse.de>
9148         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
9150 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
9152         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
9153         available.
9155 2000-12-05  Andreas Jaeger  <aj@suse.de>
9157         * nss/test-netdb.c: Mark local functions as static to avoid
9158         warnings.
9159         (main): Use return to silence warning.
9161         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
9163         * stdio-common/test-popen.c: Mark local functions as static to
9164         avoid warnings.
9165         (main): Use return to silence warning.
9167         * stdlib/testsort.c (compare): Mark as static to avoid warning.
9169         * assert/test-assert.c: Mark local functions as static to avoid
9170         warnings.
9171         * assert/test-assert-perr.c: Likewise.
9173         * math/libm-test.inc (main): Use return to silence warnings.
9175 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
9177         * math/fenv.h: Fix typo in comment.
9179         * math/test-misc.c (main): Add a few more over and underflow tests
9180         for scalb.
9182         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
9183         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9184         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9185         * math/w_scalb.c: Don't use matherr except in SVID mode.
9186         * math/w_scalbf.c: Likewise.
9187         * math/w_scalbl.c: Likewise.
9188         * math/test-misc.c: Add test for NaN and scalbl.
9189         Reported by Fred J. Tydeman <tydeman@tybor.com>.
9191 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
9193         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
9194         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
9195         * include/libc-symbols.h (strong_alias): Define special version
9196         for HAVE_ASM_GLOBAL_DOT_NAME.
9197         (weak_alias): Likewise.
9198         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
9199         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
9200         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
9201         getutxline, pututxline, and utmpxname.
9202         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
9203         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
9204         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
9205         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
9206         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
9207         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
9208         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
9209         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
9210         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
9211         Patches by Michael Keezer <mkeezer@redhat.com>.
9213 2000-12-04  H.J. Lu  <hjl@gnu.org>
9215         * configure.in: Change --with-oldest-abi=ABI to
9216         --enable-oldest-abi=ABI.
9218 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
9220         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
9221         fwprintf instead of fprintf.
9223 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
9225         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
9226         DECIMAL_DIG definitions.
9227         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
9228         * sysdeps/generic/bits/mathdef.h: Likewise
9229         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
9230         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
9231         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
9232         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
9233         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
9234         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
9236 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
9238         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
9240         * math/atest-exp.c: Mark local functions as static to avoid warnings.
9241         * math/atest-exp2.c: Likewise.
9242         * math/atest-sincos.c: Likewise.
9244         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
9245         Reported by Fred J. Tydeman <tydeman@tybor.com>.
9247         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
9248         the handling of denormalized numbers.
9250         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
9251         numbers on x86.
9252         * sysdeps/i386/fpu/fpclassifyl.c: New file.
9254         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
9255         pseudo denormal representation of LDBL_MIN.
9257         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
9258         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
9260         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
9261         * iconvdata/jis0208.c: Likewise.
9262         * iconvdata/jis0212.c: Likewise.
9263         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9265         * math/test-misc.c (main): More tests for frexp and some for
9266         fpclassify and isnormal.
9268         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
9269         test for subnormal.
9270         Reported by Fred J. Tydeman <tydeman@tybor.com>.
9272         * math/test-misc.c (main): Add tests for frexp.
9273         Reported by Fred J. Tydeman <tydeman@tybor.com>.
9274         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
9276 2000-12-02  H.J. Lu  <hjl@gnu.org>
9278         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
9279         '\0' to wcschr.
9281 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
9283         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
9284         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9285         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9287         * sysdeps/generic/glob.c: Adjust types of several variables to
9288         avoid warnings.
9290 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
9292         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
9294 2000-11-30  Roland McGrath  <roland@frob.com>
9296         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
9297         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
9298         allow multiple instances using the same function name in one file.
9300 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
9302         * configure.in: Correct test for pserver CVS access.
9304 2000-11-28  H.J. Lu  <hjl@gnu.org>
9306         * libio/libio.h: Remove extra "#if ... #endif".
9308 2000-11-29  H.J. Lu  <hjl@gnu.org>
9310         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
9312 2000-12-01  H.J. Lu  <hjl@gnu.org>
9314         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
9315         * nss/getXXent_r.c: Likewise.
9316         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9318 2000-11-30  H.J. Lu  <hjl@gnu.org>
9320         * scripts/abi-versions.awk (oldest_abi): New variable.
9321         Handle the oldest ABI supported.
9323         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
9324         for scripts/abi-versions.awk.
9326         * configure.in: Add --with-oldest-abi=ABI.
9327         * configure: Rebuild.
9329         * config.make.in (oldest-abi): New.
9331         * config.h.in (GLIBC_OLDEST_ABI): New.
9333         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
9335 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
9337         * locale/setlocale.c (setname): Free for all categories, not just
9338         LC_ALL.
9339         (setlocale): Store a copy of string passed by user, not the string
9340         itself.
9342 2000-11-30  Roland McGrath  <roland@frob.com>
9344         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
9345         rather than _hurd_fd_subinit, so it happens after it's safe to use
9346         libc facilities like malloc.
9348 2000-11-28  Andreas Jaeger  <aj@suse.de>
9350         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
9351         declaration, adjust declaration of __syscall_getdents to match
9352         kernel.
9354 2000-11-29  H.J. Lu  <hjl@gnu.org>
9356         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
9358 2000-11-29  Andreas Jaeger  <aj@suse.de>
9360         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
9362 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
9364         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
9365         * dlfcn/defaultmod2.c: Likewise.
9366         * dlfcn/dlopen.c: Likewise.
9367         * dlfcn/dlopenold.c: Likewise.
9368         * dlfcn/failtestmod.c: Likewise.
9369         * dlfcn/glreflib1.c: Likewise.
9370         * dlfcn/glreflib2.c: Likewise.
9371         * dlfcn/eval.c: Likewise.  Add attributes.
9373         * ctype/ctype-extn.c: Define isblank and not __isblank.
9375         * time/strftime.c: Add const where necessary to avoid warnings.
9376         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
9378 2000-11-22  Paul Eggert  <eggert@twinsun.com>
9380         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
9381         size of (size_t) -1; it's not portable.
9383 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
9385         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
9386         crappy i486 FPU.
9387         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
9389 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
9391         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
9393         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
9394         _mcount is required by profiled binaries.
9396         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
9397         * sysdeps/ia64/machine-gmon.h: ...here.
9399 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
9401         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
9402         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
9403         and ibm1129.h.
9404         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
9405         IBM1129.
9406         * iconvdata/ibm922.c: New file.
9407         * iconvdata/ibm922.h: New file.
9408         * iconvdata/ibm1124.c: New file.
9409         * iconvdata/ibm1124.h: New file.
9410         * iconvdata/ibm1129.c: New file.
9411         * iconvdata/ibm1129.h: New file.
9412         * iconvdata/testdata/IBM922: New file.
9413         * iconvdata/testdata/IBM922..UTF8: New file.
9414         * iconvdata/testdata/IBM1124: New file.
9415         * iconvdata/testdata/IBM1124..UTF8: New file.
9416         * iconvdata/testdata/IBM1129: New file.
9417         * iconvdata/testdata/IBM1129..UTF8: New file.
9419 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
9421         * catgets/gencat.c (normalize_line): Take extra parameter with escape
9422         character.  Change callers.
9423         (open_conversion): Determine mapping of 0x5c as wchar_t value.
9424         * catgets/Makefile: Add rules to build and run test-gencat.
9425         * catgets/sample.SJIS: New file.
9426         * catgets/test-gencat.c: New file.
9427         * catgets/test-gencat.sh: New file.
9428         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9430 2000-11-28  Andreas Jaeger  <aj@suse.de>
9432         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
9433         Linux version.
9435 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
9437         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
9439 2000-11-28  Andreas Jaeger  <aj@suse.de>
9441         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
9442         __flexarr.
9443         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
9444         Likewise.
9446 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
9448         * misc/getusershell.c: Make strings in okshells array const.
9449         * misc/regexp.c: Add const to cast to avoid warnings.
9450         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
9451         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
9452         __setresuid.
9453         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
9454         setresgid.
9455         * misc/error.c: Add prototypes for __error and __error_at_line.
9456         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
9457         statement to avoid warning.
9458         * test-skeleton.c: Mark timeout_handler with noreturn.
9459         * iconv/skeleton.c (get16u): Add const to cast.
9460         (get32u): Likewise.
9461         * iconvdata/gb18030.c: Likewise.
9462         * iconvdata/iso-2022-cn-ext.c: Likewise.
9463         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
9464         * iconvdata/big5.c: Likewise.
9465         * iconvdata/big5hkscs.c: Likewise.
9466         * iconvdata/iso_6937.c: Likewise.
9467         * iconvdata/iso_6937-2.c: Likewise.
9468         * iconvdata/t.61.c: Likewise.
9469         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
9470         * iconvdata/unicode.c: Likewise.
9471         * iconvdata/utf-16.c: Likewise.
9472         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
9473         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
9474         with little code shuffling.
9476         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
9477         the problems introduced when the user selects -O3.
9479         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
9480         * misc/sys/cdefs.h: Define __flexarr.
9481         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
9483         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
9484         * iconv/skeleton.c: Likewise.
9485         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
9486         * iconv/loop.c (get16): Add const to cast.
9487         (get32): Likewise.
9489 2000-11-27  Andreas Jaeger  <aj@suse.de>
9491         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
9492         to avoid warning.
9493         * login/programs/utmpdump.c (print_entry): Likewise.
9495 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
9497         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
9498         in a single asm as they may be used to access other stored
9499         registers.
9500         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
9502 2000-11-27  Andreas Jaeger  <aj@suse.de>
9504         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
9505         * rt/tst-aio64.c: Likewise.
9507 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
9509         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
9510         for gencat run.
9511         (libc.cat): Likewise.
9512         * catgets/gencat.c: Implement handling of message catalogs encoded
9513         with stateful character sets.
9514         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9516 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
9518         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
9520         * inet/getnameinfo.c: Adjust casts to avoid warnings.
9521         * inet/rcmd.c: Likewise.
9522         * inet/ruserpass.c: Likewise.
9523         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
9524         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9525         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
9526         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
9527         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
9528         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
9529         * include/aliases.h: Add prototypes for internal __getalias* functions.
9530         * include/netdb.h: Add prototypes for __old_gethostent_r,
9531         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
9532         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
9533         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
9534         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
9535         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
9536         __old_getrpcbynumber_r, __old_getrpcent_r.
9538         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
9539         __getrpcent_r prototypes.
9541 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
9543         * string/strcoll.c: Add casts to avoid warnings.
9544         * string/strnlen.c: Likewise.
9545         * string/strxfrm.c: Likewise.
9546         * sysdeps/generic/_strerror.c: Likewise.
9547         * sysdeps/generic/memrchr.c: Likewise.
9548         * sysdeps/generic/strcasestr.c: Likewise.
9549         * sysdeps/generic/strstr.c: Likewise.
9551         * locale/weight.h (findidx): Add const to cast to avoid warning.
9553         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
9554         * elf/loadtest.c: Likewise.
9555         * elf/multiload.c: Likewise.
9556         * elf/next.c: Likewise.
9557         * elf/nodelete.c: Likewise.
9558         * elf/noload.c: Likewise.
9559         * elf/order.c: Likewise.
9560         * elf/origtest.c: Likewise.
9561         * elf/preloadtest.c: Likewise.
9562         * elf/restest1.c: Likewise.
9564         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
9565         parameter of asm must be in %ecx.
9567         * string/tester.c: Mark test functions as static to avoid warnings.
9569         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
9570         preserve value over different gconv-modules files.
9572 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
9574         * locale/findlocale.c: Add casts to avoid warnings.
9575         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
9576         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
9577         to avoid warnings.
9578         * misc/tsearch.c (const_node): New type.
9579         (trecurse): Correct casts to avoid warnings.
9580         (__twalk): Likewise.
9581         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
9582         LONG_BIT.
9584         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
9586         * test-skeleton.c: Mark local functions as static to avoid warnings.
9588 2000-11-23  H.J. Lu  <hjl@gnu.org>
9590         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
9591         support the background job.
9592         Fix a typo.
9594 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
9596         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
9597         has same names but lower cost.
9599 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
9601         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
9602         which never occur during bootstrap.
9603         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9605 2000-11-23  Andreas Jaeger  <aj@suse.de>
9607         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
9609         * nss/Versions: Remove _nss_files_getipnodebyname_r.
9611         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
9613 2000-11-18  Martin Buchholz  <martin@xemacs.org>
9615         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
9616         (called++) return;'
9618 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
9620         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
9622         * csu/abi-note.S: Correct comment for operating system number.
9624 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
9626         * Versions.def: Add GLIBC_2.2.1 for glibc.
9628 2000-11-22  Andreas Schwab  <schwab@suse.de>
9630         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
9631         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
9633 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
9635         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
9636         absolute time for pthread_cond_timedwait call.
9637         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
9639         * rt/Makefile (tests): Add tst-aio6.
9640         * rt/tst-aio6.c: New file.
9642 2000-11-23  Andreas Jaeger  <aj@suse.de>
9644         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
9646 2000-11-22  Andreas Jaeger  <aj@suse.de>
9648         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
9650 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
9652         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
9654 2000-11-21  Andreas Schwab  <schwab@suse.de>
9656         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
9657         * sysdeps/arm/setjmp.S: Likewise.
9658         * sysdeps/arm/fpu/setjmp.S: Likewise.
9659         * sysdeps/i386/setjmp.S: Likewise.
9660         * sysdeps/i386/elf/setjmp.S: Likewise.
9661         * sysdeps/s390/setjmp.S: Likewise.
9662         * sysdeps/s390/elf/setjmp.S: Likewise.
9663         * sysdeps/sh/sh3/setjmp.S: Likewise.
9664         * sysdeps/sh/sh4/setjmp.S: Likewise.
9665         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
9666         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9667         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
9668         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
9670 2000-11-21  Andreas Jaeger  <aj@suse.de>
9672         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
9673         NORETURN, fix parameter list.
9675         * string/bug-strncat1.c (main): Fix typo.
9676         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
9678 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
9680         * configure.in: Add --enable-all-warnings.
9681         * config.make.in (all-warnings): New variable.
9682         * Makeconfig (+gccwarn): Define with many more warnings if
9683         all-warnings is yes.
9685 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
9687         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
9688         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
9689         * malloc/tst-valloc.c (main): Cast valloc return value to long.
9690         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
9691         * math/test-fpucw.c (main): Use %lx in format string, cast
9692         control words to long.
9693         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
9694         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
9695         large that it is unsigned warning.
9697         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
9698         it to long on sparc64.
9700 2000-11-20  Andreas Jaeger  <aj@suse.de>
9702         * nscd/nscd.h (termination_handler): Add noreturn attribute.
9703         (receiv_print_stats): Likewise.
9705         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
9707 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
9709         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
9711         * csu/gmon-start.c: Always have prototype for __gmon_start.
9712         * csu/version.c: Add prototypes for __libc_print_version and
9713         __libc_main.
9714         * iconv/gconv.c: Include gconv_int.h and gconv.h.
9715         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
9716         and __to_name.
9717         * iconv/gconv_builtin.h: Add ASCII module definitions.
9718         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
9719         (add_module): Add cast to avoid warning.  Rework construction of
9720         strings for new module.
9721         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
9722         (derivation_compare): Likewise.
9723         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
9724         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
9725         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
9726         (struct gconv_alias): Remove const from fromname and toname.
9727         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
9728         for loop functions.
9729         (internal_ucs4_loop): Use correct const-ness.
9730         (ucs4_internal_loop): Likewise.
9731         (internal_ucs4le_loop): Likewise.
9732         (ucs4le_internal_loop_single): Likewise.
9733         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
9734         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
9735         assignments appropriately.
9736         (struct known_trans): Remove const from fname.
9737         (trans_compare): Make s1 and s2 const.
9738         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
9739         avoid warning.
9740         * iconv/skeleton.c: Remove cast in calls of loop functions.
9741         * iconvdata/gconv-modules: Remove US-ASCII definitions.
9742         * iconvdata/iso646.c: Remove US_ASCII support.
9743         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
9744         * include/unistd.h: Add __libc_check_standard_fds prototype.
9745         * string/bits/string2.h (__mempcpy_args): Add const to casts.
9746         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
9747         _fini.
9748         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
9749         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
9750         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
9751         warning.
9752         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
9753         __libc_init_first and _dl_start.
9754         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
9755         (DCIGETTEXT): Make domaindata variable const.
9756         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
9757         to avoid warning.
9759 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
9761         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
9763         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
9764         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
9765         __unused? members.
9767         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
9768         value defined in /usr/include/asm-mips/fcntl.h.
9770 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
9772         * stdio-common/Makefile (tests): Add test-vfprintf.
9773         (test-vfprintf-ENV): New variable.
9774         * stdio-common/test-vfprintf.c: New file.
9776         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
9778         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
9779         (tst-mbrtowc-ENV): New variable.
9780         (tst-wcrtomb-ENV): New variable.
9781         * wcsmbs/tst-mbrtowc.c: New file.
9782         * wcsmbs/tst-wcrtomb.c: New file.
9784 2000-11-16  Andreas Jaeger  <aj@suse.de>
9786         * manual/install.texi (Tools for Compilation): Update
9787         documentation for GCC 2.95.2.
9789 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
9791         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
9792         if IPv4 and IPv6 requests timed out.
9794 2000-11-18  Akim Demaille  <akim@epita.fr>
9796         * malloc/obstack.h: Formatting changes.
9797         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
9798         prevents type checking.
9799         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
9800         cast the value to (void *): assigning a `foo *' to a `void *'
9801         variable is valid.
9802         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
9804 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
9806         * scripts/config.guess: Update from upstream maintainer.
9807         * scripts/config.sub: Likewise.
9809 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
9811         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
9812         * libio/freopen64.c (freopen64): Likewise.
9813         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9815         * libio/Makefile: Add rules to build and run test-freopen.
9816         * libio/test-freopen.c: New file.
9817         * libio/test-freopen.sh: New file.
9819 2000-11-15  H.J. Lu  <hjl@gnu.org>
9821         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
9822         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
9823         (DL_DT_FINI_ADDRESS): Likewise.
9825         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
9826         return type to ElfW(Addr).
9827         (_dl_function_address): New prototype.
9828         (DL_FUNCTION_ADDRESS): Defined.
9829         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
9830         (DL_DT_FINI_ADDRESS): Likewise.
9832         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
9834         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
9835         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
9837         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
9838         (_dl_function_address): This.
9840         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
9841         function pointer for DT_FINI.
9842         * elf/dl-close.c (_dl_close): Likewise.
9844         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
9845         function pointer for DT_INIT.
9847 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
9849         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
9850         end of wexpbuf buffer.
9852 2000-11-16  Andreas Jaeger  <aj@suse.de>
9854         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
9855         definition of F_GETLK, F_SETLK, F_SETLKW.
9857 2000-11-16  Andreas Jaeger  <aj@suse.de>
9859         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
9860         it's not defined.
9862 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
9864         * dlfcn/default.c (main): Add test for dladdr of main returning
9865         argv[0] in dli_fname field.
9867 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
9869         * Makeconfig (run-program-prefix): Move test-static test into the
9870         variable.
9872         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
9873         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
9874         schedule instructions.
9875         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
9876         schedule instructions, fix a bug in copying auxiliary data.
9878 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9880         * manual/startup.texi (Program Arguments): Fix type of main's envp
9881         parameter.
9882         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
9884         * iconvdata/gconv-modules: Add CP950 alias.
9886 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
9888         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
9889         syscall-list.h goal.
9890         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
9892 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9894         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
9896         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
9897         output of program.
9899         * intl/tst-gettext2.c: Set C locale if setting other locale
9900         failed.  Use gettext() not _().
9902         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
9903         successfully loaded a new locale.
9905 2000-11-13  Andreas Jaeger  <aj@suse.de>
9907         * configure.in: Require gcc 2.95 or newer.
9909 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9911         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
9912         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
9914 2000-11-11  Jim Meyering  <meyering@lucent.com>
9916         * string/strndup.c (strndup): Cast return value to `char *'.
9918 2000-11-15  Jim Meyering  <meyering@ascend.com>
9920         * sysdeps/generic/memchr.c: Remove some useless parentheses.
9921         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
9922         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
9923         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
9924         Also #undef __memchr.
9925         Use `weak_alias' only if it's defined.
9927 2000-11-10  H.J. Lu  <hjl@gnu.org>
9929         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
9931 2000-11-15  Andreas Jaeger  <aj@suse.de>
9933         * elf/chroot_canon.c: Include <stdint.h>.
9935         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
9936         (print_entry): Likewise.
9937         (add_to_cache): Likewise.
9939         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
9941         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
9942         (path_hwcap): Likewise.
9943         (search_dir): Likewise.
9945         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
9947         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
9949         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
9950         (_dl_platform_string): New.
9951         (_DL_HWCAP_PLATFORM): New.
9952         (_dl_string_platform): New.
9953         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
9955         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
9956         (_dl_string_platform): New.
9957         (_DL_HWCAP_PLATFORM): New.
9958         (_dl_platform_string): New.
9960         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
9961         recognition.
9962         (_DL_HWCAP_COUNT): New.
9963         (_dl_string_platform): New.
9964         (_DL_HWCAP_PLATFORM): New.
9965         (_dl_platform_string): New.
9967 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
9969         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
9971 2000-11-14  Andreas Jaeger  <aj@suse.de>
9973         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
9975 2000-11-13  Roland McGrath  <roland@frob.com>
9977         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
9979 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
9981         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
9982         underrun and make sure the result is null terminated even if there
9983         is no trailing newline.
9985 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
9987         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9989 2000-11-10  H.J. Lu  <hjl@gnu.org>
9991         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
9993 2000-11-10  Andreas Jaeger  <aj@suse.de>
9995         * elf/ldconfig.c (create_links): Fix alloca calculation.
9996         Patch by Ben Collins <bcollins@debian.org>.
9998 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
10000         * inet/getnameinfo.c (getnameinfo): Use correct destination
10001         parameter for if_indextoname.
10002         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
10004 2000-11-09  H.J. Lu  <hjl@gnu.org>
10006         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
10007         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
10008         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
10009         xdr_keystatus.
10011         * time/Versions (GLIBC_2.1): Move getitimer to...
10012         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
10014 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
10016         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
10017         "make install", to work around a binary incompatibility between
10018         glibc 2.1 and glibc 2.2 gconv modules.
10020 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
10022         * intl/locale.alias: Add thai.
10023         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
10025 2000-11-07  Akim Demaille  <akim@epita.fr>
10027         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
10028         argument `data' for consistency with the prototypes.
10029         Qualify it `const'.
10030         (obstack_copy, obstack_copy0): Rename the second argument as
10031         `address' for consistency.  Qualify it `const'.
10032         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
10033         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
10034         `const' their input argument (`data' or `address').
10035         Adjust the corresponding macros to include `const' in casts.
10037 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10039         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
10040         target family.
10042 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10044         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
10045         socket creation.
10047 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10049         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
10050         ai_protocol by internal table if service was not given.
10052 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10054         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
10055         numerical port was specified with protocol without socktype.
10057 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10059         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
10061 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10063         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
10065 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10067         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
10068         sin6_scope_id field.
10070 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10072         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
10074 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10076         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
10078 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10080         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
10081         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
10083 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
10085         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
10086         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
10088 2000-11-09  H.J. Lu  <hjl@gnu.org>
10090         * io/Versions (GLIBC_2.1.1): Remove lockf64.
10093 See ChangeLog.11 for earlier changes.