(atomic_add): Don't allow address register for operand 0.
[glibc.git] / ChangeLog
blob1f756dc4a421eca34a9a763623d4550ee9de1902
1 2001-08-14  Ulrich Drepper  <drepper@redhat.com>
3         * stdio-common/perror.c (perror): Use _IO_fwide instead of fwide.
5         * libio/libio.h (_IO_fwide): Handle zero as second parameter more
6         efficiently in macro.
8 2001-08-14  Jakub Jelinek  <jakub@redhat.com>
10         * resolv/nss_dns/dns-host.c (RESOLVSORT): Define.
11         (addrsort): New function.
12         * resolv/gethnamaddr.c (RESOLVSORT): Define.
14 2001-08-14  Jakub Jelinek  <jakub@redhat.com>
16         * string/strsignal.c (free_mem): Remove.
18 2001-08-14  Andreas Jaeger  <aj@suse.de>
20         * inet/inet_ntoa.c (free_mem): Remove, it's not used anymore.
21         Closes PR libc/2477, reported by Dylan Alex Simon
22         <dylan@dylex.caltech.edu>.
24 2001-08-14  Ulrich Drepper  <drepper@redhat.com>
26         * locale/Makefile (aux): Add xlocale.
27         * locale/xlocale.c: New file.
28         * include/locale.c (_nl_C_locobj): Declare.
29         * iconv/gconv_charset.h: Use __tolower_l, __isdigit_l, __isspace_l
30         with _nl_C_locobj instead of tolower, isdigit, isspace.
31         * iconv/gconv_conf.c: Likewise.
32         * iconv/gconv_int.h: Likewise.
33         * iconv/gconv_open.c: Likewise.
35         * locale/newlocale.c: Minor cleanups.
37 2001-08-14  Andreas Jaeger  <aj@suse.de>
39         * sysdeps/ieee754/ldbl-128/w_expl.c: New file, copy from
40         ldbl-96/w_expl.c with tweaked constants.  Patch by Stephen L
41         Moshier.
43 2001-08-13  Ulrich Drepper  <drepper@redhat.com>
45         * malloc/memusage.c (me): Allow creating the output file.
47         * sysdeps/unix/sysv/linux/Makefile: Remove -fkeep-inline-functions
48         flag for init-first.
50         * po/fr.po: Update from translation team.
52 2001-08-13  Andreas Jaeger  <aj@suse.de>
54         * sysdeps/mips/machine-gmon.h (MCOUNT): Don't use delay slot for
55         jal since it's a macro.
56         Patch by Simon Gee <simong@oz.agile.tv>.
58 2001-08-12  Ulrich Drepper  <drepper@redhat.com>
60         * iconvdata/Makefile: Add rules to build ISO-IR-209 and MAC-SAMI.
61         * iconvdata/iso-ir-209.c: New file.
62         * iconvdata/mac-sami.c: New file.
63         * iconvdata/gconv-modules: Add entries for ISO-IR-209 and MAC-SAMI.
64         * iconvdata/tst-tables.sh: Likewise.
66         * posix/getopt.c: Remove store_args_and_env which is not needed since
67         USE_NONOPTION_FLAGS is undefined anyhow.  Use __libc_argc and
68         __libc_argv variables.
70 2001-08-12  Roland McGrath  <roland@frob.com>
72         * sysdeps/mach/hurd/clock.c: New file.
73         * sysdeps/mach/hurd/times.c: New file.
74         * sysdeps/mach/hurd/getclktck.c (__getclktck): Always return 1000000.
75         * sysdeps/mach/hurd/init-posix.c: New file.
77         * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
79 2001-08-11  Roland McGrath  <roland@frob.com>
81         * sysdeps/mach/hurd/bits/time.h
82         (CLOCK_PROCESS_CPUTIME_ID, CLOCK_THREAD_CPUTIME_ID): New macros.
83         * sysdeps/mach/hurd/i386/bits/time.h: File removed.
85         * posix/getopt.c (nonoption_flags_max_len, nonoption_flags_len):
86         Make these defns conditional on [USE_NONOPTION_FLAGS].
88 2001-08-11  Ulrich Drepper  <drepper@redhat.com>
90         * config.h.in: Add #undef line for USE_NONOPTION_FLAGS.
91         * posix/getopt_init.c: Produce code only if USE_NONOPTION_FLAGS is
92         defined.
93         * posix/getopt.c: Use __getopt_nonoption_flags only if
94         USE_NONOPTION_FLAGS is defined.
95         * sysdeps/mach/hurd/i386/init-first.c: Use __getopt_clean_environment
96         only if USE_NONOPTION_FLAGS is defined.
97         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
98         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
99         * sysdeps/arm/init-first.c: Likewise.
100         * sysdeps/generic/init-first.c: Likewise.
101         * sysdeps/i386/init-first.c: Likewise.
102         * sysdeps/sh/init-first.c: Likewise.
104 2001-08-11  Andreas Jaeger  <aj@suse.de>
106         * sysdeps/ieee754/ldbl-128/e_j0l.c: New file.
107         Contributed by Stephen L Moshier <moshier@mediaone.net>.
109 2001-08-11  Ulrich Drepper  <drepper@redhat.com>
111         * assert/assert.c (set_progname): Removed.
112         (__assert_fail): Use __progname instead of __assert_program_name.
113         * assert/assert-perr.c (__assert_perror_fail): Likewise.
115         * malloc/malloc.c (ptmalloc_init): Don't call getenv five times.
116         Instead use new function next_env_entry which iterates over the
117         environment once.
119         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Only set
120         _dl_profile_map for the right object.
122         * elf/dl-reloc.c (_dl_relocate_object): Allocate l_reloc_result
123         only if consider_profiling is != 0, not if _dl_profile != NULL.
125         * sysdeps/generic/dl-environ.c (_dl_next_ld_env_entry): Optimize a bit.
126         Now returns pointer to first character after "LD_".
127         * elf/rtld.c (process_envvars): Adjust for change above.
128         * sysdeps/unix/sysv/linux/dl-librecon.h (EXTRA_LD_ENVVARS): Likewise.
129         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
130         Likewise.
132 2001-08-10  Wolfram Gloger  <wg@malloc.de>
134         * malloc/malloc.c (grow_heap): Use mmap() rather than mprotect()
135         to allocate new memory, for better performance with Linux-2.4.x.
137 2001-08-10  Ulrich Drepper  <drepper@redhat.com>
139         * posix/getopt_init.c (__getopt_clean_environment): Avoid making
140         the strncmp calls most of the time by testing for '_' as the first
141         character of the name.
143         * elf/dl-open.c (add_to_global): Remove stale comment.
145         * elf/dl-load.c (fillin_rpath): In SUID binaries, don't mark
146         non-system-dirs in LD_LIBRARY_PATH as nonexisting, simply drop them.
148         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_USER_LOCK flag for
149         temporary stream.  Don't define lock.
150         * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
151         * libio/strops.c (_IO_str_init_static): Likewise.
152         * libio/vasprintf.c (_IO_vasprintf): Likewise.
153         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
154         * libio/iovsprintf.c: Likewise.
155         * libio/iovsnprintf.c: Likewise.
156         * libio/iovswprintf.c: Likewise.
157         * libio/iovsscanf.c: Likewise.
158         * libio/iovswscanf.c: Likewise.
159         * stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Likewise.
160         * libio/genops.c (_IO_no_init): Don't call _IO_lock_init if _lock
161         is NULL.
162         (_IO_default_finish): Likewise.
163         * libio/wgenops.c (_IO_wdefault_finish): Likewise.
165 2001-08-10  Andreas Jaeger  <aj@suse.de>
167         * stdio-common/stdio_ext.h: Fix typo.
169 2001-08-09  Ulrich Drepper  <drepper@redhat.com>
171         * posix/fnmatch_loop.c: Fix computation of alignment.
173 2001-08-09  Isamu Hasegawa  <isamu@yamato.ibm.com>
175         * posix/regex.c (wcs_regex_compile): Use appropriate string
176         to compare with collating element.
177         Fix the padding for the alignment.
179 2001-08-09  Isamu Hasegawa  <isamu@yamato.ibm.com>
181         * locale/programs/ld-collate.c (collate_output): Exclude
182         characters from elem_table.
183         Reduce if clause to write collating elements correctly.
184         * posix/Makefile (tests): Add bug-regex5.
185         * posix/bug-regex5.c: New file.
187 2001-08-09  Ulrich Drepper  <drepper@redhat.com>
189         * locale/lc-time.c (_nl_parse_alt_digit): New function.
190         * locale/localeinfo.h: Add prototype for it.
191         * time/strptime.c (get_alt_number): Use _nl_parse_alt_digit to get
192         the value.  Correct computation of hour for %OI.  If no %EC given
193         but %Ey use numeric formular.
195         * dlfcn/Makefile (tststatic-ENV): Also add $(common-objpfx)elf for
196         ld.so.
198         * time/tst-strptime.c: Add tests in different locales.
199         * time/Makefile (tst-strptime-ENV): Define.
201 2001-08-09  Jakub Jelinek  <jakub@redhat.com>
203         * catgets/catgets.c (catclose): Be liberal about catalog_desc in
204         catclose too.
206 2001-08-09  Ulrich Drepper  <drepper@redhat.com>
208         * time/strptime.c (strptime_internal): Add handling of year +
209         %U/%W week + week day.
210         * time/tst-strptime.c: Add test case for %U and %W handling.
212         * stdio-common/vfscanf.c: Fix reading of wide chars and strings if
213         not COMPILE_WSCANF.
215         * libio/vswprintf.c (_IO_vswprintf): Fix return value handling
216         which is different from snprintf.
217         * libio/tst_swprintf.c: Add tests for too small output buffer.
219         * stdio-common/vfscanf.c: Fix handling of %[] for COMPILE_WSCANF.
220         * libio/Makefile (tests): Add tst-swscanf.
221         * libio/tst-swscanf.c: New file.
223 2001-08-09  Jakub Jelinek  <jakub@redhat.com>
225         * posix/globtest.sh: Robustify tilde tests.
227 2001-08-09  Andreas Jaeger  <aj@suse.de>
229         * locale/programs/ld-ctype.c (DEFAULT): Fix expression.
230         (EMPTY): New.
231         (wctype_table_finalize): Use it.
232         (find_idx): Likewise.
233         (wctype_table_get): Likewise.
235         * configure.in: Add check for GCC 3.x.
237 2001-08-09  Ulrich Drepper  <drepper@redhat.com>
239         * libio/wfileops.c (_IO_wfile_seekoff): Don't even try to handle
240         seeking with backup buffer present.
241         Correct determining of internal buffer position.
242         Reset also wide buffers if we reset the internal buffers.
243         * libio/iofwide.c (_IO_fwide): Always determine file offset for wide
244         streams.
245         * libio/ioseekoff.c: Catch one unimplemented case.
246         * libio/ftello.c: Don't abort if the wide stream has backup buffer.
247         * libio/ftello64.c: Likewise.
248         * libio/iofgetpos.c: Likewise.
249         * libio/iofgetpos64.c: Likewise.
250         * libio/ftell.c: Likewise.
251         * libio/Makefile (tests): Add tst-ungetwc2.
252         * libio/tst-ungetwc2.c: New file.
254 2001-08-08  Ulrich Drepper  <drepper@redhat.com>
256         * locale/elem-hash.h (elem_hash): Correct stupid mistake and
257         create real hash values now.
258         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
260         * libio/iofgetpos.c (_IO_new_fgetpos): Correct a few problems in
261         the handling of wide streams.
263         * libio/ioungetwc.c (ungetwc): Orient stream first.
264         * libio/Makefile (tests): Add tst-ungetwc1.
265         * libio/tst-ungetwc1.c: New file.
267         * libio/wfileops.c (_IO_wfile_underflow): Remove incorrect test
268         for possible conversion using __codecvt_do_in.
269         * libio/Makefile (tests): Add tst-fgetws.
270         * libio/tst-fgetws.c: New file.
272         * libio/iofgetws.c: Use _IO_ferror_unlocked macros instead of
273         coding the test here.
275         * catgets/open_catalog.c: Rewrite code to assume that the function
276         is called at catopen time and not delayed in catgets.
277         * catgets/catgets.c (catopen): Call __open_catalog and fail if that
278         function failed.
279         (catgets): Remove code for delayed opening of catalog.
280         * catgets/catgetsinfo.h: Remove now unnecessary information from
281         struct catalog_info.  Change __open_catalog prototype.
282         * catgets/gencat.c: Adjust __open_catalog call.
283         * catgets/test-gencat.c: Stop program if catopen failed.
285         * locale/C-monetary.c (_nl_C_LC_MONETARY): Provide correct value
286         for CRNCYSTR.
288         * locale/programs/ld-messages.c (messages_finish): Provide POSIX
289         locale compliant default values for fields without definition.
290         * locale/programs/ld-time.c (time_finish): Likewise.
291         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
293 2001-08-08  Andreas Jaeger  <aj@suse.de>
295         * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Fix test for
296         infinity.
298 2001-08-07  Ulrich Drepper  <drepper@redhat.com>
300         * sysdeps/ia64/memusage.h (GETTIME): Define using hp-timing.h
301         functionality.
303         * sysdeps/ia64/hp-timing.h (HP_TIMING_NOW): Fix comment.
305 2001-08-07  Jakub Jelinek  <jakub@redhat.com>
307         * malloc/memusage.c (initialized): New variable.
308         (init): If not yet initialized, call me().
309         (me): Do all dlsym calls here.
310         (malloc, realloc, calloc, free): If not yet initialized,
311         call me().  If in the middle of initializing, return NULL or
312         do nothing.
314 2001-08-07  Jakub Jelinek  <jakub@redhat.com>
316         * sysdeps/unix/seekdir.c (seekdir): Set dirp->filepos.
318         * dirent/tst-seekdir.c (main): Check whether telldir right after
319         seekdir returns 2nd argument given to seekdir.
321 2001-08-07  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
323         * dlfcn/Makefile (tststatic-ENV): Add $(common-objpfx) to
324         LD_LIBRARY_PATH.
326 2001-08-07  Andreas Jaeger  <aj@suse.de>
327             Andreas Schwab  <schwab@suse.de>
328             Bruno Haible  <haible@clisp.cons.org>
330         * locale/programs/3level.h (EMPTY): New macro.
331         (*_get, *_add, *_iterate, *_finalize): Use it instead of ~(uint32_t) 0.
333 2001-08-08  GOTO Masanori  <gotom@debian.or.jp>
335         * locale/iso-3166.def: Updates from latest official list.
337 2001-08-07  Andreas Jaeger  <aj@suse.de>
339         * stdlib/tst-strtod.c: Disable HUGE_VAL tests for older GCCs.
341         * iconv/gconv_charset.h (upstr): Add unused attribute to avoid warning.
343         * libio/iopopen.c (_IO_new_proc_open): Fix typos, it's _IO_MTSAFE_IO.
344         (_IO_new_proc_close): Likewise.
345         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
346         (_IO_old_proc_close): Likewise.
348 2001-08-06  Ulrich Drepper  <drepper@redhat.com>
350         * manual/locale.texi: Add documentation for rpmatch.
351         Patch by Jochen Hein <jochen@jochen.org>.
353 2001-08-06  Jakub Jelinek  <jakub@redhat.com>
355         * stdlib/strtod.c (STRTOF): Skip whole infinity, not just inf.
356         * stdio-common/vfscanf.c (__vfscanf): +- can be followed by i in +-Inf.
358         * stdlib/tst-strtod.c (tests): Add Inf tests.
359         * stdio-common/tstscanf.c (main): Add tests for +- before Inf.
361 2001-08-06  Ulrich Drepper  <drepper@redhat.com>
363         * locale/weightwc.h (findidx): Change type of i to int32_t.
365         * wcsmbs/wcsmbs-tst1.c (main): Avoid warning.  Pretty printing.
367 2001-08-05  Roland McGrath  <roland@frob.com>
369         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h (struct dirent): Rename member
370         d_fileno to d_ino.
371         (struct dirent64): Likewise.
372         (d_fileno): Define as macro.
374 2001-08-04  Roland McGrath  <roland@frob.com>
376         * sysdeps/mach/hurd/getrusage.c: Use TASK_EVENTS_INFO if implemented
377         by the microkernel (which it's not).
379 2001-08-04  Ulrich Drepper  <drepper@redhat.com>
381         * libio/fileops.c (_IO_new_file_underflow): Don't call
382         _IO_flush_all_linebuffered.  This isn't required in any standard.
383         Instead flush only stdout.
384         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
386 2001-08-04  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
388         * dlfcn/Makefile: Add rules for new testcase tststatic.
389         * dlfcn/tststatic.c: New file.
390         * dlfcn/modstatic.c: New file.
392 2001-08-04  Ulrich Drepper  <drepper@redhat.com>
394         * manual/summary.awk: Fix value used for FF.
396         * elf/rtld.c: Correct use of __builtin_expect.
398         * elf/dl-close.c: Remove commented-out code.
400         * libio/genops.c (_IO_unbuffer_write): Force streams in narrow
401         orientation so that conversion modules aren't used anymore.
402         * malloc/set-freeres.c: Call _IO_cleanup before running subfreeres
403         functions to avoid using wide streams afterwards.
405         * iconvdata/Makefile: Add rules to build GEORGIAN-PS and
406         GEORGIAN-ACADEMY.
407         * iconvdata/georgian-ps.c: New file.
408         * iconvdata/georgian-academy.c: New file.
409         * iconvdata/gconv-modules: Add entries for GEORGIAN-PS and
410         GEORGIAN-ACADEMY.
411         * iconvdata/tst-tables.sh: Add GEORGIAN-PS and GEORGIAN-ACADEMY.
413 2001-08-03  Ulrich Drepper  <drepper@redhat.com>
415         * locale/programs/ld-collate (insert_value): If symbol in order
416         definition does not exist create it as a sequence without
417         associated multibyte and wide representation.
419 2001-07-30  Roland McGrath  <roland@frob.com>
421         * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): Diddle
422         syntax so both function and pointer-to-function arguments work right.
424 2001-08-03  Tom Rix  <trix@redhat.com>
426         * config.h.in: Add HAVE_XCOFF for AIX.
427         * configure.in: Add --with-xcoff option.
428         * include/libc-symbols.h: Disable the .stabs macros.
430 2001-08-03  Ulrich Drepper  <drepper@redhat.com>
432         * iconvdata/8bit-gap.c: Correctly use __builtin_expect.
433         * iconvdata/ansi_x3.110.c: Likewise.
434         * iconvdata/big5.c: Likewise.
435         * iconvdata/euc-cn.c: Likewise.
436         * iconvdata/euc-jp.c: Likewise.
437         * iconvdata/euc-kr.c: Likewise.
438         * iconvdata/gb18030.c: Likewise.
439         * iconvdata/gbbig5.c: Likewise.
440         * iconvdata/gbgbk.c: Likewise.
441         * iconvdata/gbk.c: Likewise.
442         * iconvdata/ibm930.c: Likewise.
443         * iconvdata/ibm932.c: Likewise.
444         * iconvdata/ibm933.c: Likewise.
445         * iconvdata/ibm935.c: Likewise.
446         * iconvdata/ibm939.c: Likewise.
447         * iconvdata/ibm943.c: Likewise.
448         * iconvdata/iso-2022-cn.c: Likewise.
449         * iconvdata/iso-2022-kr.c: Likewise.
450         * iconvdata/iso646.c: Likewise.
451         * iconvdata/iso8859-1.c: Likewise.
452         * iconvdata/iso_6937-2.c: Likewise.
453         * iconvdata/iso_6937.c: Likewise.
454         * iconvdata/johab.c: Likewise.
455         * iconvdata/sjis.c: Likewise.
456         * iconvdata/t.61.c: Likewise.
457         * iconvdata/uhc.c: Likewise.
458         * iconvdata/unicode.c: Likewise.
459         * iconvdata/utf-16.c: Likewise.
460         * iconv/gconv_simple.c: Likewise.   Convert assert() in real error
461         handling.
463         * iconvdata/Makefile: Add rules to build KOI8-T module.
464         * iconvdata/koi8-t.c: New file.
465         * iconvdata/gconv-modules: Add entries for KOI8-T.
466         * iconvdata/tst-tables.sh: Add KOI8-T.
468         * locale/iso-639.def: Correct Javanese 2 letter code.  Add Tonga.
469         Add Tigrinya.
471 2001-08-02  Ulrich Drepper  <drepper@redhat.com>
473         * locale/programs/ld-collate.c (collate_read): Handle collating-element
474         and reorder_after following copy statement correctly.
476 2001-08-02  Andreas Jaeger  <aj@suse.de>
478         * libio/bits/stdio.h (printf): Remove printf optimization since
479         GCC 3.0 can optimize printf.
481 2001-08-02  Ulrich Weigand  <uweigand@de.ibm.com>
483         * sysdeps/s390/s390-32/memcpy.S: Fixed incorrect use of
484         mvcle introduced by 2001-07-12 change.
485         * sysdeps/s390/s390-64/memcpy.S: Likewise.
487 2001-07-31  Ulrich Drepper  <drepper@redhat.com>
489         * sysdeps/unix/sysv/linux/i386/getcontext.S: Don't touch the %gs
490         register so that contexts can be used in different threads.
491         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
492         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
494         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Correct
495         test for cmsg struct size.
496         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Likewise.
498         * sysdeps/unix/sysv/linux/i386/makecontext.S: Remove unnecessary
499         initializations.
501         * libio/iopopen.c: Add lock for proc_file_chain access.
502         * libio/oldiopopen.c: Add lock for old_proc_file_chain access.
503         Reported by Padraig Brady <Padraig@linux.ie>.
505 2001-07-31  Andreas Jaeger  <aj@suse.de>
507         * sysdeps/unix/sysv/linux/sparc/bits/poll.h (NPOLLFILE): Removed.
508         * sysdeps/unix/sysv/linux/mips/bits/poll.h (NPOLLFILE): Removed.
509         * sysdeps/unix/sysv/linux/m68k/bits/poll.h (NPOLLFILE): Removed.
510         * sysdeps/unix/sysv/linux/bits/poll.h (NPOLLFILE): Removed.
511         * sysdeps/generic/bits/poll.h (NPOLLFILE): Removed.
513         * libio/genops.c (flush_cleanup): Guard list_all_lock to allow
514         compilation without threads.
516 2001-07-30  Ulrich Drepper  <drepper@redhat.com>
518         * po/fr.po: Update from translation team.
520 2001-07-30  Andreas Jaeger  <aj@suse.de>
522         * sysdeps/ieee754/ldbl-128/e_atanhl.c: New file, contributed by
523         Stephen L Moshier.
525         * posix/regex.c: Declare wcs functions only if compiling with
526         MBS_SUPPORT.
527         Don't use #elif for traditional C.
529 2001-07-29  Mark Kettenis  <kettenis@gnu.org>
531         * sysdeps/mach/hurd/recvmsg.c: New file.
532         * sysdeps/mach/hurd/sendmsg.c: New file.
534 2001-07-27  Ulrich Drepper  <drepper@redhat.com>
536         * version.h (VERSION): Bump to 2.2.4.
538         * sysdeps/mips/Dist: Remove non-existing files.
539         * sysdeps/mips/mips64/Dist: Likewise.
540         * sysdeps/mips/mipsel/Dist: Removed.
541         * iconv/Makefile (distribute): Add strtab.c and iconvconfig.h.
542         * sysdeps/generic/Dist: Add bits/link.h.
543         * sysdeps/unix/sysv/linux/m68k/Dist: Add sys/procfs.h.
544         * sysdeps/unix/sysv/aix/Dist: Add dl-support.c, dl-addr.c, and
545         dl-error.c.
546         * sysdeps/ia64/Dist: Add bits/link.h.
548         * libio/vasprintf.c (_IO_vasprintf): Don't copy uninitialized byte
549         from stream buffer to result buffer.
550         Reported by Michael Meeks <michael@ximian.com>.
552         * libio/Makefile: Add rules to check output of tst-fopenloc and
553         for memory leaks.
554         * libio/tst-fopenloc.c: New file.
556         * iconv/gconv_cache.c (__gconv_compare_alias_cache): New function.
557         * iconv/gconv_int.h: Add prototype for __gconv_compare_alias_cache.
558         * iconv/gconv_charset.h: Replace __gconv_lookup_alias prototype with
559         __gconv_compare_alias prototype.
560         * iconv/gconv_db.c (__gconv_lookup_alias): Removed.
561         (__gconv_compare_alias): New function.
562         * locale/findlocale.c (_nl_find_locale): Use __gconv_compare_alias
563         instead of calling __gconv_lookup_alias twice and compare here.
565 2001-07-26  Mark Kettenis  <kettenis@gnu.org>
567         * hurd/hurdsig.c (_hurd_internal_post_signal): Fix handling of
568         SA_RESETHAND and SA_NODEFER.
570 2001-07-27  Ulrich Drepper  <drepper@redhat.com>
572         * libio/fileops.c (_IO_new_file_fopen): Correctly locate ccs=
573         substring.  Don't handle ccs= if no descriptor was allocated.
574         Normalize codeset name before calling __wcsmbs_named_conv.
575         Initialize transliteration elements.  Free step data structure.
576         * libio/iofclose.c (_IO_new_fclose): Correct freeing of the step data.
577         * libio/iofwide.c (__libio_translit): Renamed from libio_translit
578         and made public.  Various little cleanup changes.
579         * wcsmbs/wcsmbsload.h (struct gconv_fcts): Add towc_nsteps and
580         tomb_nsteps member.
581         * wcsmbs/wcsmbsload.c: Add some casts to avoid warnings.
582         (__wcsmbs_gconv_fcts): Initialize towc_nsteps and tomb_nsteps member.
583         (getfct): Take additional parameter with pointer to variable where the
584         number of steps is stored in.  Disable code which allows to use more
585         than one step for now.  Adjust all callers.
586         (free_mem): New function.  Frees data associated with currently
587         selected converters.
589         * malloc/mtrace.pl: Extract addresses from DSOs.
591 2001-07-26  Ulrich Drepper  <drepper@redhat.com>
593         * malloc/mcheck.c (checkhdr): Disable mcheck before reporting an
594         error.  Don't run any tests if mcheck is disabled.
596         * elf/dl-support.c (_dl_important_hwcaps): Avoid using malloc
597         early in the program.
599 2001-07-27  Andreas Jaeger  <aj@suse.de>
601         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_GPRS): Fix
602         value following change from 2001-05-30.
604         * sysdeps/s390/s390-64/bits/setjmp.h (_JMPBUF_UNWINDS): Follow
605         rename change from 2001-07-12 for __jmp_buf.
606         Patches by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>.
608 2001-07-26  Roland McGrath  <roland@frob.com>
610         * sysdeps/generic/bits/termios.h (EXTA, EXTB): Make these conditional
611         on __USE_MISC rather than __USE_BSD.
612         (B57600, B115200, B230400, B460800, B500000, B576000, B921600,
613         B1000000, B1152000, B1500000, B2000000, B2500000, B3000000,
614         B3500000, B4000000): New macros.
615         * sysdeps/generic/tcsetattr.c (bad_speed): Accept those values.
616         * termios/cfsetspeed.c (speeds): Likewise.
618 2001-07-26  kaz Kojima  <kkojima@rr.iij4u.or.jp>
620         * sysdeps/sh/dl-machine.h (elf_machine_load_address): Don't use
621         multi-line strings.
622         (FUN_ADDR, FGR_SAVE, ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
623         (elf_machine_rela): Handle unaligned relocation.
625 2001-06-07  David Mosberger  <davidm@hpl.hp.com>
627         * sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Update call to
628         __ia64_make_fptr() for new interface.
629         (_dl_function_address): Remove.
631         * sysdeps/ia64/dl-machine.h (IA64_BOOT_FPTR_TABLE_LEN): Rename
632         from IA64_BOOT_FPTR_SIZE and reduce its value from 256 to 200.
633         (struct ia64_fdesc): Rename from struct ia64_fptr and drop "next"
634         pointer.  Rename member "func" to "ip".
635         (struct ia64_fdesc_table): New type.
636         (__ia64_make_fptr): Change prototype.
637         (__ia64_init_bootstrap_fdesc_table): New function.
638         (ELF_MACHINE_BEFORE_RTLD_RELOC): New macro.
639         (__boot_ldso_fptr): Removed.
640         (__fptr_next): Removed.
641         (__fptr_root): Removed.
642         (__fptr_count): Removed.
643         (TRAMPOLINE_TEMPLATE): Fix typo in comment.  Don't use multi-line
644         strings to avoid warning from gcc3.
645         (RTLD_START): Don't use multi-line strings.
646         (ELF_MACHINE_START_ADDRESS): Use DL_STATIC_FUNCTION_ADDRESS.
647         (elf_machine_fixup_plt): Update the code entry point in the
648         function descriptor through a "volatile" pointer to ensure proper
649         write ordering.
650         (elf_machine_rela): Simplify handling of FPTR relocs: always call
651         __ia64_make_fptr().
653         * sysdeps/ia64/dl-lookupcfg.h (DL_AUTO_FUNCTION_ADDRESS): New macro.
654         (DL_STATIC_FUNCTION_ADDRESS): Likewise.
655         (DL_DT_INIT_ADDRESS): Use DL_AUTO_FUNCTION_ADDRESS.
656         (DL_DT_FINI_ADDRESS): Likewise.
658         * sysdeps/ia64/dl-fptr.c: Rewrite for better scalability and to
659         avoid deadlocks.
661         * include/link.h: Add member machine specific "l_mach" member to
662         link_map.
664         * sysdeps/generic/bits/link.h: New file.
665         * sysdeps/ia64/bits/link.h: Likewise.
667         * elf/rtld.c (_dl_start): Fix typo in comment.
668         (_dl_start_final): Copy new "l_mach" member from temporary to
669         final bootstrap map.
671 2001-07-25  Ulrich Drepper  <drepper@redhat.com>
673         * csu/gmon-start.c: Use ENTRY_POINT_DECL if defined instead of a
674         declaration using ENTRY_POINT.
675         * sysdeps/ia64/elf/entry.h (ENTRY_POINT_DECL): New definition.
677 2001-07-25  H.J. Lu  <hjl@gnu.org>
679         * csu/gmon-start.c: Include <entry.h>
680         (_start): Replaced with ENTRY_POINT.
682 2001-07-25  Mark Kettenis  <kettenis@gnu.org>
684         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: New file.
686 2001-07-25  Ulrich Drepper  <drepper@redhat.com>
688         * iconv/iconvconfig.c (main): Don't write an output file if we
689         have seen an error.
690         (write_output): Don't overwrite old cache file until we know we
691         have a new one.
693         * iconv/Makefile (install-sbin): Add iconvconfig.
695 2001-07-25  Jakub Jelinek  <jakub@redhat.com>
697         * elf/Makefile (routines): Add dl-iteratephdr and
698         dl-iteratephdr-static.
699         (elide-routines.os): Add dl-iteratephdr-static.
700         * elf/dl-iteratephdr.c: New file.
701         * elf/link.h (struct dl_phdr_info): New definition.
702         (dl_iterate_phdr): New prototype.
703         * elf/Versions (dl_iterate_phdr): Add at GLIBC_2.2.4.
704         * include/link.h (struct dl_phdr_info): New definition.
705         (dl_iterate_phdr, __dl_iterate_phdr): New prototypes.
706         * sysdeps/generic/dl-iteratephdr-static.c: New file.
707         * sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: New file.
709 2001-07-24  Igor Khavkine  <i_khavki@alcor.concordia.ca>
711         * hurd/hurdsig.c (_hurdsig_init): Fix incorrect initialization
712         of pending signals.
714 2001-06-22  Jakub Jelinek  <jakub@redhat.com>
716         * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
717         gaps below main executable.
719 2001-07-22  Bruno Haible  <haible@clisp.cons.org>
721         * intl/libintl.h (ngettext, dngettext, dcngettext): Use both msgid1
722         and msgid2 for printf format argument checking.
724 2001-07-24  Ulrich Drepper  <drepper@redhat.com>
726         * iconv/gconv_cache.c (find_module): Don't allocate room for the
727         filename.  Use alloca, we don't need it beyond this function.
728         (__gconv_release_cache): New function.
729         * iconv/gconv_db.c (__gconv_close_transform): Call
730         __gconv_release_cache after the steps are handled.
731         * iconv/gconv_dl.c (__gconv_find_shlib): Allocate file name in the
732         record as well.
733         * iconv/gconv_int.h: Add prototype for __gconv_release_cache.
735         * iconv/gconv_cache.c (__gconv_lookup_cache): Catch one more
736         boundary case and reject it.
738 2001-07-24  Andreas Jaeger  <aj@suse.de>
740         * manual/examples/longopt.c (main): Fix which options take arguments.
742 2001-07-24  Ulrich Drepper  <drepper@redhat.com>
744         * iconvdata/Makefile: Add dependencies for tst-loading test.
746 2001-07-24  Andreas Jaeger  <aj@suse.de>
748         * iconv/iconvconfig.c (name_insert): Make static to avoid warning.
750 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
752         * locale/programs/locale.c (write_locales): Disable implicit
753         locking for the stream.  Use feof_unlocked instead of feof.
755         * sysdeps/unix/sysv/linux/i386/makecontext.S: Initialize %fs, %gs,
756         and floating-point status as well.
758         * libio/iofclose.c (_IO_new_fclose): Unlink descriptor first to
759         avoid deadlock.
760         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
761         * libio/genops.c (_IO_un_link): Get stream lock since it's not
762         always done in the caller.
763         (_IO_link_in): Likewise.
765         * libio/genops.c (_IO_list_all_stamp): New variable.
766         (_IO_un_link): Bump _IO_list_all_stamp after removing from list.
767         (_IO_link): Likewise for insertion.
768         (flush_cleanup): New function.
769         (_IO_flush_all): Get list_all_lock and all individual locks for the
770         streams.  Detect and handle changes to the _IO_list_all list.
771         (_IO_flush_all_linebuffered): Likewise.
772         * sysdeps/generic/bits/stdio-lock.h: Define
773         _IO_cleanup_region_start_noarg.
774         * sysdeps/mach/hurd/bits/stdio-lock.c: Likewise.
776         * stdio-common/printf.h: Fix typo in comment.
778         * iconv/gconv_cache.c (__gconv_lookup_cache): Handle encoding from
779         and to INTERNAL.
780         * iconv/iconvconfig.c: Create a special record for the INTERNAL
781         encoding name in the output file.
783 2001-07-23  Jakub Jelinek  <jakub@redhat.com>
785         * sunrpc/svc_tcp.c (svctcp_rendezvous_abort): New function.
786         (svctcp_rendezvous_op): Use it.
787         * sunrpc/svc_unix.c (svcunix_rendezvous_abort): New function.
788         (svcunix_rendezvous_op): Use it.
790 2001-07-23  Andreas Schwab  <schwab@suse.de>
792         * math/Makefile (CPPFLAGS-test-ifloat.c, CPPFLAGS-test-idouble.c,
793         CPPFLAGS-test-ildoubl.c): Renamed from CFLAGS-*.
794         (math-CPPFLAGS): Set this instead of CPPFLAGS.
796 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
798         * elf/elf.h: Add more definitions from Sun's latest version.
800 2001-07-23  Stephen L Moshier  <moshier@mediaone.net>
802         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Return proper
803         sign for 0 input and set divide by zero exception for -1 input.
804         Return argument if NaN or infinity.
806 2001-07-23  Andreas Jaeger  <aj@suse.de>
808         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add some deltas.
810 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
812         * iconv/gconv_cache.c (__gconv_lookup_cache): Select correct
813         module for conversion direction.
815 2001-07-23  Stephen L Moshier  <moshier@mediaone.net>
817         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Return proper
818         sign for 0 input.  Return NaN with no exception for NaN input.
820 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
822         * iconv/gconv_builtin.h: ISO-106464/UTF-8/ transformation must
823         really be an alias.
825 2001-07-23  Andreas Jaeger  <aj@suse.de>
827         * iconv/iconvconfig.c: Include <sys/cdefs.h> and use
828         __attribute_malloc__ for older GCC versions.
829         * iconv/strtab.c: Likewise.
830         Add prototypes to avoid warnings.
832 2001-07-22  Roland McGrath  <roland@frob.com>
834         * hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND
835         and SA_NODEFER options.  Spurred to action by Igor Khavkine.
837         * sysdeps/generic/bits/sigaction.h [__USE_UNIX98 || __USE_MISC]
838         (SA_NODEFER, SA_RESETHAND): New macros, same bit values as FreeBSD.
839         [__USE_MISC] (SA_INTERRUPT): New macro, value 0.
840         [__USE_MISC] (SA_NOMASK, SA_ONESHOT, SA_STACK): New macros, aliases
841         as in other sysdeps versions of this file.
843         * sysdeps/generic/bits/sigaction.h (struct sigaction): Use a union
844         and provide sa_handler and sa_sigaction member names as macros, as
845         done in other sysdeps versions of this file.
846         Suggested by Igor Khavkine <i_khavki@alcor.concordia.ca>.
848 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
850         * posix/regex.c: Revamp memory allocation for WCHAR functions to
851         not use too much stack.
853 2001-07-22  Ulrich Drepper  <drepper@redhat.com>
855         * iconv/iconvconfig.c (write_output): Update comment explaining
856         output format.
858         * elf/dl-load.c (_dl_dst_count): In SUID binaries expand $ORIGIN
859         if it is alone.
860         (_dl_dst_substitute): Likewise.
862         * iconv/iconvconfig.c: Remove --verbose option.  Comment out
863         mcheck_verbose call.
865         * iconv/strtab.c (morememory): Fix little memory handling problem.
867 2001-07-22  Andreas Schwab  <schwab@suse.de>
869         * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don't
870         mark asm input operand as clobbered.
871         * sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise.
873 2001-07-22  Ulrich Drepper  <drepper@redhat.com>
875         * iconv/gconv_builtin.c (struct builtin_map): Remove init and end
876         elements.
877         (BUILTIN_TRANSFORMATION): Remove Init and End parameters.
878         (__gconv_get_builtin_trans): Initialize __init_fct and __end_fct to
879         NULL.
880         * iconv/gconv_builtin.h: Remove NULL parameters for Init and End in
881         all BUILTIN_TRANSFORMATION calls.
882         * iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Remove Init and End
883         parameters.
884         * iconv/gconv_simple.c: Likewise.
885         * iconv/gconv_db.c (gen_steps): Internal converters don't have
886         initializers, move the code accordingly.
888         * iconv/gconv_conf.c (__gconv_read_conf): Don't read configuration
889         file if STATIC_GCONV is defined.
891         * iconv/gconv_conf.c (__gconv_path_envvar): New global variable.
892         (__gconv_get_path): Use it instead of call getenv.
893         (__gconv_read_conf): First see whether cache can be used.  If yes,
894         don't do any work here.
895         * iconv/gconv_db.c (__gconv_release_step): Renamed from release_step
896         and exported.  Change callers.
897         (__gconv_find_transform): First call __gconv_lookup_cache and only
898         continue if it signals no cache available.  Remove some unnecessary
899         tests.
900         * iconv/gconv_int.h: Declare __gconv_path_envvar, __gconv_lookup_cache,
901         __gconv_release_step, and __gconv_loaded_cache.
902         * iconv/gconv_cache.c: New file.
903         * iconv/iconvconfig.c: New file.
904         * iconv/iconvconfig.h: New file.
905         * iconv/strtab.c: New file.
906         * iconv/Makefile: Add rules to build new files and programs.
908 2001-07-20  Roland McGrath  <roland@frob.com>
910         * sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type
911         from `dev_t' (st_rdev value) `const struct stat *'.
912         * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Likewise.
913         * libio/filedoalloc.c (_IO_file_doallocate): Change caller.
914         * sysdeps/mach/hurd/device-nrs.h: New file.
916         * libio/stdio_ext.h: Moved to ...
917         * stdio-common/stdio_ext.h: ... here.
918         * libio/Makefile (headers): Move stdio_ext.h from here ...
919         * stdio-common/Makefile (headers): ... to here.
920         * include/stdio_ext.h: New file.
921         * stdio/Makefile (routines): Add the stdio_ext.h functions here.
922         * stdio/Versions (GLIBC_2.2.4): Export the stdio_ext.h functions.
923         * stdio/__flbf.c: New file.
924         * stdio/__fbufsize.c: New file.
925         * stdio/__fpending.c: New file.
926         * stdio/__fpurge.c: New file.
927         * stdio/__freadable.c: New file.
928         * stdio/__freading.c: New file.
929         * stdio/__fsetlocking.c: New file.
930         * stdio/__fwritable.c: New file.
931         * stdio/__fwriting.c: New file.
933 2001-07-20  Ulrich Drepper  <drepper@redhat.com>
934             Andreas Jaeger  <aj@suse.de>
936         * elf/ldconfig.c (search_dir): Avoid use of uninitialized memory.
937         Add a few __builtin_expect to mark unlikely error cases.
939 2001-07-20  Andreas Jaeger  <aj@suse.de>
941         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Synch with kernel.
942         Patch by Daniel Jacobowitz <dan@debian.org>.
944 2001-07-19  Ulrich Drepper  <drepper@redhat.com>
946         * intl/localealias.c: Remove unnecessary prototype.
948         * Makefile: Add html goal.
949         * manual/Makefile: Likewise.
951 2001-07-18  Ulrich Drepper  <drepper@redhat.com>
953         * libio/filedoalloc.c (_IO_file_doallocate): A few more minor
954         cleanups and improvements.
956 2001-07-18  Andreas Schwab  <schwab@suse.de>
958         * posix/regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
959         underscore character.
961 2001-07-18  Jakub Jelinek  <jakub@redhat.com>
963         * malloc/malloc (new_heap): Don't call munmap for zero length.
965 2001-07-18  Ulrich Drepper  <drepper@redhat.com>
967         * libio/filedoalloc.c (_IO_file_doallocate): Use DEV_TTY_P if
968         available to determine whether descriptor is for tty before
969         calling isatty.
971         * sysdeps/unix/sysv/linux/device-nrs.h: Define DEV_TTY_P.
972         * sysdeps/generic/device-nrs.h: Likewise.
974 2001-07-18  Andreas Jaeger  <aj@suse.de>
976         * time/Makefile (tst-getdate-ENV): Add TZDIR to environment.
978         * time/Depend: New, add dependency on timezone.
980         * time/tst-getdate.c: Add testcase for bug report by Hendrik
981         Uhlmann <HUhlmann@stn-atlas.de>.
982         * time/datemsk: Likewise.
984 2001-07-17  Ulrich Drepper  <drepper@redhat.com>
986         * elf/ldconfig.c (parse_conf): Disable implicit locking for the
987         stream.  Remove some unnecessary initializers.
989 2001-07-17  Andreas Jaeger  <aj@suse.de>
991         * elf/ldconfig.c: Add new variable hwcap_mask to honour LD_HWCAP_MASK.
992         (is_hwcap_platform): Use it.
993         (set_hwcap): New function to set hwcap_mask.
994         (main): Call set_hwcap.
996 2001-07-17  Jakub Jelinek  <jakub@redhat.com>
998         * time/getdate.c (__getdate_r): Initialize tm_isdst, tm_gmtoff and
999         tm_zone before calling strptime.
1001 2001-07-17  Andreas Schwab  <schwab@suse.de>
1003         * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Fix last change.
1005 2001-07-17  Ulrich Drepper  <drepper@redhat.com>
1007         * inet/rcmd.c (iruserfopen): Disable implicit locking for the stream.
1008         * inet/ruserpass.c (ruserpass): Likewise.
1009         * nss/nsswitch.c (nss_parse_file): Likewise.
1010         * resolv/res_hconf.c (_res_hconf_init): Likewise.
1011         * resolv/res_init.c (__res_vinit): Likewise.
1012         * gmon/bb_exit_func.c (__bb_exit_func): Likewise.
1013         * misc/getpass.c (getpass): Likewise.
1014         * misc/getusershell.c (initshells): Likewise.
1015         * misc/getttyent.c (setttyent): Likewise.
1016         * misc/mntent_r.c (__setmntent): Likewise.
1017         * time/getdate.c (__getdate_r): Likewise.
1018         * time/tzfile.c (__tzfile_read): Likewise.
1019         * iconv/gconv_conf.c (read_conf_file): Likewise.
1020         * intl/localealias.c (read_alias_file): Disable implicit locking
1021         for the stream.  Use _unlocked functions for glibc.
1022         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Disable
1023         implicit locking for the stream.
1024         (__get_nprocs_conf): Likewise.
1025         (phys_pages_info): Likewise.
1027 2001-07-16  Ulrich Drepper  <drepper@redhat.com>
1029         * nscd/connections.c: Print messages caused by user application
1030         only if debug_level > 0.  Add little performance improvements.
1031         Use TEMP_FAILURE_RETRY around write calls.
1032         * nscd/grpcache.c: Likewise.
1033         * nscd/hstcache.c: Likewise.
1034         * nscd/pwdcache.c: Likewise.
1036 2001-07-13  H.J. Lu  <hjl@gnu.org>
1038         * sysdeps/mips/dl-machine.h (MAP_BASE_ADDR): Removed.
1039         (elf_machine_got_rel): Defined only if RTLD_BOOTSTRAP is not defined.
1040         (RESOLVE_GOTSYM): Rewrite to use RESOLVE.
1042         * sysdeps/mips/rtld-ldscript.in: Removed.
1043         * sysdeps/mips/rtld-parms: Likewise.
1044         * sysdeps/mips/mips64/rtld-parms: Likewise.
1045         * sysdeps/mips/mipsel/rtld-parms: Likewise.
1047 2001-07-16  Ulrich Drepper  <drepper@redhat.com>
1049         * catgets/test-gencat.sh: Use <<"EOF" instead of <<EOF to prevent
1050         substitution in here document.
1052 2001-07-16  Andreas Schwab  <schwab@suse.de>
1054         * sysdeps/posix/spawni.c: Fix typo when iterating over signal numbers.
1056 2001-07-16  Andreas Schwab  <schwab@suse.de>
1058         * math/libm-test.inc (check_float_internal): Fix sign bit test of
1059         infinities.
1061 2001-07-16  Jakub Jelinek  <jakub@redhat.com>
1063         * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Make it PIC friendly.
1065 2001-07-15  Ulrich Drepper  <drepper@redhat.com>
1067         * malloc/obstack.c: Define __attribute__ for non-gcc compilers.
1068         Patch by Jim Meyering <jim@meyering.net>.
1070 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1072         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder
1073         fields in the sigaction struct to match the definition in the kernel.
1075 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1077         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the
1078         test for ENOSYS.
1080 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1082         * sysdeps/s390/s390-32/bits/setjmp.h: Add leading underscores
1083         to the entries in the __jmp_buf structure.
1084         * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
1086 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1088         * sysdeps/s390/s390-32/bcopy.S: Use mvcle for big blocks
1089         (> 64K) and a mvc loop for small blocks.
1090         * sysdeps/s390/s390-32/memcpy.S: Likewise.
1091         * sysdeps/s390/s390-64/bcopy.S: Likewise.
1092         * sysdeps/s390/s390-64/memcpy.S: Likewise.
1094 2001-07-15  Andreas Schwab  <schwab@suse.de>
1096         * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: New file.
1097         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: New file.
1099         * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Check _dl_pagesize
1100         first.  Default to 4096, not EXEC_PAGESIZE.
1102         * iconv/loop.c (put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]:
1103         Fix index.
1105 2001-07-09  Andreas Jaeger  <aj@suse.de>
1107         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2.
1109         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM,
1110         HWCAP_I386_XMM2 to enum.
1112 2001-07-13  Andreas Jaeger  <aj@suse.de>
1114         * libio/fileops.c: Include unistd.h for lseek64 prototype.  Closes
1115         PR libc/2372.
1117 2001-07-12  Ulrich Drepper  <drepper@redhat.com>
1119         * Makeconfig: Add some more changes to handle AIX linker better.
1121 2001-07-12  H.J. Lu  <hjl@gnu.org>
1123         * sysdeps/generic/segfault.c: Include <errno.h>.
1125 2001-07-01  Andreas Jaeger  <aj@suse.de>
1127         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate
1128         sbrk.  Closes PR libc/2312.
1130 2001-07-01  Andreas Jaeger  <aj@suse.de>
1132         * sysdeps/generic/segfault.c (install_handler): Handle case that
1133         the output file does not exists.  Closes PR libc/2345.
1135 2001-07-11  Ulrich Drepper  <drepper@redhat.com>
1137         * intl/locale.alias: Use he language code for hebrew, not il
1138         [PR libc/2382].
1140 2001-07-11  Jakub Jelinek  <jakub@redhat.com>
1142         * iconv/gconv_int.h: Fix comment typo.
1144 2001-07-11  Igor Khavkine  <i_khavki@alcor.concordia.ca>
1146         * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.
1148 2001-07-07  Roland McGrath  <roland@frob.com>
1150         * hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0.
1152 2001-07-10  Stephen L Moshier  <moshier@mediaone.net>
1154         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl):  Fix
1155         backwards conditional in test for x == 1.0.
1157 2001-07-10  Andreas Jaeger  <aj@suse.de>
1159         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh
1160         (-0.7).
1162 2001-07-09  Andreas Jaeger  <aj@suse.de>
1164         * sysdeps/unix/sysv/linux/configure.in: Revert patch from
1165         2001-07-05 for sysconfdir handling.
1166         * config.make.in (sysconfdir): Likewise.
1167         * configure.in: Likewise.
1169         * configure.in: Always assign libc_cv_sysconfdir.
1171 2001-07-08  Ulrich Drepper  <drepper@redhat.com>
1173         * Makerules [AIX] (build-shlib-helper): Precede linker options
1174         with -Wl.
1176         * Makeconfig (config-LDFLAGS): Add ld.so only for ELF.
1178         * sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to
1179         what we define in <stdio.h>.
1181         * iconv/iconv_prog.c (main): Don't unconditionally define
1182         variables only use if _POSIX_MAPPED_FILES is defined.
1184         * sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type.
1185         * sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.
1187         * sysdeps/unix/sysv/aix/recv.c: New file.
1189         * sysdeps/unix/sysv/aix/recvfrom.c: Fix various types.
1191 2001-07-07  Ulrich Drepper  <drepper@redhat.com>
1193         * sysdeps/generic/recv.c: Fix return type.
1195         * sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo.
1197         * sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add
1198         declarations for asm functions.
1200         * include/libc-symbols.h: Provide more dummy definitions for the
1201         case if GNU ld isn't used.
1203         * libio/freopen.c: Include <stdlib.h> for free declaration.
1204         * libio/freopen64.c: Likewise.
1206         * sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
1208 2001-07-06  Jakub Jelinek  <jakub@redhat.com>
1210         * sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm
1211         explicitly into .text section.
1213 2001-04-16  Jes Sorensen  <jes@linuxcare.com>
1215         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
1216         Add 16 longwords reserved for future use to match changes in the
1217         kernel.
1219 2001-07-03  Jes Sorensen  <jes@trained-monkey.org>
1221         * sysdeps/ia64/strncpy.S: Call strnlen() when determining the
1222         string length rather than strlen(). Solves the performance problem
1223         of doing strlen on a 5MB string when strncpy was called with a
1224         length argument of 5 bytes.
1226 2001-07-02  Jakub Jelinek  <jakub@redhat.com>
1228         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1229         R_SPARC_UA16 and R_SPARC_UA32.
1230         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1232 2001-07-01  Stephen L Moshier  <moshier@mediaone.net>
1234         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl):
1235         acosh(x) = ln(2x) if x > 2^30.
1236         * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
1237         acosh(x) = ln(2x) if x > 2^54.
1239 2001-07-07  Mark Kettenis  <kettenis@gnu.org>
1241         * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal):
1242         Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and
1243         KERN_WRITE_PROTECTION_FAILURE.
1245 2001-07-07  Ulrich Drepper  <drepper@redhat.com>
1247         * posix/regex.c: Limit string length printed in debug messages to
1248         100 chars.
1250         * configure.in: Don't warn about versioning if not on ELF system.
1252 2001-07-07  Andreas Jaeger  <aj@suse.de>
1254         * sysdeps/*: Put files from GNU MP Library under LGPL v2.1.
1256 2001-07-06  Ulrich Drepper  <drepper@redhat.com>
1258         * po/gl.po: Update from translation team.
1260 2001-07-06  Andreas Jaeger  <aj@suse.de>
1262         * sysdeps/unix/sysv/linux/configure.in: Fix handling of
1263         sysconfdir.
1265         * manual/libc-texinfo.sh: Add note for the FDL.
1267         * manual/argp.texi (Argp Example 4): Fix texinfo warning.
1269         * manual/libc.texinfo: Regenerated.
1271         * manual/fdl.texi: Fix node.
1273         * config.make.in (sysconfdir): Replace correctly.
1274         Closes PR libc/2369, reported by Peter Simons <simons@cryp.to>.
1276         * sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no
1277         longer needed.
1279         * sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add
1280         case for alpha.
1281         Rework handling of missing linuxthreads add-on.
1283         * configure.in: Remove unused sysconfdir substitution.
1285         * manual/Makefile (texis): Add fdl.texi.
1286         * manual/fdl.texi: New.
1287         * manual/socket.texi (Host Names): Improve grammar, fix overflow hbox.
1288         * manual/libc.texinfo: Add fdl, update titlepage.
1289         Patches by Brian Youmans <3diff@gnu.org>.
1291         * sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for
1292         generated file.
1294 2001-07-06  Paul Eggert  <eggert@twinsun.com>
1296         * manual/argp.texi: Remove ignored LGPL copyright notice; it's
1297         not appropriate for documentation anyway.
1298         * manual/libc-texinfo.sh: "Library General Public License" ->
1299         "Lesser General Public License".
1300         * COPYING: Fix Y2k bug in sample copyright notices.
1301         * manual/lesser.texi: Renamed from manual/lgpl.texinfo,
1302         as fsf.org uses the name "lesser.texi".
1303         * manual/Makefile (texis): Follow rename.
1305 2001-07-06  Andreas Jaeger  <aj@suse.de>
1307         * All files under GPL/LGPL version 2: Place under LGPL version
1308         2.1.
1310 2001-07-05  Andreas Jaeger  <aj@suse.de>
1312         Synch with Linux 2.4.6:
1313         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
1314         New.
1315         (AF_BLUETOOTH): New.
1317         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
1318         (PF_BLUETOOTH): New.
1319         (AF_BLUETOOTH): New.
1321         * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
1322         (PF_BLUETOOTH): New.
1324         * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
1325         (PF_BLUETOOTH): New.
1327         * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
1328         (AF_BLUETOOTH): New.
1330         * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
1331         (AF_BLUETOOTH): New.
1333         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.
1335         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.
1337         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.
1339         * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
1341 2001-07-04  Roland McGrath  <roland@frob.com>
1343         * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
1344         wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
1345         rather than doing a mach_port_insert_right call first.
1347 2001-06-26  Roland McGrath  <roland@frob.com>
1349         * hurd/hurdioctl.c: Include <string.h> for memcpy decl.
1351 2001-07-03  Andreas Jaeger  <aj@suse.de>
1353         * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for
1354         crypt add-on.
1356 2001-07-01  Mark Kettenis  <kettenis@gnu.org>
1358         * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
1359         the Hurd pfinet server, using equivalent code from the Linux
1360         version in sysdeps/unix/sysv/linux/if_index.c. In detail:
1361         Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
1362         <hurd/pfinet.h>.  Don't include <sys/mman.h> and <hurd/fsys.h>
1363         anymore.
1364         (if_nametoindex): New implementation using SIOCGIFINDEX.
1365         (if_freenameindex): Straight copy of the Linux version.
1366         (if_nameindex): New implementation based on pfinet_siocgifconf and
1367         SIOCGIFINDEX.
1368         (if_indextoname): New implementation using SIOCGIFNAME.
1369         (map_interfaces): Function removed.
1370         From Marcus Brinkmann <marcus@gnu.org>.
1372 2001-06-30  Jakub Jelinek  <jakub@redhat.com>
1374         * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
1375         gaps below main executable.
1377 2001-06-19  Andreas Jaeger  <aj@suse.de>
1379         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
1380         Handle profiling.
1382 2001-06-29  Andreas Jaeger  <aj@suse.de>
1384         * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
1385         Patch by Stephen L Moshier <moshier@mediaone.net>.
1387 2001-06-28  Ulrich Drepper  <drepper@redhat.com>
1389         * manual/argp.texi: Tons of cleanups.
1390         Patch by Clifford U. Smith <cuel@swbell.net>.
1392 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
1394         * manual/users.texi (Setting Groups): Correct initgroups
1395         documentation.  Add documentation for getgrouplist.
1397 2001-06-28  H.J. Lu  <hjl@gnu.org>
1399         * locale/findlocale.c (locale_file_list): Renamed to ...
1400         (_nl_locale_file_list): This.  Make it extern.
1401         (free_mem): Move to ...
1402         * locale/setlocale.c (free_mem): Here.
1404 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
1406         * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
1407         (__libc_read): Don't call __pread.  Use _hurd_fd_read directly
1408         instead.
1409         * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
1410         (__libc_write): Don't call __pwrite.  Use _hurd_fd_write directly
1411         instead.
1413         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
1414         -Wl,-soname option lost in 2001-06-16 change.
1416 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
1418         * posix/tst-regex.c: Pass REG_NEWLINE to regcomp.  Add extra tests.
1419         Restrict printing of string in debug mode to 100 characters to make
1420         the output useful for long input texts.
1422         * posix/Makefile: Add rules to build and run tst-regex.
1424 2001-06-20  Isamu Hasegawa  <isamu@yamato.ibm.com>
1426         * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
1427         (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
1428         (wcs_re_match_2_internal): Check whether the wcs buffers need
1429         seting up or not, and skip seting up routin if not needed.
1431 2001-06-26  Isamu Hasegawa  <isamu@yamato.ibm.com>
1433         * posix/regex.c (count_mbs_length): Use binary search for optimization.
1435 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
1437         * posix/tst-regex.c: Fix several bugs.  Add more tests.
1439 2001-06-26  Mark Kettenis  <kettenis@gnu.org>
1441         * hurd/Makefile (user-interfaces): Add pfinet.
1442         * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
1443         <netinet/in.h>.
1444         (siocgifconf): New function.  Register it with HURD_HANDLE_IOCTL
1445         as the handler for SIOCGIFCONF.
1446         * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
1447         SIOCGIFFLAGS to be of IOC type ifreq_short.  Modify SIOCSIFMETRIC
1448         and SIOCGIFMETRIC to be of IOC type ifreq_int.  Add new macro
1449         definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
1450         SIOCGIFNAME.
1451         From Marcus Brunkmann <marcus@gnu.org>.
1453 2001-06-25  Ulrich Drepper  <drepper@redhat.com>
1455         * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
1456         and _IOT_ifreq_int.  Patch by Mark Kettenis <kettenis@wins.uva.nl>.
1458         * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
1459         _dl_catch_error calls.
1461 2001-06-22  Jakub Jelinek  <jakub@redhat.com>
1463         * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
1464         typos.
1466 2001-06-01  Wolfram Gloger  <wg@malloc.de>
1468         * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
1469         ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
1470         when malloc_atfork is in use.
1472 2001-06-22  Andreas Jaeger  <aj@suse.de>
1474         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
1475         to avoid warnings.
1477         * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
1478         variable.
1479         Add unused attributes to avoid warnings.
1481         * elf/reldep4mod4.c: Add prototype to avoid warning.
1482         * elf/reldep4mod2.c: Likewise.
1484         * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
1485         prototypes.
1487 2001-06-18  Roland McGrath  <roland@frob.com>
1489         * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
1491 2001-06-20  Alexandre Oliva  <aoliva@redhat.com>
1493         * sysdeps/unix/sysv/settimeofday.c: Include time.h.
1495 2001-06-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1497         * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
1499 2001-05-09  Michael Keezer  <mkeezer@redhat.com>
1501         * Makeconfig: Added AIX-ld support for DSO.
1502         * Makerules: Likewise.
1503         * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
1504         (defaultmod2.so): Likewise.
1505         * debug/Makefile: Conditionalize use of elf/ld.so.
1506         * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
1508         * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
1509         * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
1510         (f/g)prrest(0/1) static only.
1511         * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
1512         * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
1513         shared.
1514         * sysdeps/unix/sysv/aix/setitimer.c: New file.
1515         * sysdeps/unix/sysv/aix/sleep.c: New file.
1516         * sysdeps/unix/sysv/aix/usleep.c: New file.
1517         * sysdeps/unix/sysv/aix/dl-addr.c: New file.
1518         * sysdeps/unix/sysv/aix/dl-error.c: New file.
1519         * sysdeps/unix/sysv/aix/dl-support.c: New file.
1520         * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
1522 2001-06-19  Ulrich Drepper  <drepper@redhat.com>
1524         * po/es.po: Update from translation team.
1526 2001-06-19  Andreas Jaeger  <aj@suse.de>
1528         * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
1530         * math/libm-test.inc (tanh_test): Test for 2^-56.
1532         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
1533         equals argument when x < 2^-55.
1534         Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1536 2001-06-17  Alan Modra  <amodra@bigpond.net.au>
1538         * sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs
1539         at unaligned address.
1541 2001-06-18  Ulrich Drepper  <drepper@redhat.com>
1543         * posix/regex.c: Reorganize code to build code twice, once for single
1544         byte, once for multi-byte charsets.  Choose function set adequate for
1545         locale at runtime.
1546         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
1548         * po/nl.po: Update from translation team.
1550 2001-06-09  Bruno Haible  <haible@clisp.cons.org>
1552         * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
1553         (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
1554         * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
1556 2001-05-26  Bruno Haible  <haible@clisp.cons.org>
1558         * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
1559         * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
1561 2001-06-17  Roland McGrath  <roland@frob.com>
1563         * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
1564         not LIO_READ + 1 (which is the value of LIO_WRITE!).
1566         * Makerules (build-module-helper-objlist): New variable,
1567         broken out of build-module.  Insert --whole-archive/--no-whole-archive
1568         immediately each *_pic.a file in the link object list.
1569         (whole-archive): New variable, used by that.
1570         (build-module-objlist): New variable using build-module-helper-objlist.
1571         (build-module, build-module-helper): Use it.
1572         (build-shlib-objlist): New variable using build-module-helper-objlist.
1573         (build-shlib): Use that.
1574         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
1576         * posix/spawni.c: Moved to ...
1577         * sysdeps/posix/spawni.c: ... here.
1578         * sysdeps/generic/spawni.c: New file.
1580 2001-06-16  Roland McGrath  <roland@frob.com>
1582         * hurd/Makefile (routines): Add lookup-retry.
1583         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
1584         * hurd/lookup-retry.c: ... into here, new file.
1585         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
1586         using of duplicate code here.
1588         * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
1590 2001-06-17  Ulrich Drepper  <drepper@redhat.com>
1592         * po/ja.po: Update from translation team.
1594 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
1596         * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
1597         compare_files): New functions.
1598         (write_locale_data): Use xmalloc.  Compare the file with the locale
1599         data files for the same category in other locales, and reuse it if
1600         possible and safe.
1602 2001-06-07  Mark Kettenis  <kettenis@gnu.org>
1604         * grp/initgroups.c (initgroups): Factor out re-usable code into...
1605         (internal_getgrouplist): ... new function.
1606         (getgrouplist): New function.
1607         * grp/grp.h (getgrouplist): New prototype.
1608         * grp/Versions [2.2.4]: Add getgrouplist.
1610 2001-06-16  Ulrich Drepper  <drepper@redhat.com>
1612         * inet/netinet/ip6.h: Fix comments in ip6_hdr.
1613         Patch by Pekka Savola <pekkas@netcore.fi>.
1615 2001-06-15  Roland McGrath  <roland@frob.com>
1617         * rt/Makefile (aio-routines, clock-routines, timer-routines): New
1618         variables, broken out of librt-routines.
1619         (librt-routines): Set using those.
1620         (extra-libs, extra-libc-others, tests): Set these unconditionally.
1621         (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
1622         * sysdeps/generic/aio_fsync.c: New file.
1623         * sysdeps/generic/aio_misc.c: New file.
1624         * sysdeps/generic/aio_write.c: New file.
1625         * sysdeps/generic/aio_write64.c: New file.
1626         * sysdeps/generic/aio_read64.c: New file.
1627         * sysdeps/generic/aio_read.c: New file.
1628         * sysdeps/generic/aio_notify.c: New file.
1629         * sysdeps/generic/lio_listio64.c: New file.
1630         * sysdeps/generic/lio_listio.c: New file.
1631         * sysdeps/generic/aio_cancel.c: New file.
1632         * sysdeps/generic/aio_misc.h: New file.
1633         * sysdeps/generic/aio_suspend.c: New file.
1634         * rt/aio_cancel.c: Moved to ...
1635         * sysdeps/pthread/aio_cancel.c: ... here.
1636         * rt/aio_fsync.c: Moved to ...
1637         * sysdeps/pthread/aio_fsync.c: ... here.
1638         * rt/aio_misc.c: Moved to ...
1639         * sysdeps/pthread/aio_misc.c: ... here.
1640         * rt/aio_misc.h: Moved to ...
1641         * sysdeps/pthread/aio_misc.h: ... here.
1642         * rt/aio_notify.c: Moved to ...
1643         * sysdeps/pthread/aio_notify.c: ... here.
1644         * rt/aio_read.c: Moved to ...
1645         * sysdeps/pthread/aio_read.c: ... here.
1646         * rt/aio_read64.c: Moved to ...
1647         * sysdeps/pthread/aio_read64.c: ... here.
1648         * rt/aio_suspend.c: Moved to ...
1649         * sysdeps/pthread/aio_suspend.c: ... here.
1650         * rt/aio_write.c: Moved to ...
1651         * sysdeps/pthread/aio_write.c: ... here.
1652         * rt/aio_write64.c: Moved to ...
1653         * sysdeps/pthread/aio_write64.c: ... here.
1654         * rt/lio_listio.c: Moved to ...
1655         * sysdeps/pthread/lio_listio.c: ... here.
1656         * rt/lio_listio64.c: Moved to ...
1657         * sysdeps/pthread/lio_listio64.c: ... here.
1659 2001-06-14  Roland McGrath  <roland@frob.com>
1661         * configure.in: Let sysdeps Implies files in add-ons bring in
1662         sysdeps directories from the main source and other add-ons too.
1664 2001-06-15  Jakub Jelinek  <jakub@redhat.com>
1666         * math/test-misc.c (main): Add tests for nextafter and nexttoward
1667         with +-Inf as second argument.
1669         * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
1670         NaN, not Inf.
1671         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
1672         * sysdeps/i386/fpu/s_nexttoward.c: New.
1673         * sysdeps/i386/fpu/s_nexttowardf.c: New.
1674         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
1675         check for NaN, optimize x==+-0 handling.
1676         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
1677         * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
1678         check for NaN, fix sign in x==+-0 case.
1679         * sysdeps/ia64/fpu/s_nexttoward.c: New.
1680         * sysdeps/ia64/fpu/s_nexttowardf.c: New.
1682 2001-06-15  H.J. Lu  <hjl@gnu.org>
1684         * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
1685         * rt/tst-aio3.c (do_test): Likewise.
1686         * rt/tst-aio4.c (do_test): Likewise.
1687         * rt/tst-aio5.c (do_test): Likewise.
1688         * rt/tst-aio6.c (do_test): Likewise.
1690 2001-06-15  Andreas Schwab  <schwab@suse.de>
1692         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
1693         * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
1695 2001-06-15  Andreas Jaeger  <aj@suse.de>
1697         * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
1699 2001-06-14  Andreas Schwab  <schwab@suse.de>
1701         * elf/ldconfig.c (search_dir): Fix check for regular file.
1703         * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
1704         * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
1706 2001-06-14  Roland McGrath  <roland@frob.com>
1708         * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
1709         (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
1711 2001-06-13  Roland McGrath  <roland@frob.com>
1713         * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
1715         * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
1716         so the label is not considered unused.
1718         * sysdeps/mach/hurd/pwrite64.c: New file.
1719         * sysdeps/mach/hurd/pread64.c: New file.
1721         * sysdeps/mach/hurd/pread.c
1722         (__libc_pread): Define this name, with __pread as an alias.
1723         * sysdeps/mach/hurd/pwrite.c
1724         (__libc_pwrite): Define this name, with __pwrite as an alias.
1726         Implement POSIX "shared memory objects" as regular
1727         files residing in the /var/run/shm/ directory.
1728         This works on any system that supports _POSIX_MAPPED_FILES,
1729         to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
1730         * sysdeps/posix/shm_open.c: New file.
1731         * sysdeps/posix/shm_unlink.c: New file.
1732         * sysdeps/mach/hurd/bits/posix_opt.h
1733         (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
1735         * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
1736         Use raise instead of __aio_sigqueue.
1738         * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
1739         * sysdeps/mach/hurd/pwrite.c: Likewise.
1741         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
1742         [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
1743         as default version set.
1745 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
1747         * libio/iolibio.h (_IO_freopen): Correct last parameter to
1748         _IO_file_open.
1749         (_IO_freopen64): Likewise.
1750         Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
1752         * elf/elf.h: Add a few more EM_* constants.
1754 2001-06-12  Bruno Haible  <haible@clisp.cons.org>
1756         * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
1758 2001-06-09  Ben Collins  <bcollins@debian.org>
1760         * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
1761         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1762         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1763         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1764         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1765         * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
1766         hardcoded B400000.
1768 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
1770         * time/sys/time.h: Don't use enum __itimer_which ever for
1771         __itimer_which_t for C++.
1772         Reported by Martin Buchholz <martin@xemacs.org>.
1774         * po/fr.po: Update from translation team.
1776 2001-06-12  H.J. Lu  <hjl@gnu.org>
1778         * configure.in: Fix typos in missing program names.
1779         * configure: Regenerated.
1781 2001-06-12  Andreas Jaeger  <aj@suse.de>
1783         * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
1785         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1787 2001-06-11  Andreas Jaeger  <aj@suse.de>
1789         * sysdeps/ieee754/ldbl-128/e_coshl.c: New file.  Contributed by
1790         Stephen L Moshier <moshier@mediaone.net>.
1792         * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
1794         * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1795         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1797 2001-06-11  Michael Deutschmann  <michael@talamasca.ocis.net>
1799         * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
1800         Use my_signo instead of MY_SIGNO and initialize it so that the
1801         used signal is always available.
1803 2001-06-11  Andreas Jaeger  <aj@suse.de>,
1804             Michael Deutschmann  <michael@talamasca.ocis.net>
1806         * io/test-lfs.c (do_prepare): Clean up error messages.
1807         (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
1808         (do_test): Likewise.
1810 2001-06-11  Andreas Jaeger  <aj@suse.de>
1812         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
1813         IMAXBEL): Make always visible since they're needed by POSIX.
1814         Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
1816 2001-06-10  Ben Collins  <bcollins@debian.org>
1818         * sysdeps/arm/elf/start.S: Use #function, not @function, for
1819         .type of _start.
1821         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
1822         INT_MAX.
1824 2001-06-07  H.J. Lu  <hjl@gnu.org>
1826         * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
1828 2001-06-10  Roland McGrath  <roland@frob.com>
1830         * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
1831         * elf/reldep4mod4.c: Likewise.
1833 2001-06-10  Mark Kettenis  <kettenis@gnu.org>
1835         * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
1837 2001-06-08  Andreas Schwab  <schwab@suse.de>
1839         * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
1840         Don't dereference at end of string.
1842 2001-06-06  Roland McGrath  <roland@frob.com>
1844         * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
1845         From Robert Bihlmeyer <robbe@orcus.priv.at>.
1847 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1849         * po/ko.po: Update from translation team.
1851 2001-06-06  Andreas Jaeger  <aj@suse.de>
1853         * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
1854         offset+length-1.
1855         Reported by Robert Bernecky <bernecky@acm.org>.
1857 2001-06-06  Jakub Jelinek  <jakub@redhat.com>
1859         * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
1860         * sysdeps/ia64/elf/start.S: Likewise.
1861         * sysdeps/sh/elf/start.S: Likewise.
1862         * sysdeps/s390/s390-32/elf/start.S: Likewise.
1863         * sysdeps/s390/s390-64/elf/start.S: Likewise.
1865 2001-06-05  Matthew Wilcox  <willy@ldl.fc.hp.com>
1867         * sysdeps/hppa/bsd-_setjmp.S: New.
1868         * sysdeps/hppa/bsd-setjmp.S: New.
1870         * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
1871         gcc warnings about multi-line strings.
1873         * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
1874         * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
1876         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
1877         setrlimit directly instead of using wrappers.
1879 2001-05-01  Richard Hirst  <rhirst@linuxcare.com>
1881         * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
1882         * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
1884 2001-06-05  Philipp Thomas  <pthomas@suse.de>
1886         * nis/nis_call.c (__nisbind_connect): Don't mark for translation
1887         what can't be translated.
1889 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1891         * timezone/zic.c: Update from tzcode2001c.
1892         * timezone/private.h: Likewise.
1893         * timezone/africa: Update from tzdata2001c.
1894         * timezone/asia: Likewise.
1895         * timezone/europe: Likewise.
1896         * timezone/northamerica: Likewise.
1897         * timezone/southamerica: Likewise.
1898         * timezone/zone.tab: Likewise.
1900 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
1902         * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
1903         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
1904         UNICODE_TAG_HANDLER.
1905         (__gconv_transform_internal_ucs2): Likewise.
1906         (__gconv_transform_internal_ucs2reverse): Likewise.
1907         * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
1908         * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
1909         * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
1910         * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
1911         * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
1912         * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
1913         * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
1914         * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
1915         * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
1916         * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
1917         * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
1918         * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
1919         * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
1920         * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
1921         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1922         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1923         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1924         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1925         * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
1926         * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
1927         * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
1928         * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
1929         * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
1930         * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
1931         * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
1932         * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
1933         * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
1934         * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
1935         * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
1936         * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
1937         * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
1938         * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
1939         TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
1940         TAG_language_zh, CURRENT_TAG_MASK): New enum values.
1941         (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
1942         is already selected but set2 or tag are set.
1943         (conversion): New enum type.
1944         (cvlist_t): New type.
1945         (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
1946         (conversion_lists): New array.
1947         (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag.  If "ja",
1948         prefer conversion to Japanese character sets.  If "zh", prefer
1949         conversion to GB2312.  If "ko", prefer conversion to KSC5601.  Small
1950         optimizations.
1951         (INIT_PARAMS): Add tag.
1952         (UPDATE_PARAMS): Add tag.
1954 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
1956         * locale/programs/locfile.c (write_locale_data): Before creat(),
1957         unlink the file, to avoid crashing the processes that mmap it.  Change
1958         a double slash to a single slash.  Free fname in case of error return.
1960 2001-06-02  Jakub Jelinek  <jakub@redhat.com>
1962         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
1963         changes, do the special handling for denormal numbers, not for
1964         normalized numbers (patch by <trevin@xmission.com>).
1966         * math/test-misc.c (main): Test frexpl with denormal arguments.
1968 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1970         * math/libm-test.inc (llround_test): Add two new llround tests.
1971         * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
1972         overflow when rounding away from zero.
1974 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1976         * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
1977         * math/math_private.h (__ieee754_log2, __ieee754_log2f,
1978         __ieee754_log2l): New prototypes.
1979         * sysdeps/generic/w_log2.c: New file.
1980         * sysdeps/generic/w_log2f.c: New file.
1981         * sysdeps/generic/w_log2l.c: New file.
1982         * sysdeps/generic/s_log2l.c: Move...
1983         * sysdeps/generic/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
1984         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
1985         and log2(x < 0).
1986         * sysdeps/i386/fpu/s_log2.S: Move...
1987         * sysdeps/i386/fpu/e_log2.S: ...to here.  Rename to __ieee754_log2.
1988         * sysdeps/i386/fpu/s_log2f.S: Move...
1989         * sysdeps/i386/fpu/e_log2f.S: ...to here.  Rename to __ieee754_log2f.
1990         * sysdeps/i386/fpu/s_log2l.S: Move...
1991         * sysdeps/i386/fpu/e_log2l.S: ...to here.  Rename to __ieee754_log2l.
1992         * sysdeps/m68k/fpu/s_log2.c: Move...
1993         * sysdeps/m68k/fpu/e_log2.c: ...to here.  Rename to __ieee754_log2.
1994         * sysdeps/m68k/fpu/s_log2f.c: Move...
1995         * sysdeps/m68k/fpu/e_log2f.c: ...to here.  Rename to __ieee754_log2f.
1996         * sysdeps/m68k/fpu/s_log2l.c: Move...
1997         * sysdeps/m68k/fpu/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
1998         * sysdeps/ieee754/dbl-64/s_log2.c: Move...
1999         * sysdeps/ieee754/dbl-64/e_log2.c: ...to here.  Rename to
2000         __ieee754_log2.
2001         * sysdeps/ieee754/flt-32/s_log2f.c: Move...
2002         * sysdeps/ieee754/flt-32/e_log2f.c: ...to here.  Rename to
2003         __ieee754_log2f.
2005 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
2007         * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
2008         even arguments which result in denormalized exp2 are accepted.
2009         (__exp2): Arguments equal to u_threshold already result into
2010         underflow.
2011         * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
2012         * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
2013         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
2014         low, with corrected lowmark use greaterequal, not greater.
2015         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2017 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
2019         * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
2020         * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
2021         * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
2022         * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
2023         * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
2024         * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
2025         * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
2026         * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
2028 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
2030         * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
2031         gave non-finite result instead of using constant in generic
2032         version.
2033         * sysdeps/generic/w_coshf.c (__coshf): Likewise.
2034         * sysdeps/generic/w_cosh.c (__cosh): Likewise.
2035         * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
2036         (__exp10): Test if finite argument gave non-finite result.
2037         * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
2038         Likewise.
2039         * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
2040         Likewise.
2042 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
2044         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
2045         overflow threshold constant (log(LDBL_MAX)+M_LN2l).
2047 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
2049         * locale/programs/ld-ctype.c (idx_table): New struct type.
2050         (idx_table_init, idx_table_get, idx_table_add): New functions.
2051         (MAX_CHARNAMES_IDX): Remove macro.
2052         (locale_ctype_t): Change type of charnames_idx field.
2053         (ctype_startup): Change initialization of charnames_idx field.
2054         (find_idx): Use idx_table_get and idx_table_add for speed.
2056         * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
2057         computation of characters in a range.
2059 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
2061         * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
2062         <U03F5>.
2063         (__ucs_to_gb18030_tab1): Likewise.
2064         (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
2065         (BODY for TO_LOOP): Likewise.
2066         * iconvdata/tst-table-charmap.sh: Update for charmaps containing
2067         <U00xxxxxx> syntax.
2068         * iconvdata/tst-table-from.c (bmp_only): New variable.
2069         (utf8_decode): If bmp_only, don't return characters outside Unicode
2070         plane 0.
2071         (main): When testing UTF-8 or GB18030, set bmp_only to 1.  Don't print
2072         a conversion line if utf8_decode returns NULL.
2073         * iconvdata/tst-table-to.c (main): When testing encodings other than
2074         UTF-8 and GB18030, loop upto U+30000 instead of U+10000.  Use UTF-8
2075         instead of UCS-2 as input.
2076         * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
2077         of the charmap.
2079 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
2081         * iconvdata/cns11643l1.c: Update to Unicode 3.1.
2082         (__cns11643l1_to_ucs4_tab): Regenerated.
2083         (__cns11643l1_from_ucs4_tab12): Regenerated.
2084         * iconvdata/cns11643.c: Update to Unicode 3.1.
2085         (__cns11643l14_to_ucs4_tab): Remove array.
2086         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
2087         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
2088         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
2089         (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
2090         (__cns11643_from_ucs4p2_tab): New array.
2091         * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
2092         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
2093         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
2094         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
2095         (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
2096         (__cns11643_from_ucs4_tab): Remove declaration.
2097         (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
2098         declarations.
2099         (ucs4_to_cns11643): Update for new arrays.  Treat U+3400..U+4DFF and
2100         U+20000..U+2A6D6.
2101         * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
2102         declaration.
2103         (__cns11643_from_ucs4p0_tab): New declaration.
2104         (ucs4_to_cns11643l2): Update for new arrays.
2105         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
2106         3 to 7.
2107         (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
2108         * iconvdata/EUC-TW.irreversible: New file.
2109         * iconvdata/tst-table.sh: Use it.
2110         * iconvdata/Makefile (distribute): Add CP1255.irreversible,
2111         CP1258.irreversible, EUC-TW.irreversible.
2113 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
2115         * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
2116         mathematical symbols.
2118 2001-06-05  Andreas Jaeger  <aj@suse.de>
2120         * manual/stdio.texi (Portable Positioning): Fix description of
2121         fpos_t and fpos64_t.
2123 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
2125         * sysdeps/generic/wordexp.c: Undo last patch.  Use strndupa instead.
2127         * po/sk.po: Update from translation team.
2129 2001-06-05  Andreas Jaeger  <aj@suse.de>
2131         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
2132         tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
2133         Closes PR libc/2315.
2135 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
2137         * sysdeps/generic/wordexp.c: Add missing free.
2138         Patch by yeti@physics.muni.cz.
2140 2001-06-02  Tom Browder  <tbrowder@home.com>
2142         * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
2143         within bounds when lag > 0.
2145 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
2147         * po/tr.po: New file.
2149 2001-06-05  Andreas Jaeger  <aj@suse.de>
2151         * manual/libm-err-tab.pl (parse_ulps): Fix typo.
2153 2001-06-04  H.J. Lu  <hjl@gnu.org>
2155         * sysdeps/alpha/elf/start.S: Add .type for the entry point.
2156         * sysdeps/arm/elf/start.S: Likewise.
2157         * sysdeps/hppa/elf/start.S: Likewise.
2158         * sysdeps/i386/elf/start.S: Likewise.
2159         * sysdeps/m68k/elf/start.S: Likewise.
2160         * sysdeps/mips/elf/start.S: Likewise.
2161         * sysdeps/ia64/elf/start.S: Likewise.
2162         * sysdeps/sh/elf/start.S: Likewise.
2163         * sysdeps/s390/s390-32/elf/start.S: Likewise.
2164         * sysdeps/s390/s390-64/elf/start.S: Likewise.
2165         * sysdeps/cris/elf/start.S: Likewise.
2167 2001-06-04  Bruce Mitchener  <bruce@cubik.org>
2169         * manual/resource.texi: Correct setpriority/nice documentation.
2171         * sysdeps/unix/nice.c: Correct nice() implementation.
2173 2001-06-04  Andreas Jaeger  <aj@suse.de>
2175         * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
2176         Stephen L Moshier <moshier@mediaone.net>.
2178 2001-06-03  Roland McGrath  <roland@frob.com>
2180         * Makefile (postclean): Remove obsolete sysd-Makefile.
2182 2001-06-01  Roland McGrath  <roland@frob.com>
2184         * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
2185         and use compat_symbol/versioned_symbol instead of plain
2186         symbol_version/default_symbol_version.
2187         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
2188         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
2189         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
2190         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
2191         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
2192         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
2193         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
2194         * sysdeps/arm/fpu/fegetenv.c: Likewise.
2195         * sysdeps/arm/fpu/fesetenv.c: Likewise.
2196         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
2197         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
2198         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
2199         * sysdeps/i386/fpu/fegetenv.c: Likewise.
2200         * sysdeps/i386/fpu/fesetenv.c: Likewise.
2201         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
2202         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
2203         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2204         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
2205         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
2206         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
2207         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
2208         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
2209         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
2210         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
2211         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
2212         * sysdeps/powerpc/fclrexcpt.c: Likewise.
2213         * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
2214         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2215         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2216         * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
2217         * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
2218         * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
2220         * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
2221         * iconvdata/iso-2022-cn-ext.c: Likewise.
2223 2001-06-01  Andreas Jaeger  <aj@suse.de>
2225         * Versions.def: Add version 2.2.4.
2227 2001-06-01  Ulrich Drepper  <drepper@redhat.com>
2229         * socket/Makefile (routines): Add sockatmark.
2230         * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
2231         * socket/sys/socket.h: Add prototype for sockatmark.
2232         * sysdeps/generic/sockatmark.c: New file.
2233         * sysdeps/unix/sockatmark.c: New file.
2235 2001-06-01  Andreas Jaeger  <aj@suse.de>
2237         * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
2238         B4000000.
2239         (cfsetospeed): Likewise.
2240         Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
2242 2001-05-31  Joseph S. Myers  <jsm28@cam.ac.uk>
2244         * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
2246 2001-05-30  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2248         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
2249         needs to have the same aligment as the kernel structure.
2251 2001-05-29  Jakub Jelinek  <jakub@redhat.com>
2253         * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
2254         u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
2255         * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
2256         u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
2257         against multiple definition.
2259 2001-05-30  Ulrich Drepper  <drepper@redhat.com>
2261         * po/da.po: Update from translation team.
2263 2001-05-29  Andreas Jaeger  <aj@suse.de>
2265         * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
2266         Stephen L Moshier <moshier@mediaone.net>.
2268         * math/libm-test.inc (sinh_test): Add new test case.
2270         * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
2271         x when x < 2^-32.
2272         Patch by Stephen L Moshier <moshier@mediaone.net>.
2274 2001-05-23  Andreas Jaeger  <aj@suse.de>
2276         * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
2277         * iconvdata/testdata/WINDOWS-1255..UTF8: this.
2279 2001-05-27  Andreas Jaeger  <aj@suse.de>
2281         * manual/stdio.texi (String Streams): Fix fmemopen description.
2282         Reported by Michal Kochanowicz <michal@michal.waw.pl>.
2284 2001-05-26  H.J. Lu <hjl@gnu.org>
2286         * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
2287         to s_sigsuspend.  Add s_mmap2.
2289         * sysdeps/mips/atomicity.h: New file.
2291         * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
2293         * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
2294         back __key.
2296 2001-05-25  Bruce Mitchener  <bruce@cubik.org>
2298         * manual/ctype.texi: Minor fix.
2299         * manual/install.texi: Likewise.
2300         * manual/startup.texi: Likewise.
2301         * manual/examples/dir.c: Use perror() rather than puts().
2303 2001-05-25  David Mosberger  <davidm@hpl.hp.com>
2305         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
2306         #endif directive inside a comment to avoid compiler warnings.
2308 2001-05-25  Philipp Thomas  <pthomas@suse.de>
2310         * nis/nis_print.c (nis_nstype2str): Don't mark names of
2311         naming services for translation, only UNKNOWN needs it.
2312         Add comment to prevent it for the future.
2314 2001-05-25  Joseph S. Myers  <jsm28@cam.ac.uk>
2316         * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
2317         3.1 and non-GCC C99 compilers.
2319 2001-05-22  David Mosberger  <davidm@hpl.hp.com>
2321         * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
2322         performance.
2323         * sysdeps/ia64/memcpy.S: Likewise.
2325         * sysdeps/ia64/bcopy.S: New file.
2327         * sysdeps/ia64/bzero.S: New file (derived from memset.S).
2329 2001-05-26  Ulrich Drepper  <drepper@redhat.com>
2331         * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
2333 2001-05-24  Ulrich Drepper  <drepper@redhat.com>
2335         * iconvdata/Makefile: Add rules for CP10007.
2336         * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
2337         * iconvdata/cp10007.c: New file.
2338         * iconvdata/tst-tables.sh: Add CP10007.
2340 2001-05-23  kaz Kojima  <kkojima@rr.iij4u.or.jp>
2342         * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
2343         (_dl_runtime_profile): Likewise..
2345 2001-05-23  Thorsten Kukuk  <kukuk@suse.de>
2347         * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
2348         * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
2350 2001-05-19  H.J. Lu  <hjl@gnu.org>
2352         * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
2353         errstring of the failed DSO to _dl_signal_error ().
2355 2001-05-23  Ulrich Drepper  <drepper@redhat.com>
2357         * iconvdata/gconv-modules: Add more aliases to enable use in
2358         locale names.
2360 2001-05-23  Andreas Jaeger  <aj@suse.de>
2362         * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
2363         Remove, it's not used anywhere anymore.
2364         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
2365         (CFLAGS-initfini.s): Likewise.
2366         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
2367         (CFLAGS-initfini.s): Likewise.
2368         * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
2369         Likewise.
2370         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
2371         Likewise.
2373 2001-05-21  Bruno Haible  <haible@clisp.cons.org>
2375         * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
2376         use 0 instead, and rely on the converter to do the flush.
2377         * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
2378         utf8_test.
2379         (utf8_test_2, utf8_test_3): New function.
2380         (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
2382 2001-05-22  Jakub Jelinek  <jakub@redhat.com>
2384         * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
2386         * elf/Makefile (distribute): Add reldep4mod[1234].c.
2387         (tests): Add reldep4.
2388         (modules-names): Add reldep4mod[1234].
2389         (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
2390         * elf/reldep4.c: New file.
2391         * elf/reldep4mod1.c: Likewise.
2392         * elf/reldep4mod2.c: Likewise.
2393         * elf/reldep4mod3.c: Likewise.
2394         * elf/reldep4mod4.c: Likewise.
2396 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
2398         * elf/dl-lookup.c (PROTECTED): Remove defines.
2399         (add_dependency): Mark it with internal_function.
2400         (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
2401         (_dl_lookup_symbol, _dl_lookup_symbol_skip,
2402         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
2403         it if we don't want do_lookup* inlined.
2405 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
2407         * include/link.h (struct r_scope_elem): Remove r_duplist and
2408         r_nduplist fields.
2409         * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
2410         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
2411         r_duplist.
2412         (_dl_lookup_versioned_symbol_skip): Likewise.
2413         * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
2414         (_dl_map_object_deps): Don't compute duplicate list.
2416         * elf/dl-symbol.c: Removed.
2417         * elf/Makefile (routines): Remove dl-symbol.
2419 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
2421         * po/el.po: Update from translation team.
2422         * po/sv.po: Likewise.
2424 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
2426         * iconvdata/cp1255.c: Completely rewritten.
2427         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
2428         * iconvdata/testdata/WINDOWS-1255: New file.
2429         * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
2430         * iconvdata/TESTS: Add WINDOWS-1255 test.
2431         * iconvdata/CP1255.irreversible: New file.
2433 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
2435         * iconvdata/cp1258.c: Completely rewritten.
2436         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
2437         * iconvdata/testdata/WINDOWS-1258: New file.
2438         * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
2439         * iconvdata/TESTS: Add WINDOWS-1258 test.
2440         * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
2441         the main call, and flush it afterwards.
2442         (utf8_decode): Return a string, possibly containing several Unicode
2443         characters.
2444         (main): Update all utf8_decode calls.
2445         * iconvdata/CP1258.irreversible: New file.
2447 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
2449         * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
2450         * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2.  In the
2451         first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
2452         EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
2453         the next step.  In the second case, clear the state without calling
2454         EMIT_SHIFT_TO_INIT.
2455         * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
2456         data->__outbuf, and outend instead of data->__outbufend.
2457         * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
2458         * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
2459         * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
2460         * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
2461         * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
2462         * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
2463         * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
2464         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
2465         * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
2467 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
2469         * elf/rtld.c (dl_main): Compute l_map_end for the main program.
2470         * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
2471         If match == _dl_loaded, caller can still come from the main program.
2472         (_dl_vsym): Likewise.
2473         * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
2474         * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
2475         * elf/restest2.c: New test.
2476         * elf/Makefile (tests): Add restest2.
2477         (restest2, LDFLAGS-restest2): Add rules.
2479 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
2481         * intl/Makefile: Add a few more dependencies to avoid races in the
2482         test shell scripts.
2484 2001-05-22  Andreas Jaeger  <aj@suse.de>
2486         * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
2487         Stephen L Moshier <moshier@mediaone.net>.
2489 2001-05-22  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2491         * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
2492         return addresses instead of the stack pointers.
2493         * sysdeps/s390/s390-64/backtrace.c: Likewise.
2495 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
2497         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
2498         bits/sigcontext.h instead of bits/sigstack.h.
2499         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
2500         multiple-inclusion guards.
2502 2001-05-21  Andreas Jaeger  <aj@suse.de>
2504         * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
2505         Patch by Philipp Thomas <pthomas@suse.de>.
2507 2001-05-17  Bruce Mitchener  <bruce@cubik.org>
2509         * manual/arpg.texi: Spelling, misc fixes.
2510         * manual/arith.texi: Likewise.
2511         * manual/crypt.texi: Likewise.
2512         * manual/debug.texi: Likewise.
2513         * manual/getopt.texi: Likewise.
2514         * manual/intro.texi: Likewise.
2515         * manual/memory.texi: Likewise.
2516         * manual/nss.texi: Likewise.
2517         * manual/pattern.texi: Likewise.
2518         * manual/process.texi: Likewise.
2519         * manual/resource.texi: Likewise.
2520         * manual/search.texi: Likewise.
2521         * manual/setjmp.texi: Likewise.
2522         * manual/signal.texi: Likewise.
2523         * manual/socket.texi: Likewise.
2524         * manual/stdio.texi: Likewise.
2525         * manual/string.texi: Likewise.
2526         * manual/sysinfo.texi: Likewise.
2527         * manual/terminal.texi: Likewise.
2528         * manual/llio.texi: Document madvise().
2530 2001-05-20  Roland McGrath  <roland@frob.com>
2532         * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
2533         found within $(add-ons) directories too.
2534         [linuxthreads add-on]: Move variable settings for linuxthreads
2535         to new file linuxthreads/Makeconfig.
2537 2001-05-20  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2539         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2540         Define for linux >= 2.4.5 on powerpc.
2541         (__ASSUME_MMAP2_SYSCALL): Likewise.
2543 2001-05-19  Roland McGrath  <roland@frob.com>
2545         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
2546         result port when failing with ELOOP.  Do the ELOOP check when
2547         following an absolute symlink target as well as relative.
2548         Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
2550 2001-05-18  Andreas Jaeger  <aj@suse.de>
2552         * po/fr.po: Free software is "logiciel libre".
2553         Patch by Martin Michlmayr <tbm@cyrius.com>.
2555         * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
2556         Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
2558 2001-05-17  David Mosberger  <davidm@hpl.hp.com>
2560         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
2562 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
2564         * elf/dl-profile.c (_dl_mcount): Check whether state is
2565         GMON_PROF_ON before doing anything.
2567 2001-05-17  H.J. Lu  <hjl@gnu.org>
2569         * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
2571 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
2573         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
2574         CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
2575         Reported by Mark Burton <markb@ordern.com>.
2577 2001-05-17  Jakub Jelinek  <jakub@redhat.com>
2579         * elf/ldconfig.c (add_dir): Only warn about stat failure if
2580         opt_verbose.
2581         (search_dir): Likewise.
2583 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
2585         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
2586         parameter of xaddl.  Patch by H . J . Lu <hjl@lucon.org>.
2588 2001-05-14  Bruno Haible  <haible@clisp.cons.org>
2590         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
2591         without previous announcement, reject it regularly, don't abort.
2593 2001-05-16  Ulrich Drepper  <drepper@redhat.com>
2595         * math/tgmath.h: Fix handling of int parameters to binary and
2596         ternary functions.  Reported by mitr@volny.cz.
2598         * math/test-tgmath.c: Add tests for calls with integer parameters.
2600 2001-05-15  Jakub Jelinek  <jakub@redhat.com>
2602         * sunrpc/rpc_thread.c (rpc_default): Remove.
2603         (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
2604         rpc_default.
2605         (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
2606         __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
2607         * sunrpc/auth_none.c (authnone_private): Fix a typo.
2609 2001-05-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2611         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
2613 2001-05-16  Bruce Mitchener  <bruce@cubik.org>
2615         * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
2617 2001-05-15  Andreas Jaeger  <aj@suse.de>
2619         * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
2620         Stephen L Moshier <moshier@mediaone.net>.
2622         * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
2624         * math/libm-test.inc: Add comment with ToDo.
2626         * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
2627         accurate algorithm.  Patch by Stephen L Moshier <moshier@mediaone.net>.
2629         * sysdeps/i386/fpu/e_expl.S: Removed.
2631 2001-05-14  Roland McGrath  <roland@frob.com>
2633         * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
2634         static pattern rule also that also covers
2635         $(objpx)g$(static-start-installed-name).
2636         [$(start-installed-name) != $(static-start-installed-name)]
2637         (extra-objs, omit-deps, install-lib): Add
2638         $(static-start-installed-name) and g$(static-start-installed-name).
2639         * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
2640         just setting static-start-installed-name is now sufficient.
2641         (extra-objs): Add static-start.o here.
2642         (CFLAGS-initfini.s): Remove obsolete variable.
2643         * sysdeps/mach/hurd/i386/Makeconfig: New file.
2644         Define static-start-installed-name here.
2646         * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
2647         * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
2649         * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
2650         associated hair.  Instead, just use $(wildcard ...) in the include.
2652         * configure.in (critic_missing, aux_missing): Collect in these vars
2653         the names of the missing programs, and include them in the error msgs.
2654         * configure: Regenerated.
2656 2001-05-14  Andreas Jaeger  <aj@suse.de>
2658         * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
2660         * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
2662 2001-05-14  Stephen L Moshier <moshier@mediaone.net>
2664         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
2666 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
2668         * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
2669         as well if swapping strings.
2670         Make sure stop is not past end of second string.
2671         * posix/bug-regex4.c: New test.
2672         * posix/Makefile (tests): Add bug-regex4.
2674 2001-05-10  Andreas Jaeger  <aj@suse.de>
2676         * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
2677         requirement.
2679 2001-05-12  Andreas Jaeger  <aj@suse.de>
2681         * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
2682         internal prototypes.
2683         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2684         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2685         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2686         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2687         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2688         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2689         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2691         * math/math_private.h: Add prototypes for internal functions of
2692         the IBM Accurate Mathematical Library.
2694         * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
2695         prototypes.
2696         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2698         * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
2699         internal prototypes.
2700         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2701         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2702         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2703         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2704         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2705         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2706         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2707         * sysdeps/generic/e_rem_pio2l.c: Likewise.
2708         (__ieee754_rem_pio2l): Fix prototype.
2710         * math/math_private.h (__copysign): Add internal prototype.
2712 2001-05-11  Andreas Jaeger  <aj@suse.de>
2714         * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
2715         * sysdeps/unix/sysv/linux/mips/configure.in: ...here.  New file.
2717 2001-05-11  Andreas Jaeger  <aj@suse.de>
2719         * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
2720         MIPS.
2722         * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
2723         format directive.  Patch by Steven J. Hill <sjhill@cotw.com>.
2725 2001-05-11  Roland McGrath  <roland@frob.com>
2727         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
2728         $(build-module) here, since we don't need the full magilla.
2729         Just use $(build-module-helper) and append our special options.
2731 2001-05-09  Andreas Schwab  <schwab@suse.de>
2733         * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
2734         reached EOF.
2736 2001-05-07  H.J. Lu  <hjl@gnu.org>
2738         * elf/ldconfig.c (dir_entry): Add ino and dev.
2739         (add_single_dir): Compare ino and dev to check if 2 directory
2740         paths are the same or not.  Free entry->path for duplicates.
2741         (add_dir): Initialize ino and dev for entry.
2742         (search_dir): Handle symlink to directory.
2744 2001-05-07  Andreas Jaeger  <aj@suse.de>
2746         * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
2748         * math/libm-test.inc (exp_test): Add some more tests.
2749         (pow_test): Run double only test also for long double.
2751         * math/test-ldouble.c (TEST_LDOUBLE): Define.
2752         * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
2754         * sysdeps/generic/bits/confname.h: Remove extra comma at end of
2755         enumeration.
2756         Closes PR libc/2240.
2758         * scripts/config.guess: Imported from gnu.org.
2759         * scripts/config.sub: Likewise.
2761 2001-05-05  Jakub Jelinek  <jakub@redhat.com>
2763         * include/features.h (__USE_EXTERN_INLINES): Don't define if
2764         __NO_INLINE__ is defined.
2765         * ctype/ctype.h (tolower, toupper): Change the guard condition to
2766         __USE_EXTERN_INLINES check only.
2767         * stdlib/stdlib.h (strtod, ...): Likewise.
2768         * wcsmbs/wchar.h (mbrlen): Likewise.
2769         * string/string.h: Only include bits/string.h and bits/string2.h
2770         if __NO_INLINE__ is not defined.
2772 2001-05-07  Andreas Jaeger  <aj@suse.de>
2774         * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
2775         of @LIBDIR@.
2777 2001-05-04  H.J. Lu  <hjl@gnu.org>
2779         * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
2780         not @LIBDIR@.
2782 2001-05-06  Andreas Jaeger  <aj@suse.de>
2784         * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
2785         * sysdeps/i386/fpu/e_fmodl.S: Removed.
2786         * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
2787         * sysdeps/i386/fpu/e_atan2l.S: Removed.
2788         * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
2789         * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
2790         * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
2791         * sysdeps/i386/fpu/e_acosl.S: Removed.
2792         * sysdeps/i386/fpu/s_atanl.S: Removed.
2793         * sysdeps/i386/fpu/e_sqrtl.S: Removed.
2795 2001-05-05  Mark Kettenis  <kettenis@gnu.org>
2797         * sysdeps/mach/hurd/bits/environments.h: Add comment from
2798         sysdeps/generic/bits/environments.h.  Define _POSIX_V6_* values.
2800 2001-04-30  Jakub Jelinek  <jakub@redhat.com>
2802         * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
2803         that _CS_LFS_CFLAGS can fall through to the empty returned string
2804         case.  Add FALLTHROUGH comment.
2806 2001-04-29  Ralf Baechle  <ralf@gnu.org>
2808         * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
2809         definitions match the kernel definitions.
2810         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
2811         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2813 2001-04-29  Ben Collins  <bcollins@debian.org>
2815         * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
2816         warnings.
2817         * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
2818         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2819         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2820         * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
2821         * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
2822         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2823         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2824         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2825         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2826         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2827         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2828         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2829         * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
2830         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2831         * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
2832         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2833         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2834         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2835         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2836         * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
2837         * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
2838         * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
2839         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2841 2001-04-29  Andreas Schwab  <schwab@suse.de>
2843         * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
2844         in last change.
2846 2001-04-29  Andreas Jaeger  <aj@suse.de>
2848         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2849         Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
2851         * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
2852         Linux 2.4.4.
2853         (AF_WANPIPE): Likewise.
2854         (MSG_MORE): New.
2856         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
2857         for Linux generic version.
2858         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
2859         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2860         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2861         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
2863         * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
2865 2001-04-27  Ulrich Drepper  <drepper@redhat.com>
2867         * nis/nss-nis.h: Correct test for invalid error number.
2868         * nis/nss-nisplus.h: Likewise.
2870         * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
2872 2001-04-26  Ulrich Drepper  <drepper@redhat.com>
2874         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
2876         * string/strcoll.c: Fix two memory allocation problems.
2877         * string/Makefile (tests): Add bug-strcoll1.
2878         * string/bug-strcoll1.c: New file.
2880         * malloc/mcheck.c (mcheck): Call malloc once before setting the
2881         hooks to allow the internal check hooks to be set up if necessary.
2883         * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
2884         and rename to __yperr2nss_tab.  Change YPERR_COUNT into variable
2885         __yperr2nss_count.
2886         * nis/nss-nis.c: New file.
2887         * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
2888         and rename to __niserr2nss_tab.  Change NISERR_COUNT into variable
2889         __niserr2nss_count.
2890         * nis/nss-nisplus.c: New file.
2891         * nis/Makefile (libnss_compat-routines): Add nss-nis.
2892         (libnss_nis-routines): Likewise.
2893         (libnss_nisplus-routines): Add nss-nisplus.
2895         * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
2896         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2897         * nis/nss_nisplus/nisplus-grp.c: Likewise.
2898         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2899         * nis/nss_nisplus/nisplus-network.c: Likewise.
2900         * nis/nss_nisplus/nisplus-proto.c: Likewise.
2901         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2902         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2903         * nis/nss_nisplus/nisplus-service.c: Likewise.
2904         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2905         * nis/nss_nis/nis-alias.c: Likewise.
2906         * nis/nss_nis/nis-ethers.c: Likewise.
2907         * nis/nss_nis/nis-grp.c: Likewise.
2908         * nis/nss_nis/nis-network.c: Likewise.
2909         * nis/nss_nis/nis-proto.c: Likewise.
2910         * nis/nss_nis/nis-pwd.c: Likewise.
2911         * nis/nss_nis/nis-spwd.c: Likewise.
2912         * nis/nss_compat/compat-grp.c: Likewise.
2913         * nis/nss_compat/compat-initgroups.c: Likewise.
2914         * nis/nss_compat/compat-pwd.c: Likewise.
2915         * nis/nss_compat/compat-spwd.c: Likewise.
2917         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
2918         optimizations.  Patch by Jakub Jelinek <jakub@redhat.com>.
2920 2001-04-26  Andreas Jaeger  <aj@suse.de>
2922         * po/zh_TW.po: Update.
2923         Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
2925 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
2927         * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
2928         compiler command line.
2929         * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
2930         command line for malloc.c.
2932 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
2934         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
2935         * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
2936         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
2937         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
2938         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here.  Adjust
2939         struct msghdr for __WORDSIZE == 32.
2940         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
2941         * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here.  Adjust
2942         for __WORDSIZE == 32.
2943         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
2944         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
2945         file.
2946         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
2947         Rename from longjmp, make longjmp weak alias to it.
2949 2001-04-24  David S. Miller  <davem@redhat.com>
2951         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
2953 2001-04-25  Matthew Wilcox  <willy@ldl.fc.hp.com>
2955         * sysdeps/hppa/stackinfo.h: New file.
2956         * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
2957         * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
2958         * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
2959         * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
2960         of PA kernel features.
2962 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
2964         * locale/programs/localedef.c (main): Always set a file name for
2965         the initial locale.
2966         * locale/programs/locfile.c (locfile_read): filename is allowed to
2967         be NULL.
2969 2001-04-12  Paul Bame  <paul_bame@hp.com>
2971         * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
2972         enable flags.
2974 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
2976         * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
2977         _XBS5_LPBIG_OFFBIG): Define to -1.
2978         Fix typos.
2980         * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
2981         * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
2982         * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2983         * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2985         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
2986         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
2988 2001-03-21  Alan Modra  <alan@one.net.au>
2990         * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
2991         value from application so that constructors in non-PIC libs work.
2993 2000-12-13  Jes Sorensen  <jes@linuxcare.com>
2995         * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
2996         function pointer, hence load the jump address and gp from the
2997         function pointer before jumping.
2999 2001-04-24  Andreas Jaeger  <aj@suse.de>
3001         * sysdeps/generic/send.c (__send): Return ssize_t.
3002         * sysdeps/mach/hurd/send.c (__send): Likewise.
3003         * sysdeps/mach/hurd/recv.c (recv): Likewise.
3004         * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
3005         * sysdeps/generic/sendto.c (sendto): Likewise.
3006         * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
3007         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
3008         * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
3009         * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
3011         * socket/sys/socket.h: send* and recv* return ssize_t.
3013         * include/sys/socket.h: send returns ssize_t.
3015         * sysdeps/i386/fpu_control.h: Fix comments.
3017 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
3019         * sysdeps/ia64/Dist: Add hp-timing.c.
3020         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
3021         * posix/Makefile (distribute): Add tst-getconf.sh.
3022         * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
3024 2001-04-23  Ulrich Drepper  <drepper@redhat.com>
3026         * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
3027         * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
3028         * sysdeps/ia64/hp-timing.c: New file.
3029         * sysdeps/ia64/hp-timing.h: New file.
3030         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
3031         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
3033         * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
3034         using #ifdef whether the clock is available.
3035         * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
3037         * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
3038         it into data section.
3040         * sysdeps/unix/i386/i586/clock_getres.c: Removed.
3041         * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
3042         * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
3043         * sysdeps/unix/i386/i586/clock_settime.c: Removed.
3044         * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
3045         * sysdeps/generic/cpuclock-init.h: Removed.
3046         * sysdeps/unix/i386/i686/Implies: Removed.
3047         * sysdeps/unix/i386/i686/tempname.c: Removed.
3048         * sysdeps/i386/i686/Versions: New file.
3049         * sysdeps/unix/i386/i586/Versions: Removed.
3051         * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
3052         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
3053         * sysdeps/unix/clock_gettime.c: Likewise.
3054         * sysdeps/unix/clock_nanosleep.c: Likewise.
3055         * sysdeps/unix/clock_settime.c: Likewise.
3056         * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
3057         RANDOM_BITS use CPU clock.
3059         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
3060         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
3061         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
3062         * sysdeps/sparc/Versions: New file.
3064         * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
3065         hp-timing.h definitions.
3066         * sysdeps/generic/dl-sysdep.c: Likewise.
3068         * include/libc-internal.h: Include hp-timing.h.  Use hp_timing_t in
3069         __get_clockfreq prototype.
3071         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3072         Use hp_timing_t type.
3073         * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
3075         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
3077         * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
3078         whether named file is a regular file or a block device.
3079         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
3081 2001-04-23  Andreas Jaeger  <aj@suse.de>
3083         * nscd/nscd.h: Add noreturn attribute for start_threads.
3085 2001-04-22  Ulrich Drepper  <drepper@redhat.com>
3087         * posix/getconf.c: Fix names of XBS5 LFS test variables.
3088         Add missing configuration variables from XPG6.
3089         * posix/tst-getconf.c: New file.
3090         * posix/Makefile (generated): Add tst-getconf.out.
3091         (tests): Add ($objpfx)tst-getconf.out.
3092         Add rule to run tst-getconf.sh.
3093         * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
3094         from XPG6.
3095         * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
3096         _PC_SYMLINK_MAX.
3097         * sysdeps/posix/pathconf.c: Likewise.
3098         * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
3099         and _SC_SYMLOOP_MAX.
3101 2001-04-22  Philip Blundell  <philb@gnu.org>
3103         * sysdeps/arm/fpu/feenablxcpt.c: New file.
3104         * sysdeps/arm/fpu/fedisablxcpt.c: New file.
3105         * sysdeps/arm/fpu/fegetexcpt.c: New file.
3107 2001-04-22  Philip Blundell  <philb@gnu.org>
3109         * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
3110         Renamed from struct user_fp.
3111         (struct user_regs): New.
3112         (struct user): Use struct user_regs rather than struct pt_regs to
3113         avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
3114         of struct user_fp and struct user_fp_struct.
3115         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
3116         not sys/elf.h.
3118 2001-04-22  Philip Blundell  <philb@gnu.org>
3120         * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
3121         sys/procfs.h, and tell the user to include that file instead.
3122         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
3123         surrounded with #if 0.
3124         (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
3125         from sys/elf.h.
3126         (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
3127         elf_fpregset_t respectively.
3129 2001-04-22  Philip Blundell  <philb@gnu.org>
3131         * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
3132         address that faulted.
3134 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
3136         * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
3137         values.
3138         * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
3139         * posix/confstr.c: Handle _CS_POSIX_V6_* values.
3140         * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
3141         * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
3143         * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
3144         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3145         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3146         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
3148 2001-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3150         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
3151         offset.
3153 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
3155         * posix/getopt.h: Treat __cplusplus like __STDC__.
3157 2001-04-20  John S. Marvin  <jsm@fc.hp.com>
3159         * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
3160         entry point stub.
3162 2001-04-20  Richard Hirst  <rhirst@linuxcare.com>
3164         * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
3165         and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
3167         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
3168         entry so the ptrace.c wrapper is used.
3170 2001-04-20  Alan Modra  <amodra@one.net.au>
3172         * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
3173         (DL_FUNCTION_ADDRESS): Define.
3174         (DL_DT_INIT_ADDRESS): Define.
3175         (DL_DT_FINI_ADDRESS): Define.
3176         * sysdeps/hppa/Versions: Add _dl_function_address.
3177         * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
3178         * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
3179         _dl_function_address.
3181 2001-04-21  Andreas Jaeger  <aj@suse.de>
3183         * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
3184         * resolv/gai_misc.c (handle_requests): Likewise.
3185         * malloc/obstack.c (print_and_abort): Likewise.
3186         * malloc/mcheck.c (mabort): Likewise.
3188         * sysdeps/unix/i386/i586/clock_settime.c: Include
3189         "libc-internal.h" for __get_clockfreq declaration.
3191 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
3193         * elf/dl-support.c: Include cpuclock-init.h.  Use CPUCLOCK_VARDEF and
3194         CPUCLOCK_INIT if defined.
3195         * sysdeps/generic/dl-sysdep.c: Likewise.
3196         * sysdeps/generic/cpuclock-init.h: New file.
3197         * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
3198         * sysdeps/unix/i386/i586/Versions: New file.
3199         * sysdeps/unix/i386/i586/clock_settime.c: New file.
3200         * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
3201         separately by calling __pthread_clock_gettime if this function is
3202         available.  Subtract offset from tsc value before computing time value.
3204 2001-04-20  Ulrich Drepper  <drepper@redhat.com>
3206         * iconv/iconv_prog.c (print_known_names): If printing goes not to
3207         a tty print in a more machine-friendly way.
3209         * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
3210         Contributed by Stephen L Moshier <moshier@mediaone.net>.
3212 2001-04-20  Andreas Jaeger  <aj@suse.de>
3214         * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
3216 2001-04-20  Andreas Schwab  <schwab@suse.de>
3218         * sysdeps/m68k/fpu/libm-test-ulps: Update.
3220 2001-04-19  Alan Modra  <amodra@one.net.au>
3222         * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
3223         * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
3224         (CFLAGS-.os): Remove.
3226         * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
3228         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
3229         gregset): Correct for new kernel definitions.
3231 2001-04-19  Alan Modra  <alan@linuxcare.com.au>
3233         * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
3234         generate unwind info by hand.
3236 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
3238         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
3240         * configure.in: Correct regular expression for msgfmt.
3241         Patch by Bruno Haible <haible@ilog.fr>.
3243 2001-04-19  Andreas Jaeger  <aj@suse.de>
3245         * po/el.po: Add comment explaining what's broken.
3247         * po/Makefile (BROKEN_LINGUAS): New.
3248         (ALL_LINGUAS): Don't add broken languages.
3250 2001-04-19  Roland McGrath  <roland@frob.com>
3252         * sysdeps/mach/hurd/mlock.c: New file.
3253         * sysdeps/mach/hurd/munlock.c: New file.
3254         * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
3256         * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
3257         * sysdeps/generic/mlock.c: New file.
3258         * sysdeps/generic/munlock.c: New file.
3259         * sysdeps/generic/mlockall.c: New file.
3260         * sysdeps/generic/munlockall.c: New file.
3261         * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
3262         * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
3263         mlockall, munlockall): Change caller field to - from EXTRA.
3264         Don't use __ names; not used (and not declared in include/sys/mman.h).
3266         * hurd/privports.c (__get_privileged_ports): Renamed with __.
3267         Use __ names for calls we make.
3268         (get_privileged_ports): Add alias.
3269         * hurd/hurd.h: Declare it with the __ name.
3270         * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
3271         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
3272         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
3274         * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
3275         nothing if it's zero.
3277 2001-04-19  Matthew Wilcox  <willy@ldl.fc.hp.com>
3279         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
3280         Change to return a signed result for compatibility with other
3281         architectures, and correctness.
3283 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
3285         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
3286         HPPA always had them.  Patch by Matthew Wilcox <matthew@wil.cx>.
3288 2001-04-19  Andreas Jaeger  <aj@suse.de>
3290         * configure.in: Require gettext 0.10.36 or newer.
3292         * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
3294         * po/zh_TW.po: Remove extraneous backslashes.
3296         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
3297         variables b and n.
3299 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
3301         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
3302         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
3303         * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
3304         * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
3305         Copy first word of uc_sigmask into __uc_sigmask.
3306         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
3307         Save uc_link around trap.  Copy __uc_sigmask into first word of
3308         uc_sigmask, clear the rest.  Make sure setcontext to the created
3309         context doesn't do this though.
3310         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
3311         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
3312         uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
3313         64bit version, make uc_sigmask __sigset_t in the 32bit version.
3315 2001-04-19  Andreas Jaeger  <aj@suse.de>
3317         * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
3319         * rt/Makefile (otherlibs): Added for static NSS.
3321         * glibcbug.in (BUGGLIBC): Send to new alias.
3323 2001-04-02  Andreas Schwab  <schwab@suse.de>
3325         * Makerules (build-module): Make sure exit codes get checked
3326         properly and remove unnecessary slashes.
3328 2001-04-17  Ulrich Drepper  <drepper@redhat.com>
3330         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3331         Handle kernels which report only three digits after the decimal point.
3332         Reported by Van Okamura <van.okamura@oracle.com>.
3334         * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
3336 2001-04-17  David S. Miller  <davem@redhat.com>
3338         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
3339         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3341 2001-04-17  Jakub Jelinek  <jakub@redhat.com>
3343         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
3344         desired exceptions are raised for exceptional values.
3345         * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
3346         cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
3347         clog_test, log_test, log1p_test, tan_test): Increase precision of
3348         expected values to satisfy ldbl-128.
3349         * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
3350         * sysdeps/arm/libm-test-ulps: Likewise.
3351         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3352         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3353         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
3354         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
3355         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3356         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3357         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3358         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3359         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3361 2001-04-17  Andreas Jaeger  <aj@suse.de>
3363         * configure.in: Move test for critical programs up.
3365 2001-04-16  Stephen L Moshier  <moshier@mediaone.net>
3367         * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
3368         Correct the values.
3369         (pSx, qSx): Replace by shorter approximation.
3370         Use f suffix on float constants.
3372 2001-04-16  Ulrich Drepper  <drepper@redhat.com>
3374         * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
3375         Contributed by Stephen L Moshier <moshier@mediaone.net>.
3377         * string/string.h: Replace const in attribute list with __const__.
3379 2001-04-16  Roland McGrath  <roland@frob.com>
3381         * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
3382         instead of the constant NGROUPS_MAX.  That way, the limit can be
3383         raised in the kernel configuration without having to recompile libc.
3385         * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
3386         define NGROUPS_MAX; we don't use it here.
3388 2001-04-16  Andreas Jaeger  <aj@suse.de>
3390         * math/libm-test.inc (atan2_test): Add more testcases.
3392         * iconv/gconv_db.c: Include gconv_charset.h for
3393         __gconv_lookup_alias prototype.
3395 2001-04-13  Ulrich Drepper  <drepper@redhat.com>
3397         * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
3398         Contributed by Stephen L Moshier <moshier@mediaone.net>.
3400 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
3402         * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
3404 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
3406         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
3407         explicitly pad struct siginfo instead of relying on compiler padding.
3409 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
3411         * sysdeps/ia64/Dist: Add elf/entry.h.
3413         * iconvdata/Makefile (distribute): Add TESTS2.
3415 2001-04-13  Jakub Jelinek  <jakub@redhat.com>
3417         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
3418         Calculate load address differently.
3420 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
3422         * iconvdata/TESTS2: New file.
3423         * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
3424         * iconvdata/testdata/alfabeta..UTF-8: New file.
3425         * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
3426         * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
3427         * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
3428         * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
3430 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
3432         * iconvdata/utf-32.c: New file.
3433         * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
3434         * iconvdata/Makefile (modules): Add UTF-32.
3435         (distribute): Add utf-32.c.
3437 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
3439         * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
3440         changing it in the state.  After incrementing 'inptr', store it back.
3441         * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
3442         store it back.
3444 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
3446         * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
3447         MIN_NEEDED_FROM.
3449 2001-04-11  David Mosberger  <davidm@hpl.hp.com>
3451         * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
3452         * sysdeps/ia64/htons.S: Likewise.
3454         * sysdeps/ia64/memset.S: Add unwind directives.
3455         * sysdeps/ia64/strncpy.S: Likewise.
3456         * sysdeps/ia64/strcat.S: Likewise.
3458         * sysdeps/ia64/memccpy.S: Add unwind directives.  Drop superfluous
3459         restore of ar.pfs.
3460         * sysdeps/ia64/strchr.S: Likewise.
3461         * sysdeps/ia64/memmove.S: Likewise.
3462         * sysdeps/ia64/memcpy.S: Likewise.
3463         * sysdeps/ia64/memcmp.S: Likewise.
3464         * sysdeps/ia64/memchr.S: Likewise.
3465         * sysdeps/ia64/strcmp.S: Likewise.
3466         * sysdeps/ia64/strlen.S: Likewise.
3467         * sysdeps/ia64/strcpy.S: Likewise.
3468         * sysdeps/ia64/strncmp.S: Likewise.
3470 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
3472         * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
3473         fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
3474         fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
3475         fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
3477 2001-04-11  Andreas Jaeger  <aj@suse.de>
3479         * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
3481 2001-04-11  Andreas Schwab  <schwab@suse.de>
3483         * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
3485 2001-04-11  Ulrich Drepper  <drepper@redhat.com>
3487         * sysdeps/arm/stackinfo.h: New file.
3489 2001-04-08  Thorsten Kukuk  <kukuk@suse.de>
3491         * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
3492         rpcgen to generate thread safe code.
3494 2001-04-10  Andreas Jaeger  <aj@suse.de>
3496         * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
3498 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
3500         * elf/dl-minimal.c (__assert_fail): Change error string.  It's
3501         most of the time no bug in ld.so.
3502         (__assert_perror_fail): Likewise.
3504 2001-04-11  Hans-Peter Nilsson  <hp@axis.com>
3506         * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
3507         from struct to unsigned int.
3509 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3511         * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
3512         AT_IGNOREPPC): New defines.
3513         * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
3514         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
3515         Define for newer powerpc kernels.
3516         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
3517         DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
3519 2000-4-10  kaz Kojima  <kkojima@rr.iij4u.or.jp>
3521         * sysdeps/sh/stackinfo.h: New file.
3523 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
3525         * locale/tst-C-locale.c (run_test): Add tests for locale objects.
3526         * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
3527         __ctype_tolower, and __ctype_toupper elements.
3529         * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
3530         Reported by Konstantin Osipov <rabid@spylog.ru>.
3532         * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
3533         the lousy AMD FPU.
3535 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3537         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
3538         * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
3539         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
3540         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
3542 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
3544         * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
3545         message.  Based on a patch by HJ Lu.
3547 2001-04-10  Andreas Schwab  <schwab@suse.de>
3549         * math/libm-test.inc (csinh_test): Don't require the invalid
3550         exception for csinh (x + iNaN), but make it optional.
3552 2001-04-09  David Mosberger  <davidm@hpl.hp.com>
3554         * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
3556         * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
3557         * sysdeps/ia64/elf/entry.h: New file.
3558         * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
3559         __start.
3560         * elf/rtld.c: Don't declare ENTRY_POINT.  Use ENTRY_POINT instead
3561         of &ENTRY_POINT.
3562         * sysdeps/generic/dl-sysdep.c: Likewise.
3563         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3564         * sysdeps/ia64/elf/start.S: Save base address of register backing
3565         store in __libc_ia64_register_backing_store_base.
3567 2001-04-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3569         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
3570         value of getcontext.
3571         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3572         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
3573         value of setcontext.
3574         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3575         * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
3576         call by changing the saved context.
3578 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
3580         * sysdeps/alpha/stackinfo.h: New file.
3581         * sysdeps/ia64/stackinfo.h: New file.
3583 2001-04-10  Andreas Schwab  <schwab@suse.de>
3585         * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
3586         values.
3587         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
3589 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
3591         * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
3592         * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
3594         * libio/Makefile (distribute): Add fd_to_filename.h.
3596 2001-04-05  David S. Miller  <davem@redhat.com>
3598         Add hp-timing support for sparcv9/sparc64 targets.
3599         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
3600         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
3601         * sysdeps/sparc/sparc64/hp-timing.c: New file
3602         * sysdeps/sparc/sparc64/hp-timing.h: New file
3603         * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
3604         * sysdeps/sparc/sparc64/Makefile: Likewise.
3606 2001-04-09  Jakub Jelinek  <jakub@redhat.com>
3608         * sysdeps/generic/fd_to_filename.h: New file.
3609         * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
3610         * libio/freopen.c (freopen): If FILENAME is NULL, try to get
3611         filename from the open file descriptor.
3612         * libio/freopen64.c (freopen64): Likewise.
3614 2001-04-09  Bruno Haible  <haible@clisp.cons.org>
3616         * misc/error.c (error): fflush stdout also if
3617         error_print_progname != NULL.
3618         (error_at_line): Likewise.
3620 2001-04-07  Bruno Haible  <haible@clisp.cons.org>
3622         * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
3623         (struct binding): Add codeset_cntr field.
3624         (_nl_load_domain): Add domainbinding argument.
3625         (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
3626         (_nl_find_msg): New declaration, moved here from loadinfo.h.
3627         * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
3628         (_nl_make_l10nflist): Remove domainbinding argument.
3629         (_nl_find_msg): Move declaration to gettextP.h.
3630         * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
3631         to 0.  Increment it when ->codeset is changed.
3632         * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
3633         (_nl_find_msg): Add domainbinding argument.  Reinitialize the converter
3634         if domainbinding->codeset_cntr has been incremented.
3635         * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
3636         _nl_make_l10nflist().  Pass it to _nl_load_domain() instead.
3637         * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
3638         * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
3639          from _nl_load_domain.  Append //TRANSLIT also when using libiconv.
3640         (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
3641         (_nl_load_domain): Add domainbinding argument.  Call
3642         _nl_init_domain_conv.
3643         (_nl_unload_domain): Call _nl_free_domain_conv.
3644         * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
3645         (test-srcs): Add tst-codeset.
3646         (tests): Depend on tst-codeset.out.
3647         (tst-codeset.out): New rule.
3648         (CFLAGS-tst-codeset.c): New variable.
3649         * intl/tst-codeset.sh: New file.
3650         * intl/tstcodeset.po: New file.
3651         * intl/tst-codeset.c: New file.
3652         * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
3653         calls.
3655 2001-04-07  Roland McGrath  <roland@frob.com>
3657         * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
3659 2001-03-31  Roland McGrath  <roland@frob.com>
3661         * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
3662         copying send rights into child.  When we hit our name for our proc
3663         port, just copy NEWPROC directly instead of repeating proc_task2proc
3664         to install the child's port.
3666 2001-04-08  Roland McGrath  <roland@frob.com>
3668         * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
3669         in second column, to provide default values for third column.
3670         * shlib-versions: Add comments about using DEFAULT in second column.
3671         (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
3672         (cris-.*-linux.*): Likewise.
3674 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
3676         * Makefile (distribute): Add scripts/documented.sh.
3677         * scripts/documented.sh: New file.
3679 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3681         * sysdeps/unix/sysv/linux/cris/Dist: New file.
3682         * sysdeps/unix/sysv/linux/cris/Makefile: New file.
3683         * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
3684         * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
3685         * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
3686         * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
3687         * sysdeps/unix/sysv/linux/cris/brk.c: New file.
3688         * sysdeps/unix/sysv/linux/cris/chown.c: New file.
3689         * sysdeps/unix/sysv/linux/cris/clone.S: New file.
3690         * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
3691         * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
3692         * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
3693         * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
3694         * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
3695         * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
3696         * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
3697         * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
3698         * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
3699         * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
3700         * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
3701         * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
3702         * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
3703         * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
3704         * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
3705         * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
3706         * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
3707         * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
3708         * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
3709         * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
3710         * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
3711         * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
3712         * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
3713         * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
3714         * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
3715         * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
3716         * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
3717         * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
3718         * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
3719         * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
3720         * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
3721         * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
3722         * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
3723         * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
3724         * sysdeps/unix/sysv/linux/cris/socket.S: New file.
3725         * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
3726         * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
3727         * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
3728         * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
3729         * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
3730         * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
3732 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3734         * sysdeps/cris/Dist: New file.
3735         * sysdeps/cris/Implies: New file.
3736         * sysdeps/cris/Makefile: New file.
3737         * sysdeps/cris/__longjmp.S: New file.
3738         * sysdeps/cris/_mcount.S: New file.
3739         * sysdeps/cris/bits/endian.h: New file.
3740         * sysdeps/cris/bits/setjmp.h: New file.
3741         * sysdeps/cris/bits/string.h: New file.
3742         * sysdeps/cris/dl-machine.h: New file.
3743         * sysdeps/cris/elf/start.S: New file.
3744         * sysdeps/cris/machine-gmon.h: New file.
3745         * sysdeps/cris/memcopy.h: New file.
3746         * sysdeps/cris/memusage.h: New file.
3747         * sysdeps/cris/setjmp.S: New file.
3748         * sysdeps/cris/sysdep.h: New file.
3749         * sysdeps/cris/wordcopy.c: New file.
3751 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3753         * elf/elf.h: Add new relocations for CRIS.
3755 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3757         * shlib-versions: Add cases for Linux on CRIS.
3759 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3761         * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
3762         ';' for comments and '@' for line separator.
3764 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3766         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
3767         typo; s/==/=/ for assignment.
3769 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3771         * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
3773 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3775         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
3776         empty input before checking full output.
3778 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3780         * iconv/gconv.c (__gconv): Don't derefer parameter cd before
3781         checking if == -1L.
3783 2001-04-08  Ulrich Drepper  <drepper@redhat.com>
3785         * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
3787 2001-04-07  Stephen L Moshier  <moshier@mediaone.net>
3789         * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
3790         return values.
3792 2001-04-07  Ulrich Drepper  <drepper@redhat.com>
3794         * stdlib/tst-setcontext.c (main): Add a test for setcontext.
3796         * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
3797         * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
3798         * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
3799         * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
3800         * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
3801         * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
3803 2001-04-07  Andreas Jaeger  <aj@suse.de>
3805         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
3806         instead of separate sin and cos.
3807         (__ieee754_j1l): Likewise.
3809 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
3811         * sysdeps/ia64/abort-instr.h: New file.  Code by David Mosberger.
3813         * sysdeps/ia64/atomicity.h: New file.  Copied from libstdc++.
3815         * sysdeps/i386/i486/atomicity.h: Clean up the asms.
3817         * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
3818         available.
3819         * sysdeps/generic/e_scalbf.c: Likewise.
3820         * sysdeps/generic/e_scalbl.c: Likewise.
3821         Patch by Mark Hatle <fray@mvista.com>.
3823 2001-04-05  David S. Miller  <davem@redhat.com>
3825         * sysdeps/sparc/abort-instr.h: New file.
3827 2001-04-05  Matt Wilson  <msw@redhat.com>
3829         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
3830         added code to parse new 2.4 format.
3831         (GET_NPROCS_CONF_PARSER): Likewise.
3833 2001-04-05  David S. Miller  <davem@redhat.com>
3835         * scripts/config.sub: Recognize sparcv9b like sparcv9.
3836         * configure.in: Add sparcv9b.
3837         * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
3838         * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
3839         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
3841 2001-04-06  David Mosberger  <davidm@hpl.hp.com>
3843         * stdlib/tst-setcontext.c: Move st2[] to global scope.
3844         (f2): Verify that stack pointer is inside st2[].
3846         * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
3847         * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
3849 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
3851         * timezone/antarctica: Update from tzdata2001b.
3852         * timezone/asia: Likewise.
3853         * timezone/australasia: Likewise.
3854         * timezone/europe: Likewise.
3855         * timezone/northamerica: Likewise.
3857         * iconv/iconv_open.c: Move strip and upstr definitions...
3858         * iconv/gconv_charset.h: ...here.  New file.
3859         * iconv/gconv_db.c (once): Move to file level.
3860         (do_lookup_alias): Split out from __gconv_find_transform.
3861         (__gconv_find_transform): Call do_lookup_alias.
3862         (__gconv_loopup_alias): New function.
3863         * locale/langinfo.h: Define _NL_*_CODESET values for all categories
3864         but LC_CTYPE.
3865         * locale/categories.def: Add entries for new _NL_*_CODESET values.
3866         * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
3867         * locale/C-address.c: Initialize _NL_*_CODESET element.
3868         * locale/C-collate.c: Likewise.
3869         * locale/C-identification.c: Likewise.
3870         * locale/C-measurement.c: Likewise.
3871         * locale/C-messages.c: Likewise.
3872         * locale/C-monetary.c: Likewise.
3873         * locale/C-name.c: Likewise.
3874         * locale/C-numeric.c: Likewise.
3875         * locale/C-paper.c: Likewise.
3876         * locale/C-telephone.c: Likewise.
3877         * locale/C-time.c: Likewise.
3878         * locale/localeinfo.h: Declare _nl_C_codeset.
3879         * locale/C_name.c: Define _nl_C_codeset.
3880         * locale/findlocale.c: Before accepting locale check that the used
3881         charset does not conflict with what the locale name said.
3882         * locale/programs/ld-address.c: Emit codeset information.
3883         * locale/programs/ld-collate.c: Likewise.
3884         * locale/programs/ld-identification.c: Likewise.
3885         * locale/programs/ld-measurement.c: Likewise.
3886         * locale/programs/ld-messages.c: Likewise.
3887         * locale/programs/ld-monetary.c: Likewise.
3888         * locale/programs/ld-name.c: Likewise.
3889         * locale/programs/ld-numeric.c: Likewise.
3890         * locale/programs/ld-paper.c: Likewise.
3891         * locale/programs/ld-telephone.c: Likewise.
3892         * locale/programs/ld-time.c: Likewise.
3894         * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
3895         if the locale data couldn't be found.
3897         * string/Makefile: Define tst-strxfrm-ENV.
3899         * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
3901 2001-04-06  Andreas Jaeger  <aj@suse.de>
3903         * include/sys/profil.h: New file.
3905         * dlfcn/modatexit.c: Add prototypes to silence GCC.
3906         * dlfcn/modcxaatexit.c: Likewise.
3907         * elf/globalmod1.c: Likewise.
3909 2001-04-05  David S. Miller  <davem@redhat.com>
3911         * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
3912         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
3913         capability flags table and HWCAP_IMPORTANT, increase
3914         _DL_HWCAP_COUNT to 6.
3915         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3917 2001-04-04  David Mosberger  <davidm@hpl.hp.com>
3919         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
3920         initialization of stack_end (bug reported by Zheng Gengbin
3921         <gzheng@students.uiuc.edu>).
3923 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
3925         * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
3927 2001-04-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3929         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
3931 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
3933         * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
3934         * sysdeps/i386/fpu/e_asinl.S: Removed.  Too inaccurate.
3936         * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
3938 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3940         * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
3941         define simple replacements here.  Patch by Michael Keezer.
3943         * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
3944         * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
3945         Contributed by Stephen L Moshier <moshier@mediaone.net>.
3947         * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
3948         anymore.
3950 2001-04-01  Andreas Jaeger  <aj@suse.de>
3952         * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
3953         alias.
3955         * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
3957 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3959         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
3960         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
3962 2001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3964         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
3965         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
3966         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
3967         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
3968         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
3969         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
3970         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
3971         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
3972         * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
3974 2001-04-04  Andreas Jaeger  <aj@suse.de>
3976         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
3977         place.
3979 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3981         * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
3982         * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
3983         * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
3984         (unsigned_dec): Likewise.
3985         Patch by atai@jezebel.dreamhost.com.
3987         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
3988         pointer to int as last parameter of yp_match.
3989         Patch by kanazawa@flab.fujitsu.co.jp.
3991 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
3993         * resolv/netdb.h (gai_strerror): Make return value const.
3994         * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
3995         * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
3996         Add strings for new error values.
3998 2001-03-29  Michael Keezer  <mkeezer@redhat.com>
4000         * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
4001         * login/tst-utmp.c: Handle case where ut_tv is not available but
4002         ut_time is.
4003         * sysdeps/unix/sysv/aix/utmpx.h: New file.
4004         * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
4005         _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
4006         * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
4007         * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
4008         to access RTCU timer reg.
4009         * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
4010         added dl-libc, dl-open,dl-sym, dl-close to misc.
4011         * sysdeps/unix/sysv/aix/start.c: New file.  Start code.
4012         * sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
4013         * sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
4014         * sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
4015         * sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
4016         * sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
4017         * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
4018         GLIBC_2_2).
4019         * sysdeps/generic/strtoull.c: Likewise.
4020         * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
4021         * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
4022         sysdeps/generic/memset.c.
4023         * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
4025 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
4027         * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
4028         * locale/programs/charmap.c: Define null_pointer if
4029         NEED_NULL_POINTER is defined.
4031         * misc/dirname.c (dirname): Handle multiple slashes correctly.
4033 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4035         * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
4037 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4039         * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
4040         * sysdeps/s390/s390-64/bcopy.S: Likewise.
4041         * sysdeps/s390/s390-32/mempcy.S: Likewise.
4042         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4044 2001-04-02  Bruno Haible  <haible@clisp.cons.org>
4046         * manual/message.texi (Advanced gettext functions): More specific
4047         syntax in the plural formula examples.
4049 2001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4051         * sysdeps/powerpc/atomicity.h: Silence warnings.
4052         * sysdeps/powerpc/dl-machine.h: Likewise.
4053         * sysdeps/powerpc/register-dump.h: Likewise.
4054         * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
4056 2001-04-02  Andreas Jaeger  <aj@suse.de>
4058         * misc/tst-dirname.c (main): Add more tests, derived from a bug
4059         report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
4061 2001-04-01  Andreas Jaeger  <aj@suse.de>
4063         * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
4064         is installed there.
4065         * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
4067 2001-04-01  H.J. Lu  <hjl@gnu.org>
4069         * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
4070         tmpnam (NULL).
4071         * stdlib/isomac.c (macrofile): Likewise.
4073 2001-03-30  Thorsten Kukuk  <kukuk@suse.de>
4075         * inet/rcmd.c: Allow AF_UNSPEC as parameter.
4076         * nis/ypclnt.c (yp_all): Print error message only at last try,
4077         check for protocoll error only if we don't have a network error.
4079 2001-04-02  Andreas Schwab  <schwab@suse.de>
4081         * resolv/res_data.c (res_isourserver): Fix cast.
4083 2001-04-02  Andreas Jaeger  <aj@suse.de>
4085         * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
4086         __umount2.
4088         * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
4089         strings.
4090         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
4092         * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
4093         initializers.
4094         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
4096         * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
4097         warning about unused variable.
4099         * string/string.h (strndupa): Add cast for C++ conformance.
4100         (strdupa): Likewise.
4101         Fixes PR libc/2173, reported by tbrowder@home.com.
4103 2001-03-30  Roland McGrath  <roland@frob.com>
4105         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
4106         options after $(build-module), which is no longer a single command.
4107         (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
4108         (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
4109         variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
4111 2001-03-11  Roland McGrath  <roland@frob.com>
4113         * elf/rtld.c (dl_main): Add cast to quiet warning.
4114         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4115         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
4116         (__gconv_read_conf): Likewise.
4117         * iconv/gconv_db.c (gen_steps): Likewise.
4118         (__gconv_find_transform): Likewise.
4119         * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
4120         (fopen_uncompressed): Use const in second argument's type.
4122 2001-03-11  Roland McGrath  <roland@frob.com>
4124         * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
4126         * mach/mach_error.h: Fix ancient #endif syntax.
4127         * hurd/hurdmalloc.c: Likewise.
4129         * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
4130         compare_and_swap): Add volatile qualifier to first arg, to bring
4131         these prototypes in line with all the other implementations.
4132         Add a #warning to remind the builder that these are not atomic.
4134 2001-03-04  Roland McGrath  <roland@frob.com>
4136         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
4137         member of TEMP_F so its type is _IO_FILE * as expected.
4139         * hurd/fopenport.c (seekio): Conditionalize type of POS argument
4140         on [USE_IN_LIBIO].  Check the value for overflow, since for libio
4141         it might exceed off_t's range.
4143 2001-02-25  Roland McGrath  <roland@frob.com>
4145         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
4146         * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
4148         * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
4149         macro instead of an inline function,
4150         (MSG_EXAMINE): Likewise.
4152         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
4154         * hurd/get-host.c: Include <string.h> for decls of built-ins.
4155         * hurd/hurdchdir.c: Likewise.
4156         * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
4157         * sysdeps/mach/hurd/opendir.c: Likewise.
4159         * mach/mach_init.c: Include <unistd.h> for _exit decl.
4161         * mach/errsystems.awk: Give output file a trailing newline.
4163         * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
4164         the script will use our compiler for the cpp stage.
4166         With --enable-all-warnings we get a whole bunch of warnings,
4167         and these are just a few fixes; there are more needed to silence it.
4168         * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
4169         decls before extern inline defns to quiet gcc warning.
4170         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
4171         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
4173 2001-03-31  Andreas Jaeger  <aj@suse.de>
4175         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
4176         (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
4177         (ARPHRD_CISCO): New.
4178         Changes from Linux 2.4.3.
4180 2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
4182         * posix/regex.c: Avoid an access violation if malloc fails.
4184 2001-03-30  Andreas Jaeger  <aj@suse.de>
4186         * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
4188 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
4190         * posix/regex.c: Remove unnecessary ifs.
4192         * math/bits/mathcalls.h: Remove infnan declaration.
4194 2001-03-29  H.J. Lu  <hjl@gnu.org>
4196         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
4197         and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
4198         * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
4200 2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
4202         * posix/regex.c: Fix typo and add a sentinel.
4204 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
4206         * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
4207         O_NOFOLLOW.  Suggested by Christoph Roland.
4209 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4211         * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
4212         * sysdeps/s390/s390-32/bits/string.h: Remove.
4213         * sysdeps/s390/s390-64/bits/string.h: Remove.
4214         * sysdeps/s390/s390-32/strcmp.S: New file.
4215         * sysdeps/s390/s390-64/strcmp.S: New file.
4217 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4219         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
4220         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4222 2001-03-27  Ulrich Drepper  <drepper@redhat.com>
4224         * version.h (VERSION): Bump to 2.2.3.
4226         * stdlib/isomac.c (fmt): Don't define _LIBC.
4227         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
4228         LOW_HALF only if _LIBC is defined.
4230         * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
4232         * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
4233         and +().
4234         * posix/tst-fnmatch.input: Add test cases for matching empty strings.
4236         * sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
4237         * include/endian.h: ...to here.
4239 2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
4241         * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
4242         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
4244 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4246         * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
4248 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
4250         * sysdeps/ia64/fpu/Dist: Add new files to distribute.
4251         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
4252         * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
4254         * gmon/Makefile (headers): Add sys/profil.h.
4256 2001-03-18  Andreas Jaeger  <aj@suse.de>
4258         * manual/install.texi (Tools for Compilation): Advise to use GCC
4259         2.95.3.
4260         (Supported Configurations): Mention s390x.
4262 2001-03-26  Ben Collins  <bcollins@debian.org>
4264         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
4265         defines to match other architectures.
4267 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
4269         * libio/Makefile (tests): Add tst-ext.
4270         * libio/tst-ext.c: New file.
4272         * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
4274 2001-03-25  Ulrich Drepper  <drepper@redhat.com>
4276         Add changes which were in this form in the original patch by
4277         Eric Norum <eric.norum@usask.ca>.
4278         * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
4279         svc_max_pollfd.
4280         * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
4281         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
4282         __rpc_thread_svc_max_pollfd.
4283         Define svc_fdset, get_rpc_createerr, svc_pollfd, and
4284         svc_max_pollfd.
4285         * sunrpc/rpc_thread.c: Handle first thread special, it uses the
4286         global variables.
4287         Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
4288         __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
4289         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
4290         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
4291         __rpc_thread_svc_max_pollfd.
4292         * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
4293         get_rpc_createerr.
4294         * sunrpc/clnt_perr.c: Likewise.
4295         * sunrpc/clnt_simp.c: Likewise.
4296         * sunrpc/clnt_tcp.c: Likewise.
4297         * sunrpc/clnt_udp.c: Likewise.
4298         * sunrpc/clnt_unix.c: Likewise.
4299         * sunrpc/pm_getport.c: Likewise.
4301         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
4302         syscall checks for negative n so don't test here as well.
4304 2001-03-23  Jes Sorensen  <jes@linuxcare.com>
4306         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
4307         * sysdeps/ia64/sysdep.h: ...here.
4309         * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
4310         * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
4312         * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
4313         declare instead of LEAF().  Suggestion from David Mosberger.
4315 2001-03-21  David Mosberger  <davidm@hpl.hp.com>
4317         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
4318         directives.
4319         (PSEUDO): Drop .psr and .lsb directives.
4321         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
4322         directives.
4323         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
4325         * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
4326         directives etc.
4327         * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
4328         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
4329         * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
4330         longer needed).  Add unwind directives.
4332         * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
4333         ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
4335 2001-03-21  Paul Eggert  <eggert@twinsun.com>
4337         * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
4338         (RE_SYNTAX_POSIX_EGREP): Use it.
4339         * posix/regex.c (regex_compile): Implement it.
4341 2001-03-21  Paul Eggert  <eggert@twinsun.com>
4343         * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
4344         Rewrite to avoid duplicate code.
4346 2001-03-21  H.J. Lu  <hjl@gnu.org>
4348         * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
4349         for cross-compiling.
4350         ($(objpfx)tst-pathopt.out): Undo the last change.
4352 2001-03-24  Mark Kettenis  <kettenis@gnu.org>
4354         * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
4355         sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
4357         * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
4358         (_dl_argv): Declare.
4359         (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
4361 2001-03-22  Andreas Jaeger  <aj@suse.de>
4363         * iconvdata/Makefile (generated): Add iconv-test.xxx.
4365         * posix/Makefile (generated): Add bug-regex2.mtrace and
4366         bug-regex2-mem.
4368 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
4370         * csu/version.c (__gnu_get_libc_release): Add prototype.
4371         (__gnu_get_libc_version): Likewise.
4372         * include/gnu/libc-version.h: Remove prototypes for not exported
4373         functions.
4375 2001-03-21  Jes Sorensen  <jes@linuxcare.com>
4377         * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
4378         for internationalized printfs to work.
4380 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
4382         * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
4383         avoid compiler warning.
4384         (_nl_find_msg): Add casts to avoid compiler warnings.
4386 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
4388         * gmon/Makefile (routines): Add sprofil.
4389         (tests): Add tst-sprofil.
4390         (noprof): Add sprofil.
4391         * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
4393 2001-03-20  David Mosberger  <davidm@hpl.hp.com>
4395         * sysdeps/generic/sprofil.c: New file.
4396         * sysdeps/posix/sprofil.c: New file.
4397         * gmon/tst-sprofil.c: New file.
4398         * gmon/sys/profil.h: New file.
4400 2001-03-20  Andreas Schwab  <schwab@suse.de>
4402         * include/unistd.h: Adjust prototype of __gethostname.
4404 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
4406         * sysdeps/sparc/stackinfo.h: New file.
4408 2001-03-21  Andreas Jaeger  <aj@suse.de>
4410         * elf/global.c (main): Use proper prototype.
4412 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
4414         * sunrpc/Makefile (routines): Add rpc_thread.
4415         (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
4416         * sunrpc/rpc_thread.c: New file.
4417         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
4418         * sunrpc/auth_none.c: Don't use global variables.  Access state in
4419         thread-local storage.
4420         * sunrpc/clnt_perr.c: Likewise.
4421         * sunrpc/clnt_raw.c: Likewise.
4422         * sunrpc/clnt_simp.c: Likewise.
4423         * sunrpc/key_call.c: Likewise.
4424         * sunrpc/rpc_common.c: Likewise.
4425         * sunrpc/svc.c: Likewise.
4426         * sunrpc/svc_raw.c: Likewise.
4427         * sunrpc/svc_simple.c: Likewise.
4428         * sunrpc/svcauth_des.c: Likewise.
4429         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
4430         _HURD_THREADVAR_RPC_VARS.
4431         * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
4432         * include/rpc/rpc.h: Define data structures for internal thread-local
4433         "global" variables.
4434         Based on patches by Eric Norum <eric.norum@usask.ca>.
4436         * elf/dl-load.c: Various little optimizations.
4438         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
4439         LINUX_LINK_MAX only if the statfs function is not implemented for
4440         the filesystem.
4442         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
4443         LINUX_LINK_MAX only if the fstatfs function is not implemented for
4444         the filesystem.
4446 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
4448         * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
4450         * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
4451         (_dl_dst_substitute): Likewise.
4453 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4455         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
4457 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4459         * intl/gettextP.h (struct expression): Add operators lnot, less_than,
4460         greater_than, less_or_equal, greater_or_equal.  Replace args2/args3
4461         union by a 'nargs' counter and an 'args[]' array.
4462         * intl/plural.y: Don't include stdarg.h.
4463         (new_exp): Take an array of arguments instead of varargs.
4464         (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
4465         ('?' ':'): Make right-associative.
4466         (EQUOP2): New token, replaces '=' and '!'.
4467         (CMPOP2): New token.
4468         (ADDOP2): New token, replaces '+' and '-'.
4469         (MULOP2): New token, replaces '*', '/' and '%'.
4470         ('!'): New token.
4471         (exp): Add rules for CMPOP2 and '!'.  Don't call YYABORT.
4472         (start): Call YYABORT here.
4473         (FREE_EXPRESSION): Update.
4474         (yylex): Don't skip "\\n".  Recognize comparison and '!' operators.
4475         Update for new token symbols.
4476         * intl/loadmsgcat.c (plvar, plone, germanic_plural,
4477         init_germanic_plural): Update.
4478         * intl/dcigettext.c (_nl_find_msg): Optimize for space.
4479         (plural_eval): Recognize comparison and '!' operators.  Optimize for
4480         space.
4482 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
4484         * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
4485         NULL any more.
4487 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
4489         * intl/loadmsgcat.c: Include headers needed for alloca().
4490         (freea): New macro.
4491         (_nl_load_domain): Add fallback code for platforms lacking alloca.
4492         * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
4493         (freea): New macro.
4494         (read_alias_file): Simplify fallback code for platforms lacking
4495         alloca.
4497 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
4499         * intl/gettextP.h (__gettextdebug): Remove declaration.
4500         (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
4501         syntax.
4502         (gettext_free_exp__, gettextparse__): New non-libc declarations.
4503         * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
4504         not __gettextparse, __gettext_free_exp.
4505         * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
4507 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
4509         * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
4511 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
4513         * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
4514         lacking strtoul, like SunOS4.
4516 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
4518         * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
4520 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
4522         * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
4523         syntax.
4524         * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
4525         * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
4526         * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
4527         syntax.
4529 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
4531         * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
4532         bindtextdomain__, bind_textdomain_codeset__): New declarations, from
4533         old libgettext.h.
4534         * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
4535         * intl/dcgettext.c: Likewise.
4536         * intl/dcigettext.c: Likewise.
4537         * intl/dcngettext.c: Likewise.
4538         * intl/dngettext.c: Likewise.
4539         * intl/finddomain.c: Likewise.
4540         * intl/ngettext.c: Likewise.
4541         * intl/textdomain.c: Likewise.
4542         * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
4543         Include gettextP.h.
4544         * intl/gettext.c: Likewise.  Don't include locale.h.
4546 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4548         * intl/gettextP.h (ZERO): New macro.
4549         (struct binding): Always use ZERO.
4550         * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
4551         lack it, like SunOS4.
4552         (set_binding_values): Use offsetof, not sizeof.
4553         * intl/dcigettext.c (offsetof): Provide fallback for platforms that
4554         lack it, like SunOS4.
4555         (ZERO): Remove macro.
4556         (struct transmem_list): Use ZERO.
4557         (DCIGETTEXT): Use offsetof, not sizeof.
4559 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4561         * intl/gettextP.h: Include <stddef.h>.  Include gettext.h, for
4562         nls_uint32.
4563         * intl/bindtextdom.c: Don't include gettext.h.
4564         * intl/dcgettext.c: Likewise.
4565         * intl/dcigettext.c: Likewise.
4566         * intl/dcngettext.c: Likewise.
4567         * intl/dngettext.c: Likewise.
4568         * intl/finddomain.c: Likewise.
4569         * intl/localealias.c: Likewise.
4570         * intl/ngettext.c: Likewise.
4571         * intl/plural.y: Likewise.
4572         * intl/textdomain.c: Likewise.
4574 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4576         * intl/gettext.h: Don't include <stdio.h>.
4578 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4580         * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
4581         * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
4583 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
4585         * sysdeps/unix/i386/i686/tempname.c: New file.
4587         * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
4588         defined use this macro to get some bits of randomness instead of
4589         the usual gettimeofday or time calls.
4591 2001-03-16  Paul Eggert  <eggert@twinsun.com>
4593         * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
4594         not defined, and if UINT64_MAX is not defined.
4596 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
4598         * elf/cache.c: Mark and have translated a few more messages.
4600 2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4602         * elf/cache.c: Add case for FLAG_S390_LIB64.
4603         * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
4604         * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
4605         * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
4607 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
4609         * string/Makefile (tests): Add tst-strxfrm.
4610         * string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
4611         * string/Depend: New file.
4613 2001-03-19  Paul Eggert  <eggert@twinsun.com>
4615         * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
4616         when given the empty string in nontrivial locales.
4618 2001-03-17  H.J. Lu  <hjl@gnu.org>
4620         * manual/Makefile (install): Use $(INSTALL_DATA) instead of
4621         cp to install `dir'.
4623 2001-03-19  Andreas Schwab  <schwab@suse.de>
4625         * Makerules (build-shlib): Make sure exit codes get checked
4626         properly.
4628 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
4630         * Makerules (build-shlib): Remove unnecessary slashes introduced in
4631         last change.
4633         * configure.in: Test for -Bgroup option of linker.
4634         * config.make.in: Define have-Bgroup.
4636         * conform/data/unistd.h-data: Require gethostname.
4637         * posix/unistd.h: Make gethostname prototype available for
4638         __USE_XOPEN2K.
4640         * crypt/Makefile: When generating DSO link with libc_nonshared.a.
4641         * debug/Makefile: Likewise.
4642         * dlfcn/Makefile: Likewise.
4643         * hesiod/Makefile: Likewise.
4644         * iconvdata/extra-module.mk: Likewise.
4645         * locale/Makefile: Likewise.
4646         * login/Makefile: Likewise.
4647         * math/Makefile: Likewise.
4648         * nis/Makefile: Likewise.
4649         * nss/Makefile: Likewise.
4650         * resolv/Makefile: Likewise.
4651         * rt/Makefile: Likewise.
4653 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
4655         * inet/Makefile (tests): Remove left-over comment.
4657         * posix/unistd.h (gethostname): Change type of second parameter
4658         back to size_t as per upcoming XPG6.
4659         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
4660         parameter back to size_t as per upcoming XPG6.
4661         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
4662         * sysdeps/unix/sysv/gethostname.c: Likewise.
4663         * sysdeps/mach/hurd/gethostname.c: Likewise.
4664         * sysdeps/generic/gethostname.c: Likewise.
4666 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
4668         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4669         Handle NaN here.
4671         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
4672         Internationalize.
4674 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
4676         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
4677         looking for name matches.
4679 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
4681         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
4682         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
4683         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
4684         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4685         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
4686         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
4687         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
4688         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
4689         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
4690         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
4691         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
4692         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
4694 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
4696         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
4697         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4699         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
4700         erfcl.
4701         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4703 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
4705         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
4706         Drop hack that was needed for 2.1.1 kernel headers.
4708         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
4710         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
4711         overlay with kernel's "struct sigcontext".
4713         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
4714         sys/rse.h for "misc" subdir.
4715         (sysdep_routines): Add __start_context for "stdlib" subdir.
4717         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
4718         kernel file of the same name).
4720         * stdlib/Makefile (tests): Add tst-setcontext.
4721         * stdlib/tst-setcontext.c: New file (based on a sample program by
4722         Uli Drepper).
4724         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
4725         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
4726         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
4727         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
4728         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
4730         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
4731         instead of shift & and.
4733 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4735         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
4736         * sysdeps/s390/bits/huge_val.h: ...here.
4737         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
4738         * sysdeps/s390/s390-64/ffs.c: Move to...
4739         * sysdeps/s390/ffs.c: ...here.
4740         * sysdeps/s390/s390-32/ffs.c: Remove.
4742 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
4744         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
4745         update osversion from more recent library.
4747 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4749         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
4750         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
4751         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
4752         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
4753         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
4754         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
4755         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
4756         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
4757         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
4758         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
4759         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
4760         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
4761         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
4762         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
4763         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
4764         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
4765         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
4766         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
4767         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
4768         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
4769         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
4770         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
4771         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
4772         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
4773         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
4774         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
4775         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
4776         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
4777         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
4778         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
4779         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
4780         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
4781         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
4782         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
4783         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
4784         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
4785         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
4786         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
4787         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
4788         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
4789         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
4790         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
4791         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
4792         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
4793         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
4794         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
4795         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
4796         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
4797         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
4798         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
4799         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
4800         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
4801         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
4802         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
4803         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
4804         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
4805         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
4806         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
4807         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
4808         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
4809         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
4810         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
4811         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
4812         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
4813         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
4814         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
4815         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
4816         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
4817         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
4818         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
4819         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
4820         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
4821         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
4822         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
4823         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
4824         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
4825         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
4826         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
4827         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
4828         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
4829         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
4830         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
4831         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
4832         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
4833         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
4834         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
4835         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
4836         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
4837         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
4838         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
4839         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
4840         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
4841         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
4842         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
4843         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
4844         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
4845         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
4846         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
4847         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
4848         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
4849         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
4850         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
4851         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
4852         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
4853         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
4854         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
4855         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
4856         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
4857         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4858         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
4859         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
4860         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
4861         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
4862         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
4864 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4866         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
4867         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
4868         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
4869         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
4870         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
4871         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
4872         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
4873         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
4874         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
4875         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
4876         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
4877         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
4878         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
4879         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
4880         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
4881         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
4882         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
4883         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
4884         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
4885         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
4886         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
4887         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
4888         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
4889         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
4890         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
4891         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
4892         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
4893         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
4894         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
4895         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
4896         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
4897         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
4898         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
4899         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
4900         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
4901         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
4902         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
4903         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
4904         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
4905         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
4906         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
4907         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
4908         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
4909         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
4910         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
4911         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
4912         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
4913         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
4914         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
4915         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
4916         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
4917         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
4918         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
4920 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4922         * sysdeps/s390/Dist: Move to...
4923         * sysdeps/s390/390-32/Dist: ...here.
4924         * sysdeps/s390/Implies: Move to...
4925         * sysdeps/s390/s390-32/Implies: ...here.
4926         * sysdeps/s390/Makefile: Move to...
4927         * sysdeps/s390/s390-32/Makefile: ...here.
4928         * sysdeps/s390/Versions: Move to...
4929         * sysdeps/s390-32/s390/Versions: ...here.
4930         * sysdeps/s390/add_n.S: Move to...
4931         * sysdeps/s390/s390-32/add_n.S: ...here.
4932         * sysdeps/s390/addmul_1.S: Move to...
4933         * sysdeps/s390/s390-32/addmul_1.S: ...here.
4934         * sysdeps/s390/atomicity.h: Move to...
4935         * sysdeps/s390/s390-32/atomicity.h: ...here.
4936         * sysdeps/s390/backtrace.c: Move to...
4937         * sysdeps/s390/s390-32/backtrace.c: ...here.
4938         * sysdeps/s390/bcopy.S: Move to...
4939         * sysdeps/s390/s390-32/bcopy.S: ...here.
4940         * sysdeps/s390/bits/byteswap.h: Move to...
4941         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
4942         * sysdeps/s390/bits/huge_val.h: Move to...
4943         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
4944         * sysdeps/s390/bsd-_setjmp.S: Move to...
4945         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
4946         * sysdeps/s390/bsd-setjmp.S: Move to...
4947         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
4948         * sysdeps/s390/bzero.S: Move to...
4949         * sysdeps/s390/s390-32/bzero.S: ...here.
4950         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
4951         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
4952         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
4953         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
4954         * sysdeps/s390/elf/start.S: Move to...
4955         * sysdeps/s390/s390-32/elf/start.S: ...here.
4956         * sysdeps/s390/ffs.c: Move to...
4957         * sysdeps/s390/s390-32/ffs.c: ...here.
4958         * sysdeps/s390/memchr.S: Move to...
4959         * sysdeps/s390/s390-32/memchr.S: ...here.
4960         * sysdeps/s390/memcpy.S: Move to...
4961         * sysdeps/s390/s390-32/memcpy.S: ...here.
4962         * sysdeps/s390/memset.S: Move to...
4963         * sysdeps/s390/s390-32/memset.S: ...here.
4964         * sysdeps/s390/mul_1.S: Move to...
4965         * sysdeps/s390/s390-32/mul_1.S: ...here.
4966         * sysdeps/s390/s390-mcount.S: Move to...
4967         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
4968         * sysdeps/s390/strcpy.S: Move to...
4969         * sysdeps/s390/s390-32/strcpy.S: ...here.
4970         * sysdeps/s390/strncpy.S: Move to...
4971         * sysdeps/s390/s390-32/strncpy.S: ...here.
4972         * sysdeps/s390/sub_n.S: Move to...
4973         * sysdeps/s390/s390-32/sub_n.S: ...here.
4975 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4977         * sysdeps/s390/s390-64/Dist: New file.
4978         * sysdeps/s390/s390-64/Implies: New file.
4979         * sysdeps/s390/s390-64/Makefile: New file.
4980         * sysdeps/s390/s390-64/__longjmp.c: New file.
4981         * sysdeps/s390/s390-64/add_n.S: New file.
4982         * sysdeps/s390/s390-64/atomicity.h: New file.
4983         * sysdeps/s390/s390-64/backtrace.c: New file.
4984         * sysdeps/s390/s390-64/bcopy.S: New file.
4985         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
4986         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
4987         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
4988         * sysdeps/s390/s390-64/bits/string.h: New file.
4989         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
4990         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
4991         * sysdeps/s390/s390-64/bzero.S: New file.
4992         * sysdeps/s390/s390-64/dl-machine.h: New file.
4993         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
4994         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
4995         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
4996         * sysdeps/s390/s390-64/elf/start.S: New file.
4997         * sysdeps/s390/s390-64/ffs.c: New file.
4998         * sysdeps/s390/s390-64/initfini.c: New file.
4999         * sysdeps/s390/s390-64/memchr.S: New file.
5000         * sysdeps/s390/s390-64/memcpy.S: New file.
5001         * sysdeps/s390/s390-64/memset.S: New file.
5002         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
5003         * sysdeps/s390/s390-64/setjmp.S: New file.
5004         * sysdeps/s390/s390-64/strcpy.S: New file.
5005         * sysdeps/s390/s390-64/strncpy.S: New file.
5006         * sysdeps/s390/s390-64/sub_n.S: New file.
5007         * sysdeps/s390/s390-64/sysdep.h: New file.
5009 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
5011         * scripts/config.guess: Add support for Linux on 64 bit S/390.
5012         * scripts/config.sub: Likewise.
5014 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
5016         * configure.in: Add support for 64 bit S/390.
5018         * elf/elf.h: Add new relocations for 64 bit S/390.
5020         * shlib-versions: Add rules for Linux on 64 bit S/390.
5022 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
5024         * sysdeps/s390/__longjmp.c: Move to...
5025         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
5026         to load the floating point registers that should be saved
5027         according to the ABI.
5029         * sysdeps/s390/bits/setjmp.h: Move to...
5030         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
5031         the use of long long in the __jmp_buf type definition.
5033         * sysdeps/s390/bits/string.h: Move to...
5034         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
5035         #ifndef _FORCE_INLINES.
5037         * sysdeps/s390/dl-machine.h: Move to...
5038         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
5039         executables EI_CLASS in elf_machine_matches_host.
5041         * sysdeps/s390/elf/setjmp.S: Move to...
5042         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
5043         branches to globally defined symbol __sigsetjmp by branches to
5044         a local label (this avoids the generation of a R_390_PC16DBL
5045         relocation in -fpic code).
5047         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
5048         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
5050         * sysdeps/s390/initfini.c: Move to...
5051         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
5052         ".align 4,0x07".
5054         * sysdeps/s390/setjmp.S: Move to...
5055         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
5056         floating point registers that should be saved according to the ABI.
5058         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
5060         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
5061         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.  Include
5062         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
5064 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
5066         * configure.in: Change machine=s390 to machine=s390/s390-32.
5068         * elf/elf.h: Correct comment for R_390_PLT16DBL.
5070 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
5072         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
5073         version to be overriden from config.h.
5074         * csu/abi-note.S: Use OS and version separately, include config.h.
5075         * elf/dl-load.c (_dl_osversion): New.
5076         (_dl_map_object_from_fd): Kill some warnings.
5077         (open_verify): Check .note.ABI-tag of the library if present.
5078         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
5079         * elf/cache.c (struct cache_entry): Add osversion.
5080         (print_entry): Print osversion.
5081         (print_cache): Pass osversion to it.
5082         (compare): Sort according to osversion.
5083         (save_cache): Set osversion.
5084         (add_to_cache): Add osversion argument.
5085         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
5086         process_elf_file): Add osversion argument.
5087         * elf/readlib.c (process_file): Likewise.
5088         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
5089         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
5090         process_elf32_file, process_elf64_file): Likewise.
5091         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
5092         process_elf32_file, process_elf64_file): Likewise.
5093         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
5094         process_elf32_file, process_elf64_file): Likewise.
5095         * elf/ldconfig.c (manual_link): Pass it.
5096         (search_dir): Issue diagnostic if two libs with the same soname in
5097         the same directory have different .note.ABI-tag.  Record osversion in
5098         dlib_entry and use it from there.
5099         (struct lib_entry): Remove.
5100         (struct dlib_entry): Add osversion.
5101         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
5102         osversion.
5103         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
5104         field with osversion.
5105         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
5106         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
5107         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
5108         version in _dl_osversion.
5109         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
5110         * Makerules (build-shlib-helper, build-module-helper): New.
5111         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
5112         early.
5113         * config.h.in (__ABI_TAG_VERSION): Add.
5114         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
5115         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
5116         Handle LD_ASSUME_KERNEL.
5117         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
5119 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
5121         * timezone/antarctica: Update from tzdata2001a.
5122         * timezone/asia: Likewise.
5123         * timezone/australasia: Likewise.
5124         * timezone/backward: Likewise.
5125         * timezone/etcetera: Likewise.
5126         * timezone/europe: Likewise.
5127         * timezone/leapseconds: Likewise.
5128         * timezone/northamerica: Likewise.
5129         * timezone/southamerica: Likewise.
5130         * timezone/systemv: Likewise.
5131         * timezone/yearistype: Likewise.
5132         * timezone/zone.tab: Likewise.
5133         * timezone/tzdump.c: Update from tzcode2001a.
5135 2001-03-15  H.J. Lu  <hjl@gnu.org>
5137         * intl/Makefile: Fix a typo.
5139 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
5141         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
5142         writing arc structures.
5144 2001-03-15  H.J. Lu  <hjl@gnu.org>
5146         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
5147         cross-compiling.
5149 2001-03-13  Andreas Schwab  <schwab@suse.de>
5151         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
5153 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
5155         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
5156         for control message fitting into message data.
5157         Patch by James Antill <james@and.org>.
5159         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
5160         FNM_EXTMATCH.
5162         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
5163         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
5165         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
5166         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
5167         avoid running binaries with libc versions without FNM_EXTMATCH support.
5169         * include/wchar.h: Add prototype for __wcscat.
5170         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
5172         * posix/fnmatch.h (FNM_EXTMATCH): Define.
5173         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
5174         (posixly_correct): Move global variable here.
5175         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
5176         (fnmatch): Pretty printing.
5177         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
5178         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
5179         * posix/tst-fnmatch.input: Add tests for extended matching.
5181         * posix/testfnm.c: Add test for patterns with multiple ** before /.
5182         * posix/fnmatch_loop.c: Fix problem with the test above.
5184 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
5186         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
5187         reference to usqrt.
5189         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
5191 2001-03-12  Andreas Jaeger  <aj@suse.de>
5193         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5194         Use EM_X86_64 instead of EM_X8664.
5196 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
5198         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
5200         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
5201         conditions.
5203         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
5204         conditions.
5206         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
5207         correctly.
5208         (__cos): Likewise.
5210         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
5211         correctly.
5212         (__ieee754_acos): Likewise.
5214 2001-03-12  Andreas Jaeger  <aj@suse.de>
5216         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
5217         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
5219         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
5220         redefinition.
5222 2001-03-11  Roland McGrath  <roland@frob.com>
5224         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
5226 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
5228         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
5229         LITTLE_ENDI.
5231         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
5232         parameter list.
5234         Last-bit accurate math library implementation by IBM Haifa.
5235         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
5236         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
5237         Anna Reitman <reitman@il.ibm.com>.
5238         * math/Makefile (dbl-only-routines): New variable.
5239         (libm-routines): Add $(dbl-only-routines).
5240         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
5241         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
5242         implementation.
5243         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
5244         implementation.
5245         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
5246         implementation.
5247         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
5248         __kernel_cos.
5249         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
5250         implementation.
5251         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
5252         remainder implementation.
5253         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
5254         implementation.
5255         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
5256         implementation.
5257         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
5258         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
5259         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
5260         implementation.
5261         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
5262         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
5263         implementation.
5264         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
5265         and __kernel_cos.
5266         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
5267         implementation.
5268         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
5269         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
5270         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
5271         * sysdeps/ieee754/dbl-64/atnat.h: New file.
5272         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
5273         * sysdeps/ieee754/dbl-64/branred.c: New file.
5274         * sysdeps/ieee754/dbl-64/branred.h: New file.
5275         * sysdeps/ieee754/dbl-64/dla.h: New file.
5276         * sysdeps/ieee754/dbl-64/doasin.c: New file.
5277         * sysdeps/ieee754/dbl-64/doasin.h: New file.
5278         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
5279         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
5280         * sysdeps/ieee754/dbl-64/endian.h: New file.
5281         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
5282         * sysdeps/ieee754/dbl-64/mpa.c: New file.
5283         * sysdeps/ieee754/dbl-64/mpa.h: New file.
5284         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
5285         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
5286         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
5287         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
5288         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
5289         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
5290         * sysdeps/ieee754/dbl-64/mplog.c: New file.
5291         * sysdeps/ieee754/dbl-64/mplog.h: New file.
5292         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
5293         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
5294         * sysdeps/ieee754/dbl-64/mptan.c: New file.
5295         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
5296         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
5297         * sysdeps/ieee754/dbl-64/root.tbl: New file.
5298         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
5299         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
5300         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
5301         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
5302         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
5303         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
5304         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
5305         * sysdeps/ieee754/dbl-64/uexp.h: New file.
5306         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
5307         * sysdeps/ieee754/dbl-64/ulog.h: New file.
5308         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
5309         * sysdeps/ieee754/dbl-64/upow.h: New file.
5310         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
5311         * sysdeps/ieee754/dbl-64/urem.h: New file.
5312         * sysdeps/ieee754/dbl-64/uroot.h: New file.
5313         * sysdeps/ieee754/dbl-64/usncs.h: New file.
5314         * sysdeps/ieee754/dbl-64/utan.h: New file.
5315         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
5316         * sysdeps/i386/fpu/branred.c: New file.
5317         * sysdeps/i386/fpu/doasin.c: New file.
5318         * sysdeps/i386/fpu/dosincos.c: New file.
5319         * sysdeps/i386/fpu/halfulp.c: New file.
5320         * sysdeps/i386/fpu/mpa.c: New file.
5321         * sysdeps/i386/fpu/mpatan.c: New file.
5322         * sysdeps/i386/fpu/mpatan2.c: New file.
5323         * sysdeps/i386/fpu/mpexp.c: New file.
5324         * sysdeps/i386/fpu/mplog.c: New file.
5325         * sysdeps/i386/fpu/mpsqrt.c: New file.
5326         * sysdeps/i386/fpu/mptan.c: New file.
5327         * sysdeps/i386/fpu/sincos32.c: New file.
5328         * sysdeps/i386/fpu/slowexp.c: New file.
5329         * sysdeps/i386/fpu/slowpow.c: New file.
5330         * sysdeps/ia64/fpu/branred.c: New file.
5331         * sysdeps/ia64/fpu/doasin.c: New file.
5332         * sysdeps/ia64/fpu/dosincos.c: New file.
5333         * sysdeps/ia64/fpu/halfulp.c: New file.
5334         * sysdeps/ia64/fpu/mpa.c: New file.
5335         * sysdeps/ia64/fpu/mpatan.c: New file.
5336         * sysdeps/ia64/fpu/mpatan2.c: New file.
5337         * sysdeps/ia64/fpu/mpexp.c: New file.
5338         * sysdeps/ia64/fpu/mplog.c: New file.
5339         * sysdeps/ia64/fpu/mpsqrt.c: New file.
5340         * sysdeps/ia64/fpu/mptan.c: New file.
5341         * sysdeps/ia64/fpu/sincos32.c: New file.
5342         * sysdeps/ia64/fpu/slowexp.c: New file.
5343         * sysdeps/ia64/fpu/slowpow.c: New file.
5344         * sysdeps/m68k/fpu/branred.c: New file.
5345         * sysdeps/m68k/fpu/doasin.c: New file.
5346         * sysdeps/m68k/fpu/dosincos.c: New file.
5347         * sysdeps/m68k/fpu/halfulp.c: New file.
5348         * sysdeps/m68k/fpu/mpa.c: New file.
5349         * sysdeps/m68k/fpu/mpatan.c: New file.
5350         * sysdeps/m68k/fpu/mpatan2.c: New file.
5351         * sysdeps/m68k/fpu/mpexp.c: New file.
5352         * sysdeps/m68k/fpu/mplog.c: New file.
5353         * sysdeps/m68k/fpu/mpsqrt.c: New file.
5354         * sysdeps/m68k/fpu/mptan.c: New file.
5355         * sysdeps/m68k/fpu/sincos32.c: New file.
5356         * sysdeps/m68k/fpu/slowexp.c: New file.
5357         * sysdeps/m68k/fpu/slowpow.c: New file.
5359         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
5360         codepages.
5362 2001-03-11  Andreas Jaeger  <aj@suse.de>
5364         * elf/elf.h (EM_*): Synch with official list.
5366 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
5368         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
5370 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
5372         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
5373         variables addr & len.
5375 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
5377         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
5378         punctuation in asm constraint.
5380 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
5382         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
5383         <time.h> to get definition of `struct timespec'.
5385 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
5387         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
5388         LD_WARN=1, not if LD_WARN is unset.
5390 2001-03-07  Andreas Schwab  <schwab@suse.de>
5392         * elf/ldconfig.h: Moved to ...
5393         * sysdeps/generic/ldconfig.h: ... here.
5394         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
5395         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
5396         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
5397         * elf/readlib.c (interpreters, known_libs): Use
5398         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
5399         instead of hard coding old names.
5401 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
5403         * catgets/Makefile (generated): Add test-gencat.h.
5404         (sample.SJIS.cat): Also generate header.
5405         * catgets/sample.SJIS: Add new set and message, both with symbolic
5406         names.
5407         * catgets/test-gencat.sh: Also compare generated header with what
5408         we expect.
5410 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
5412         * catgets/gencat.c (read_input_file): Preserve properly symbolic
5413         names.
5415 2001-03-06  Andreas Jaeger  <aj@suse.de>
5417         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
5418         needed.
5419         (elf_machine_pltrel_p): Likewise.
5420         * sysdeps/powerpc/dl-machine.h: Likewise.
5421         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
5423 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
5425         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
5426         dl-procinfo.h.
5428 2001-03-05  Philip Blundell  <philb@gnu.org>
5430         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
5431         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
5432         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
5433         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
5434         dl-procinfo.
5436 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
5438         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
5439         is not available.
5440         * dlfcn/tstcxaatexit.c (main): Likewise.
5442 2001-03-10  Andreas Jaeger  <aj@suse.de>
5444         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
5446 2001-03-09  Andreas Jaeger  <aj@suse.de>
5448         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
5449         both new and old EM_S390 values.
5450         (EM_S390_OLD): New constant.
5452         * elf/elf.h (EM_S390): Use official value.
5454 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
5456         * conform/data/sys/socket.h-data: Allow SO* symbols.
5458 2001-03-07  Andreas Schwab  <schwab@suse.de>
5460         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
5461         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
5463 2001-03-07  Andreas Jaeger  <aj@suse.de>
5465         * resolv/Makefile (routines): Only build gai_sigqueue when threads
5466         are available.
5468 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
5470         * elf/ldconfig.c (_dl_sysdep_message): Remove.
5471         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
5472         ldsodefs.h.
5473         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
5475         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
5476         _dl_error_printf instead of _dl_sysdep_error.
5477         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5478         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
5479         Use _dl_printf instead of _dl_sysdep_message.
5480         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
5481         Likewise.
5483 2001-03-06  Ben Collins  <bcollins@debian.org>
5485         * manual/arith.texi (Integers): Fix documentation of fast and
5486         least integer typedefs.
5488 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
5490         * resolv/Depend: New file.
5491         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
5492         when libpthread is built.
5494 2001-03-06  Andreas Jaeger  <aj@suse.de>
5496         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
5498         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
5499         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
5501 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
5503         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
5505 2001-03-05  Andreas Jaeger  <aj@suse.de>
5507         * stdlib/msort.c (qsort): Don't use alloca in a function call.
5509 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
5511         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
5512         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
5513         always return zero.
5514         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5515         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
5516         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
5517         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
5518         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5519         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
5520         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
5522 2001-03-04  Andreas Jaeger  <aj@suse.de>
5524         * stdlib/longlong.h: Don't use multi-line strings.
5525         * iconvdata/tst-loading.c: Likewise.
5527         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
5528         string.
5530 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
5532         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
5534         * rt/lio_listio.c: Add a few asserts.
5536         * elf/global.c: New file.
5537         * elf/globalmod1.c: New file.
5538         * elf/Makefile: Add rules to build and run global.
5540         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
5541         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5542         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5543         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5544         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5546         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
5547         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5549         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
5551         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
5552         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5554         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
5556         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
5558 2001-03-04  Andreas Jaeger  <aj@suse.de>
5560         * resolv/tst-aton.c: Add testcase for IP with four periods.
5562         * resolv/inet_addr.c: Don't recognize an IP with four periods.
5563         Patch by Andre' Breiler <A.Breiler@gmx.net>.
5565 2001-02-27  Philip Blundell  <pb@futuretv.com>
5567         * elf/elf.h: Add new ARM definitions from latest (B-01)
5568         specification.  Correct naming of EF_ARM_ALIGN8 et al.
5570 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
5572         * stdio-common/tst-printf.sh: Remove bashisms.
5573         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
5575 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
5577         * Versions.def: Add libanl definition.
5578         * shlib-versions: Add entry for libanl.
5579         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
5580         (routines): Add gai_sigqueue.
5581         (extra-libs): Add libanl.
5582         (libanl-routines): New variable.
5583         Add rules to build libanl and ga_test.
5584         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
5585         [libanl]: New library.
5586         * resolv/netdb.h: Add definitions for libanl.
5587         * resolv/getaddrinfo_a.c: New file.
5588         * resolv/gai_cancel.c: New file.
5589         * resolv/gai_error.c: New file.
5590         * resolv/gai_misc.c: New file.
5591         * resolv/gai_misc.h: New file.
5592         * resolv/gai_notify.c: New file.
5593         * resolv/gai_suspend.c: New file.
5594         * resolv/ga_test.c: New file.
5595         * sysdeps/generic/gai_sigqueue.c: New file.
5596         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
5597         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
5598         and provide only that definition.
5599         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
5600         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
5601         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5602         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5603         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5604         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5606         * rt/aio_misc.c: Fix typos in comments.
5607         * rt/lio_listio.c: Pretty printing.  Little optimization in request
5608         list handling.
5610         * elf/rtld.c: Remove commented out code.
5612         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
5613         Update for real 2.4 kernels.
5615 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
5617         * elf/dl-load.c: Pretty printing.
5619         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
5620         twice.
5622 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
5624         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
5625         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
5627         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
5629         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
5630         machines.
5632         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
5634 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
5636         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
5637         _dl_debug_mask.
5639         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
5640         _dl_debug_printf.
5641         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
5642         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
5643         _dl_debug_printf_c, and _dl_printf.
5644         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
5645         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
5646         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
5647         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
5648         * elf/dl-close.c: Replace use of old output functions with the new
5649         ones.
5650         * elf/dl-deps.c: Likewise.
5651         * elf/dl-error.c: Likewise.
5652         * elf/dl-fini.c: Likewise.
5653         * elf/dl-init.c: Likewise.
5654         * elf/dl-load.c: Likewise.
5655         * elf/dl-lookup.c: Likewise.
5656         * elf/dl-minimal.c: Likewise.
5657         * elf/dl-open.c: Likewise.
5658         * elf/dl-profile.c: Likewise.
5659         * elf/dl-reloc.c: Likewise.
5660         * elf/dl-version.c: Likewise.
5661         * elf/do-lookup.h: Likewise.
5662         * elf/rtld.c: Likewise.
5663         * sysdeps/generic/dl-cache.c: Likewise.
5664         * sysdeps/generic/dl-sysdep.c: Likewise.
5665         * sysdeps/generic/libc-start.c: Likewise.
5666         * sysdeps/i386/dl-machine.h: Likewise.
5667         * sysdeps/arm/dl-machine.h: Likewise.
5668         * sysdeps/hppa/dl-machine.h: Likewise.
5669         * sysdeps/m68k/dl-machine.h: Likewise.
5670         * sysdeps/powerpc/dl-machine.h: Likewise.
5671         * sysdeps/s390/dl-machine.h: Likewise.
5672         * sysdeps/sh/dl-machine.h: Likewise.
5673         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5674         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
5675         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5677         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
5679         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
5680         supported by assembler.
5682         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
5683         declaractions.
5685         * elf/rtld.c: Little optimizations in handling _dl_lazy.
5687         * elf/cache.c (save_cache): Portability changes.
5688         * elf/dl-profile.c (_dl_start_profile): Likewise.
5690         * elf/sln.c: Cleanups.  Remove arbitrary limits.
5692         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
5693         * elf/dl-deps.c: Likewise.
5694         * elf/dl-fini.c: Likewise.
5695         * elf/dl-init.c: Likewise.
5696         * elf/dl-load.c: Likewise.
5697         * elf/dl-lookup.c: Likewise.
5698         * elf/dl-open.c: Likewise.
5699         * elf/dl-reloc.c: Likewise.
5700         * elf/dl-support.c: Likewise.
5701         * elf/dl-version.c: Likewise.
5702         * elf/do-lookup.h: Likewise.
5703         * elf/rtld.c: Likewise.
5704         * sysdeps/generic/dl-cache.c: Likewise.
5705         * sysdeps/generic/ldsodefs.h: Likewise.
5706         * sysdeps/generic/libc-start.c: Likewise.
5707         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
5708         Export _dl_debug_mask.
5709         * Versions.def: Define GLIBC_2.2.3 for ld.
5711 2001-02-26  Greg McGary  <greg@mcgary.org>
5713         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
5715 2001-02-26  Paul Eggert  <eggert@twinsun.com>
5717         Modify mkstemp.c and tempname.c so that they can be used by
5718         GNU applications on non-glibc platforms.
5720         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
5722         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
5723         Include <stddef.h>, <stdint.h>, <string.h> only if
5724         STDC_HEADERS || _LIBC.
5725         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
5726         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
5727         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
5728         (__set_errno): Define this macro if <errno.h> doesn't.
5729         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
5730         Define these macros if <stdio.h> doesn't.
5731         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
5732         Define these macros if <sys/stat.h> doesn't.
5733         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
5734         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
5735         lxstat64, __xstat64): Define if not _LIBC.
5736         (struct_stat64): New macro.
5737         (direxists, __gen_tempname): Use it, to avoid a
5738         portability problem with Solaris 8.
5739         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
5740         (__gen_tempname): Invoke gettimeofday only if
5741         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
5742         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
5743         octal values like 0600.
5745 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
5747         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
5748         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5750         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
5751         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5753         * posix/wordexp-test.c (testit): Remove warnings.
5755         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
5756         (tests): Add tstatexit and tstcxaatexit.
5757         (module-names): Add modatexit and modcxaatexit.
5758         Add rules to build and run tstatexit and tstcxaatexit.
5759         * dlfcn/modatexit.c: New file.
5760         * dlfcn/modcxaatexit.c: New file.
5761         * dlfcn/tstatexit.c: New file.
5762         * dlfcn/tstcxaatexit.c: New file.
5764         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
5765         .hidden is available.
5766         * io/stat.c: If .hidden is available use it to avoid exporting
5767         functions.
5768         * io/fstat.c: Likewise.
5769         * io/lstat.c: Likewise.
5770         * io/stat64.c: Likewise.
5771         * io/fstat64.c: Likewise.
5772         * io/lstat64.c: Likewise.
5773         * sysdeps/generic/mknod.c: Likewise.
5775         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
5776         * sysdeps/generic/bb_init_func.c: Likewise.
5777         * sysdeps/generic/libc-start.c: Likewise.
5779         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
5780         (atexit): Implement using __cxa_atexit.
5781         Use .hidden if availble to avoid exporting atexit.
5782         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
5783         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
5784         * stdlib/Makefile (routines): Add old_atexit.
5785         (static-only-routines): Add atexit.
5786         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
5787         * stdlib/old_atexit.c: New file.
5789         * intl/Makefile: Remove bogus endif.
5791 2001-02-26  Andreas Jaeger  <aj@suse.de>
5793         * iconvdata/Makefile (tests): Fix typo in last patch.
5795         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
5796         available.
5797         Reported by Achim Gottinger <achim@gentoo.org>.
5799 2001-02-25  Andreas Jaeger  <aj@suse.de>
5801         * intl/Makefile (plural.c): Reorder rules so that they work if
5802         BISON doesn't exist.
5804 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
5806         * intl/locale.alias: Don't use nb_NO but define aliases for it.
5808 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
5810         * sysdeps/i386/strtok.S: Continue to return NULL after the first
5811         time this happened.
5813 2001-02-23  Andreas Jaeger  <aj@suse.de>
5815         * string/tester.c (test_strtok_r): Add testcase.
5816         (test_strtok_r): Always initialize cp for proper checking.
5818         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
5819         returning NULL correctly.
5820         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
5821         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
5823 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
5825         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
5826         including <stddef.h>.
5827         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
5828         * include/libc-symbols.h (weak_alias): Don't use .weak if
5829         HAVE_ASM_GLOBAL_DOT_NAME is defined.
5830         Patches by Michael Keezer <mkeezer@redhat.com>.
5832         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
5833         Patch by Michael Keezer <mkeezer@redhat.com>.
5835         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
5836         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
5837         (sysdep_routines): Remove restf.S and savef.S.
5838         * sysdeps/unix/sysv/aix/restf.S: Removed.
5839         * sysdeps/unix/sysv/aix/savef.S: Removed.
5840         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
5841         alternative names used on some platforms.
5842         * sysdeps/powerpc/fprsave.S: Likewise.
5843         * sysdeps/powerpc/gprrest0.S: Likewise.
5844         * sysdeps/powerpc/gprrest1.S: Likewise.
5845         * sysdeps/powerpc/gprsave0.S: Likewise.
5846         * sysdeps/powerpc/gprsave1.S: Likewise.
5847         Patch by Michael Keezer <mkeezer@redhat.com>.
5849 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
5851         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
5853 2001-02-22  Andreas Jaeger  <aj@suse.de>
5855         * string/tst-strtok.c (main): Fix error messages.
5857 2001-02-22  Andreas Jaeger  <aj@suse.de>
5859         * math/Makefile: Remove omit-long-double-fcts.
5861 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
5863         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
5864         avoid problems on MIPS I.
5865         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
5867         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
5868         noreorder".
5870 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
5872         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
5874         * sysdeps/generic/ftime.c: Include <time.h>.
5876         * configure.in: Don't check for libgd if user passed --without-gd.
5877         Patch by Achim Gottinger <achim@gentoo.org>.
5879         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
5880         first time this happened.
5881         * string/Makefile (tests): Add tst-strtok.
5883 2001-02-21  Andreas Jaeger  <aj@suse.de>
5885         * string/tst-strtok.c: New testcase, reported by
5886         Andrew Church <achurch@achurch.org>.
5888 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
5890         * libio/iofwide.c: Remove fwide alias.
5892 2001-02-20  Andreas Jaeger  <aj@suse.de>
5894         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
5895         is available.
5896         Reported by Achim Gottinger <achim@gentoo.org>.
5898 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
5900         * iconv/tst-iconv1.c (main): Remove debugging code.
5902         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
5903         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5905         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
5906         parameters.
5907         * sysdeps/generic/e_scalbf.c: Likewise.
5908         * sysdeps/generic/e_scalbl.c: Likewise.
5910         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
5911         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
5912         in libc.
5913         (routines): Replace libm_error with libc_libm_error.
5914         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
5915         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
5917 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
5919         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
5920         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
5922 2001-02-17  H.J. Lu  <hjl@gnu.org>
5924         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
5925         scratch registers across the system call.
5927 2001-02-19  Andreas Jaeger  <aj@suse.de>
5929         * malloc/Makefile (tests): Run mtrace only when perl is available.
5930         Reported by Achim Gottinger <achim@gentoo.org>.
5932 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
5934         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
5935         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5937         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
5938         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
5939         * math/libm-test.inc (j1_test): Mark constants as long double.
5940         (jn_test): Likewise.
5941         (y1_test): Likewise.
5942         (yn_test): Likewise.
5944         * libio/iogetline.c: Move return until after last statement.
5946         * localedata/show-ucs-data.c: Don't show < > for better readability.
5948         * sysdeps/ia64/fpu/Dist: New file.
5949         * sysdeps/ia64/fpu/Makefile: New file.
5950         * sysdeps/ia64/fpu/Versions: New file.
5951         * sysdeps/ia64/fpu/e_acos.S: New file.
5952         * sysdeps/ia64/fpu/e_acosf.S: New file.
5953         * sysdeps/ia64/fpu/e_acosl.S: New file.
5954         * sysdeps/ia64/fpu/e_asin.S: New file.
5955         * sysdeps/ia64/fpu/e_asinf.S: New file.
5956         * sysdeps/ia64/fpu/e_asinl.S: New file.
5957         * sysdeps/ia64/fpu/e_atan2.S: New file.
5958         * sysdeps/ia64/fpu/e_atan2f.S: New file.
5959         * sysdeps/ia64/fpu/e_atan2l.c: New file.
5960         * sysdeps/ia64/fpu/e_cosh.S: New file.
5961         * sysdeps/ia64/fpu/e_coshf.S: New file.
5962         * sysdeps/ia64/fpu/e_coshl.S: New file.
5963         * sysdeps/ia64/fpu/e_exp.S: New file.
5964         * sysdeps/ia64/fpu/e_expf.S: New file.
5965         * sysdeps/ia64/fpu/e_expl.c: New file.
5966         * sysdeps/ia64/fpu/e_fmod.S: New file.
5967         * sysdeps/ia64/fpu/e_fmodf.S: New file.
5968         * sysdeps/ia64/fpu/e_fmodl.S: New file.
5969         * sysdeps/ia64/fpu/e_hypot.S: New file.
5970         * sysdeps/ia64/fpu/e_hypotf.S: New file.
5971         * sysdeps/ia64/fpu/e_hypotl.S: New file.
5972         * sysdeps/ia64/fpu/e_log.S: New file.
5973         * sysdeps/ia64/fpu/e_log10.c: New file.
5974         * sysdeps/ia64/fpu/e_log10f.c: New file.
5975         * sysdeps/ia64/fpu/e_log10l.c: New file.
5976         * sysdeps/ia64/fpu/e_logf.S: New file.
5977         * sysdeps/ia64/fpu/e_logl.c: New file.
5978         * sysdeps/ia64/fpu/e_pow.S: New file.
5979         * sysdeps/ia64/fpu/e_powf.S: New file.
5980         * sysdeps/ia64/fpu/e_powl.S: New file.
5981         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
5982         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
5983         * sysdeps/ia64/fpu/e_remainder.S: New file.
5984         * sysdeps/ia64/fpu/e_remainderf.S: New file.
5985         * sysdeps/ia64/fpu/e_remainderl.S: New file.
5986         * sysdeps/ia64/fpu/e_scalb.S: New file.
5987         * sysdeps/ia64/fpu/e_scalbf.S: New file.
5988         * sysdeps/ia64/fpu/e_scalbl.S: New file.
5989         * sysdeps/ia64/fpu/e_sinh.S: New file.
5990         * sysdeps/ia64/fpu/e_sinhf.S: New file.
5991         * sysdeps/ia64/fpu/e_sinhl.S: New file.
5992         * sysdeps/ia64/fpu/e_sqrt.S: New file.
5993         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
5994         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
5995         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
5996         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
5997         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
5998         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
5999         * sysdeps/ia64/fpu/libm_error.c: New file.
6000         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
6001         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
6002         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
6003         * sysdeps/ia64/fpu/libm_reduce.S: New file.
6004         * sysdeps/ia64/fpu/libm_support.h: New file.
6005         * sysdeps/ia64/fpu/libm_tan.S: New file.
6006         * sysdeps/ia64/fpu/s_atan.S: New file.
6007         * sysdeps/ia64/fpu/s_atanf.S: New file.
6008         * sysdeps/ia64/fpu/s_atanl.S: New file.
6009         * sysdeps/ia64/fpu/s_cbrt.S: New file.
6010         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
6011         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
6012         * sysdeps/ia64/fpu/s_ceil.S: New file.
6013         * sysdeps/ia64/fpu/s_ceilf.S: New file.
6014         * sysdeps/ia64/fpu/s_ceill.S: New file.
6015         * sysdeps/ia64/fpu/s_cos.S: New file.
6016         * sysdeps/ia64/fpu/s_cosf.S: New file.
6017         * sysdeps/ia64/fpu/s_cosl.S: New file.
6018         * sysdeps/ia64/fpu/s_expm1.S: New file.
6019         * sysdeps/ia64/fpu/s_expm1f.S: New file.
6020         * sysdeps/ia64/fpu/s_expm1l.S: New file.
6021         * sysdeps/ia64/fpu/s_floor.S: New file.
6022         * sysdeps/ia64/fpu/s_floorf.S: New file.
6023         * sysdeps/ia64/fpu/s_floorl.S: New file.
6024         * sysdeps/ia64/fpu/s_frexp.c: New file.
6025         * sysdeps/ia64/fpu/s_frexpf.c: New file.
6026         * sysdeps/ia64/fpu/s_frexpl.c: New file.
6027         * sysdeps/ia64/fpu/s_ilogb.S: New file.
6028         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
6029         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
6030         * sysdeps/ia64/fpu/s_ldexp.S: New file.
6031         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
6032         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
6033         * sysdeps/ia64/fpu/s_log1p.S: New file.
6034         * sysdeps/ia64/fpu/s_log1pf.S: New file.
6035         * sysdeps/ia64/fpu/s_log1pl.S: New file.
6036         * sysdeps/ia64/fpu/s_logb.S: New file.
6037         * sysdeps/ia64/fpu/s_logbf.S: New file.
6038         * sysdeps/ia64/fpu/s_logbl.S: New file.
6039         * sysdeps/ia64/fpu/s_matherrf.c: New file.
6040         * sysdeps/ia64/fpu/s_matherrl.c: New file.
6041         * sysdeps/ia64/fpu/s_modf.S: New file.
6042         * sysdeps/ia64/fpu/s_modff.S: New file.
6043         * sysdeps/ia64/fpu/s_modfl.S: New file.
6044         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
6045         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
6046         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
6047         * sysdeps/ia64/fpu/s_rint.S: New file.
6048         * sysdeps/ia64/fpu/s_rintf.S: New file.
6049         * sysdeps/ia64/fpu/s_rintl.S: New file.
6050         * sysdeps/ia64/fpu/s_round.S: New file.
6051         * sysdeps/ia64/fpu/s_roundf.S: New file.
6052         * sysdeps/ia64/fpu/s_roundl.S: New file.
6053         * sysdeps/ia64/fpu/s_scalbn.S: New file.
6054         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
6055         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
6056         * sysdeps/ia64/fpu/s_significand.S: New file.
6057         * sysdeps/ia64/fpu/s_significandf.S: New file.
6058         * sysdeps/ia64/fpu/s_significandl.S: New file.
6059         * sysdeps/ia64/fpu/s_sin.c: New file.
6060         * sysdeps/ia64/fpu/s_sincos.c: New file.
6061         * sysdeps/ia64/fpu/s_sincosf.c: New file.
6062         * sysdeps/ia64/fpu/s_sincosl.c: New file.
6063         * sysdeps/ia64/fpu/s_sinf.c: New file.
6064         * sysdeps/ia64/fpu/s_sinl.c: New file.
6065         * sysdeps/ia64/fpu/s_tan.S: New file.
6066         * sysdeps/ia64/fpu/s_tanf.S: New file.
6067         * sysdeps/ia64/fpu/s_tanl.S: New file.
6068         * sysdeps/ia64/fpu/s_trunc.S: New file.
6069         * sysdeps/ia64/fpu/s_truncf.S: New file.
6070         * sysdeps/ia64/fpu/s_truncl.S: New file.
6071         * sysdeps/ia64/fpu/w_acos.c: New file.
6072         * sysdeps/ia64/fpu/w_acosf.c: New file.
6073         * sysdeps/ia64/fpu/w_acosl.c: New file.
6074         * sysdeps/ia64/fpu/w_asin.c: New file.
6075         * sysdeps/ia64/fpu/w_asinf.c: New file.
6076         * sysdeps/ia64/fpu/w_asinl.c: New file.
6077         * sysdeps/ia64/fpu/w_atan2.c: New file.
6078         * sysdeps/ia64/fpu/w_atan2f.c: New file.
6079         * sysdeps/ia64/fpu/w_atan2l.c: New file.
6080         * sysdeps/ia64/fpu/w_cosh.c: New file.
6081         * sysdeps/ia64/fpu/w_coshf.c: New file.
6082         * sysdeps/ia64/fpu/w_coshl.c: New file.
6083         * sysdeps/ia64/fpu/w_exp.c: New file.
6084         * sysdeps/ia64/fpu/w_expf.c: New file.
6085         * sysdeps/ia64/fpu/w_fmod.c: New file.
6086         * sysdeps/ia64/fpu/w_fmodf.c: New file.
6087         * sysdeps/ia64/fpu/w_fmodl.c: New file.
6088         * sysdeps/ia64/fpu/w_hypot.c: New file.
6089         * sysdeps/ia64/fpu/w_hypotf.c: New file.
6090         * sysdeps/ia64/fpu/w_hypotl.c: New file.
6091         * sysdeps/ia64/fpu/w_log.c: New file.
6092         * sysdeps/ia64/fpu/w_log10.c: New file.
6093         * sysdeps/ia64/fpu/w_log10f.c: New file.
6094         * sysdeps/ia64/fpu/w_log10l.c: New file.
6095         * sysdeps/ia64/fpu/w_logf.c: New file.
6096         * sysdeps/ia64/fpu/w_logl.c: New file.
6097         * sysdeps/ia64/fpu/w_pow.c: New file.
6098         * sysdeps/ia64/fpu/w_powf.c: New file.
6099         * sysdeps/ia64/fpu/w_powl.c: New file.
6100         * sysdeps/ia64/fpu/w_remainder.c: New file.
6101         * sysdeps/ia64/fpu/w_remainderf.c: New file.
6102         * sysdeps/ia64/fpu/w_remainderl.c: New file.
6103         * sysdeps/ia64/fpu/w_scalb.c: New file.
6104         * sysdeps/ia64/fpu/w_scalbf.c: New file.
6105         * sysdeps/ia64/fpu/w_scalbl.c: New file.
6106         * sysdeps/ia64/fpu/w_sqrt.c: New file.
6107         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
6108         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
6109         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
6110         implementation.
6111         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
6112         Change FP_ILOGBNAN for new implementation.
6113         * Verions.def: Add 2.2.3 versions.
6115 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
6117         * math/libm-test.inc (scalb_test): Require invalid exception being
6118         raised for invalid parameters.
6119         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
6120         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6121         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6123 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
6125         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
6126         value to long int.
6127         (__get_avphys_pages): Likewise.
6129 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
6131         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
6132         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
6133         * sysdeps/i386/fpu/e_powf.S: Likewise.
6134         * sysdeps/i386/fpu/e_powl.S: Likewise.
6136         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
6138 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
6140         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
6142         * sysdeps/generic/s_exp2l.c: Renamed to...
6143         * sysdeps/generic/e_exp2l.c: ...this.   New file.
6144         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
6145         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
6146         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
6147         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
6148         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
6149         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
6150         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
6151         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
6152         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
6153         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
6154         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
6155         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
6156         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
6157         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
6158         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
6159         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
6161 2001-02-17  Andreas Jaeger  <aj@suse.de>
6163         * configure.in: Allow gcc 3.
6165 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
6167         * math/w_acos.c: Move to ...
6168         * sysdeps/generic/w_acos.c: ...here.  New file.
6169         * math/w_acosf.c: Move to ...
6170         * sysdeps/generic/w_acosf.c: ...here.  New file.
6171         * math/w_acosh.c: Move to ...
6172         * sysdeps/generic/w_acosh.c: ...here.  New file.
6173         * math/w_acoshf.c: Move to ...
6174         * sysdeps/generic/w_acoshf.c: ...here.  New file.
6175         * math/w_acoshl.c: Move to ...
6176         * sysdeps/generic/w_acoshl.c: ...here.  New file.
6177         * math/w_acosl.c: Move to ...
6178         * sysdeps/generic/w_acosl.c: ...here.  New file.
6179         * math/w_asin.c: Move to ...
6180         * sysdeps/generic/w_asin.c: ...here.  New file.
6181         * math/w_asinf.c: Move to ...
6182         * sysdeps/generic/w_asinf.c: ...here.  New file.
6183         * math/w_asinl.c: Move to ...
6184         * sysdeps/generic/w_asinl.c: ...here.  New file.
6185         * math/w_atan2.c: Move to ...
6186         * sysdeps/generic/w_atan2.c: ...here.  New file.
6187         * math/w_atan2f.c: Move to ...
6188         * sysdeps/generic/w_atan2f.c: ...here.  New file.
6189         * math/w_atan2l.c: Move to ...
6190         * sysdeps/generic/w_atan2l.c: ...here.  New file.
6191         * math/w_atanh.c: Move to ...
6192         * sysdeps/generic/w_atanh.c: ...here.  New file.
6193         * math/w_atanhf.c: Move to ...
6194         * sysdeps/generic/w_atanhf.c: ...here.  New file.
6195         * math/w_atanhl.c: Move to ...
6196         * sysdeps/generic/w_atanhl.c: ...here.  New file.
6197         * math/w_cosh.c: Move to ...
6198         * sysdeps/generic/w_cosh.c: ...here.  New file.
6199         * math/w_coshf.c: Move to ...
6200         * sysdeps/generic/w_coshf.c: ...here.  New file.
6201         * math/w_coshl.c: Move to ...
6202         * sysdeps/generic/w_coshl.c: ...here.  New file.
6203         * math/w_drem.c: Move to ...
6204         * sysdeps/generic/w_drem.c: ...here.  New file.
6205         * math/w_dremf.c: Move to ...
6206         * sysdeps/generic/w_dremf.c: ...here.  New file.
6207         * math/w_dreml.c: Move to ...
6208         * sysdeps/generic/w_dreml.c: ...here.  New file.
6209         * math/w_exp10.c: Move to ...
6210         * sysdeps/generic/w_exp10.c: ...here.  New file.
6211         * math/w_exp10f.c: Move to ...
6212         * sysdeps/generic/w_exp10f.c: ...here.  New file.
6213         * math/w_exp10l.c: Move to ...
6214         * sysdeps/generic/w_exp10l.c: ...here.  New file.
6215         * math/w_exp2.c: Move to ...
6216         * sysdeps/generic/w_exp2.c: ...here.  New file.
6217         * math/w_exp2f.c: Move to ...
6218         * sysdeps/generic/w_exp2f.c: ...here.  New file.
6219         * math/w_exp2l.c: Move to ...
6220         * sysdeps/generic/w_exp2l.c: ...here.  New file.
6221         * math/w_fmod.c: Move to ...
6222         * sysdeps/generic/w_fmod.c: ...here.  New file.
6223         * math/w_fmodf.c: Move to ...
6224         * sysdeps/generic/w_fmodf.c: ...here.  New file.
6225         * math/w_fmodl.c: Move to ...
6226         * sysdeps/generic/w_fmodl.c: ...here.  New file.
6227         * math/w_hypot.c: Move to ...
6228         * sysdeps/generic/w_hypot.c: ...here.  New file.
6229         * math/w_hypotf.c: Move to ...
6230         * sysdeps/generic/w_hypotf.c: ...here.  New file.
6231         * math/w_hypotl.c: Move to ...
6232         * sysdeps/generic/w_hypotl.c: ...here.  New file.
6233         * math/w_j0.c: Move to ...
6234         * sysdeps/generic/w_j0.c: ...here.  New file.
6235         * math/w_j0f.c: Move to ...
6236         * sysdeps/generic/w_j0f.c: ...here.  New file.
6237         * math/w_j0l.c: Move to ...
6238         * sysdeps/generic/w_j0l.c: ...here.  New file.
6239         * math/w_j1.c: Move to ...
6240         * sysdeps/generic/w_j1.c: ...here.  New file.
6241         * math/w_j1f.c: Move to ...
6242         * sysdeps/generic/w_j1f.c: ...here.  New file.
6243         * math/w_j1l.c: Move to ...
6244         * sysdeps/generic/w_j1l.c: ...here.  New file.
6245         * math/w_jn.c: Move to ...
6246         * sysdeps/generic/w_jn.c: ...here.  New file.
6247         * math/w_jnf.c: Move to ...
6248         * sysdeps/generic/w_jnf.c: ...here.  New file.
6249         * math/w_jnl.c: Move to ...
6250         * sysdeps/generic/w_jnl.c: ...here.  New file.
6251         * math/w_lgamma.c: Move to ...
6252         * sysdeps/generic/w_lgamma.c: ...here.  New file.
6253         * math/w_lgammaf.c: Move to ...
6254         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
6255         * math/w_lgammaf_r.c: Move to ...
6256         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
6257         * math/w_lgammal.c: Move to ...
6258         * sysdeps/generic/w_lgammal.c: ...here.  New file.
6259         * math/w_lgammal_r.c: Move to ...
6260         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
6261         * math/w_lgamma_r.c: Move to ...
6262         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
6263         * math/w_log10.c: Move to ...
6264         * sysdeps/generic/w_log10.c: ...here.  New file.
6265         * math/w_log10f.c: Move to ...
6266         * sysdeps/generic/w_log10f.c: ...here.  New file.
6267         * math/w_log10l.c: Move to ...
6268         * sysdeps/generic/w_log10l.c: ...here.  New file.
6269         * math/w_log.c: Move to ...
6270         * sysdeps/generic/w_log.c: ...here.  New file.
6271         * math/w_logf.c: Move to ...
6272         * sysdeps/generic/w_logf.c: ...here.  New file.
6273         * math/w_logl.c: Move to ...
6274         * sysdeps/generic/w_logl.c: ...here.  New file.
6275         * math/w_pow.c: Move to ...
6276         * sysdeps/generic/w_pow.c: ...here.  New file.
6277         * math/w_powf.c: Move to ...
6278         * sysdeps/generic/w_powf.c: ...here.  New file.
6279         * math/w_powl.c: Move to ...
6280         * sysdeps/generic/w_powl.c: ...here.  New file.
6281         * math/w_remainder.c: Move to ...
6282         * sysdeps/generic/w_remainder.c: ...here.  New file.
6283         * math/w_remainderf.c: Move to ...
6284         * sysdeps/generic/w_remainderf.c: ...here.  New file.
6285         * math/w_remainderl.c: Move to ...
6286         * sysdeps/generic/w_remainderl.c: ...here.  New file.
6287         * math/w_scalb.c: Move to ...
6288         * sysdeps/generic/w_scalb.c: ...here.  New file.
6289         * math/w_scalbf.c: Move to ...
6290         * sysdeps/generic/w_scalbf.c: ...here.  New file.
6291         * math/w_scalbl.c: Move to ...
6292         * sysdeps/generic/w_scalbl.c: ...here.  New file.
6293         * math/w_sinh.c: Move to ...
6294         * sysdeps/generic/w_sinh.c: ...here.  New file.
6295         * math/w_sinhf.c: Move to ...
6296         * sysdeps/generic/w_sinhf.c: ...here.  New file.
6297         * math/w_sinhl.c: Move to ...
6298         * sysdeps/generic/w_sinhl.c: ...here.  New file.
6299         * math/w_sqrtl.c: Move to ...
6300         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
6301         * math/w_tgamma.c: Move to ...
6302         * sysdeps/generic/w_tgamma.c: ...here.  New file.
6303         * math/w_tgammaf.c: Move to ...
6304         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
6305         * math/w_tgammal.c: Move to ...
6306         * sysdeps/generic/w_tgammal.c: ...here.  New file.
6308         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
6309         formats for postal_fmt.
6311 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
6313         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
6314         __ftruncate64 alias.
6315         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
6316         Likewise.
6318 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
6320         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
6321         do "loadrs".  Writing to bspstore already takes care of
6322         invalidating the "clean" partition.
6324 2001-02-16  Andreas Schwab  <schwab@suse.de>
6326         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
6327         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
6329 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
6331         * posix/regex.c (init_syntax_once): Add prototype.
6332         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
6333         (re_search_2): Avoid warning.
6334         (count_mbs_length): Add prototype.
6335         * posix/tst-regex3.c: New file.
6336         * posix/Makefile (tests): Add bug-regex3.
6338 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
6340         * stdio-common/Makefile (tests): Add tst-gets.
6341         * stdio-common/tst-gets.c: New file.
6342         * stdio-common/tst-gets.input: New file.
6344         * elf/elf.h (DT_CHECKSUM): Define.
6346         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
6347         default symbol.
6348         * sysdeps/generic/strtoull.c: Likewise.
6350 2001-02-14  Wolfram Gloger  <wg@malloc.de>
6352         * malloc/malloc.c (new_heap): When allocating large chunk aligned
6353         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
6354         between the heaps.
6356 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
6358         * math/libm-test.inc (j0_test): Check whether sincos is available.
6359         (j1_test): Likewise.
6360         (jn_test): Likewise.
6361         (y0_test): Likewise.
6362         (y1_test): Likewise.
6363         (yn_test): Likewise.
6365         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
6366         fake filesystem routines to handle this.
6368         * time/sys/time.h: Make settimeofday and adjtime available if
6369         _BSD_SOURCE.
6371         * time/sys/time.h: Make timer* macros available for BSD.
6373         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
6374         Patch by Yong Li <rigel863@yahoo.com>.
6376         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
6377         name.
6379         * posix/Makefile (tests): Add tst-gnuglob.
6380         * posix/tst-gnuglob.c: New file.
6382 2001-02-13  H.J. Lu  <hjl@gnu.org>
6384         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
6386 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
6388         * locale/programs/ld-paper.c (paper_output): Pretty printing.
6390         * iconvdata/Makefile (modules): Add GBBIG5.
6391         (distribute): Add gbbig5.c.
6392         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
6394         * iconvdata/gbbig5.c: New file.
6395         Contributed by Yong Li <rigel863@yahoo.com>.
6397 2001-02-13  Philip Blundell  <pb@futuretv.com>
6399         * manual/crypt.texi: Remove outdated references to crypt add-on.
6401         * manual/creature.texi: Improve wording slightly.
6403 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
6405         * io/ftw.c: Always use readdir64.
6406         * io/ftw64.c: Likewise.
6407         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6408         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6409         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
6410         callback to dirent.  Still allow compiling outside glibc.
6411         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
6412         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6414         * malloc/mtrace.c: Use fopen64.
6415         * posix/spawni.c: Use __open64.
6416         * sysdeps/unix/opendir.c: Likewise.
6417         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
6419         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
6420         name a weak alias.
6421         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
6422         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
6423         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
6424         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
6426         * resolv/res_data.c: Add cast to avoid warning.
6428         * include/unistd.h: Declare __ftruncate64.
6430         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
6432         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
6433         instead of __lseek.
6435 2001-02-13  Andreas Jaeger  <aj@suse.de>
6437         * login/getutent_r.c: Include <stdlib.h> for NULL.
6438         * login/getutid_r.c: Likewise.
6440 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
6442         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
6443         * sysdeps/dbl-64/e_j1.c: Likewise.
6444         * sysdeps/dbl-64/e_jn.c: Likewise.
6445         * sysdeps/flt-32/e_j0f.c: Likewise.
6446         * sysdeps/flt-32/e_j1f.c: Likewise.
6447         * sysdeps/ldbl-96/e_j0l.c: Likewise.
6449 2000-12-02  H.J. Lu  <hjl@gnu.org>
6451         * resolv/res_libc.c (res_init): Don't make it default.
6453 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
6455         * manual/debug.texi: Improved the wording.
6456         Patch by Philip Blundell <pb@futuretv.com>.
6458 2001-02-12  Andreas Jaeger  <aj@suse.de>
6460         * posix/Makefile (tests): Don't run bug-regex2 when
6461         cross-compiling.
6463         * libio/Makefile (tests): Don't run test-freopen when
6464         cross-compiling.
6466         * manual/stdio.texi (Streams and I18N): Fix typos.
6468 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
6470         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
6472         * math/libm-test.inc (j0_test): Make expected results long double
6473         constants.
6474         (y0_test): Likewise.
6476         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
6477         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
6479 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
6481         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
6482         which was exported from libc.
6483         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
6485 2001-02-12  Andreas Jaeger  <aj@suse.de>
6487         * manual/arith.texi (Parsing of Integers): Fix some wordings.
6489 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
6491         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
6492         and get_avphys_page to long int.
6493         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
6494         * include/sys/sysinfo.h: Likewise.
6495         * sysdeps/generic/sys/sysinfo.h: Likewise.
6496         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
6498         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
6499         cannot return as many values as the user asked for.
6501 2001-02-11  Andreas Jaeger  <aj@suse.de>
6503         * manual/resource.texi (Memory Resources): Fix typo.
6505         * libio/Makefile ($(objpfx)test-freopen.out): Pass
6506         run-program-prefix.
6508         * libio/test-freopen.sh: Use run_program_prefix.
6510 2001-02-10  Andreas Jaeger  <aj@suse.de>
6512         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
6513         cross-compiling.
6514         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
6516         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
6517         only builds.
6519         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
6521         * posix/Makefile: Fix typo, it's build-static-nss.
6523         * iconv/Makefile (extra-objs): New.
6525 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
6527         * sysdeps/unix/stime.c: Include <time.h>.
6529         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
6531 2001-02-10  Andreas Jaeger  <aj@suse.de>
6533         * manual/string.texi (Search Functions): Fix typo.
6535 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
6537         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
6538         (timeval_to_clock_t): Add clk_tck argument and use that instead of
6539         CLK_TCK.
6540         (__times): Use __getclktck to get the number of clock ticks per
6541         second and use its return value instead of CLK_TCK.
6543 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
6545         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
6547 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
6549         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
6551 2001-02-10  Andreas Jaeger  <aj@suse.de>
6553         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
6554         warning.
6556 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
6558         * posix/Makefile: Add rules to build and run bug-regex2.
6559         * posix/bug-regex2.c: New file.
6561 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
6563         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
6564         (regex_compile): Likewise.
6565         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
6566         (re_match_2_internal): Use just is_binary instead of two variables.
6567         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
6569 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
6571         * version.h (VERSION): Bump to 2.2.2.
6573         * iconv/Makefile (distribute): Add iconv_charmap.c and
6574         dummy-repertoire.c.
6575         * elf/Makefile (distribute): Add firstobj.c.
6576         * Makefile (distribute): Add include/pthread.h.
6578         * configure.in: Require makeinfo version 4.
6580         * libio/tst_wscanf.c (main): Add cast to avoid warning.
6581         * libio/tst_swscanf.c (main): Likewise..
6583 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
6585         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
6586         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
6587         __NO_MATH_INLINES.
6588         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
6589         if not RTLD_BOOTSTRAP.
6590         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6591         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6593 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
6595         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
6596         lr_ungetc to push back last read character.
6597         * locale/programs/linereader.h (lr_ungetc): Don't push back is
6598         character is EOF.
6599         (lr_ignore_rest): Don't warn about garbage if it is really the end
6600         of the file.
6602         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
6603         definition.
6605 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
6607         * Makerules (build-shlib): Work around different order of
6608         processing of -B option in different gcc versions.
6610         * posix/regex.c: Fix alignment problem.
6611         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6613         * sysdeps/alpha/strrchr.S: Little optimization.
6614         Patch by Richard Henderson <rth@redhat.com>.
6616         * sysdeps/alpha/alphaev67/strrchr.S: New file.
6617         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
6619 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
6621         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
6622         in the assembler end directive.
6624 2001-02-08  Andreas Jaeger  <aj@suse.de>
6626         * manual/stdio.texi (Closing Streams): Fix typos.
6628 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
6630         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
6631         Patch by Richard Henderson <rth@redhat.com>.
6632         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
6634         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
6635         pointer in FILE structure before calling _IO_init.
6636         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
6637         strfmon_l if necessary.
6638         Reported by Jury Gerold <gjury@grips.com>.
6640         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
6641         Patch by Pekka.Pietikainen@cern.ch.
6643         * posix/regex.c: Correct several problems with 64-bit architectures
6644         introduced in the MBS changes.
6645         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6647 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
6649         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
6650         not defined.
6651         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
6653 2001-02-07  Andreas Jaeger  <aj@suse.de>
6655         * manual/install.texi (Tools for Compilation): Fix typo.
6656         Reported by Pavel Machek <pavel@bug.ucw.cz>.
6658 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
6660         * stdlib/strtod.c: Never stop prematurely reading digits before the
6661         decimal point is found.  Compute exponent limit for negative exponents
6662         correctly.  For numbers ending in all zeros eat the zeros even before
6663         the decimal point if the exponent is negative [PR libc/2072].
6664         * stdlib/Makefile (tests): Add bug-strtod.
6665         * stdlib/bug-strtod.c: New file.
6667 2001-02-07  Andreas Jaeger  <aj@suse.de>
6669         * posix/bug-regex1.c: Include <wchar.h> for fwide.
6671 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
6673         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
6674         Store index.
6675         (compile_range): Handle index being passed, not pointer.
6676         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6678         * posix/regex.c: Fix a cast in the code for bracket handling which
6679         caused 8-bit uncleanliness.
6680         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
6682         * posix/Makefile (tests): Add bug-regex1.
6683         * posix/bug-regex1.c: New file.
6684         Contributed by Jim Meyering <jim@meyering.net>.
6686         * posix/regex.c: Many cleanups for incorrect format strings.
6688 2001-02-06  Andreas Jaeger  <aj@suse.de>
6690         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
6692 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
6694         * locale/programs/locale.c (write_locales): Use scandir to read
6695         directory so that the entries are sorted.
6697 2001-02-06  Andreas Jaeger  <aj@suse.de>
6699         * include/pthread.h: New file.
6701         * wctype/wctype.h: Move internal interfaces from here to...
6702         * include/wctype.h: ...here.
6704         * wcsmbs/wchar.h: Move __wcslen from here to...
6705         * include/wchar.h: ...here.
6707         * posix/sys/wait.h: Move __wait from here to...
6708         * include/sys/wait.h: ...here.
6710         * string/string.h: Move __ffs and __strerror_r from here to...
6711         * include/string.h: ...here.
6713         * stdlib/stdlib.h: Move __on_exit from here to...
6714         * include/stdlib.h: ...here.
6716         * libio/stdio.h: Move __vsnprintf from here to...
6717         * include/stdio.h: ...here.
6719 2001-02-06  Andreas Schwab  <schwab@suse.de>
6721         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
6722         headers.
6724         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
6725         of $(inst_datadir).
6727 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
6729         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
6731 2001-02-06  Andreas Jaeger  <aj@suse.de>
6733         * elf/firstobj.c: Add prototype.
6735         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
6736         (truncate_wchar): Likewise.
6738 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
6740         * locale/programs/locale.c: Implement --verbose option for -a
6741         which prints detailed information about the locales.
6743 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
6745         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
6746         variable to uint32_t.
6747         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
6749 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
6751         * locale/C-translit.h.in: Add transliterations for CJK units of
6752         measurement.
6754 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
6756         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
6757         string.  Include <inttypes.h> instead of <stdint.h>.
6759         * localedata/Makefile (tests): Add bug-iconv-trans.
6760         Define bug-iconv-trans-ENV.
6761         * localedata/bug-iconv-trans.c: New file.
6763 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
6765         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
6766         pointer, to avoid accumulating output from incomplete (unsuccessful)
6767         transliteration attempts.
6769 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
6771         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
6772         string.  Include <inttypes.h> instead of <stdint.h>.
6774         * configure.in: Add check for bison.
6775         * config.make.in: Define BISON variable.
6776         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
6777         Rename YFLAGS to BISONFLAGS.
6779 2001-02-05  Andreas Jaeger  <aj@suse.de>
6781         * io/test-lfs.c (do_test): Test lseek64 return value, call
6782         test_ftello.
6783         (test_ftello): New function to test ftello64 and fseeko64.
6785         * signal/signal.h: Move __sigaction from here to...
6786         * include/signal.h: ...here.
6788         * io/fcntl.h: Move __fcntl and __open to...
6789         * include/fcntl.h: ...here.
6791 2001-02-04  Philip Blundell  <philb@gnu.org>
6793         * configure.in: Distinguish ARM from Thumb.
6795 2001-02-04  Philip Blundell  <philb@gnu.org>
6797         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
6798         PC24 relocs with negative value.
6800 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
6802         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
6803         files in locale/programs.  Add CFLAGS definition to allow compiling
6804         localedef files.
6805         * iconv/dummy-repertoire.c: New file.
6806         * iconv/iconv_charmap.c: New file.
6807         * iconv/iconv_prog.h: New file.
6808         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
6809         (main): If parameter for -f and -t contain slashes try first to resolve
6810         the strings as filenames of charmap files.  Use them for conversion
6811         in this case.
6812         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
6813         iconv getting charmap names as parameters.
6814         * locale/programs/linereader.c (lr_token): Take extra parameters
6815         verbose and pass it to get_string.
6816         (get_string): Take extra parameters verbose.
6817         * locale/programs/charmap.c (parse_charmap): Take extra parameters
6818         verbose and be_quiet.  Change all callers of lr_token and
6819         parse_charmap.
6820         * locale/programs/charmap.h: Likewise.
6821         * locale/programs/ld-address.c: Likewise.
6822         * locale/programs/ld-collate.c: Likewise.
6823         * locale/programs/ld-ctype.c: Likewise.
6824         * locale/programs/ld-identification.c: Likewise.
6825         * locale/programs/ld-measurement.c: Likewise.
6826         * locale/programs/ld-messages.c: Likewise.
6827         * locale/programs/ld-monetary.c: Likewise.
6828         * locale/programs/ld-name.c: Likewise.
6829         * locale/programs/ld-numeric.c: Likewise.
6830         * locale/programs/ld-paper.c: Likewise.
6831         * locale/programs/ld-telephone.c: Likewise.
6832         * locale/programs/ld-time.c: Likewise.
6833         * locale/programs/linereader.c: Likewise.
6834         * locale/programs/linereader.h: Likewise.
6835         * locale/programs/localedef.c: Likewise.
6836         * locale/programs/locfile.c: Likewise.
6837         * locale/programs/locfile.h: Likewise.
6838         * locale/programs/repertoire.c: Likewise.
6840 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
6842         * iconv/iconv_prog.c (main): If output file name is "-" write to
6843         stdout.
6844         (main): If -f or -t argument is missing use charset of the current
6845         locale.
6847 2001-02-03  Andreas Jaeger  <aj@suse.de>
6849         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
6850         boundary for SSE/SSE-2 alignment.
6852         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
6853         annexc.
6855 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
6857         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
6858         Remove comma at end of enum.
6860         * elf/dl-init.c: Add a few __builtin_expect.
6862         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
6864 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
6866         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
6867         errno is ECONNREFUSED.
6869         * posix/Makefile: Define MBS_SUPPORT for regex.c.
6870         * posix/regex.c: Implement multibyte character handling.
6871         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
6873         * string/tst-svc.input: Add two more test cases.
6874         * string/tst-svc.expect: Modify to reflect new test cases.
6876 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
6878         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
6879         tp->name tests with tp->name[0] tests.
6881 2001-01-29  Ben Collins  <bcollins@debian.org>
6883         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
6884         Fix check for name == NULL.
6886 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
6888         * elf/Makefile: Add rules to build and run initfirst test.
6889         * elf/initfirst.c: New file.
6890         * elf/firstobj.c: New file.
6892         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
6893         * configure.in: Test for -z initfirst linker option.
6894         * config.make.in: Add have-z-initfirst.
6895         * elf/dl-init.c (_dl_init): Split out actual initialization code in
6896         new function call_init.  If _dl_initfirst is non-NULL initialize first.
6897         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
6898         remember object in _dl_initfirst.
6899         * elf/soinit.c: Remove special support for calling
6900         __pthread_initialize_minimal.
6902         * conform/conformtest.pl: Add missing $prepend in type test.
6904 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
6906         * elf/elf.h (SHT_CHECKSUM): New definition.
6908         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
6909         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6910         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
6912 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
6914         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
6915         to get definition of `struct timeval'.
6917 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
6919         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
6920         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
6922 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
6924         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
6925         seen, not flags.
6927         * nis/nis_findserv.c: Include <time.h>.
6929 2001-01-30  Yong Li  <yong.li@asu.edu>
6931         * iconv/iconv_prog.c (main): Correct error handling method name.
6933 2001-01-29  Ben Collins  <bcollins@debian.org>
6935         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
6936         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
6937         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
6938         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
6940 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
6942         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
6943         Patch by Marko Myllynen <myllynen@lut.fi>.
6945         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
6946         (int instead of char).
6947         (__strpbrk_c3): Likewise.
6948         Reported by GOTO Masanori <gotom@debian.or.jp>.
6950         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
6951         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
6952         * include/sys/socket.h: Add SA_LEN here for internal use.
6953         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
6955 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
6957         * malloc/Makefile: Don't build memusagestat if cross-compiling.
6959         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
6961         * math/libm-test.inc (rint_test): Add a few more tests for round
6962         to even rounding.
6964 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
6966         * conform/data/pthread.h-data: Correct return type of pthread_exit.
6968         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
6970         * conform/data/stdlib.h-data: Add _Exit.
6972         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
6973         if not already happened.
6974         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
6975         Don't include <limits.h> and <bits/sockaddr.h>.
6977         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
6979         * conform/data/spawn.h-data: Allow all of <sched.h>.
6981         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
6982         unused variable.
6984         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
6985         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
6987         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
6989         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
6990         * libio/stdio.h: Define va_list correctly.
6992         * conform/data/pthread.h-data: Make priority protocol related
6993         functions optional.  Fix typos.
6995         * posix/sched.h: Define sched_priority as __sched_priority.
6996         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
6997         to __sched_priority.
6998         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7000 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
7002         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
7003         of <sys/time.h>.
7005         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
7006         * sysdeps/unix/time.c: Likewise.
7008         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
7009         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
7010         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
7011         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
7012         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
7013         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
7014         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
7015         * time/time.h: Likewise.
7017         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
7018         * conform/data/complex.h-data: New file.
7019         * conform/data/tgmath.h-data: New file.
7021         * conform/data/wchar.h-data: Add missing functions.
7023         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
7025         * conform/data/termios.h-data: Add missing const in tcsetattr()
7026         prototype.
7028         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
7029         Don't define pid_t here.
7031         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
7033         * conform/data/sys/time.h-data: Allow sys/select.h.
7034         * conform/data/sys/un.h-data: Fix typo.
7035         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
7036         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
7037         <sys/time.h>.
7038         * sysdeps/unix/clock_nanosleep.c: Likewise.
7039         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
7040         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
7041         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
7042         * sysdeps/unix/clock_settime.c: Likewise.
7044         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
7045         * login/getutent.c: Likewise.
7046         * login/getutid.c: Likewise.
7047         * login/getutline.c: Likewise.
7049         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
7051         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
7052         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
7053         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
7054         f_fsid field after change in struct statvfs.
7055         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
7056         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
7057         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
7059         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
7060         optional-macro.
7062         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
7063         recvfrom, send, and socketpair prototypes.  Add allow lines.
7064         * socket/sys/socket.h: Include <sys/uio.h>.
7065         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
7066         Fix type of second parameter of listen.
7067         Don't declare isfdtype unless __USE_MISC.
7068         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
7069         * sysdeps/mach/hurd/listen.c: Likewise.
7070         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
7071         ss_family and __ss_family.
7072         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
7073         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7074         (struct msghdr): Change type of msg_iovlen to int and type of
7075         msg_controllen to socklen_t.
7076         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
7077         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
7078         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
7079         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
7080         (rresvport_af): Likewise.
7082         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
7083         * conform/conformtest.pl: Implement handling of symbol.
7085         * signal/signal.h: Fix handling of __need_* symbols.
7086         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
7087         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
7088         * include/sys/select.h: Use fd_set not __fd_set.
7089         * sysdeps/generic/bits/select.h: Likewise.
7090         * sysdeps/i386/bits/select.h: Likewise.
7091         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
7092         __FDELT, __FDMASK, and __fd_set here.
7093         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
7094         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
7095         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
7096         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
7097         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
7098         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
7099         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
7100         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
7101         * time/sys/time.h: Define struct timeval before including <time.h>
7102         and <sys/select.h>.
7104         * conform/data/sys/time.h-data: fd_set is a typedef.
7105         * conform/data/sys/select.h-data: New file.
7106         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
7107         * conform/conformtest.pl (@headers): Add sys/select.h.
7108         (type, optional-type): Unless testing a typedef instantiate object.
7109         Implement optional-function.
7111         * math/test-misc.c: Include <float.h>.
7113 2001-01-27  Andreas Jaeger  <aj@suse.de>
7115         * misc/efgcvt_r.c: Include <float.h>.
7117 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
7119         * conform/data/stdlib.h-data: Account for XPG6 changes.
7120         * stdlib/stdlib.h (__random): Change return value type to long.
7121         (posix_memalign): Cleanup parameter names.
7122         (setenv, unsetenv): Make available for __USE_XOPEN2K.
7123         Change return type of unsetenv to int.
7124         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
7125         * include/stdlib.h: Change return type of unsetenv to int.
7126         Change return type of random to long int.
7127         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
7128         Return -1 and set errno if parameter is invalid.
7129         * stdlib/random.c (__random): Change return value type to long.
7131         * conform/data/stdio.h-data: Account for changes in XPG6.
7133         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
7134         prototype.
7136         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
7137         * conform/data/signal.h-data: Fix sigev_notify_function entry.
7138         Fix typo (SIGVALRM -> SIGVTALRM).
7139         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
7140         with real type.
7141         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
7142         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
7143         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
7144         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7145         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
7147         * conform/conformtest.pl: Implement optional-element.  Define
7148         $mustprepend{"sched.h"}.
7149         * conform/data/sched.h-data: Make sporadic scheduler definitions
7150         optional.
7152         * pwd/pwd.h: Don't define getpwent_r for XPG.
7154         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
7155         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
7156         * sysdeps/mach/hurd/poll.c: Likewise.
7157         * sysdeps/unix/bsd/poll.c: Likewise.
7158         * sysdeps/unix/sysv/linux/poll.c: Likewise.
7159         * sysdeps/unix/sysv/aix/poll.c: Likewise.
7160         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
7161         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
7162         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
7163         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
7164         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
7165         * conform/data/poll.h-data: Fix typo in poll prototype.
7167         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
7168         only if __USE_MISC.
7169         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
7171         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
7173         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
7175         * conform/conformtest.pl: Implement optional-type.
7177         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
7178         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
7179         defining uint32_t here.  Define IPPORT_RESERVED.
7180         (struct hostent): Type of h_length element is int.
7181         (getnameinfo): Type of flags parameter is unsigned int.
7182         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
7183         * conform/data/netdb.h-data: Add many missing definitions.
7185         * conform/conformtest.pl: Implement optional-macro.
7186         * conform/data/math.h-data: Update for XPG6.
7188         * math/math.h (HUGE): Define as FLT_MAX value but don't use
7189         FLT_MAX.  Don't include <float.h>.
7190         (MAXFLOAT): Likewise.
7192         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
7194         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
7196         * conform/data/limits.h-data: Mark constants as optional wherever
7197         appropriate.
7199         * posix/bits/posix2_lim.h: Set correct values for
7200         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
7201         EQUIV_CLASS_MAX.
7203         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
7204         Required by POSIX.
7206         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
7208         * conform/data/netinet/in.h-data: Add reserved prefixes.
7210         * conform/data/arpa/inet.h-data: Fix a few typos.
7212 2001-01-26  Andreas Jaeger  <aj@suse.de>
7214         * sysdeps/generic/strtol.c: Include <locale.h>
7215         * stdlib/strtod.c: Likewise
7216         * stdlib/strfmon.c: Likewise.
7217         * string/strcoll.c: Likewise.
7218         * string/strxfrm.c: Likewise.
7219         * wctype/wcfuncs_l.c: Likewise.
7220         * wctype/wctype_l.c: Likewise.
7221         * wctype/wctrans_l.c: Likewise.
7223         * include/bits/locale.h: New file.
7225 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
7227         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
7228         and NOSTR.
7230         * locale/Makefile (headers): Add bits/locale.h.
7231         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
7232         and use __LC_ constants instead of LC_.
7233         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
7234         using __LC_ constants.
7235         * locale/bits/locale.h: New file.
7236         * locale/loadlocale.c: Include <locale.h>.
7237         * locale/nl_langinfo.h: Likewise.
7239         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
7241         * io/sys/stat.h: Define S_IFSOCK for XPG6.
7243         * conform/data/fcntl.h-data: posix_madvise is not expected here.
7245         * conform/conformtest.pl: Fix handling of macro-str.
7247         * conform/data/inttypes.h-data: Add missing definition and all of
7248         stdint.h-data.
7250         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
7252 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
7254         * conform/conformtest.pl (@headers): Add stdint.h.
7255         * conform/data/stdint.h-data: New file.
7257         * conform/conformtest.pl: Recognize options --headers and
7258         --dialect.  Add dialect-specific CFLAGS.
7260         * conform/conformtest.pl: Implement handling of recursive
7261         allow-header.
7263         * conform/data/locale.h-data: Add new struct lconv members.
7265         * posix/wordexp.h: Correct definition of wordexp_t.
7266         * posix/wordexp.c: Moved to ...
7267         * sysdeps/generic/wordexp.c: ...here.  New file.
7268         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
7269         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
7270         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
7271         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
7272         wordexp.
7273         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
7274         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
7276         * math/tgmath.h: Pretty printing.
7278         * math/Makefile (tests): Add test-tgmath.
7279         (CFLAGS-test-tgmath.c): New variable.
7280         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
7282         * conform/conformtest.pl: Handle allow-header in secondary headers
7283         correctly.
7285         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
7286         #ifdef.
7288         * conform/data/netinet/in.h-data: Use correct comment character.
7289         * conform/data/sys/stat.h-data: Likewise.
7291 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
7293         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
7294         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
7295         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
7296         __builtin_classify_type, add ##f suffixes where appropriate.
7297         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
7298         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
7299         __builtin_classify_type.
7300         (fma): Fix spelling of first argument.
7302 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
7304         * conform/data/unistd.h-data: Mark functions removed in XPG6
7305         correctly.
7307         * posix/unistd.h: Don't make functions removed in XPG6 available if
7308         __USE_XOPEN2K.
7310         * conform/conformtest.pl: Implement optional-constant.
7311         * conform/data/unistd.h-data: Use optional-constant wherever
7312         appropriate.
7314         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
7315         constants and add _SC_STREAMS.
7316         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7318         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
7319         make old name weak alias.
7320         * sysdeps/generic/statvfs64.c: Likewise.
7321         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
7322         make old name weak alias.
7323         * sysdeps/generic/fstatvfs64.c: Likewise.
7324         * include/sys/statvfs.h: New file.
7326         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
7327         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
7328         _PC_REC_XFER_ALIGN.
7329         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
7330         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
7331         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
7332         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
7334         * conform/conformtest.pl: Run Unix tests for XPG6.
7335         Implement handling of known namespace violations.
7336         Improve printing of results.
7338         * posix/unistd.h (usleep): Correct return type.
7339         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
7340         * sysdeps/unix/bsd/usleep.c: Correct return type.
7341         * sysdeps/mach/usleep.c: Correct return type.
7342         * sysdeps/generic/usleep.c: Correct return type.
7344         * posix/unistd.h (sync): Correct return type.
7345         * sysdeps/generic/sync.c: Likewise.
7346         * sysdeps/mach/hurd/sync.c: Likewise.
7348         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
7350         * posix/unistd.h: Make seteuid and setegid available for XPG6.
7352         * wcsmbs/wchar.h: Get FILE definition for XPG5.
7354         * conform/data/ctype.h-data: Use correct comment form.
7355         * conform/data/errno.h-data: Likewise.
7356         * conform/data/math.h-data: Likewise.
7357         * conform/data/mqueue.h-data: Likewise.
7358         * conform/data/netdb.h-data: Likewise.
7359         * conform/data/pthread.h-data: Likewise.
7361 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
7363         * conform/data/wordexp.h-data: Fix typo.
7365         * conform/conformtest.pl: Handle allow-header correctly.
7367         * conform/data/time.h-data: Use correct comment form.
7369         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
7371         * configure.in: Comment out binutils version test.
7373         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
7374         separators.
7375         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
7377         * stdlib/tst-strtod.c (locale_test): New function.
7378         (main): Call locale_test.
7379         * stdlib/Makefile (tst-strtod-ENV): New variable.
7381 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
7383         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
7384         declaration of value such that we actually return the value of the
7385         environment variable.
7387 2001-01-24  Andreas Jaeger  <aj@suse.de>
7389         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
7390         prototype.
7391         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7393         * include/sys/sysctl.h: New file.
7395 2001-01-23  Andreas Jaeger  <aj@suse.de>
7397         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
7398         isomac.
7400         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
7401         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
7402         closes PR libc/2039.
7404         * manual/install.texi (Tools for Compilation): Change required
7405         binutils version.
7407 2001-01-22  Andreas Jaeger  <aj@suse.de>
7409         * configure.in: Add test for new enough binutils version, move
7410         compiler/binutils test up.
7412         * Versions.def: Add version GLIBC_2.2.2.
7414 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
7416         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
7417         available.
7418         * iconvdata/testdata/IBM932: New file.
7419         * iconvdata/testdata/IBM932..UTF8: New file.
7420         * iconvdata/testdata/IBM943: New file.
7421         * iconvdata/testdata/IBM943..UTF8: New file.
7422         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
7424 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7426         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
7428 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
7430         * malloc/malloc.c: Remove a few unnecessary initializers of global
7431         variables.
7433 2000-12-09  H.J. Lu  <hjl@gnu.org>
7435         * nss/Makefile (routines): Add digits_dots.
7436         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
7437         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
7438         into a function.
7439         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
7440         function.
7441         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
7442         (TYPE_VAR_P): Likewise.
7443         (FLAGS_VAR): Likewise.
7444         (AF_VAR_P): Likewise.
7445         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
7446         instead of including digits_dots.c.
7447         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
7448         (TYPE_VAR_P): Likewise.
7449         (FLAGS_VAR): Likewise.
7450         (AF_VAR_P): Likewise.
7451         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
7452         instead of including digits_dots.c.
7454 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
7456         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
7458 2001-01-21  Andreas Jaeger  <aj@suse.de>
7460         * elf/constload2.c: Add prototype for init.
7462 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
7464         * stdlib/stdlib.h (drand48_data): Make available only for
7465         __USE_MISC.  Rename elements to protect namespace.  Change type
7466         and position of a and init element.
7467         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
7468         differently.  Adjust for drand48_data change.  Don't compute a here,
7469         it comes from drand48_data.
7470         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
7471         differently.  Adjust for drand48_data change.  Compute a here.
7472         * stdlib/srand48_r.c: Likewise.
7473         * stdlib/drand48.c: Adjust for drand48_data change.
7474         * stdlib/lrand48.c: Likewise.
7475         * stdlib/mrand48.c: Likewise.
7476         * stdlib/seek48.c: Likewise.
7477         * stdlib/drand48_r.c: Likewise.
7478         * stdlib/lrand48_r.c: Likewise.
7479         * stdlib/mrand48_r.c: Likewise.
7480         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
7481         differently.
7482         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
7483         * stdlib/jrand48_r.c: Likewise.
7485         * po/sv.po: Update from translation team.
7487 2001-01-21  Andreas Jaeger  <aj@suse.de>
7489         * stdio-common/vfprintf.c (vfprintf): Add casts.
7491 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
7493         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
7494         the ASCII test.
7495         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
7497         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
7498         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
7499         * iconvdata/ibm932.c: New file.
7500         * iconvdata/ibm932.h: New file.
7501         * iconvdata/ibm943.c: New file.
7502         * iconvdata/ibm943.h: New file.
7503         Patches by Masahide Washizawa <washi@jp.ibm.com>.
7505         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
7506         preventing optimization from being done.  Set the correct type bit
7507         in seen.  Don't define and use _dl_base_addr unless
7508         NEED_DL_BASE_ADDR is defined.
7510         * io/ftw.c (ftw_dir): Add slash after directory name if there
7511         wasn't any.  Reported by loris <loris@iol.it>.
7512         * io/Makefile (tests): Add bug-ftw2.
7513         * io/bug-ftw2.c: New file.
7515 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
7517         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
7518         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
7519         * stdlib/tst-rand48.c: New file.
7520         * stdlib/Makefile (tests): Add tst-rand48.
7522         * locale/newlocale.c (__newlocale): Fix test for setting all
7523         categories.
7525 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
7527         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
7528         but change looking up the initial directory port in a similar way
7529         as done by _hurd_change_directory_port_from_name.
7530         * hurd/fchroot.c (fchroot): Likewise.
7532 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
7534         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
7535         defined don't look whether the AT_*ID values were set.
7536         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
7537         (_dl_show_auxv): Rewrite to avoid switch statement.
7538         * sysdeps/unix/sysv/linux/kernel-features.h: Define
7539         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
7540         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
7541         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
7543         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
7544         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
7545         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
7547         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
7548         strtoul.
7549         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
7550         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
7551         anything.
7552         * dlfcn/eval.c (__strtol_internal): Define here.
7553         (eval): Use __strtol_internal instead of strtol.
7555         * elf/elf.h: Add a few more EF_MIPS_* constants.
7557 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
7559         * manual/Makefile (chapters): Add debug.
7560         * manual/debug.texi: New file.
7561         * manual/examples/execinfo.c: New file.
7562         Patch by suckfish@ihug.co.nz.
7564 2001-01-17  Andreas Schwab  <schwab@suse.de>
7566         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
7567         invalid asm.
7569 2001-01-17  Andreas Jaeger  <aj@suse.de>
7571         * nscd/connections.c (nscd_run): Use proper format specifier.
7573 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
7575         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
7576         x86_platforms data into new file after prepending _dl_.  Change
7577         users.
7578         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
7579         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
7580         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
7581         dl-procinfo.c.
7583         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
7585         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
7586         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
7587         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
7588         (_setjmp): Likewise.
7589         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
7590         * sysdeps/i386/bsd-setjmp.S: Real implementation.
7591         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
7592         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
7593         version.
7595 2001-01-16  Andreas Jaeger  <aj@suse.de>
7597         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
7598         misapplied last patch.
7600 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
7602         * stdlib/random.c (__initstate): Clean up a cast.
7603         (__setstate): Likewise.
7605         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
7606         syscall handling.  The generic Linux version should work.
7608 2001-01-15  Andreas Jaeger  <aj@suse.de>
7610         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
7612         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
7614 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
7616         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
7617         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
7618         New functions.
7619         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
7620         If number is 0, list all.
7621         (services_keys): Likewise.  Lookup aliases as well.
7622         (databases): New table.
7623         (build_doc): Prepare argp doc text with list of supported databases.
7624         (main): Change to table driven processing.
7626 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
7628         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
7629         functions.
7631 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
7633         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
7634         encode value which does not fit in the 32bit type.
7636 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
7638         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
7639         Change type of CTX to (struct sigcontext *).
7640         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
7641         (GET_FRAME): Likewise.
7642         (GET_STACK): Likewise.
7643         (SIGCONTEXT): Likewise.  Add 2nd arg _code.
7644         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
7646 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
7648         * manual/texinfo.tex: Update from upstream version.
7650 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
7652         * inet/ether_ntoh.c (lookup_function): Change arguments to match
7653         _nss_*_getntohost_r prototype.
7654         (ether_ntohost): Pass errno pointer to NSS function.
7656 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7658         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
7659         (MAP_LOCKED): New definition.
7660         (MAP_NORESERVE): New definition.
7662 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
7664         * assert/assert.h: Use static_cast instead of C-style cast for C++.
7665         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
7667 2001-01-12  Ben Collins  <bcollins@debian.org>
7669         * sysdeps/generic/segfault.c (install_handler): Use access, not
7670         __access.
7672 2001-01-12  Andreas Jaeger  <aj@suse.de>
7674         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
7675         * posix/wordexp.c (do_parse_glob): Likewise.
7676         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
7677         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
7678         * elf/dl-open.c (_dl_open): Likewise.
7679         * elf/dl-close.c (_dl_close): Likewise.
7680         * elf/dl-load.c (_dl_map_object): Likewise.
7681         * iconv/iconv_prog.c (process_fd): Likewise.
7682         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
7684         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
7685         of a zero-length array.
7687 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
7689         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
7690         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
7691         * stdlib/cxa_on_exit.c: Remove.
7692         * stdlib/Makefile: Revert last patch.
7693         * stdlib/Versions: Likewise.
7694         * include/stdlib.h: Likewise.
7695         * stdlib/exit.h: Revert last patch.
7696         (struct exit_function): Add second argument to cxa fn.
7697         * stdlib/exit.c: Revert last patch.
7698         (exit): Add hidden second argument.
7700 2001-01-11  H.J. Lu  <hjl@gnu.org>
7702         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
7703         * elf/dl-open.c (_dl_open): Here.
7704         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
7705         Make it static.
7706         (_dl_static_init): Initialize the variables every time when possible.
7707         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
7708         Undefine it first.
7710 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
7712         * stdlib/Makefile (routines): Add cxa_on_exit.
7713         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
7714         * stdlib/cxa_on_exit.c: New file.
7715         * include/stdlib.h: Add prototype for __cxa_on_exit.
7716         * stdlib/exit.c: Handle ef_cxa2.
7717         * stdlib/exit.h (enum): Add ef_cxa2.
7718         (struct exit_function): Add cxa2.
7720         * Versions.def [ld]: Add GLIBC_2.2.1.
7722 2001-01-10  H.J. Lu  <hjl@gnu.org>
7724         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
7725         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
7726         dl-static.
7727         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
7728         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
7729         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
7730         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
7731         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
7733 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
7735         * libio/stdio.h: Remove definition of off_t.
7737 2001-01-11  Andreas Jaeger  <aj@suse.de>
7739         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
7740         <mkuhn@acm.org>.
7742 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
7744         * sunrpc/Makefile (distribute): Add errqueue.h.
7746 2001-01-10  H.J. Lu  <hjl@gnu.org>
7748         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
7749         r9, r10 and r11 for language specific registers.
7751 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
7753         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
7754         UDP socket.
7755         (clntudp_call): Handle MSG_ERRQUEUE.
7756         * sysdeps/generic/errqueue.h: New file.
7757         * sysdeps/unix/sysv/linux/errqueue.h: New file.
7759 2001-01-10  H.J. Lu  <hjl@gnu.org>
7761         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
7763 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
7765         * CONFORMANCE: Update.
7767 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
7769         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
7770         Minimal cleanups.  Add assert to ensure memory handling is correct.
7772         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
7773         Reported by Ben Collins <bcollins@debian.org>.
7775         * time/strftime.c (my_strftime): Mark previous GNU extensions
7776         which are now in C99 as such.
7778 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
7780         * elf/rtld.c (process_envvars): Place output files for profiling
7781         in SUID binaries in /var/profile.
7783         * elf/dl-load.c (_dl_map_object): Don't look in cache for
7784         preloading in SUID binaries.
7786         * elf/dl-profile.c (_dl_start_profile): Open the output file with
7787         O_NOFOLLOW if possible.
7789         * include/stdlib.h: Add __posix_openpt declaration.
7790         * stdlib/stdlib.h: Add posix_openpt declaration.
7791         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
7792         * sysdeps/generic/getpt.c: Define posix_openpt.
7793         * sysdeps/unix/bsd/getpt.c: Likewise.
7794         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
7796         * time/Makefile (tests): Add tst-mktime.
7797         * time/tst-mktime.c: New file.
7799         * posix/tst-dir.c (main): One more mkdir() test.
7801         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
7802         Remove getpagesize syscall.  We assume that the pagesize is always
7803         determined from the auxiliary vector.
7805         * intl/dcigettext.c: Fix a few warnings.
7806         Patch by Bruno Haible <haible@ilog.fr>.
7808 2001-01-08  Andreas Jaeger  <aj@suse.de>
7810         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
7811         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
7813 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
7815         * sysdeps/generic/segfault.c (install_handler): Check output file
7816         name with access().
7818         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
7819         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
7821         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
7823         * malloc/memusage.c (me): Use access() to determine whether we
7824         should write the output file or not.
7826         * libio/bits/stdio.h (printf): Define macro to map printf call to
7827         fprintf which gcc can optimize.
7828         * stdio-common/printf.c: Undefine printf.
7830 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
7832         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
7833         patch.  We must use unsigned int for l member of union.
7835         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
7836         _dl_aux_init for shared libraries.
7838         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
7839         * sysdeps/gnu/glob64.c: ...here.  New file.
7841 2001-01-07  Ben Collins  <bcollins@debian.org>
7843         * manual/examples/longopt.c: Make the "struct option" a little
7844         more like it should be, adding usage of required_argument,
7845         noargument and such, and also setting the options string right.
7847         * manual/sysinfo.texi (Load Average): New section, documents
7848         getloadavg().
7850 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
7852         * version.h (VERSION): Bump to 2.2.1.
7854         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
7855         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
7856         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
7857         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
7858         * Makefile (distribute): Add include/libc-internal.h.
7859         * libio/Makefile (distribute): Avoid overwriting.
7861         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
7862         buffer and table handling.
7864 2001-01-05  H.J. Lu  <hjl@gnu.org>
7866         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
7867         vector checking to ...
7868         (_dl_aux_init): Here.  New function.  Defined only if
7869         HAVE_AUX_VECTOR is defined.
7871         * sysdeps/generic/libc-start.c (__libc_start_main): Call
7872         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
7874         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
7875         _dl_aux_init.
7877         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
7878         (HAVE_AUX_VECTOR): Defined.
7879         (_dl_aux_init): Declared.
7881 2001-01-05  Ben Collins  <bcollins@debian.org>
7883         * manual/string.texi (Finding Tokens in a String): Document XPG
7884         basename() and dirname(), as well as GNU basename().
7886 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
7888         * Makeconfig (preprocess-version): Replace -traditional with
7889         -x assembler-with-cpp.
7891 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
7893         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
7894         for GCC 2.97 or later.
7896 2001-01-05  Ben Collins  <bcollins@debian.org>
7898         * manual/stdio.texi (getline): Clarify the return value in the
7899         case of EOF being reached before a newline.
7901 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
7903         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
7904         FALSE otherwise.
7905         (pmap_set, pmap_unset): Check __get_myaddress return value.
7907 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
7909         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
7910         (struct ether_addr): Declare ether_addr_octet member as
7911         `u_int8_t'.  Add __attribute__ ((__packed__)).
7913 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7915         * sysdeps/mach/hurd/readdir64.c: New file.
7916         * sysdeps/mach/hurd/readdir64_r.c: New file.
7918 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
7920         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
7921         `struct statfs' and `struct statvfs' being identical.
7922         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
7924 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7926         * sysdeps/mach/hurd/fstatfs64.c: New file.
7927         * sysdeps/mach/hurd/fstatvfs64.c: New file.
7928         * sysdeps/mach/hurd/statfs64.c: New file.
7929         * sysdeps/mach/hurd/statvfs64.c: New file.
7930         * sysdeps/mach/hurd/statfsconv.c: New file.
7931         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
7933 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
7935         * iconv/skeleton.c: Reset outbuf for next round of the loop.
7936         Reported by Owen Taylor <otaylor@redhat.com>.
7937         * iconv/Makefile (tests): Add tst-iconv3.
7938         * iconv/tst-iconv3.c: New file.
7940         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
7941         * iconvdata/ibm933.c: Likewise.
7942         * iconvdata/ibm935.c: Likewise.
7943         * iconvdata/ibm937.c: Likewise.
7944         * iconvdata/ibm939.c: Likewise.
7945         * iconvdata/ibm930.h: Adjust single byte table for optimization.
7946         * iconvdata/ibm933.h: Likewise.
7947         * iconvdata/ibm935.h: Likewise.
7948         * iconvdata/ibm939.h: Likewise.
7950         * iconvdata/testdata/IBM930: Add misssing SI.
7951         * iconvdata/testdata/IBM933: Likewise.
7952         * iconvdata/testdata/IBM935: Likewise.
7953         * iconvdata/testdata/IBM937: Likewise.
7954         * iconvdata/testdata/IBM939: Likewise.
7956 2001-01-06  Andreas Jaeger  <aj@suse.de>
7958         * configure.in: Check for old add-ons that shouldn't be used with
7959         current glibc anymore.
7961 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7963         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
7964         instead of -1 on failure.  Don't forget to copy file name into
7965         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
7966         of the directory.
7968 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7970         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
7971         copy st_atime member.
7973 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
7975         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
7976         for searches from the root directory.
7977         Reported by loris <loris@iol.it> [PR libc/1991].
7978         * io/Makefile (tests): Add bug-ftw1.
7979         * io/bug-ftw1.c: New file.
7981         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
7982         if it is not available.  Instead use it only if it is available.
7983         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
7985         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
7986         overflowing output buffer.
7987         (internal_ucs4_loop_unaligned): Likewise.
7988         (ucs4_internal_loop): Likewise.
7989         (ucs4_internal_loop_unaligned): Likewise.
7990         (internal_ucs4le_loop): Likewise.
7991         (internal_ucs4le_loop_unaligned): Likewise.
7992         (ucs4le_internal_loop): Likewise.
7993         (ucs4le_internal_loop_unaligned): Likewise.
7994         Reported by Owen Taylor <otaylor@redhat.com>.
7995         * iconv/Makefile (tests): Add tst-iconv2.
7996         * iconv/tst-iconv2.c: New file.
7998 2001-01-04  H.J. Lu  <hjl@gnu.org>
8000         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
8001         (_dl_clktck): Declared.
8002         (non_dynamic_init): Take 3 arguments.
8003         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
8005 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
8007         Finish implementation of plural form handling.
8008         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
8009         'domainname'.  Remove 'plindex' field.  Add 'domain' and
8010         'translation_length' fields.
8011         (transcmp): Don't compare 'plindex' fields.
8012         (plural_lookup): New function.
8013         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
8014         plural_eval before the translation and its catalog file have been
8015         found.  Remove plindex from cache key.  Add 'translation_length' and
8016         'domain' to cache result.
8017         (_nl_find_msg): Remove index argument, return length of translation
8018         to the caller instead.  Weaken comparison of string lengths, to account
8019         for plural entries.  Call iconv() on the entire result string, not
8020         only on the portion needed so far.
8021         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
8022         argument.
8023         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
8025 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
8027         * intl/plural.y (yylex): Minimal improvement in number scanner.
8029 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
8031         * intl/plural.y: Include config.h.  Needed to define 'inline' away for
8032         C compilers that don't support it.
8033         (yylex): Don't use gcc specific case range syntax.
8034         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
8035         compilers.
8037 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
8039         * intl/finddomain.c: Remove unneeded includes.
8041 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
8043         * intl/localealias.c (memcpy): Return first argument, just like the
8044         real memcpy function does.
8045         * intl/bindtextdom.c (memcpy): Likewise.
8046         * intl/finddomain.c (memcpy): Likewise.
8047         * intl/l10nflist.c (memcpy): Likewise.
8048         * intl/textdomain.c (memcpy): Likewise.
8049         From Paul Eggert <eggert@twinsun.com>.
8051 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
8053         * resolv/resolv.h (struct __res_state): Add nsinit field.
8054         * resolv/res_send.c (res_nsend): Use it instead of nscount.
8055         * resolv/res_init.c (__res_vinit): Initialize it.
8056         (res_nclose): Clear it instead of nscount.
8058 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
8060         * malloc/mtrace.pl: Fix matching of addresses.
8061         Patch by Aharon Robbins <arnold@skeeve.com>.
8063         * Versions.def (ld): Add GLIBC_2.2.
8065         * catgets/gencat.c: Copyright 2001.
8066         * csu/version.c: Likewise.
8067         * debug/catchsegv.sh: Likewise.
8068         * debug/xtrace.sh: Likewise.
8069         * elf/ldconfig.c: Likewise.
8070         * elf/sprof.c: Likewise.
8071         * iconv/iconv_prog.c: Likewise.
8072         * locale/locale.c: Likewise.
8073         * locale/localedef.c: Likewise.
8074         * malloc/memusage.sh: Likewise.
8075         * malloc/mtrace.pl: Likewise.
8076         * nscd/nscd.c: Likewise.
8077         * posix/getconf.c: Likewise.
8079 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
8081         * include/stdio.h: Only provide __getwc_unlocked prototype if
8082         USE_IN_LIBIO is defined.
8084 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8086         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
8087         handling.
8089 2001-01-03  Andreas Schwab  <schwab@suse.de>
8091         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
8092         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
8094         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
8095         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
8096         strtoull alias.
8097         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
8098         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
8099         wcstoull alias.
8101         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
8102         directory.
8103         * sysdeps/generic/strtol_l.c: Likewise.
8104         * sysdeps/generic/strtoul_l.c: Likewise.
8105         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
8107         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
8108         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
8109         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
8110         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
8112 2001-01-04  Andreas Jaeger  <aj@suse.de>
8114         * nss/nsswitch.c: Include files for missing prototypes, remove
8115         buggy declaration of prototypes.
8117 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8119         * resolv/Versions: Fix bracing.
8120         * sysdeps/powerpc/soft-fp/Versions: Likewise.
8121         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
8123 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8125         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
8127 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
8129         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
8130         Suggested by Minko Markov <mmarkov@home.com>.
8132 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8134         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
8135         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
8136         the failing symbol.
8137         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
8139 2001-01-02  Ben Collins  <bcollins@debian.org>
8141         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
8142         if TZ is not set and TZDEFAULT is not present.
8144 2001-01-01  Ben Collins  <bcollins@debian.org>
8146         * string/strings.h: Make sure we declare our functions even if
8147         string.h is already included, based on whether or not __USE_BSD is
8148         defined.
8150 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
8152         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
8153         other dlopen() and dlsym().
8154         Based on a patch by Ben Collins <bcollins@debian.org>.
8156 2001-01-02  Andreas Jaeger  <aj@suse.de>
8158         * dlfcn/errmsg1.c (main): Call dlerror initially.
8159         Reported by Ben Collins <bcollins@debian.org>.
8161 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
8163         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
8164         value is ignored if the selected locale is the C locale.
8165         * intl/tst-gettext.c: Set locale for above change.
8166         * intl/tst-translit.c: Likewise.
8168 2001-01-02  Andreas Jaeger  <aj@suse.de>
8170         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
8171         (_IO_switch_to_wget_mode): Likewise.
8172         (_IO_sputbackwc): Likewise.
8173         (_IO_sungetwc): Use wint_t for result.
8175         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
8177         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
8178         signedness.
8180         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
8181         to (int) to avoid warnings.
8182         * stdio-common/printf_fp.c (putc): Likewise.
8183         * stdio-common/printf_size.c (putc): Likewise.
8185         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
8186         constant unsigned.
8188 2001-01-01  Andreas Jaeger  <aj@suse.de>
8190         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
8192 2000-12-31  Andreas Jaeger  <aj@suse.de>
8194         * include/libc-internal.h: Add prototype for __libc_freeres.
8196         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
8197         for prototypes, remove redundant prototypes.
8198         * gmon/gmon.c: Likewise.
8199         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
8200         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
8201         * malloc/mtrace.c: Likewise.
8203         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
8204         prototypes.
8205         * elf/soinit.c: Likewise.
8206         * sysdeps/generic/prof-freq.c: Likewise.
8207         * sysdeps/mach/hurd/profil.c: Likewise.
8208         * debug/noophooks.c: Likewise.
8209         * debug/pcprofile.c: Likewise.
8210         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
8211         * sysdeps/generic/get_clockfreq.c: Likewise.
8212         * malloc/set-freeres.c: Likewise.
8214         * locale/localeinfo.h: Add internal prototypes.
8216         * elf/rtld.c (dl_main): Fix prototype.
8218         * iconvdata/tst-table-to.c (main): Use return instead of exit to
8219         avoid warning.
8221         * nis/rpcsvc/yp_prot.h: Remove __P.
8222         * nis/rpcsvc/ypupd.h: Likewise.
8223         * nis/rpcsvc/yp.h: Likewise.
8225         * sunrpc/rpc_main.c: Add noreturn attributes.
8226         * sunrpc/rpc_scan.h: Likewise.
8228         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
8230         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
8232         * sunrpc/proto.h: Add noreturn attributes to error and crash.
8234         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
8236         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
8238         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
8240         * include/rpc/rpc_msg.h: Add prototypes for some functions.
8241         * include/rpc/auth.h: Likewise.
8242         * include/rpc/auth_des.h: Likewise.
8243         * include/rpc/clnt.h: Likewise.
8244         * include/rpc/rpc.h: Likewise.
8245         * include/rpc/svc.h: Likewise.
8246         * include/rpc/svc_auth.h: Likewise.
8248         * include/rpc/des_crypt.h: New file.
8250         * malloc/memusagestat.c (main): Use return instead of exit to
8251         avoid warning.
8252         * io/pwd.c (main): Likewise.
8253         * iconvdata/tst-table-from.c (main): Likewise.
8254         * ctype/test_ctype.c (main): Likewise.
8255         * setjmp/tst-setjmp.c (main): Likewise.
8256         * signal/tst-signal.c (main): Likewise.
8257         * stdlib/tst-strtol.c (main): Likewise.
8258         * stdlib/tst-strtod.c (main): Likewise.
8259         * stdlib/tst-strtoll.c (main): Likewise.
8260         * stdlib/tst-xpg-basename.c (main): Likewise.
8261         * dirent/tst-seekdir.c (main): Likewise.
8262         * grp/testgrp.c (main): Likewise.
8263         * inet/test_ifindex.c (main): Likewise.
8264         * io/test-utime.c (main): Likewise.
8265         * posix/test-vfork.c (main): Likewise.
8266         * posix/testfnm.c (main): Likewise.
8267         * stdio-common/temptest.c (main): Likewise.
8268         * stdio-common/test_rdwr.c (main): Likewise.
8269         * stdio-common/tst-fileno.c (main): Likewise.
8270         * stdio-common/tst-sscanf.c (main): Likewise.
8271         * stdio-common/tstscanf.c (main): Likewise.
8272         * string/bug-strncat1.c (main): Likewise.
8273         * string/bug-strpbrk1.c (main): Likewise.
8274         * string/bug-strspn1.c (main): Likewise.
8275         * string/test-ffs.c (main): Likewise.
8276         * string/tst-inlcall.c (main): Likewise.
8277         * string/tst-svc.c (main): Likewise.
8278         * timezone/test-tz.c (main): Likewise.
8279         * wctype/test_wcfuncs.c (main): Likewise.
8280         * wctype/test_wctype.c (main): Likewise.
8282         * stdlib/tst-random.c: Add attribute noreturn to fail.
8284 2000-12-28  Wolfram Gloger  <wg@malloc.de>
8286         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
8287         destination overlap.  Assume dest is always below source if
8288         overlapping.
8290 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
8292         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
8293         object was not yet initialized.
8295 2000-12-28  H.J. Lu  <hjl@gnu.org>
8297         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
8298         is always consistent even if its dependency is failed.
8300         * elf/dl-open.c (_dl_open): Increment the open count before
8301         calling _dl_close () in case of failure.
8303         * elf/neededtest4.c: New file.
8304         * elf/neededobj5.c: New file.
8305         * elf/neededobj6.c: New file.
8307         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
8308         (tests): Add neededtest4.
8309         (modules-names): Add neededobj5 and neededobj6.
8310         ($(objpfx)neededobj6.so): New target.
8311         ($(objpfx)neededtest4): New target.
8312         ($(objpfx)neededtest4.out): New target.
8314 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
8316         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
8317         * stdlib/monetary.h: Add strfmon format attributes.
8319 2000-12-28  Roland McGrath  <roland@frob.com>
8321         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
8322         __mempcpy does it for us.
8324 2000-12-28  Andreas Jaeger  <aj@suse.de>
8326         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
8328         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
8329         __new_setrlimit.
8331         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
8332         __old_getrlimit64.
8334         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
8335         __new_getrlimit.
8337         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
8338         __chown_is_lchown and __real_chown.
8340         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
8341         _dl_reloc_bad_type.
8343         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
8344         up GCC's warning about "deprecated use of label at end of compound
8345         statement."
8346         * sunrpc/rpc_cout.c (emit_inline): Likewise.
8348         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
8349         prototypes.
8350         Remove struct bb and __bb_head since those are declared by
8351         sys/gmon.h.
8353 2000-12-22  Ben Collins  <bcollins@debian.org>
8355         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
8357         * manual/argp.texi: Document argp_domain as part of struct argp.
8359 2000-12-28  Andreas Jaeger  <aj@suse.de>
8361         * catgets/Makefile (generated): Add sample.SJIS.cat.
8363         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
8365         * elf/dl-minimal.c: Add prototypes.
8367         * include/locale.h: Add internal prototypes.
8368         * include/sys/gmon.h: Likewise.
8370         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
8372 2000-12-27  Ben Collins  <bcollins@debian.org>
8374         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
8375         when reallocating the error strings.
8376         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
8378 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
8380         * dlfcn/Makefile (tests): Add errmsg1.
8381         (modules-names): Add errmsg1mod.
8382         Add rules to run errmsg1.
8383         * dlfcn/errmsg1.c: New file.
8384         * dlfcn/errmsg1mod.c: New file.
8386         * dlfcn/dlerror.c (dlerror): Always create output string which
8387         includes object file name.
8389         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
8390         if we would go through it only once.
8391         Patch by Rick Gorton <rick.gorton@api-networks.com>.
8393         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
8394         Patch by Richard Henderson <rth@redhat.com>.
8396 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
8398         * malloc/malloc.c (memmove): Add prototypes.
8399         (MALLOC_MEMMOVE): Define.
8400         (chunk_realloc): Use it instead of MALLOC_COPY if source and
8401         destination might overlap.
8403 2000-12-27  Andreas Jaeger  <aj@suse.de>
8405         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
8406         function.
8407         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8408         * locale/programs/locale.c (show_locale_vars): Likewise.
8409         (show_info): Likewise.
8410         * locale/programs/ld-collate.c (collate_output): Likewise.
8411         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
8412         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8413         * stdlib/rpmatch.c (rpmatch): Likewise.
8415         * setjmp/tst-setjmp.c: Make local functions static.
8416         * setjmp/jmpbug.c: Likewise.
8417         * signal/tst-signal.c: Likewise.
8418         * stdio-common/tfformat.c: Likewise.
8419         * string/tst-svc.c: Likewise.
8420         * time/clocktest.c: Likewise.
8421         * time/tst-getdate.c: Likewise.
8422         * dirent/list.c: Likewise.
8423         * dirent/opendir-tst1.c: Likewise.
8424         * posix/runtests.c: Likewise.
8425         * posix/tst-getaddrinfo.c: Likewise.
8426         * posix/tst-chmod.c: Likewise.
8427         * posix/wordexp-test.c: Likewise.
8428         * misc/tst-efgcvt.c: Likewise.
8429         * timezone/tst-timezone.c: Likewise.
8430         * rt/tst-clock.c: Likewise.
8431         * rt/tst-shm.c: Likewise.
8432         * rt/tst-aio2.c: Likewise.
8433         * rt/tst-aio3.c: Likewise.
8434         * rt/tst-aio4.c: Likewise.
8435         * rt/tst-aio5.c: Likewise.
8437         * dlfcn/failtest.c: Add prototype for foo.
8439         * dlfcn/glrefmain.c: Add prototype for do_test.
8441         * dlfcn/tst-dladdr.c: Add prototype for do_test.
8443         * string/test-ffs.c (main): Add prototype for nested function.
8445         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
8447         * nss/XXX-lookup.c: Add prototype to shut up GCC.
8449         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
8450         setetherent prototype.
8451         Add internal interfaces.
8453         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
8454         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
8456         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
8458         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
8460         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
8461         prototypes, remove struct etherent since it's declared in ether.h.
8462         Fix ntohost declaration.
8464         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
8466         * include/getopt.h: Add internal interfaces.
8467         * include/termios.h: Likewise.
8468         * include/resolv.h: Likewise.
8469         * include/netdb.h: Likewise.
8470         * include/grp.h: Likewise.
8471         * include/pwd.h: Likewise.
8472         * include/shadow.h: Likewise.
8473         * include/rpc/netdb.h: Likewise.
8474         * include/setjmp.h: Likewise.
8476         * include/stdio.h: Add prototypes for compatibility functions.
8477         * include/grp.h: Likewise.
8478         * include/pwd.h: Likewise.
8479         * include/shadow.h: Likewise.
8481         * include/fenv.h: Define internal interfaces.
8483 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
8485         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
8486         argument case separately.
8487         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
8489 2000-12-27  Andreas Jaeger  <aj@suse.de>
8491         * include/sys/wait.h: Add some prototypes.
8492         * Rules (dummy.c): Create also prototype to shut up GCC.
8494 2000-12-27  Andreas Jaeger  <aj@suse.de>
8496         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
8497         it's not needed at the moment.
8498         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
8499         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
8501 2000-12-26  Andreas Jaeger  <aj@suse.de>
8503         * libio/getc_u.c: Include stdio.h via system path to get internal
8504         prototypes.
8505         * libio/getwc_u.c: Likewise.
8507         * stdlib/strfmon.c: Fix prototype of __printf_fp.
8509         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
8510         __printf_fp prototypes to ...
8511         * include/printf.h: ...here.
8513         * include/stdio.h: Add some internal prototypes to shut up GCC.
8514         * include/stdlib.h: Likewise.
8516         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
8517         declaration.
8519         * include/signal.h: Add prototypes for internal sigpause
8520         interfaces.
8522 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
8524         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
8525         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
8527         * string/Makefile (tests): Add tst-bswap.
8528         * string/tst-bswap.c: New file.
8530 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
8532         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
8534 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
8536         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
8537         Patch by Ed Connell <Ed.Connell@sas.com>.
8539 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
8541         * locale/iso-639.def: Correct one entry.  Add two missing entries.
8543         * locale/iso-4217.def: Change entry for Eritrea.
8544         Reported by Daniel Yacob <yacob@geez.org>.
8546 2000-12-23  Ben Collins  <bcollins@debian.org>
8548         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
8549         description.
8551         * manual/stdio.texi (Dynamic Output): Document the return value of
8552         asprintf.  Also make the asprintf/snprintf examples a little
8553         better (check for some error returns).
8555 2000-12-22  Andreas Jaeger  <aj@suse.de>
8557         * include/stdio.h: Add __ftrylockfile prototype.
8559 2000-12-21  H.J. Lu  <hjl@gnu.org>
8561         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
8562         Make sign_exponent element signed.
8564         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
8565         Fix a typo.
8567         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
8569 2000-12-21  Andreas Jaeger  <aj@suse.de>
8571         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
8572         * inet/ether_hton.c: Likewise
8573         * inet/ether_ntoh.c: Likewise.
8575         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
8576         declaration to match prototype.
8578         * include/netinet/ether.h (struct etherent): Declare here so that
8579         all implementations use the same struct.
8581         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
8582         prototypes.
8583         (struct ether): Removed.
8584         Use struct etherent instead of ether everywhere.
8586         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
8588         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
8590         * sunrpc/publickey.c: Include auth_des.h for prototypes.
8592 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
8594         * math/test-misc.c: Add more tests for nextafter functions.
8596         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
8597         normal correctly.  Correct test for sign.
8598         Based on a patch by HJ Lu.
8600 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
8602         * Makeconfig (preprocess-version): Add -traditional to gcc call.
8603         Cleanup sed calls.
8605 2000-12-19  Andreas Jaeger  <aj@suse.de>
8607         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
8609         * nis/nis_intern.h: Add prototype for __do_niscall3.
8611         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
8612         match prototype.
8614         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
8616         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
8618         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
8620 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
8622         * math/test-misc.c: Add more tests for nextafter.
8623         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
8624         * sysdeps/ieee754/ldbl-96/math_ldbl.h
8625         (ieee_long_double_shape_type): Make sign_exponent element signed.
8627         * manual/message.texi: Add Estonian to plural overview list.
8628         Correct rule for Slavic languages.
8629         Patch by Stanislav Brabec <utx@penguin.cz>.
8631         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
8633 2000-12-18  Andreas Jaeger  <aj@suse.de>
8635         * test-skeleton.c: Use temp_name_list instead of name_list to
8636         avoid collision with name_list from inet/netgroup.h.
8638         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
8640         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
8641         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
8642         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
8643         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
8645         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
8646         declaration to match prototype.
8647         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
8648         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
8649         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
8650         Likewise.
8651         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
8652         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
8653         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
8654         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
8655         (_nss_nis_getservbyport_r): Likewise.
8656         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
8657         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
8658         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
8659         (_nss_nis_setnetent): Likewise
8660         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8661         (_nss_nis_endnetgrent): Likewise.
8662         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
8663         Likewise.
8664         (_nss_nisplus_setnetgrent): Likewise.
8665         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
8666         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
8667         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
8668         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
8669         Likewise.
8670         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
8671         Likewise.
8672         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
8673         Likewise.
8674         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
8675         Likewise.
8676         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
8677         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
8678         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
8679         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
8680         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
8681         (_nss_dns_getnetbyaddr_r): Likewise.
8683 2000-12-17  Andreas Jaeger  <aj@suse.de>
8685         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
8686         parameter.
8688         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
8689         unused attribute to shut up gcc warnings.
8691         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
8692         * sysdeps/generic/k_tanl.c: Likewise.
8693         * sysdeps/generic/k_cosl.c: Likewise.
8694         * sysdeps/generic/e_j0l.c: Likewise.
8695         * sysdeps/generic/e_j1l.c: Likewise.
8696         * sysdeps/generic/e_jnl.c: Likewise.
8697         * sysdeps/generic/e_lgammal_r.c: Likewise.
8699         * elf/vismain.c: Move prototypes for functions in vismod*.c to
8700         vismod.h.
8701         * elf/vismod.h: New file.
8702         * elf/Makefile (distribute): Add vismod.h.
8703         * elf/vismod1.c: Include vismod.h.
8704         * elf/vismod2.c: Likewise.
8705         * elf/vismod3.c: Likewise.
8707         * elf/constload3.c: Add prototype declarations to shut up gcc.
8708         * elf/failobj.c: Likewise.
8709         * elf/nodelmod3.c: Likewise.
8710         * elf/filtmod1.c: Likewise.
8711         * elf/filtmod2.c: Likewise.
8712         * elf/reldepmod1.c: Likewise.
8713         * elf/reldepmod2.c: Likewise.
8714         * elf/reldepmod3.c: Likewise.
8715         * elf/reldepmod4.c: Likewise.
8716         * elf/unload2dep.c: Likewise.
8717         * elf/unload2mod.c: Likewise.
8718         * elf/ltglobmod1.c: Likewise.
8719         * elf/pathoptobj.c: Likewise.
8720         * elf/neededobj1.c: Likewise.
8721         * elf/neededobj2.c: Likewise.
8722         * elf/neededobj3.c: Likewise.
8723         * elf/neededobj4.c: Likewise.
8724         * elf/nextmod1.c: Likewise.
8725         * elf/nextmod2.c: Likewise.
8727         * locale/programs/ld-collate.c (collate_finish): Don't use labels
8728         at end of compound statement.
8729         * locale/programs/locale.c (show_info): Likewise.
8730         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
8732 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
8734         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
8735         with a pointer not returned by obstack_ functions.
8737 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
8739         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
8740         version.
8741         (struct stat64): Likewise.
8742         Reported by Michael Keezer <mkeezer@redhat.com>.
8744         * timezone/asia: Update from tzdata2000h.
8745         * timezone/australasia: Likewise.
8746         * timezone/backward: Likewise.
8747         * timezone/europe: Likewise.
8748         * timezone/northamerica: Likewise.
8749         * timezone/southamerica: Likewise.
8750         * timezone/zone.tab: Likewise.
8752 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
8754         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
8755         and dir.stream is NULL, only free dir.content.
8756         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
8757         * io/ftwtest-sh: Test with --early-exit.
8759 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
8761         * misc/efgcvt.c (FCVT_MAXDIG): Define.
8762         (FCVT_BUFPTR): New variable.
8763         (fcvt): If fcvt_r returns -1 on the static short buffer,
8764         try to malloc a sufficiently large one and retry.
8765         (free_mem): New function.
8766         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
8767         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
8769 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
8771         * misc/dirname.c (dirname): Fix search for second to last slash.
8773 2000-12-13  Andreas Jaeger  <aj@suse.de>
8775         * misc/tst-dirname.c (main): Fix typo in test to really use
8776         the examples from Unix98.
8777         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8779 2000-12-09  H.J. Lu  <hjl@gnu.org>
8781         * sysdeps/ia64/fpu/s_fabs.S: New file.
8782         * sysdeps/ia64/fpu/s_fabsf.S: New file.
8783         * sysdeps/ia64/fpu/s_fabsl.S: New file.
8785 2000-12-15  Andreas Jaeger  <aj@suse.de>
8787         * stdio-common/scanf9.c (main): Reformat and change to avoid
8788         warnings.
8790         * stdio-common/tstdiomisc.c: Make local functions static.
8791         * stdio-common/tst-printf.c: Likewise.
8793         * elf/constload2.c: Add prototype declarations to shut up gcc.
8794         * elf/dep1.c: Likewise.
8795         * elf/dep2.c: Likewise.
8796         * elf/dep3.c: Likewise.
8797         * elf/dep4.c: Likewise.
8798         * elf/ltglobmod2.c: Likewise.
8800         * libio/fmemopen.c: Make local functions static.
8802         * elf/Makefile (distribute): Added testobj.h.
8804         * elf/testobj.h: New file.
8806         * elf/testobj1.c: Include testobj.h and move prototype
8807         declarations to testobj.h.
8808         * elf/testobj2.c: Likewise.
8809         * elf/testobj3.c: Likewise.
8810         * elf/testobj4.c: Likewise.
8811         * elf/testobj5.c: Likewise.
8812         * elf/testobj6.c: Likewise.
8813         * elf/testobj1_1.c: Likewise.
8814         * elf/preloadtest.c: Likewise.
8816 2000-12-15  Ben Collins  <bcollins@debian.org>
8818         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
8819         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
8821 2000-12-14  H.J. Lu  <hjl@gnu.org>
8823         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
8824         field in a float is 8 bits, not 11 bits.
8826 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
8828         * math/test-misc.c (main): Adjust m for IEEE quad long double.
8830 2000-12-13  Andreas Jaeger  <aj@suse.de>
8832         * manual/message.texi (Using gettextized software): Fix typo.
8834         * manual/charset.texi (Converting a Character): Fix mbstouwcs
8835         program to compile.
8836         Patch by Martin Buchholz <martin@xemacs.org>.
8838         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
8839         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8841 2000-12-11  Andreas Jaeger  <aj@suse.de>
8843         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
8844         kernel_sigset_t and use it.
8845         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
8847 2000-12-10  Richard Henderson  <rth@redhat.com>
8849         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
8850         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
8851         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
8853 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
8855         * sysdeps/alpha/htonl.S: Fix a typo.
8857 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
8859         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
8861 2000-12-10  Andreas Jaeger  <aj@suse.de>
8863         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
8864         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
8865         Drepper <drepper@redhat.com>.
8867 2000-12-09  Andreas Jaeger  <aj@suse.de>
8869         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
8871         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
8872         generic version.
8873         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
8875         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
8876         string.
8878         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
8879         format string.
8881         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
8882         * nscd/connections.c (handle_request): Likewise.
8883         * nscd/pwdcache.c (addpwbyname): Likewise.
8884         * nscd/grpcache.c (addgrbyname): Likewise.
8886         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
8888 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
8890         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
8892         * Makeconfig (default_cflags): Make -O2 the default for stable
8893         releases.
8895 2000-12-08  H.J. Lu  <hjl@gnu.org>
8897         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
8898         * sysdeps/ia64/fpu/s_isinf.S: This.
8899         Add a .pred.rel.mutex note to avoid false report.
8901         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
8902         * sysdeps/ia64/fpu/s_isnan.S: This.
8904         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
8905         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
8906         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
8907         * sysdeps/ia64/fpu/s_isinff.S: New file.
8908         * sysdeps/ia64/fpu/s_isinfl.S: New file.
8909         * sysdeps/ia64/fpu/s_isnanf.S: New file.
8910         * sysdeps/ia64/fpu/s_isnanl.S: New file.
8911         * sysdeps/ia64/fpu/s_finite.S: New file.
8912         * sysdeps/ia64/fpu/s_finitef.S: New file.
8913         * sysdeps/ia64/fpu/s_finitel.S: New file.
8914         * sysdeps/ia64/fpu/s_signbit.S: New file.
8915         * sysdeps/ia64/fpu/s_signbitf.S: New file.
8916         * sysdeps/ia64/fpu/s_signbitl.S: New file.
8917         * sysdeps/ia64/fpu/s_copysign.S: New file.
8918         * sysdeps/ia64/fpu/s_copysignf.S: New file.
8919         * sysdeps/ia64/fpu/s_copysignl.S: New file.
8921 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
8923         * math/libm-test.inc (main): Fix typos in messages.
8925         * string/stratcliff.c: Add test for rawmemchr.
8927 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8929         * elf/dl-open.c (_dl_open): If objname points right after errstring,
8930         allocate it together with errstring using alloca.
8931         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
8932         to "", because it might point to local stack.
8934 2000-12-05  H.J. Lu  <hjl@gnu.org>
8936         * nss/Makefile (routines): Add getnssent and getnssent_r.
8937         * nss/nsswitch.h (__nss_setent): New internal NSS function.
8938         (__nss_endent): Likewise.
8939         (__nss_getent_r): Likewise.
8940         (__nss_getent): Likewise.
8941         * nss/getnssent_r.c: New file.
8942         * nss/getnssent.c: New file.
8943         * nss/getXXent.c (H_ERRNO_VAR): Updated.
8944         (GETFUNC_NAME): Updated to call __nss_getent ().
8945         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
8946         (STAYOPEN_TMPVAR): Updated.
8947         (STAYOPEN_VAR): Updated.
8948         (SETFUNC_NAME): Updated to call __nss_setent ().
8949         (ENDFUNC_NAME): Updated to call __nss_endent ().
8950         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
8952 2000-12-08  Andreas Jaeger  <aj@suse.de>
8954         * nscd/dbg_log.h (dbg_log): Correct attribute.
8956 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8958         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
8959         cp + len.  Compute where from dirname.
8960         Reported by <jreiser@BitWagon.com>.
8962 2000-12-08  Richard Henderson  <rth@twiddle.net>
8964         * sysdeps/alpha/_mcount.S: Fix typo.
8965         * sysdeps/alpha/strncpy.S: Likewise.
8967         * sysdeps/alpha/alphaev6/Implies: New file.
8968         * sysdeps/alpha/alphaev67/Implies: New file.
8969         * sysdeps/alpha/alphaev67/ffs.S: New file.
8970         * sysdeps/alpha/alphaev67/ffsll.S: New file.
8971         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
8972         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
8973         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
8974         * sysdeps/alpha/rawmemchr.S: New file.
8975         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
8976         * sysdeps/alpha/strcpy.S: Likewise.
8978         From GMP 3.1.1:
8979         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
8981         From rick.gorton@alpha-processor.com:
8982         * sysdeps/alpha/alphaev6/memchr.S: New file.
8983         * sysdeps/alpha/alphaev6/memcpy.S: New file.
8984         * sysdeps/alpha/alphaev6/memset.S: New file.
8985         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
8986         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
8987         * sysdeps/alpha/alphaev67/strcat.S: New file.
8988         * sysdeps/alpha/alphaev67/strchr.S: New file.
8989         * sysdeps/alpha/alphaev67/strlen.S: New file.
8990         * sysdeps/alpha/alphaev67/strncat.S: New file.
8991         * sysdeps/alpha/htonl.S: Use a shorter sequence.
8993 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8995         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
8996         Reported by <pspencer@fields.utoronto.ca>.
8998 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
9000         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
9001         Pointed out by Hans Boehm.
9003 2000-12-07  H.J. Lu  <hjl@gnu.org>
9005         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
9007 2000-12-07  Andreas Jaeger  <aj@suse.de>
9009         * misc/error.c: Add format attributes for __error and __error_at_line.
9011         * nscd/dbg_log.h: Add format attribute.
9013 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
9015         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
9016         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
9018 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
9020         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
9022 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
9024         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
9025         (sysdep_routines): Add uitrunc.
9026         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
9027         Patches by Michael Keezer <mkeezer@redhat.com>.
9029 2000-12-06  Roland McGrath  <roland@frob.com>
9031         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
9032         argument data, since it will be used to copy out too (for INOUT).
9033         Reported by Marcus Brinkmann <marcus@gnu.org>.
9035         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
9036         (__ioctl): Use uintptr_t instead of unsigned long int.
9038 2000-12-06  Jim Wilson  <wilson@redhat.com>
9040         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
9042 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
9044         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
9045         x.5 rounding correctly.
9047 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
9049         * stdio-common/perror.c (perror): Conditionalize code dealing with
9050         wide-oriented streams on USE_IN_LIBIO.
9052 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
9054         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
9055         as internal_function.
9057 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
9059         * sysdeps/alpha/elf/start.S (__data_start): Define.
9061 2000-12-05  H.J. Lu  <hjl@gnu.org>
9063         * nss/getXXent_r.c (setup): Change the return type to int.
9065 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
9067         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
9068         (sysdep_routines): Add restf and savef.
9069         * sysdeps/unix/sysv/aix/restf.c: New file.
9070         * sysdeps/unix/sysv/aix/savef.c: New file.
9071         Patches by Michael Keezer <mkeezer@redhat.com>.
9073         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
9074         if O_DIRECTORY is not defined.
9075         Patch by Michael Keezer <mkeezer@redhat.com>.
9077         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
9078         Patch by Michael Keezer <mkeezer@redhat.com>.
9080         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
9081         than 4 bytes in escape sequence.
9082         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9084 2000-12-05  Andreas Jaeger  <aj@suse.de>
9086         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
9087         set mips2.
9089         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
9091         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
9093         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
9094         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
9096         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
9097         internal_function.
9098         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
9099         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
9101         * sysdeps/generic/dl-cache.c: Remove declaration of
9102         _dl_sysdep_read_whole_file.
9104         * elf/dl-load.c (_dl_map_object): Remove declaration of
9105         _dl_load_cache_lookup.
9107         * sysdeps/generic/ldsodefs.h: Add declarations of
9108         _dl_load_cache_lookup, _dl_unload_cache,
9109         _dl_sysdep_read_whole_file, _dl_sysdep_start and
9110         _dl_sysdep_start_cleanup.
9112         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
9113         now.
9115         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
9116         * sysdeps/generic/dl-environ.c: Likewise.
9118         * stdio-common/printf_fp.c: Include <gmp.h> instead of
9119         <stdlib/gmp.h>.
9120         * math/atest-exp.c: Likewise.
9121         * math/atest-exp2.c: Likewise.
9122         * math/atest-sincos.c: Likewise.
9123         * stdio-common/_itoa.c: Likewise.
9124         * stdio-common/_itowa.c: Likewise.
9126         * include/gmp.h: New file with internal prototypes.
9128         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
9129         here to...
9130         * include/setjmp.h: ...here.
9132         * locale/Makefile (routines): Remove codeset_name since it's not
9133         needed anywhere.
9135         * locale/codeset_name.c: Removed.
9137 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
9139         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
9141 2000-12-05  Andreas Jaeger  <aj@suse.de>
9143         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
9145 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
9147         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
9148         available.
9150 2000-12-05  Andreas Jaeger  <aj@suse.de>
9152         * nss/test-netdb.c: Mark local functions as static to avoid
9153         warnings.
9154         (main): Use return to silence warning.
9156         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
9158         * stdio-common/test-popen.c: Mark local functions as static to
9159         avoid warnings.
9160         (main): Use return to silence warning.
9162         * stdlib/testsort.c (compare): Mark as static to avoid warning.
9164         * assert/test-assert.c: Mark local functions as static to avoid
9165         warnings.
9166         * assert/test-assert-perr.c: Likewise.
9168         * math/libm-test.inc (main): Use return to silence warnings.
9170 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
9172         * math/fenv.h: Fix typo in comment.
9174         * math/test-misc.c (main): Add a few more over and underflow tests
9175         for scalb.
9177         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
9178         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9179         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9180         * math/w_scalb.c: Don't use matherr except in SVID mode.
9181         * math/w_scalbf.c: Likewise.
9182         * math/w_scalbl.c: Likewise.
9183         * math/test-misc.c: Add test for NaN and scalbl.
9184         Reported by Fred J. Tydeman <tydeman@tybor.com>.
9186 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
9188         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
9189         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
9190         * include/libc-symbols.h (strong_alias): Define special version
9191         for HAVE_ASM_GLOBAL_DOT_NAME.
9192         (weak_alias): Likewise.
9193         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
9194         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
9195         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
9196         getutxline, pututxline, and utmpxname.
9197         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
9198         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
9199         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
9200         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
9201         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
9202         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
9203         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
9204         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
9205         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
9206         Patches by Michael Keezer <mkeezer@redhat.com>.
9208 2000-12-04  H.J. Lu  <hjl@gnu.org>
9210         * configure.in: Change --with-oldest-abi=ABI to
9211         --enable-oldest-abi=ABI.
9213 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
9215         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
9216         fwprintf instead of fprintf.
9218 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
9220         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
9221         DECIMAL_DIG definitions.
9222         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
9223         * sysdeps/generic/bits/mathdef.h: Likewise
9224         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
9225         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
9226         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
9227         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
9228         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
9229         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
9231 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
9233         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
9235         * math/atest-exp.c: Mark local functions as static to avoid warnings.
9236         * math/atest-exp2.c: Likewise.
9237         * math/atest-sincos.c: Likewise.
9239         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
9240         Reported by Fred J. Tydeman <tydeman@tybor.com>.
9242         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
9243         the handling of denormalized numbers.
9245         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
9246         numbers on x86.
9247         * sysdeps/i386/fpu/fpclassifyl.c: New file.
9249         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
9250         pseudo denormal representation of LDBL_MIN.
9252         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
9253         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
9255         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
9256         * iconvdata/jis0208.c: Likewise.
9257         * iconvdata/jis0212.c: Likewise.
9258         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9260         * math/test-misc.c (main): More tests for frexp and some for
9261         fpclassify and isnormal.
9263         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
9264         test for subnormal.
9265         Reported by Fred J. Tydeman <tydeman@tybor.com>.
9267         * math/test-misc.c (main): Add tests for frexp.
9268         Reported by Fred J. Tydeman <tydeman@tybor.com>.
9269         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
9271 2000-12-02  H.J. Lu  <hjl@gnu.org>
9273         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
9274         '\0' to wcschr.
9276 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
9278         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
9279         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9280         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9282         * sysdeps/generic/glob.c: Adjust types of several variables to
9283         avoid warnings.
9285 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
9287         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
9289 2000-11-30  Roland McGrath  <roland@frob.com>
9291         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
9292         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
9293         allow multiple instances using the same function name in one file.
9295 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
9297         * configure.in: Correct test for pserver CVS access.
9299 2000-11-28  H.J. Lu  <hjl@gnu.org>
9301         * libio/libio.h: Remove extra "#if ... #endif".
9303 2000-11-29  H.J. Lu  <hjl@gnu.org>
9305         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
9307 2000-12-01  H.J. Lu  <hjl@gnu.org>
9309         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
9310         * nss/getXXent_r.c: Likewise.
9311         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9313 2000-11-30  H.J. Lu  <hjl@gnu.org>
9315         * scripts/abi-versions.awk (oldest_abi): New variable.
9316         Handle the oldest ABI supported.
9318         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
9319         for scripts/abi-versions.awk.
9321         * configure.in: Add --with-oldest-abi=ABI.
9322         * configure: Rebuild.
9324         * config.make.in (oldest-abi): New.
9326         * config.h.in (GLIBC_OLDEST_ABI): New.
9328         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
9330 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
9332         * locale/setlocale.c (setname): Free for all categories, not just
9333         LC_ALL.
9334         (setlocale): Store a copy of string passed by user, not the string
9335         itself.
9337 2000-11-30  Roland McGrath  <roland@frob.com>
9339         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
9340         rather than _hurd_fd_subinit, so it happens after it's safe to use
9341         libc facilities like malloc.
9343 2000-11-28  Andreas Jaeger  <aj@suse.de>
9345         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
9346         declaration, adjust declaration of __syscall_getdents to match
9347         kernel.
9349 2000-11-29  H.J. Lu  <hjl@gnu.org>
9351         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
9353 2000-11-29  Andreas Jaeger  <aj@suse.de>
9355         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
9357 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
9359         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
9360         * dlfcn/defaultmod2.c: Likewise.
9361         * dlfcn/dlopen.c: Likewise.
9362         * dlfcn/dlopenold.c: Likewise.
9363         * dlfcn/failtestmod.c: Likewise.
9364         * dlfcn/glreflib1.c: Likewise.
9365         * dlfcn/glreflib2.c: Likewise.
9366         * dlfcn/eval.c: Likewise.  Add attributes.
9368         * ctype/ctype-extn.c: Define isblank and not __isblank.
9370         * time/strftime.c: Add const where necessary to avoid warnings.
9371         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
9373 2000-11-22  Paul Eggert  <eggert@twinsun.com>
9375         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
9376         size of (size_t) -1; it's not portable.
9378 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
9380         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
9381         crappy i486 FPU.
9382         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
9384 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
9386         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
9388         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
9389         _mcount is required by profiled binaries.
9391         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
9392         * sysdeps/ia64/machine-gmon.h: ...here.
9394 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
9396         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
9397         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
9398         and ibm1129.h.
9399         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
9400         IBM1129.
9401         * iconvdata/ibm922.c: New file.
9402         * iconvdata/ibm922.h: New file.
9403         * iconvdata/ibm1124.c: New file.
9404         * iconvdata/ibm1124.h: New file.
9405         * iconvdata/ibm1129.c: New file.
9406         * iconvdata/ibm1129.h: New file.
9407         * iconvdata/testdata/IBM922: New file.
9408         * iconvdata/testdata/IBM922..UTF8: New file.
9409         * iconvdata/testdata/IBM1124: New file.
9410         * iconvdata/testdata/IBM1124..UTF8: New file.
9411         * iconvdata/testdata/IBM1129: New file.
9412         * iconvdata/testdata/IBM1129..UTF8: New file.
9414 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
9416         * catgets/gencat.c (normalize_line): Take extra parameter with escape
9417         character.  Change callers.
9418         (open_conversion): Determine mapping of 0x5c as wchar_t value.
9419         * catgets/Makefile: Add rules to build and run test-gencat.
9420         * catgets/sample.SJIS: New file.
9421         * catgets/test-gencat.c: New file.
9422         * catgets/test-gencat.sh: New file.
9423         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9425 2000-11-28  Andreas Jaeger  <aj@suse.de>
9427         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
9428         Linux version.
9430 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
9432         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
9434 2000-11-28  Andreas Jaeger  <aj@suse.de>
9436         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
9437         __flexarr.
9438         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
9439         Likewise.
9441 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
9443         * misc/getusershell.c: Make strings in okshells array const.
9444         * misc/regexp.c: Add const to cast to avoid warnings.
9445         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
9446         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
9447         __setresuid.
9448         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
9449         setresgid.
9450         * misc/error.c: Add prototypes for __error and __error_at_line.
9451         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
9452         statement to avoid warning.
9453         * test-skeleton.c: Mark timeout_handler with noreturn.
9454         * iconv/skeleton.c (get16u): Add const to cast.
9455         (get32u): Likewise.
9456         * iconvdata/gb18030.c: Likewise.
9457         * iconvdata/iso-2022-cn-ext.c: Likewise.
9458         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
9459         * iconvdata/big5.c: Likewise.
9460         * iconvdata/big5hkscs.c: Likewise.
9461         * iconvdata/iso_6937.c: Likewise.
9462         * iconvdata/iso_6937-2.c: Likewise.
9463         * iconvdata/t.61.c: Likewise.
9464         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
9465         * iconvdata/unicode.c: Likewise.
9466         * iconvdata/utf-16.c: Likewise.
9467         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
9468         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
9469         with little code shuffling.
9471         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
9472         the problems introduced when the user selects -O3.
9474         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
9475         * misc/sys/cdefs.h: Define __flexarr.
9476         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
9478         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
9479         * iconv/skeleton.c: Likewise.
9480         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
9481         * iconv/loop.c (get16): Add const to cast.
9482         (get32): Likewise.
9484 2000-11-27  Andreas Jaeger  <aj@suse.de>
9486         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
9487         to avoid warning.
9488         * login/programs/utmpdump.c (print_entry): Likewise.
9490 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
9492         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
9493         in a single asm as they may be used to access other stored
9494         registers.
9495         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
9497 2000-11-27  Andreas Jaeger  <aj@suse.de>
9499         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
9500         * rt/tst-aio64.c: Likewise.
9502 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
9504         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
9505         for gencat run.
9506         (libc.cat): Likewise.
9507         * catgets/gencat.c: Implement handling of message catalogs encoded
9508         with stateful character sets.
9509         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9511 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
9513         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
9515         * inet/getnameinfo.c: Adjust casts to avoid warnings.
9516         * inet/rcmd.c: Likewise.
9517         * inet/ruserpass.c: Likewise.
9518         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
9519         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9520         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
9521         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
9522         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
9523         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
9524         * include/aliases.h: Add prototypes for internal __getalias* functions.
9525         * include/netdb.h: Add prototypes for __old_gethostent_r,
9526         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
9527         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
9528         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
9529         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
9530         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
9531         __old_getrpcbynumber_r, __old_getrpcent_r.
9533         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
9534         __getrpcent_r prototypes.
9536 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
9538         * string/strcoll.c: Add casts to avoid warnings.
9539         * string/strnlen.c: Likewise.
9540         * string/strxfrm.c: Likewise.
9541         * sysdeps/generic/_strerror.c: Likewise.
9542         * sysdeps/generic/memrchr.c: Likewise.
9543         * sysdeps/generic/strcasestr.c: Likewise.
9544         * sysdeps/generic/strstr.c: Likewise.
9546         * locale/weight.h (findidx): Add const to cast to avoid warning.
9548         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
9549         * elf/loadtest.c: Likewise.
9550         * elf/multiload.c: Likewise.
9551         * elf/next.c: Likewise.
9552         * elf/nodelete.c: Likewise.
9553         * elf/noload.c: Likewise.
9554         * elf/order.c: Likewise.
9555         * elf/origtest.c: Likewise.
9556         * elf/preloadtest.c: Likewise.
9557         * elf/restest1.c: Likewise.
9559         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
9560         parameter of asm must be in %ecx.
9562         * string/tester.c: Mark test functions as static to avoid warnings.
9564         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
9565         preserve value over different gconv-modules files.
9567 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
9569         * locale/findlocale.c: Add casts to avoid warnings.
9570         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
9571         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
9572         to avoid warnings.
9573         * misc/tsearch.c (const_node): New type.
9574         (trecurse): Correct casts to avoid warnings.
9575         (__twalk): Likewise.
9576         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
9577         LONG_BIT.
9579         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
9581         * test-skeleton.c: Mark local functions as static to avoid warnings.
9583 2000-11-23  H.J. Lu  <hjl@gnu.org>
9585         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
9586         support the background job.
9587         Fix a typo.
9589 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
9591         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
9592         has same names but lower cost.
9594 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
9596         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
9597         which never occur during bootstrap.
9598         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9600 2000-11-23  Andreas Jaeger  <aj@suse.de>
9602         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
9604         * nss/Versions: Remove _nss_files_getipnodebyname_r.
9606         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
9608 2000-11-18  Martin Buchholz  <martin@xemacs.org>
9610         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
9611         (called++) return;'
9613 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
9615         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
9617         * csu/abi-note.S: Correct comment for operating system number.
9619 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
9621         * Versions.def: Add GLIBC_2.2.1 for glibc.
9623 2000-11-22  Andreas Schwab  <schwab@suse.de>
9625         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
9626         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
9628 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
9630         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
9631         absolute time for pthread_cond_timedwait call.
9632         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
9634         * rt/Makefile (tests): Add tst-aio6.
9635         * rt/tst-aio6.c: New file.
9637 2000-11-23  Andreas Jaeger  <aj@suse.de>
9639         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
9641 2000-11-22  Andreas Jaeger  <aj@suse.de>
9643         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
9645 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
9647         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
9649 2000-11-21  Andreas Schwab  <schwab@suse.de>
9651         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
9652         * sysdeps/arm/setjmp.S: Likewise.
9653         * sysdeps/arm/fpu/setjmp.S: Likewise.
9654         * sysdeps/i386/setjmp.S: Likewise.
9655         * sysdeps/i386/elf/setjmp.S: Likewise.
9656         * sysdeps/s390/setjmp.S: Likewise.
9657         * sysdeps/s390/elf/setjmp.S: Likewise.
9658         * sysdeps/sh/sh3/setjmp.S: Likewise.
9659         * sysdeps/sh/sh4/setjmp.S: Likewise.
9660         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
9661         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9662         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
9663         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
9665 2000-11-21  Andreas Jaeger  <aj@suse.de>
9667         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
9668         NORETURN, fix parameter list.
9670         * string/bug-strncat1.c (main): Fix typo.
9671         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
9673 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
9675         * configure.in: Add --enable-all-warnings.
9676         * config.make.in (all-warnings): New variable.
9677         * Makeconfig (+gccwarn): Define with many more warnings if
9678         all-warnings is yes.
9680 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
9682         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
9683         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
9684         * malloc/tst-valloc.c (main): Cast valloc return value to long.
9685         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
9686         * math/test-fpucw.c (main): Use %lx in format string, cast
9687         control words to long.
9688         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
9689         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
9690         large that it is unsigned warning.
9692         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
9693         it to long on sparc64.
9695 2000-11-20  Andreas Jaeger  <aj@suse.de>
9697         * nscd/nscd.h (termination_handler): Add noreturn attribute.
9698         (receiv_print_stats): Likewise.
9700         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
9702 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
9704         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
9706         * csu/gmon-start.c: Always have prototype for __gmon_start.
9707         * csu/version.c: Add prototypes for __libc_print_version and
9708         __libc_main.
9709         * iconv/gconv.c: Include gconv_int.h and gconv.h.
9710         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
9711         and __to_name.
9712         * iconv/gconv_builtin.h: Add ASCII module definitions.
9713         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
9714         (add_module): Add cast to avoid warning.  Rework construction of
9715         strings for new module.
9716         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
9717         (derivation_compare): Likewise.
9718         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
9719         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
9720         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
9721         (struct gconv_alias): Remove const from fromname and toname.
9722         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
9723         for loop functions.
9724         (internal_ucs4_loop): Use correct const-ness.
9725         (ucs4_internal_loop): Likewise.
9726         (internal_ucs4le_loop): Likewise.
9727         (ucs4le_internal_loop_single): Likewise.
9728         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
9729         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
9730         assignments appropriately.
9731         (struct known_trans): Remove const from fname.
9732         (trans_compare): Make s1 and s2 const.
9733         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
9734         avoid warning.
9735         * iconv/skeleton.c: Remove cast in calls of loop functions.
9736         * iconvdata/gconv-modules: Remove US-ASCII definitions.
9737         * iconvdata/iso646.c: Remove US_ASCII support.
9738         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
9739         * include/unistd.h: Add __libc_check_standard_fds prototype.
9740         * string/bits/string2.h (__mempcpy_args): Add const to casts.
9741         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
9742         _fini.
9743         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
9744         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
9745         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
9746         warning.
9747         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
9748         __libc_init_first and _dl_start.
9749         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
9750         (DCIGETTEXT): Make domaindata variable const.
9751         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
9752         to avoid warning.
9754 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
9756         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
9758         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
9759         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
9760         __unused? members.
9762         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
9763         value defined in /usr/include/asm-mips/fcntl.h.
9765 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
9767         * stdio-common/Makefile (tests): Add test-vfprintf.
9768         (test-vfprintf-ENV): New variable.
9769         * stdio-common/test-vfprintf.c: New file.
9771         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
9773         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
9774         (tst-mbrtowc-ENV): New variable.
9775         (tst-wcrtomb-ENV): New variable.
9776         * wcsmbs/tst-mbrtowc.c: New file.
9777         * wcsmbs/tst-wcrtomb.c: New file.
9779 2000-11-16  Andreas Jaeger  <aj@suse.de>
9781         * manual/install.texi (Tools for Compilation): Update
9782         documentation for GCC 2.95.2.
9784 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
9786         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
9787         if IPv4 and IPv6 requests timed out.
9789 2000-11-18  Akim Demaille  <akim@epita.fr>
9791         * malloc/obstack.h: Formatting changes.
9792         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
9793         prevents type checking.
9794         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
9795         cast the value to (void *): assigning a `foo *' to a `void *'
9796         variable is valid.
9797         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
9799 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
9801         * scripts/config.guess: Update from upstream maintainer.
9802         * scripts/config.sub: Likewise.
9804 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
9806         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
9807         * libio/freopen64.c (freopen64): Likewise.
9808         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9810         * libio/Makefile: Add rules to build and run test-freopen.
9811         * libio/test-freopen.c: New file.
9812         * libio/test-freopen.sh: New file.
9814 2000-11-15  H.J. Lu  <hjl@gnu.org>
9816         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
9817         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
9818         (DL_DT_FINI_ADDRESS): Likewise.
9820         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
9821         return type to ElfW(Addr).
9822         (_dl_function_address): New prototype.
9823         (DL_FUNCTION_ADDRESS): Defined.
9824         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
9825         (DL_DT_FINI_ADDRESS): Likewise.
9827         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
9829         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
9830         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
9832         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
9833         (_dl_function_address): This.
9835         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
9836         function pointer for DT_FINI.
9837         * elf/dl-close.c (_dl_close): Likewise.
9839         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
9840         function pointer for DT_INIT.
9842 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
9844         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
9845         end of wexpbuf buffer.
9847 2000-11-16  Andreas Jaeger  <aj@suse.de>
9849         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
9850         definition of F_GETLK, F_SETLK, F_SETLKW.
9852 2000-11-16  Andreas Jaeger  <aj@suse.de>
9854         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
9855         it's not defined.
9857 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
9859         * dlfcn/default.c (main): Add test for dladdr of main returning
9860         argv[0] in dli_fname field.
9862 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
9864         * Makeconfig (run-program-prefix): Move test-static test into the
9865         variable.
9867         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
9868         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
9869         schedule instructions.
9870         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
9871         schedule instructions, fix a bug in copying auxiliary data.
9873 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9875         * manual/startup.texi (Program Arguments): Fix type of main's envp
9876         parameter.
9877         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
9879         * iconvdata/gconv-modules: Add CP950 alias.
9881 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
9883         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
9884         syscall-list.h goal.
9885         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
9887 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9889         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
9891         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
9892         output of program.
9894         * intl/tst-gettext2.c: Set C locale if setting other locale
9895         failed.  Use gettext() not _().
9897         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
9898         successfully loaded a new locale.
9900 2000-11-13  Andreas Jaeger  <aj@suse.de>
9902         * configure.in: Require gcc 2.95 or newer.
9904 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9906         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
9907         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
9909 2000-11-11  Jim Meyering  <meyering@lucent.com>
9911         * string/strndup.c (strndup): Cast return value to `char *'.
9913 2000-11-15  Jim Meyering  <meyering@ascend.com>
9915         * sysdeps/generic/memchr.c: Remove some useless parentheses.
9916         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
9917         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
9918         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
9919         Also #undef __memchr.
9920         Use `weak_alias' only if it's defined.
9922 2000-11-10  H.J. Lu  <hjl@gnu.org>
9924         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
9926 2000-11-15  Andreas Jaeger  <aj@suse.de>
9928         * elf/chroot_canon.c: Include <stdint.h>.
9930         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
9931         (print_entry): Likewise.
9932         (add_to_cache): Likewise.
9934         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
9936         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
9937         (path_hwcap): Likewise.
9938         (search_dir): Likewise.
9940         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
9942         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
9944         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
9945         (_dl_platform_string): New.
9946         (_DL_HWCAP_PLATFORM): New.
9947         (_dl_string_platform): New.
9948         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
9950         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
9951         (_dl_string_platform): New.
9952         (_DL_HWCAP_PLATFORM): New.
9953         (_dl_platform_string): New.
9955         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
9956         recognition.
9957         (_DL_HWCAP_COUNT): New.
9958         (_dl_string_platform): New.
9959         (_DL_HWCAP_PLATFORM): New.
9960         (_dl_platform_string): New.
9962 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
9964         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
9966 2000-11-14  Andreas Jaeger  <aj@suse.de>
9968         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
9970 2000-11-13  Roland McGrath  <roland@frob.com>
9972         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
9974 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
9976         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
9977         underrun and make sure the result is null terminated even if there
9978         is no trailing newline.
9980 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
9982         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9984 2000-11-10  H.J. Lu  <hjl@gnu.org>
9986         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
9988 2000-11-10  Andreas Jaeger  <aj@suse.de>
9990         * elf/ldconfig.c (create_links): Fix alloca calculation.
9991         Patch by Ben Collins <bcollins@debian.org>.
9993 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
9995         * inet/getnameinfo.c (getnameinfo): Use correct destination
9996         parameter for if_indextoname.
9997         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
9999 2000-11-09  H.J. Lu  <hjl@gnu.org>
10001         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
10002         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
10003         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
10004         xdr_keystatus.
10006         * time/Versions (GLIBC_2.1): Move getitimer to...
10007         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
10009 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
10011         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
10012         "make install", to work around a binary incompatibility between
10013         glibc 2.1 and glibc 2.2 gconv modules.
10015 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
10017         * intl/locale.alias: Add thai.
10018         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
10020 2000-11-07  Akim Demaille  <akim@epita.fr>
10022         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
10023         argument `data' for consistency with the prototypes.
10024         Qualify it `const'.
10025         (obstack_copy, obstack_copy0): Rename the second argument as
10026         `address' for consistency.  Qualify it `const'.
10027         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
10028         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
10029         `const' their input argument (`data' or `address').
10030         Adjust the corresponding macros to include `const' in casts.
10032 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10034         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
10035         target family.
10037 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10039         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
10040         socket creation.
10042 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10044         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
10045         ai_protocol by internal table if service was not given.
10047 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10049         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
10050         numerical port was specified with protocol without socktype.
10052 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10054         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
10056 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10058         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
10060 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10062         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
10063         sin6_scope_id field.
10065 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10067         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
10069 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10071         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
10073 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10075         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
10076         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
10078 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
10080         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
10081         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
10083 2000-11-09  H.J. Lu  <hjl@gnu.org>
10085         * io/Versions (GLIBC_2.1.1): Remove lockf64.
10088 See ChangeLog.11 for earlier changes.