32bit memcmp/strcmp/strncmp optimized for SSSE3/SSS4.2
[glibc.git] / ChangeLog.12
blob2a4620e56d550976a670dbec566c26806828bebe
1 2001-08-15  Ulrich Drepper  <drepper@redhat.com>
3         * libio/iofwide.c (_IO_fwide): Don't reset file position to
4         beginning of file, really get current position.
6 2001-08-15  Andreas Schwab  <schwab@suse.de>
8         * sysdeps/m68k/m68020/atomicity.h (atomic_add): Don't allow
9         address register for operand 0.
11 2001-08-14  Ulrich Drepper  <drepper@redhat.com>
13         * stdio-common/perror.c (perror): Use _IO_fwide instead of fwide.
15         * libio/libio.h (_IO_fwide): Handle zero as second parameter more
16         efficiently in macro.
18 2001-08-14  Jakub Jelinek  <jakub@redhat.com>
20         * resolv/nss_dns/dns-host.c (RESOLVSORT): Define.
21         (addrsort): New function.
22         * resolv/gethnamaddr.c (RESOLVSORT): Define.
24 2001-08-14  Jakub Jelinek  <jakub@redhat.com>
26         * string/strsignal.c (free_mem): Remove.
28 2001-08-14  Andreas Jaeger  <aj@suse.de>
30         * inet/inet_ntoa.c (free_mem): Remove, it's not used anymore.
31         Closes PR libc/2477, reported by Dylan Alex Simon
32         <dylan@dylex.caltech.edu>.
34 2001-08-14  Ulrich Drepper  <drepper@redhat.com>
36         * locale/Makefile (aux): Add xlocale.
37         * locale/xlocale.c: New file.
38         * include/locale.c (_nl_C_locobj): Declare.
39         * iconv/gconv_charset.h: Use __tolower_l, __isdigit_l, __isspace_l
40         with _nl_C_locobj instead of tolower, isdigit, isspace.
41         * iconv/gconv_conf.c: Likewise.
42         * iconv/gconv_int.h: Likewise.
43         * iconv/gconv_open.c: Likewise.
45         * locale/newlocale.c: Minor cleanups.
47 2001-08-14  Andreas Jaeger  <aj@suse.de>
49         * sysdeps/ieee754/ldbl-128/w_expl.c: New file, copy from
50         ldbl-96/w_expl.c with tweaked constants.  Patch by Stephen L
51         Moshier.
53 2001-08-13  Ulrich Drepper  <drepper@redhat.com>
55         * malloc/memusage.c (me): Allow creating the output file.
57         * sysdeps/unix/sysv/linux/Makefile: Remove -fkeep-inline-functions
58         flag for init-first.
60         * po/fr.po: Update from translation team.
62 2001-08-13  Andreas Jaeger  <aj@suse.de>
64         * sysdeps/mips/machine-gmon.h (MCOUNT): Don't use delay slot for
65         jal since it's a macro.
66         Patch by Simon Gee <simong@oz.agile.tv>.
68 2001-08-12  Ulrich Drepper  <drepper@redhat.com>
70         * iconvdata/Makefile: Add rules to build ISO-IR-209 and MAC-SAMI.
71         * iconvdata/iso-ir-209.c: New file.
72         * iconvdata/mac-sami.c: New file.
73         * iconvdata/gconv-modules: Add entries for ISO-IR-209 and MAC-SAMI.
74         * iconvdata/tst-tables.sh: Likewise.
76         * posix/getopt.c: Remove store_args_and_env which is not needed since
77         USE_NONOPTION_FLAGS is undefined anyhow.  Use __libc_argc and
78         __libc_argv variables.
80 2001-08-12  Roland McGrath  <roland@frob.com>
82         * sysdeps/mach/hurd/clock.c: New file.
83         * sysdeps/mach/hurd/times.c: New file.
84         * sysdeps/mach/hurd/getclktck.c (__getclktck): Always return 1000000.
85         * sysdeps/mach/hurd/init-posix.c: New file.
87         * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
89 2001-08-11  Roland McGrath  <roland@frob.com>
91         * sysdeps/mach/hurd/bits/time.h
92         (CLOCK_PROCESS_CPUTIME_ID, CLOCK_THREAD_CPUTIME_ID): New macros.
93         * sysdeps/mach/hurd/i386/bits/time.h: File removed.
95         * posix/getopt.c (nonoption_flags_max_len, nonoption_flags_len):
96         Make these defns conditional on [USE_NONOPTION_FLAGS].
98 2001-08-11  Ulrich Drepper  <drepper@redhat.com>
100         * config.h.in: Add #undef line for USE_NONOPTION_FLAGS.
101         * posix/getopt_init.c: Produce code only if USE_NONOPTION_FLAGS is
102         defined.
103         * posix/getopt.c: Use __getopt_nonoption_flags only if
104         USE_NONOPTION_FLAGS is defined.
105         * sysdeps/mach/hurd/i386/init-first.c: Use __getopt_clean_environment
106         only if USE_NONOPTION_FLAGS is defined.
107         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
108         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
109         * sysdeps/arm/init-first.c: Likewise.
110         * sysdeps/generic/init-first.c: Likewise.
111         * sysdeps/i386/init-first.c: Likewise.
112         * sysdeps/sh/init-first.c: Likewise.
114 2001-08-11  Andreas Jaeger  <aj@suse.de>
116         * sysdeps/ieee754/ldbl-128/e_j0l.c: New file.
117         Contributed by Stephen L Moshier <moshier@mediaone.net>.
119 2001-08-11  Ulrich Drepper  <drepper@redhat.com>
121         * assert/assert.c (set_progname): Removed.
122         (__assert_fail): Use __progname instead of __assert_program_name.
123         * assert/assert-perr.c (__assert_perror_fail): Likewise.
125         * malloc/malloc.c (ptmalloc_init): Don't call getenv five times.
126         Instead use new function next_env_entry which iterates over the
127         environment once.
129         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Only set
130         _dl_profile_map for the right object.
132         * elf/dl-reloc.c (_dl_relocate_object): Allocate l_reloc_result
133         only if consider_profiling is != 0, not if _dl_profile != NULL.
135         * sysdeps/generic/dl-environ.c (_dl_next_ld_env_entry): Optimize a bit.
136         Now returns pointer to first character after "LD_".
137         * elf/rtld.c (process_envvars): Adjust for change above.
138         * sysdeps/unix/sysv/linux/dl-librecon.h (EXTRA_LD_ENVVARS): Likewise.
139         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
140         Likewise.
142 2001-08-10  Wolfram Gloger  <wg@malloc.de>
144         * malloc/malloc.c (grow_heap): Use mmap() rather than mprotect()
145         to allocate new memory, for better performance with Linux-2.4.x.
147 2001-08-10  Ulrich Drepper  <drepper@redhat.com>
149         * posix/getopt_init.c (__getopt_clean_environment): Avoid making
150         the strncmp calls most of the time by testing for '_' as the first
151         character of the name.
153         * elf/dl-open.c (add_to_global): Remove stale comment.
155         * elf/dl-load.c (fillin_rpath): In SUID binaries, don't mark
156         non-system-dirs in LD_LIBRARY_PATH as nonexisting, simply drop them.
158         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_USER_LOCK flag for
159         temporary stream.  Don't define lock.
160         * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
161         * libio/strops.c (_IO_str_init_static): Likewise.
162         * libio/vasprintf.c (_IO_vasprintf): Likewise.
163         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
164         * libio/iovsprintf.c: Likewise.
165         * libio/iovsnprintf.c: Likewise.
166         * libio/iovswprintf.c: Likewise.
167         * libio/iovsscanf.c: Likewise.
168         * libio/iovswscanf.c: Likewise.
169         * stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Likewise.
170         * libio/genops.c (_IO_no_init): Don't call _IO_lock_init if _lock
171         is NULL.
172         (_IO_default_finish): Likewise.
173         * libio/wgenops.c (_IO_wdefault_finish): Likewise.
175 2001-08-10  Andreas Jaeger  <aj@suse.de>
177         * stdio-common/stdio_ext.h: Fix typo.
179 2001-08-09  Ulrich Drepper  <drepper@redhat.com>
181         * posix/fnmatch_loop.c: Fix computation of alignment.
183 2001-08-09  Isamu Hasegawa  <isamu@yamato.ibm.com>
185         * posix/regex.c (wcs_regex_compile): Use appropriate string
186         to compare with collating element.
187         Fix the padding for the alignment.
189 2001-08-09  Isamu Hasegawa  <isamu@yamato.ibm.com>
191         * locale/programs/ld-collate.c (collate_output): Exclude
192         characters from elem_table.
193         Reduce if clause to write collating elements correctly.
194         * posix/Makefile (tests): Add bug-regex5.
195         * posix/bug-regex5.c: New file.
197 2001-08-09  Ulrich Drepper  <drepper@redhat.com>
199         * locale/lc-time.c (_nl_parse_alt_digit): New function.
200         * locale/localeinfo.h: Add prototype for it.
201         * time/strptime.c (get_alt_number): Use _nl_parse_alt_digit to get
202         the value.  Correct computation of hour for %OI.  If no %EC given
203         but %Ey use numeric formular.
205         * dlfcn/Makefile (tststatic-ENV): Also add $(common-objpfx)elf for
206         ld.so.
208         * time/tst-strptime.c: Add tests in different locales.
209         * time/Makefile (tst-strptime-ENV): Define.
211 2001-08-09  Jakub Jelinek  <jakub@redhat.com>
213         * catgets/catgets.c (catclose): Be liberal about catalog_desc in
214         catclose too.
216 2001-08-09  Ulrich Drepper  <drepper@redhat.com>
218         * time/strptime.c (strptime_internal): Add handling of year +
219         %U/%W week + week day.
220         * time/tst-strptime.c: Add test case for %U and %W handling.
222         * stdio-common/vfscanf.c: Fix reading of wide chars and strings if
223         not COMPILE_WSCANF.
225         * libio/vswprintf.c (_IO_vswprintf): Fix return value handling
226         which is different from snprintf.
227         * libio/tst_swprintf.c: Add tests for too small output buffer.
229         * stdio-common/vfscanf.c: Fix handling of %[] for COMPILE_WSCANF.
230         * libio/Makefile (tests): Add tst-swscanf.
231         * libio/tst-swscanf.c: New file.
233 2001-08-09  Jakub Jelinek  <jakub@redhat.com>
235         * posix/globtest.sh: Robustify tilde tests.
237 2001-08-09  Andreas Jaeger  <aj@suse.de>
239         * locale/programs/ld-ctype.c (DEFAULT): Fix expression.
240         (EMPTY): New.
241         (wctype_table_finalize): Use it.
242         (find_idx): Likewise.
243         (wctype_table_get): Likewise.
245         * configure.in: Add check for GCC 3.x.
247 2001-08-09  Ulrich Drepper  <drepper@redhat.com>
249         * libio/wfileops.c (_IO_wfile_seekoff): Don't even try to handle
250         seeking with backup buffer present.
251         Correct determining of internal buffer position.
252         Reset also wide buffers if we reset the internal buffers.
253         * libio/iofwide.c (_IO_fwide): Always determine file offset for wide
254         streams.
255         * libio/ioseekoff.c: Catch one unimplemented case.
256         * libio/ftello.c: Don't abort if the wide stream has backup buffer.
257         * libio/ftello64.c: Likewise.
258         * libio/iofgetpos.c: Likewise.
259         * libio/iofgetpos64.c: Likewise.
260         * libio/ftell.c: Likewise.
261         * libio/Makefile (tests): Add tst-ungetwc2.
262         * libio/tst-ungetwc2.c: New file.
264 2001-08-08  Ulrich Drepper  <drepper@redhat.com>
266         * locale/elem-hash.h (elem_hash): Correct stupid mistake and
267         create real hash values now.
268         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
270         * libio/iofgetpos.c (_IO_new_fgetpos): Correct a few problems in
271         the handling of wide streams.
273         * libio/ioungetwc.c (ungetwc): Orient stream first.
274         * libio/Makefile (tests): Add tst-ungetwc1.
275         * libio/tst-ungetwc1.c: New file.
277         * libio/wfileops.c (_IO_wfile_underflow): Remove incorrect test
278         for possible conversion using __codecvt_do_in.
279         * libio/Makefile (tests): Add tst-fgetws.
280         * libio/tst-fgetws.c: New file.
282         * libio/iofgetws.c: Use _IO_ferror_unlocked macros instead of
283         coding the test here.
285         * catgets/open_catalog.c: Rewrite code to assume that the function
286         is called at catopen time and not delayed in catgets.
287         * catgets/catgets.c (catopen): Call __open_catalog and fail if that
288         function failed.
289         (catgets): Remove code for delayed opening of catalog.
290         * catgets/catgetsinfo.h: Remove now unnecessary information from
291         struct catalog_info.  Change __open_catalog prototype.
292         * catgets/gencat.c: Adjust __open_catalog call.
293         * catgets/test-gencat.c: Stop program if catopen failed.
295         * locale/C-monetary.c (_nl_C_LC_MONETARY): Provide correct value
296         for CRNCYSTR.
298         * locale/programs/ld-messages.c (messages_finish): Provide POSIX
299         locale compliant default values for fields without definition.
300         * locale/programs/ld-time.c (time_finish): Likewise.
301         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
303 2001-08-08  Andreas Jaeger  <aj@suse.de>
305         * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Fix test for
306         infinity.
308 2001-08-07  Ulrich Drepper  <drepper@redhat.com>
310         * sysdeps/ia64/memusage.h (GETTIME): Define using hp-timing.h
311         functionality.
313         * sysdeps/ia64/hp-timing.h (HP_TIMING_NOW): Fix comment.
315 2001-08-07  Jakub Jelinek  <jakub@redhat.com>
317         * malloc/memusage.c (initialized): New variable.
318         (init): If not yet initialized, call me().
319         (me): Do all dlsym calls here.
320         (malloc, realloc, calloc, free): If not yet initialized,
321         call me().  If in the middle of initializing, return NULL or
322         do nothing.
324 2001-08-07  Jakub Jelinek  <jakub@redhat.com>
326         * sysdeps/unix/seekdir.c (seekdir): Set dirp->filepos.
328         * dirent/tst-seekdir.c (main): Check whether telldir right after
329         seekdir returns 2nd argument given to seekdir.
331 2001-08-07  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
333         * dlfcn/Makefile (tststatic-ENV): Add $(common-objpfx) to
334         LD_LIBRARY_PATH.
336 2001-08-07  Andreas Jaeger  <aj@suse.de>
337             Andreas Schwab  <schwab@suse.de>
338             Bruno Haible  <haible@clisp.cons.org>
340         * locale/programs/3level.h (EMPTY): New macro.
341         (*_get, *_add, *_iterate, *_finalize): Use it instead of ~(uint32_t) 0.
343 2001-08-08  GOTO Masanori  <gotom@debian.or.jp>
345         * locale/iso-3166.def: Updates from latest official list.
347 2001-08-07  Andreas Jaeger  <aj@suse.de>
349         * stdlib/tst-strtod.c: Disable HUGE_VAL tests for older GCCs.
351         * iconv/gconv_charset.h (upstr): Add unused attribute to avoid warning.
353         * libio/iopopen.c (_IO_new_proc_open): Fix typos, it's _IO_MTSAFE_IO.
354         (_IO_new_proc_close): Likewise.
355         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
356         (_IO_old_proc_close): Likewise.
358 2001-08-06  Ulrich Drepper  <drepper@redhat.com>
360         * manual/locale.texi: Add documentation for rpmatch.
361         Patch by Jochen Hein <jochen@jochen.org>.
363 2001-08-06  Jakub Jelinek  <jakub@redhat.com>
365         * stdlib/strtod.c (STRTOF): Skip whole infinity, not just inf.
366         * stdio-common/vfscanf.c (__vfscanf): +- can be followed by i in +-Inf.
368         * stdlib/tst-strtod.c (tests): Add Inf tests.
369         * stdio-common/tstscanf.c (main): Add tests for +- before Inf.
371 2001-08-06  Ulrich Drepper  <drepper@redhat.com>
373         * locale/weightwc.h (findidx): Change type of i to int32_t.
375         * wcsmbs/wcsmbs-tst1.c (main): Avoid warning.  Pretty printing.
377 2001-08-05  Roland McGrath  <roland@frob.com>
379         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h (struct dirent): Rename member
380         d_fileno to d_ino.
381         (struct dirent64): Likewise.
382         (d_fileno): Define as macro.
384 2001-08-04  Roland McGrath  <roland@frob.com>
386         * sysdeps/mach/hurd/getrusage.c: Use TASK_EVENTS_INFO if implemented
387         by the microkernel (which it's not).
389 2001-08-04  Ulrich Drepper  <drepper@redhat.com>
391         * libio/fileops.c (_IO_new_file_underflow): Don't call
392         _IO_flush_all_linebuffered.  This isn't required in any standard.
393         Instead flush only stdout.
394         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
396 2001-08-04  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
398         * dlfcn/Makefile: Add rules for new testcase tststatic.
399         * dlfcn/tststatic.c: New file.
400         * dlfcn/modstatic.c: New file.
402 2001-08-04  Ulrich Drepper  <drepper@redhat.com>
404         * manual/summary.awk: Fix value used for FF.
406         * elf/rtld.c: Correct use of __builtin_expect.
408         * elf/dl-close.c: Remove commented-out code.
410         * libio/genops.c (_IO_unbuffer_write): Force streams in narrow
411         orientation so that conversion modules aren't used anymore.
412         * malloc/set-freeres.c: Call _IO_cleanup before running subfreeres
413         functions to avoid using wide streams afterwards.
415         * iconvdata/Makefile: Add rules to build GEORGIAN-PS and
416         GEORGIAN-ACADEMY.
417         * iconvdata/georgian-ps.c: New file.
418         * iconvdata/georgian-academy.c: New file.
419         * iconvdata/gconv-modules: Add entries for GEORGIAN-PS and
420         GEORGIAN-ACADEMY.
421         * iconvdata/tst-tables.sh: Add GEORGIAN-PS and GEORGIAN-ACADEMY.
423 2001-08-03  Ulrich Drepper  <drepper@redhat.com>
425         * locale/programs/ld-collate (insert_value): If symbol in order
426         definition does not exist create it as a sequence without
427         associated multibyte and wide representation.
429 2001-07-30  Roland McGrath  <roland@frob.com>
431         * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): Diddle
432         syntax so both function and pointer-to-function arguments work right.
434 2001-08-03  Tom Rix  <trix@redhat.com>
436         * config.h.in: Add HAVE_XCOFF for AIX.
437         * configure.in: Add --with-xcoff option.
438         * include/libc-symbols.h: Disable the .stabs macros.
440 2001-08-03  Ulrich Drepper  <drepper@redhat.com>
442         * iconvdata/8bit-gap.c: Correctly use __builtin_expect.
443         * iconvdata/ansi_x3.110.c: Likewise.
444         * iconvdata/big5.c: Likewise.
445         * iconvdata/euc-cn.c: Likewise.
446         * iconvdata/euc-jp.c: Likewise.
447         * iconvdata/euc-kr.c: Likewise.
448         * iconvdata/gb18030.c: Likewise.
449         * iconvdata/gbbig5.c: Likewise.
450         * iconvdata/gbgbk.c: Likewise.
451         * iconvdata/gbk.c: Likewise.
452         * iconvdata/ibm930.c: Likewise.
453         * iconvdata/ibm932.c: Likewise.
454         * iconvdata/ibm933.c: Likewise.
455         * iconvdata/ibm935.c: Likewise.
456         * iconvdata/ibm939.c: Likewise.
457         * iconvdata/ibm943.c: Likewise.
458         * iconvdata/iso-2022-cn.c: Likewise.
459         * iconvdata/iso-2022-kr.c: Likewise.
460         * iconvdata/iso646.c: Likewise.
461         * iconvdata/iso8859-1.c: Likewise.
462         * iconvdata/iso_6937-2.c: Likewise.
463         * iconvdata/iso_6937.c: Likewise.
464         * iconvdata/johab.c: Likewise.
465         * iconvdata/sjis.c: Likewise.
466         * iconvdata/t.61.c: Likewise.
467         * iconvdata/uhc.c: Likewise.
468         * iconvdata/unicode.c: Likewise.
469         * iconvdata/utf-16.c: Likewise.
470         * iconv/gconv_simple.c: Likewise.   Convert assert() in real error
471         handling.
473         * iconvdata/Makefile: Add rules to build KOI8-T module.
474         * iconvdata/koi8-t.c: New file.
475         * iconvdata/gconv-modules: Add entries for KOI8-T.
476         * iconvdata/tst-tables.sh: Add KOI8-T.
478         * locale/iso-639.def: Correct Javanese 2 letter code.  Add Tonga.
479         Add Tigrinya.
481 2001-08-02  Ulrich Drepper  <drepper@redhat.com>
483         * locale/programs/ld-collate.c (collate_read): Handle collating-element
484         and reorder_after following copy statement correctly.
486 2001-08-02  Andreas Jaeger  <aj@suse.de>
488         * libio/bits/stdio.h (printf): Remove printf optimization since
489         GCC 3.0 can optimize printf.
491 2001-08-02  Ulrich Weigand  <uweigand@de.ibm.com>
493         * sysdeps/s390/s390-32/memcpy.S: Fixed incorrect use of
494         mvcle introduced by 2001-07-12 change.
495         * sysdeps/s390/s390-64/memcpy.S: Likewise.
497 2001-07-31  Ulrich Drepper  <drepper@redhat.com>
499         * sysdeps/unix/sysv/linux/i386/getcontext.S: Don't touch the %gs
500         register so that contexts can be used in different threads.
501         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
502         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
504         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Correct
505         test for cmsg struct size.
506         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Likewise.
508         * sysdeps/unix/sysv/linux/i386/makecontext.S: Remove unnecessary
509         initializations.
511         * libio/iopopen.c: Add lock for proc_file_chain access.
512         * libio/oldiopopen.c: Add lock for old_proc_file_chain access.
513         Reported by Padraig Brady <Padraig@linux.ie>.
515 2001-07-31  Andreas Jaeger  <aj@suse.de>
517         * sysdeps/unix/sysv/linux/sparc/bits/poll.h (NPOLLFILE): Removed.
518         * sysdeps/unix/sysv/linux/mips/bits/poll.h (NPOLLFILE): Removed.
519         * sysdeps/unix/sysv/linux/m68k/bits/poll.h (NPOLLFILE): Removed.
520         * sysdeps/unix/sysv/linux/bits/poll.h (NPOLLFILE): Removed.
521         * sysdeps/generic/bits/poll.h (NPOLLFILE): Removed.
523         * libio/genops.c (flush_cleanup): Guard list_all_lock to allow
524         compilation without threads.
526 2001-07-30  Ulrich Drepper  <drepper@redhat.com>
528         * po/fr.po: Update from translation team.
530 2001-07-30  Andreas Jaeger  <aj@suse.de>
532         * sysdeps/ieee754/ldbl-128/e_atanhl.c: New file, contributed by
533         Stephen L Moshier.
535         * posix/regex.c: Declare wcs functions only if compiling with
536         MBS_SUPPORT.
537         Don't use #elif for traditional C.
539 2001-07-29  Mark Kettenis  <kettenis@gnu.org>
541         * sysdeps/mach/hurd/recvmsg.c: New file.
542         * sysdeps/mach/hurd/sendmsg.c: New file.
544 2001-07-27  Ulrich Drepper  <drepper@redhat.com>
546         * version.h (VERSION): Bump to 2.2.4.
548         * sysdeps/mips/Dist: Remove non-existing files.
549         * sysdeps/mips/mips64/Dist: Likewise.
550         * sysdeps/mips/mipsel/Dist: Removed.
551         * iconv/Makefile (distribute): Add strtab.c and iconvconfig.h.
552         * sysdeps/generic/Dist: Add bits/link.h.
553         * sysdeps/unix/sysv/linux/m68k/Dist: Add sys/procfs.h.
554         * sysdeps/unix/sysv/aix/Dist: Add dl-support.c, dl-addr.c, and
555         dl-error.c.
556         * sysdeps/ia64/Dist: Add bits/link.h.
558         * libio/vasprintf.c (_IO_vasprintf): Don't copy uninitialized byte
559         from stream buffer to result buffer.
560         Reported by Michael Meeks <michael@ximian.com>.
562         * libio/Makefile: Add rules to check output of tst-fopenloc and
563         for memory leaks.
564         * libio/tst-fopenloc.c: New file.
566         * iconv/gconv_cache.c (__gconv_compare_alias_cache): New function.
567         * iconv/gconv_int.h: Add prototype for __gconv_compare_alias_cache.
568         * iconv/gconv_charset.h: Replace __gconv_lookup_alias prototype with
569         __gconv_compare_alias prototype.
570         * iconv/gconv_db.c (__gconv_lookup_alias): Removed.
571         (__gconv_compare_alias): New function.
572         * locale/findlocale.c (_nl_find_locale): Use __gconv_compare_alias
573         instead of calling __gconv_lookup_alias twice and compare here.
575 2001-07-26  Mark Kettenis  <kettenis@gnu.org>
577         * hurd/hurdsig.c (_hurd_internal_post_signal): Fix handling of
578         SA_RESETHAND and SA_NODEFER.
580 2001-07-27  Ulrich Drepper  <drepper@redhat.com>
582         * libio/fileops.c (_IO_new_file_fopen): Correctly locate ccs=
583         substring.  Don't handle ccs= if no descriptor was allocated.
584         Normalize codeset name before calling __wcsmbs_named_conv.
585         Initialize transliteration elements.  Free step data structure.
586         * libio/iofclose.c (_IO_new_fclose): Correct freeing of the step data.
587         * libio/iofwide.c (__libio_translit): Renamed from libio_translit
588         and made public.  Various little cleanup changes.
589         * wcsmbs/wcsmbsload.h (struct gconv_fcts): Add towc_nsteps and
590         tomb_nsteps member.
591         * wcsmbs/wcsmbsload.c: Add some casts to avoid warnings.
592         (__wcsmbs_gconv_fcts): Initialize towc_nsteps and tomb_nsteps member.
593         (getfct): Take additional parameter with pointer to variable where the
594         number of steps is stored in.  Disable code which allows to use more
595         than one step for now.  Adjust all callers.
596         (free_mem): New function.  Frees data associated with currently
597         selected converters.
599         * malloc/mtrace.pl: Extract addresses from DSOs.
601 2001-07-26  Ulrich Drepper  <drepper@redhat.com>
603         * malloc/mcheck.c (checkhdr): Disable mcheck before reporting an
604         error.  Don't run any tests if mcheck is disabled.
606         * elf/dl-support.c (_dl_important_hwcaps): Avoid using malloc
607         early in the program.
609 2001-07-27  Andreas Jaeger  <aj@suse.de>
611         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_GPRS): Fix
612         value following change from 2001-05-30.
614         * sysdeps/s390/s390-64/bits/setjmp.h (_JMPBUF_UNWINDS): Follow
615         rename change from 2001-07-12 for __jmp_buf.
616         Patches by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>.
618 2001-07-26  Roland McGrath  <roland@frob.com>
620         * sysdeps/generic/bits/termios.h (EXTA, EXTB): Make these conditional
621         on __USE_MISC rather than __USE_BSD.
622         (B57600, B115200, B230400, B460800, B500000, B576000, B921600,
623         B1000000, B1152000, B1500000, B2000000, B2500000, B3000000,
624         B3500000, B4000000): New macros.
625         * sysdeps/generic/tcsetattr.c (bad_speed): Accept those values.
626         * termios/cfsetspeed.c (speeds): Likewise.
628 2001-07-26  kaz Kojima  <kkojima@rr.iij4u.or.jp>
630         * sysdeps/sh/dl-machine.h (elf_machine_load_address): Don't use
631         multi-line strings.
632         (FUN_ADDR, FGR_SAVE, ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
633         (elf_machine_rela): Handle unaligned relocation.
635 2001-06-07  David Mosberger  <davidm@hpl.hp.com>
637         * sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Update call to
638         __ia64_make_fptr() for new interface.
639         (_dl_function_address): Remove.
641         * sysdeps/ia64/dl-machine.h (IA64_BOOT_FPTR_TABLE_LEN): Rename
642         from IA64_BOOT_FPTR_SIZE and reduce its value from 256 to 200.
643         (struct ia64_fdesc): Rename from struct ia64_fptr and drop "next"
644         pointer.  Rename member "func" to "ip".
645         (struct ia64_fdesc_table): New type.
646         (__ia64_make_fptr): Change prototype.
647         (__ia64_init_bootstrap_fdesc_table): New function.
648         (ELF_MACHINE_BEFORE_RTLD_RELOC): New macro.
649         (__boot_ldso_fptr): Removed.
650         (__fptr_next): Removed.
651         (__fptr_root): Removed.
652         (__fptr_count): Removed.
653         (TRAMPOLINE_TEMPLATE): Fix typo in comment.  Don't use multi-line
654         strings to avoid warning from gcc3.
655         (RTLD_START): Don't use multi-line strings.
656         (ELF_MACHINE_START_ADDRESS): Use DL_STATIC_FUNCTION_ADDRESS.
657         (elf_machine_fixup_plt): Update the code entry point in the
658         function descriptor through a "volatile" pointer to ensure proper
659         write ordering.
660         (elf_machine_rela): Simplify handling of FPTR relocs: always call
661         __ia64_make_fptr().
663         * sysdeps/ia64/dl-lookupcfg.h (DL_AUTO_FUNCTION_ADDRESS): New macro.
664         (DL_STATIC_FUNCTION_ADDRESS): Likewise.
665         (DL_DT_INIT_ADDRESS): Use DL_AUTO_FUNCTION_ADDRESS.
666         (DL_DT_FINI_ADDRESS): Likewise.
668         * sysdeps/ia64/dl-fptr.c: Rewrite for better scalability and to
669         avoid deadlocks.
671         * include/link.h: Add member machine specific "l_mach" member to
672         link_map.
674         * sysdeps/generic/bits/link.h: New file.
675         * sysdeps/ia64/bits/link.h: Likewise.
677         * elf/rtld.c (_dl_start): Fix typo in comment.
678         (_dl_start_final): Copy new "l_mach" member from temporary to
679         final bootstrap map.
681 2001-07-25  Ulrich Drepper  <drepper@redhat.com>
683         * csu/gmon-start.c: Use ENTRY_POINT_DECL if defined instead of a
684         declaration using ENTRY_POINT.
685         * sysdeps/ia64/elf/entry.h (ENTRY_POINT_DECL): New definition.
687 2001-07-25  H.J. Lu  <hjl@gnu.org>
689         * csu/gmon-start.c: Include <entry.h>
690         (_start): Replaced with ENTRY_POINT.
692 2001-07-25  Mark Kettenis  <kettenis@gnu.org>
694         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: New file.
696 2001-07-25  Ulrich Drepper  <drepper@redhat.com>
698         * iconv/iconvconfig.c (main): Don't write an output file if we
699         have seen an error.
700         (write_output): Don't overwrite old cache file until we know we
701         have a new one.
703         * iconv/Makefile (install-sbin): Add iconvconfig.
705 2001-07-25  Jakub Jelinek  <jakub@redhat.com>
707         * elf/Makefile (routines): Add dl-iteratephdr and
708         dl-iteratephdr-static.
709         (elide-routines.os): Add dl-iteratephdr-static.
710         * elf/dl-iteratephdr.c: New file.
711         * elf/link.h (struct dl_phdr_info): New definition.
712         (dl_iterate_phdr): New prototype.
713         * elf/Versions (dl_iterate_phdr): Add at GLIBC_2.2.4.
714         * include/link.h (struct dl_phdr_info): New definition.
715         (dl_iterate_phdr, __dl_iterate_phdr): New prototypes.
716         * sysdeps/generic/dl-iteratephdr-static.c: New file.
717         * sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: New file.
719 2001-07-24  Igor Khavkine  <i_khavki@alcor.concordia.ca>
721         * hurd/hurdsig.c (_hurdsig_init): Fix incorrect initialization
722         of pending signals.
724 2001-06-22  Jakub Jelinek  <jakub@redhat.com>
726         * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
727         gaps below main executable.
729 2001-07-22  Bruno Haible  <haible@clisp.cons.org>
731         * intl/libintl.h (ngettext, dngettext, dcngettext): Use both msgid1
732         and msgid2 for printf format argument checking.
734 2001-07-24  Ulrich Drepper  <drepper@redhat.com>
736         * iconv/gconv_cache.c (find_module): Don't allocate room for the
737         filename.  Use alloca, we don't need it beyond this function.
738         (__gconv_release_cache): New function.
739         * iconv/gconv_db.c (__gconv_close_transform): Call
740         __gconv_release_cache after the steps are handled.
741         * iconv/gconv_dl.c (__gconv_find_shlib): Allocate file name in the
742         record as well.
743         * iconv/gconv_int.h: Add prototype for __gconv_release_cache.
745         * iconv/gconv_cache.c (__gconv_lookup_cache): Catch one more
746         boundary case and reject it.
748 2001-07-24  Andreas Jaeger  <aj@suse.de>
750         * manual/examples/longopt.c (main): Fix which options take arguments.
752 2001-07-24  Ulrich Drepper  <drepper@redhat.com>
754         * iconvdata/Makefile: Add dependencies for tst-loading test.
756 2001-07-24  Andreas Jaeger  <aj@suse.de>
758         * iconv/iconvconfig.c (name_insert): Make static to avoid warning.
760 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
762         * locale/programs/locale.c (write_locales): Disable implicit
763         locking for the stream.  Use feof_unlocked instead of feof.
765         * sysdeps/unix/sysv/linux/i386/makecontext.S: Initialize %fs, %gs,
766         and floating-point status as well.
768         * libio/iofclose.c (_IO_new_fclose): Unlink descriptor first to
769         avoid deadlock.
770         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
771         * libio/genops.c (_IO_un_link): Get stream lock since it's not
772         always done in the caller.
773         (_IO_link_in): Likewise.
775         * libio/genops.c (_IO_list_all_stamp): New variable.
776         (_IO_un_link): Bump _IO_list_all_stamp after removing from list.
777         (_IO_link): Likewise for insertion.
778         (flush_cleanup): New function.
779         (_IO_flush_all): Get list_all_lock and all individual locks for the
780         streams.  Detect and handle changes to the _IO_list_all list.
781         (_IO_flush_all_linebuffered): Likewise.
782         * sysdeps/generic/bits/stdio-lock.h: Define
783         _IO_cleanup_region_start_noarg.
784         * sysdeps/mach/hurd/bits/stdio-lock.c: Likewise.
786         * stdio-common/printf.h: Fix typo in comment.
788         * iconv/gconv_cache.c (__gconv_lookup_cache): Handle encoding from
789         and to INTERNAL.
790         * iconv/iconvconfig.c: Create a special record for the INTERNAL
791         encoding name in the output file.
793 2001-07-23  Jakub Jelinek  <jakub@redhat.com>
795         * sunrpc/svc_tcp.c (svctcp_rendezvous_abort): New function.
796         (svctcp_rendezvous_op): Use it.
797         * sunrpc/svc_unix.c (svcunix_rendezvous_abort): New function.
798         (svcunix_rendezvous_op): Use it.
800 2001-07-23  Andreas Schwab  <schwab@suse.de>
802         * math/Makefile (CPPFLAGS-test-ifloat.c, CPPFLAGS-test-idouble.c,
803         CPPFLAGS-test-ildoubl.c): Renamed from CFLAGS-*.
804         (math-CPPFLAGS): Set this instead of CPPFLAGS.
806 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
808         * elf/elf.h: Add more definitions from Sun's latest version.
810 2001-07-23  Stephen L Moshier  <moshier@mediaone.net>
812         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Return proper
813         sign for 0 input and set divide by zero exception for -1 input.
814         Return argument if NaN or infinity.
816 2001-07-23  Andreas Jaeger  <aj@suse.de>
818         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add some deltas.
820 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
822         * iconv/gconv_cache.c (__gconv_lookup_cache): Select correct
823         module for conversion direction.
825 2001-07-23  Stephen L Moshier  <moshier@mediaone.net>
827         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Return proper
828         sign for 0 input.  Return NaN with no exception for NaN input.
830 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
832         * iconv/gconv_builtin.h: ISO-106464/UTF-8/ transformation must
833         really be an alias.
835 2001-07-23  Andreas Jaeger  <aj@suse.de>
837         * iconv/iconvconfig.c: Include <sys/cdefs.h> and use
838         __attribute_malloc__ for older GCC versions.
839         * iconv/strtab.c: Likewise.
840         Add prototypes to avoid warnings.
842 2001-07-22  Roland McGrath  <roland@frob.com>
844         * hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND
845         and SA_NODEFER options.  Spurred to action by Igor Khavkine.
847         * sysdeps/generic/bits/sigaction.h [__USE_UNIX98 || __USE_MISC]
848         (SA_NODEFER, SA_RESETHAND): New macros, same bit values as FreeBSD.
849         [__USE_MISC] (SA_INTERRUPT): New macro, value 0.
850         [__USE_MISC] (SA_NOMASK, SA_ONESHOT, SA_STACK): New macros, aliases
851         as in other sysdeps versions of this file.
853         * sysdeps/generic/bits/sigaction.h (struct sigaction): Use a union
854         and provide sa_handler and sa_sigaction member names as macros, as
855         done in other sysdeps versions of this file.
856         Suggested by Igor Khavkine <i_khavki@alcor.concordia.ca>.
858 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
860         * posix/regex.c: Revamp memory allocation for WCHAR functions to
861         not use too much stack.
863 2001-07-22  Ulrich Drepper  <drepper@redhat.com>
865         * iconv/iconvconfig.c (write_output): Update comment explaining
866         output format.
868         * elf/dl-load.c (_dl_dst_count): In SUID binaries expand $ORIGIN
869         if it is alone.
870         (_dl_dst_substitute): Likewise.
872         * iconv/iconvconfig.c: Remove --verbose option.  Comment out
873         mcheck_verbose call.
875         * iconv/strtab.c (morememory): Fix little memory handling problem.
877 2001-07-22  Andreas Schwab  <schwab@suse.de>
879         * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don't
880         mark asm input operand as clobbered.
881         * sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise.
883 2001-07-22  Ulrich Drepper  <drepper@redhat.com>
885         * iconv/gconv_builtin.c (struct builtin_map): Remove init and end
886         elements.
887         (BUILTIN_TRANSFORMATION): Remove Init and End parameters.
888         (__gconv_get_builtin_trans): Initialize __init_fct and __end_fct to
889         NULL.
890         * iconv/gconv_builtin.h: Remove NULL parameters for Init and End in
891         all BUILTIN_TRANSFORMATION calls.
892         * iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Remove Init and End
893         parameters.
894         * iconv/gconv_simple.c: Likewise.
895         * iconv/gconv_db.c (gen_steps): Internal converters don't have
896         initializers, move the code accordingly.
898         * iconv/gconv_conf.c (__gconv_read_conf): Don't read configuration
899         file if STATIC_GCONV is defined.
901         * iconv/gconv_conf.c (__gconv_path_envvar): New global variable.
902         (__gconv_get_path): Use it instead of call getenv.
903         (__gconv_read_conf): First see whether cache can be used.  If yes,
904         don't do any work here.
905         * iconv/gconv_db.c (__gconv_release_step): Renamed from release_step
906         and exported.  Change callers.
907         (__gconv_find_transform): First call __gconv_lookup_cache and only
908         continue if it signals no cache available.  Remove some unnecessary
909         tests.
910         * iconv/gconv_int.h: Declare __gconv_path_envvar, __gconv_lookup_cache,
911         __gconv_release_step, and __gconv_loaded_cache.
912         * iconv/gconv_cache.c: New file.
913         * iconv/iconvconfig.c: New file.
914         * iconv/iconvconfig.h: New file.
915         * iconv/strtab.c: New file.
916         * iconv/Makefile: Add rules to build new files and programs.
918 2001-07-20  Roland McGrath  <roland@frob.com>
920         * sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type
921         from `dev_t' (st_rdev value) `const struct stat *'.
922         * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Likewise.
923         * libio/filedoalloc.c (_IO_file_doallocate): Change caller.
924         * sysdeps/mach/hurd/device-nrs.h: New file.
926         * libio/stdio_ext.h: Moved to ...
927         * stdio-common/stdio_ext.h: ... here.
928         * libio/Makefile (headers): Move stdio_ext.h from here ...
929         * stdio-common/Makefile (headers): ... to here.
930         * include/stdio_ext.h: New file.
931         * stdio/Makefile (routines): Add the stdio_ext.h functions here.
932         * stdio/Versions (GLIBC_2.2.4): Export the stdio_ext.h functions.
933         * stdio/__flbf.c: New file.
934         * stdio/__fbufsize.c: New file.
935         * stdio/__fpending.c: New file.
936         * stdio/__fpurge.c: New file.
937         * stdio/__freadable.c: New file.
938         * stdio/__freading.c: New file.
939         * stdio/__fsetlocking.c: New file.
940         * stdio/__fwritable.c: New file.
941         * stdio/__fwriting.c: New file.
943 2001-07-20  Ulrich Drepper  <drepper@redhat.com>
944             Andreas Jaeger  <aj@suse.de>
946         * elf/ldconfig.c (search_dir): Avoid use of uninitialized memory.
947         Add a few __builtin_expect to mark unlikely error cases.
949 2001-07-20  Andreas Jaeger  <aj@suse.de>
951         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Synch with kernel.
952         Patch by Daniel Jacobowitz <dan@debian.org>.
954 2001-07-19  Ulrich Drepper  <drepper@redhat.com>
956         * intl/localealias.c: Remove unnecessary prototype.
958         * Makefile: Add html goal.
959         * manual/Makefile: Likewise.
961 2001-07-18  Ulrich Drepper  <drepper@redhat.com>
963         * libio/filedoalloc.c (_IO_file_doallocate): A few more minor
964         cleanups and improvements.
966 2001-07-18  Andreas Schwab  <schwab@suse.de>
968         * posix/regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
969         underscore character.
971 2001-07-18  Jakub Jelinek  <jakub@redhat.com>
973         * malloc/malloc (new_heap): Don't call munmap for zero length.
975 2001-07-18  Ulrich Drepper  <drepper@redhat.com>
977         * libio/filedoalloc.c (_IO_file_doallocate): Use DEV_TTY_P if
978         available to determine whether descriptor is for tty before
979         calling isatty.
981         * sysdeps/unix/sysv/linux/device-nrs.h: Define DEV_TTY_P.
982         * sysdeps/generic/device-nrs.h: Likewise.
984 2001-07-18  Andreas Jaeger  <aj@suse.de>
986         * time/Makefile (tst-getdate-ENV): Add TZDIR to environment.
988         * time/Depend: New, add dependency on timezone.
990         * time/tst-getdate.c: Add testcase for bug report by Hendrik
991         Uhlmann <HUhlmann@stn-atlas.de>.
992         * time/datemsk: Likewise.
994 2001-07-17  Ulrich Drepper  <drepper@redhat.com>
996         * elf/ldconfig.c (parse_conf): Disable implicit locking for the
997         stream.  Remove some unnecessary initializers.
999 2001-07-17  Andreas Jaeger  <aj@suse.de>
1001         * elf/ldconfig.c: Add new variable hwcap_mask to honour LD_HWCAP_MASK.
1002         (is_hwcap_platform): Use it.
1003         (set_hwcap): New function to set hwcap_mask.
1004         (main): Call set_hwcap.
1006 2001-07-17  Jakub Jelinek  <jakub@redhat.com>
1008         * time/getdate.c (__getdate_r): Initialize tm_isdst, tm_gmtoff and
1009         tm_zone before calling strptime.
1011 2001-07-17  Andreas Schwab  <schwab@suse.de>
1013         * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Fix last change.
1015 2001-07-17  Ulrich Drepper  <drepper@redhat.com>
1017         * inet/rcmd.c (iruserfopen): Disable implicit locking for the stream.
1018         * inet/ruserpass.c (ruserpass): Likewise.
1019         * nss/nsswitch.c (nss_parse_file): Likewise.
1020         * resolv/res_hconf.c (_res_hconf_init): Likewise.
1021         * resolv/res_init.c (__res_vinit): Likewise.
1022         * gmon/bb_exit_func.c (__bb_exit_func): Likewise.
1023         * misc/getpass.c (getpass): Likewise.
1024         * misc/getusershell.c (initshells): Likewise.
1025         * misc/getttyent.c (setttyent): Likewise.
1026         * misc/mntent_r.c (__setmntent): Likewise.
1027         * time/getdate.c (__getdate_r): Likewise.
1028         * time/tzfile.c (__tzfile_read): Likewise.
1029         * iconv/gconv_conf.c (read_conf_file): Likewise.
1030         * intl/localealias.c (read_alias_file): Disable implicit locking
1031         for the stream.  Use _unlocked functions for glibc.
1032         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Disable
1033         implicit locking for the stream.
1034         (__get_nprocs_conf): Likewise.
1035         (phys_pages_info): Likewise.
1037 2001-07-16  Ulrich Drepper  <drepper@redhat.com>
1039         * nscd/connections.c: Print messages caused by user application
1040         only if debug_level > 0.  Add little performance improvements.
1041         Use TEMP_FAILURE_RETRY around write calls.
1042         * nscd/grpcache.c: Likewise.
1043         * nscd/hstcache.c: Likewise.
1044         * nscd/pwdcache.c: Likewise.
1046 2001-07-13  H.J. Lu  <hjl@gnu.org>
1048         * sysdeps/mips/dl-machine.h (MAP_BASE_ADDR): Removed.
1049         (elf_machine_got_rel): Defined only if RTLD_BOOTSTRAP is not defined.
1050         (RESOLVE_GOTSYM): Rewrite to use RESOLVE.
1052         * sysdeps/mips/rtld-ldscript.in: Removed.
1053         * sysdeps/mips/rtld-parms: Likewise.
1054         * sysdeps/mips/mips64/rtld-parms: Likewise.
1055         * sysdeps/mips/mipsel/rtld-parms: Likewise.
1057 2001-07-16  Ulrich Drepper  <drepper@redhat.com>
1059         * catgets/test-gencat.sh: Use <<"EOF" instead of <<EOF to prevent
1060         substitution in here document.
1062 2001-07-16  Andreas Schwab  <schwab@suse.de>
1064         * sysdeps/posix/spawni.c: Fix typo when iterating over signal numbers.
1066 2001-07-16  Andreas Schwab  <schwab@suse.de>
1068         * math/libm-test.inc (check_float_internal): Fix sign bit test of
1069         infinities.
1071 2001-07-16  Jakub Jelinek  <jakub@redhat.com>
1073         * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Make it PIC friendly.
1075 2001-07-15  Ulrich Drepper  <drepper@redhat.com>
1077         * malloc/obstack.c: Define __attribute__ for non-gcc compilers.
1078         Patch by Jim Meyering <jim@meyering.net>.
1080 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1082         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder
1083         fields in the sigaction struct to match the definition in the kernel.
1085 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1087         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the
1088         test for ENOSYS.
1090 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1092         * sysdeps/s390/s390-32/bits/setjmp.h: Add leading underscores
1093         to the entries in the __jmp_buf structure.
1094         * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
1096 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1098         * sysdeps/s390/s390-32/bcopy.S: Use mvcle for big blocks
1099         (> 64K) and a mvc loop for small blocks.
1100         * sysdeps/s390/s390-32/memcpy.S: Likewise.
1101         * sysdeps/s390/s390-64/bcopy.S: Likewise.
1102         * sysdeps/s390/s390-64/memcpy.S: Likewise.
1104 2001-07-15  Andreas Schwab  <schwab@suse.de>
1106         * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: New file.
1107         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: New file.
1109         * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Check _dl_pagesize
1110         first.  Default to 4096, not EXEC_PAGESIZE.
1112         * iconv/loop.c (put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]:
1113         Fix index.
1115 2001-07-09  Andreas Jaeger  <aj@suse.de>
1117         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2.
1119         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM,
1120         HWCAP_I386_XMM2 to enum.
1122 2001-07-13  Andreas Jaeger  <aj@suse.de>
1124         * libio/fileops.c: Include unistd.h for lseek64 prototype.  Closes
1125         PR libc/2372.
1127 2001-07-12  Ulrich Drepper  <drepper@redhat.com>
1129         * Makeconfig: Add some more changes to handle AIX linker better.
1131 2001-07-12  H.J. Lu  <hjl@gnu.org>
1133         * sysdeps/generic/segfault.c: Include <errno.h>.
1135 2001-07-01  Andreas Jaeger  <aj@suse.de>
1137         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate
1138         sbrk.  Closes PR libc/2312.
1140 2001-07-01  Andreas Jaeger  <aj@suse.de>
1142         * sysdeps/generic/segfault.c (install_handler): Handle case that
1143         the output file does not exists.  Closes PR libc/2345.
1145 2001-07-11  Ulrich Drepper  <drepper@redhat.com>
1147         * intl/locale.alias: Use he language code for hebrew, not il
1148         [PR libc/2382].
1150 2001-07-11  Jakub Jelinek  <jakub@redhat.com>
1152         * iconv/gconv_int.h: Fix comment typo.
1154 2001-07-11  Igor Khavkine  <i_khavki@alcor.concordia.ca>
1156         * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.
1158 2001-07-07  Roland McGrath  <roland@frob.com>
1160         * hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0.
1162 2001-07-10  Stephen L Moshier  <moshier@mediaone.net>
1164         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl):  Fix
1165         backwards conditional in test for x == 1.0.
1167 2001-07-10  Andreas Jaeger  <aj@suse.de>
1169         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh
1170         (-0.7).
1172 2001-07-09  Andreas Jaeger  <aj@suse.de>
1174         * sysdeps/unix/sysv/linux/configure.in: Revert patch from
1175         2001-07-05 for sysconfdir handling.
1176         * config.make.in (sysconfdir): Likewise.
1177         * configure.in: Likewise.
1179         * configure.in: Always assign libc_cv_sysconfdir.
1181 2001-07-08  Ulrich Drepper  <drepper@redhat.com>
1183         * Makerules [AIX] (build-shlib-helper): Precede linker options
1184         with -Wl.
1186         * Makeconfig (config-LDFLAGS): Add ld.so only for ELF.
1188         * sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to
1189         what we define in <stdio.h>.
1191         * iconv/iconv_prog.c (main): Don't unconditionally define
1192         variables only use if _POSIX_MAPPED_FILES is defined.
1194         * sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type.
1195         * sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.
1197         * sysdeps/unix/sysv/aix/recv.c: New file.
1199         * sysdeps/unix/sysv/aix/recvfrom.c: Fix various types.
1201 2001-07-07  Ulrich Drepper  <drepper@redhat.com>
1203         * sysdeps/generic/recv.c: Fix return type.
1205         * sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo.
1207         * sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add
1208         declarations for asm functions.
1210         * include/libc-symbols.h: Provide more dummy definitions for the
1211         case if GNU ld isn't used.
1213         * libio/freopen.c: Include <stdlib.h> for free declaration.
1214         * libio/freopen64.c: Likewise.
1216         * sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
1218 2001-07-06  Jakub Jelinek  <jakub@redhat.com>
1220         * sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm
1221         explicitly into .text section.
1223 2001-04-16  Jes Sorensen  <jes@linuxcare.com>
1225         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
1226         Add 16 longwords reserved for future use to match changes in the
1227         kernel.
1229 2001-07-03  Jes Sorensen  <jes@trained-monkey.org>
1231         * sysdeps/ia64/strncpy.S: Call strnlen() when determining the
1232         string length rather than strlen(). Solves the performance problem
1233         of doing strlen on a 5MB string when strncpy was called with a
1234         length argument of 5 bytes.
1236 2001-07-02  Jakub Jelinek  <jakub@redhat.com>
1238         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1239         R_SPARC_UA16 and R_SPARC_UA32.
1240         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1242 2001-07-01  Stephen L Moshier  <moshier@mediaone.net>
1244         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl):
1245         acosh(x) = ln(2x) if x > 2^30.
1246         * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
1247         acosh(x) = ln(2x) if x > 2^54.
1249 2001-07-07  Mark Kettenis  <kettenis@gnu.org>
1251         * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal):
1252         Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and
1253         KERN_WRITE_PROTECTION_FAILURE.
1255 2001-07-07  Ulrich Drepper  <drepper@redhat.com>
1257         * posix/regex.c: Limit string length printed in debug messages to
1258         100 chars.
1260         * configure.in: Don't warn about versioning if not on ELF system.
1262 2001-07-07  Andreas Jaeger  <aj@suse.de>
1264         * sysdeps/*: Put files from GNU MP Library under LGPL v2.1.
1266 2001-07-06  Ulrich Drepper  <drepper@redhat.com>
1268         * po/gl.po: Update from translation team.
1270 2001-07-06  Andreas Jaeger  <aj@suse.de>
1272         * sysdeps/unix/sysv/linux/configure.in: Fix handling of
1273         sysconfdir.
1275         * manual/libc-texinfo.sh: Add note for the FDL.
1277         * manual/argp.texi (Argp Example 4): Fix texinfo warning.
1279         * manual/libc.texinfo: Regenerated.
1281         * manual/fdl.texi: Fix node.
1283         * config.make.in (sysconfdir): Replace correctly.
1284         Closes PR libc/2369, reported by Peter Simons <simons@cryp.to>.
1286         * sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no
1287         longer needed.
1289         * sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add
1290         case for alpha.
1291         Rework handling of missing linuxthreads add-on.
1293         * configure.in: Remove unused sysconfdir substitution.
1295         * manual/Makefile (texis): Add fdl.texi.
1296         * manual/fdl.texi: New.
1297         * manual/socket.texi (Host Names): Improve grammar, fix overflow hbox.
1298         * manual/libc.texinfo: Add fdl, update titlepage.
1299         Patches by Brian Youmans <3diff@gnu.org>.
1301         * sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for
1302         generated file.
1304 2001-07-06  Paul Eggert  <eggert@twinsun.com>
1306         * manual/argp.texi: Remove ignored LGPL copyright notice; it's
1307         not appropriate for documentation anyway.
1308         * manual/libc-texinfo.sh: "Library General Public License" ->
1309         "Lesser General Public License".
1310         * COPYING: Fix Y2k bug in sample copyright notices.
1311         * manual/lesser.texi: Renamed from manual/lgpl.texinfo,
1312         as fsf.org uses the name "lesser.texi".
1313         * manual/Makefile (texis): Follow rename.
1315 2001-07-06  Andreas Jaeger  <aj@suse.de>
1317         * All files under GPL/LGPL version 2: Place under LGPL version
1318         2.1.
1320 2001-07-05  Andreas Jaeger  <aj@suse.de>
1322         Synch with Linux 2.4.6:
1323         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
1324         New.
1325         (AF_BLUETOOTH): New.
1327         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
1328         (PF_BLUETOOTH): New.
1329         (AF_BLUETOOTH): New.
1331         * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
1332         (PF_BLUETOOTH): New.
1334         * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
1335         (PF_BLUETOOTH): New.
1337         * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
1338         (AF_BLUETOOTH): New.
1340         * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
1341         (AF_BLUETOOTH): New.
1343         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.
1345         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.
1347         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.
1349         * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
1351 2001-07-04  Roland McGrath  <roland@frob.com>
1353         * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
1354         wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
1355         rather than doing a mach_port_insert_right call first.
1357 2001-06-26  Roland McGrath  <roland@frob.com>
1359         * hurd/hurdioctl.c: Include <string.h> for memcpy decl.
1361 2001-07-03  Andreas Jaeger  <aj@suse.de>
1363         * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for
1364         crypt add-on.
1366 2001-07-01  Mark Kettenis  <kettenis@gnu.org>
1368         * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
1369         the Hurd pfinet server, using equivalent code from the Linux
1370         version in sysdeps/unix/sysv/linux/if_index.c. In detail:
1371         Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
1372         <hurd/pfinet.h>.  Don't include <sys/mman.h> and <hurd/fsys.h>
1373         anymore.
1374         (if_nametoindex): New implementation using SIOCGIFINDEX.
1375         (if_freenameindex): Straight copy of the Linux version.
1376         (if_nameindex): New implementation based on pfinet_siocgifconf and
1377         SIOCGIFINDEX.
1378         (if_indextoname): New implementation using SIOCGIFNAME.
1379         (map_interfaces): Function removed.
1380         From Marcus Brinkmann <marcus@gnu.org>.
1382 2001-06-30  Jakub Jelinek  <jakub@redhat.com>
1384         * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
1385         gaps below main executable.
1387 2001-06-19  Andreas Jaeger  <aj@suse.de>
1389         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
1390         Handle profiling.
1392 2001-06-29  Andreas Jaeger  <aj@suse.de>
1394         * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
1395         Patch by Stephen L Moshier <moshier@mediaone.net>.
1397 2001-06-28  Ulrich Drepper  <drepper@redhat.com>
1399         * manual/argp.texi: Tons of cleanups.
1400         Patch by Clifford U. Smith <cuel@swbell.net>.
1402 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
1404         * manual/users.texi (Setting Groups): Correct initgroups
1405         documentation.  Add documentation for getgrouplist.
1407 2001-06-28  H.J. Lu  <hjl@gnu.org>
1409         * locale/findlocale.c (locale_file_list): Renamed to ...
1410         (_nl_locale_file_list): This.  Make it extern.
1411         (free_mem): Move to ...
1412         * locale/setlocale.c (free_mem): Here.
1414 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
1416         * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
1417         (__libc_read): Don't call __pread.  Use _hurd_fd_read directly
1418         instead.
1419         * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
1420         (__libc_write): Don't call __pwrite.  Use _hurd_fd_write directly
1421         instead.
1423         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
1424         -Wl,-soname option lost in 2001-06-16 change.
1426 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
1428         * posix/tst-regex.c: Pass REG_NEWLINE to regcomp.  Add extra tests.
1429         Restrict printing of string in debug mode to 100 characters to make
1430         the output useful for long input texts.
1432         * posix/Makefile: Add rules to build and run tst-regex.
1434 2001-06-20  Isamu Hasegawa  <isamu@yamato.ibm.com>
1436         * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
1437         (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
1438         (wcs_re_match_2_internal): Check whether the wcs buffers need
1439         seting up or not, and skip seting up routin if not needed.
1441 2001-06-26  Isamu Hasegawa  <isamu@yamato.ibm.com>
1443         * posix/regex.c (count_mbs_length): Use binary search for optimization.
1445 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
1447         * posix/tst-regex.c: Fix several bugs.  Add more tests.
1449 2001-06-26  Mark Kettenis  <kettenis@gnu.org>
1451         * hurd/Makefile (user-interfaces): Add pfinet.
1452         * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
1453         <netinet/in.h>.
1454         (siocgifconf): New function.  Register it with HURD_HANDLE_IOCTL
1455         as the handler for SIOCGIFCONF.
1456         * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
1457         SIOCGIFFLAGS to be of IOC type ifreq_short.  Modify SIOCSIFMETRIC
1458         and SIOCGIFMETRIC to be of IOC type ifreq_int.  Add new macro
1459         definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
1460         SIOCGIFNAME.
1461         From Marcus Brunkmann <marcus@gnu.org>.
1463 2001-06-25  Ulrich Drepper  <drepper@redhat.com>
1465         * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
1466         and _IOT_ifreq_int.  Patch by Mark Kettenis <kettenis@wins.uva.nl>.
1468         * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
1469         _dl_catch_error calls.
1471 2001-06-22  Jakub Jelinek  <jakub@redhat.com>
1473         * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
1474         typos.
1476 2001-06-01  Wolfram Gloger  <wg@malloc.de>
1478         * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
1479         ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
1480         when malloc_atfork is in use.
1482 2001-06-22  Andreas Jaeger  <aj@suse.de>
1484         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
1485         to avoid warnings.
1487         * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
1488         variable.
1489         Add unused attributes to avoid warnings.
1491         * elf/reldep4mod4.c: Add prototype to avoid warning.
1492         * elf/reldep4mod2.c: Likewise.
1494         * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
1495         prototypes.
1497 2001-06-18  Roland McGrath  <roland@frob.com>
1499         * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
1501 2001-06-20  Alexandre Oliva  <aoliva@redhat.com>
1503         * sysdeps/unix/sysv/settimeofday.c: Include time.h.
1505 2001-06-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1507         * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
1509 2001-05-09  Michael Keezer  <mkeezer@redhat.com>
1511         * Makeconfig: Added AIX-ld support for DSO.
1512         * Makerules: Likewise.
1513         * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
1514         (defaultmod2.so): Likewise.
1515         * debug/Makefile: Conditionalize use of elf/ld.so.
1516         * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
1518         * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
1519         * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
1520         (f/g)prrest(0/1) static only.
1521         * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
1522         * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
1523         shared.
1524         * sysdeps/unix/sysv/aix/setitimer.c: New file.
1525         * sysdeps/unix/sysv/aix/sleep.c: New file.
1526         * sysdeps/unix/sysv/aix/usleep.c: New file.
1527         * sysdeps/unix/sysv/aix/dl-addr.c: New file.
1528         * sysdeps/unix/sysv/aix/dl-error.c: New file.
1529         * sysdeps/unix/sysv/aix/dl-support.c: New file.
1530         * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
1532 2001-06-19  Ulrich Drepper  <drepper@redhat.com>
1534         * po/es.po: Update from translation team.
1536 2001-06-19  Andreas Jaeger  <aj@suse.de>
1538         * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
1540         * math/libm-test.inc (tanh_test): Test for 2^-56.
1542         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
1543         equals argument when x < 2^-55.
1544         Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1546 2001-06-17  Alan Modra  <amodra@bigpond.net.au>
1548         * sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs
1549         at unaligned address.
1551 2001-06-18  Ulrich Drepper  <drepper@redhat.com>
1553         * posix/regex.c: Reorganize code to build code twice, once for single
1554         byte, once for multi-byte charsets.  Choose function set adequate for
1555         locale at runtime.
1556         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
1558         * po/nl.po: Update from translation team.
1560 2001-06-09  Bruno Haible  <haible@clisp.cons.org>
1562         * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
1563         (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
1564         * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
1566 2001-05-26  Bruno Haible  <haible@clisp.cons.org>
1568         * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
1569         * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
1571 2001-06-17  Roland McGrath  <roland@frob.com>
1573         * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
1574         not LIO_READ + 1 (which is the value of LIO_WRITE!).
1576         * Makerules (build-module-helper-objlist): New variable,
1577         broken out of build-module.  Insert --whole-archive/--no-whole-archive
1578         immediately each *_pic.a file in the link object list.
1579         (whole-archive): New variable, used by that.
1580         (build-module-objlist): New variable using build-module-helper-objlist.
1581         (build-module, build-module-helper): Use it.
1582         (build-shlib-objlist): New variable using build-module-helper-objlist.
1583         (build-shlib): Use that.
1584         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
1586         * posix/spawni.c: Moved to ...
1587         * sysdeps/posix/spawni.c: ... here.
1588         * sysdeps/generic/spawni.c: New file.
1590 2001-06-16  Roland McGrath  <roland@frob.com>
1592         * hurd/Makefile (routines): Add lookup-retry.
1593         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
1594         * hurd/lookup-retry.c: ... into here, new file.
1595         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
1596         using of duplicate code here.
1598         * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
1600 2001-06-17  Ulrich Drepper  <drepper@redhat.com>
1602         * po/ja.po: Update from translation team.
1604 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
1606         * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
1607         compare_files): New functions.
1608         (write_locale_data): Use xmalloc.  Compare the file with the locale
1609         data files for the same category in other locales, and reuse it if
1610         possible and safe.
1612 2001-06-07  Mark Kettenis  <kettenis@gnu.org>
1614         * grp/initgroups.c (initgroups): Factor out re-usable code into...
1615         (internal_getgrouplist): ... new function.
1616         (getgrouplist): New function.
1617         * grp/grp.h (getgrouplist): New prototype.
1618         * grp/Versions [2.2.4]: Add getgrouplist.
1620 2001-06-16  Ulrich Drepper  <drepper@redhat.com>
1622         * inet/netinet/ip6.h: Fix comments in ip6_hdr.
1623         Patch by Pekka Savola <pekkas@netcore.fi>.
1625 2001-06-15  Roland McGrath  <roland@frob.com>
1627         * rt/Makefile (aio-routines, clock-routines, timer-routines): New
1628         variables, broken out of librt-routines.
1629         (librt-routines): Set using those.
1630         (extra-libs, extra-libc-others, tests): Set these unconditionally.
1631         (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
1632         * sysdeps/generic/aio_fsync.c: New file.
1633         * sysdeps/generic/aio_misc.c: New file.
1634         * sysdeps/generic/aio_write.c: New file.
1635         * sysdeps/generic/aio_write64.c: New file.
1636         * sysdeps/generic/aio_read64.c: New file.
1637         * sysdeps/generic/aio_read.c: New file.
1638         * sysdeps/generic/aio_notify.c: New file.
1639         * sysdeps/generic/lio_listio64.c: New file.
1640         * sysdeps/generic/lio_listio.c: New file.
1641         * sysdeps/generic/aio_cancel.c: New file.
1642         * sysdeps/generic/aio_misc.h: New file.
1643         * sysdeps/generic/aio_suspend.c: New file.
1644         * rt/aio_cancel.c: Moved to ...
1645         * sysdeps/pthread/aio_cancel.c: ... here.
1646         * rt/aio_fsync.c: Moved to ...
1647         * sysdeps/pthread/aio_fsync.c: ... here.
1648         * rt/aio_misc.c: Moved to ...
1649         * sysdeps/pthread/aio_misc.c: ... here.
1650         * rt/aio_misc.h: Moved to ...
1651         * sysdeps/pthread/aio_misc.h: ... here.
1652         * rt/aio_notify.c: Moved to ...
1653         * sysdeps/pthread/aio_notify.c: ... here.
1654         * rt/aio_read.c: Moved to ...
1655         * sysdeps/pthread/aio_read.c: ... here.
1656         * rt/aio_read64.c: Moved to ...
1657         * sysdeps/pthread/aio_read64.c: ... here.
1658         * rt/aio_suspend.c: Moved to ...
1659         * sysdeps/pthread/aio_suspend.c: ... here.
1660         * rt/aio_write.c: Moved to ...
1661         * sysdeps/pthread/aio_write.c: ... here.
1662         * rt/aio_write64.c: Moved to ...
1663         * sysdeps/pthread/aio_write64.c: ... here.
1664         * rt/lio_listio.c: Moved to ...
1665         * sysdeps/pthread/lio_listio.c: ... here.
1666         * rt/lio_listio64.c: Moved to ...
1667         * sysdeps/pthread/lio_listio64.c: ... here.
1669 2001-06-14  Roland McGrath  <roland@frob.com>
1671         * configure.in: Let sysdeps Implies files in add-ons bring in
1672         sysdeps directories from the main source and other add-ons too.
1674 2001-06-15  Jakub Jelinek  <jakub@redhat.com>
1676         * math/test-misc.c (main): Add tests for nextafter and nexttoward
1677         with +-Inf as second argument.
1679         * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
1680         NaN, not Inf.
1681         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
1682         * sysdeps/i386/fpu/s_nexttoward.c: New.
1683         * sysdeps/i386/fpu/s_nexttowardf.c: New.
1684         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
1685         check for NaN, optimize x==+-0 handling.
1686         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
1687         * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
1688         check for NaN, fix sign in x==+-0 case.
1689         * sysdeps/ia64/fpu/s_nexttoward.c: New.
1690         * sysdeps/ia64/fpu/s_nexttowardf.c: New.
1692 2001-06-15  H.J. Lu  <hjl@gnu.org>
1694         * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
1695         * rt/tst-aio3.c (do_test): Likewise.
1696         * rt/tst-aio4.c (do_test): Likewise.
1697         * rt/tst-aio5.c (do_test): Likewise.
1698         * rt/tst-aio6.c (do_test): Likewise.
1700 2001-06-15  Andreas Schwab  <schwab@suse.de>
1702         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
1703         * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
1705 2001-06-15  Andreas Jaeger  <aj@suse.de>
1707         * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
1709 2001-06-14  Andreas Schwab  <schwab@suse.de>
1711         * elf/ldconfig.c (search_dir): Fix check for regular file.
1713         * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
1714         * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
1716 2001-06-14  Roland McGrath  <roland@frob.com>
1718         * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
1719         (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
1721 2001-06-13  Roland McGrath  <roland@frob.com>
1723         * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
1725         * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
1726         so the label is not considered unused.
1728         * sysdeps/mach/hurd/pwrite64.c: New file.
1729         * sysdeps/mach/hurd/pread64.c: New file.
1731         * sysdeps/mach/hurd/pread.c
1732         (__libc_pread): Define this name, with __pread as an alias.
1733         * sysdeps/mach/hurd/pwrite.c
1734         (__libc_pwrite): Define this name, with __pwrite as an alias.
1736         Implement POSIX "shared memory objects" as regular
1737         files residing in the /var/run/shm/ directory.
1738         This works on any system that supports _POSIX_MAPPED_FILES,
1739         to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
1740         * sysdeps/posix/shm_open.c: New file.
1741         * sysdeps/posix/shm_unlink.c: New file.
1742         * sysdeps/mach/hurd/bits/posix_opt.h
1743         (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
1745         * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
1746         Use raise instead of __aio_sigqueue.
1748         * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
1749         * sysdeps/mach/hurd/pwrite.c: Likewise.
1751         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
1752         [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
1753         as default version set.
1755 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
1757         * libio/iolibio.h (_IO_freopen): Correct last parameter to
1758         _IO_file_open.
1759         (_IO_freopen64): Likewise.
1760         Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
1762         * elf/elf.h: Add a few more EM_* constants.
1764 2001-06-12  Bruno Haible  <haible@clisp.cons.org>
1766         * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
1768 2001-06-09  Ben Collins  <bcollins@debian.org>
1770         * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
1771         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1772         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1773         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1774         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1775         * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
1776         hardcoded B400000.
1778 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
1780         * time/sys/time.h: Don't use enum __itimer_which ever for
1781         __itimer_which_t for C++.
1782         Reported by Martin Buchholz <martin@xemacs.org>.
1784         * po/fr.po: Update from translation team.
1786 2001-06-12  H.J. Lu  <hjl@gnu.org>
1788         * configure.in: Fix typos in missing program names.
1789         * configure: Regenerated.
1791 2001-06-12  Andreas Jaeger  <aj@suse.de>
1793         * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
1795         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1797 2001-06-11  Andreas Jaeger  <aj@suse.de>
1799         * sysdeps/ieee754/ldbl-128/e_coshl.c: New file.  Contributed by
1800         Stephen L Moshier <moshier@mediaone.net>.
1802         * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
1804         * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1805         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1807 2001-06-11  Michael Deutschmann  <michael@talamasca.ocis.net>
1809         * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
1810         Use my_signo instead of MY_SIGNO and initialize it so that the
1811         used signal is always available.
1813 2001-06-11  Andreas Jaeger  <aj@suse.de>,
1814             Michael Deutschmann  <michael@talamasca.ocis.net>
1816         * io/test-lfs.c (do_prepare): Clean up error messages.
1817         (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
1818         (do_test): Likewise.
1820 2001-06-11  Andreas Jaeger  <aj@suse.de>
1822         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
1823         IMAXBEL): Make always visible since they're needed by POSIX.
1824         Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
1826 2001-06-10  Ben Collins  <bcollins@debian.org>
1828         * sysdeps/arm/elf/start.S: Use #function, not @function, for
1829         .type of _start.
1831         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
1832         INT_MAX.
1834 2001-06-07  H.J. Lu  <hjl@gnu.org>
1836         * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
1838 2001-06-10  Roland McGrath  <roland@frob.com>
1840         * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
1841         * elf/reldep4mod4.c: Likewise.
1843 2001-06-10  Mark Kettenis  <kettenis@gnu.org>
1845         * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
1847 2001-06-08  Andreas Schwab  <schwab@suse.de>
1849         * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
1850         Don't dereference at end of string.
1852 2001-06-06  Roland McGrath  <roland@frob.com>
1854         * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
1855         From Robert Bihlmeyer <robbe@orcus.priv.at>.
1857 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1859         * po/ko.po: Update from translation team.
1861 2001-06-06  Andreas Jaeger  <aj@suse.de>
1863         * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
1864         offset+length-1.
1865         Reported by Robert Bernecky <bernecky@acm.org>.
1867 2001-06-06  Jakub Jelinek  <jakub@redhat.com>
1869         * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
1870         * sysdeps/ia64/elf/start.S: Likewise.
1871         * sysdeps/sh/elf/start.S: Likewise.
1872         * sysdeps/s390/s390-32/elf/start.S: Likewise.
1873         * sysdeps/s390/s390-64/elf/start.S: Likewise.
1875 2001-06-05  Matthew Wilcox  <willy@ldl.fc.hp.com>
1877         * sysdeps/hppa/bsd-_setjmp.S: New.
1878         * sysdeps/hppa/bsd-setjmp.S: New.
1880         * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
1881         gcc warnings about multi-line strings.
1883         * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
1884         * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
1886         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
1887         setrlimit directly instead of using wrappers.
1889 2001-05-01  Richard Hirst  <rhirst@linuxcare.com>
1891         * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
1892         * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
1894 2001-06-05  Philipp Thomas  <pthomas@suse.de>
1896         * nis/nis_call.c (__nisbind_connect): Don't mark for translation
1897         what can't be translated.
1899 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1901         * timezone/zic.c: Update from tzcode2001c.
1902         * timezone/private.h: Likewise.
1903         * timezone/africa: Update from tzdata2001c.
1904         * timezone/asia: Likewise.
1905         * timezone/europe: Likewise.
1906         * timezone/northamerica: Likewise.
1907         * timezone/southamerica: Likewise.
1908         * timezone/zone.tab: Likewise.
1910 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
1912         * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
1913         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
1914         UNICODE_TAG_HANDLER.
1915         (__gconv_transform_internal_ucs2): Likewise.
1916         (__gconv_transform_internal_ucs2reverse): Likewise.
1917         * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
1918         * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
1919         * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
1920         * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
1921         * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
1922         * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
1923         * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
1924         * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
1925         * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
1926         * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
1927         * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
1928         * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
1929         * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
1930         * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
1931         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1932         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1933         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1934         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1935         * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
1936         * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
1937         * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
1938         * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
1939         * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
1940         * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
1941         * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
1942         * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
1943         * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
1944         * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
1945         * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
1946         * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
1947         * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
1948         * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
1949         TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
1950         TAG_language_zh, CURRENT_TAG_MASK): New enum values.
1951         (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
1952         is already selected but set2 or tag are set.
1953         (conversion): New enum type.
1954         (cvlist_t): New type.
1955         (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
1956         (conversion_lists): New array.
1957         (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag.  If "ja",
1958         prefer conversion to Japanese character sets.  If "zh", prefer
1959         conversion to GB2312.  If "ko", prefer conversion to KSC5601.  Small
1960         optimizations.
1961         (INIT_PARAMS): Add tag.
1962         (UPDATE_PARAMS): Add tag.
1964 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
1966         * locale/programs/locfile.c (write_locale_data): Before creat(),
1967         unlink the file, to avoid crashing the processes that mmap it.  Change
1968         a double slash to a single slash.  Free fname in case of error return.
1970 2001-06-02  Jakub Jelinek  <jakub@redhat.com>
1972         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
1973         changes, do the special handling for denormal numbers, not for
1974         normalized numbers (patch by <trevin@xmission.com>).
1976         * math/test-misc.c (main): Test frexpl with denormal arguments.
1978 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1980         * math/libm-test.inc (llround_test): Add two new llround tests.
1981         * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
1982         overflow when rounding away from zero.
1984 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1986         * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
1987         * math/math_private.h (__ieee754_log2, __ieee754_log2f,
1988         __ieee754_log2l): New prototypes.
1989         * sysdeps/generic/w_log2.c: New file.
1990         * sysdeps/generic/w_log2f.c: New file.
1991         * sysdeps/generic/w_log2l.c: New file.
1992         * sysdeps/generic/s_log2l.c: Move...
1993         * sysdeps/generic/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
1994         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
1995         and log2(x < 0).
1996         * sysdeps/i386/fpu/s_log2.S: Move...
1997         * sysdeps/i386/fpu/e_log2.S: ...to here.  Rename to __ieee754_log2.
1998         * sysdeps/i386/fpu/s_log2f.S: Move...
1999         * sysdeps/i386/fpu/e_log2f.S: ...to here.  Rename to __ieee754_log2f.
2000         * sysdeps/i386/fpu/s_log2l.S: Move...
2001         * sysdeps/i386/fpu/e_log2l.S: ...to here.  Rename to __ieee754_log2l.
2002         * sysdeps/m68k/fpu/s_log2.c: Move...
2003         * sysdeps/m68k/fpu/e_log2.c: ...to here.  Rename to __ieee754_log2.
2004         * sysdeps/m68k/fpu/s_log2f.c: Move...
2005         * sysdeps/m68k/fpu/e_log2f.c: ...to here.  Rename to __ieee754_log2f.
2006         * sysdeps/m68k/fpu/s_log2l.c: Move...
2007         * sysdeps/m68k/fpu/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
2008         * sysdeps/ieee754/dbl-64/s_log2.c: Move...
2009         * sysdeps/ieee754/dbl-64/e_log2.c: ...to here.  Rename to
2010         __ieee754_log2.
2011         * sysdeps/ieee754/flt-32/s_log2f.c: Move...
2012         * sysdeps/ieee754/flt-32/e_log2f.c: ...to here.  Rename to
2013         __ieee754_log2f.
2015 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
2017         * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
2018         even arguments which result in denormalized exp2 are accepted.
2019         (__exp2): Arguments equal to u_threshold already result into
2020         underflow.
2021         * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
2022         * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
2023         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
2024         low, with corrected lowmark use greaterequal, not greater.
2025         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2027 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
2029         * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
2030         * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
2031         * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
2032         * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
2033         * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
2034         * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
2035         * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
2036         * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
2038 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
2040         * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
2041         gave non-finite result instead of using constant in generic
2042         version.
2043         * sysdeps/generic/w_coshf.c (__coshf): Likewise.
2044         * sysdeps/generic/w_cosh.c (__cosh): Likewise.
2045         * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
2046         (__exp10): Test if finite argument gave non-finite result.
2047         * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
2048         Likewise.
2049         * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
2050         Likewise.
2052 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
2054         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
2055         overflow threshold constant (log(LDBL_MAX)+M_LN2l).
2057 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
2059         * locale/programs/ld-ctype.c (idx_table): New struct type.
2060         (idx_table_init, idx_table_get, idx_table_add): New functions.
2061         (MAX_CHARNAMES_IDX): Remove macro.
2062         (locale_ctype_t): Change type of charnames_idx field.
2063         (ctype_startup): Change initialization of charnames_idx field.
2064         (find_idx): Use idx_table_get and idx_table_add for speed.
2066         * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
2067         computation of characters in a range.
2069 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
2071         * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
2072         <U03F5>.
2073         (__ucs_to_gb18030_tab1): Likewise.
2074         (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
2075         (BODY for TO_LOOP): Likewise.
2076         * iconvdata/tst-table-charmap.sh: Update for charmaps containing
2077         <U00xxxxxx> syntax.
2078         * iconvdata/tst-table-from.c (bmp_only): New variable.
2079         (utf8_decode): If bmp_only, don't return characters outside Unicode
2080         plane 0.
2081         (main): When testing UTF-8 or GB18030, set bmp_only to 1.  Don't print
2082         a conversion line if utf8_decode returns NULL.
2083         * iconvdata/tst-table-to.c (main): When testing encodings other than
2084         UTF-8 and GB18030, loop upto U+30000 instead of U+10000.  Use UTF-8
2085         instead of UCS-2 as input.
2086         * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
2087         of the charmap.
2089 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
2091         * iconvdata/cns11643l1.c: Update to Unicode 3.1.
2092         (__cns11643l1_to_ucs4_tab): Regenerated.
2093         (__cns11643l1_from_ucs4_tab12): Regenerated.
2094         * iconvdata/cns11643.c: Update to Unicode 3.1.
2095         (__cns11643l14_to_ucs4_tab): Remove array.
2096         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
2097         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
2098         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
2099         (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
2100         (__cns11643_from_ucs4p2_tab): New array.
2101         * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
2102         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
2103         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
2104         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
2105         (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
2106         (__cns11643_from_ucs4_tab): Remove declaration.
2107         (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
2108         declarations.
2109         (ucs4_to_cns11643): Update for new arrays.  Treat U+3400..U+4DFF and
2110         U+20000..U+2A6D6.
2111         * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
2112         declaration.
2113         (__cns11643_from_ucs4p0_tab): New declaration.
2114         (ucs4_to_cns11643l2): Update for new arrays.
2115         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
2116         3 to 7.
2117         (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
2118         * iconvdata/EUC-TW.irreversible: New file.
2119         * iconvdata/tst-table.sh: Use it.
2120         * iconvdata/Makefile (distribute): Add CP1255.irreversible,
2121         CP1258.irreversible, EUC-TW.irreversible.
2123 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
2125         * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
2126         mathematical symbols.
2128 2001-06-05  Andreas Jaeger  <aj@suse.de>
2130         * manual/stdio.texi (Portable Positioning): Fix description of
2131         fpos_t and fpos64_t.
2133 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
2135         * sysdeps/generic/wordexp.c: Undo last patch.  Use strndupa instead.
2137         * po/sk.po: Update from translation team.
2139 2001-06-05  Andreas Jaeger  <aj@suse.de>
2141         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
2142         tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
2143         Closes PR libc/2315.
2145 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
2147         * sysdeps/generic/wordexp.c: Add missing free.
2148         Patch by yeti@physics.muni.cz.
2150 2001-06-02  Tom Browder  <tbrowder@home.com>
2152         * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
2153         within bounds when lag > 0.
2155 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
2157         * po/tr.po: New file.
2159 2001-06-05  Andreas Jaeger  <aj@suse.de>
2161         * manual/libm-err-tab.pl (parse_ulps): Fix typo.
2163 2001-06-04  H.J. Lu  <hjl@gnu.org>
2165         * sysdeps/alpha/elf/start.S: Add .type for the entry point.
2166         * sysdeps/arm/elf/start.S: Likewise.
2167         * sysdeps/hppa/elf/start.S: Likewise.
2168         * sysdeps/i386/elf/start.S: Likewise.
2169         * sysdeps/m68k/elf/start.S: Likewise.
2170         * sysdeps/mips/elf/start.S: Likewise.
2171         * sysdeps/ia64/elf/start.S: Likewise.
2172         * sysdeps/sh/elf/start.S: Likewise.
2173         * sysdeps/s390/s390-32/elf/start.S: Likewise.
2174         * sysdeps/s390/s390-64/elf/start.S: Likewise.
2175         * sysdeps/cris/elf/start.S: Likewise.
2177 2001-06-04  Bruce Mitchener  <bruce@cubik.org>
2179         * manual/resource.texi: Correct setpriority/nice documentation.
2181         * sysdeps/unix/nice.c: Correct nice() implementation.
2183 2001-06-04  Andreas Jaeger  <aj@suse.de>
2185         * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
2186         Stephen L Moshier <moshier@mediaone.net>.
2188 2001-06-03  Roland McGrath  <roland@frob.com>
2190         * Makefile (postclean): Remove obsolete sysd-Makefile.
2192 2001-06-01  Roland McGrath  <roland@frob.com>
2194         * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
2195         and use compat_symbol/versioned_symbol instead of plain
2196         symbol_version/default_symbol_version.
2197         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
2198         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
2199         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
2200         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
2201         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
2202         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
2203         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
2204         * sysdeps/arm/fpu/fegetenv.c: Likewise.
2205         * sysdeps/arm/fpu/fesetenv.c: Likewise.
2206         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
2207         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
2208         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
2209         * sysdeps/i386/fpu/fegetenv.c: Likewise.
2210         * sysdeps/i386/fpu/fesetenv.c: Likewise.
2211         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
2212         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
2213         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2214         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
2215         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
2216         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
2217         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
2218         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
2219         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
2220         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
2221         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
2222         * sysdeps/powerpc/fclrexcpt.c: Likewise.
2223         * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
2224         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2225         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2226         * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
2227         * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
2228         * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
2230         * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
2231         * iconvdata/iso-2022-cn-ext.c: Likewise.
2233 2001-06-01  Andreas Jaeger  <aj@suse.de>
2235         * Versions.def: Add version 2.2.4.
2237 2001-06-01  Ulrich Drepper  <drepper@redhat.com>
2239         * socket/Makefile (routines): Add sockatmark.
2240         * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
2241         * socket/sys/socket.h: Add prototype for sockatmark.
2242         * sysdeps/generic/sockatmark.c: New file.
2243         * sysdeps/unix/sockatmark.c: New file.
2245 2001-06-01  Andreas Jaeger  <aj@suse.de>
2247         * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
2248         B4000000.
2249         (cfsetospeed): Likewise.
2250         Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
2252 2001-05-31  Joseph S. Myers  <jsm28@cam.ac.uk>
2254         * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
2256 2001-05-30  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2258         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
2259         needs to have the same aligment as the kernel structure.
2261 2001-05-29  Jakub Jelinek  <jakub@redhat.com>
2263         * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
2264         u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
2265         * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
2266         u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
2267         against multiple definition.
2269 2001-05-30  Ulrich Drepper  <drepper@redhat.com>
2271         * po/da.po: Update from translation team.
2273 2001-05-29  Andreas Jaeger  <aj@suse.de>
2275         * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
2276         Stephen L Moshier <moshier@mediaone.net>.
2278         * math/libm-test.inc (sinh_test): Add new test case.
2280         * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
2281         x when x < 2^-32.
2282         Patch by Stephen L Moshier <moshier@mediaone.net>.
2284 2001-05-23  Andreas Jaeger  <aj@suse.de>
2286         * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
2287         * iconvdata/testdata/WINDOWS-1255..UTF8: this.
2289 2001-05-27  Andreas Jaeger  <aj@suse.de>
2291         * manual/stdio.texi (String Streams): Fix fmemopen description.
2292         Reported by Michal Kochanowicz <michal@michal.waw.pl>.
2294 2001-05-26  H.J. Lu <hjl@gnu.org>
2296         * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
2297         to s_sigsuspend.  Add s_mmap2.
2299         * sysdeps/mips/atomicity.h: New file.
2301         * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
2303         * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
2304         back __key.
2306 2001-05-25  Bruce Mitchener  <bruce@cubik.org>
2308         * manual/ctype.texi: Minor fix.
2309         * manual/install.texi: Likewise.
2310         * manual/startup.texi: Likewise.
2311         * manual/examples/dir.c: Use perror() rather than puts().
2313 2001-05-25  David Mosberger  <davidm@hpl.hp.com>
2315         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
2316         #endif directive inside a comment to avoid compiler warnings.
2318 2001-05-25  Philipp Thomas  <pthomas@suse.de>
2320         * nis/nis_print.c (nis_nstype2str): Don't mark names of
2321         naming services for translation, only UNKNOWN needs it.
2322         Add comment to prevent it for the future.
2324 2001-05-25  Joseph S. Myers  <jsm28@cam.ac.uk>
2326         * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
2327         3.1 and non-GCC C99 compilers.
2329 2001-05-22  David Mosberger  <davidm@hpl.hp.com>
2331         * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
2332         performance.
2333         * sysdeps/ia64/memcpy.S: Likewise.
2335         * sysdeps/ia64/bcopy.S: New file.
2337         * sysdeps/ia64/bzero.S: New file (derived from memset.S).
2339 2001-05-26  Ulrich Drepper  <drepper@redhat.com>
2341         * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
2343 2001-05-24  Ulrich Drepper  <drepper@redhat.com>
2345         * iconvdata/Makefile: Add rules for CP10007.
2346         * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
2347         * iconvdata/cp10007.c: New file.
2348         * iconvdata/tst-tables.sh: Add CP10007.
2350 2001-05-23  kaz Kojima  <kkojima@rr.iij4u.or.jp>
2352         * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
2353         (_dl_runtime_profile): Likewise..
2355 2001-05-23  Thorsten Kukuk  <kukuk@suse.de>
2357         * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
2358         * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
2360 2001-05-19  H.J. Lu  <hjl@gnu.org>
2362         * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
2363         errstring of the failed DSO to _dl_signal_error ().
2365 2001-05-23  Ulrich Drepper  <drepper@redhat.com>
2367         * iconvdata/gconv-modules: Add more aliases to enable use in
2368         locale names.
2370 2001-05-23  Andreas Jaeger  <aj@suse.de>
2372         * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
2373         Remove, it's not used anywhere anymore.
2374         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
2375         (CFLAGS-initfini.s): Likewise.
2376         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
2377         (CFLAGS-initfini.s): Likewise.
2378         * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
2379         Likewise.
2380         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
2381         Likewise.
2383 2001-05-21  Bruno Haible  <haible@clisp.cons.org>
2385         * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
2386         use 0 instead, and rely on the converter to do the flush.
2387         * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
2388         utf8_test.
2389         (utf8_test_2, utf8_test_3): New function.
2390         (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
2392 2001-05-22  Jakub Jelinek  <jakub@redhat.com>
2394         * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
2396         * elf/Makefile (distribute): Add reldep4mod[1234].c.
2397         (tests): Add reldep4.
2398         (modules-names): Add reldep4mod[1234].
2399         (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
2400         * elf/reldep4.c: New file.
2401         * elf/reldep4mod1.c: Likewise.
2402         * elf/reldep4mod2.c: Likewise.
2403         * elf/reldep4mod3.c: Likewise.
2404         * elf/reldep4mod4.c: Likewise.
2406 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
2408         * elf/dl-lookup.c (PROTECTED): Remove defines.
2409         (add_dependency): Mark it with internal_function.
2410         (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
2411         (_dl_lookup_symbol, _dl_lookup_symbol_skip,
2412         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
2413         it if we don't want do_lookup* inlined.
2415 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
2417         * include/link.h (struct r_scope_elem): Remove r_duplist and
2418         r_nduplist fields.
2419         * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
2420         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
2421         r_duplist.
2422         (_dl_lookup_versioned_symbol_skip): Likewise.
2423         * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
2424         (_dl_map_object_deps): Don't compute duplicate list.
2426         * elf/dl-symbol.c: Removed.
2427         * elf/Makefile (routines): Remove dl-symbol.
2429 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
2431         * po/el.po: Update from translation team.
2432         * po/sv.po: Likewise.
2434 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
2436         * iconvdata/cp1255.c: Completely rewritten.
2437         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
2438         * iconvdata/testdata/WINDOWS-1255: New file.
2439         * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
2440         * iconvdata/TESTS: Add WINDOWS-1255 test.
2441         * iconvdata/CP1255.irreversible: New file.
2443 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
2445         * iconvdata/cp1258.c: Completely rewritten.
2446         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
2447         * iconvdata/testdata/WINDOWS-1258: New file.
2448         * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
2449         * iconvdata/TESTS: Add WINDOWS-1258 test.
2450         * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
2451         the main call, and flush it afterwards.
2452         (utf8_decode): Return a string, possibly containing several Unicode
2453         characters.
2454         (main): Update all utf8_decode calls.
2455         * iconvdata/CP1258.irreversible: New file.
2457 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
2459         * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
2460         * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2.  In the
2461         first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
2462         EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
2463         the next step.  In the second case, clear the state without calling
2464         EMIT_SHIFT_TO_INIT.
2465         * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
2466         data->__outbuf, and outend instead of data->__outbufend.
2467         * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
2468         * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
2469         * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
2470         * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
2471         * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
2472         * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
2473         * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
2474         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
2475         * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
2477 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
2479         * elf/rtld.c (dl_main): Compute l_map_end for the main program.
2480         * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
2481         If match == _dl_loaded, caller can still come from the main program.
2482         (_dl_vsym): Likewise.
2483         * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
2484         * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
2485         * elf/restest2.c: New test.
2486         * elf/Makefile (tests): Add restest2.
2487         (restest2, LDFLAGS-restest2): Add rules.
2489 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
2491         * intl/Makefile: Add a few more dependencies to avoid races in the
2492         test shell scripts.
2494 2001-05-22  Andreas Jaeger  <aj@suse.de>
2496         * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
2497         Stephen L Moshier <moshier@mediaone.net>.
2499 2001-05-22  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2501         * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
2502         return addresses instead of the stack pointers.
2503         * sysdeps/s390/s390-64/backtrace.c: Likewise.
2505 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
2507         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
2508         bits/sigcontext.h instead of bits/sigstack.h.
2509         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
2510         multiple-inclusion guards.
2512 2001-05-21  Andreas Jaeger  <aj@suse.de>
2514         * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
2515         Patch by Philipp Thomas <pthomas@suse.de>.
2517 2001-05-17  Bruce Mitchener  <bruce@cubik.org>
2519         * manual/arpg.texi: Spelling, misc fixes.
2520         * manual/arith.texi: Likewise.
2521         * manual/crypt.texi: Likewise.
2522         * manual/debug.texi: Likewise.
2523         * manual/getopt.texi: Likewise.
2524         * manual/intro.texi: Likewise.
2525         * manual/memory.texi: Likewise.
2526         * manual/nss.texi: Likewise.
2527         * manual/pattern.texi: Likewise.
2528         * manual/process.texi: Likewise.
2529         * manual/resource.texi: Likewise.
2530         * manual/search.texi: Likewise.
2531         * manual/setjmp.texi: Likewise.
2532         * manual/signal.texi: Likewise.
2533         * manual/socket.texi: Likewise.
2534         * manual/stdio.texi: Likewise.
2535         * manual/string.texi: Likewise.
2536         * manual/sysinfo.texi: Likewise.
2537         * manual/terminal.texi: Likewise.
2538         * manual/llio.texi: Document madvise().
2540 2001-05-20  Roland McGrath  <roland@frob.com>
2542         * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
2543         found within $(add-ons) directories too.
2544         [linuxthreads add-on]: Move variable settings for linuxthreads
2545         to new file linuxthreads/Makeconfig.
2547 2001-05-20  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2549         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2550         Define for linux >= 2.4.5 on powerpc.
2551         (__ASSUME_MMAP2_SYSCALL): Likewise.
2553 2001-05-19  Roland McGrath  <roland@frob.com>
2555         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
2556         result port when failing with ELOOP.  Do the ELOOP check when
2557         following an absolute symlink target as well as relative.
2558         Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
2560 2001-05-18  Andreas Jaeger  <aj@suse.de>
2562         * po/fr.po: Free software is "logiciel libre".
2563         Patch by Martin Michlmayr <tbm@cyrius.com>.
2565         * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
2566         Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
2568 2001-05-17  David Mosberger  <davidm@hpl.hp.com>
2570         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
2572 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
2574         * elf/dl-profile.c (_dl_mcount): Check whether state is
2575         GMON_PROF_ON before doing anything.
2577 2001-05-17  H.J. Lu  <hjl@gnu.org>
2579         * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
2581 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
2583         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
2584         CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
2585         Reported by Mark Burton <markb@ordern.com>.
2587 2001-05-17  Jakub Jelinek  <jakub@redhat.com>
2589         * elf/ldconfig.c (add_dir): Only warn about stat failure if
2590         opt_verbose.
2591         (search_dir): Likewise.
2593 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
2595         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
2596         parameter of xaddl.  Patch by H . J . Lu <hjl@lucon.org>.
2598 2001-05-14  Bruno Haible  <haible@clisp.cons.org>
2600         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
2601         without previous announcement, reject it regularly, don't abort.
2603 2001-05-16  Ulrich Drepper  <drepper@redhat.com>
2605         * math/tgmath.h: Fix handling of int parameters to binary and
2606         ternary functions.  Reported by mitr@volny.cz.
2608         * math/test-tgmath.c: Add tests for calls with integer parameters.
2610 2001-05-15  Jakub Jelinek  <jakub@redhat.com>
2612         * sunrpc/rpc_thread.c (rpc_default): Remove.
2613         (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
2614         rpc_default.
2615         (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
2616         __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
2617         * sunrpc/auth_none.c (authnone_private): Fix a typo.
2619 2001-05-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2621         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
2623 2001-05-16  Bruce Mitchener  <bruce@cubik.org>
2625         * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
2627 2001-05-15  Andreas Jaeger  <aj@suse.de>
2629         * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
2630         Stephen L Moshier <moshier@mediaone.net>.
2632         * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
2634         * math/libm-test.inc: Add comment with ToDo.
2636         * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
2637         accurate algorithm.  Patch by Stephen L Moshier <moshier@mediaone.net>.
2639         * sysdeps/i386/fpu/e_expl.S: Removed.
2641 2001-05-14  Roland McGrath  <roland@frob.com>
2643         * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
2644         static pattern rule also that also covers
2645         $(objpx)g$(static-start-installed-name).
2646         [$(start-installed-name) != $(static-start-installed-name)]
2647         (extra-objs, omit-deps, install-lib): Add
2648         $(static-start-installed-name) and g$(static-start-installed-name).
2649         * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
2650         just setting static-start-installed-name is now sufficient.
2651         (extra-objs): Add static-start.o here.
2652         (CFLAGS-initfini.s): Remove obsolete variable.
2653         * sysdeps/mach/hurd/i386/Makeconfig: New file.
2654         Define static-start-installed-name here.
2656         * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
2657         * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
2659         * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
2660         associated hair.  Instead, just use $(wildcard ...) in the include.
2662         * configure.in (critic_missing, aux_missing): Collect in these vars
2663         the names of the missing programs, and include them in the error msgs.
2664         * configure: Regenerated.
2666 2001-05-14  Andreas Jaeger  <aj@suse.de>
2668         * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
2670         * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
2672 2001-05-14  Stephen L Moshier <moshier@mediaone.net>
2674         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
2676 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
2678         * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
2679         as well if swapping strings.
2680         Make sure stop is not past end of second string.
2681         * posix/bug-regex4.c: New test.
2682         * posix/Makefile (tests): Add bug-regex4.
2684 2001-05-10  Andreas Jaeger  <aj@suse.de>
2686         * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
2687         requirement.
2689 2001-05-12  Andreas Jaeger  <aj@suse.de>
2691         * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
2692         internal prototypes.
2693         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2694         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2695         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2696         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2697         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2698         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2699         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2701         * math/math_private.h: Add prototypes for internal functions of
2702         the IBM Accurate Mathematical Library.
2704         * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
2705         prototypes.
2706         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2708         * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
2709         internal prototypes.
2710         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2711         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2712         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2713         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2714         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2715         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2716         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2717         * sysdeps/generic/e_rem_pio2l.c: Likewise.
2718         (__ieee754_rem_pio2l): Fix prototype.
2720         * math/math_private.h (__copysign): Add internal prototype.
2722 2001-05-11  Andreas Jaeger  <aj@suse.de>
2724         * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
2725         * sysdeps/unix/sysv/linux/mips/configure.in: ...here.  New file.
2727 2001-05-11  Andreas Jaeger  <aj@suse.de>
2729         * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
2730         MIPS.
2732         * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
2733         format directive.  Patch by Steven J. Hill <sjhill@cotw.com>.
2735 2001-05-11  Roland McGrath  <roland@frob.com>
2737         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
2738         $(build-module) here, since we don't need the full magilla.
2739         Just use $(build-module-helper) and append our special options.
2741 2001-05-09  Andreas Schwab  <schwab@suse.de>
2743         * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
2744         reached EOF.
2746 2001-05-07  H.J. Lu  <hjl@gnu.org>
2748         * elf/ldconfig.c (dir_entry): Add ino and dev.
2749         (add_single_dir): Compare ino and dev to check if 2 directory
2750         paths are the same or not.  Free entry->path for duplicates.
2751         (add_dir): Initialize ino and dev for entry.
2752         (search_dir): Handle symlink to directory.
2754 2001-05-07  Andreas Jaeger  <aj@suse.de>
2756         * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
2758         * math/libm-test.inc (exp_test): Add some more tests.
2759         (pow_test): Run double only test also for long double.
2761         * math/test-ldouble.c (TEST_LDOUBLE): Define.
2762         * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
2764         * sysdeps/generic/bits/confname.h: Remove extra comma at end of
2765         enumeration.
2766         Closes PR libc/2240.
2768         * scripts/config.guess: Imported from gnu.org.
2769         * scripts/config.sub: Likewise.
2771 2001-05-05  Jakub Jelinek  <jakub@redhat.com>
2773         * include/features.h (__USE_EXTERN_INLINES): Don't define if
2774         __NO_INLINE__ is defined.
2775         * ctype/ctype.h (tolower, toupper): Change the guard condition to
2776         __USE_EXTERN_INLINES check only.
2777         * stdlib/stdlib.h (strtod, ...): Likewise.
2778         * wcsmbs/wchar.h (mbrlen): Likewise.
2779         * string/string.h: Only include bits/string.h and bits/string2.h
2780         if __NO_INLINE__ is not defined.
2782 2001-05-07  Andreas Jaeger  <aj@suse.de>
2784         * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
2785         of @LIBDIR@.
2787 2001-05-04  H.J. Lu  <hjl@gnu.org>
2789         * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
2790         not @LIBDIR@.
2792 2001-05-06  Andreas Jaeger  <aj@suse.de>
2794         * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
2795         * sysdeps/i386/fpu/e_fmodl.S: Removed.
2796         * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
2797         * sysdeps/i386/fpu/e_atan2l.S: Removed.
2798         * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
2799         * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
2800         * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
2801         * sysdeps/i386/fpu/e_acosl.S: Removed.
2802         * sysdeps/i386/fpu/s_atanl.S: Removed.
2803         * sysdeps/i386/fpu/e_sqrtl.S: Removed.
2805 2001-05-05  Mark Kettenis  <kettenis@gnu.org>
2807         * sysdeps/mach/hurd/bits/environments.h: Add comment from
2808         sysdeps/generic/bits/environments.h.  Define _POSIX_V6_* values.
2810 2001-04-30  Jakub Jelinek  <jakub@redhat.com>
2812         * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
2813         that _CS_LFS_CFLAGS can fall through to the empty returned string
2814         case.  Add FALLTHROUGH comment.
2816 2001-04-29  Ralf Baechle  <ralf@gnu.org>
2818         * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
2819         definitions match the kernel definitions.
2820         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
2821         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2823 2001-04-29  Ben Collins  <bcollins@debian.org>
2825         * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
2826         warnings.
2827         * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
2828         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2829         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2830         * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
2831         * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
2832         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2833         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2834         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2835         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2836         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2837         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2838         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2839         * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
2840         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2841         * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
2842         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2843         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2844         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2845         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2846         * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
2847         * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
2848         * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
2849         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2851 2001-04-29  Andreas Schwab  <schwab@suse.de>
2853         * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
2854         in last change.
2856 2001-04-29  Andreas Jaeger  <aj@suse.de>
2858         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2859         Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
2861         * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
2862         Linux 2.4.4.
2863         (AF_WANPIPE): Likewise.
2864         (MSG_MORE): New.
2866         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
2867         for Linux generic version.
2868         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
2869         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2870         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2871         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
2873         * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
2875 2001-04-27  Ulrich Drepper  <drepper@redhat.com>
2877         * nis/nss-nis.h: Correct test for invalid error number.
2878         * nis/nss-nisplus.h: Likewise.
2880         * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
2882 2001-04-26  Ulrich Drepper  <drepper@redhat.com>
2884         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
2886         * string/strcoll.c: Fix two memory allocation problems.
2887         * string/Makefile (tests): Add bug-strcoll1.
2888         * string/bug-strcoll1.c: New file.
2890         * malloc/mcheck.c (mcheck): Call malloc once before setting the
2891         hooks to allow the internal check hooks to be set up if necessary.
2893         * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
2894         and rename to __yperr2nss_tab.  Change YPERR_COUNT into variable
2895         __yperr2nss_count.
2896         * nis/nss-nis.c: New file.
2897         * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
2898         and rename to __niserr2nss_tab.  Change NISERR_COUNT into variable
2899         __niserr2nss_count.
2900         * nis/nss-nisplus.c: New file.
2901         * nis/Makefile (libnss_compat-routines): Add nss-nis.
2902         (libnss_nis-routines): Likewise.
2903         (libnss_nisplus-routines): Add nss-nisplus.
2905         * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
2906         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2907         * nis/nss_nisplus/nisplus-grp.c: Likewise.
2908         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2909         * nis/nss_nisplus/nisplus-network.c: Likewise.
2910         * nis/nss_nisplus/nisplus-proto.c: Likewise.
2911         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2912         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2913         * nis/nss_nisplus/nisplus-service.c: Likewise.
2914         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2915         * nis/nss_nis/nis-alias.c: Likewise.
2916         * nis/nss_nis/nis-ethers.c: Likewise.
2917         * nis/nss_nis/nis-grp.c: Likewise.
2918         * nis/nss_nis/nis-network.c: Likewise.
2919         * nis/nss_nis/nis-proto.c: Likewise.
2920         * nis/nss_nis/nis-pwd.c: Likewise.
2921         * nis/nss_nis/nis-spwd.c: Likewise.
2922         * nis/nss_compat/compat-grp.c: Likewise.
2923         * nis/nss_compat/compat-initgroups.c: Likewise.
2924         * nis/nss_compat/compat-pwd.c: Likewise.
2925         * nis/nss_compat/compat-spwd.c: Likewise.
2927         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
2928         optimizations.  Patch by Jakub Jelinek <jakub@redhat.com>.
2930 2001-04-26  Andreas Jaeger  <aj@suse.de>
2932         * po/zh_TW.po: Update.
2933         Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
2935 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
2937         * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
2938         compiler command line.
2939         * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
2940         command line for malloc.c.
2942 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
2944         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
2945         * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
2946         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
2947         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
2948         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here.  Adjust
2949         struct msghdr for __WORDSIZE == 32.
2950         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
2951         * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here.  Adjust
2952         for __WORDSIZE == 32.
2953         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
2954         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
2955         file.
2956         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
2957         Rename from longjmp, make longjmp weak alias to it.
2959 2001-04-24  David S. Miller  <davem@redhat.com>
2961         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
2963 2001-04-25  Matthew Wilcox  <willy@ldl.fc.hp.com>
2965         * sysdeps/hppa/stackinfo.h: New file.
2966         * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
2967         * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
2968         * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
2969         * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
2970         of PA kernel features.
2972 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
2974         * locale/programs/localedef.c (main): Always set a file name for
2975         the initial locale.
2976         * locale/programs/locfile.c (locfile_read): filename is allowed to
2977         be NULL.
2979 2001-04-12  Paul Bame  <paul_bame@hp.com>
2981         * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
2982         enable flags.
2984 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
2986         * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
2987         _XBS5_LPBIG_OFFBIG): Define to -1.
2988         Fix typos.
2990         * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
2991         * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
2992         * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2993         * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2995         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
2996         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
2998 2001-03-21  Alan Modra  <alan@one.net.au>
3000         * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
3001         value from application so that constructors in non-PIC libs work.
3003 2000-12-13  Jes Sorensen  <jes@linuxcare.com>
3005         * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
3006         function pointer, hence load the jump address and gp from the
3007         function pointer before jumping.
3009 2001-04-24  Andreas Jaeger  <aj@suse.de>
3011         * sysdeps/generic/send.c (__send): Return ssize_t.
3012         * sysdeps/mach/hurd/send.c (__send): Likewise.
3013         * sysdeps/mach/hurd/recv.c (recv): Likewise.
3014         * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
3015         * sysdeps/generic/sendto.c (sendto): Likewise.
3016         * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
3017         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
3018         * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
3019         * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
3021         * socket/sys/socket.h: send* and recv* return ssize_t.
3023         * include/sys/socket.h: send returns ssize_t.
3025         * sysdeps/i386/fpu_control.h: Fix comments.
3027 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
3029         * sysdeps/ia64/Dist: Add hp-timing.c.
3030         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
3031         * posix/Makefile (distribute): Add tst-getconf.sh.
3032         * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
3034 2001-04-23  Ulrich Drepper  <drepper@redhat.com>
3036         * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
3037         * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
3038         * sysdeps/ia64/hp-timing.c: New file.
3039         * sysdeps/ia64/hp-timing.h: New file.
3040         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
3041         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
3043         * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
3044         using #ifdef whether the clock is available.
3045         * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
3047         * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
3048         it into data section.
3050         * sysdeps/unix/i386/i586/clock_getres.c: Removed.
3051         * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
3052         * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
3053         * sysdeps/unix/i386/i586/clock_settime.c: Removed.
3054         * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
3055         * sysdeps/generic/cpuclock-init.h: Removed.
3056         * sysdeps/unix/i386/i686/Implies: Removed.
3057         * sysdeps/unix/i386/i686/tempname.c: Removed.
3058         * sysdeps/i386/i686/Versions: New file.
3059         * sysdeps/unix/i386/i586/Versions: Removed.
3061         * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
3062         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
3063         * sysdeps/unix/clock_gettime.c: Likewise.
3064         * sysdeps/unix/clock_nanosleep.c: Likewise.
3065         * sysdeps/unix/clock_settime.c: Likewise.
3066         * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
3067         RANDOM_BITS use CPU clock.
3069         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
3070         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
3071         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
3072         * sysdeps/sparc/Versions: New file.
3074         * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
3075         hp-timing.h definitions.
3076         * sysdeps/generic/dl-sysdep.c: Likewise.
3078         * include/libc-internal.h: Include hp-timing.h.  Use hp_timing_t in
3079         __get_clockfreq prototype.
3081         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3082         Use hp_timing_t type.
3083         * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
3085         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
3087         * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
3088         whether named file is a regular file or a block device.
3089         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
3091 2001-04-23  Andreas Jaeger  <aj@suse.de>
3093         * nscd/nscd.h: Add noreturn attribute for start_threads.
3095 2001-04-22  Ulrich Drepper  <drepper@redhat.com>
3097         * posix/getconf.c: Fix names of XBS5 LFS test variables.
3098         Add missing configuration variables from XPG6.
3099         * posix/tst-getconf.c: New file.
3100         * posix/Makefile (generated): Add tst-getconf.out.
3101         (tests): Add ($objpfx)tst-getconf.out.
3102         Add rule to run tst-getconf.sh.
3103         * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
3104         from XPG6.
3105         * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
3106         _PC_SYMLINK_MAX.
3107         * sysdeps/posix/pathconf.c: Likewise.
3108         * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
3109         and _SC_SYMLOOP_MAX.
3111 2001-04-22  Philip Blundell  <philb@gnu.org>
3113         * sysdeps/arm/fpu/feenablxcpt.c: New file.
3114         * sysdeps/arm/fpu/fedisablxcpt.c: New file.
3115         * sysdeps/arm/fpu/fegetexcpt.c: New file.
3117 2001-04-22  Philip Blundell  <philb@gnu.org>
3119         * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
3120         Renamed from struct user_fp.
3121         (struct user_regs): New.
3122         (struct user): Use struct user_regs rather than struct pt_regs to
3123         avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
3124         of struct user_fp and struct user_fp_struct.
3125         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
3126         not sys/elf.h.
3128 2001-04-22  Philip Blundell  <philb@gnu.org>
3130         * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
3131         sys/procfs.h, and tell the user to include that file instead.
3132         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
3133         surrounded with #if 0.
3134         (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
3135         from sys/elf.h.
3136         (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
3137         elf_fpregset_t respectively.
3139 2001-04-22  Philip Blundell  <philb@gnu.org>
3141         * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
3142         address that faulted.
3144 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
3146         * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
3147         values.
3148         * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
3149         * posix/confstr.c: Handle _CS_POSIX_V6_* values.
3150         * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
3151         * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
3153         * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
3154         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3155         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3156         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
3158 2001-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3160         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
3161         offset.
3163 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
3165         * posix/getopt.h: Treat __cplusplus like __STDC__.
3167 2001-04-20  John S. Marvin  <jsm@fc.hp.com>
3169         * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
3170         entry point stub.
3172 2001-04-20  Richard Hirst  <rhirst@linuxcare.com>
3174         * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
3175         and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
3177         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
3178         entry so the ptrace.c wrapper is used.
3180 2001-04-20  Alan Modra  <amodra@one.net.au>
3182         * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
3183         (DL_FUNCTION_ADDRESS): Define.
3184         (DL_DT_INIT_ADDRESS): Define.
3185         (DL_DT_FINI_ADDRESS): Define.
3186         * sysdeps/hppa/Versions: Add _dl_function_address.
3187         * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
3188         * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
3189         _dl_function_address.
3191 2001-04-21  Andreas Jaeger  <aj@suse.de>
3193         * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
3194         * resolv/gai_misc.c (handle_requests): Likewise.
3195         * malloc/obstack.c (print_and_abort): Likewise.
3196         * malloc/mcheck.c (mabort): Likewise.
3198         * sysdeps/unix/i386/i586/clock_settime.c: Include
3199         "libc-internal.h" for __get_clockfreq declaration.
3201 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
3203         * elf/dl-support.c: Include cpuclock-init.h.  Use CPUCLOCK_VARDEF and
3204         CPUCLOCK_INIT if defined.
3205         * sysdeps/generic/dl-sysdep.c: Likewise.
3206         * sysdeps/generic/cpuclock-init.h: New file.
3207         * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
3208         * sysdeps/unix/i386/i586/Versions: New file.
3209         * sysdeps/unix/i386/i586/clock_settime.c: New file.
3210         * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
3211         separately by calling __pthread_clock_gettime if this function is
3212         available.  Subtract offset from tsc value before computing time value.
3214 2001-04-20  Ulrich Drepper  <drepper@redhat.com>
3216         * iconv/iconv_prog.c (print_known_names): If printing goes not to
3217         a tty print in a more machine-friendly way.
3219         * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
3220         Contributed by Stephen L Moshier <moshier@mediaone.net>.
3222 2001-04-20  Andreas Jaeger  <aj@suse.de>
3224         * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
3226 2001-04-20  Andreas Schwab  <schwab@suse.de>
3228         * sysdeps/m68k/fpu/libm-test-ulps: Update.
3230 2001-04-19  Alan Modra  <amodra@one.net.au>
3232         * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
3233         * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
3234         (CFLAGS-.os): Remove.
3236         * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
3238         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
3239         gregset): Correct for new kernel definitions.
3241 2001-04-19  Alan Modra  <alan@linuxcare.com.au>
3243         * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
3244         generate unwind info by hand.
3246 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
3248         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
3250         * configure.in: Correct regular expression for msgfmt.
3251         Patch by Bruno Haible <haible@ilog.fr>.
3253 2001-04-19  Andreas Jaeger  <aj@suse.de>
3255         * po/el.po: Add comment explaining what's broken.
3257         * po/Makefile (BROKEN_LINGUAS): New.
3258         (ALL_LINGUAS): Don't add broken languages.
3260 2001-04-19  Roland McGrath  <roland@frob.com>
3262         * sysdeps/mach/hurd/mlock.c: New file.
3263         * sysdeps/mach/hurd/munlock.c: New file.
3264         * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
3266         * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
3267         * sysdeps/generic/mlock.c: New file.
3268         * sysdeps/generic/munlock.c: New file.
3269         * sysdeps/generic/mlockall.c: New file.
3270         * sysdeps/generic/munlockall.c: New file.
3271         * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
3272         * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
3273         mlockall, munlockall): Change caller field to - from EXTRA.
3274         Don't use __ names; not used (and not declared in include/sys/mman.h).
3276         * hurd/privports.c (__get_privileged_ports): Renamed with __.
3277         Use __ names for calls we make.
3278         (get_privileged_ports): Add alias.
3279         * hurd/hurd.h: Declare it with the __ name.
3280         * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
3281         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
3282         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
3284         * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
3285         nothing if it's zero.
3287 2001-04-19  Matthew Wilcox  <willy@ldl.fc.hp.com>
3289         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
3290         Change to return a signed result for compatibility with other
3291         architectures, and correctness.
3293 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
3295         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
3296         HPPA always had them.  Patch by Matthew Wilcox <matthew@wil.cx>.
3298 2001-04-19  Andreas Jaeger  <aj@suse.de>
3300         * configure.in: Require gettext 0.10.36 or newer.
3302         * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
3304         * po/zh_TW.po: Remove extraneous backslashes.
3306         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
3307         variables b and n.
3309 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
3311         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
3312         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
3313         * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
3314         * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
3315         Copy first word of uc_sigmask into __uc_sigmask.
3316         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
3317         Save uc_link around trap.  Copy __uc_sigmask into first word of
3318         uc_sigmask, clear the rest.  Make sure setcontext to the created
3319         context doesn't do this though.
3320         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
3321         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
3322         uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
3323         64bit version, make uc_sigmask __sigset_t in the 32bit version.
3325 2001-04-19  Andreas Jaeger  <aj@suse.de>
3327         * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
3329         * rt/Makefile (otherlibs): Added for static NSS.
3331         * glibcbug.in (BUGGLIBC): Send to new alias.
3333 2001-04-02  Andreas Schwab  <schwab@suse.de>
3335         * Makerules (build-module): Make sure exit codes get checked
3336         properly and remove unnecessary slashes.
3338 2001-04-17  Ulrich Drepper  <drepper@redhat.com>
3340         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3341         Handle kernels which report only three digits after the decimal point.
3342         Reported by Van Okamura <van.okamura@oracle.com>.
3344         * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
3346 2001-04-17  David S. Miller  <davem@redhat.com>
3348         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
3349         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3351 2001-04-17  Jakub Jelinek  <jakub@redhat.com>
3353         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
3354         desired exceptions are raised for exceptional values.
3355         * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
3356         cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
3357         clog_test, log_test, log1p_test, tan_test): Increase precision of
3358         expected values to satisfy ldbl-128.
3359         * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
3360         * sysdeps/arm/libm-test-ulps: Likewise.
3361         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3362         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3363         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
3364         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
3365         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3366         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3367         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3368         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3369         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3371 2001-04-17  Andreas Jaeger  <aj@suse.de>
3373         * configure.in: Move test for critical programs up.
3375 2001-04-16  Stephen L Moshier  <moshier@mediaone.net>
3377         * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
3378         Correct the values.
3379         (pSx, qSx): Replace by shorter approximation.
3380         Use f suffix on float constants.
3382 2001-04-16  Ulrich Drepper  <drepper@redhat.com>
3384         * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
3385         Contributed by Stephen L Moshier <moshier@mediaone.net>.
3387         * string/string.h: Replace const in attribute list with __const__.
3389 2001-04-16  Roland McGrath  <roland@frob.com>
3391         * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
3392         instead of the constant NGROUPS_MAX.  That way, the limit can be
3393         raised in the kernel configuration without having to recompile libc.
3395         * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
3396         define NGROUPS_MAX; we don't use it here.
3398 2001-04-16  Andreas Jaeger  <aj@suse.de>
3400         * math/libm-test.inc (atan2_test): Add more testcases.
3402         * iconv/gconv_db.c: Include gconv_charset.h for
3403         __gconv_lookup_alias prototype.
3405 2001-04-13  Ulrich Drepper  <drepper@redhat.com>
3407         * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
3408         Contributed by Stephen L Moshier <moshier@mediaone.net>.
3410 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
3412         * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
3414 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
3416         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
3417         explicitly pad struct siginfo instead of relying on compiler padding.
3419 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
3421         * sysdeps/ia64/Dist: Add elf/entry.h.
3423         * iconvdata/Makefile (distribute): Add TESTS2.
3425 2001-04-13  Jakub Jelinek  <jakub@redhat.com>
3427         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
3428         Calculate load address differently.
3430 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
3432         * iconvdata/TESTS2: New file.
3433         * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
3434         * iconvdata/testdata/alfabeta..UTF-8: New file.
3435         * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
3436         * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
3437         * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
3438         * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
3440 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
3442         * iconvdata/utf-32.c: New file.
3443         * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
3444         * iconvdata/Makefile (modules): Add UTF-32.
3445         (distribute): Add utf-32.c.
3447 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
3449         * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
3450         changing it in the state.  After incrementing 'inptr', store it back.
3451         * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
3452         store it back.
3454 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
3456         * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
3457         MIN_NEEDED_FROM.
3459 2001-04-11  David Mosberger  <davidm@hpl.hp.com>
3461         * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
3462         * sysdeps/ia64/htons.S: Likewise.
3464         * sysdeps/ia64/memset.S: Add unwind directives.
3465         * sysdeps/ia64/strncpy.S: Likewise.
3466         * sysdeps/ia64/strcat.S: Likewise.
3468         * sysdeps/ia64/memccpy.S: Add unwind directives.  Drop superfluous
3469         restore of ar.pfs.
3470         * sysdeps/ia64/strchr.S: Likewise.
3471         * sysdeps/ia64/memmove.S: Likewise.
3472         * sysdeps/ia64/memcpy.S: Likewise.
3473         * sysdeps/ia64/memcmp.S: Likewise.
3474         * sysdeps/ia64/memchr.S: Likewise.
3475         * sysdeps/ia64/strcmp.S: Likewise.
3476         * sysdeps/ia64/strlen.S: Likewise.
3477         * sysdeps/ia64/strcpy.S: Likewise.
3478         * sysdeps/ia64/strncmp.S: Likewise.
3480 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
3482         * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
3483         fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
3484         fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
3485         fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
3487 2001-04-11  Andreas Jaeger  <aj@suse.de>
3489         * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
3491 2001-04-11  Andreas Schwab  <schwab@suse.de>
3493         * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
3495 2001-04-11  Ulrich Drepper  <drepper@redhat.com>
3497         * sysdeps/arm/stackinfo.h: New file.
3499 2001-04-08  Thorsten Kukuk  <kukuk@suse.de>
3501         * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
3502         rpcgen to generate thread safe code.
3504 2001-04-10  Andreas Jaeger  <aj@suse.de>
3506         * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
3508 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
3510         * elf/dl-minimal.c (__assert_fail): Change error string.  It's
3511         most of the time no bug in ld.so.
3512         (__assert_perror_fail): Likewise.
3514 2001-04-11  Hans-Peter Nilsson  <hp@axis.com>
3516         * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
3517         from struct to unsigned int.
3519 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3521         * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
3522         AT_IGNOREPPC): New defines.
3523         * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
3524         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
3525         Define for newer powerpc kernels.
3526         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
3527         DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
3529 2000-4-10  kaz Kojima  <kkojima@rr.iij4u.or.jp>
3531         * sysdeps/sh/stackinfo.h: New file.
3533 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
3535         * locale/tst-C-locale.c (run_test): Add tests for locale objects.
3536         * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
3537         __ctype_tolower, and __ctype_toupper elements.
3539         * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
3540         Reported by Konstantin Osipov <rabid@spylog.ru>.
3542         * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
3543         the lousy AMD FPU.
3545 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3547         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
3548         * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
3549         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
3550         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
3552 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
3554         * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
3555         message.  Based on a patch by HJ Lu.
3557 2001-04-10  Andreas Schwab  <schwab@suse.de>
3559         * math/libm-test.inc (csinh_test): Don't require the invalid
3560         exception for csinh (x + iNaN), but make it optional.
3562 2001-04-09  David Mosberger  <davidm@hpl.hp.com>
3564         * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
3566         * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
3567         * sysdeps/ia64/elf/entry.h: New file.
3568         * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
3569         __start.
3570         * elf/rtld.c: Don't declare ENTRY_POINT.  Use ENTRY_POINT instead
3571         of &ENTRY_POINT.
3572         * sysdeps/generic/dl-sysdep.c: Likewise.
3573         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3574         * sysdeps/ia64/elf/start.S: Save base address of register backing
3575         store in __libc_ia64_register_backing_store_base.
3577 2001-04-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3579         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
3580         value of getcontext.
3581         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3582         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
3583         value of setcontext.
3584         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3585         * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
3586         call by changing the saved context.
3588 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
3590         * sysdeps/alpha/stackinfo.h: New file.
3591         * sysdeps/ia64/stackinfo.h: New file.
3593 2001-04-10  Andreas Schwab  <schwab@suse.de>
3595         * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
3596         values.
3597         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
3599 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
3601         * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
3602         * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
3604         * libio/Makefile (distribute): Add fd_to_filename.h.
3606 2001-04-05  David S. Miller  <davem@redhat.com>
3608         Add hp-timing support for sparcv9/sparc64 targets.
3609         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
3610         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
3611         * sysdeps/sparc/sparc64/hp-timing.c: New file
3612         * sysdeps/sparc/sparc64/hp-timing.h: New file
3613         * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
3614         * sysdeps/sparc/sparc64/Makefile: Likewise.
3616 2001-04-09  Jakub Jelinek  <jakub@redhat.com>
3618         * sysdeps/generic/fd_to_filename.h: New file.
3619         * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
3620         * libio/freopen.c (freopen): If FILENAME is NULL, try to get
3621         filename from the open file descriptor.
3622         * libio/freopen64.c (freopen64): Likewise.
3624 2001-04-09  Bruno Haible  <haible@clisp.cons.org>
3626         * misc/error.c (error): fflush stdout also if
3627         error_print_progname != NULL.
3628         (error_at_line): Likewise.
3630 2001-04-07  Bruno Haible  <haible@clisp.cons.org>
3632         * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
3633         (struct binding): Add codeset_cntr field.
3634         (_nl_load_domain): Add domainbinding argument.
3635         (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
3636         (_nl_find_msg): New declaration, moved here from loadinfo.h.
3637         * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
3638         (_nl_make_l10nflist): Remove domainbinding argument.
3639         (_nl_find_msg): Move declaration to gettextP.h.
3640         * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
3641         to 0.  Increment it when ->codeset is changed.
3642         * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
3643         (_nl_find_msg): Add domainbinding argument.  Reinitialize the converter
3644         if domainbinding->codeset_cntr has been incremented.
3645         * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
3646         _nl_make_l10nflist().  Pass it to _nl_load_domain() instead.
3647         * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
3648         * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
3649          from _nl_load_domain.  Append //TRANSLIT also when using libiconv.
3650         (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
3651         (_nl_load_domain): Add domainbinding argument.  Call
3652         _nl_init_domain_conv.
3653         (_nl_unload_domain): Call _nl_free_domain_conv.
3654         * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
3655         (test-srcs): Add tst-codeset.
3656         (tests): Depend on tst-codeset.out.
3657         (tst-codeset.out): New rule.
3658         (CFLAGS-tst-codeset.c): New variable.
3659         * intl/tst-codeset.sh: New file.
3660         * intl/tstcodeset.po: New file.
3661         * intl/tst-codeset.c: New file.
3662         * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
3663         calls.
3665 2001-04-07  Roland McGrath  <roland@frob.com>
3667         * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
3669 2001-03-31  Roland McGrath  <roland@frob.com>
3671         * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
3672         copying send rights into child.  When we hit our name for our proc
3673         port, just copy NEWPROC directly instead of repeating proc_task2proc
3674         to install the child's port.
3676 2001-04-08  Roland McGrath  <roland@frob.com>
3678         * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
3679         in second column, to provide default values for third column.
3680         * shlib-versions: Add comments about using DEFAULT in second column.
3681         (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
3682         (cris-.*-linux.*): Likewise.
3684 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
3686         * Makefile (distribute): Add scripts/documented.sh.
3687         * scripts/documented.sh: New file.
3689 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3691         * sysdeps/unix/sysv/linux/cris/Dist: New file.
3692         * sysdeps/unix/sysv/linux/cris/Makefile: New file.
3693         * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
3694         * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
3695         * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
3696         * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
3697         * sysdeps/unix/sysv/linux/cris/brk.c: New file.
3698         * sysdeps/unix/sysv/linux/cris/chown.c: New file.
3699         * sysdeps/unix/sysv/linux/cris/clone.S: New file.
3700         * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
3701         * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
3702         * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
3703         * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
3704         * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
3705         * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
3706         * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
3707         * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
3708         * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
3709         * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
3710         * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
3711         * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
3712         * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
3713         * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
3714         * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
3715         * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
3716         * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
3717         * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
3718         * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
3719         * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
3720         * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
3721         * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
3722         * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
3723         * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
3724         * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
3725         * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
3726         * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
3727         * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
3728         * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
3729         * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
3730         * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
3731         * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
3732         * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
3733         * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
3734         * sysdeps/unix/sysv/linux/cris/socket.S: New file.
3735         * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
3736         * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
3737         * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
3738         * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
3739         * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
3740         * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
3742 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3744         * sysdeps/cris/Dist: New file.
3745         * sysdeps/cris/Implies: New file.
3746         * sysdeps/cris/Makefile: New file.
3747         * sysdeps/cris/__longjmp.S: New file.
3748         * sysdeps/cris/_mcount.S: New file.
3749         * sysdeps/cris/bits/endian.h: New file.
3750         * sysdeps/cris/bits/setjmp.h: New file.
3751         * sysdeps/cris/bits/string.h: New file.
3752         * sysdeps/cris/dl-machine.h: New file.
3753         * sysdeps/cris/elf/start.S: New file.
3754         * sysdeps/cris/machine-gmon.h: New file.
3755         * sysdeps/cris/memcopy.h: New file.
3756         * sysdeps/cris/memusage.h: New file.
3757         * sysdeps/cris/setjmp.S: New file.
3758         * sysdeps/cris/sysdep.h: New file.
3759         * sysdeps/cris/wordcopy.c: New file.
3761 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3763         * elf/elf.h: Add new relocations for CRIS.
3765 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3767         * shlib-versions: Add cases for Linux on CRIS.
3769 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3771         * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
3772         ';' for comments and '@' for line separator.
3774 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3776         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
3777         typo; s/==/=/ for assignment.
3779 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3781         * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
3783 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3785         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
3786         empty input before checking full output.
3788 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3790         * iconv/gconv.c (__gconv): Don't derefer parameter cd before
3791         checking if == -1L.
3793 2001-04-08  Ulrich Drepper  <drepper@redhat.com>
3795         * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
3797 2001-04-07  Stephen L Moshier  <moshier@mediaone.net>
3799         * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
3800         return values.
3802 2001-04-07  Ulrich Drepper  <drepper@redhat.com>
3804         * stdlib/tst-setcontext.c (main): Add a test for setcontext.
3806         * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
3807         * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
3808         * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
3809         * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
3810         * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
3811         * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
3813 2001-04-07  Andreas Jaeger  <aj@suse.de>
3815         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
3816         instead of separate sin and cos.
3817         (__ieee754_j1l): Likewise.
3819 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
3821         * sysdeps/ia64/abort-instr.h: New file.  Code by David Mosberger.
3823         * sysdeps/ia64/atomicity.h: New file.  Copied from libstdc++.
3825         * sysdeps/i386/i486/atomicity.h: Clean up the asms.
3827         * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
3828         available.
3829         * sysdeps/generic/e_scalbf.c: Likewise.
3830         * sysdeps/generic/e_scalbl.c: Likewise.
3831         Patch by Mark Hatle <fray@mvista.com>.
3833 2001-04-05  David S. Miller  <davem@redhat.com>
3835         * sysdeps/sparc/abort-instr.h: New file.
3837 2001-04-05  Matt Wilson  <msw@redhat.com>
3839         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
3840         added code to parse new 2.4 format.
3841         (GET_NPROCS_CONF_PARSER): Likewise.
3843 2001-04-05  David S. Miller  <davem@redhat.com>
3845         * scripts/config.sub: Recognize sparcv9b like sparcv9.
3846         * configure.in: Add sparcv9b.
3847         * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
3848         * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
3849         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
3851 2001-04-06  David Mosberger  <davidm@hpl.hp.com>
3853         * stdlib/tst-setcontext.c: Move st2[] to global scope.
3854         (f2): Verify that stack pointer is inside st2[].
3856         * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
3857         * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
3859 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
3861         * timezone/antarctica: Update from tzdata2001b.
3862         * timezone/asia: Likewise.
3863         * timezone/australasia: Likewise.
3864         * timezone/europe: Likewise.
3865         * timezone/northamerica: Likewise.
3867         * iconv/iconv_open.c: Move strip and upstr definitions...
3868         * iconv/gconv_charset.h: ...here.  New file.
3869         * iconv/gconv_db.c (once): Move to file level.
3870         (do_lookup_alias): Split out from __gconv_find_transform.
3871         (__gconv_find_transform): Call do_lookup_alias.
3872         (__gconv_loopup_alias): New function.
3873         * locale/langinfo.h: Define _NL_*_CODESET values for all categories
3874         but LC_CTYPE.
3875         * locale/categories.def: Add entries for new _NL_*_CODESET values.
3876         * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
3877         * locale/C-address.c: Initialize _NL_*_CODESET element.
3878         * locale/C-collate.c: Likewise.
3879         * locale/C-identification.c: Likewise.
3880         * locale/C-measurement.c: Likewise.
3881         * locale/C-messages.c: Likewise.
3882         * locale/C-monetary.c: Likewise.
3883         * locale/C-name.c: Likewise.
3884         * locale/C-numeric.c: Likewise.
3885         * locale/C-paper.c: Likewise.
3886         * locale/C-telephone.c: Likewise.
3887         * locale/C-time.c: Likewise.
3888         * locale/localeinfo.h: Declare _nl_C_codeset.
3889         * locale/C_name.c: Define _nl_C_codeset.
3890         * locale/findlocale.c: Before accepting locale check that the used
3891         charset does not conflict with what the locale name said.
3892         * locale/programs/ld-address.c: Emit codeset information.
3893         * locale/programs/ld-collate.c: Likewise.
3894         * locale/programs/ld-identification.c: Likewise.
3895         * locale/programs/ld-measurement.c: Likewise.
3896         * locale/programs/ld-messages.c: Likewise.
3897         * locale/programs/ld-monetary.c: Likewise.
3898         * locale/programs/ld-name.c: Likewise.
3899         * locale/programs/ld-numeric.c: Likewise.
3900         * locale/programs/ld-paper.c: Likewise.
3901         * locale/programs/ld-telephone.c: Likewise.
3902         * locale/programs/ld-time.c: Likewise.
3904         * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
3905         if the locale data couldn't be found.
3907         * string/Makefile: Define tst-strxfrm-ENV.
3909         * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
3911 2001-04-06  Andreas Jaeger  <aj@suse.de>
3913         * include/sys/profil.h: New file.
3915         * dlfcn/modatexit.c: Add prototypes to silence GCC.
3916         * dlfcn/modcxaatexit.c: Likewise.
3917         * elf/globalmod1.c: Likewise.
3919 2001-04-05  David S. Miller  <davem@redhat.com>
3921         * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
3922         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
3923         capability flags table and HWCAP_IMPORTANT, increase
3924         _DL_HWCAP_COUNT to 6.
3925         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3927 2001-04-04  David Mosberger  <davidm@hpl.hp.com>
3929         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
3930         initialization of stack_end (bug reported by Zheng Gengbin
3931         <gzheng@students.uiuc.edu>).
3933 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
3935         * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
3937 2001-04-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3939         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
3941 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
3943         * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
3944         * sysdeps/i386/fpu/e_asinl.S: Removed.  Too inaccurate.
3946         * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
3948 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3950         * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
3951         define simple replacements here.  Patch by Michael Keezer.
3953         * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
3954         * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
3955         Contributed by Stephen L Moshier <moshier@mediaone.net>.
3957         * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
3958         anymore.
3960 2001-04-01  Andreas Jaeger  <aj@suse.de>
3962         * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
3963         alias.
3965         * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
3967 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3969         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
3970         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
3972 2001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3974         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
3975         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
3976         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
3977         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
3978         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
3979         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
3980         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
3981         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
3982         * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
3984 2001-04-04  Andreas Jaeger  <aj@suse.de>
3986         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
3987         place.
3989 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3991         * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
3992         * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
3993         * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
3994         (unsigned_dec): Likewise.
3995         Patch by atai@jezebel.dreamhost.com.
3997         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
3998         pointer to int as last parameter of yp_match.
3999         Patch by kanazawa@flab.fujitsu.co.jp.
4001 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
4003         * resolv/netdb.h (gai_strerror): Make return value const.
4004         * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
4005         * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
4006         Add strings for new error values.
4008 2001-03-29  Michael Keezer  <mkeezer@redhat.com>
4010         * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
4011         * login/tst-utmp.c: Handle case where ut_tv is not available but
4012         ut_time is.
4013         * sysdeps/unix/sysv/aix/utmpx.h: New file.
4014         * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
4015         _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
4016         * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
4017         * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
4018         to access RTCU timer reg.
4019         * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
4020         added dl-libc, dl-open,dl-sym, dl-close to misc.
4021         * sysdeps/unix/sysv/aix/start.c: New file.  Start code.
4022         * sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
4023         * sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
4024         * sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
4025         * sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
4026         * sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
4027         * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
4028         GLIBC_2_2).
4029         * sysdeps/generic/strtoull.c: Likewise.
4030         * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
4031         * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
4032         sysdeps/generic/memset.c.
4033         * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
4035 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
4037         * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
4038         * locale/programs/charmap.c: Define null_pointer if
4039         NEED_NULL_POINTER is defined.
4041         * misc/dirname.c (dirname): Handle multiple slashes correctly.
4043 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4045         * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
4047 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4049         * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
4050         * sysdeps/s390/s390-64/bcopy.S: Likewise.
4051         * sysdeps/s390/s390-32/mempcy.S: Likewise.
4052         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4054 2001-04-02  Bruno Haible  <haible@clisp.cons.org>
4056         * manual/message.texi (Advanced gettext functions): More specific
4057         syntax in the plural formula examples.
4059 2001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4061         * sysdeps/powerpc/atomicity.h: Silence warnings.
4062         * sysdeps/powerpc/dl-machine.h: Likewise.
4063         * sysdeps/powerpc/register-dump.h: Likewise.
4064         * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
4066 2001-04-02  Andreas Jaeger  <aj@suse.de>
4068         * misc/tst-dirname.c (main): Add more tests, derived from a bug
4069         report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
4071 2001-04-01  Andreas Jaeger  <aj@suse.de>
4073         * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
4074         is installed there.
4075         * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
4077 2001-04-01  H.J. Lu  <hjl@gnu.org>
4079         * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
4080         tmpnam (NULL).
4081         * stdlib/isomac.c (macrofile): Likewise.
4083 2001-03-30  Thorsten Kukuk  <kukuk@suse.de>
4085         * inet/rcmd.c: Allow AF_UNSPEC as parameter.
4086         * nis/ypclnt.c (yp_all): Print error message only at last try,
4087         check for protocoll error only if we don't have a network error.
4089 2001-04-02  Andreas Schwab  <schwab@suse.de>
4091         * resolv/res_data.c (res_isourserver): Fix cast.
4093 2001-04-02  Andreas Jaeger  <aj@suse.de>
4095         * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
4096         __umount2.
4098         * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
4099         strings.
4100         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
4102         * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
4103         initializers.
4104         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
4106         * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
4107         warning about unused variable.
4109         * string/string.h (strndupa): Add cast for C++ conformance.
4110         (strdupa): Likewise.
4111         Fixes PR libc/2173, reported by tbrowder@home.com.
4113 2001-03-30  Roland McGrath  <roland@frob.com>
4115         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
4116         options after $(build-module), which is no longer a single command.
4117         (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
4118         (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
4119         variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
4121 2001-03-11  Roland McGrath  <roland@frob.com>
4123         * elf/rtld.c (dl_main): Add cast to quiet warning.
4124         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4125         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
4126         (__gconv_read_conf): Likewise.
4127         * iconv/gconv_db.c (gen_steps): Likewise.
4128         (__gconv_find_transform): Likewise.
4129         * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
4130         (fopen_uncompressed): Use const in second argument's type.
4132 2001-03-11  Roland McGrath  <roland@frob.com>
4134         * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
4136         * mach/mach_error.h: Fix ancient #endif syntax.
4137         * hurd/hurdmalloc.c: Likewise.
4139         * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
4140         compare_and_swap): Add volatile qualifier to first arg, to bring
4141         these prototypes in line with all the other implementations.
4142         Add a #warning to remind the builder that these are not atomic.
4144 2001-03-04  Roland McGrath  <roland@frob.com>
4146         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
4147         member of TEMP_F so its type is _IO_FILE * as expected.
4149         * hurd/fopenport.c (seekio): Conditionalize type of POS argument
4150         on [USE_IN_LIBIO].  Check the value for overflow, since for libio
4151         it might exceed off_t's range.
4153 2001-02-25  Roland McGrath  <roland@frob.com>
4155         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
4156         * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
4158         * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
4159         macro instead of an inline function,
4160         (MSG_EXAMINE): Likewise.
4162         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
4164         * hurd/get-host.c: Include <string.h> for decls of built-ins.
4165         * hurd/hurdchdir.c: Likewise.
4166         * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
4167         * sysdeps/mach/hurd/opendir.c: Likewise.
4169         * mach/mach_init.c: Include <unistd.h> for _exit decl.
4171         * mach/errsystems.awk: Give output file a trailing newline.
4173         * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
4174         the script will use our compiler for the cpp stage.
4176         With --enable-all-warnings we get a whole bunch of warnings,
4177         and these are just a few fixes; there are more needed to silence it.
4178         * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
4179         decls before extern inline defns to quiet gcc warning.
4180         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
4181         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
4183 2001-03-31  Andreas Jaeger  <aj@suse.de>
4185         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
4186         (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
4187         (ARPHRD_CISCO): New.
4188         Changes from Linux 2.4.3.
4190 2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
4192         * posix/regex.c: Avoid an access violation if malloc fails.
4194 2001-03-30  Andreas Jaeger  <aj@suse.de>
4196         * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
4198 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
4200         * posix/regex.c: Remove unnecessary ifs.
4202         * math/bits/mathcalls.h: Remove infnan declaration.
4204 2001-03-29  H.J. Lu  <hjl@gnu.org>
4206         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
4207         and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
4208         * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
4210 2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
4212         * posix/regex.c: Fix typo and add a sentinel.
4214 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
4216         * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
4217         O_NOFOLLOW.  Suggested by Christoph Roland.
4219 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4221         * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
4222         * sysdeps/s390/s390-32/bits/string.h: Remove.
4223         * sysdeps/s390/s390-64/bits/string.h: Remove.
4224         * sysdeps/s390/s390-32/strcmp.S: New file.
4225         * sysdeps/s390/s390-64/strcmp.S: New file.
4227 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4229         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
4230         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4232 2001-03-27  Ulrich Drepper  <drepper@redhat.com>
4234         * version.h (VERSION): Bump to 2.2.3.
4236         * stdlib/isomac.c (fmt): Don't define _LIBC.
4237         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
4238         LOW_HALF only if _LIBC is defined.
4240         * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
4242         * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
4243         and +().
4244         * posix/tst-fnmatch.input: Add test cases for matching empty strings.
4246         * sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
4247         * include/endian.h: ...to here.
4249 2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
4251         * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
4252         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
4254 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4256         * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
4258 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
4260         * sysdeps/ia64/fpu/Dist: Add new files to distribute.
4261         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
4262         * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
4264         * gmon/Makefile (headers): Add sys/profil.h.
4266 2001-03-18  Andreas Jaeger  <aj@suse.de>
4268         * manual/install.texi (Tools for Compilation): Advise to use GCC
4269         2.95.3.
4270         (Supported Configurations): Mention s390x.
4272 2001-03-26  Ben Collins  <bcollins@debian.org>
4274         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
4275         defines to match other architectures.
4277 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
4279         * libio/Makefile (tests): Add tst-ext.
4280         * libio/tst-ext.c: New file.
4282         * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
4284 2001-03-25  Ulrich Drepper  <drepper@redhat.com>
4286         Add changes which were in this form in the original patch by
4287         Eric Norum <eric.norum@usask.ca>.
4288         * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
4289         svc_max_pollfd.
4290         * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
4291         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
4292         __rpc_thread_svc_max_pollfd.
4293         Define svc_fdset, get_rpc_createerr, svc_pollfd, and
4294         svc_max_pollfd.
4295         * sunrpc/rpc_thread.c: Handle first thread special, it uses the
4296         global variables.
4297         Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
4298         __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
4299         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
4300         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
4301         __rpc_thread_svc_max_pollfd.
4302         * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
4303         get_rpc_createerr.
4304         * sunrpc/clnt_perr.c: Likewise.
4305         * sunrpc/clnt_simp.c: Likewise.
4306         * sunrpc/clnt_tcp.c: Likewise.
4307         * sunrpc/clnt_udp.c: Likewise.
4308         * sunrpc/clnt_unix.c: Likewise.
4309         * sunrpc/pm_getport.c: Likewise.
4311         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
4312         syscall checks for negative n so don't test here as well.
4314 2001-03-23  Jes Sorensen  <jes@linuxcare.com>
4316         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
4317         * sysdeps/ia64/sysdep.h: ...here.
4319         * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
4320         * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
4322         * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
4323         declare instead of LEAF().  Suggestion from David Mosberger.
4325 2001-03-21  David Mosberger  <davidm@hpl.hp.com>
4327         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
4328         directives.
4329         (PSEUDO): Drop .psr and .lsb directives.
4331         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
4332         directives.
4333         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
4335         * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
4336         directives etc.
4337         * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
4338         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
4339         * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
4340         longer needed).  Add unwind directives.
4342         * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
4343         ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
4345 2001-03-21  Paul Eggert  <eggert@twinsun.com>
4347         * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
4348         (RE_SYNTAX_POSIX_EGREP): Use it.
4349         * posix/regex.c (regex_compile): Implement it.
4351 2001-03-21  Paul Eggert  <eggert@twinsun.com>
4353         * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
4354         Rewrite to avoid duplicate code.
4356 2001-03-21  H.J. Lu  <hjl@gnu.org>
4358         * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
4359         for cross-compiling.
4360         ($(objpfx)tst-pathopt.out): Undo the last change.
4362 2001-03-24  Mark Kettenis  <kettenis@gnu.org>
4364         * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
4365         sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
4367         * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
4368         (_dl_argv): Declare.
4369         (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
4371 2001-03-22  Andreas Jaeger  <aj@suse.de>
4373         * iconvdata/Makefile (generated): Add iconv-test.xxx.
4375         * posix/Makefile (generated): Add bug-regex2.mtrace and
4376         bug-regex2-mem.
4378 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
4380         * csu/version.c (__gnu_get_libc_release): Add prototype.
4381         (__gnu_get_libc_version): Likewise.
4382         * include/gnu/libc-version.h: Remove prototypes for not exported
4383         functions.
4385 2001-03-21  Jes Sorensen  <jes@linuxcare.com>
4387         * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
4388         for internationalized printfs to work.
4390 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
4392         * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
4393         avoid compiler warning.
4394         (_nl_find_msg): Add casts to avoid compiler warnings.
4396 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
4398         * gmon/Makefile (routines): Add sprofil.
4399         (tests): Add tst-sprofil.
4400         (noprof): Add sprofil.
4401         * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
4403 2001-03-20  David Mosberger  <davidm@hpl.hp.com>
4405         * sysdeps/generic/sprofil.c: New file.
4406         * sysdeps/posix/sprofil.c: New file.
4407         * gmon/tst-sprofil.c: New file.
4408         * gmon/sys/profil.h: New file.
4410 2001-03-20  Andreas Schwab  <schwab@suse.de>
4412         * include/unistd.h: Adjust prototype of __gethostname.
4414 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
4416         * sysdeps/sparc/stackinfo.h: New file.
4418 2001-03-21  Andreas Jaeger  <aj@suse.de>
4420         * elf/global.c (main): Use proper prototype.
4422 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
4424         * sunrpc/Makefile (routines): Add rpc_thread.
4425         (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
4426         * sunrpc/rpc_thread.c: New file.
4427         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
4428         * sunrpc/auth_none.c: Don't use global variables.  Access state in
4429         thread-local storage.
4430         * sunrpc/clnt_perr.c: Likewise.
4431         * sunrpc/clnt_raw.c: Likewise.
4432         * sunrpc/clnt_simp.c: Likewise.
4433         * sunrpc/key_call.c: Likewise.
4434         * sunrpc/rpc_common.c: Likewise.
4435         * sunrpc/svc.c: Likewise.
4436         * sunrpc/svc_raw.c: Likewise.
4437         * sunrpc/svc_simple.c: Likewise.
4438         * sunrpc/svcauth_des.c: Likewise.
4439         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
4440         _HURD_THREADVAR_RPC_VARS.
4441         * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
4442         * include/rpc/rpc.h: Define data structures for internal thread-local
4443         "global" variables.
4444         Based on patches by Eric Norum <eric.norum@usask.ca>.
4446         * elf/dl-load.c: Various little optimizations.
4448         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
4449         LINUX_LINK_MAX only if the statfs function is not implemented for
4450         the filesystem.
4452         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
4453         LINUX_LINK_MAX only if the fstatfs function is not implemented for
4454         the filesystem.
4456 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
4458         * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
4460         * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
4461         (_dl_dst_substitute): Likewise.
4463 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4465         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
4467 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4469         * intl/gettextP.h (struct expression): Add operators lnot, less_than,
4470         greater_than, less_or_equal, greater_or_equal.  Replace args2/args3
4471         union by a 'nargs' counter and an 'args[]' array.
4472         * intl/plural.y: Don't include stdarg.h.
4473         (new_exp): Take an array of arguments instead of varargs.
4474         (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
4475         ('?' ':'): Make right-associative.
4476         (EQUOP2): New token, replaces '=' and '!'.
4477         (CMPOP2): New token.
4478         (ADDOP2): New token, replaces '+' and '-'.
4479         (MULOP2): New token, replaces '*', '/' and '%'.
4480         ('!'): New token.
4481         (exp): Add rules for CMPOP2 and '!'.  Don't call YYABORT.
4482         (start): Call YYABORT here.
4483         (FREE_EXPRESSION): Update.
4484         (yylex): Don't skip "\\n".  Recognize comparison and '!' operators.
4485         Update for new token symbols.
4486         * intl/loadmsgcat.c (plvar, plone, germanic_plural,
4487         init_germanic_plural): Update.
4488         * intl/dcigettext.c (_nl_find_msg): Optimize for space.
4489         (plural_eval): Recognize comparison and '!' operators.  Optimize for
4490         space.
4492 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
4494         * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
4495         NULL any more.
4497 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
4499         * intl/loadmsgcat.c: Include headers needed for alloca().
4500         (freea): New macro.
4501         (_nl_load_domain): Add fallback code for platforms lacking alloca.
4502         * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
4503         (freea): New macro.
4504         (read_alias_file): Simplify fallback code for platforms lacking
4505         alloca.
4507 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
4509         * intl/gettextP.h (__gettextdebug): Remove declaration.
4510         (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
4511         syntax.
4512         (gettext_free_exp__, gettextparse__): New non-libc declarations.
4513         * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
4514         not __gettextparse, __gettext_free_exp.
4515         * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
4517 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
4519         * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
4521 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
4523         * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
4524         lacking strtoul, like SunOS4.
4526 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
4528         * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
4530 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
4532         * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
4533         syntax.
4534         * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
4535         * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
4536         * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
4537         syntax.
4539 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
4541         * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
4542         bindtextdomain__, bind_textdomain_codeset__): New declarations, from
4543         old libgettext.h.
4544         * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
4545         * intl/dcgettext.c: Likewise.
4546         * intl/dcigettext.c: Likewise.
4547         * intl/dcngettext.c: Likewise.
4548         * intl/dngettext.c: Likewise.
4549         * intl/finddomain.c: Likewise.
4550         * intl/ngettext.c: Likewise.
4551         * intl/textdomain.c: Likewise.
4552         * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
4553         Include gettextP.h.
4554         * intl/gettext.c: Likewise.  Don't include locale.h.
4556 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4558         * intl/gettextP.h (ZERO): New macro.
4559         (struct binding): Always use ZERO.
4560         * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
4561         lack it, like SunOS4.
4562         (set_binding_values): Use offsetof, not sizeof.
4563         * intl/dcigettext.c (offsetof): Provide fallback for platforms that
4564         lack it, like SunOS4.
4565         (ZERO): Remove macro.
4566         (struct transmem_list): Use ZERO.
4567         (DCIGETTEXT): Use offsetof, not sizeof.
4569 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4571         * intl/gettextP.h: Include <stddef.h>.  Include gettext.h, for
4572         nls_uint32.
4573         * intl/bindtextdom.c: Don't include gettext.h.
4574         * intl/dcgettext.c: Likewise.
4575         * intl/dcigettext.c: Likewise.
4576         * intl/dcngettext.c: Likewise.
4577         * intl/dngettext.c: Likewise.
4578         * intl/finddomain.c: Likewise.
4579         * intl/localealias.c: Likewise.
4580         * intl/ngettext.c: Likewise.
4581         * intl/plural.y: Likewise.
4582         * intl/textdomain.c: Likewise.
4584 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4586         * intl/gettext.h: Don't include <stdio.h>.
4588 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
4590         * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
4591         * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
4593 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
4595         * sysdeps/unix/i386/i686/tempname.c: New file.
4597         * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
4598         defined use this macro to get some bits of randomness instead of
4599         the usual gettimeofday or time calls.
4601 2001-03-16  Paul Eggert  <eggert@twinsun.com>
4603         * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
4604         not defined, and if UINT64_MAX is not defined.
4606 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
4608         * elf/cache.c: Mark and have translated a few more messages.
4610 2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4612         * elf/cache.c: Add case for FLAG_S390_LIB64.
4613         * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
4614         * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
4615         * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
4617 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
4619         * string/Makefile (tests): Add tst-strxfrm.
4620         * string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
4621         * string/Depend: New file.
4623 2001-03-19  Paul Eggert  <eggert@twinsun.com>
4625         * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
4626         when given the empty string in nontrivial locales.
4628 2001-03-17  H.J. Lu  <hjl@gnu.org>
4630         * manual/Makefile (install): Use $(INSTALL_DATA) instead of
4631         cp to install `dir'.
4633 2001-03-19  Andreas Schwab  <schwab@suse.de>
4635         * Makerules (build-shlib): Make sure exit codes get checked
4636         properly.
4638 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
4640         * Makerules (build-shlib): Remove unnecessary slashes introduced in
4641         last change.
4643         * configure.in: Test for -Bgroup option of linker.
4644         * config.make.in: Define have-Bgroup.
4646         * conform/data/unistd.h-data: Require gethostname.
4647         * posix/unistd.h: Make gethostname prototype available for
4648         __USE_XOPEN2K.
4650         * crypt/Makefile: When generating DSO link with libc_nonshared.a.
4651         * debug/Makefile: Likewise.
4652         * dlfcn/Makefile: Likewise.
4653         * hesiod/Makefile: Likewise.
4654         * iconvdata/extra-module.mk: Likewise.
4655         * locale/Makefile: Likewise.
4656         * login/Makefile: Likewise.
4657         * math/Makefile: Likewise.
4658         * nis/Makefile: Likewise.
4659         * nss/Makefile: Likewise.
4660         * resolv/Makefile: Likewise.
4661         * rt/Makefile: Likewise.
4663 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
4665         * inet/Makefile (tests): Remove left-over comment.
4667         * posix/unistd.h (gethostname): Change type of second parameter
4668         back to size_t as per upcoming XPG6.
4669         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
4670         parameter back to size_t as per upcoming XPG6.
4671         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
4672         * sysdeps/unix/sysv/gethostname.c: Likewise.
4673         * sysdeps/mach/hurd/gethostname.c: Likewise.
4674         * sysdeps/generic/gethostname.c: Likewise.
4676 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
4678         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4679         Handle NaN here.
4681         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
4682         Internationalize.
4684 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
4686         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
4687         looking for name matches.
4689 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
4691         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
4692         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
4693         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
4694         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4695         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
4696         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
4697         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
4698         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
4699         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
4700         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
4701         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
4702         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
4704 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
4706         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
4707         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4709         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
4710         erfcl.
4711         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4713 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
4715         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
4716         Drop hack that was needed for 2.1.1 kernel headers.
4718         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
4720         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
4721         overlay with kernel's "struct sigcontext".
4723         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
4724         sys/rse.h for "misc" subdir.
4725         (sysdep_routines): Add __start_context for "stdlib" subdir.
4727         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
4728         kernel file of the same name).
4730         * stdlib/Makefile (tests): Add tst-setcontext.
4731         * stdlib/tst-setcontext.c: New file (based on a sample program by
4732         Uli Drepper).
4734         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
4735         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
4736         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
4737         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
4738         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
4740         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
4741         instead of shift & and.
4743 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4745         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
4746         * sysdeps/s390/bits/huge_val.h: ...here.
4747         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
4748         * sysdeps/s390/s390-64/ffs.c: Move to...
4749         * sysdeps/s390/ffs.c: ...here.
4750         * sysdeps/s390/s390-32/ffs.c: Remove.
4752 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
4754         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
4755         update osversion from more recent library.
4757 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4759         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
4760         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
4761         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
4762         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
4763         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
4764         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
4765         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
4766         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
4767         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
4768         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
4769         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
4770         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
4771         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
4772         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
4773         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
4774         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
4775         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
4776         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
4777         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
4778         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
4779         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
4780         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
4781         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
4782         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
4783         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
4784         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
4785         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
4786         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
4787         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
4788         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
4789         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
4790         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
4791         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
4792         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
4793         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
4794         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
4795         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
4796         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
4797         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
4798         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
4799         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
4800         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
4801         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
4802         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
4803         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
4804         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
4805         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
4806         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
4807         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
4808         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
4809         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
4810         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
4811         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
4812         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
4813         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
4814         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
4815         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
4816         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
4817         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
4818         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
4819         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
4820         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
4821         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
4822         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
4823         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
4824         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
4825         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
4826         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
4827         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
4828         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
4829         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
4830         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
4831         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
4832         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
4833         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
4834         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
4835         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
4836         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
4837         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
4838         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
4839         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
4840         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
4841         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
4842         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
4843         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
4844         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
4845         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
4846         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
4847         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
4848         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
4849         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
4850         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
4851         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
4852         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
4853         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
4854         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
4855         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
4856         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
4857         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
4858         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
4859         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
4860         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
4861         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
4862         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
4863         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
4864         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
4865         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
4866         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
4867         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4868         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
4869         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
4870         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
4871         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
4872         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
4874 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4876         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
4877         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
4878         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
4879         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
4880         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
4881         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
4882         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
4883         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
4884         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
4885         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
4886         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
4887         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
4888         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
4889         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
4890         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
4891         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
4892         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
4893         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
4894         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
4895         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
4896         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
4897         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
4898         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
4899         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
4900         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
4901         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
4902         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
4903         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
4904         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
4905         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
4906         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
4907         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
4908         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
4909         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
4910         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
4911         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
4912         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
4913         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
4914         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
4915         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
4916         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
4917         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
4918         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
4919         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
4920         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
4921         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
4922         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
4923         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
4924         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
4925         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
4926         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
4927         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
4928         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
4930 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4932         * sysdeps/s390/Dist: Move to...
4933         * sysdeps/s390/390-32/Dist: ...here.
4934         * sysdeps/s390/Implies: Move to...
4935         * sysdeps/s390/s390-32/Implies: ...here.
4936         * sysdeps/s390/Makefile: Move to...
4937         * sysdeps/s390/s390-32/Makefile: ...here.
4938         * sysdeps/s390/Versions: Move to...
4939         * sysdeps/s390-32/s390/Versions: ...here.
4940         * sysdeps/s390/add_n.S: Move to...
4941         * sysdeps/s390/s390-32/add_n.S: ...here.
4942         * sysdeps/s390/addmul_1.S: Move to...
4943         * sysdeps/s390/s390-32/addmul_1.S: ...here.
4944         * sysdeps/s390/atomicity.h: Move to...
4945         * sysdeps/s390/s390-32/atomicity.h: ...here.
4946         * sysdeps/s390/backtrace.c: Move to...
4947         * sysdeps/s390/s390-32/backtrace.c: ...here.
4948         * sysdeps/s390/bcopy.S: Move to...
4949         * sysdeps/s390/s390-32/bcopy.S: ...here.
4950         * sysdeps/s390/bits/byteswap.h: Move to...
4951         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
4952         * sysdeps/s390/bits/huge_val.h: Move to...
4953         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
4954         * sysdeps/s390/bsd-_setjmp.S: Move to...
4955         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
4956         * sysdeps/s390/bsd-setjmp.S: Move to...
4957         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
4958         * sysdeps/s390/bzero.S: Move to...
4959         * sysdeps/s390/s390-32/bzero.S: ...here.
4960         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
4961         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
4962         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
4963         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
4964         * sysdeps/s390/elf/start.S: Move to...
4965         * sysdeps/s390/s390-32/elf/start.S: ...here.
4966         * sysdeps/s390/ffs.c: Move to...
4967         * sysdeps/s390/s390-32/ffs.c: ...here.
4968         * sysdeps/s390/memchr.S: Move to...
4969         * sysdeps/s390/s390-32/memchr.S: ...here.
4970         * sysdeps/s390/memcpy.S: Move to...
4971         * sysdeps/s390/s390-32/memcpy.S: ...here.
4972         * sysdeps/s390/memset.S: Move to...
4973         * sysdeps/s390/s390-32/memset.S: ...here.
4974         * sysdeps/s390/mul_1.S: Move to...
4975         * sysdeps/s390/s390-32/mul_1.S: ...here.
4976         * sysdeps/s390/s390-mcount.S: Move to...
4977         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
4978         * sysdeps/s390/strcpy.S: Move to...
4979         * sysdeps/s390/s390-32/strcpy.S: ...here.
4980         * sysdeps/s390/strncpy.S: Move to...
4981         * sysdeps/s390/s390-32/strncpy.S: ...here.
4982         * sysdeps/s390/sub_n.S: Move to...
4983         * sysdeps/s390/s390-32/sub_n.S: ...here.
4985 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4987         * sysdeps/s390/s390-64/Dist: New file.
4988         * sysdeps/s390/s390-64/Implies: New file.
4989         * sysdeps/s390/s390-64/Makefile: New file.
4990         * sysdeps/s390/s390-64/__longjmp.c: New file.
4991         * sysdeps/s390/s390-64/add_n.S: New file.
4992         * sysdeps/s390/s390-64/atomicity.h: New file.
4993         * sysdeps/s390/s390-64/backtrace.c: New file.
4994         * sysdeps/s390/s390-64/bcopy.S: New file.
4995         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
4996         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
4997         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
4998         * sysdeps/s390/s390-64/bits/string.h: New file.
4999         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
5000         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
5001         * sysdeps/s390/s390-64/bzero.S: New file.
5002         * sysdeps/s390/s390-64/dl-machine.h: New file.
5003         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
5004         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
5005         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
5006         * sysdeps/s390/s390-64/elf/start.S: New file.
5007         * sysdeps/s390/s390-64/ffs.c: New file.
5008         * sysdeps/s390/s390-64/initfini.c: New file.
5009         * sysdeps/s390/s390-64/memchr.S: New file.
5010         * sysdeps/s390/s390-64/memcpy.S: New file.
5011         * sysdeps/s390/s390-64/memset.S: New file.
5012         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
5013         * sysdeps/s390/s390-64/setjmp.S: New file.
5014         * sysdeps/s390/s390-64/strcpy.S: New file.
5015         * sysdeps/s390/s390-64/strncpy.S: New file.
5016         * sysdeps/s390/s390-64/sub_n.S: New file.
5017         * sysdeps/s390/s390-64/sysdep.h: New file.
5019 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
5021         * scripts/config.guess: Add support for Linux on 64 bit S/390.
5022         * scripts/config.sub: Likewise.
5024 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
5026         * configure.in: Add support for 64 bit S/390.
5028         * elf/elf.h: Add new relocations for 64 bit S/390.
5030         * shlib-versions: Add rules for Linux on 64 bit S/390.
5032 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
5034         * sysdeps/s390/__longjmp.c: Move to...
5035         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
5036         to load the floating point registers that should be saved
5037         according to the ABI.
5039         * sysdeps/s390/bits/setjmp.h: Move to...
5040         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
5041         the use of long long in the __jmp_buf type definition.
5043         * sysdeps/s390/bits/string.h: Move to...
5044         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
5045         #ifndef _FORCE_INLINES.
5047         * sysdeps/s390/dl-machine.h: Move to...
5048         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
5049         executables EI_CLASS in elf_machine_matches_host.
5051         * sysdeps/s390/elf/setjmp.S: Move to...
5052         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
5053         branches to globally defined symbol __sigsetjmp by branches to
5054         a local label (this avoids the generation of a R_390_PC16DBL
5055         relocation in -fpic code).
5057         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
5058         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
5060         * sysdeps/s390/initfini.c: Move to...
5061         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
5062         ".align 4,0x07".
5064         * sysdeps/s390/setjmp.S: Move to...
5065         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
5066         floating point registers that should be saved according to the ABI.
5068         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
5070         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
5071         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.  Include
5072         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
5074 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
5076         * configure.in: Change machine=s390 to machine=s390/s390-32.
5078         * elf/elf.h: Correct comment for R_390_PLT16DBL.
5080 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
5082         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
5083         version to be overriden from config.h.
5084         * csu/abi-note.S: Use OS and version separately, include config.h.
5085         * elf/dl-load.c (_dl_osversion): New.
5086         (_dl_map_object_from_fd): Kill some warnings.
5087         (open_verify): Check .note.ABI-tag of the library if present.
5088         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
5089         * elf/cache.c (struct cache_entry): Add osversion.
5090         (print_entry): Print osversion.
5091         (print_cache): Pass osversion to it.
5092         (compare): Sort according to osversion.
5093         (save_cache): Set osversion.
5094         (add_to_cache): Add osversion argument.
5095         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
5096         process_elf_file): Add osversion argument.
5097         * elf/readlib.c (process_file): Likewise.
5098         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
5099         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
5100         process_elf32_file, process_elf64_file): Likewise.
5101         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
5102         process_elf32_file, process_elf64_file): Likewise.
5103         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
5104         process_elf32_file, process_elf64_file): Likewise.
5105         * elf/ldconfig.c (manual_link): Pass it.
5106         (search_dir): Issue diagnostic if two libs with the same soname in
5107         the same directory have different .note.ABI-tag.  Record osversion in
5108         dlib_entry and use it from there.
5109         (struct lib_entry): Remove.
5110         (struct dlib_entry): Add osversion.
5111         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
5112         osversion.
5113         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
5114         field with osversion.
5115         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
5116         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
5117         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
5118         version in _dl_osversion.
5119         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
5120         * Makerules (build-shlib-helper, build-module-helper): New.
5121         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
5122         early.
5123         * config.h.in (__ABI_TAG_VERSION): Add.
5124         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
5125         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
5126         Handle LD_ASSUME_KERNEL.
5127         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
5129 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
5131         * timezone/antarctica: Update from tzdata2001a.
5132         * timezone/asia: Likewise.
5133         * timezone/australasia: Likewise.
5134         * timezone/backward: Likewise.
5135         * timezone/etcetera: Likewise.
5136         * timezone/europe: Likewise.
5137         * timezone/leapseconds: Likewise.
5138         * timezone/northamerica: Likewise.
5139         * timezone/southamerica: Likewise.
5140         * timezone/systemv: Likewise.
5141         * timezone/yearistype: Likewise.
5142         * timezone/zone.tab: Likewise.
5143         * timezone/tzdump.c: Update from tzcode2001a.
5145 2001-03-15  H.J. Lu  <hjl@gnu.org>
5147         * intl/Makefile: Fix a typo.
5149 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
5151         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
5152         writing arc structures.
5154 2001-03-15  H.J. Lu  <hjl@gnu.org>
5156         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
5157         cross-compiling.
5159 2001-03-13  Andreas Schwab  <schwab@suse.de>
5161         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
5163 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
5165         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
5166         for control message fitting into message data.
5167         Patch by James Antill <james@and.org>.
5169         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
5170         FNM_EXTMATCH.
5172         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
5173         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
5175         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
5176         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
5177         avoid running binaries with libc versions without FNM_EXTMATCH support.
5179         * include/wchar.h: Add prototype for __wcscat.
5180         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
5182         * posix/fnmatch.h (FNM_EXTMATCH): Define.
5183         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
5184         (posixly_correct): Move global variable here.
5185         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
5186         (fnmatch): Pretty printing.
5187         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
5188         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
5189         * posix/tst-fnmatch.input: Add tests for extended matching.
5191         * posix/testfnm.c: Add test for patterns with multiple ** before /.
5192         * posix/fnmatch_loop.c: Fix problem with the test above.
5194 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
5196         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
5197         reference to usqrt.
5199         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
5201 2001-03-12  Andreas Jaeger  <aj@suse.de>
5203         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5204         Use EM_X86_64 instead of EM_X8664.
5206 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
5208         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
5210         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
5211         conditions.
5213         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
5214         conditions.
5216         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
5217         correctly.
5218         (__cos): Likewise.
5220         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
5221         correctly.
5222         (__ieee754_acos): Likewise.
5224 2001-03-12  Andreas Jaeger  <aj@suse.de>
5226         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
5227         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
5229         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
5230         redefinition.
5232 2001-03-11  Roland McGrath  <roland@frob.com>
5234         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
5236 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
5238         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
5239         LITTLE_ENDI.
5241         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
5242         parameter list.
5244         Last-bit accurate math library implementation by IBM Haifa.
5245         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
5246         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
5247         Anna Reitman <reitman@il.ibm.com>.
5248         * math/Makefile (dbl-only-routines): New variable.
5249         (libm-routines): Add $(dbl-only-routines).
5250         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
5251         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
5252         implementation.
5253         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
5254         implementation.
5255         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
5256         implementation.
5257         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
5258         __kernel_cos.
5259         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
5260         implementation.
5261         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
5262         remainder implementation.
5263         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
5264         implementation.
5265         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
5266         implementation.
5267         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
5268         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
5269         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
5270         implementation.
5271         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
5272         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
5273         implementation.
5274         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
5275         and __kernel_cos.
5276         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
5277         implementation.
5278         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
5279         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
5280         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
5281         * sysdeps/ieee754/dbl-64/atnat.h: New file.
5282         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
5283         * sysdeps/ieee754/dbl-64/branred.c: New file.
5284         * sysdeps/ieee754/dbl-64/branred.h: New file.
5285         * sysdeps/ieee754/dbl-64/dla.h: New file.
5286         * sysdeps/ieee754/dbl-64/doasin.c: New file.
5287         * sysdeps/ieee754/dbl-64/doasin.h: New file.
5288         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
5289         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
5290         * sysdeps/ieee754/dbl-64/endian.h: New file.
5291         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
5292         * sysdeps/ieee754/dbl-64/mpa.c: New file.
5293         * sysdeps/ieee754/dbl-64/mpa.h: New file.
5294         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
5295         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
5296         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
5297         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
5298         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
5299         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
5300         * sysdeps/ieee754/dbl-64/mplog.c: New file.
5301         * sysdeps/ieee754/dbl-64/mplog.h: New file.
5302         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
5303         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
5304         * sysdeps/ieee754/dbl-64/mptan.c: New file.
5305         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
5306         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
5307         * sysdeps/ieee754/dbl-64/root.tbl: New file.
5308         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
5309         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
5310         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
5311         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
5312         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
5313         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
5314         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
5315         * sysdeps/ieee754/dbl-64/uexp.h: New file.
5316         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
5317         * sysdeps/ieee754/dbl-64/ulog.h: New file.
5318         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
5319         * sysdeps/ieee754/dbl-64/upow.h: New file.
5320         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
5321         * sysdeps/ieee754/dbl-64/urem.h: New file.
5322         * sysdeps/ieee754/dbl-64/uroot.h: New file.
5323         * sysdeps/ieee754/dbl-64/usncs.h: New file.
5324         * sysdeps/ieee754/dbl-64/utan.h: New file.
5325         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
5326         * sysdeps/i386/fpu/branred.c: New file.
5327         * sysdeps/i386/fpu/doasin.c: New file.
5328         * sysdeps/i386/fpu/dosincos.c: New file.
5329         * sysdeps/i386/fpu/halfulp.c: New file.
5330         * sysdeps/i386/fpu/mpa.c: New file.
5331         * sysdeps/i386/fpu/mpatan.c: New file.
5332         * sysdeps/i386/fpu/mpatan2.c: New file.
5333         * sysdeps/i386/fpu/mpexp.c: New file.
5334         * sysdeps/i386/fpu/mplog.c: New file.
5335         * sysdeps/i386/fpu/mpsqrt.c: New file.
5336         * sysdeps/i386/fpu/mptan.c: New file.
5337         * sysdeps/i386/fpu/sincos32.c: New file.
5338         * sysdeps/i386/fpu/slowexp.c: New file.
5339         * sysdeps/i386/fpu/slowpow.c: New file.
5340         * sysdeps/ia64/fpu/branred.c: New file.
5341         * sysdeps/ia64/fpu/doasin.c: New file.
5342         * sysdeps/ia64/fpu/dosincos.c: New file.
5343         * sysdeps/ia64/fpu/halfulp.c: New file.
5344         * sysdeps/ia64/fpu/mpa.c: New file.
5345         * sysdeps/ia64/fpu/mpatan.c: New file.
5346         * sysdeps/ia64/fpu/mpatan2.c: New file.
5347         * sysdeps/ia64/fpu/mpexp.c: New file.
5348         * sysdeps/ia64/fpu/mplog.c: New file.
5349         * sysdeps/ia64/fpu/mpsqrt.c: New file.
5350         * sysdeps/ia64/fpu/mptan.c: New file.
5351         * sysdeps/ia64/fpu/sincos32.c: New file.
5352         * sysdeps/ia64/fpu/slowexp.c: New file.
5353         * sysdeps/ia64/fpu/slowpow.c: New file.
5354         * sysdeps/m68k/fpu/branred.c: New file.
5355         * sysdeps/m68k/fpu/doasin.c: New file.
5356         * sysdeps/m68k/fpu/dosincos.c: New file.
5357         * sysdeps/m68k/fpu/halfulp.c: New file.
5358         * sysdeps/m68k/fpu/mpa.c: New file.
5359         * sysdeps/m68k/fpu/mpatan.c: New file.
5360         * sysdeps/m68k/fpu/mpatan2.c: New file.
5361         * sysdeps/m68k/fpu/mpexp.c: New file.
5362         * sysdeps/m68k/fpu/mplog.c: New file.
5363         * sysdeps/m68k/fpu/mpsqrt.c: New file.
5364         * sysdeps/m68k/fpu/mptan.c: New file.
5365         * sysdeps/m68k/fpu/sincos32.c: New file.
5366         * sysdeps/m68k/fpu/slowexp.c: New file.
5367         * sysdeps/m68k/fpu/slowpow.c: New file.
5369         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
5370         codepages.
5372 2001-03-11  Andreas Jaeger  <aj@suse.de>
5374         * elf/elf.h (EM_*): Synch with official list.
5376 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
5378         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
5380 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
5382         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
5383         variables addr & len.
5385 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
5387         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
5388         punctuation in asm constraint.
5390 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
5392         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
5393         <time.h> to get definition of `struct timespec'.
5395 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
5397         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
5398         LD_WARN=1, not if LD_WARN is unset.
5400 2001-03-07  Andreas Schwab  <schwab@suse.de>
5402         * elf/ldconfig.h: Moved to ...
5403         * sysdeps/generic/ldconfig.h: ... here.
5404         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
5405         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
5406         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
5407         * elf/readlib.c (interpreters, known_libs): Use
5408         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
5409         instead of hard coding old names.
5411 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
5413         * catgets/Makefile (generated): Add test-gencat.h.
5414         (sample.SJIS.cat): Also generate header.
5415         * catgets/sample.SJIS: Add new set and message, both with symbolic
5416         names.
5417         * catgets/test-gencat.sh: Also compare generated header with what
5418         we expect.
5420 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
5422         * catgets/gencat.c (read_input_file): Preserve properly symbolic
5423         names.
5425 2001-03-06  Andreas Jaeger  <aj@suse.de>
5427         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
5428         needed.
5429         (elf_machine_pltrel_p): Likewise.
5430         * sysdeps/powerpc/dl-machine.h: Likewise.
5431         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
5433 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
5435         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
5436         dl-procinfo.h.
5438 2001-03-05  Philip Blundell  <philb@gnu.org>
5440         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
5441         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
5442         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
5443         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
5444         dl-procinfo.
5446 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
5448         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
5449         is not available.
5450         * dlfcn/tstcxaatexit.c (main): Likewise.
5452 2001-03-10  Andreas Jaeger  <aj@suse.de>
5454         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
5456 2001-03-09  Andreas Jaeger  <aj@suse.de>
5458         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
5459         both new and old EM_S390 values.
5460         (EM_S390_OLD): New constant.
5462         * elf/elf.h (EM_S390): Use official value.
5464 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
5466         * conform/data/sys/socket.h-data: Allow SO* symbols.
5468 2001-03-07  Andreas Schwab  <schwab@suse.de>
5470         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
5471         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
5473 2001-03-07  Andreas Jaeger  <aj@suse.de>
5475         * resolv/Makefile (routines): Only build gai_sigqueue when threads
5476         are available.
5478 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
5480         * elf/ldconfig.c (_dl_sysdep_message): Remove.
5481         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
5482         ldsodefs.h.
5483         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
5485         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
5486         _dl_error_printf instead of _dl_sysdep_error.
5487         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5488         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
5489         Use _dl_printf instead of _dl_sysdep_message.
5490         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
5491         Likewise.
5493 2001-03-06  Ben Collins  <bcollins@debian.org>
5495         * manual/arith.texi (Integers): Fix documentation of fast and
5496         least integer typedefs.
5498 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
5500         * resolv/Depend: New file.
5501         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
5502         when libpthread is built.
5504 2001-03-06  Andreas Jaeger  <aj@suse.de>
5506         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
5508         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
5509         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
5511 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
5513         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
5515 2001-03-05  Andreas Jaeger  <aj@suse.de>
5517         * stdlib/msort.c (qsort): Don't use alloca in a function call.
5519 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
5521         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
5522         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
5523         always return zero.
5524         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5525         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
5526         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
5527         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
5528         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5529         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
5530         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
5532 2001-03-04  Andreas Jaeger  <aj@suse.de>
5534         * stdlib/longlong.h: Don't use multi-line strings.
5535         * iconvdata/tst-loading.c: Likewise.
5537         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
5538         string.
5540 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
5542         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
5544         * rt/lio_listio.c: Add a few asserts.
5546         * elf/global.c: New file.
5547         * elf/globalmod1.c: New file.
5548         * elf/Makefile: Add rules to build and run global.
5550         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
5551         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5552         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5553         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5554         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5556         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
5557         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5559         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
5561         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
5562         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5564         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
5566         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
5568 2001-03-04  Andreas Jaeger  <aj@suse.de>
5570         * resolv/tst-aton.c: Add testcase for IP with four periods.
5572         * resolv/inet_addr.c: Don't recognize an IP with four periods.
5573         Patch by Andre' Breiler <A.Breiler@gmx.net>.
5575 2001-02-27  Philip Blundell  <pb@futuretv.com>
5577         * elf/elf.h: Add new ARM definitions from latest (B-01)
5578         specification.  Correct naming of EF_ARM_ALIGN8 et al.
5580 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
5582         * stdio-common/tst-printf.sh: Remove bashisms.
5583         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
5585 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
5587         * Versions.def: Add libanl definition.
5588         * shlib-versions: Add entry for libanl.
5589         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
5590         (routines): Add gai_sigqueue.
5591         (extra-libs): Add libanl.
5592         (libanl-routines): New variable.
5593         Add rules to build libanl and ga_test.
5594         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
5595         [libanl]: New library.
5596         * resolv/netdb.h: Add definitions for libanl.
5597         * resolv/getaddrinfo_a.c: New file.
5598         * resolv/gai_cancel.c: New file.
5599         * resolv/gai_error.c: New file.
5600         * resolv/gai_misc.c: New file.
5601         * resolv/gai_misc.h: New file.
5602         * resolv/gai_notify.c: New file.
5603         * resolv/gai_suspend.c: New file.
5604         * resolv/ga_test.c: New file.
5605         * sysdeps/generic/gai_sigqueue.c: New file.
5606         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
5607         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
5608         and provide only that definition.
5609         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
5610         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
5611         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5612         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5613         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5614         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5616         * rt/aio_misc.c: Fix typos in comments.
5617         * rt/lio_listio.c: Pretty printing.  Little optimization in request
5618         list handling.
5620         * elf/rtld.c: Remove commented out code.
5622         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
5623         Update for real 2.4 kernels.
5625 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
5627         * elf/dl-load.c: Pretty printing.
5629         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
5630         twice.
5632 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
5634         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
5635         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
5637         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
5639         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
5640         machines.
5642         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
5644 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
5646         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
5647         _dl_debug_mask.
5649         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
5650         _dl_debug_printf.
5651         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
5652         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
5653         _dl_debug_printf_c, and _dl_printf.
5654         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
5655         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
5656         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
5657         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
5658         * elf/dl-close.c: Replace use of old output functions with the new
5659         ones.
5660         * elf/dl-deps.c: Likewise.
5661         * elf/dl-error.c: Likewise.
5662         * elf/dl-fini.c: Likewise.
5663         * elf/dl-init.c: Likewise.
5664         * elf/dl-load.c: Likewise.
5665         * elf/dl-lookup.c: Likewise.
5666         * elf/dl-minimal.c: Likewise.
5667         * elf/dl-open.c: Likewise.
5668         * elf/dl-profile.c: Likewise.
5669         * elf/dl-reloc.c: Likewise.
5670         * elf/dl-version.c: Likewise.
5671         * elf/do-lookup.h: Likewise.
5672         * elf/rtld.c: Likewise.
5673         * sysdeps/generic/dl-cache.c: Likewise.
5674         * sysdeps/generic/dl-sysdep.c: Likewise.
5675         * sysdeps/generic/libc-start.c: Likewise.
5676         * sysdeps/i386/dl-machine.h: Likewise.
5677         * sysdeps/arm/dl-machine.h: Likewise.
5678         * sysdeps/hppa/dl-machine.h: Likewise.
5679         * sysdeps/m68k/dl-machine.h: Likewise.
5680         * sysdeps/powerpc/dl-machine.h: Likewise.
5681         * sysdeps/s390/dl-machine.h: Likewise.
5682         * sysdeps/sh/dl-machine.h: Likewise.
5683         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5684         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
5685         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5687         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
5689         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
5690         supported by assembler.
5692         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
5693         declaractions.
5695         * elf/rtld.c: Little optimizations in handling _dl_lazy.
5697         * elf/cache.c (save_cache): Portability changes.
5698         * elf/dl-profile.c (_dl_start_profile): Likewise.
5700         * elf/sln.c: Cleanups.  Remove arbitrary limits.
5702         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
5703         * elf/dl-deps.c: Likewise.
5704         * elf/dl-fini.c: Likewise.
5705         * elf/dl-init.c: Likewise.
5706         * elf/dl-load.c: Likewise.
5707         * elf/dl-lookup.c: Likewise.
5708         * elf/dl-open.c: Likewise.
5709         * elf/dl-reloc.c: Likewise.
5710         * elf/dl-support.c: Likewise.
5711         * elf/dl-version.c: Likewise.
5712         * elf/do-lookup.h: Likewise.
5713         * elf/rtld.c: Likewise.
5714         * sysdeps/generic/dl-cache.c: Likewise.
5715         * sysdeps/generic/ldsodefs.h: Likewise.
5716         * sysdeps/generic/libc-start.c: Likewise.
5717         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
5718         Export _dl_debug_mask.
5719         * Versions.def: Define GLIBC_2.2.3 for ld.
5721 2001-02-26  Greg McGary  <greg@mcgary.org>
5723         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
5725 2001-02-26  Paul Eggert  <eggert@twinsun.com>
5727         Modify mkstemp.c and tempname.c so that they can be used by
5728         GNU applications on non-glibc platforms.
5730         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
5732         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
5733         Include <stddef.h>, <stdint.h>, <string.h> only if
5734         STDC_HEADERS || _LIBC.
5735         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
5736         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
5737         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
5738         (__set_errno): Define this macro if <errno.h> doesn't.
5739         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
5740         Define these macros if <stdio.h> doesn't.
5741         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
5742         Define these macros if <sys/stat.h> doesn't.
5743         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
5744         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
5745         lxstat64, __xstat64): Define if not _LIBC.
5746         (struct_stat64): New macro.
5747         (direxists, __gen_tempname): Use it, to avoid a
5748         portability problem with Solaris 8.
5749         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
5750         (__gen_tempname): Invoke gettimeofday only if
5751         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
5752         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
5753         octal values like 0600.
5755 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
5757         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
5758         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5760         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
5761         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5763         * posix/wordexp-test.c (testit): Remove warnings.
5765         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
5766         (tests): Add tstatexit and tstcxaatexit.
5767         (module-names): Add modatexit and modcxaatexit.
5768         Add rules to build and run tstatexit and tstcxaatexit.
5769         * dlfcn/modatexit.c: New file.
5770         * dlfcn/modcxaatexit.c: New file.
5771         * dlfcn/tstatexit.c: New file.
5772         * dlfcn/tstcxaatexit.c: New file.
5774         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
5775         .hidden is available.
5776         * io/stat.c: If .hidden is available use it to avoid exporting
5777         functions.
5778         * io/fstat.c: Likewise.
5779         * io/lstat.c: Likewise.
5780         * io/stat64.c: Likewise.
5781         * io/fstat64.c: Likewise.
5782         * io/lstat64.c: Likewise.
5783         * sysdeps/generic/mknod.c: Likewise.
5785         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
5786         * sysdeps/generic/bb_init_func.c: Likewise.
5787         * sysdeps/generic/libc-start.c: Likewise.
5789         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
5790         (atexit): Implement using __cxa_atexit.
5791         Use .hidden if availble to avoid exporting atexit.
5792         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
5793         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
5794         * stdlib/Makefile (routines): Add old_atexit.
5795         (static-only-routines): Add atexit.
5796         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
5797         * stdlib/old_atexit.c: New file.
5799         * intl/Makefile: Remove bogus endif.
5801 2001-02-26  Andreas Jaeger  <aj@suse.de>
5803         * iconvdata/Makefile (tests): Fix typo in last patch.
5805         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
5806         available.
5807         Reported by Achim Gottinger <achim@gentoo.org>.
5809 2001-02-25  Andreas Jaeger  <aj@suse.de>
5811         * intl/Makefile (plural.c): Reorder rules so that they work if
5812         BISON doesn't exist.
5814 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
5816         * intl/locale.alias: Don't use nb_NO but define aliases for it.
5818 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
5820         * sysdeps/i386/strtok.S: Continue to return NULL after the first
5821         time this happened.
5823 2001-02-23  Andreas Jaeger  <aj@suse.de>
5825         * string/tester.c (test_strtok_r): Add testcase.
5826         (test_strtok_r): Always initialize cp for proper checking.
5828         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
5829         returning NULL correctly.
5830         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
5831         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
5833 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
5835         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
5836         including <stddef.h>.
5837         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
5838         * include/libc-symbols.h (weak_alias): Don't use .weak if
5839         HAVE_ASM_GLOBAL_DOT_NAME is defined.
5840         Patches by Michael Keezer <mkeezer@redhat.com>.
5842         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
5843         Patch by Michael Keezer <mkeezer@redhat.com>.
5845         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
5846         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
5847         (sysdep_routines): Remove restf.S and savef.S.
5848         * sysdeps/unix/sysv/aix/restf.S: Removed.
5849         * sysdeps/unix/sysv/aix/savef.S: Removed.
5850         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
5851         alternative names used on some platforms.
5852         * sysdeps/powerpc/fprsave.S: Likewise.
5853         * sysdeps/powerpc/gprrest0.S: Likewise.
5854         * sysdeps/powerpc/gprrest1.S: Likewise.
5855         * sysdeps/powerpc/gprsave0.S: Likewise.
5856         * sysdeps/powerpc/gprsave1.S: Likewise.
5857         Patch by Michael Keezer <mkeezer@redhat.com>.
5859 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
5861         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
5863 2001-02-22  Andreas Jaeger  <aj@suse.de>
5865         * string/tst-strtok.c (main): Fix error messages.
5867 2001-02-22  Andreas Jaeger  <aj@suse.de>
5869         * math/Makefile: Remove omit-long-double-fcts.
5871 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
5873         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
5874         avoid problems on MIPS I.
5875         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
5877         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
5878         noreorder".
5880 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
5882         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
5884         * sysdeps/generic/ftime.c: Include <time.h>.
5886         * configure.in: Don't check for libgd if user passed --without-gd.
5887         Patch by Achim Gottinger <achim@gentoo.org>.
5889         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
5890         first time this happened.
5891         * string/Makefile (tests): Add tst-strtok.
5893 2001-02-21  Andreas Jaeger  <aj@suse.de>
5895         * string/tst-strtok.c: New testcase, reported by
5896         Andrew Church <achurch@achurch.org>.
5898 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
5900         * libio/iofwide.c: Remove fwide alias.
5902 2001-02-20  Andreas Jaeger  <aj@suse.de>
5904         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
5905         is available.
5906         Reported by Achim Gottinger <achim@gentoo.org>.
5908 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
5910         * iconv/tst-iconv1.c (main): Remove debugging code.
5912         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
5913         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5915         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
5916         parameters.
5917         * sysdeps/generic/e_scalbf.c: Likewise.
5918         * sysdeps/generic/e_scalbl.c: Likewise.
5920         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
5921         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
5922         in libc.
5923         (routines): Replace libm_error with libc_libm_error.
5924         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
5925         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
5927 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
5929         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
5930         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
5932 2001-02-17  H.J. Lu  <hjl@gnu.org>
5934         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
5935         scratch registers across the system call.
5937 2001-02-19  Andreas Jaeger  <aj@suse.de>
5939         * malloc/Makefile (tests): Run mtrace only when perl is available.
5940         Reported by Achim Gottinger <achim@gentoo.org>.
5942 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
5944         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
5945         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5947         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
5948         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
5949         * math/libm-test.inc (j1_test): Mark constants as long double.
5950         (jn_test): Likewise.
5951         (y1_test): Likewise.
5952         (yn_test): Likewise.
5954         * libio/iogetline.c: Move return until after last statement.
5956         * localedata/show-ucs-data.c: Don't show < > for better readability.
5958         * sysdeps/ia64/fpu/Dist: New file.
5959         * sysdeps/ia64/fpu/Makefile: New file.
5960         * sysdeps/ia64/fpu/Versions: New file.
5961         * sysdeps/ia64/fpu/e_acos.S: New file.
5962         * sysdeps/ia64/fpu/e_acosf.S: New file.
5963         * sysdeps/ia64/fpu/e_acosl.S: New file.
5964         * sysdeps/ia64/fpu/e_asin.S: New file.
5965         * sysdeps/ia64/fpu/e_asinf.S: New file.
5966         * sysdeps/ia64/fpu/e_asinl.S: New file.
5967         * sysdeps/ia64/fpu/e_atan2.S: New file.
5968         * sysdeps/ia64/fpu/e_atan2f.S: New file.
5969         * sysdeps/ia64/fpu/e_atan2l.c: New file.
5970         * sysdeps/ia64/fpu/e_cosh.S: New file.
5971         * sysdeps/ia64/fpu/e_coshf.S: New file.
5972         * sysdeps/ia64/fpu/e_coshl.S: New file.
5973         * sysdeps/ia64/fpu/e_exp.S: New file.
5974         * sysdeps/ia64/fpu/e_expf.S: New file.
5975         * sysdeps/ia64/fpu/e_expl.c: New file.
5976         * sysdeps/ia64/fpu/e_fmod.S: New file.
5977         * sysdeps/ia64/fpu/e_fmodf.S: New file.
5978         * sysdeps/ia64/fpu/e_fmodl.S: New file.
5979         * sysdeps/ia64/fpu/e_hypot.S: New file.
5980         * sysdeps/ia64/fpu/e_hypotf.S: New file.
5981         * sysdeps/ia64/fpu/e_hypotl.S: New file.
5982         * sysdeps/ia64/fpu/e_log.S: New file.
5983         * sysdeps/ia64/fpu/e_log10.c: New file.
5984         * sysdeps/ia64/fpu/e_log10f.c: New file.
5985         * sysdeps/ia64/fpu/e_log10l.c: New file.
5986         * sysdeps/ia64/fpu/e_logf.S: New file.
5987         * sysdeps/ia64/fpu/e_logl.c: New file.
5988         * sysdeps/ia64/fpu/e_pow.S: New file.
5989         * sysdeps/ia64/fpu/e_powf.S: New file.
5990         * sysdeps/ia64/fpu/e_powl.S: New file.
5991         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
5992         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
5993         * sysdeps/ia64/fpu/e_remainder.S: New file.
5994         * sysdeps/ia64/fpu/e_remainderf.S: New file.
5995         * sysdeps/ia64/fpu/e_remainderl.S: New file.
5996         * sysdeps/ia64/fpu/e_scalb.S: New file.
5997         * sysdeps/ia64/fpu/e_scalbf.S: New file.
5998         * sysdeps/ia64/fpu/e_scalbl.S: New file.
5999         * sysdeps/ia64/fpu/e_sinh.S: New file.
6000         * sysdeps/ia64/fpu/e_sinhf.S: New file.
6001         * sysdeps/ia64/fpu/e_sinhl.S: New file.
6002         * sysdeps/ia64/fpu/e_sqrt.S: New file.
6003         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
6004         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
6005         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
6006         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
6007         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
6008         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
6009         * sysdeps/ia64/fpu/libm_error.c: New file.
6010         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
6011         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
6012         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
6013         * sysdeps/ia64/fpu/libm_reduce.S: New file.
6014         * sysdeps/ia64/fpu/libm_support.h: New file.
6015         * sysdeps/ia64/fpu/libm_tan.S: New file.
6016         * sysdeps/ia64/fpu/s_atan.S: New file.
6017         * sysdeps/ia64/fpu/s_atanf.S: New file.
6018         * sysdeps/ia64/fpu/s_atanl.S: New file.
6019         * sysdeps/ia64/fpu/s_cbrt.S: New file.
6020         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
6021         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
6022         * sysdeps/ia64/fpu/s_ceil.S: New file.
6023         * sysdeps/ia64/fpu/s_ceilf.S: New file.
6024         * sysdeps/ia64/fpu/s_ceill.S: New file.
6025         * sysdeps/ia64/fpu/s_cos.S: New file.
6026         * sysdeps/ia64/fpu/s_cosf.S: New file.
6027         * sysdeps/ia64/fpu/s_cosl.S: New file.
6028         * sysdeps/ia64/fpu/s_expm1.S: New file.
6029         * sysdeps/ia64/fpu/s_expm1f.S: New file.
6030         * sysdeps/ia64/fpu/s_expm1l.S: New file.
6031         * sysdeps/ia64/fpu/s_floor.S: New file.
6032         * sysdeps/ia64/fpu/s_floorf.S: New file.
6033         * sysdeps/ia64/fpu/s_floorl.S: New file.
6034         * sysdeps/ia64/fpu/s_frexp.c: New file.
6035         * sysdeps/ia64/fpu/s_frexpf.c: New file.
6036         * sysdeps/ia64/fpu/s_frexpl.c: New file.
6037         * sysdeps/ia64/fpu/s_ilogb.S: New file.
6038         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
6039         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
6040         * sysdeps/ia64/fpu/s_ldexp.S: New file.
6041         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
6042         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
6043         * sysdeps/ia64/fpu/s_log1p.S: New file.
6044         * sysdeps/ia64/fpu/s_log1pf.S: New file.
6045         * sysdeps/ia64/fpu/s_log1pl.S: New file.
6046         * sysdeps/ia64/fpu/s_logb.S: New file.
6047         * sysdeps/ia64/fpu/s_logbf.S: New file.
6048         * sysdeps/ia64/fpu/s_logbl.S: New file.
6049         * sysdeps/ia64/fpu/s_matherrf.c: New file.
6050         * sysdeps/ia64/fpu/s_matherrl.c: New file.
6051         * sysdeps/ia64/fpu/s_modf.S: New file.
6052         * sysdeps/ia64/fpu/s_modff.S: New file.
6053         * sysdeps/ia64/fpu/s_modfl.S: New file.
6054         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
6055         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
6056         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
6057         * sysdeps/ia64/fpu/s_rint.S: New file.
6058         * sysdeps/ia64/fpu/s_rintf.S: New file.
6059         * sysdeps/ia64/fpu/s_rintl.S: New file.
6060         * sysdeps/ia64/fpu/s_round.S: New file.
6061         * sysdeps/ia64/fpu/s_roundf.S: New file.
6062         * sysdeps/ia64/fpu/s_roundl.S: New file.
6063         * sysdeps/ia64/fpu/s_scalbn.S: New file.
6064         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
6065         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
6066         * sysdeps/ia64/fpu/s_significand.S: New file.
6067         * sysdeps/ia64/fpu/s_significandf.S: New file.
6068         * sysdeps/ia64/fpu/s_significandl.S: New file.
6069         * sysdeps/ia64/fpu/s_sin.c: New file.
6070         * sysdeps/ia64/fpu/s_sincos.c: New file.
6071         * sysdeps/ia64/fpu/s_sincosf.c: New file.
6072         * sysdeps/ia64/fpu/s_sincosl.c: New file.
6073         * sysdeps/ia64/fpu/s_sinf.c: New file.
6074         * sysdeps/ia64/fpu/s_sinl.c: New file.
6075         * sysdeps/ia64/fpu/s_tan.S: New file.
6076         * sysdeps/ia64/fpu/s_tanf.S: New file.
6077         * sysdeps/ia64/fpu/s_tanl.S: New file.
6078         * sysdeps/ia64/fpu/s_trunc.S: New file.
6079         * sysdeps/ia64/fpu/s_truncf.S: New file.
6080         * sysdeps/ia64/fpu/s_truncl.S: New file.
6081         * sysdeps/ia64/fpu/w_acos.c: New file.
6082         * sysdeps/ia64/fpu/w_acosf.c: New file.
6083         * sysdeps/ia64/fpu/w_acosl.c: New file.
6084         * sysdeps/ia64/fpu/w_asin.c: New file.
6085         * sysdeps/ia64/fpu/w_asinf.c: New file.
6086         * sysdeps/ia64/fpu/w_asinl.c: New file.
6087         * sysdeps/ia64/fpu/w_atan2.c: New file.
6088         * sysdeps/ia64/fpu/w_atan2f.c: New file.
6089         * sysdeps/ia64/fpu/w_atan2l.c: New file.
6090         * sysdeps/ia64/fpu/w_cosh.c: New file.
6091         * sysdeps/ia64/fpu/w_coshf.c: New file.
6092         * sysdeps/ia64/fpu/w_coshl.c: New file.
6093         * sysdeps/ia64/fpu/w_exp.c: New file.
6094         * sysdeps/ia64/fpu/w_expf.c: New file.
6095         * sysdeps/ia64/fpu/w_fmod.c: New file.
6096         * sysdeps/ia64/fpu/w_fmodf.c: New file.
6097         * sysdeps/ia64/fpu/w_fmodl.c: New file.
6098         * sysdeps/ia64/fpu/w_hypot.c: New file.
6099         * sysdeps/ia64/fpu/w_hypotf.c: New file.
6100         * sysdeps/ia64/fpu/w_hypotl.c: New file.
6101         * sysdeps/ia64/fpu/w_log.c: New file.
6102         * sysdeps/ia64/fpu/w_log10.c: New file.
6103         * sysdeps/ia64/fpu/w_log10f.c: New file.
6104         * sysdeps/ia64/fpu/w_log10l.c: New file.
6105         * sysdeps/ia64/fpu/w_logf.c: New file.
6106         * sysdeps/ia64/fpu/w_logl.c: New file.
6107         * sysdeps/ia64/fpu/w_pow.c: New file.
6108         * sysdeps/ia64/fpu/w_powf.c: New file.
6109         * sysdeps/ia64/fpu/w_powl.c: New file.
6110         * sysdeps/ia64/fpu/w_remainder.c: New file.
6111         * sysdeps/ia64/fpu/w_remainderf.c: New file.
6112         * sysdeps/ia64/fpu/w_remainderl.c: New file.
6113         * sysdeps/ia64/fpu/w_scalb.c: New file.
6114         * sysdeps/ia64/fpu/w_scalbf.c: New file.
6115         * sysdeps/ia64/fpu/w_scalbl.c: New file.
6116         * sysdeps/ia64/fpu/w_sqrt.c: New file.
6117         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
6118         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
6119         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
6120         implementation.
6121         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
6122         Change FP_ILOGBNAN for new implementation.
6123         * Verions.def: Add 2.2.3 versions.
6125 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
6127         * math/libm-test.inc (scalb_test): Require invalid exception being
6128         raised for invalid parameters.
6129         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
6130         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6131         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6133 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
6135         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
6136         value to long int.
6137         (__get_avphys_pages): Likewise.
6139 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
6141         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
6142         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
6143         * sysdeps/i386/fpu/e_powf.S: Likewise.
6144         * sysdeps/i386/fpu/e_powl.S: Likewise.
6146         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
6148 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
6150         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
6152         * sysdeps/generic/s_exp2l.c: Renamed to...
6153         * sysdeps/generic/e_exp2l.c: ...this.   New file.
6154         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
6155         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
6156         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
6157         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
6158         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
6159         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
6160         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
6161         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
6162         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
6163         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
6164         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
6165         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
6166         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
6167         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
6168         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
6169         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
6171 2001-02-17  Andreas Jaeger  <aj@suse.de>
6173         * configure.in: Allow gcc 3.
6175 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
6177         * math/w_acos.c: Move to ...
6178         * sysdeps/generic/w_acos.c: ...here.  New file.
6179         * math/w_acosf.c: Move to ...
6180         * sysdeps/generic/w_acosf.c: ...here.  New file.
6181         * math/w_acosh.c: Move to ...
6182         * sysdeps/generic/w_acosh.c: ...here.  New file.
6183         * math/w_acoshf.c: Move to ...
6184         * sysdeps/generic/w_acoshf.c: ...here.  New file.
6185         * math/w_acoshl.c: Move to ...
6186         * sysdeps/generic/w_acoshl.c: ...here.  New file.
6187         * math/w_acosl.c: Move to ...
6188         * sysdeps/generic/w_acosl.c: ...here.  New file.
6189         * math/w_asin.c: Move to ...
6190         * sysdeps/generic/w_asin.c: ...here.  New file.
6191         * math/w_asinf.c: Move to ...
6192         * sysdeps/generic/w_asinf.c: ...here.  New file.
6193         * math/w_asinl.c: Move to ...
6194         * sysdeps/generic/w_asinl.c: ...here.  New file.
6195         * math/w_atan2.c: Move to ...
6196         * sysdeps/generic/w_atan2.c: ...here.  New file.
6197         * math/w_atan2f.c: Move to ...
6198         * sysdeps/generic/w_atan2f.c: ...here.  New file.
6199         * math/w_atan2l.c: Move to ...
6200         * sysdeps/generic/w_atan2l.c: ...here.  New file.
6201         * math/w_atanh.c: Move to ...
6202         * sysdeps/generic/w_atanh.c: ...here.  New file.
6203         * math/w_atanhf.c: Move to ...
6204         * sysdeps/generic/w_atanhf.c: ...here.  New file.
6205         * math/w_atanhl.c: Move to ...
6206         * sysdeps/generic/w_atanhl.c: ...here.  New file.
6207         * math/w_cosh.c: Move to ...
6208         * sysdeps/generic/w_cosh.c: ...here.  New file.
6209         * math/w_coshf.c: Move to ...
6210         * sysdeps/generic/w_coshf.c: ...here.  New file.
6211         * math/w_coshl.c: Move to ...
6212         * sysdeps/generic/w_coshl.c: ...here.  New file.
6213         * math/w_drem.c: Move to ...
6214         * sysdeps/generic/w_drem.c: ...here.  New file.
6215         * math/w_dremf.c: Move to ...
6216         * sysdeps/generic/w_dremf.c: ...here.  New file.
6217         * math/w_dreml.c: Move to ...
6218         * sysdeps/generic/w_dreml.c: ...here.  New file.
6219         * math/w_exp10.c: Move to ...
6220         * sysdeps/generic/w_exp10.c: ...here.  New file.
6221         * math/w_exp10f.c: Move to ...
6222         * sysdeps/generic/w_exp10f.c: ...here.  New file.
6223         * math/w_exp10l.c: Move to ...
6224         * sysdeps/generic/w_exp10l.c: ...here.  New file.
6225         * math/w_exp2.c: Move to ...
6226         * sysdeps/generic/w_exp2.c: ...here.  New file.
6227         * math/w_exp2f.c: Move to ...
6228         * sysdeps/generic/w_exp2f.c: ...here.  New file.
6229         * math/w_exp2l.c: Move to ...
6230         * sysdeps/generic/w_exp2l.c: ...here.  New file.
6231         * math/w_fmod.c: Move to ...
6232         * sysdeps/generic/w_fmod.c: ...here.  New file.
6233         * math/w_fmodf.c: Move to ...
6234         * sysdeps/generic/w_fmodf.c: ...here.  New file.
6235         * math/w_fmodl.c: Move to ...
6236         * sysdeps/generic/w_fmodl.c: ...here.  New file.
6237         * math/w_hypot.c: Move to ...
6238         * sysdeps/generic/w_hypot.c: ...here.  New file.
6239         * math/w_hypotf.c: Move to ...
6240         * sysdeps/generic/w_hypotf.c: ...here.  New file.
6241         * math/w_hypotl.c: Move to ...
6242         * sysdeps/generic/w_hypotl.c: ...here.  New file.
6243         * math/w_j0.c: Move to ...
6244         * sysdeps/generic/w_j0.c: ...here.  New file.
6245         * math/w_j0f.c: Move to ...
6246         * sysdeps/generic/w_j0f.c: ...here.  New file.
6247         * math/w_j0l.c: Move to ...
6248         * sysdeps/generic/w_j0l.c: ...here.  New file.
6249         * math/w_j1.c: Move to ...
6250         * sysdeps/generic/w_j1.c: ...here.  New file.
6251         * math/w_j1f.c: Move to ...
6252         * sysdeps/generic/w_j1f.c: ...here.  New file.
6253         * math/w_j1l.c: Move to ...
6254         * sysdeps/generic/w_j1l.c: ...here.  New file.
6255         * math/w_jn.c: Move to ...
6256         * sysdeps/generic/w_jn.c: ...here.  New file.
6257         * math/w_jnf.c: Move to ...
6258         * sysdeps/generic/w_jnf.c: ...here.  New file.
6259         * math/w_jnl.c: Move to ...
6260         * sysdeps/generic/w_jnl.c: ...here.  New file.
6261         * math/w_lgamma.c: Move to ...
6262         * sysdeps/generic/w_lgamma.c: ...here.  New file.
6263         * math/w_lgammaf.c: Move to ...
6264         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
6265         * math/w_lgammaf_r.c: Move to ...
6266         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
6267         * math/w_lgammal.c: Move to ...
6268         * sysdeps/generic/w_lgammal.c: ...here.  New file.
6269         * math/w_lgammal_r.c: Move to ...
6270         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
6271         * math/w_lgamma_r.c: Move to ...
6272         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
6273         * math/w_log10.c: Move to ...
6274         * sysdeps/generic/w_log10.c: ...here.  New file.
6275         * math/w_log10f.c: Move to ...
6276         * sysdeps/generic/w_log10f.c: ...here.  New file.
6277         * math/w_log10l.c: Move to ...
6278         * sysdeps/generic/w_log10l.c: ...here.  New file.
6279         * math/w_log.c: Move to ...
6280         * sysdeps/generic/w_log.c: ...here.  New file.
6281         * math/w_logf.c: Move to ...
6282         * sysdeps/generic/w_logf.c: ...here.  New file.
6283         * math/w_logl.c: Move to ...
6284         * sysdeps/generic/w_logl.c: ...here.  New file.
6285         * math/w_pow.c: Move to ...
6286         * sysdeps/generic/w_pow.c: ...here.  New file.
6287         * math/w_powf.c: Move to ...
6288         * sysdeps/generic/w_powf.c: ...here.  New file.
6289         * math/w_powl.c: Move to ...
6290         * sysdeps/generic/w_powl.c: ...here.  New file.
6291         * math/w_remainder.c: Move to ...
6292         * sysdeps/generic/w_remainder.c: ...here.  New file.
6293         * math/w_remainderf.c: Move to ...
6294         * sysdeps/generic/w_remainderf.c: ...here.  New file.
6295         * math/w_remainderl.c: Move to ...
6296         * sysdeps/generic/w_remainderl.c: ...here.  New file.
6297         * math/w_scalb.c: Move to ...
6298         * sysdeps/generic/w_scalb.c: ...here.  New file.
6299         * math/w_scalbf.c: Move to ...
6300         * sysdeps/generic/w_scalbf.c: ...here.  New file.
6301         * math/w_scalbl.c: Move to ...
6302         * sysdeps/generic/w_scalbl.c: ...here.  New file.
6303         * math/w_sinh.c: Move to ...
6304         * sysdeps/generic/w_sinh.c: ...here.  New file.
6305         * math/w_sinhf.c: Move to ...
6306         * sysdeps/generic/w_sinhf.c: ...here.  New file.
6307         * math/w_sinhl.c: Move to ...
6308         * sysdeps/generic/w_sinhl.c: ...here.  New file.
6309         * math/w_sqrtl.c: Move to ...
6310         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
6311         * math/w_tgamma.c: Move to ...
6312         * sysdeps/generic/w_tgamma.c: ...here.  New file.
6313         * math/w_tgammaf.c: Move to ...
6314         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
6315         * math/w_tgammal.c: Move to ...
6316         * sysdeps/generic/w_tgammal.c: ...here.  New file.
6318         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
6319         formats for postal_fmt.
6321 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
6323         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
6324         __ftruncate64 alias.
6325         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
6326         Likewise.
6328 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
6330         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
6331         do "loadrs".  Writing to bspstore already takes care of
6332         invalidating the "clean" partition.
6334 2001-02-16  Andreas Schwab  <schwab@suse.de>
6336         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
6337         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
6339 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
6341         * posix/regex.c (init_syntax_once): Add prototype.
6342         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
6343         (re_search_2): Avoid warning.
6344         (count_mbs_length): Add prototype.
6345         * posix/tst-regex3.c: New file.
6346         * posix/Makefile (tests): Add bug-regex3.
6348 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
6350         * stdio-common/Makefile (tests): Add tst-gets.
6351         * stdio-common/tst-gets.c: New file.
6352         * stdio-common/tst-gets.input: New file.
6354         * elf/elf.h (DT_CHECKSUM): Define.
6356         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
6357         default symbol.
6358         * sysdeps/generic/strtoull.c: Likewise.
6360 2001-02-14  Wolfram Gloger  <wg@malloc.de>
6362         * malloc/malloc.c (new_heap): When allocating large chunk aligned
6363         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
6364         between the heaps.
6366 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
6368         * math/libm-test.inc (j0_test): Check whether sincos is available.
6369         (j1_test): Likewise.
6370         (jn_test): Likewise.
6371         (y0_test): Likewise.
6372         (y1_test): Likewise.
6373         (yn_test): Likewise.
6375         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
6376         fake filesystem routines to handle this.
6378         * time/sys/time.h: Make settimeofday and adjtime available if
6379         _BSD_SOURCE.
6381         * time/sys/time.h: Make timer* macros available for BSD.
6383         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
6384         Patch by Yong Li <rigel863@yahoo.com>.
6386         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
6387         name.
6389         * posix/Makefile (tests): Add tst-gnuglob.
6390         * posix/tst-gnuglob.c: New file.
6392 2001-02-13  H.J. Lu  <hjl@gnu.org>
6394         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
6396 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
6398         * locale/programs/ld-paper.c (paper_output): Pretty printing.
6400         * iconvdata/Makefile (modules): Add GBBIG5.
6401         (distribute): Add gbbig5.c.
6402         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
6404         * iconvdata/gbbig5.c: New file.
6405         Contributed by Yong Li <rigel863@yahoo.com>.
6407 2001-02-13  Philip Blundell  <pb@futuretv.com>
6409         * manual/crypt.texi: Remove outdated references to crypt add-on.
6411         * manual/creature.texi: Improve wording slightly.
6413 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
6415         * io/ftw.c: Always use readdir64.
6416         * io/ftw64.c: Likewise.
6417         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6418         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6419         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
6420         callback to dirent.  Still allow compiling outside glibc.
6421         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
6422         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6424         * malloc/mtrace.c: Use fopen64.
6425         * posix/spawni.c: Use __open64.
6426         * sysdeps/unix/opendir.c: Likewise.
6427         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
6429         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
6430         name a weak alias.
6431         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
6432         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
6433         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
6434         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
6436         * resolv/res_data.c: Add cast to avoid warning.
6438         * include/unistd.h: Declare __ftruncate64.
6440         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
6442         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
6443         instead of __lseek.
6445 2001-02-13  Andreas Jaeger  <aj@suse.de>
6447         * login/getutent_r.c: Include <stdlib.h> for NULL.
6448         * login/getutid_r.c: Likewise.
6450 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
6452         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
6453         * sysdeps/dbl-64/e_j1.c: Likewise.
6454         * sysdeps/dbl-64/e_jn.c: Likewise.
6455         * sysdeps/flt-32/e_j0f.c: Likewise.
6456         * sysdeps/flt-32/e_j1f.c: Likewise.
6457         * sysdeps/ldbl-96/e_j0l.c: Likewise.
6459 2000-12-02  H.J. Lu  <hjl@gnu.org>
6461         * resolv/res_libc.c (res_init): Don't make it default.
6463 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
6465         * manual/debug.texi: Improved the wording.
6466         Patch by Philip Blundell <pb@futuretv.com>.
6468 2001-02-12  Andreas Jaeger  <aj@suse.de>
6470         * posix/Makefile (tests): Don't run bug-regex2 when
6471         cross-compiling.
6473         * libio/Makefile (tests): Don't run test-freopen when
6474         cross-compiling.
6476         * manual/stdio.texi (Streams and I18N): Fix typos.
6478 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
6480         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
6482         * math/libm-test.inc (j0_test): Make expected results long double
6483         constants.
6484         (y0_test): Likewise.
6486         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
6487         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
6489 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
6491         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
6492         which was exported from libc.
6493         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
6495 2001-02-12  Andreas Jaeger  <aj@suse.de>
6497         * manual/arith.texi (Parsing of Integers): Fix some wordings.
6499 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
6501         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
6502         and get_avphys_page to long int.
6503         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
6504         * include/sys/sysinfo.h: Likewise.
6505         * sysdeps/generic/sys/sysinfo.h: Likewise.
6506         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
6508         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
6509         cannot return as many values as the user asked for.
6511 2001-02-11  Andreas Jaeger  <aj@suse.de>
6513         * manual/resource.texi (Memory Resources): Fix typo.
6515         * libio/Makefile ($(objpfx)test-freopen.out): Pass
6516         run-program-prefix.
6518         * libio/test-freopen.sh: Use run_program_prefix.
6520 2001-02-10  Andreas Jaeger  <aj@suse.de>
6522         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
6523         cross-compiling.
6524         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
6526         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
6527         only builds.
6529         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
6531         * posix/Makefile: Fix typo, it's build-static-nss.
6533         * iconv/Makefile (extra-objs): New.
6535 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
6537         * sysdeps/unix/stime.c: Include <time.h>.
6539         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
6541 2001-02-10  Andreas Jaeger  <aj@suse.de>
6543         * manual/string.texi (Search Functions): Fix typo.
6545 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
6547         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
6548         (timeval_to_clock_t): Add clk_tck argument and use that instead of
6549         CLK_TCK.
6550         (__times): Use __getclktck to get the number of clock ticks per
6551         second and use its return value instead of CLK_TCK.
6553 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
6555         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
6557 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
6559         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
6561 2001-02-10  Andreas Jaeger  <aj@suse.de>
6563         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
6564         warning.
6566 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
6568         * posix/Makefile: Add rules to build and run bug-regex2.
6569         * posix/bug-regex2.c: New file.
6571 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
6573         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
6574         (regex_compile): Likewise.
6575         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
6576         (re_match_2_internal): Use just is_binary instead of two variables.
6577         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
6579 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
6581         * version.h (VERSION): Bump to 2.2.2.
6583         * iconv/Makefile (distribute): Add iconv_charmap.c and
6584         dummy-repertoire.c.
6585         * elf/Makefile (distribute): Add firstobj.c.
6586         * Makefile (distribute): Add include/pthread.h.
6588         * configure.in: Require makeinfo version 4.
6590         * libio/tst_wscanf.c (main): Add cast to avoid warning.
6591         * libio/tst_swscanf.c (main): Likewise..
6593 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
6595         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
6596         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
6597         __NO_MATH_INLINES.
6598         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
6599         if not RTLD_BOOTSTRAP.
6600         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6601         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6603 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
6605         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
6606         lr_ungetc to push back last read character.
6607         * locale/programs/linereader.h (lr_ungetc): Don't push back is
6608         character is EOF.
6609         (lr_ignore_rest): Don't warn about garbage if it is really the end
6610         of the file.
6612         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
6613         definition.
6615 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
6617         * Makerules (build-shlib): Work around different order of
6618         processing of -B option in different gcc versions.
6620         * posix/regex.c: Fix alignment problem.
6621         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6623         * sysdeps/alpha/strrchr.S: Little optimization.
6624         Patch by Richard Henderson <rth@redhat.com>.
6626         * sysdeps/alpha/alphaev67/strrchr.S: New file.
6627         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
6629 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
6631         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
6632         in the assembler end directive.
6634 2001-02-08  Andreas Jaeger  <aj@suse.de>
6636         * manual/stdio.texi (Closing Streams): Fix typos.
6638 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
6640         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
6641         Patch by Richard Henderson <rth@redhat.com>.
6642         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
6644         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
6645         pointer in FILE structure before calling _IO_init.
6646         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
6647         strfmon_l if necessary.
6648         Reported by Jury Gerold <gjury@grips.com>.
6650         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
6651         Patch by Pekka.Pietikainen@cern.ch.
6653         * posix/regex.c: Correct several problems with 64-bit architectures
6654         introduced in the MBS changes.
6655         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6657 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
6659         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
6660         not defined.
6661         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
6663 2001-02-07  Andreas Jaeger  <aj@suse.de>
6665         * manual/install.texi (Tools for Compilation): Fix typo.
6666         Reported by Pavel Machek <pavel@bug.ucw.cz>.
6668 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
6670         * stdlib/strtod.c: Never stop prematurely reading digits before the
6671         decimal point is found.  Compute exponent limit for negative exponents
6672         correctly.  For numbers ending in all zeros eat the zeros even before
6673         the decimal point if the exponent is negative [PR libc/2072].
6674         * stdlib/Makefile (tests): Add bug-strtod.
6675         * stdlib/bug-strtod.c: New file.
6677 2001-02-07  Andreas Jaeger  <aj@suse.de>
6679         * posix/bug-regex1.c: Include <wchar.h> for fwide.
6681 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
6683         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
6684         Store index.
6685         (compile_range): Handle index being passed, not pointer.
6686         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6688         * posix/regex.c: Fix a cast in the code for bracket handling which
6689         caused 8-bit uncleanliness.
6690         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
6692         * posix/Makefile (tests): Add bug-regex1.
6693         * posix/bug-regex1.c: New file.
6694         Contributed by Jim Meyering <jim@meyering.net>.
6696         * posix/regex.c: Many cleanups for incorrect format strings.
6698 2001-02-06  Andreas Jaeger  <aj@suse.de>
6700         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
6702 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
6704         * locale/programs/locale.c (write_locales): Use scandir to read
6705         directory so that the entries are sorted.
6707 2001-02-06  Andreas Jaeger  <aj@suse.de>
6709         * include/pthread.h: New file.
6711         * wctype/wctype.h: Move internal interfaces from here to...
6712         * include/wctype.h: ...here.
6714         * wcsmbs/wchar.h: Move __wcslen from here to...
6715         * include/wchar.h: ...here.
6717         * posix/sys/wait.h: Move __wait from here to...
6718         * include/sys/wait.h: ...here.
6720         * string/string.h: Move __ffs and __strerror_r from here to...
6721         * include/string.h: ...here.
6723         * stdlib/stdlib.h: Move __on_exit from here to...
6724         * include/stdlib.h: ...here.
6726         * libio/stdio.h: Move __vsnprintf from here to...
6727         * include/stdio.h: ...here.
6729 2001-02-06  Andreas Schwab  <schwab@suse.de>
6731         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
6732         headers.
6734         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
6735         of $(inst_datadir).
6737 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
6739         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
6741 2001-02-06  Andreas Jaeger  <aj@suse.de>
6743         * elf/firstobj.c: Add prototype.
6745         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
6746         (truncate_wchar): Likewise.
6748 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
6750         * locale/programs/locale.c: Implement --verbose option for -a
6751         which prints detailed information about the locales.
6753 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
6755         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
6756         variable to uint32_t.
6757         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
6759 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
6761         * locale/C-translit.h.in: Add transliterations for CJK units of
6762         measurement.
6764 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
6766         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
6767         string.  Include <inttypes.h> instead of <stdint.h>.
6769         * localedata/Makefile (tests): Add bug-iconv-trans.
6770         Define bug-iconv-trans-ENV.
6771         * localedata/bug-iconv-trans.c: New file.
6773 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
6775         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
6776         pointer, to avoid accumulating output from incomplete (unsuccessful)
6777         transliteration attempts.
6779 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
6781         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
6782         string.  Include <inttypes.h> instead of <stdint.h>.
6784         * configure.in: Add check for bison.
6785         * config.make.in: Define BISON variable.
6786         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
6787         Rename YFLAGS to BISONFLAGS.
6789 2001-02-05  Andreas Jaeger  <aj@suse.de>
6791         * io/test-lfs.c (do_test): Test lseek64 return value, call
6792         test_ftello.
6793         (test_ftello): New function to test ftello64 and fseeko64.
6795         * signal/signal.h: Move __sigaction from here to...
6796         * include/signal.h: ...here.
6798         * io/fcntl.h: Move __fcntl and __open to...
6799         * include/fcntl.h: ...here.
6801 2001-02-04  Philip Blundell  <philb@gnu.org>
6803         * configure.in: Distinguish ARM from Thumb.
6805 2001-02-04  Philip Blundell  <philb@gnu.org>
6807         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
6808         PC24 relocs with negative value.
6810 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
6812         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
6813         files in locale/programs.  Add CFLAGS definition to allow compiling
6814         localedef files.
6815         * iconv/dummy-repertoire.c: New file.
6816         * iconv/iconv_charmap.c: New file.
6817         * iconv/iconv_prog.h: New file.
6818         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
6819         (main): If parameter for -f and -t contain slashes try first to resolve
6820         the strings as filenames of charmap files.  Use them for conversion
6821         in this case.
6822         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
6823         iconv getting charmap names as parameters.
6824         * locale/programs/linereader.c (lr_token): Take extra parameters
6825         verbose and pass it to get_string.
6826         (get_string): Take extra parameters verbose.
6827         * locale/programs/charmap.c (parse_charmap): Take extra parameters
6828         verbose and be_quiet.  Change all callers of lr_token and
6829         parse_charmap.
6830         * locale/programs/charmap.h: Likewise.
6831         * locale/programs/ld-address.c: Likewise.
6832         * locale/programs/ld-collate.c: Likewise.
6833         * locale/programs/ld-ctype.c: Likewise.
6834         * locale/programs/ld-identification.c: Likewise.
6835         * locale/programs/ld-measurement.c: Likewise.
6836         * locale/programs/ld-messages.c: Likewise.
6837         * locale/programs/ld-monetary.c: Likewise.
6838         * locale/programs/ld-name.c: Likewise.
6839         * locale/programs/ld-numeric.c: Likewise.
6840         * locale/programs/ld-paper.c: Likewise.
6841         * locale/programs/ld-telephone.c: Likewise.
6842         * locale/programs/ld-time.c: Likewise.
6843         * locale/programs/linereader.c: Likewise.
6844         * locale/programs/linereader.h: Likewise.
6845         * locale/programs/localedef.c: Likewise.
6846         * locale/programs/locfile.c: Likewise.
6847         * locale/programs/locfile.h: Likewise.
6848         * locale/programs/repertoire.c: Likewise.
6850 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
6852         * iconv/iconv_prog.c (main): If output file name is "-" write to
6853         stdout.
6854         (main): If -f or -t argument is missing use charset of the current
6855         locale.
6857 2001-02-03  Andreas Jaeger  <aj@suse.de>
6859         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
6860         boundary for SSE/SSE-2 alignment.
6862         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
6863         annexc.
6865 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
6867         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
6868         Remove comma at end of enum.
6870         * elf/dl-init.c: Add a few __builtin_expect.
6872         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
6874 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
6876         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
6877         errno is ECONNREFUSED.
6879         * posix/Makefile: Define MBS_SUPPORT for regex.c.
6880         * posix/regex.c: Implement multibyte character handling.
6881         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
6883         * string/tst-svc.input: Add two more test cases.
6884         * string/tst-svc.expect: Modify to reflect new test cases.
6886 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
6888         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
6889         tp->name tests with tp->name[0] tests.
6891 2001-01-29  Ben Collins  <bcollins@debian.org>
6893         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
6894         Fix check for name == NULL.
6896 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
6898         * elf/Makefile: Add rules to build and run initfirst test.
6899         * elf/initfirst.c: New file.
6900         * elf/firstobj.c: New file.
6902         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
6903         * configure.in: Test for -z initfirst linker option.
6904         * config.make.in: Add have-z-initfirst.
6905         * elf/dl-init.c (_dl_init): Split out actual initialization code in
6906         new function call_init.  If _dl_initfirst is non-NULL initialize first.
6907         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
6908         remember object in _dl_initfirst.
6909         * elf/soinit.c: Remove special support for calling
6910         __pthread_initialize_minimal.
6912         * conform/conformtest.pl: Add missing $prepend in type test.
6914 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
6916         * elf/elf.h (SHT_CHECKSUM): New definition.
6918         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
6919         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6920         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
6922 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
6924         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
6925         to get definition of `struct timeval'.
6927 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
6929         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
6930         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
6932 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
6934         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
6935         seen, not flags.
6937         * nis/nis_findserv.c: Include <time.h>.
6939 2001-01-30  Yong Li  <yong.li@asu.edu>
6941         * iconv/iconv_prog.c (main): Correct error handling method name.
6943 2001-01-29  Ben Collins  <bcollins@debian.org>
6945         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
6946         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
6947         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
6948         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
6950 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
6952         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
6953         Patch by Marko Myllynen <myllynen@lut.fi>.
6955         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
6956         (int instead of char).
6957         (__strpbrk_c3): Likewise.
6958         Reported by GOTO Masanori <gotom@debian.or.jp>.
6960         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
6961         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
6962         * include/sys/socket.h: Add SA_LEN here for internal use.
6963         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
6965 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
6967         * malloc/Makefile: Don't build memusagestat if cross-compiling.
6969         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
6971         * math/libm-test.inc (rint_test): Add a few more tests for round
6972         to even rounding.
6974 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
6976         * conform/data/pthread.h-data: Correct return type of pthread_exit.
6978         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
6980         * conform/data/stdlib.h-data: Add _Exit.
6982         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
6983         if not already happened.
6984         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
6985         Don't include <limits.h> and <bits/sockaddr.h>.
6987         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
6989         * conform/data/spawn.h-data: Allow all of <sched.h>.
6991         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
6992         unused variable.
6994         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
6995         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
6997         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
6999         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
7000         * libio/stdio.h: Define va_list correctly.
7002         * conform/data/pthread.h-data: Make priority protocol related
7003         functions optional.  Fix typos.
7005         * posix/sched.h: Define sched_priority as __sched_priority.
7006         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
7007         to __sched_priority.
7008         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7010 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
7012         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
7013         of <sys/time.h>.
7015         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
7016         * sysdeps/unix/time.c: Likewise.
7018         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
7019         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
7020         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
7021         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
7022         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
7023         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
7024         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
7025         * time/time.h: Likewise.
7027         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
7028         * conform/data/complex.h-data: New file.
7029         * conform/data/tgmath.h-data: New file.
7031         * conform/data/wchar.h-data: Add missing functions.
7033         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
7035         * conform/data/termios.h-data: Add missing const in tcsetattr()
7036         prototype.
7038         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
7039         Don't define pid_t here.
7041         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
7043         * conform/data/sys/time.h-data: Allow sys/select.h.
7044         * conform/data/sys/un.h-data: Fix typo.
7045         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
7046         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
7047         <sys/time.h>.
7048         * sysdeps/unix/clock_nanosleep.c: Likewise.
7049         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
7050         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
7051         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
7052         * sysdeps/unix/clock_settime.c: Likewise.
7054         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
7055         * login/getutent.c: Likewise.
7056         * login/getutid.c: Likewise.
7057         * login/getutline.c: Likewise.
7059         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
7061         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
7062         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
7063         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
7064         f_fsid field after change in struct statvfs.
7065         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
7066         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
7067         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
7069         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
7070         optional-macro.
7072         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
7073         recvfrom, send, and socketpair prototypes.  Add allow lines.
7074         * socket/sys/socket.h: Include <sys/uio.h>.
7075         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
7076         Fix type of second parameter of listen.
7077         Don't declare isfdtype unless __USE_MISC.
7078         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
7079         * sysdeps/mach/hurd/listen.c: Likewise.
7080         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
7081         ss_family and __ss_family.
7082         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
7083         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7084         (struct msghdr): Change type of msg_iovlen to int and type of
7085         msg_controllen to socklen_t.
7086         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
7087         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
7088         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
7089         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
7090         (rresvport_af): Likewise.
7092         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
7093         * conform/conformtest.pl: Implement handling of symbol.
7095         * signal/signal.h: Fix handling of __need_* symbols.
7096         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
7097         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
7098         * include/sys/select.h: Use fd_set not __fd_set.
7099         * sysdeps/generic/bits/select.h: Likewise.
7100         * sysdeps/i386/bits/select.h: Likewise.
7101         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
7102         __FDELT, __FDMASK, and __fd_set here.
7103         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
7104         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
7105         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
7106         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
7107         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
7108         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
7109         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
7110         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
7111         * time/sys/time.h: Define struct timeval before including <time.h>
7112         and <sys/select.h>.
7114         * conform/data/sys/time.h-data: fd_set is a typedef.
7115         * conform/data/sys/select.h-data: New file.
7116         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
7117         * conform/conformtest.pl (@headers): Add sys/select.h.
7118         (type, optional-type): Unless testing a typedef instantiate object.
7119         Implement optional-function.
7121         * math/test-misc.c: Include <float.h>.
7123 2001-01-27  Andreas Jaeger  <aj@suse.de>
7125         * misc/efgcvt_r.c: Include <float.h>.
7127 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
7129         * conform/data/stdlib.h-data: Account for XPG6 changes.
7130         * stdlib/stdlib.h (__random): Change return value type to long.
7131         (posix_memalign): Cleanup parameter names.
7132         (setenv, unsetenv): Make available for __USE_XOPEN2K.
7133         Change return type of unsetenv to int.
7134         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
7135         * include/stdlib.h: Change return type of unsetenv to int.
7136         Change return type of random to long int.
7137         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
7138         Return -1 and set errno if parameter is invalid.
7139         * stdlib/random.c (__random): Change return value type to long.
7141         * conform/data/stdio.h-data: Account for changes in XPG6.
7143         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
7144         prototype.
7146         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
7147         * conform/data/signal.h-data: Fix sigev_notify_function entry.
7148         Fix typo (SIGVALRM -> SIGVTALRM).
7149         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
7150         with real type.
7151         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
7152         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
7153         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
7154         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7155         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
7157         * conform/conformtest.pl: Implement optional-element.  Define
7158         $mustprepend{"sched.h"}.
7159         * conform/data/sched.h-data: Make sporadic scheduler definitions
7160         optional.
7162         * pwd/pwd.h: Don't define getpwent_r for XPG.
7164         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
7165         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
7166         * sysdeps/mach/hurd/poll.c: Likewise.
7167         * sysdeps/unix/bsd/poll.c: Likewise.
7168         * sysdeps/unix/sysv/linux/poll.c: Likewise.
7169         * sysdeps/unix/sysv/aix/poll.c: Likewise.
7170         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
7171         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
7172         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
7173         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
7174         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
7175         * conform/data/poll.h-data: Fix typo in poll prototype.
7177         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
7178         only if __USE_MISC.
7179         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
7181         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
7183         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
7185         * conform/conformtest.pl: Implement optional-type.
7187         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
7188         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
7189         defining uint32_t here.  Define IPPORT_RESERVED.
7190         (struct hostent): Type of h_length element is int.
7191         (getnameinfo): Type of flags parameter is unsigned int.
7192         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
7193         * conform/data/netdb.h-data: Add many missing definitions.
7195         * conform/conformtest.pl: Implement optional-macro.
7196         * conform/data/math.h-data: Update for XPG6.
7198         * math/math.h (HUGE): Define as FLT_MAX value but don't use
7199         FLT_MAX.  Don't include <float.h>.
7200         (MAXFLOAT): Likewise.
7202         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
7204         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
7206         * conform/data/limits.h-data: Mark constants as optional wherever
7207         appropriate.
7209         * posix/bits/posix2_lim.h: Set correct values for
7210         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
7211         EQUIV_CLASS_MAX.
7213         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
7214         Required by POSIX.
7216         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
7218         * conform/data/netinet/in.h-data: Add reserved prefixes.
7220         * conform/data/arpa/inet.h-data: Fix a few typos.
7222 2001-01-26  Andreas Jaeger  <aj@suse.de>
7224         * sysdeps/generic/strtol.c: Include <locale.h>
7225         * stdlib/strtod.c: Likewise
7226         * stdlib/strfmon.c: Likewise.
7227         * string/strcoll.c: Likewise.
7228         * string/strxfrm.c: Likewise.
7229         * wctype/wcfuncs_l.c: Likewise.
7230         * wctype/wctype_l.c: Likewise.
7231         * wctype/wctrans_l.c: Likewise.
7233         * include/bits/locale.h: New file.
7235 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
7237         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
7238         and NOSTR.
7240         * locale/Makefile (headers): Add bits/locale.h.
7241         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
7242         and use __LC_ constants instead of LC_.
7243         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
7244         using __LC_ constants.
7245         * locale/bits/locale.h: New file.
7246         * locale/loadlocale.c: Include <locale.h>.
7247         * locale/nl_langinfo.h: Likewise.
7249         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
7251         * io/sys/stat.h: Define S_IFSOCK for XPG6.
7253         * conform/data/fcntl.h-data: posix_madvise is not expected here.
7255         * conform/conformtest.pl: Fix handling of macro-str.
7257         * conform/data/inttypes.h-data: Add missing definition and all of
7258         stdint.h-data.
7260         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
7262 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
7264         * conform/conformtest.pl (@headers): Add stdint.h.
7265         * conform/data/stdint.h-data: New file.
7267         * conform/conformtest.pl: Recognize options --headers and
7268         --dialect.  Add dialect-specific CFLAGS.
7270         * conform/conformtest.pl: Implement handling of recursive
7271         allow-header.
7273         * conform/data/locale.h-data: Add new struct lconv members.
7275         * posix/wordexp.h: Correct definition of wordexp_t.
7276         * posix/wordexp.c: Moved to ...
7277         * sysdeps/generic/wordexp.c: ...here.  New file.
7278         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
7279         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
7280         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
7281         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
7282         wordexp.
7283         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
7284         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
7286         * math/tgmath.h: Pretty printing.
7288         * math/Makefile (tests): Add test-tgmath.
7289         (CFLAGS-test-tgmath.c): New variable.
7290         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
7292         * conform/conformtest.pl: Handle allow-header in secondary headers
7293         correctly.
7295         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
7296         #ifdef.
7298         * conform/data/netinet/in.h-data: Use correct comment character.
7299         * conform/data/sys/stat.h-data: Likewise.
7301 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
7303         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
7304         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
7305         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
7306         __builtin_classify_type, add ##f suffixes where appropriate.
7307         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
7308         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
7309         __builtin_classify_type.
7310         (fma): Fix spelling of first argument.
7312 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
7314         * conform/data/unistd.h-data: Mark functions removed in XPG6
7315         correctly.
7317         * posix/unistd.h: Don't make functions removed in XPG6 available if
7318         __USE_XOPEN2K.
7320         * conform/conformtest.pl: Implement optional-constant.
7321         * conform/data/unistd.h-data: Use optional-constant wherever
7322         appropriate.
7324         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
7325         constants and add _SC_STREAMS.
7326         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7328         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
7329         make old name weak alias.
7330         * sysdeps/generic/statvfs64.c: Likewise.
7331         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
7332         make old name weak alias.
7333         * sysdeps/generic/fstatvfs64.c: Likewise.
7334         * include/sys/statvfs.h: New file.
7336         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
7337         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
7338         _PC_REC_XFER_ALIGN.
7339         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
7340         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
7341         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
7342         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
7344         * conform/conformtest.pl: Run Unix tests for XPG6.
7345         Implement handling of known namespace violations.
7346         Improve printing of results.
7348         * posix/unistd.h (usleep): Correct return type.
7349         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
7350         * sysdeps/unix/bsd/usleep.c: Correct return type.
7351         * sysdeps/mach/usleep.c: Correct return type.
7352         * sysdeps/generic/usleep.c: Correct return type.
7354         * posix/unistd.h (sync): Correct return type.
7355         * sysdeps/generic/sync.c: Likewise.
7356         * sysdeps/mach/hurd/sync.c: Likewise.
7358         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
7360         * posix/unistd.h: Make seteuid and setegid available for XPG6.
7362         * wcsmbs/wchar.h: Get FILE definition for XPG5.
7364         * conform/data/ctype.h-data: Use correct comment form.
7365         * conform/data/errno.h-data: Likewise.
7366         * conform/data/math.h-data: Likewise.
7367         * conform/data/mqueue.h-data: Likewise.
7368         * conform/data/netdb.h-data: Likewise.
7369         * conform/data/pthread.h-data: Likewise.
7371 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
7373         * conform/data/wordexp.h-data: Fix typo.
7375         * conform/conformtest.pl: Handle allow-header correctly.
7377         * conform/data/time.h-data: Use correct comment form.
7379         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
7381         * configure.in: Comment out binutils version test.
7383         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
7384         separators.
7385         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
7387         * stdlib/tst-strtod.c (locale_test): New function.
7388         (main): Call locale_test.
7389         * stdlib/Makefile (tst-strtod-ENV): New variable.
7391 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
7393         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
7394         declaration of value such that we actually return the value of the
7395         environment variable.
7397 2001-01-24  Andreas Jaeger  <aj@suse.de>
7399         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
7400         prototype.
7401         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7403         * include/sys/sysctl.h: New file.
7405 2001-01-23  Andreas Jaeger  <aj@suse.de>
7407         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
7408         isomac.
7410         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
7411         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
7412         closes PR libc/2039.
7414         * manual/install.texi (Tools for Compilation): Change required
7415         binutils version.
7417 2001-01-22  Andreas Jaeger  <aj@suse.de>
7419         * configure.in: Add test for new enough binutils version, move
7420         compiler/binutils test up.
7422         * Versions.def: Add version GLIBC_2.2.2.
7424 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
7426         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
7427         available.
7428         * iconvdata/testdata/IBM932: New file.
7429         * iconvdata/testdata/IBM932..UTF8: New file.
7430         * iconvdata/testdata/IBM943: New file.
7431         * iconvdata/testdata/IBM943..UTF8: New file.
7432         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
7434 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7436         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
7438 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
7440         * malloc/malloc.c: Remove a few unnecessary initializers of global
7441         variables.
7443 2000-12-09  H.J. Lu  <hjl@gnu.org>
7445         * nss/Makefile (routines): Add digits_dots.
7446         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
7447         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
7448         into a function.
7449         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
7450         function.
7451         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
7452         (TYPE_VAR_P): Likewise.
7453         (FLAGS_VAR): Likewise.
7454         (AF_VAR_P): Likewise.
7455         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
7456         instead of including digits_dots.c.
7457         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
7458         (TYPE_VAR_P): Likewise.
7459         (FLAGS_VAR): Likewise.
7460         (AF_VAR_P): Likewise.
7461         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
7462         instead of including digits_dots.c.
7464 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
7466         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
7468 2001-01-21  Andreas Jaeger  <aj@suse.de>
7470         * elf/constload2.c: Add prototype for init.
7472 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
7474         * stdlib/stdlib.h (drand48_data): Make available only for
7475         __USE_MISC.  Rename elements to protect namespace.  Change type
7476         and position of a and init element.
7477         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
7478         differently.  Adjust for drand48_data change.  Don't compute a here,
7479         it comes from drand48_data.
7480         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
7481         differently.  Adjust for drand48_data change.  Compute a here.
7482         * stdlib/srand48_r.c: Likewise.
7483         * stdlib/drand48.c: Adjust for drand48_data change.
7484         * stdlib/lrand48.c: Likewise.
7485         * stdlib/mrand48.c: Likewise.
7486         * stdlib/seek48.c: Likewise.
7487         * stdlib/drand48_r.c: Likewise.
7488         * stdlib/lrand48_r.c: Likewise.
7489         * stdlib/mrand48_r.c: Likewise.
7490         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
7491         differently.
7492         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
7493         * stdlib/jrand48_r.c: Likewise.
7495         * po/sv.po: Update from translation team.
7497 2001-01-21  Andreas Jaeger  <aj@suse.de>
7499         * stdio-common/vfprintf.c (vfprintf): Add casts.
7501 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
7503         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
7504         the ASCII test.
7505         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
7507         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
7508         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
7509         * iconvdata/ibm932.c: New file.
7510         * iconvdata/ibm932.h: New file.
7511         * iconvdata/ibm943.c: New file.
7512         * iconvdata/ibm943.h: New file.
7513         Patches by Masahide Washizawa <washi@jp.ibm.com>.
7515         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
7516         preventing optimization from being done.  Set the correct type bit
7517         in seen.  Don't define and use _dl_base_addr unless
7518         NEED_DL_BASE_ADDR is defined.
7520         * io/ftw.c (ftw_dir): Add slash after directory name if there
7521         wasn't any.  Reported by loris <loris@iol.it>.
7522         * io/Makefile (tests): Add bug-ftw2.
7523         * io/bug-ftw2.c: New file.
7525 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
7527         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
7528         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
7529         * stdlib/tst-rand48.c: New file.
7530         * stdlib/Makefile (tests): Add tst-rand48.
7532         * locale/newlocale.c (__newlocale): Fix test for setting all
7533         categories.
7535 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
7537         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
7538         but change looking up the initial directory port in a similar way
7539         as done by _hurd_change_directory_port_from_name.
7540         * hurd/fchroot.c (fchroot): Likewise.
7542 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
7544         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
7545         defined don't look whether the AT_*ID values were set.
7546         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
7547         (_dl_show_auxv): Rewrite to avoid switch statement.
7548         * sysdeps/unix/sysv/linux/kernel-features.h: Define
7549         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
7550         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
7551         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
7553         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
7554         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
7555         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
7557         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
7558         strtoul.
7559         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
7560         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
7561         anything.
7562         * dlfcn/eval.c (__strtol_internal): Define here.
7563         (eval): Use __strtol_internal instead of strtol.
7565         * elf/elf.h: Add a few more EF_MIPS_* constants.
7567 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
7569         * manual/Makefile (chapters): Add debug.
7570         * manual/debug.texi: New file.
7571         * manual/examples/execinfo.c: New file.
7572         Patch by suckfish@ihug.co.nz.
7574 2001-01-17  Andreas Schwab  <schwab@suse.de>
7576         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
7577         invalid asm.
7579 2001-01-17  Andreas Jaeger  <aj@suse.de>
7581         * nscd/connections.c (nscd_run): Use proper format specifier.
7583 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
7585         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
7586         x86_platforms data into new file after prepending _dl_.  Change
7587         users.
7588         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
7589         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
7590         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
7591         dl-procinfo.c.
7593         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
7595         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
7596         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
7597         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
7598         (_setjmp): Likewise.
7599         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
7600         * sysdeps/i386/bsd-setjmp.S: Real implementation.
7601         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
7602         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
7603         version.
7605 2001-01-16  Andreas Jaeger  <aj@suse.de>
7607         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
7608         misapplied last patch.
7610 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
7612         * stdlib/random.c (__initstate): Clean up a cast.
7613         (__setstate): Likewise.
7615         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
7616         syscall handling.  The generic Linux version should work.
7618 2001-01-15  Andreas Jaeger  <aj@suse.de>
7620         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
7622         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
7624 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
7626         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
7627         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
7628         New functions.
7629         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
7630         If number is 0, list all.
7631         (services_keys): Likewise.  Lookup aliases as well.
7632         (databases): New table.
7633         (build_doc): Prepare argp doc text with list of supported databases.
7634         (main): Change to table driven processing.
7636 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
7638         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
7639         functions.
7641 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
7643         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
7644         encode value which does not fit in the 32bit type.
7646 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
7648         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
7649         Change type of CTX to (struct sigcontext *).
7650         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
7651         (GET_FRAME): Likewise.
7652         (GET_STACK): Likewise.
7653         (SIGCONTEXT): Likewise.  Add 2nd arg _code.
7654         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
7656 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
7658         * manual/texinfo.tex: Update from upstream version.
7660 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
7662         * inet/ether_ntoh.c (lookup_function): Change arguments to match
7663         _nss_*_getntohost_r prototype.
7664         (ether_ntohost): Pass errno pointer to NSS function.
7666 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7668         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
7669         (MAP_LOCKED): New definition.
7670         (MAP_NORESERVE): New definition.
7672 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
7674         * assert/assert.h: Use static_cast instead of C-style cast for C++.
7675         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
7677 2001-01-12  Ben Collins  <bcollins@debian.org>
7679         * sysdeps/generic/segfault.c (install_handler): Use access, not
7680         __access.
7682 2001-01-12  Andreas Jaeger  <aj@suse.de>
7684         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
7685         * posix/wordexp.c (do_parse_glob): Likewise.
7686         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
7687         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
7688         * elf/dl-open.c (_dl_open): Likewise.
7689         * elf/dl-close.c (_dl_close): Likewise.
7690         * elf/dl-load.c (_dl_map_object): Likewise.
7691         * iconv/iconv_prog.c (process_fd): Likewise.
7692         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
7694         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
7695         of a zero-length array.
7697 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
7699         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
7700         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
7701         * stdlib/cxa_on_exit.c: Remove.
7702         * stdlib/Makefile: Revert last patch.
7703         * stdlib/Versions: Likewise.
7704         * include/stdlib.h: Likewise.
7705         * stdlib/exit.h: Revert last patch.
7706         (struct exit_function): Add second argument to cxa fn.
7707         * stdlib/exit.c: Revert last patch.
7708         (exit): Add hidden second argument.
7710 2001-01-11  H.J. Lu  <hjl@gnu.org>
7712         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
7713         * elf/dl-open.c (_dl_open): Here.
7714         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
7715         Make it static.
7716         (_dl_static_init): Initialize the variables every time when possible.
7717         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
7718         Undefine it first.
7720 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
7722         * stdlib/Makefile (routines): Add cxa_on_exit.
7723         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
7724         * stdlib/cxa_on_exit.c: New file.
7725         * include/stdlib.h: Add prototype for __cxa_on_exit.
7726         * stdlib/exit.c: Handle ef_cxa2.
7727         * stdlib/exit.h (enum): Add ef_cxa2.
7728         (struct exit_function): Add cxa2.
7730         * Versions.def [ld]: Add GLIBC_2.2.1.
7732 2001-01-10  H.J. Lu  <hjl@gnu.org>
7734         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
7735         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
7736         dl-static.
7737         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
7738         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
7739         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
7740         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
7741         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
7743 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
7745         * libio/stdio.h: Remove definition of off_t.
7747 2001-01-11  Andreas Jaeger  <aj@suse.de>
7749         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
7750         <mkuhn@acm.org>.
7752 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
7754         * sunrpc/Makefile (distribute): Add errqueue.h.
7756 2001-01-10  H.J. Lu  <hjl@gnu.org>
7758         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
7759         r9, r10 and r11 for language specific registers.
7761 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
7763         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
7764         UDP socket.
7765         (clntudp_call): Handle MSG_ERRQUEUE.
7766         * sysdeps/generic/errqueue.h: New file.
7767         * sysdeps/unix/sysv/linux/errqueue.h: New file.
7769 2001-01-10  H.J. Lu  <hjl@gnu.org>
7771         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
7773 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
7775         * CONFORMANCE: Update.
7777 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
7779         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
7780         Minimal cleanups.  Add assert to ensure memory handling is correct.
7782         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
7783         Reported by Ben Collins <bcollins@debian.org>.
7785         * time/strftime.c (my_strftime): Mark previous GNU extensions
7786         which are now in C99 as such.
7788 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
7790         * elf/rtld.c (process_envvars): Place output files for profiling
7791         in SUID binaries in /var/profile.
7793         * elf/dl-load.c (_dl_map_object): Don't look in cache for
7794         preloading in SUID binaries.
7796         * elf/dl-profile.c (_dl_start_profile): Open the output file with
7797         O_NOFOLLOW if possible.
7799         * include/stdlib.h: Add __posix_openpt declaration.
7800         * stdlib/stdlib.h: Add posix_openpt declaration.
7801         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
7802         * sysdeps/generic/getpt.c: Define posix_openpt.
7803         * sysdeps/unix/bsd/getpt.c: Likewise.
7804         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
7806         * time/Makefile (tests): Add tst-mktime.
7807         * time/tst-mktime.c: New file.
7809         * posix/tst-dir.c (main): One more mkdir() test.
7811         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
7812         Remove getpagesize syscall.  We assume that the pagesize is always
7813         determined from the auxiliary vector.
7815         * intl/dcigettext.c: Fix a few warnings.
7816         Patch by Bruno Haible <haible@ilog.fr>.
7818 2001-01-08  Andreas Jaeger  <aj@suse.de>
7820         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
7821         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
7823 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
7825         * sysdeps/generic/segfault.c (install_handler): Check output file
7826         name with access().
7828         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
7829         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
7831         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
7833         * malloc/memusage.c (me): Use access() to determine whether we
7834         should write the output file or not.
7836         * libio/bits/stdio.h (printf): Define macro to map printf call to
7837         fprintf which gcc can optimize.
7838         * stdio-common/printf.c: Undefine printf.
7840 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
7842         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
7843         patch.  We must use unsigned int for l member of union.
7845         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
7846         _dl_aux_init for shared libraries.
7848         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
7849         * sysdeps/gnu/glob64.c: ...here.  New file.
7851 2001-01-07  Ben Collins  <bcollins@debian.org>
7853         * manual/examples/longopt.c: Make the "struct option" a little
7854         more like it should be, adding usage of required_argument,
7855         noargument and such, and also setting the options string right.
7857         * manual/sysinfo.texi (Load Average): New section, documents
7858         getloadavg().
7860 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
7862         * version.h (VERSION): Bump to 2.2.1.
7864         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
7865         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
7866         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
7867         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
7868         * Makefile (distribute): Add include/libc-internal.h.
7869         * libio/Makefile (distribute): Avoid overwriting.
7871         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
7872         buffer and table handling.
7874 2001-01-05  H.J. Lu  <hjl@gnu.org>
7876         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
7877         vector checking to ...
7878         (_dl_aux_init): Here.  New function.  Defined only if
7879         HAVE_AUX_VECTOR is defined.
7881         * sysdeps/generic/libc-start.c (__libc_start_main): Call
7882         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
7884         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
7885         _dl_aux_init.
7887         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
7888         (HAVE_AUX_VECTOR): Defined.
7889         (_dl_aux_init): Declared.
7891 2001-01-05  Ben Collins  <bcollins@debian.org>
7893         * manual/string.texi (Finding Tokens in a String): Document XPG
7894         basename() and dirname(), as well as GNU basename().
7896 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
7898         * Makeconfig (preprocess-version): Replace -traditional with
7899         -x assembler-with-cpp.
7901 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
7903         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
7904         for GCC 2.97 or later.
7906 2001-01-05  Ben Collins  <bcollins@debian.org>
7908         * manual/stdio.texi (getline): Clarify the return value in the
7909         case of EOF being reached before a newline.
7911 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
7913         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
7914         FALSE otherwise.
7915         (pmap_set, pmap_unset): Check __get_myaddress return value.
7917 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
7919         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
7920         (struct ether_addr): Declare ether_addr_octet member as
7921         `u_int8_t'.  Add __attribute__ ((__packed__)).
7923 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7925         * sysdeps/mach/hurd/readdir64.c: New file.
7926         * sysdeps/mach/hurd/readdir64_r.c: New file.
7928 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
7930         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
7931         `struct statfs' and `struct statvfs' being identical.
7932         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
7934 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7936         * sysdeps/mach/hurd/fstatfs64.c: New file.
7937         * sysdeps/mach/hurd/fstatvfs64.c: New file.
7938         * sysdeps/mach/hurd/statfs64.c: New file.
7939         * sysdeps/mach/hurd/statvfs64.c: New file.
7940         * sysdeps/mach/hurd/statfsconv.c: New file.
7941         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
7943 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
7945         * iconv/skeleton.c: Reset outbuf for next round of the loop.
7946         Reported by Owen Taylor <otaylor@redhat.com>.
7947         * iconv/Makefile (tests): Add tst-iconv3.
7948         * iconv/tst-iconv3.c: New file.
7950         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
7951         * iconvdata/ibm933.c: Likewise.
7952         * iconvdata/ibm935.c: Likewise.
7953         * iconvdata/ibm937.c: Likewise.
7954         * iconvdata/ibm939.c: Likewise.
7955         * iconvdata/ibm930.h: Adjust single byte table for optimization.
7956         * iconvdata/ibm933.h: Likewise.
7957         * iconvdata/ibm935.h: Likewise.
7958         * iconvdata/ibm939.h: Likewise.
7960         * iconvdata/testdata/IBM930: Add misssing SI.
7961         * iconvdata/testdata/IBM933: Likewise.
7962         * iconvdata/testdata/IBM935: Likewise.
7963         * iconvdata/testdata/IBM937: Likewise.
7964         * iconvdata/testdata/IBM939: Likewise.
7966 2001-01-06  Andreas Jaeger  <aj@suse.de>
7968         * configure.in: Check for old add-ons that shouldn't be used with
7969         current glibc anymore.
7971 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7973         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
7974         instead of -1 on failure.  Don't forget to copy file name into
7975         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
7976         of the directory.
7978 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7980         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
7981         copy st_atime member.
7983 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
7985         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
7986         for searches from the root directory.
7987         Reported by loris <loris@iol.it> [PR libc/1991].
7988         * io/Makefile (tests): Add bug-ftw1.
7989         * io/bug-ftw1.c: New file.
7991         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
7992         if it is not available.  Instead use it only if it is available.
7993         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
7995         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
7996         overflowing output buffer.
7997         (internal_ucs4_loop_unaligned): Likewise.
7998         (ucs4_internal_loop): Likewise.
7999         (ucs4_internal_loop_unaligned): Likewise.
8000         (internal_ucs4le_loop): Likewise.
8001         (internal_ucs4le_loop_unaligned): Likewise.
8002         (ucs4le_internal_loop): Likewise.
8003         (ucs4le_internal_loop_unaligned): Likewise.
8004         Reported by Owen Taylor <otaylor@redhat.com>.
8005         * iconv/Makefile (tests): Add tst-iconv2.
8006         * iconv/tst-iconv2.c: New file.
8008 2001-01-04  H.J. Lu  <hjl@gnu.org>
8010         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
8011         (_dl_clktck): Declared.
8012         (non_dynamic_init): Take 3 arguments.
8013         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
8015 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
8017         Finish implementation of plural form handling.
8018         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
8019         'domainname'.  Remove 'plindex' field.  Add 'domain' and
8020         'translation_length' fields.
8021         (transcmp): Don't compare 'plindex' fields.
8022         (plural_lookup): New function.
8023         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
8024         plural_eval before the translation and its catalog file have been
8025         found.  Remove plindex from cache key.  Add 'translation_length' and
8026         'domain' to cache result.
8027         (_nl_find_msg): Remove index argument, return length of translation
8028         to the caller instead.  Weaken comparison of string lengths, to account
8029         for plural entries.  Call iconv() on the entire result string, not
8030         only on the portion needed so far.
8031         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
8032         argument.
8033         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
8035 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
8037         * intl/plural.y (yylex): Minimal improvement in number scanner.
8039 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
8041         * intl/plural.y: Include config.h.  Needed to define 'inline' away for
8042         C compilers that don't support it.
8043         (yylex): Don't use gcc specific case range syntax.
8044         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
8045         compilers.
8047 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
8049         * intl/finddomain.c: Remove unneeded includes.
8051 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
8053         * intl/localealias.c (memcpy): Return first argument, just like the
8054         real memcpy function does.
8055         * intl/bindtextdom.c (memcpy): Likewise.
8056         * intl/finddomain.c (memcpy): Likewise.
8057         * intl/l10nflist.c (memcpy): Likewise.
8058         * intl/textdomain.c (memcpy): Likewise.
8059         From Paul Eggert <eggert@twinsun.com>.
8061 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
8063         * resolv/resolv.h (struct __res_state): Add nsinit field.
8064         * resolv/res_send.c (res_nsend): Use it instead of nscount.
8065         * resolv/res_init.c (__res_vinit): Initialize it.
8066         (res_nclose): Clear it instead of nscount.
8068 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
8070         * malloc/mtrace.pl: Fix matching of addresses.
8071         Patch by Aharon Robbins <arnold@skeeve.com>.
8073         * Versions.def (ld): Add GLIBC_2.2.
8075         * catgets/gencat.c: Copyright 2001.
8076         * csu/version.c: Likewise.
8077         * debug/catchsegv.sh: Likewise.
8078         * debug/xtrace.sh: Likewise.
8079         * elf/ldconfig.c: Likewise.
8080         * elf/sprof.c: Likewise.
8081         * iconv/iconv_prog.c: Likewise.
8082         * locale/locale.c: Likewise.
8083         * locale/localedef.c: Likewise.
8084         * malloc/memusage.sh: Likewise.
8085         * malloc/mtrace.pl: Likewise.
8086         * nscd/nscd.c: Likewise.
8087         * posix/getconf.c: Likewise.
8089 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
8091         * include/stdio.h: Only provide __getwc_unlocked prototype if
8092         USE_IN_LIBIO is defined.
8094 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8096         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
8097         handling.
8099 2001-01-03  Andreas Schwab  <schwab@suse.de>
8101         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
8102         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
8104         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
8105         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
8106         strtoull alias.
8107         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
8108         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
8109         wcstoull alias.
8111         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
8112         directory.
8113         * sysdeps/generic/strtol_l.c: Likewise.
8114         * sysdeps/generic/strtoul_l.c: Likewise.
8115         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
8117         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
8118         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
8119         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
8120         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
8122 2001-01-04  Andreas Jaeger  <aj@suse.de>
8124         * nss/nsswitch.c: Include files for missing prototypes, remove
8125         buggy declaration of prototypes.
8127 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8129         * resolv/Versions: Fix bracing.
8130         * sysdeps/powerpc/soft-fp/Versions: Likewise.
8131         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
8133 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8135         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
8137 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
8139         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
8140         Suggested by Minko Markov <mmarkov@home.com>.
8142 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8144         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
8145         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
8146         the failing symbol.
8147         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
8149 2001-01-02  Ben Collins  <bcollins@debian.org>
8151         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
8152         if TZ is not set and TZDEFAULT is not present.
8154 2001-01-01  Ben Collins  <bcollins@debian.org>
8156         * string/strings.h: Make sure we declare our functions even if
8157         string.h is already included, based on whether or not __USE_BSD is
8158         defined.
8160 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
8162         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
8163         other dlopen() and dlsym().
8164         Based on a patch by Ben Collins <bcollins@debian.org>.
8166 2001-01-02  Andreas Jaeger  <aj@suse.de>
8168         * dlfcn/errmsg1.c (main): Call dlerror initially.
8169         Reported by Ben Collins <bcollins@debian.org>.
8171 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
8173         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
8174         value is ignored if the selected locale is the C locale.
8175         * intl/tst-gettext.c: Set locale for above change.
8176         * intl/tst-translit.c: Likewise.
8178 2001-01-02  Andreas Jaeger  <aj@suse.de>
8180         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
8181         (_IO_switch_to_wget_mode): Likewise.
8182         (_IO_sputbackwc): Likewise.
8183         (_IO_sungetwc): Use wint_t for result.
8185         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
8187         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
8188         signedness.
8190         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
8191         to (int) to avoid warnings.
8192         * stdio-common/printf_fp.c (putc): Likewise.
8193         * stdio-common/printf_size.c (putc): Likewise.
8195         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
8196         constant unsigned.
8198 2001-01-01  Andreas Jaeger  <aj@suse.de>
8200         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
8202 2000-12-31  Andreas Jaeger  <aj@suse.de>
8204         * include/libc-internal.h: Add prototype for __libc_freeres.
8206         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
8207         for prototypes, remove redundant prototypes.
8208         * gmon/gmon.c: Likewise.
8209         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
8210         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
8211         * malloc/mtrace.c: Likewise.
8213         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
8214         prototypes.
8215         * elf/soinit.c: Likewise.
8216         * sysdeps/generic/prof-freq.c: Likewise.
8217         * sysdeps/mach/hurd/profil.c: Likewise.
8218         * debug/noophooks.c: Likewise.
8219         * debug/pcprofile.c: Likewise.
8220         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
8221         * sysdeps/generic/get_clockfreq.c: Likewise.
8222         * malloc/set-freeres.c: Likewise.
8224         * locale/localeinfo.h: Add internal prototypes.
8226         * elf/rtld.c (dl_main): Fix prototype.
8228         * iconvdata/tst-table-to.c (main): Use return instead of exit to
8229         avoid warning.
8231         * nis/rpcsvc/yp_prot.h: Remove __P.
8232         * nis/rpcsvc/ypupd.h: Likewise.
8233         * nis/rpcsvc/yp.h: Likewise.
8235         * sunrpc/rpc_main.c: Add noreturn attributes.
8236         * sunrpc/rpc_scan.h: Likewise.
8238         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
8240         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
8242         * sunrpc/proto.h: Add noreturn attributes to error and crash.
8244         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
8246         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
8248         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
8250         * include/rpc/rpc_msg.h: Add prototypes for some functions.
8251         * include/rpc/auth.h: Likewise.
8252         * include/rpc/auth_des.h: Likewise.
8253         * include/rpc/clnt.h: Likewise.
8254         * include/rpc/rpc.h: Likewise.
8255         * include/rpc/svc.h: Likewise.
8256         * include/rpc/svc_auth.h: Likewise.
8258         * include/rpc/des_crypt.h: New file.
8260         * malloc/memusagestat.c (main): Use return instead of exit to
8261         avoid warning.
8262         * io/pwd.c (main): Likewise.
8263         * iconvdata/tst-table-from.c (main): Likewise.
8264         * ctype/test_ctype.c (main): Likewise.
8265         * setjmp/tst-setjmp.c (main): Likewise.
8266         * signal/tst-signal.c (main): Likewise.
8267         * stdlib/tst-strtol.c (main): Likewise.
8268         * stdlib/tst-strtod.c (main): Likewise.
8269         * stdlib/tst-strtoll.c (main): Likewise.
8270         * stdlib/tst-xpg-basename.c (main): Likewise.
8271         * dirent/tst-seekdir.c (main): Likewise.
8272         * grp/testgrp.c (main): Likewise.
8273         * inet/test_ifindex.c (main): Likewise.
8274         * io/test-utime.c (main): Likewise.
8275         * posix/test-vfork.c (main): Likewise.
8276         * posix/testfnm.c (main): Likewise.
8277         * stdio-common/temptest.c (main): Likewise.
8278         * stdio-common/test_rdwr.c (main): Likewise.
8279         * stdio-common/tst-fileno.c (main): Likewise.
8280         * stdio-common/tst-sscanf.c (main): Likewise.
8281         * stdio-common/tstscanf.c (main): Likewise.
8282         * string/bug-strncat1.c (main): Likewise.
8283         * string/bug-strpbrk1.c (main): Likewise.
8284         * string/bug-strspn1.c (main): Likewise.
8285         * string/test-ffs.c (main): Likewise.
8286         * string/tst-inlcall.c (main): Likewise.
8287         * string/tst-svc.c (main): Likewise.
8288         * timezone/test-tz.c (main): Likewise.
8289         * wctype/test_wcfuncs.c (main): Likewise.
8290         * wctype/test_wctype.c (main): Likewise.
8292         * stdlib/tst-random.c: Add attribute noreturn to fail.
8294 2000-12-28  Wolfram Gloger  <wg@malloc.de>
8296         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
8297         destination overlap.  Assume dest is always below source if
8298         overlapping.
8300 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
8302         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
8303         object was not yet initialized.
8305 2000-12-28  H.J. Lu  <hjl@gnu.org>
8307         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
8308         is always consistent even if its dependency is failed.
8310         * elf/dl-open.c (_dl_open): Increment the open count before
8311         calling _dl_close () in case of failure.
8313         * elf/neededtest4.c: New file.
8314         * elf/neededobj5.c: New file.
8315         * elf/neededobj6.c: New file.
8317         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
8318         (tests): Add neededtest4.
8319         (modules-names): Add neededobj5 and neededobj6.
8320         ($(objpfx)neededobj6.so): New target.
8321         ($(objpfx)neededtest4): New target.
8322         ($(objpfx)neededtest4.out): New target.
8324 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
8326         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
8327         * stdlib/monetary.h: Add strfmon format attributes.
8329 2000-12-28  Roland McGrath  <roland@frob.com>
8331         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
8332         __mempcpy does it for us.
8334 2000-12-28  Andreas Jaeger  <aj@suse.de>
8336         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
8338         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
8339         __new_setrlimit.
8341         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
8342         __old_getrlimit64.
8344         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
8345         __new_getrlimit.
8347         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
8348         __chown_is_lchown and __real_chown.
8350         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
8351         _dl_reloc_bad_type.
8353         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
8354         up GCC's warning about "deprecated use of label at end of compound
8355         statement."
8356         * sunrpc/rpc_cout.c (emit_inline): Likewise.
8358         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
8359         prototypes.
8360         Remove struct bb and __bb_head since those are declared by
8361         sys/gmon.h.
8363 2000-12-22  Ben Collins  <bcollins@debian.org>
8365         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
8367         * manual/argp.texi: Document argp_domain as part of struct argp.
8369 2000-12-28  Andreas Jaeger  <aj@suse.de>
8371         * catgets/Makefile (generated): Add sample.SJIS.cat.
8373         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
8375         * elf/dl-minimal.c: Add prototypes.
8377         * include/locale.h: Add internal prototypes.
8378         * include/sys/gmon.h: Likewise.
8380         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
8382 2000-12-27  Ben Collins  <bcollins@debian.org>
8384         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
8385         when reallocating the error strings.
8386         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
8388 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
8390         * dlfcn/Makefile (tests): Add errmsg1.
8391         (modules-names): Add errmsg1mod.
8392         Add rules to run errmsg1.
8393         * dlfcn/errmsg1.c: New file.
8394         * dlfcn/errmsg1mod.c: New file.
8396         * dlfcn/dlerror.c (dlerror): Always create output string which
8397         includes object file name.
8399         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
8400         if we would go through it only once.
8401         Patch by Rick Gorton <rick.gorton@api-networks.com>.
8403         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
8404         Patch by Richard Henderson <rth@redhat.com>.
8406 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
8408         * malloc/malloc.c (memmove): Add prototypes.
8409         (MALLOC_MEMMOVE): Define.
8410         (chunk_realloc): Use it instead of MALLOC_COPY if source and
8411         destination might overlap.
8413 2000-12-27  Andreas Jaeger  <aj@suse.de>
8415         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
8416         function.
8417         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8418         * locale/programs/locale.c (show_locale_vars): Likewise.
8419         (show_info): Likewise.
8420         * locale/programs/ld-collate.c (collate_output): Likewise.
8421         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
8422         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8423         * stdlib/rpmatch.c (rpmatch): Likewise.
8425         * setjmp/tst-setjmp.c: Make local functions static.
8426         * setjmp/jmpbug.c: Likewise.
8427         * signal/tst-signal.c: Likewise.
8428         * stdio-common/tfformat.c: Likewise.
8429         * string/tst-svc.c: Likewise.
8430         * time/clocktest.c: Likewise.
8431         * time/tst-getdate.c: Likewise.
8432         * dirent/list.c: Likewise.
8433         * dirent/opendir-tst1.c: Likewise.
8434         * posix/runtests.c: Likewise.
8435         * posix/tst-getaddrinfo.c: Likewise.
8436         * posix/tst-chmod.c: Likewise.
8437         * posix/wordexp-test.c: Likewise.
8438         * misc/tst-efgcvt.c: Likewise.
8439         * timezone/tst-timezone.c: Likewise.
8440         * rt/tst-clock.c: Likewise.
8441         * rt/tst-shm.c: Likewise.
8442         * rt/tst-aio2.c: Likewise.
8443         * rt/tst-aio3.c: Likewise.
8444         * rt/tst-aio4.c: Likewise.
8445         * rt/tst-aio5.c: Likewise.
8447         * dlfcn/failtest.c: Add prototype for foo.
8449         * dlfcn/glrefmain.c: Add prototype for do_test.
8451         * dlfcn/tst-dladdr.c: Add prototype for do_test.
8453         * string/test-ffs.c (main): Add prototype for nested function.
8455         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
8457         * nss/XXX-lookup.c: Add prototype to shut up GCC.
8459         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
8460         setetherent prototype.
8461         Add internal interfaces.
8463         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
8464         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
8466         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
8468         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
8470         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
8471         prototypes, remove struct etherent since it's declared in ether.h.
8472         Fix ntohost declaration.
8474         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
8476         * include/getopt.h: Add internal interfaces.
8477         * include/termios.h: Likewise.
8478         * include/resolv.h: Likewise.
8479         * include/netdb.h: Likewise.
8480         * include/grp.h: Likewise.
8481         * include/pwd.h: Likewise.
8482         * include/shadow.h: Likewise.
8483         * include/rpc/netdb.h: Likewise.
8484         * include/setjmp.h: Likewise.
8486         * include/stdio.h: Add prototypes for compatibility functions.
8487         * include/grp.h: Likewise.
8488         * include/pwd.h: Likewise.
8489         * include/shadow.h: Likewise.
8491         * include/fenv.h: Define internal interfaces.
8493 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
8495         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
8496         argument case separately.
8497         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
8499 2000-12-27  Andreas Jaeger  <aj@suse.de>
8501         * include/sys/wait.h: Add some prototypes.
8502         * Rules (dummy.c): Create also prototype to shut up GCC.
8504 2000-12-27  Andreas Jaeger  <aj@suse.de>
8506         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
8507         it's not needed at the moment.
8508         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
8509         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
8511 2000-12-26  Andreas Jaeger  <aj@suse.de>
8513         * libio/getc_u.c: Include stdio.h via system path to get internal
8514         prototypes.
8515         * libio/getwc_u.c: Likewise.
8517         * stdlib/strfmon.c: Fix prototype of __printf_fp.
8519         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
8520         __printf_fp prototypes to ...
8521         * include/printf.h: ...here.
8523         * include/stdio.h: Add some internal prototypes to shut up GCC.
8524         * include/stdlib.h: Likewise.
8526         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
8527         declaration.
8529         * include/signal.h: Add prototypes for internal sigpause
8530         interfaces.
8532 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
8534         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
8535         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
8537         * string/Makefile (tests): Add tst-bswap.
8538         * string/tst-bswap.c: New file.
8540 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
8542         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
8544 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
8546         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
8547         Patch by Ed Connell <Ed.Connell@sas.com>.
8549 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
8551         * locale/iso-639.def: Correct one entry.  Add two missing entries.
8553         * locale/iso-4217.def: Change entry for Eritrea.
8554         Reported by Daniel Yacob <yacob@geez.org>.
8556 2000-12-23  Ben Collins  <bcollins@debian.org>
8558         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
8559         description.
8561         * manual/stdio.texi (Dynamic Output): Document the return value of
8562         asprintf.  Also make the asprintf/snprintf examples a little
8563         better (check for some error returns).
8565 2000-12-22  Andreas Jaeger  <aj@suse.de>
8567         * include/stdio.h: Add __ftrylockfile prototype.
8569 2000-12-21  H.J. Lu  <hjl@gnu.org>
8571         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
8572         Make sign_exponent element signed.
8574         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
8575         Fix a typo.
8577         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
8579 2000-12-21  Andreas Jaeger  <aj@suse.de>
8581         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
8582         * inet/ether_hton.c: Likewise
8583         * inet/ether_ntoh.c: Likewise.
8585         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
8586         declaration to match prototype.
8588         * include/netinet/ether.h (struct etherent): Declare here so that
8589         all implementations use the same struct.
8591         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
8592         prototypes.
8593         (struct ether): Removed.
8594         Use struct etherent instead of ether everywhere.
8596         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
8598         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
8600         * sunrpc/publickey.c: Include auth_des.h for prototypes.
8602 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
8604         * math/test-misc.c: Add more tests for nextafter functions.
8606         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
8607         normal correctly.  Correct test for sign.
8608         Based on a patch by HJ Lu.
8610 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
8612         * Makeconfig (preprocess-version): Add -traditional to gcc call.
8613         Cleanup sed calls.
8615 2000-12-19  Andreas Jaeger  <aj@suse.de>
8617         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
8619         * nis/nis_intern.h: Add prototype for __do_niscall3.
8621         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
8622         match prototype.
8624         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
8626         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
8628         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
8630 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
8632         * math/test-misc.c: Add more tests for nextafter.
8633         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
8634         * sysdeps/ieee754/ldbl-96/math_ldbl.h
8635         (ieee_long_double_shape_type): Make sign_exponent element signed.
8637         * manual/message.texi: Add Estonian to plural overview list.
8638         Correct rule for Slavic languages.
8639         Patch by Stanislav Brabec <utx@penguin.cz>.
8641         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
8643 2000-12-18  Andreas Jaeger  <aj@suse.de>
8645         * test-skeleton.c: Use temp_name_list instead of name_list to
8646         avoid collision with name_list from inet/netgroup.h.
8648         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
8650         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
8651         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
8652         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
8653         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
8655         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
8656         declaration to match prototype.
8657         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
8658         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
8659         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
8660         Likewise.
8661         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
8662         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
8663         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
8664         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
8665         (_nss_nis_getservbyport_r): Likewise.
8666         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
8667         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
8668         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
8669         (_nss_nis_setnetent): Likewise
8670         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8671         (_nss_nis_endnetgrent): Likewise.
8672         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
8673         Likewise.
8674         (_nss_nisplus_setnetgrent): Likewise.
8675         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
8676         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
8677         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
8678         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
8679         Likewise.
8680         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
8681         Likewise.
8682         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
8683         Likewise.
8684         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
8685         Likewise.
8686         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
8687         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
8688         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
8689         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
8690         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
8691         (_nss_dns_getnetbyaddr_r): Likewise.
8693 2000-12-17  Andreas Jaeger  <aj@suse.de>
8695         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
8696         parameter.
8698         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
8699         unused attribute to shut up gcc warnings.
8701         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
8702         * sysdeps/generic/k_tanl.c: Likewise.
8703         * sysdeps/generic/k_cosl.c: Likewise.
8704         * sysdeps/generic/e_j0l.c: Likewise.
8705         * sysdeps/generic/e_j1l.c: Likewise.
8706         * sysdeps/generic/e_jnl.c: Likewise.
8707         * sysdeps/generic/e_lgammal_r.c: Likewise.
8709         * elf/vismain.c: Move prototypes for functions in vismod*.c to
8710         vismod.h.
8711         * elf/vismod.h: New file.
8712         * elf/Makefile (distribute): Add vismod.h.
8713         * elf/vismod1.c: Include vismod.h.
8714         * elf/vismod2.c: Likewise.
8715         * elf/vismod3.c: Likewise.
8717         * elf/constload3.c: Add prototype declarations to shut up gcc.
8718         * elf/failobj.c: Likewise.
8719         * elf/nodelmod3.c: Likewise.
8720         * elf/filtmod1.c: Likewise.
8721         * elf/filtmod2.c: Likewise.
8722         * elf/reldepmod1.c: Likewise.
8723         * elf/reldepmod2.c: Likewise.
8724         * elf/reldepmod3.c: Likewise.
8725         * elf/reldepmod4.c: Likewise.
8726         * elf/unload2dep.c: Likewise.
8727         * elf/unload2mod.c: Likewise.
8728         * elf/ltglobmod1.c: Likewise.
8729         * elf/pathoptobj.c: Likewise.
8730         * elf/neededobj1.c: Likewise.
8731         * elf/neededobj2.c: Likewise.
8732         * elf/neededobj3.c: Likewise.
8733         * elf/neededobj4.c: Likewise.
8734         * elf/nextmod1.c: Likewise.
8735         * elf/nextmod2.c: Likewise.
8737         * locale/programs/ld-collate.c (collate_finish): Don't use labels
8738         at end of compound statement.
8739         * locale/programs/locale.c (show_info): Likewise.
8740         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
8742 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
8744         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
8745         with a pointer not returned by obstack_ functions.
8747 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
8749         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
8750         version.
8751         (struct stat64): Likewise.
8752         Reported by Michael Keezer <mkeezer@redhat.com>.
8754         * timezone/asia: Update from tzdata2000h.
8755         * timezone/australasia: Likewise.
8756         * timezone/backward: Likewise.
8757         * timezone/europe: Likewise.
8758         * timezone/northamerica: Likewise.
8759         * timezone/southamerica: Likewise.
8760         * timezone/zone.tab: Likewise.
8762 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
8764         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
8765         and dir.stream is NULL, only free dir.content.
8766         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
8767         * io/ftwtest-sh: Test with --early-exit.
8769 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
8771         * misc/efgcvt.c (FCVT_MAXDIG): Define.
8772         (FCVT_BUFPTR): New variable.
8773         (fcvt): If fcvt_r returns -1 on the static short buffer,
8774         try to malloc a sufficiently large one and retry.
8775         (free_mem): New function.
8776         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
8777         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
8779 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
8781         * misc/dirname.c (dirname): Fix search for second to last slash.
8783 2000-12-13  Andreas Jaeger  <aj@suse.de>
8785         * misc/tst-dirname.c (main): Fix typo in test to really use
8786         the examples from Unix98.
8787         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8789 2000-12-09  H.J. Lu  <hjl@gnu.org>
8791         * sysdeps/ia64/fpu/s_fabs.S: New file.
8792         * sysdeps/ia64/fpu/s_fabsf.S: New file.
8793         * sysdeps/ia64/fpu/s_fabsl.S: New file.
8795 2000-12-15  Andreas Jaeger  <aj@suse.de>
8797         * stdio-common/scanf9.c (main): Reformat and change to avoid
8798         warnings.
8800         * stdio-common/tstdiomisc.c: Make local functions static.
8801         * stdio-common/tst-printf.c: Likewise.
8803         * elf/constload2.c: Add prototype declarations to shut up gcc.
8804         * elf/dep1.c: Likewise.
8805         * elf/dep2.c: Likewise.
8806         * elf/dep3.c: Likewise.
8807         * elf/dep4.c: Likewise.
8808         * elf/ltglobmod2.c: Likewise.
8810         * libio/fmemopen.c: Make local functions static.
8812         * elf/Makefile (distribute): Added testobj.h.
8814         * elf/testobj.h: New file.
8816         * elf/testobj1.c: Include testobj.h and move prototype
8817         declarations to testobj.h.
8818         * elf/testobj2.c: Likewise.
8819         * elf/testobj3.c: Likewise.
8820         * elf/testobj4.c: Likewise.
8821         * elf/testobj5.c: Likewise.
8822         * elf/testobj6.c: Likewise.
8823         * elf/testobj1_1.c: Likewise.
8824         * elf/preloadtest.c: Likewise.
8826 2000-12-15  Ben Collins  <bcollins@debian.org>
8828         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
8829         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
8831 2000-12-14  H.J. Lu  <hjl@gnu.org>
8833         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
8834         field in a float is 8 bits, not 11 bits.
8836 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
8838         * math/test-misc.c (main): Adjust m for IEEE quad long double.
8840 2000-12-13  Andreas Jaeger  <aj@suse.de>
8842         * manual/message.texi (Using gettextized software): Fix typo.
8844         * manual/charset.texi (Converting a Character): Fix mbstouwcs
8845         program to compile.
8846         Patch by Martin Buchholz <martin@xemacs.org>.
8848         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
8849         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8851 2000-12-11  Andreas Jaeger  <aj@suse.de>
8853         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
8854         kernel_sigset_t and use it.
8855         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
8857 2000-12-10  Richard Henderson  <rth@redhat.com>
8859         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
8860         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
8861         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
8863 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
8865         * sysdeps/alpha/htonl.S: Fix a typo.
8867 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
8869         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
8871 2000-12-10  Andreas Jaeger  <aj@suse.de>
8873         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
8874         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
8875         Drepper <drepper@redhat.com>.
8877 2000-12-09  Andreas Jaeger  <aj@suse.de>
8879         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
8881         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
8882         generic version.
8883         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
8885         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
8886         string.
8888         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
8889         format string.
8891         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
8892         * nscd/connections.c (handle_request): Likewise.
8893         * nscd/pwdcache.c (addpwbyname): Likewise.
8894         * nscd/grpcache.c (addgrbyname): Likewise.
8896         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
8898 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
8900         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
8902         * Makeconfig (default_cflags): Make -O2 the default for stable
8903         releases.
8905 2000-12-08  H.J. Lu  <hjl@gnu.org>
8907         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
8908         * sysdeps/ia64/fpu/s_isinf.S: This.
8909         Add a .pred.rel.mutex note to avoid false report.
8911         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
8912         * sysdeps/ia64/fpu/s_isnan.S: This.
8914         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
8915         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
8916         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
8917         * sysdeps/ia64/fpu/s_isinff.S: New file.
8918         * sysdeps/ia64/fpu/s_isinfl.S: New file.
8919         * sysdeps/ia64/fpu/s_isnanf.S: New file.
8920         * sysdeps/ia64/fpu/s_isnanl.S: New file.
8921         * sysdeps/ia64/fpu/s_finite.S: New file.
8922         * sysdeps/ia64/fpu/s_finitef.S: New file.
8923         * sysdeps/ia64/fpu/s_finitel.S: New file.
8924         * sysdeps/ia64/fpu/s_signbit.S: New file.
8925         * sysdeps/ia64/fpu/s_signbitf.S: New file.
8926         * sysdeps/ia64/fpu/s_signbitl.S: New file.
8927         * sysdeps/ia64/fpu/s_copysign.S: New file.
8928         * sysdeps/ia64/fpu/s_copysignf.S: New file.
8929         * sysdeps/ia64/fpu/s_copysignl.S: New file.
8931 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
8933         * math/libm-test.inc (main): Fix typos in messages.
8935         * string/stratcliff.c: Add test for rawmemchr.
8937 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8939         * elf/dl-open.c (_dl_open): If objname points right after errstring,
8940         allocate it together with errstring using alloca.
8941         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
8942         to "", because it might point to local stack.
8944 2000-12-05  H.J. Lu  <hjl@gnu.org>
8946         * nss/Makefile (routines): Add getnssent and getnssent_r.
8947         * nss/nsswitch.h (__nss_setent): New internal NSS function.
8948         (__nss_endent): Likewise.
8949         (__nss_getent_r): Likewise.
8950         (__nss_getent): Likewise.
8951         * nss/getnssent_r.c: New file.
8952         * nss/getnssent.c: New file.
8953         * nss/getXXent.c (H_ERRNO_VAR): Updated.
8954         (GETFUNC_NAME): Updated to call __nss_getent ().
8955         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
8956         (STAYOPEN_TMPVAR): Updated.
8957         (STAYOPEN_VAR): Updated.
8958         (SETFUNC_NAME): Updated to call __nss_setent ().
8959         (ENDFUNC_NAME): Updated to call __nss_endent ().
8960         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
8962 2000-12-08  Andreas Jaeger  <aj@suse.de>
8964         * nscd/dbg_log.h (dbg_log): Correct attribute.
8966 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8968         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
8969         cp + len.  Compute where from dirname.
8970         Reported by <jreiser@BitWagon.com>.
8972 2000-12-08  Richard Henderson  <rth@twiddle.net>
8974         * sysdeps/alpha/_mcount.S: Fix typo.
8975         * sysdeps/alpha/strncpy.S: Likewise.
8977         * sysdeps/alpha/alphaev6/Implies: New file.
8978         * sysdeps/alpha/alphaev67/Implies: New file.
8979         * sysdeps/alpha/alphaev67/ffs.S: New file.
8980         * sysdeps/alpha/alphaev67/ffsll.S: New file.
8981         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
8982         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
8983         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
8984         * sysdeps/alpha/rawmemchr.S: New file.
8985         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
8986         * sysdeps/alpha/strcpy.S: Likewise.
8988         From GMP 3.1.1:
8989         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
8991         From rick.gorton@alpha-processor.com:
8992         * sysdeps/alpha/alphaev6/memchr.S: New file.
8993         * sysdeps/alpha/alphaev6/memcpy.S: New file.
8994         * sysdeps/alpha/alphaev6/memset.S: New file.
8995         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
8996         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
8997         * sysdeps/alpha/alphaev67/strcat.S: New file.
8998         * sysdeps/alpha/alphaev67/strchr.S: New file.
8999         * sysdeps/alpha/alphaev67/strlen.S: New file.
9000         * sysdeps/alpha/alphaev67/strncat.S: New file.
9001         * sysdeps/alpha/htonl.S: Use a shorter sequence.
9003 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
9005         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
9006         Reported by <pspencer@fields.utoronto.ca>.
9008 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
9010         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
9011         Pointed out by Hans Boehm.
9013 2000-12-07  H.J. Lu  <hjl@gnu.org>
9015         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
9017 2000-12-07  Andreas Jaeger  <aj@suse.de>
9019         * misc/error.c: Add format attributes for __error and __error_at_line.
9021         * nscd/dbg_log.h: Add format attribute.
9023 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
9025         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
9026         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
9028 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
9030         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
9032 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
9034         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
9035         (sysdep_routines): Add uitrunc.
9036         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
9037         Patches by Michael Keezer <mkeezer@redhat.com>.
9039 2000-12-06  Roland McGrath  <roland@frob.com>
9041         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
9042         argument data, since it will be used to copy out too (for INOUT).
9043         Reported by Marcus Brinkmann <marcus@gnu.org>.
9045         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
9046         (__ioctl): Use uintptr_t instead of unsigned long int.
9048 2000-12-06  Jim Wilson  <wilson@redhat.com>
9050         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
9052 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
9054         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
9055         x.5 rounding correctly.
9057 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
9059         * stdio-common/perror.c (perror): Conditionalize code dealing with
9060         wide-oriented streams on USE_IN_LIBIO.
9062 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
9064         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
9065         as internal_function.
9067 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
9069         * sysdeps/alpha/elf/start.S (__data_start): Define.
9071 2000-12-05  H.J. Lu  <hjl@gnu.org>
9073         * nss/getXXent_r.c (setup): Change the return type to int.
9075 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
9077         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
9078         (sysdep_routines): Add restf and savef.
9079         * sysdeps/unix/sysv/aix/restf.c: New file.
9080         * sysdeps/unix/sysv/aix/savef.c: New file.
9081         Patches by Michael Keezer <mkeezer@redhat.com>.
9083         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
9084         if O_DIRECTORY is not defined.
9085         Patch by Michael Keezer <mkeezer@redhat.com>.
9087         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
9088         Patch by Michael Keezer <mkeezer@redhat.com>.
9090         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
9091         than 4 bytes in escape sequence.
9092         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9094 2000-12-05  Andreas Jaeger  <aj@suse.de>
9096         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
9097         set mips2.
9099         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
9101         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
9103         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
9104         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
9106         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
9107         internal_function.
9108         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
9109         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
9111         * sysdeps/generic/dl-cache.c: Remove declaration of
9112         _dl_sysdep_read_whole_file.
9114         * elf/dl-load.c (_dl_map_object): Remove declaration of
9115         _dl_load_cache_lookup.
9117         * sysdeps/generic/ldsodefs.h: Add declarations of
9118         _dl_load_cache_lookup, _dl_unload_cache,
9119         _dl_sysdep_read_whole_file, _dl_sysdep_start and
9120         _dl_sysdep_start_cleanup.
9122         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
9123         now.
9125         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
9126         * sysdeps/generic/dl-environ.c: Likewise.
9128         * stdio-common/printf_fp.c: Include <gmp.h> instead of
9129         <stdlib/gmp.h>.
9130         * math/atest-exp.c: Likewise.
9131         * math/atest-exp2.c: Likewise.
9132         * math/atest-sincos.c: Likewise.
9133         * stdio-common/_itoa.c: Likewise.
9134         * stdio-common/_itowa.c: Likewise.
9136         * include/gmp.h: New file with internal prototypes.
9138         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
9139         here to...
9140         * include/setjmp.h: ...here.
9142         * locale/Makefile (routines): Remove codeset_name since it's not
9143         needed anywhere.
9145         * locale/codeset_name.c: Removed.
9147 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
9149         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
9151 2000-12-05  Andreas Jaeger  <aj@suse.de>
9153         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
9155 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
9157         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
9158         available.
9160 2000-12-05  Andreas Jaeger  <aj@suse.de>
9162         * nss/test-netdb.c: Mark local functions as static to avoid
9163         warnings.
9164         (main): Use return to silence warning.
9166         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
9168         * stdio-common/test-popen.c: Mark local functions as static to
9169         avoid warnings.
9170         (main): Use return to silence warning.
9172         * stdlib/testsort.c (compare): Mark as static to avoid warning.
9174         * assert/test-assert.c: Mark local functions as static to avoid
9175         warnings.
9176         * assert/test-assert-perr.c: Likewise.
9178         * math/libm-test.inc (main): Use return to silence warnings.
9180 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
9182         * math/fenv.h: Fix typo in comment.
9184         * math/test-misc.c (main): Add a few more over and underflow tests
9185         for scalb.
9187         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
9188         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9189         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9190         * math/w_scalb.c: Don't use matherr except in SVID mode.
9191         * math/w_scalbf.c: Likewise.
9192         * math/w_scalbl.c: Likewise.
9193         * math/test-misc.c: Add test for NaN and scalbl.
9194         Reported by Fred J. Tydeman <tydeman@tybor.com>.
9196 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
9198         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
9199         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
9200         * include/libc-symbols.h (strong_alias): Define special version
9201         for HAVE_ASM_GLOBAL_DOT_NAME.
9202         (weak_alias): Likewise.
9203         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
9204         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
9205         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
9206         getutxline, pututxline, and utmpxname.
9207         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
9208         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
9209         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
9210         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
9211         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
9212         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
9213         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
9214         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
9215         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
9216         Patches by Michael Keezer <mkeezer@redhat.com>.
9218 2000-12-04  H.J. Lu  <hjl@gnu.org>
9220         * configure.in: Change --with-oldest-abi=ABI to
9221         --enable-oldest-abi=ABI.
9223 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
9225         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
9226         fwprintf instead of fprintf.
9228 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
9230         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
9231         DECIMAL_DIG definitions.
9232         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
9233         * sysdeps/generic/bits/mathdef.h: Likewise
9234         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
9235         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
9236         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
9237         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
9238         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
9239         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
9241 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
9243         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
9245         * math/atest-exp.c: Mark local functions as static to avoid warnings.
9246         * math/atest-exp2.c: Likewise.
9247         * math/atest-sincos.c: Likewise.
9249         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
9250         Reported by Fred J. Tydeman <tydeman@tybor.com>.
9252         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
9253         the handling of denormalized numbers.
9255         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
9256         numbers on x86.
9257         * sysdeps/i386/fpu/fpclassifyl.c: New file.
9259         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
9260         pseudo denormal representation of LDBL_MIN.
9262         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
9263         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
9265         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
9266         * iconvdata/jis0208.c: Likewise.
9267         * iconvdata/jis0212.c: Likewise.
9268         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9270         * math/test-misc.c (main): More tests for frexp and some for
9271         fpclassify and isnormal.
9273         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
9274         test for subnormal.
9275         Reported by Fred J. Tydeman <tydeman@tybor.com>.
9277         * math/test-misc.c (main): Add tests for frexp.
9278         Reported by Fred J. Tydeman <tydeman@tybor.com>.
9279         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
9281 2000-12-02  H.J. Lu  <hjl@gnu.org>
9283         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
9284         '\0' to wcschr.
9286 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
9288         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
9289         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9290         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9292         * sysdeps/generic/glob.c: Adjust types of several variables to
9293         avoid warnings.
9295 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
9297         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
9299 2000-11-30  Roland McGrath  <roland@frob.com>
9301         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
9302         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
9303         allow multiple instances using the same function name in one file.
9305 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
9307         * configure.in: Correct test for pserver CVS access.
9309 2000-11-28  H.J. Lu  <hjl@gnu.org>
9311         * libio/libio.h: Remove extra "#if ... #endif".
9313 2000-11-29  H.J. Lu  <hjl@gnu.org>
9315         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
9317 2000-12-01  H.J. Lu  <hjl@gnu.org>
9319         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
9320         * nss/getXXent_r.c: Likewise.
9321         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9323 2000-11-30  H.J. Lu  <hjl@gnu.org>
9325         * scripts/abi-versions.awk (oldest_abi): New variable.
9326         Handle the oldest ABI supported.
9328         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
9329         for scripts/abi-versions.awk.
9331         * configure.in: Add --with-oldest-abi=ABI.
9332         * configure: Rebuild.
9334         * config.make.in (oldest-abi): New.
9336         * config.h.in (GLIBC_OLDEST_ABI): New.
9338         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
9340 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
9342         * locale/setlocale.c (setname): Free for all categories, not just
9343         LC_ALL.
9344         (setlocale): Store a copy of string passed by user, not the string
9345         itself.
9347 2000-11-30  Roland McGrath  <roland@frob.com>
9349         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
9350         rather than _hurd_fd_subinit, so it happens after it's safe to use
9351         libc facilities like malloc.
9353 2000-11-28  Andreas Jaeger  <aj@suse.de>
9355         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
9356         declaration, adjust declaration of __syscall_getdents to match
9357         kernel.
9359 2000-11-29  H.J. Lu  <hjl@gnu.org>
9361         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
9363 2000-11-29  Andreas Jaeger  <aj@suse.de>
9365         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
9367 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
9369         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
9370         * dlfcn/defaultmod2.c: Likewise.
9371         * dlfcn/dlopen.c: Likewise.
9372         * dlfcn/dlopenold.c: Likewise.
9373         * dlfcn/failtestmod.c: Likewise.
9374         * dlfcn/glreflib1.c: Likewise.
9375         * dlfcn/glreflib2.c: Likewise.
9376         * dlfcn/eval.c: Likewise.  Add attributes.
9378         * ctype/ctype-extn.c: Define isblank and not __isblank.
9380         * time/strftime.c: Add const where necessary to avoid warnings.
9381         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
9383 2000-11-22  Paul Eggert  <eggert@twinsun.com>
9385         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
9386         size of (size_t) -1; it's not portable.
9388 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
9390         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
9391         crappy i486 FPU.
9392         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
9394 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
9396         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
9398         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
9399         _mcount is required by profiled binaries.
9401         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
9402         * sysdeps/ia64/machine-gmon.h: ...here.
9404 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
9406         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
9407         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
9408         and ibm1129.h.
9409         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
9410         IBM1129.
9411         * iconvdata/ibm922.c: New file.
9412         * iconvdata/ibm922.h: New file.
9413         * iconvdata/ibm1124.c: New file.
9414         * iconvdata/ibm1124.h: New file.
9415         * iconvdata/ibm1129.c: New file.
9416         * iconvdata/ibm1129.h: New file.
9417         * iconvdata/testdata/IBM922: New file.
9418         * iconvdata/testdata/IBM922..UTF8: New file.
9419         * iconvdata/testdata/IBM1124: New file.
9420         * iconvdata/testdata/IBM1124..UTF8: New file.
9421         * iconvdata/testdata/IBM1129: New file.
9422         * iconvdata/testdata/IBM1129..UTF8: New file.
9424 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
9426         * catgets/gencat.c (normalize_line): Take extra parameter with escape
9427         character.  Change callers.
9428         (open_conversion): Determine mapping of 0x5c as wchar_t value.
9429         * catgets/Makefile: Add rules to build and run test-gencat.
9430         * catgets/sample.SJIS: New file.
9431         * catgets/test-gencat.c: New file.
9432         * catgets/test-gencat.sh: New file.
9433         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9435 2000-11-28  Andreas Jaeger  <aj@suse.de>
9437         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
9438         Linux version.
9440 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
9442         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
9444 2000-11-28  Andreas Jaeger  <aj@suse.de>
9446         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
9447         __flexarr.
9448         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
9449         Likewise.
9451 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
9453         * misc/getusershell.c: Make strings in okshells array const.
9454         * misc/regexp.c: Add const to cast to avoid warnings.
9455         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
9456         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
9457         __setresuid.
9458         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
9459         setresgid.
9460         * misc/error.c: Add prototypes for __error and __error_at_line.
9461         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
9462         statement to avoid warning.
9463         * test-skeleton.c: Mark timeout_handler with noreturn.
9464         * iconv/skeleton.c (get16u): Add const to cast.
9465         (get32u): Likewise.
9466         * iconvdata/gb18030.c: Likewise.
9467         * iconvdata/iso-2022-cn-ext.c: Likewise.
9468         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
9469         * iconvdata/big5.c: Likewise.
9470         * iconvdata/big5hkscs.c: Likewise.
9471         * iconvdata/iso_6937.c: Likewise.
9472         * iconvdata/iso_6937-2.c: Likewise.
9473         * iconvdata/t.61.c: Likewise.
9474         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
9475         * iconvdata/unicode.c: Likewise.
9476         * iconvdata/utf-16.c: Likewise.
9477         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
9478         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
9479         with little code shuffling.
9481         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
9482         the problems introduced when the user selects -O3.
9484         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
9485         * misc/sys/cdefs.h: Define __flexarr.
9486         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
9488         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
9489         * iconv/skeleton.c: Likewise.
9490         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
9491         * iconv/loop.c (get16): Add const to cast.
9492         (get32): Likewise.
9494 2000-11-27  Andreas Jaeger  <aj@suse.de>
9496         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
9497         to avoid warning.
9498         * login/programs/utmpdump.c (print_entry): Likewise.
9500 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
9502         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
9503         in a single asm as they may be used to access other stored
9504         registers.
9505         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
9507 2000-11-27  Andreas Jaeger  <aj@suse.de>
9509         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
9510         * rt/tst-aio64.c: Likewise.
9512 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
9514         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
9515         for gencat run.
9516         (libc.cat): Likewise.
9517         * catgets/gencat.c: Implement handling of message catalogs encoded
9518         with stateful character sets.
9519         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9521 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
9523         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
9525         * inet/getnameinfo.c: Adjust casts to avoid warnings.
9526         * inet/rcmd.c: Likewise.
9527         * inet/ruserpass.c: Likewise.
9528         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
9529         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9530         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
9531         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
9532         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
9533         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
9534         * include/aliases.h: Add prototypes for internal __getalias* functions.
9535         * include/netdb.h: Add prototypes for __old_gethostent_r,
9536         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
9537         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
9538         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
9539         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
9540         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
9541         __old_getrpcbynumber_r, __old_getrpcent_r.
9543         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
9544         __getrpcent_r prototypes.
9546 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
9548         * string/strcoll.c: Add casts to avoid warnings.
9549         * string/strnlen.c: Likewise.
9550         * string/strxfrm.c: Likewise.
9551         * sysdeps/generic/_strerror.c: Likewise.
9552         * sysdeps/generic/memrchr.c: Likewise.
9553         * sysdeps/generic/strcasestr.c: Likewise.
9554         * sysdeps/generic/strstr.c: Likewise.
9556         * locale/weight.h (findidx): Add const to cast to avoid warning.
9558         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
9559         * elf/loadtest.c: Likewise.
9560         * elf/multiload.c: Likewise.
9561         * elf/next.c: Likewise.
9562         * elf/nodelete.c: Likewise.
9563         * elf/noload.c: Likewise.
9564         * elf/order.c: Likewise.
9565         * elf/origtest.c: Likewise.
9566         * elf/preloadtest.c: Likewise.
9567         * elf/restest1.c: Likewise.
9569         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
9570         parameter of asm must be in %ecx.
9572         * string/tester.c: Mark test functions as static to avoid warnings.
9574         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
9575         preserve value over different gconv-modules files.
9577 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
9579         * locale/findlocale.c: Add casts to avoid warnings.
9580         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
9581         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
9582         to avoid warnings.
9583         * misc/tsearch.c (const_node): New type.
9584         (trecurse): Correct casts to avoid warnings.
9585         (__twalk): Likewise.
9586         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
9587         LONG_BIT.
9589         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
9591         * test-skeleton.c: Mark local functions as static to avoid warnings.
9593 2000-11-23  H.J. Lu  <hjl@gnu.org>
9595         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
9596         support the background job.
9597         Fix a typo.
9599 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
9601         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
9602         has same names but lower cost.
9604 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
9606         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
9607         which never occur during bootstrap.
9608         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9610 2000-11-23  Andreas Jaeger  <aj@suse.de>
9612         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
9614         * nss/Versions: Remove _nss_files_getipnodebyname_r.
9616         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
9618 2000-11-18  Martin Buchholz  <martin@xemacs.org>
9620         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
9621         (called++) return;'
9623 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
9625         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
9627         * csu/abi-note.S: Correct comment for operating system number.
9629 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
9631         * Versions.def: Add GLIBC_2.2.1 for glibc.
9633 2000-11-22  Andreas Schwab  <schwab@suse.de>
9635         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
9636         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
9638 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
9640         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
9641         absolute time for pthread_cond_timedwait call.
9642         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
9644         * rt/Makefile (tests): Add tst-aio6.
9645         * rt/tst-aio6.c: New file.
9647 2000-11-23  Andreas Jaeger  <aj@suse.de>
9649         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
9651 2000-11-22  Andreas Jaeger  <aj@suse.de>
9653         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
9655 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
9657         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
9659 2000-11-21  Andreas Schwab  <schwab@suse.de>
9661         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
9662         * sysdeps/arm/setjmp.S: Likewise.
9663         * sysdeps/arm/fpu/setjmp.S: Likewise.
9664         * sysdeps/i386/setjmp.S: Likewise.
9665         * sysdeps/i386/elf/setjmp.S: Likewise.
9666         * sysdeps/s390/setjmp.S: Likewise.
9667         * sysdeps/s390/elf/setjmp.S: Likewise.
9668         * sysdeps/sh/sh3/setjmp.S: Likewise.
9669         * sysdeps/sh/sh4/setjmp.S: Likewise.
9670         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
9671         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9672         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
9673         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
9675 2000-11-21  Andreas Jaeger  <aj@suse.de>
9677         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
9678         NORETURN, fix parameter list.
9680         * string/bug-strncat1.c (main): Fix typo.
9681         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
9683 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
9685         * configure.in: Add --enable-all-warnings.
9686         * config.make.in (all-warnings): New variable.
9687         * Makeconfig (+gccwarn): Define with many more warnings if
9688         all-warnings is yes.
9690 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
9692         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
9693         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
9694         * malloc/tst-valloc.c (main): Cast valloc return value to long.
9695         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
9696         * math/test-fpucw.c (main): Use %lx in format string, cast
9697         control words to long.
9698         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
9699         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
9700         large that it is unsigned warning.
9702         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
9703         it to long on sparc64.
9705 2000-11-20  Andreas Jaeger  <aj@suse.de>
9707         * nscd/nscd.h (termination_handler): Add noreturn attribute.
9708         (receiv_print_stats): Likewise.
9710         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
9712 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
9714         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
9716         * csu/gmon-start.c: Always have prototype for __gmon_start.
9717         * csu/version.c: Add prototypes for __libc_print_version and
9718         __libc_main.
9719         * iconv/gconv.c: Include gconv_int.h and gconv.h.
9720         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
9721         and __to_name.
9722         * iconv/gconv_builtin.h: Add ASCII module definitions.
9723         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
9724         (add_module): Add cast to avoid warning.  Rework construction of
9725         strings for new module.
9726         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
9727         (derivation_compare): Likewise.
9728         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
9729         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
9730         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
9731         (struct gconv_alias): Remove const from fromname and toname.
9732         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
9733         for loop functions.
9734         (internal_ucs4_loop): Use correct const-ness.
9735         (ucs4_internal_loop): Likewise.
9736         (internal_ucs4le_loop): Likewise.
9737         (ucs4le_internal_loop_single): Likewise.
9738         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
9739         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
9740         assignments appropriately.
9741         (struct known_trans): Remove const from fname.
9742         (trans_compare): Make s1 and s2 const.
9743         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
9744         avoid warning.
9745         * iconv/skeleton.c: Remove cast in calls of loop functions.
9746         * iconvdata/gconv-modules: Remove US-ASCII definitions.
9747         * iconvdata/iso646.c: Remove US_ASCII support.
9748         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
9749         * include/unistd.h: Add __libc_check_standard_fds prototype.
9750         * string/bits/string2.h (__mempcpy_args): Add const to casts.
9751         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
9752         _fini.
9753         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
9754         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
9755         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
9756         warning.
9757         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
9758         __libc_init_first and _dl_start.
9759         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
9760         (DCIGETTEXT): Make domaindata variable const.
9761         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
9762         to avoid warning.
9764 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
9766         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
9768         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
9769         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
9770         __unused? members.
9772         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
9773         value defined in /usr/include/asm-mips/fcntl.h.
9775 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
9777         * stdio-common/Makefile (tests): Add test-vfprintf.
9778         (test-vfprintf-ENV): New variable.
9779         * stdio-common/test-vfprintf.c: New file.
9781         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
9783         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
9784         (tst-mbrtowc-ENV): New variable.
9785         (tst-wcrtomb-ENV): New variable.
9786         * wcsmbs/tst-mbrtowc.c: New file.
9787         * wcsmbs/tst-wcrtomb.c: New file.
9789 2000-11-16  Andreas Jaeger  <aj@suse.de>
9791         * manual/install.texi (Tools for Compilation): Update
9792         documentation for GCC 2.95.2.
9794 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
9796         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
9797         if IPv4 and IPv6 requests timed out.
9799 2000-11-18  Akim Demaille  <akim@epita.fr>
9801         * malloc/obstack.h: Formatting changes.
9802         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
9803         prevents type checking.
9804         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
9805         cast the value to (void *): assigning a `foo *' to a `void *'
9806         variable is valid.
9807         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
9809 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
9811         * scripts/config.guess: Update from upstream maintainer.
9812         * scripts/config.sub: Likewise.
9814 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
9816         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
9817         * libio/freopen64.c (freopen64): Likewise.
9818         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9820         * libio/Makefile: Add rules to build and run test-freopen.
9821         * libio/test-freopen.c: New file.
9822         * libio/test-freopen.sh: New file.
9824 2000-11-15  H.J. Lu  <hjl@gnu.org>
9826         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
9827         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
9828         (DL_DT_FINI_ADDRESS): Likewise.
9830         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
9831         return type to ElfW(Addr).
9832         (_dl_function_address): New prototype.
9833         (DL_FUNCTION_ADDRESS): Defined.
9834         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
9835         (DL_DT_FINI_ADDRESS): Likewise.
9837         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
9839         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
9840         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
9842         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
9843         (_dl_function_address): This.
9845         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
9846         function pointer for DT_FINI.
9847         * elf/dl-close.c (_dl_close): Likewise.
9849         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
9850         function pointer for DT_INIT.
9852 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
9854         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
9855         end of wexpbuf buffer.
9857 2000-11-16  Andreas Jaeger  <aj@suse.de>
9859         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
9860         definition of F_GETLK, F_SETLK, F_SETLKW.
9862 2000-11-16  Andreas Jaeger  <aj@suse.de>
9864         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
9865         it's not defined.
9867 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
9869         * dlfcn/default.c (main): Add test for dladdr of main returning
9870         argv[0] in dli_fname field.
9872 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
9874         * Makeconfig (run-program-prefix): Move test-static test into the
9875         variable.
9877         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
9878         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
9879         schedule instructions.
9880         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
9881         schedule instructions, fix a bug in copying auxiliary data.
9883 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9885         * manual/startup.texi (Program Arguments): Fix type of main's envp
9886         parameter.
9887         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
9889         * iconvdata/gconv-modules: Add CP950 alias.
9891 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
9893         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
9894         syscall-list.h goal.
9895         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
9897 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9899         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
9901         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
9902         output of program.
9904         * intl/tst-gettext2.c: Set C locale if setting other locale
9905         failed.  Use gettext() not _().
9907         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
9908         successfully loaded a new locale.
9910 2000-11-13  Andreas Jaeger  <aj@suse.de>
9912         * configure.in: Require gcc 2.95 or newer.
9914 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9916         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
9917         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
9919 2000-11-11  Jim Meyering  <meyering@lucent.com>
9921         * string/strndup.c (strndup): Cast return value to `char *'.
9923 2000-11-15  Jim Meyering  <meyering@ascend.com>
9925         * sysdeps/generic/memchr.c: Remove some useless parentheses.
9926         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
9927         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
9928         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
9929         Also #undef __memchr.
9930         Use `weak_alias' only if it's defined.
9932 2000-11-10  H.J. Lu  <hjl@gnu.org>
9934         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
9936 2000-11-15  Andreas Jaeger  <aj@suse.de>
9938         * elf/chroot_canon.c: Include <stdint.h>.
9940         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
9941         (print_entry): Likewise.
9942         (add_to_cache): Likewise.
9944         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
9946         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
9947         (path_hwcap): Likewise.
9948         (search_dir): Likewise.
9950         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
9952         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
9954         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
9955         (_dl_platform_string): New.
9956         (_DL_HWCAP_PLATFORM): New.
9957         (_dl_string_platform): New.
9958         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
9960         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
9961         (_dl_string_platform): New.
9962         (_DL_HWCAP_PLATFORM): New.
9963         (_dl_platform_string): New.
9965         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
9966         recognition.
9967         (_DL_HWCAP_COUNT): New.
9968         (_dl_string_platform): New.
9969         (_DL_HWCAP_PLATFORM): New.
9970         (_dl_platform_string): New.
9972 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
9974         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
9976 2000-11-14  Andreas Jaeger  <aj@suse.de>
9978         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
9980 2000-11-13  Roland McGrath  <roland@frob.com>
9982         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
9984 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
9986         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
9987         underrun and make sure the result is null terminated even if there
9988         is no trailing newline.
9990 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
9992         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9994 2000-11-10  H.J. Lu  <hjl@gnu.org>
9996         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
9998 2000-11-10  Andreas Jaeger  <aj@suse.de>
10000         * elf/ldconfig.c (create_links): Fix alloca calculation.
10001         Patch by Ben Collins <bcollins@debian.org>.
10003 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
10005         * inet/getnameinfo.c (getnameinfo): Use correct destination
10006         parameter for if_indextoname.
10007         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
10009 2000-11-09  H.J. Lu  <hjl@gnu.org>
10011         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
10012         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
10013         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
10014         xdr_keystatus.
10016         * time/Versions (GLIBC_2.1): Move getitimer to...
10017         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
10019 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
10021         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
10022         "make install", to work around a binary incompatibility between
10023         glibc 2.1 and glibc 2.2 gconv modules.
10025 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
10027         * intl/locale.alias: Add thai.
10028         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
10030 2000-11-07  Akim Demaille  <akim@epita.fr>
10032         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
10033         argument `data' for consistency with the prototypes.
10034         Qualify it `const'.
10035         (obstack_copy, obstack_copy0): Rename the second argument as
10036         `address' for consistency.  Qualify it `const'.
10037         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
10038         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
10039         `const' their input argument (`data' or `address').
10040         Adjust the corresponding macros to include `const' in casts.
10042 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10044         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
10045         target family.
10047 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10049         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
10050         socket creation.
10052 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10054         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
10055         ai_protocol by internal table if service was not given.
10057 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10059         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
10060         numerical port was specified with protocol without socktype.
10062 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10064         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
10066 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10068         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
10070 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10072         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
10073         sin6_scope_id field.
10075 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10077         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
10079 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10081         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
10083 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
10085         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
10086         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
10088 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
10090         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
10091         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
10093 2000-11-09  H.J. Lu  <hjl@gnu.org>
10095         * io/Versions (GLIBC_2.1.1): Remove lockf64.
10098 See ChangeLog.11 for earlier changes.