(thread_func): Fix comment as suggested by Jakub Jelinek.
[glibc.git] / ChangeLog
blob791eebdeb5266357006f947ba0e5cba3243b3cf2
1 2001-04-21  Andreas Jaeger  <aj@suse.de>
3         * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
4         * resolv/gai_misc.c (handle_requests): Likewise.
5         * malloc/obstack.c (print_and_abort): Likewise.
6         * malloc/mcheck.c (mabort): Likewise.
8         * sysdeps/unix/i386/i586/clock_settime.c: Include
9         "libc-internal.h" for __get_clockfreq declaration.
11 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
13         * elf/dl-support.c: Include cpuclock-init.h.  Use CPUCLOCK_VARDEF and
14         CPUCLOCK_INIT if defined.
15         * sysdeps/generic/dl-sysdep.c: Likewise.
16         * sysdeps/generic/cpuclock-init.h: New file.
17         * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
18         * sysdeps/unix/i386/i586/Versions: New file.
19         * sysdeps/unix/i386/i586/clock_settime.c: New file.
20         * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
21         separately by calling __pthread_clock_gettime if this function is
22         available.  Subtract offset from tsc value before computing time value.
24 2001-04-20  Ulrich Drepper  <drepper@redhat.com>
26         * iconv/iconv_prog.c (print_known_names): If printing goes not to
27         a tty print in a more machine-friendly way.
29         * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
30         Contributed by Stephen L Moshier <moshier@mediaone.net>.
32 2001-04-20  Andreas Jaeger  <aj@suse.de>
34         * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
36 2001-04-20  Andreas Schwab  <schwab@suse.de>
38         * sysdeps/m68k/fpu/libm-test-ulps: Update.
40 2001-04-19  Alan Modra  <amodra@one.net.au>
42         * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
43         * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
44         (CFLAGS-.os): Remove.
46         * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
48         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
49         gregset): Correct for new kernel definitions.
51 2001-04-19  Alan Modra  <alan@linuxcare.com.au>
53         * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
54         generate unwind info by hand.
56 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
58         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
60         * configure.in: Correct regular expression for msgfmt.
61         Patch by Bruno Haible <haible@ilog.fr>.
63 2001-04-19  Andreas Jaeger  <aj@suse.de>
65         * po/el.po: Add comment explaining what's broken.
67         * po/Makefile (BROKEN_LINGUAS): New.
68         (ALL_LINGUAS): Don't add broken languages.
70 2001-04-19  Roland McGrath  <roland@frob.com>
72         * sysdeps/mach/hurd/mlock.c: New file.
73         * sysdeps/mach/hurd/munlock.c: New file.
74         * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
76         * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
77         * sysdeps/generic/mlock.c: New file.
78         * sysdeps/generic/munlock.c: New file.
79         * sysdeps/generic/mlockall.c: New file.
80         * sysdeps/generic/munlockall.c: New file.
81         * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
82         * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
83         mlockall, munlockall): Change caller field to - from EXTRA.
84         Don't use __ names; not used (and not declared in include/sys/mman.h).
86         * hurd/privports.c (__get_privileged_ports): Renamed with __.
87         Use __ names for calls we make.
88         (get_privileged_ports): Add alias.
89         * hurd/hurd.h: Declare it with the __ name.
90         * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
91         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
92         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
94         * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
95         nothing if it's zero.
97 2001-04-19  Matthew Wilcox  <willy@ldl.fc.hp.com>
99         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
100         Change to return a signed result for compatibility with other
101         architectures, and correctness.
103 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
105         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
106         HPPA always had them.  Patch by Matthew Wilcox <matthew@wil.cx>.
108 2001-04-19  Andreas Jaeger  <aj@suse.de>
110         * configure.in: Require gettext 0.10.36 or newer.
112         * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
114         * po/zh_TW.po: Remove extraneous backslashes.
116         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
117         variables b and n.
119 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
121         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
122         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
123         * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
124         * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
125         Copy first word of uc_sigmask into __uc_sigmask.
126         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
127         Save uc_link around trap. Copy __uc_sigmask into first word of
128         uc_sigmask, clear the rest. Make sure setcontext to the created
129         context doesn't do this though.
130         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
131         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
132         uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
133         64bit version, make uc_sigmask __sigset_t in the 32bit version.
135 2001-04-19  Andreas Jaeger  <aj@suse.de>
137         * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
139         * rt/Makefile (otherlibs): Added for static NSS.
141         * glibcbug.in (BUGGLIBC): Send to new alias.
143 2001-04-02  Andreas Schwab  <schwab@suse.de>
145         * Makerules (build-module): Make sure exit codes get checked
146         properly and remove unnecessary slashes.
148 2001-04-17  Ulrich Drepper  <drepper@redhat.com>
150         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
151         Handle kernels which report only three digits after the decimal point.
152         Reported by Van Okamura <van.okamura@oracle.com>.
154         * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
156 2001-04-17  David S. Miller  <davem@redhat.com>
158         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
159         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
161 2001-04-17  Jakub Jelinek  <jakub@redhat.com>
163         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
164         desired exceptions are raised for exceptional values.
165         * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
166         cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
167         clog_test, log_test, log1p_test, tan_test): Increase precision of
168         expected values to satisfy ldbl-128.
169         * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
170         * sysdeps/arm/libm-test-ulps: Likewise.
171         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
172         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
173         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
174         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
175         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
176         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
177         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
178         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
179         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
181 2001-04-17  Andreas Jaeger  <aj@suse.de>
183         * configure.in: Move test for critical programs up.
185 2001-04-16  Stephen L Moshier  <moshier@mediaone.net>
187         * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
188         Correct the values. (pSx, qSx): Replace by shorter approximation.
189         Use f suffix on float constants.
191 2001-04-16  Ulrich Drepper  <drepper@redhat.com>
193         * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
194         Contributed by Stephen L Moshier <moshier@mediaone.net>.
196         * string/string.h: Replace const in attribute list with __const__.
198 2001-04-16  Roland McGrath  <roland@frob.com>
200         * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
201         instead of the constant NGROUPS_MAX.  That way, the limit can be
202         raised in the kernel configuration without having to recompile libc.
204         * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
205         define NGROUPS_MAX; we don't use it here.
207 2001-04-16  Andreas Jaeger  <aj@suse.de>
209         * math/libm-test.inc (atan2_test): Add more testcases.
211         * iconv/gconv_db.c: Include gconv_charset.h for
212         __gconv_lookup_alias prototype.
214 2001-04-13  Ulrich Drepper  <drepper@redhat.com>
216         * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
217         Contributed by Stephen L Moshier <moshier@mediaone.net>.
219 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
221         * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
223 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
225         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
226         explicitly pad struct siginfo instead of relying on compiler padding.
228 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
230         * sysdeps/ia64/Dist: Add elf/entry.h.
232         * iconvdata/Makefile (distribute): Add TESTS2.
234 2001-04-13  Jakub Jelinek  <jakub@redhat.com>
236         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
237         Calculate load address differently.
239 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
241         * iconvdata/TESTS2: New file.
242         * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
243         * iconvdata/testdata/alfabeta..UTF-8: New file.
244         * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
245         * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
246         * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
247         * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
249 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
251         * iconvdata/utf-32.c: New file.
252         * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
253         * iconvdata/Makefile (modules): Add UTF-32.
254         (distribute): Add utf-32.c.
256 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
258         * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
259         changing it in the state. After incrementing 'inptr', store it back.
260         * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
261         store it back.
263 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
265         * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
266         MIN_NEEDED_FROM.
268 2001-04-11  David Mosberger  <davidm@hpl.hp.com>
270         * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
271         * sysdeps/ia64/htons.S: Likewise.
273         * sysdeps/ia64/memset.S: Add unwind directives.
274         * sysdeps/ia64/strncpy.S: Likewise.
275         * sysdeps/ia64/strcat.S: Likewise.
277         * sysdeps/ia64/memccpy.S: Add unwind directives.  Drop superfluous
278         restore of ar.pfs.
279         * sysdeps/ia64/strchr.S: Likewise.
280         * sysdeps/ia64/memmove.S: Likewise.
281         * sysdeps/ia64/memcpy.S: Likewise.
282         * sysdeps/ia64/memcmp.S: Likewise.
283         * sysdeps/ia64/memchr.S: Likewise.
284         * sysdeps/ia64/strcmp.S: Likewise.
285         * sysdeps/ia64/strlen.S: Likewise.
286         * sysdeps/ia64/strcpy.S: Likewise.
287         * sysdeps/ia64/strncmp.S: Likewise.
289 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
291         * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
292         fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
293         fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
294         fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
296 2001-04-11  Andreas Jaeger  <aj@suse.de>
298         * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
300 2001-04-11  Andreas Schwab  <schwab@suse.de>
302         * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
304 2001-04-11  Ulrich Drepper  <drepper@redhat.com>
306         * sysdeps/arm/stackinfo.h: New file.
308 2001-04-08  Thorsten Kukuk  <kukuk@suse.de>
310         * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
311         rpcgen to generate thread safe code.
313 2001-04-10  Andreas Jaeger  <aj@suse.de>
315         * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
317 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
319         * elf/dl-minimal.c (__assert_fail): Change error string.  It's
320         most of the time no bug in ld.so.
321         (__assert_perror_fail): Likewise.
323 2001-04-11  Hans-Peter Nilsson  <hp@axis.com>
325         * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
326         from struct to unsigned int.
328 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
330         * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
331         AT_IGNOREPPC): New defines.
332         * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
333         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
334         Define for newer powerpc kernels.
335         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
336         DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
338 2000-4-10  kaz Kojima  <kkojima@rr.iij4u.or.jp>
340         * sysdeps/sh/stackinfo.h: New file.
342 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
344         * locale/tst-C-locale.c (run_test): Add tests for locale objects.
345         * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
346         __ctype_tolower, and __ctype_toupper elements.
348         * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
349         Reported by Konstantin Osipov <rabid@spylog.ru>.
351         * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
352         the lousy AMD FPU.
354 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
356         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
357         * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
358         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
359         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
361 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
363         * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
364         message.  Based on a patch by HJ Lu.
366 2001-04-10  Andreas Schwab  <schwab@suse.de>
368         * math/libm-test.inc (csinh_test): Don't require the invalid
369         exception for csinh (x + iNaN), but make it optional.
371 2001-04-09  David Mosberger  <davidm@hpl.hp.com>
373         * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
375         * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
376         * sysdeps/ia64/elf/entry.h: New file.
377         * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
378         __start.
379         * elf/rtld.c: Don't declare ENTRY_POINT.  Use ENTRY_POINT instead
380         of &ENTRY_POINT.
381         * sysdeps/generic/dl-sysdep.c: Likewise.
382         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
383         * sysdeps/ia64/elf/start.S: Save base address of register backing
384         store in __libc_ia64_register_backing_store_base.
386 2001-04-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
388         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
389         value of getcontext.
390         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
391         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
392         value of setcontext.
393         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
394         * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
395         call by changing the saved context.
397 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
399         * sysdeps/alpha/stackinfo.h: New file.
400         * sysdeps/ia64/stackinfo.h: New file.
402 2001-04-10  Andreas Schwab  <schwab@suse.de>
404         * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
405         values.
406         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
408 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
410         * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
411         * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
413         * libio/Makefile (distribute): Add fd_to_filename.h.
415 2001-04-05  David S. Miller  <davem@redhat.com>
417         Add hp-timing support for sparcv9/sparc64 targets.
418         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
419         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
420         * sysdeps/sparc/sparc64/hp-timing.c: New file
421         * sysdeps/sparc/sparc64/hp-timing.h: New file
422         * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
423         * sysdeps/sparc/sparc64/Makefile: Likewise.
425 2001-04-09  Jakub Jelinek  <jakub@redhat.com>
427         * sysdeps/generic/fd_to_filename.h: New file.
428         * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
429         * libio/freopen.c (freopen): If FILENAME is NULL, try to get
430         filename from the open file descriptor.
431         * libio/freopen64.c (freopen64): Likewise.
433 2001-04-09  Bruno Haible  <haible@clisp.cons.org>
435         * misc/error.c (error): fflush stdout also if
436         error_print_progname != NULL.
437         (error_at_line): Likewise.
439 2001-04-07  Bruno Haible  <haible@clisp.cons.org>
441         * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
442         (struct binding): Add codeset_cntr field.
443         (_nl_load_domain): Add domainbinding argument.
444         (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
445         (_nl_find_msg): New declaration, moved here from loadinfo.h.
446         * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
447         (_nl_make_l10nflist): Remove domainbinding argument.
448         (_nl_find_msg): Move declaration to gettextP.h.
449         * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
450         to 0.  Increment it when ->codeset is changed.
451         * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
452         (_nl_find_msg): Add domainbinding argument.  Reinitialize the converter
453         if domainbinding->codeset_cntr has been incremented.
454         * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
455         _nl_make_l10nflist().  Pass it to _nl_load_domain() instead.
456         * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
457         * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
458          from _nl_load_domain.  Append //TRANSLIT also when using libiconv.
459         (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
460         (_nl_load_domain): Add domainbinding argument.  Call
461         _nl_init_domain_conv.
462         (_nl_unload_domain): Call _nl_free_domain_conv.
463         * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
464         (test-srcs): Add tst-codeset.
465         (tests): Depend on tst-codeset.out.
466         (tst-codeset.out): New rule.
467         (CFLAGS-tst-codeset.c): New variable.
468         * intl/tst-codeset.sh: New file.
469         * intl/tstcodeset.po: New file.
470         * intl/tst-codeset.c: New file.
471         * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
472         calls.
474 2001-04-07  Roland McGrath  <roland@frob.com>
476         * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
478 2001-03-31  Roland McGrath  <roland@frob.com>
480         * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
481         copying send rights into child.  When we hit our name for our proc
482         port, just copy NEWPROC directly instead of repeating proc_task2proc
483         to install the child's port.
485 2001-04-08  Roland McGrath  <roland@frob.com>
487         * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
488         in second column, to provide default values for third column.
489         * shlib-versions: Add comments about using DEFAULT in second column.
490         (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
491         (cris-.*-linux.*): Likewise.
493 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
495         * Makefile (distribute): Add scripts/documented.sh.
496         * scripts/documented.sh: New file.
498 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
500         * sysdeps/unix/sysv/linux/cris/Dist: New file.
501         * sysdeps/unix/sysv/linux/cris/Makefile: New file.
502         * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
503         * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
504         * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
505         * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
506         * sysdeps/unix/sysv/linux/cris/brk.c: New file.
507         * sysdeps/unix/sysv/linux/cris/chown.c: New file.
508         * sysdeps/unix/sysv/linux/cris/clone.S: New file.
509         * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
510         * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
511         * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
512         * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
513         * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
514         * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
515         * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
516         * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
517         * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
518         * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
519         * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
520         * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
521         * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
522         * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
523         * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
524         * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
525         * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
526         * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
527         * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
528         * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
529         * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
530         * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
531         * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
532         * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
533         * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
534         * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
535         * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
536         * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
537         * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
538         * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
539         * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
540         * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
541         * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
542         * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
543         * sysdeps/unix/sysv/linux/cris/socket.S: New file.
544         * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
545         * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
546         * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
547         * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
548         * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
549         * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
551 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
553         * sysdeps/cris/Dist: New file.
554         * sysdeps/cris/Implies: New file.
555         * sysdeps/cris/Makefile: New file.
556         * sysdeps/cris/__longjmp.S: New file.
557         * sysdeps/cris/_mcount.S: New file.
558         * sysdeps/cris/bits/endian.h: New file.
559         * sysdeps/cris/bits/setjmp.h: New file.
560         * sysdeps/cris/bits/string.h: New file.
561         * sysdeps/cris/dl-machine.h: New file.
562         * sysdeps/cris/elf/start.S: New file.
563         * sysdeps/cris/machine-gmon.h: New file.
564         * sysdeps/cris/memcopy.h: New file.
565         * sysdeps/cris/memusage.h: New file.
566         * sysdeps/cris/setjmp.S: New file.
567         * sysdeps/cris/sysdep.h: New file.
568         * sysdeps/cris/wordcopy.c: New file.
570 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
572         * elf/elf.h: Add new relocations for CRIS.
574 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
576         * shlib-versions: Add cases for Linux on CRIS.
578 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
580         * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
581         ';' for comments and '@' for line separator.
583 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
585         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
586         typo; s/==/=/ for assignment.
588 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
590         * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
592 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
594         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
595         empty input before checking full output.
597 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
599         * iconv/gconv.c (__gconv): Don't derefer parameter cd before
600         checking if == -1L.
602 2001-04-08  Ulrich Drepper  <drepper@redhat.com>
604         * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
606 2001-04-07  Stephen L Moshier  <moshier@mediaone.net>
608         * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
609         return values.
611 2001-04-07  Ulrich Drepper  <drepper@redhat.com>
613         * stdlib/tst-setcontext.c (main): Add a test for setcontext.
615         * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
616         * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
617         * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
618         * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
619         * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
620         * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
622 2001-04-07  Andreas Jaeger  <aj@suse.de>
624         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
625         instead of separate sin and cos.
626         (__ieee754_j1l): Likewise.
628 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
630         * sysdeps/ia64/abort-instr.h: New file.  Code by David Mosberger.
632         * sysdeps/ia64/atomicity.h: New file.  Copied from libstdc++.
634         * sysdeps/i386/i486/atomicity.h: Clean up the asms.
636         * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
637         available.
638         * sysdeps/generic/e_scalbf.c: Likewise.
639         * sysdeps/generic/e_scalbl.c: Likewise.
640         Patch by Mark Hatle <fray@mvista.com>.
642 2001-04-05  David S. Miller  <davem@redhat.com>
644         * sysdeps/sparc/abort-instr.h: New file.
646 2001-04-05  Matt Wilson  <msw@redhat.com>
648         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
649         added code to parse new 2.4 format.
650         (GET_NPROCS_CONF_PARSER): Likewise.
652 2001-04-05  David S. Miller  <davem@redhat.com>
654         * scripts/config.sub: Recognize sparcv9b like sparcv9.
655         * configure.in: Add sparcv9b.
656         * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
657         * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
658         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
660 2001-04-06  David Mosberger  <davidm@hpl.hp.com>
662         * stdlib/tst-setcontext.c: Move st2[] to global scope.
663         (f2): Verify that stack pointer is inside st2[].
665         * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
666         * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
668 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
670         * timezone/antarctica: Update from tzdata2001b.
671         * timezone/asia: Likewise.
672         * timezone/australasia: Likewise.
673         * timezone/europe: Likewise.
674         * timezone/northamerica: Likewise.
676         * iconv/iconv_open.c: Move strip and upstr definitions...
677         * iconv/gconv_charset.h: ...here.  New file.
678         * iconv/gconv_db.c (once): Move to file level.
679         (do_lookup_alias): Split out from __gconv_find_transform.
680         (__gconv_find_transform): Call do_lookup_alias.
681         (__gconv_loopup_alias): New function.
682         * locale/langinfo.h: Define _NL_*_CODESET values for all categories
683         but LC_CTYPE.
684         * locale/categories.def: Add entries for new _NL_*_CODESET values.
685         * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
686         * locale/C-address.c: Initialize _NL_*_CODESET element.
687         * locale/C-collate.c: Likewise.
688         * locale/C-identification.c: Likewise.
689         * locale/C-measurement.c: Likewise.
690         * locale/C-messages.c: Likewise.
691         * locale/C-monetary.c: Likewise.
692         * locale/C-name.c: Likewise.
693         * locale/C-numeric.c: Likewise.
694         * locale/C-paper.c: Likewise.
695         * locale/C-telephone.c: Likewise.
696         * locale/C-time.c: Likewise.
697         * locale/localeinfo.h: Declare _nl_C_codeset.
698         * locale/C_name.c: Define _nl_C_codeset.
699         * locale/findlocale.c: Before accepting locale check that the used
700         charset does not conflict with what the locale name said.
701         * locale/programs/ld-address.c: Emit codeset information.
702         * locale/programs/ld-collate.c: Likewise.
703         * locale/programs/ld-identification.c: Likewise.
704         * locale/programs/ld-measurement.c: Likewise.
705         * locale/programs/ld-messages.c: Likewise.
706         * locale/programs/ld-monetary.c: Likewise.
707         * locale/programs/ld-name.c: Likewise.
708         * locale/programs/ld-numeric.c: Likewise.
709         * locale/programs/ld-paper.c: Likewise.
710         * locale/programs/ld-telephone.c: Likewise.
711         * locale/programs/ld-time.c: Likewise.
713         * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
714         if the locale data couldn't be found.
716         * string/Makefile: Define tst-strxfrm-ENV.
718         * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
720 2001-04-06  Andreas Jaeger  <aj@suse.de>
722         * include/sys/profil.h: New file.
724         * dlfcn/modatexit.c: Add prototypes to silence GCC.
725         * dlfcn/modcxaatexit.c: Likewise.
726         * elf/globalmod1.c: Likewise.
728 2001-04-05  David S. Miller  <davem@redhat.com>
730         * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
731         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
732         capability flags table and HWCAP_IMPORTANT, increase
733         _DL_HWCAP_COUNT to 6.
734         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
736 2001-04-04  David Mosberger  <davidm@hpl.hp.com>
738         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
739         initialization of stack_end (bug reported by Zheng Gengbin
740         <gzheng@students.uiuc.edu>).
742 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
744         * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
746 2001-04-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
748         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
750 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
752         * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
753         * sysdeps/i386/fpu/e_asinl.S: Removed.  Too inaccurate.
755         * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
757 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
759         * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
760         define simple replacements here.  Patch by Michael Keezer.
762         * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
763         * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
764         Contributed by Stephen L Moshier <moshier@mediaone.net>.
766         * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
767         anymore.
769 2001-04-01  Andreas Jaeger  <aj@suse.de>
771         * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
772         alias.
774         * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
776 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
778         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
779         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
781 2001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>
783         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
784         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
785         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
786         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
787         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
788         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
789         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
790         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
791         * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
793 2001-04-04  Andreas Jaeger  <aj@suse.de>
795         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
796         place.
798 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
800         * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
801         * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
802         * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
803         (unsigned_dec): Likewise.
804         Patch by atai@jezebel.dreamhost.com.
806         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
807         pointer to int as last parameter of yp_match.
808         Patch by kanazawa@flab.fujitsu.co.jp.
810 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
812         * resolv/netdb.h (gai_strerror): Make return value const.
813         * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
814         * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
815         Add strings for new error values.
817 2001-03-29  Michael Keezer  <mkeezer@redhat.com>
819         * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
820         * login/tst-utmp.c: Handle case where ut_tv is not available but
821         ut_time is.
822         * sysdeps/unix/sysv/aix/utmpx.h: New file.
823         * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
824         _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
825         * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
826         * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
827         to access RTCU timer reg.
828         * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
829         added dl-libc, dl-open,dl-sym, dl-close to misc.
830         * sysdeps/unix/sysv/aix/start.c: New file.  Start code.
831         * sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
832         * sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
833         * sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
834         * sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
835         * sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
836         * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
837         GLIBC_2_2).
838         * sysdeps/generic/strtoull.c: Likewise.
839         * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
840         * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
841         sysdeps/generic/memset.c.
842         * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
844 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
846         * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
847         * locale/programs/charmap.c: Define null_pointer if
848         NEED_NULL_POINTER is defined.
850         * misc/dirname.c (dirname): Handle multiple slashes correctly.
852 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
854         * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
856 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
858         * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
859         * sysdeps/s390/s390-64/bcopy.S: Likewise.
860         * sysdeps/s390/s390-32/mempcy.S: Likewise.
861         * sysdeps/s390/s390-64/memcpy.S: Likewise.
863 2001-04-02  Bruno Haible  <haible@clisp.cons.org>
865         * manual/message.texi (Advanced gettext functions): More specific
866         syntax in the plural formula examples.
868 2001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
870         * sysdeps/powerpc/atomicity.h: Silence warnings.
871         * sysdeps/powerpc/dl-machine.h: Likewise.
872         * sysdeps/powerpc/register-dump.h: Likewise.
873         * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
875 2001-04-02  Andreas Jaeger  <aj@suse.de>
877         * misc/tst-dirname.c (main): Add more tests, derived from a bug
878         report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
880 2001-04-01  Andreas Jaeger  <aj@suse.de>
882         * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
883         is installed there.
884         * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
886 2001-04-01  H.J. Lu  <hjl@gnu.org>
888         * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
889         tmpnam (NULL).
890         * stdlib/isomac.c (macrofile): Likewise.
892 2001-03-30  Thorsten Kukuk  <kukuk@suse.de>
894         * inet/rcmd.c: Allow AF_UNSPEC as parameter.
895         * nis/ypclnt.c (yp_all): Print error message only at last try,
896         check for protocoll error only if we don't have a network error.
898 2001-04-02  Andreas Schwab  <schwab@suse.de>
900         * resolv/res_data.c (res_isourserver): Fix cast.
902 2001-04-02  Andreas Jaeger  <aj@suse.de>
904         * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
905         __umount2.
907         * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
908         strings.
909         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
911         * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
912         initializers.
913         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
915         * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
916         warning about unused variable.
918         * string/string.h (strndupa): Add cast for C++ conformance.
919         (strdupa): Likewise.
920         Fixes PR libc/2173, reported by tbrowder@home.com.
922 2001-03-30  Roland McGrath  <roland@frob.com>
924         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
925         options after $(build-module), which is no longer a single command.
926         (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
927         (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
928         variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
930 2001-03-11  Roland McGrath  <roland@frob.com>
932         * elf/rtld.c (dl_main): Add cast to quiet warning.
933         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
934         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
935         (__gconv_read_conf): Likewise.
936         * iconv/gconv_db.c (gen_steps): Likewise.
937         (__gconv_find_transform): Likewise.
938         * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
939         (fopen_uncompressed): Use const in second argument's type.
941 2001-03-11  Roland McGrath  <roland@frob.com>
943         * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
945         * mach/mach_error.h: Fix ancient #endif syntax.
946         * hurd/hurdmalloc.c: Likewise.
948         * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
949         compare_and_swap): Add volatile qualifier to first arg, to bring
950         these prototypes in line with all the other implementations.
951         Add a #warning to remind the builder that these are not atomic.
953 2001-03-04  Roland McGrath  <roland@frob.com>
955         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
956         member of TEMP_F so its type is _IO_FILE * as expected.
958         * hurd/fopenport.c (seekio): Conditionalize type of POS argument
959         on [USE_IN_LIBIO].  Check the value for overflow, since for libio
960         it might exceed off_t's range.
962 2001-02-25  Roland McGrath  <roland@frob.com>
964         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
965         * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
967         * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
968         macro instead of an inline function,
969         (MSG_EXAMINE): Likewise.
971         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
973         * hurd/get-host.c: Include <string.h> for decls of built-ins.
974         * hurd/hurdchdir.c: Likewise.
975         * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
976         * sysdeps/mach/hurd/opendir.c: Likewise.
978         * mach/mach_init.c: Include <unistd.h> for _exit decl.
980         * mach/errsystems.awk: Give output file a trailing newline.
982         * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
983         the script will use our compiler for the cpp stage.
985         With --enable-all-warnings we get a whole bunch of warnings,
986         and these are just a few fixes; there are more needed to silence it.
987         * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
988         decls before extern inline defns to quiet gcc warning.
989         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
990         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
992 2001-03-31  Andreas Jaeger  <aj@suse.de>
994         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
995         (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
996         (ARPHRD_CISCO): New.
997         Changes from Linux 2.4.3.
999 2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
1001         * posix/regex.c: Avoid an access violation if malloc failes.
1003 2001-03-30  Andreas Jaeger  <aj@suse.de>
1005         * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
1007 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
1009         * posix/regex.c: Remove unnecessary ifs.
1011         * math/bits/mathcalls.h: Remove infnan declaration.
1013 2001-03-29  H.J. Lu  <hjl@gnu.org>
1015         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
1016         and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
1017         * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
1018         .
1019 2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
1021         * posix/regex.c: Fix typo and add a sentinel.
1023 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
1025         * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
1026         O_NOFOLLOW.  Suggested by Christoph Roland.
1028 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1030         * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
1031         * sysdeps/s390/s390-32/bits/string.h: Remove.
1032         * sysdeps/s390/s390-64/bits/string.h: Remove.
1033         * sysdeps/s390/s390-32/strcmp.S: New file.
1034         * sysdeps/s390/s390-64/strcmp.S: New file.
1036 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1038         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
1039         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1041 2001-03-27  Ulrich Drepper  <drepper@redhat.com>
1043         * version.h (VERSION): Bump to 2.2.3.
1045         * stdlib/isomac.c (fmt): Don't define _LIBC.
1046         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
1047         LOW_HALF only if _LIBC is defined.
1049         * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
1051         * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
1052         and +().
1053         * posix/tst-fnmatch.input: Add test cases for matching empty strings.
1055         * sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
1056         * include/endian.h: ...to here.
1058 2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1060         * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
1061         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
1063 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1065         * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
1067 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
1069         * sysdeps/ia64/fpu/Dist: Add new files to distribute.
1070         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
1071         * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
1073         * gmon/Makefile (headers): Add sys/profil.h.
1075 2001-03-18  Andreas Jaeger  <aj@suse.de>
1077         * manual/install.texi (Tools for Compilation): Advise to use GCC
1078         2.95.3.
1079         (Supported Configurations): Mention s390x.
1081 2001-03-26  Ben Collins  <bcollins@debian.org>
1083         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
1084         defines to match other architectures.
1086 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
1088         * libio/Makefile (tests): Add tst-ext.
1089         * libio/tst-ext.c: New file.
1091         * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
1093 2001-03-25  Ulrich Drepper  <drepper@redhat.com>
1095         Add changes which were in this form in the original patch by
1096         Eric Norum <eric.norum@usask.ca>.
1097         * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
1098         svc_max_pollfd.
1099         * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
1100         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
1101         __rpc_thread_svc_max_pollfd.
1102         Define svc_fdset, get_rpc_createerr, svc_pollfd, and
1103         svc_max_pollfd.
1104         * sunrpc/rpc_thread.c: Handle first thread special, it uses the
1105         global variables.
1106         Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
1107         __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
1108         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
1109         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
1110         __rpc_thread_svc_max_pollfd.
1111         * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
1112         get_rpc_createerr.
1113         * sunrpc/clnt_perr.c: Likewise.
1114         * sunrpc/clnt_simp.c: Likewise.
1115         * sunrpc/clnt_tcp.c: Likewise.
1116         * sunrpc/clnt_udp.c: Likewise.
1117         * sunrpc/clnt_unix.c: Likewise.
1118         * sunrpc/pm_getport.c: Likewise.
1120         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
1121         syscall checks for negative n so don't test here as well.
1123 2001-03-23  Jes Sorensen  <jes@linuxcare.com>
1125         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
1126         * sysdeps/ia64/sysdep.h: ...here.
1128         * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
1129         * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
1131         * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
1132         declare instead of LEAF().  Suggestion from David Mosberger.
1134 2001-03-21  David Mosberger  <davidm@hpl.hp.com>
1136         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
1137         directives.
1138         (PSEUDO): Drop .psr and .lsb directives.
1140         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
1141         directives.
1142         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
1144         * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
1145         directives etc.
1146         * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
1147         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
1148         * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
1149         longer needed).  Add unwind directives.
1151         * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
1152         ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
1154 2001-03-21  Paul Eggert  <eggert@twinsun.com>
1156         * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
1157         (RE_SYNTAX_POSIX_EGREP): Use it.
1158         * posix/regex.c (regex_compile): Implement it.
1160 2001-03-21  Paul Eggert  <eggert@twinsun.com>
1162         * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
1163         Rewrite to avoid duplicate code.
1165 2001-03-21  H.J. Lu  <hjl@gnu.org>
1167         * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
1168         for cross-compiling.
1169         ($(objpfx)tst-pathopt.out): Undo the last change.
1171 2001-03-24  Mark Kettenis  <kettenis@gnu.org>
1173         * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
1174         sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
1176         * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
1177         (_dl_argv): Declare.
1178         (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
1180 2001-03-22  Andreas Jaeger  <aj@suse.de>
1182         * iconvdata/Makefile (generated): Add iconv-test.xxx.
1184         * posix/Makefile (generated): Add bug-regex2.mtrace and
1185         bug-regex2-mem.
1187 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
1189         * csu/version.c (__gnu_get_libc_release): Add prototype.
1190         (__gnu_get_libc_version): Likewise.
1191         * include/gnu/libc-version.h: Remove prototypes for not exported
1192         functions.
1194 2001-03-21  Jes Sorensen  <jes@linuxcare.com>
1196         * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
1197         for internationalized printfs to work.
1199 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
1201         * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
1202         avoid compiler warning.
1203         (_nl_find_msg): Add casts to avoid compiler warnings.
1205 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
1207         * gmon/Makefile (routines): Add sprofil.
1208         (tests): Add tst-sprofil.
1209         (noprof): Add sprofil.
1210         * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
1212 2001-03-20  David Mosberger  <davidm@hpl.hp.com>
1214         * sysdeps/generic/sprofil.c: New file.
1215         * sysdeps/posix/sprofil.c: New file.
1216         * gmon/tst-sprofil.c: New file.
1217         * gmon/sys/profil.h: New file.
1219 2001-03-20  Andreas Schwab  <schwab@suse.de>
1221         * include/unistd.h: Adjust prototype of __gethostname.
1223 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
1225         * sysdeps/sparc/stackinfo.h: New file.
1227 2001-03-21  Andreas Jaeger  <aj@suse.de>
1229         * elf/global.c (main): Use proper prototype.
1231 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
1233         * sunrpc/Makefile (routines): Add rpc_thread.
1234         (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
1235         * sunrpc/rpc_thread.c: New file.
1236         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
1237         * sunrpc/auth_none.c: Don't use global variables.  Access state in
1238         thread-local storage.
1239         * sunrpc/clnt_perr.c: Likewise.
1240         * sunrpc/clnt_raw.c: Likewise.
1241         * sunrpc/clnt_simp.c: Likewise.
1242         * sunrpc/key_call.c: Likewise.
1243         * sunrpc/rpc_common.c: Likewise.
1244         * sunrpc/svc.c: Likewise.
1245         * sunrpc/svc_raw.c: Likewise.
1246         * sunrpc/svc_simple.c: Likewise.
1247         * sunrpc/svcauth_des.c: Likewise.
1248         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
1249         _HURD_THREADVAR_RPC_VARS.
1250         * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
1251         * include/rpc/rpc.h: Define data structures for internal thread-local
1252         "global" variables.
1253         Based on patches by Eric Norum <eric.norum@usask.ca>.
1255         * elf/dl-load.c: Various little optimizations.
1257         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
1258         LINUX_LINK_MAX only if the statfs function is not implemented for
1259         the filesystem.
1261         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
1262         LINUX_LINK_MAX only if the fstatfs function is not implemented for
1263         the filesystem.
1265 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
1267         * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
1269         * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
1270         (_dl_dst_substitute): Likewise.
1272 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1274         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
1276 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1278         * intl/gettextP.h (struct expression): Add operators lnot, less_than,
1279         greater_than, less_or_equal, greater_or_equal. Replace args2/args3
1280         union by a 'nargs' counter and an 'args[]' array.
1281         * intl/plural.y: Don't include stdarg.h.
1282         (new_exp): Take an array of arguments instead of varargs.
1283         (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
1284         ('?' ':'): Make right-associative.
1285         (EQUOP2): New token, replaces '=' and '!'.
1286         (CMPOP2): New token.
1287         (ADDOP2): New token, replaces '+' and '-'.
1288         (MULOP2): New token, replaces '*', '/' and '%'.
1289         ('!'): New token.
1290         (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
1291         (start): Call YYABORT here.
1292         (FREE_EXPRESSION): Update.
1293         (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
1294         Update for new token symbols.
1295         * intl/loadmsgcat.c (plvar, plone, germanic_plural,
1296         init_germanic_plural): Update.
1297         * intl/dcigettext.c (_nl_find_msg): Optimize for space.
1298         (plural_eval): Recognize comparison and '!' operators. Optimize for
1299         space.
1301 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
1303         * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
1304         NULL any more.
1306 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
1308         * intl/loadmsgcat.c: Include headers needed for alloca().
1309         (freea): New macro.
1310         (_nl_load_domain): Add fallback code for platforms lacking alloca.
1311         * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
1312         (freea): New macro.
1313         (read_alias_file): Simplify fallback code for platforms lacking
1314         alloca.
1316 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
1318         * intl/gettextP.h (__gettextdebug): Remove declaration.
1319         (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
1320         syntax.
1321         (gettext_free_exp__, gettextparse__): New non-libc declarations.
1322         * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
1323         not __gettextparse, __gettext_free_exp.
1324         * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
1326 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
1328         * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
1330 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
1332         * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
1333         lacking strtoul, like SunOS4.
1335 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
1337         * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
1339 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
1341         * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
1342         syntax.
1343         * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
1344         * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
1345         * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
1346         syntax.
1348 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
1350         * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
1351         bindtextdomain__, bind_textdomain_codeset__): New declarations, from
1352         old libgettext.h.
1353         * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
1354         * intl/dcgettext.c: Likewise.
1355         * intl/dcigettext.c: Likewise.
1356         * intl/dcngettext.c: Likewise.
1357         * intl/dngettext.c: Likewise.
1358         * intl/finddomain.c: Likewise.
1359         * intl/ngettext.c: Likewise.
1360         * intl/textdomain.c: Likewise.
1361         * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
1362         Include gettextP.h.
1363         * intl/gettext.c: Likewise.  Don't include locale.h.
1365 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1367         * intl/gettextP.h (ZERO): New macro.
1368         (struct binding): Always use ZERO.
1369         * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
1370         lack it, like SunOS4.
1371         (set_binding_values): Use offsetof, not sizeof.
1372         * intl/dcigettext.c (offsetof): Provide fallback for platforms that
1373         lack it, like SunOS4.
1374         (ZERO): Remove macro.
1375         (struct transmem_list): Use ZERO.
1376         (DCIGETTEXT): Use offsetof, not sizeof.
1378 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1380         * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
1381         nls_uint32.
1382         * intl/bindtextdom.c: Don't include gettext.h.
1383         * intl/dcgettext.c: Likewise.
1384         * intl/dcigettext.c: Likewise.
1385         * intl/dcngettext.c: Likewise.
1386         * intl/dngettext.c: Likewise.
1387         * intl/finddomain.c: Likewise.
1388         * intl/localealias.c: Likewise.
1389         * intl/ngettext.c: Likewise.
1390         * intl/plural.y: Likewise.
1391         * intl/textdomain.c: Likewise.
1393 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1395         * intl/gettext.h: Don't include <stdio.h>.
1397 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1399         * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
1400         * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
1402 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
1404         * sysdeps/unix/i386/i686/tempname.c: New file.
1406         * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
1407         defined use this macro to get some bits of randomness instead of
1408         the usual gettimeofday or time calls.
1410 2001-03-16  Paul Eggert  <eggert@twinsun.com>
1412         * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
1413         not defined, and if UINT64_MAX is not defined.
1415 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
1417         * elf/cache.c: Mark and have translated a few more messages.
1419 2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1421         * elf/cache.c: Add case for FLAG_S390_LIB64.
1422         * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
1423         * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
1424         * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
1426 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
1428         * string/Makefile (tests): Add tst-strxfrm.
1429         * string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
1430         * string/Depend: New file.
1432 2001-03-19  Paul Eggert  <eggert@twinsun.com>
1434         * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
1435         when given the empty string in nontrivial locales.
1437 2001-03-17  H.J. Lu  <hjl@gnu.org>
1439         * manual/Makefile (install): Use $(INSTALL_DATA) instead of
1440         cp to install `dir'.
1442 2001-03-19  Andreas Schwab  <schwab@suse.de>
1444         * Makerules (build-shlib): Make sure exit codes get checked
1445         properly.
1447 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
1449         * Makerules (build-shlib): Remove unnecessary slashes introduced in
1450         last change.
1452         * configure.in: Test for -Bgroup option of linker.
1453         * config.make.in: Define have-Bgroup.
1455         * conform/data/unistd.h-data: Require gethostname.
1456         * posix/unistd.h: Make gethostname prototype available for
1457         __USE_XOPEN2K.
1459         * crypt/Makefile: When generating DSO link with libc_nonshared.a.
1460         * debug/Makefile: Likewise.
1461         * dlfcn/Makefile: Likewise.
1462         * hesiod/Makefile: Likewise.
1463         * iconvdata/extra-module.mk: Likewise.
1464         * locale/Makefile: Likewise.
1465         * login/Makefile: Likewise.
1466         * math/Makefile: Likewise.
1467         * nis/Makefile: Likewise.
1468         * nss/Makefile: Likewise.
1469         * resolv/Makefile: Likewise.
1470         * rt/Makefile: Likewise.
1472 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
1474         * inet/Makefile (tests): Remove left-over comment.
1476         * posix/unistd.h (gethostname): Change type of second parameter
1477         back to size_t as per upcoming XPG6.
1478         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
1479         parameter back to size_t as per upcoming XPG6.
1480         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
1481         * sysdeps/unix/sysv/gethostname.c: Likewise.
1482         * sysdeps/mach/hurd/gethostname.c: Likewise.
1483         * sysdeps/generic/gethostname.c: Likewise.
1485 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
1487         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
1488         Handle NaN here.
1490         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
1491         Internationalize.
1493 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
1495         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
1496         looking for name matches.
1498 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
1500         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
1501         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
1502         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
1503         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1504         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
1505         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
1506         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
1507         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
1508         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
1509         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
1510         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
1511         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1513 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
1515         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
1516         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1518         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
1519         erfcl.
1520         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1522 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
1524         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
1525         Drop hack that was needed for 2.1.1 kernel headers.
1527         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
1529         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
1530         overlay with kernel's "struct sigcontext".
1532         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
1533         sys/rse.h for "misc" subdir.
1534         (sysdep_routines): Add __start_context for "stdlib" subdir.
1536         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
1537         kernel file of the same name).
1539         * stdlib/Makefile (tests): Add tst-setcontext.
1540         * stdlib/tst-setcontext.c: New file (based on a sample program by
1541         Uli Drepper).
1543         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
1544         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
1545         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
1546         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
1547         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
1549         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
1550         instead of shift & and.
1552 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1554         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
1555         * sysdeps/s390/bits/huge_val.h: ...here.
1556         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
1557         * sysdeps/s390/s390-64/ffs.c: Move to...
1558         * sysdeps/s390/ffs.c: ...here.
1559         * sysdeps/s390/s390-32/ffs.c: Remove.
1561 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
1563         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
1564         update osversion from more recent library.
1566 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1568         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
1569         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
1570         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
1571         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
1572         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
1573         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
1574         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
1575         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
1576         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
1577         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
1578         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
1579         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
1580         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
1581         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
1582         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
1583         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
1584         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
1585         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
1586         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
1587         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
1588         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
1589         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
1590         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
1591         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
1592         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
1593         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
1594         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
1595         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
1596         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
1597         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
1598         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
1599         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
1600         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
1601         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
1602         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
1603         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
1604         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
1605         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
1606         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
1607         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
1608         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
1609         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
1610         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
1611         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
1612         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
1613         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
1614         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
1615         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
1616         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
1617         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
1618         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
1619         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
1620         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
1621         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
1622         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
1623         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
1624         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
1625         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
1626         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
1627         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
1628         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
1629         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
1630         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
1631         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
1632         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
1633         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
1634         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
1635         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
1636         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
1637         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
1638         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
1639         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
1640         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
1641         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
1642         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
1643         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
1644         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
1645         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
1646         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
1647         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
1648         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
1649         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
1650         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
1651         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
1652         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
1653         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
1654         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
1655         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
1656         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
1657         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
1658         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
1659         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
1660         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
1661         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
1662         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
1663         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
1664         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
1665         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
1666         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
1667         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
1668         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
1669         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
1670         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
1671         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
1672         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
1673         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
1674         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
1675         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
1676         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
1677         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
1678         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
1679         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
1680         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
1681         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
1683 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1685         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
1686         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
1687         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
1688         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
1689         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
1690         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
1691         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
1692         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
1693         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
1694         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
1695         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
1696         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
1697         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
1698         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
1699         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
1700         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
1701         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
1702         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
1703         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
1704         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
1705         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
1706         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
1707         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
1708         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
1709         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
1710         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
1711         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
1712         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
1713         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
1714         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
1715         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
1716         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
1717         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
1718         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
1719         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
1720         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
1721         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
1722         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
1723         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
1724         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
1725         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
1726         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
1727         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
1728         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
1729         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
1730         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
1731         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
1732         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
1733         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
1734         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
1735         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
1736         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
1737         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
1739 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1741         * sysdeps/s390/Dist: Move to...
1742         * sysdeps/s390/390-32/Dist: ...here.
1743         * sysdeps/s390/Implies: Move to...
1744         * sysdeps/s390/s390-32/Implies: ...here.
1745         * sysdeps/s390/Makefile: Move to...
1746         * sysdeps/s390/s390-32/Makefile: ...here.
1747         * sysdeps/s390/Versions: Move to...
1748         * sysdeps/s390-32/s390/Versions: ...here.
1749         * sysdeps/s390/add_n.S: Move to...
1750         * sysdeps/s390/s390-32/add_n.S: ...here.
1751         * sysdeps/s390/addmul_1.S: Move to...
1752         * sysdeps/s390/s390-32/addmul_1.S: ...here.
1753         * sysdeps/s390/atomicity.h: Move to...
1754         * sysdeps/s390/s390-32/atomicity.h: ...here.
1755         * sysdeps/s390/backtrace.c: Move to...
1756         * sysdeps/s390/s390-32/backtrace.c: ...here.
1757         * sysdeps/s390/bcopy.S: Move to...
1758         * sysdeps/s390/s390-32/bcopy.S: ...here.
1759         * sysdeps/s390/bits/byteswap.h: Move to...
1760         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
1761         * sysdeps/s390/bits/huge_val.h: Move to...
1762         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
1763         * sysdeps/s390/bsd-_setjmp.S: Move to...
1764         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
1765         * sysdeps/s390/bsd-setjmp.S: Move to...
1766         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
1767         * sysdeps/s390/bzero.S: Move to...
1768         * sysdeps/s390/s390-32/bzero.S: ...here.
1769         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
1770         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
1771         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
1772         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
1773         * sysdeps/s390/elf/start.S: Move to...
1774         * sysdeps/s390/s390-32/elf/start.S: ...here.
1775         * sysdeps/s390/ffs.c: Move to...
1776         * sysdeps/s390/s390-32/ffs.c: ...here.
1777         * sysdeps/s390/memchr.S: Move to...
1778         * sysdeps/s390/s390-32/memchr.S: ...here.
1779         * sysdeps/s390/memcpy.S: Move to...
1780         * sysdeps/s390/s390-32/memcpy.S: ...here.
1781         * sysdeps/s390/memset.S: Move to...
1782         * sysdeps/s390/s390-32/memset.S: ...here.
1783         * sysdeps/s390/mul_1.S: Move to...
1784         * sysdeps/s390/s390-32/mul_1.S: ...here.
1785         * sysdeps/s390/s390-mcount.S: Move to...
1786         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
1787         * sysdeps/s390/strcpy.S: Move to...
1788         * sysdeps/s390/s390-32/strcpy.S: ...here.
1789         * sysdeps/s390/strncpy.S: Move to...
1790         * sysdeps/s390/s390-32/strncpy.S: ...here.
1791         * sysdeps/s390/sub_n.S: Move to...
1792         * sysdeps/s390/s390-32/sub_n.S: ...here.
1794 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1796         * sysdeps/s390/s390-64/Dist: New file.
1797         * sysdeps/s390/s390-64/Implies: New file.
1798         * sysdeps/s390/s390-64/Makefile: New file.
1799         * sysdeps/s390/s390-64/__longjmp.c: New file.
1800         * sysdeps/s390/s390-64/add_n.S: New file.
1801         * sysdeps/s390/s390-64/atomicity.h: New file.
1802         * sysdeps/s390/s390-64/backtrace.c: New file.
1803         * sysdeps/s390/s390-64/bcopy.S: New file.
1804         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
1805         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
1806         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
1807         * sysdeps/s390/s390-64/bits/string.h: New file.
1808         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
1809         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
1810         * sysdeps/s390/s390-64/bzero.S: New file.
1811         * sysdeps/s390/s390-64/dl-machine.h: New file.
1812         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
1813         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
1814         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
1815         * sysdeps/s390/s390-64/elf/start.S: New file.
1816         * sysdeps/s390/s390-64/ffs.c: New file.
1817         * sysdeps/s390/s390-64/initfini.c: New file.
1818         * sysdeps/s390/s390-64/memchr.S: New file.
1819         * sysdeps/s390/s390-64/memcpy.S: New file.
1820         * sysdeps/s390/s390-64/memset.S: New file.
1821         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
1822         * sysdeps/s390/s390-64/setjmp.S: New file.
1823         * sysdeps/s390/s390-64/strcpy.S: New file.
1824         * sysdeps/s390/s390-64/strncpy.S: New file.
1825         * sysdeps/s390/s390-64/sub_n.S: New file.
1826         * sysdeps/s390/s390-64/sysdep.h: New file.
1828 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1830         * scripts/config.guess: Add support for Linux on 64 bit S/390.
1831         * scripts/config.sub: Likewise.
1833 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1835         * configure.in: Add support for 64 bit S/390.
1837         * elf/elf.h: Add new relocations for 64 bit S/390.
1839         * shlib-versions: Add rules for Linux on 64 bit S/390.
1841 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1843         * sysdeps/s390/__longjmp.c: Move to...
1844         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
1845         to load the floating point registers that should be saved
1846         according to the ABI.
1848         * sysdeps/s390/bits/setjmp.h: Move to...
1849         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
1850         the use of long long in the __jmp_buf type definition.
1852         * sysdeps/s390/bits/string.h: Move to...
1853         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
1854         #ifndef _FORCE_INLINES.
1856         * sysdeps/s390/dl-machine.h: Move to...
1857         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
1858         executables EI_CLASS in elf_machine_matches_host.
1860         * sysdeps/s390/elf/setjmp.S: Move to...
1861         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
1862         branches to globally defined symbol __sigsetjmp by branches to
1863         a local label (this avoids the generation of a R_390_PC16DBL
1864         relocation in -fpic code).
1866         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
1867         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
1869         * sysdeps/s390/initfini.c: Move to...
1870         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
1871         ".align 4,0x07".
1873         * sysdeps/s390/setjmp.S: Move to...
1874         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
1875         floating point registers that should be saved according to the ABI.
1877         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
1879         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
1880         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
1881         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
1883 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1885         * configure.in: Change machine=s390 to machine=s390/s390-32.
1887         * elf/elf.h: Correct comment for R_390_PLT16DBL.
1889 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
1891         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
1892         version to be overriden from config.h.
1893         * csu/abi-note.S: Use OS and version separately, include config.h.
1894         * elf/dl-load.c (_dl_osversion): New.
1895         (_dl_map_object_from_fd): Kill some warnings.
1896         (open_verify): Check .note.ABI-tag of the library if present.
1897         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
1898         * elf/cache.c (struct cache_entry): Add osversion.
1899         (print_entry): Print osversion.
1900         (print_cache): Pass osversion to it.
1901         (compare): Sort according to osversion.
1902         (save_cache): Set osversion.
1903         (add_to_cache): Add osversion argument.
1904         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
1905         process_elf_file): Add osversion argument.
1906         * elf/readlib.c (process_file): Likewise.
1907         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
1908         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
1909         process_elf32_file, process_elf64_file): Likewise.
1910         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
1911         process_elf32_file, process_elf64_file): Likewise.
1912         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
1913         process_elf32_file, process_elf64_file): Likewise.
1914         * elf/ldconfig.c (manual_link): Pass it.
1915         (search_dir): Issue diagnostic if two libs with the same soname in
1916         the same directory have different .note.ABI-tag.  Record osversion in
1917         dlib_entry and use it from there.
1918         (struct lib_entry): Remove.
1919         (struct dlib_entry): Add osversion.
1920         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
1921         osversion.
1922         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
1923         field with osversion.
1924         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
1925         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
1926         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
1927         version in _dl_osversion.
1928         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
1929         * Makerules (build-shlib-helper, build-module-helper): New.
1930         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
1931         early.
1932         * config.h.in (__ABI_TAG_VERSION): Add.
1933         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
1934         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
1935         Handle LD_ASSUME_KERNEL.
1936         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
1938 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
1940         * timezone/antarctica: Update from tzdata2001a.
1941         * timezone/asia: Likewise.
1942         * timezone/australasia: Likewise.
1943         * timezone/backward: Likewise.
1944         * timezone/etcetera: Likewise.
1945         * timezone/europe: Likewise.
1946         * timezone/leapseconds: Likewise.
1947         * timezone/northamerica: Likewise.
1948         * timezone/southamerica: Likewise.
1949         * timezone/systemv: Likewise.
1950         * timezone/yearistype: Likewise.
1951         * timezone/zone.tab: Likewise.
1952         * timezone/tzdump.c: Update from tzcode2001a.
1954 2001-03-15  H.J. Lu  <hjl@gnu.org>
1956         * intl/Makefile: Fix a typo.
1958 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
1960         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
1961         writing arc structures.
1963 2001-03-15  H.J. Lu  <hjl@gnu.org>
1965         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
1966         cross-compiling.
1968 2001-03-13  Andreas Schwab  <schwab@suse.de>
1970         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
1972 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
1974         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
1975         for control message fitting into message data.
1976         Patch by James Antill <james@and.org>.
1978         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
1979         FNM_EXTMATCH.
1981         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
1982         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
1984         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
1985         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
1986         avoid running binaries with libc versions without FNM_EXTMATCH support.
1988         * include/wchar.h: Add prototype for __wcscat.
1989         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
1991         * posix/fnmatch.h (FNM_EXTMATCH): Define.
1992         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
1993         (posixly_correct): Move global variable here.
1994         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
1995         (fnmatch): Pretty printing.
1996         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
1997         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
1998         * posix/tst-fnmatch.input: Add tests for extended matching.
2000         * posix/testfnm.c: Add test for patterns with multiple ** before /.
2001         * posix/fnmatch_loop.c: Fix problem with the test above.
2003 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
2005         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
2006         reference to usqrt.
2008         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
2010 2001-03-12  Andreas Jaeger  <aj@suse.de>
2012         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2013         Use EM_X86_64 instead of EM_X8664.
2015 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
2017         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
2019         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
2020         conditions.
2022         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
2023         conditions.
2025         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
2026         correctly.
2027         (__cos): Likewise.
2029         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
2030         correctly.
2031         (__ieee754_acos): Likewise.
2033 2001-03-12  Andreas Jaeger  <aj@suse.de>
2035         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
2036         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
2038         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
2039         redefinition.
2041 2001-03-11  Roland McGrath  <roland@frob.com>
2043         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
2045 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
2047         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
2048         LITTLE_ENDI.
2050         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
2051         parameter list.
2053         Last-bit accurate math library implementation by IBM Haifa.
2054         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
2055         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
2056         Anna Reitman <reitman@il.ibm.com>.
2057         * math/Makefile (dbl-only-routines): New variable.
2058         (libm-routines): Add $(dbl-only-routines).
2059         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
2060         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
2061         implementation.
2062         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
2063         implementation.
2064         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
2065         implementation.
2066         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
2067         __kernel_cos.
2068         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
2069         implementation.
2070         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
2071         remainder implementation.
2072         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
2073         implementation.
2074         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
2075         implementation.
2076         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
2077         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
2078         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
2079         implementation.
2080         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
2081         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
2082         implementation.
2083         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
2084         and __kernel_cos.
2085         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
2086         implementation.
2087         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
2088         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
2089         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
2090         * sysdeps/ieee754/dbl-64/atnat.h: New file.
2091         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
2092         * sysdeps/ieee754/dbl-64/branred.c: New file.
2093         * sysdeps/ieee754/dbl-64/branred.h: New file.
2094         * sysdeps/ieee754/dbl-64/dla.h: New file.
2095         * sysdeps/ieee754/dbl-64/doasin.c: New file.
2096         * sysdeps/ieee754/dbl-64/doasin.h: New file.
2097         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
2098         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
2099         * sysdeps/ieee754/dbl-64/endian.h: New file.
2100         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
2101         * sysdeps/ieee754/dbl-64/mpa.c: New file.
2102         * sysdeps/ieee754/dbl-64/mpa.h: New file.
2103         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
2104         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
2105         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
2106         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
2107         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
2108         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
2109         * sysdeps/ieee754/dbl-64/mplog.c: New file.
2110         * sysdeps/ieee754/dbl-64/mplog.h: New file.
2111         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
2112         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
2113         * sysdeps/ieee754/dbl-64/mptan.c: New file.
2114         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
2115         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
2116         * sysdeps/ieee754/dbl-64/root.tbl: New file.
2117         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
2118         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
2119         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
2120         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
2121         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
2122         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
2123         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
2124         * sysdeps/ieee754/dbl-64/uexp.h: New file.
2125         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
2126         * sysdeps/ieee754/dbl-64/ulog.h: New file.
2127         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
2128         * sysdeps/ieee754/dbl-64/upow.h: New file.
2129         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
2130         * sysdeps/ieee754/dbl-64/urem.h: New file.
2131         * sysdeps/ieee754/dbl-64/uroot.h: New file.
2132         * sysdeps/ieee754/dbl-64/usncs.h: New file.
2133         * sysdeps/ieee754/dbl-64/utan.h: New file.
2134         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
2135         * sysdeps/i386/fpu/branred.c: New file.
2136         * sysdeps/i386/fpu/doasin.c: New file.
2137         * sysdeps/i386/fpu/dosincos.c: New file.
2138         * sysdeps/i386/fpu/halfulp.c: New file.
2139         * sysdeps/i386/fpu/mpa.c: New file.
2140         * sysdeps/i386/fpu/mpatan.c: New file.
2141         * sysdeps/i386/fpu/mpatan2.c: New file.
2142         * sysdeps/i386/fpu/mpexp.c: New file.
2143         * sysdeps/i386/fpu/mplog.c: New file.
2144         * sysdeps/i386/fpu/mpsqrt.c: New file.
2145         * sysdeps/i386/fpu/mptan.c: New file.
2146         * sysdeps/i386/fpu/sincos32.c: New file.
2147         * sysdeps/i386/fpu/slowexp.c: New file.
2148         * sysdeps/i386/fpu/slowpow.c: New file.
2149         * sysdeps/ia64/fpu/branred.c: New file.
2150         * sysdeps/ia64/fpu/doasin.c: New file.
2151         * sysdeps/ia64/fpu/dosincos.c: New file.
2152         * sysdeps/ia64/fpu/halfulp.c: New file.
2153         * sysdeps/ia64/fpu/mpa.c: New file.
2154         * sysdeps/ia64/fpu/mpatan.c: New file.
2155         * sysdeps/ia64/fpu/mpatan2.c: New file.
2156         * sysdeps/ia64/fpu/mpexp.c: New file.
2157         * sysdeps/ia64/fpu/mplog.c: New file.
2158         * sysdeps/ia64/fpu/mpsqrt.c: New file.
2159         * sysdeps/ia64/fpu/mptan.c: New file.
2160         * sysdeps/ia64/fpu/sincos32.c: New file.
2161         * sysdeps/ia64/fpu/slowexp.c: New file.
2162         * sysdeps/ia64/fpu/slowpow.c: New file.
2163         * sysdeps/m68k/fpu/branred.c: New file.
2164         * sysdeps/m68k/fpu/doasin.c: New file.
2165         * sysdeps/m68k/fpu/dosincos.c: New file.
2166         * sysdeps/m68k/fpu/halfulp.c: New file.
2167         * sysdeps/m68k/fpu/mpa.c: New file.
2168         * sysdeps/m68k/fpu/mpatan.c: New file.
2169         * sysdeps/m68k/fpu/mpatan2.c: New file.
2170         * sysdeps/m68k/fpu/mpexp.c: New file.
2171         * sysdeps/m68k/fpu/mplog.c: New file.
2172         * sysdeps/m68k/fpu/mpsqrt.c: New file.
2173         * sysdeps/m68k/fpu/mptan.c: New file.
2174         * sysdeps/m68k/fpu/sincos32.c: New file.
2175         * sysdeps/m68k/fpu/slowexp.c: New file.
2176         * sysdeps/m68k/fpu/slowpow.c: New file.
2178         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
2179         codepages.
2181 2001-03-11  Andreas Jaeger  <aj@suse.de>
2183         * elf/elf.h (EM_*): Synch with official list.
2185 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
2187         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
2189 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
2191         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
2192         variables addr & len.
2194 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
2196         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
2197         punctuation in asm constraint.
2199 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
2201         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
2202         <time.h> to get definition of `struct timespec'.
2204 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
2206         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
2207         LD_WARN=1, not if LD_WARN is unset.
2209 2001-03-07  Andreas Schwab  <schwab@suse.de>
2211         * elf/ldconfig.h: Moved to ...
2212         * sysdeps/generic/ldconfig.h: ... here.
2213         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
2214         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
2215         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
2216         * elf/readlib.c (interpreters, known_libs): Use
2217         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
2218         instead of hard coding old names.
2220 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
2222         * catgets/Makefile (generated): Add test-gencat.h.
2223         (sample.SJIS.cat): Also generate header.
2224         * catgets/sample.SJIS: Add new set and message, both with symbolic
2225         names.
2226         * catgets/test-gencat.sh: Also compare generated header with what
2227         we expect.
2229 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
2231         * catgets/gencat.c (read_input_file): Preserve properly symbolic
2232         names.
2234 2001-03-06  Andreas Jaeger  <aj@suse.de>
2236         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
2237         needed.
2238         (elf_machine_pltrel_p): Likewise.
2239         * sysdeps/powerpc/dl-machine.h: Likewise.
2240         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
2242 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
2244         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
2245         dl-procinfo.h.
2247 2001-03-05  Philip Blundell  <philb@gnu.org>
2249         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
2250         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
2251         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
2252         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
2253         dl-procinfo.
2255 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
2257         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
2258         is not available.
2259         * dlfcn/tstcxaatexit.c (main): Likewise.
2261 2001-03-10  Andreas Jaeger  <aj@suse.de>
2263         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
2265 2001-03-09  Andreas Jaeger  <aj@suse.de>
2267         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
2268         both new and old EM_S390 values.
2269         (EM_S390_OLD): New constant.
2271         * elf/elf.h (EM_S390): Use official value.
2273 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
2275         * conform/data/sys/socket.h-data: Allow SO* symbols.
2277 2001-03-07  Andreas Schwab  <schwab@suse.de>
2279         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
2280         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
2282 2001-03-07  Andreas Jaeger  <aj@suse.de>
2284         * resolv/Makefile (routines): Only build gai_sigqueue when threads
2285         are available.
2287 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
2289         * elf/ldconfig.c (_dl_sysdep_message): Remove.
2290         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
2291         ldsodefs.h.
2292         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2294         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
2295         _dl_error_printf instead of _dl_sysdep_error.
2296         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2297         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
2298         Use _dl_printf instead of _dl_sysdep_message.
2299         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
2300         Likewise.
2302 2001-03-06  Ben Collins  <bcollins@debian.org>
2304         * manual/arith.texi (Integers): Fix documentation of fast and
2305         least integer typedefs.
2307 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
2309         * resolv/Depend: New file.
2310         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
2311         when libpthread is built.
2313 2001-03-06  Andreas Jaeger  <aj@suse.de>
2315         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
2317         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
2318         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
2320 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
2322         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
2324 2001-03-05  Andreas Jaeger  <aj@suse.de>
2326         * stdlib/msort.c (qsort): Don't use alloca in a function call.
2328 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
2330         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
2331         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
2332         always return zero.
2333         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2334         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
2335         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2336         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
2337         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2338         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2339         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2341 2001-03-04  Andreas Jaeger  <aj@suse.de>
2343         * stdlib/longlong.h: Don't use multi-line strings.
2344         * iconvdata/tst-loading.c: Likewise.
2346         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
2347         string.
2349 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
2351         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
2353         * rt/lio_listio.c: Add a few asserts.
2355         * elf/global.c: New file.
2356         * elf/globalmod1.c: New file.
2357         * elf/Makefile: Add rules to build and run global.
2359         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
2360         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
2361         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2362         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2363         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
2365         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
2366         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2368         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
2370         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
2371         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
2373         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
2375         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
2377 2001-03-04  Andreas Jaeger  <aj@suse.de>
2379         * resolv/tst-aton.c: Add testcase for IP with four periods.
2381         * resolv/inet_addr.c: Don't recognize an IP with four periods.
2382         Patch by Andre' Breiler <A.Breiler@gmx.net>.
2384 2001-02-27  Philip Blundell  <pb@futuretv.com>
2386         * elf/elf.h: Add new ARM definitions from latest (B-01)
2387         specification.  Correct naming of EF_ARM_ALIGN8 et al.
2389 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
2391         * stdio-common/tst-printf.sh: Remove bashisms.
2392         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
2394 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
2396         * Versions.def: Add libanl definition.
2397         * shlib-versions: Add entry for libanl.
2398         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
2399         (routines): Add gai_sigqueue.
2400         (extra-libs): Add libanl.
2401         (libanl-routines): New variable.
2402         Add rules to build libanl and ga_test.
2403         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
2404         [libanl]: New library.
2405         * resolv/netdb.h: Add definitions for libanl.
2406         * resolv/getaddrinfo_a.c: New file.
2407         * resolv/gai_cancel.c: New file.
2408         * resolv/gai_error.c: New file.
2409         * resolv/gai_misc.c: New file.
2410         * resolv/gai_misc.h: New file.
2411         * resolv/gai_notify.c: New file.
2412         * resolv/gai_suspend.c: New file.
2413         * resolv/ga_test.c: New file.
2414         * sysdeps/generic/gai_sigqueue.c: New file.
2415         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
2416         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
2417         and provide only that definition.
2418         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
2419         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
2420         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
2421         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2422         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2423         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
2425         * rt/aio_misc.c: Fix typos in comments.
2426         * rt/lio_listio.c: Pretty printing.  Little optimization in request
2427         list handling.
2429         * elf/rtld.c: Remove commented out code.
2431         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
2432         Update for real 2.4 kernels.
2434 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
2436         * elf/dl-load.c: Pretty printing.
2438         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
2439         twice.
2441 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
2443         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
2444         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
2446         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
2448         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
2449         machines.
2451         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
2453 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
2455         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
2456         _dl_debug_mask.
2458         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
2459         _dl_debug_printf.
2460         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
2461         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
2462         _dl_debug_printf_c, and _dl_printf.
2463         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
2464         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
2465         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
2466         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
2467         * elf/dl-close.c: Replace use of old output functions with the new
2468         ones.
2469         * elf/dl-deps.c: Likewise.
2470         * elf/dl-error.c: Likewise.
2471         * elf/dl-fini.c: Likewise.
2472         * elf/dl-init.c: Likewise.
2473         * elf/dl-load.c: Likewise.
2474         * elf/dl-lookup.c: Likewise.
2475         * elf/dl-minimal.c: Likewise.
2476         * elf/dl-open.c: Likewise.
2477         * elf/dl-profile.c: Likewise.
2478         * elf/dl-reloc.c: Likewise.
2479         * elf/dl-version.c: Likewise.
2480         * elf/do-lookup.h: Likewise.
2481         * elf/rtld.c: Likewise.
2482         * sysdeps/generic/dl-cache.c: Likewise.
2483         * sysdeps/generic/dl-sysdep.c: Likewise.
2484         * sysdeps/generic/libc-start.c: Likewise.
2485         * sysdeps/i386/dl-machine.h: Likewise.
2486         * sysdeps/arm/dl-machine.h: Likewise.
2487         * sysdeps/hppa/dl-machine.h: Likewise.
2488         * sysdeps/m68k/dl-machine.h: Likewise.
2489         * sysdeps/powerpc/dl-machine.h: Likewise.
2490         * sysdeps/s390/dl-machine.h: Likewise.
2491         * sysdeps/sh/dl-machine.h: Likewise.
2492         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2493         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
2494         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2496         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
2498         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
2499         supported by assembler.
2501         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
2502         declaractions.
2504         * elf/rtld.c: Little optimizations in handling _dl_lazy.
2506         * elf/cache.c (save_cache): Portability changes.
2507         * elf/dl-profile.c (_dl_start_profile): Likewise.
2509         * elf/sln.c: Cleanups.  Remove arbitrary limits.
2511         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
2512         * elf/dl-deps.c: Likewise.
2513         * elf/dl-fini.c: Likewise.
2514         * elf/dl-init.c: Likewise.
2515         * elf/dl-load.c: Likewise.
2516         * elf/dl-lookup.c: Likewise.
2517         * elf/dl-open.c: Likewise.
2518         * elf/dl-reloc.c: Likewise.
2519         * elf/dl-support.c: Likewise.
2520         * elf/dl-version.c: Likewise.
2521         * elf/do-lookup.h: Likewise.
2522         * elf/rtld.c: Likewise.
2523         * sysdeps/generic/dl-cache.c: Likewise.
2524         * sysdeps/generic/ldsodefs.h: Likewise.
2525         * sysdeps/generic/libc-start.c: Likewise.
2526         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
2527         Export _dl_debug_mask.
2528         * Versions.def: Define GLIBC_2.2.3 for ld.
2530 2001-02-26  Greg McGary  <greg@mcgary.org>
2532         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
2534 2001-02-26  Paul Eggert  <eggert@twinsun.com>
2536         Modify mkstemp.c and tempname.c so that they can be used by
2537         GNU applications on non-glibc platforms.
2539         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
2541         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
2542         Include <stddef.h>, <stdint.h>, <string.h> only if
2543         STDC_HEADERS || _LIBC.
2544         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
2545         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
2546         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
2547         (__set_errno): Define this macro if <errno.h> doesn't.
2548         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
2549         Define these macros if <stdio.h> doesn't.
2550         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
2551         Define these macros if <sys/stat.h> doesn't.
2552         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
2553         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
2554         lxstat64, __xstat64): Define if not _LIBC.
2555         (struct_stat64): New macro.
2556         (direxists, __gen_tempname): Use it, to avoid a
2557         portability problem with Solaris 8.
2558         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
2559         (__gen_tempname): Invoke gettimeofday only if
2560         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
2561         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
2562         octal values like 0600.
2564 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
2566         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
2567         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2569         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
2570         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2572         * posix/wordexp-test.c (testit): Remove warnings.
2574         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
2575         (tests): Add tstatexit and tstcxaatexit.
2576         (module-names): Add modatexit and modcxaatexit.
2577         Add rules to build and run tstatexit and tstcxaatexit.
2578         * dlfcn/modatexit.c: New file.
2579         * dlfcn/modcxaatexit.c: New file.
2580         * dlfcn/tstatexit.c: New file.
2581         * dlfcn/tstcxaatexit.c: New file.
2583         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
2584         .hidden is available.
2585         * io/stat.c: If .hidden is available use it to avoid exporting
2586         functions.
2587         * io/fstat.c: Likewise.
2588         * io/lstat.c: Likewise.
2589         * io/stat64.c: Likewise.
2590         * io/fstat64.c: Likewise.
2591         * io/lstat64.c: Likewise.
2592         * sysdeps/generic/mknod.c: Likewise.
2594         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
2595         * sysdeps/generic/bb_init_func.c: Likewise.
2596         * sysdeps/generic/libc-start.c: Likewise.
2598         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
2599         (atexit): Implement using __cxa_atexit.
2600         Use .hidden if availble to avoid exporting atexit.
2601         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
2602         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
2603         * stdlib/Makefile (routines): Add old_atexit.
2604         (static-only-routines): Add atexit.
2605         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
2606         * stdlib/old_atexit.c: New file.
2608         * intl/Makefile: Remove bogus endif.
2610 2001-02-26  Andreas Jaeger  <aj@suse.de>
2612         * iconvdata/Makefile (tests): Fix typo in last patch.
2614         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
2615         available.
2616         Reported by Achim Gottinger <achim@gentoo.org>.
2618 2001-02-25  Andreas Jaeger  <aj@suse.de>
2620         * intl/Makefile (plural.c): Reorder rules so that they work if
2621         BISON doesn't exist.
2623 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
2625         * intl/locale.alias: Don't use nb_NO but define aliases for it.
2627 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
2629         * sysdeps/i386/strtok.S: Continue to return NULL after the first
2630         time this happened.
2632 2001-02-23  Andreas Jaeger  <aj@suse.de>
2634         * string/tester.c (test_strtok_r): Add testcase.
2635         (test_strtok_r): Always initialize cp for proper checking.
2637         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
2638         returning NULL correctly.
2639         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
2640         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
2642 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
2644         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
2645         including <stddef.h>.
2646         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
2647         * include/libc-symbols.h (weak_alias): Don't use .weak if
2648         HAVE_ASM_GLOBAL_DOT_NAME is defined.
2649         Patches by Michael Keezer <mkeezer@redhat.com>.
2651         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
2652         Patch by Michael Keezer <mkeezer@redhat.com>.
2654         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
2655         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
2656         (sysdep_routines): Remove restf.S and savef.S.
2657         * sysdeps/unix/sysv/aix/restf.S. Removed.
2658         * sysdeps/unix/sysv/aix/savef.S. Removed.
2659         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
2660         alternative names used on some platforms.
2661         * sysdeps/powerpc/fprsave.S: Likewise.
2662         * sysdeps/powerpc/gprrest0.S: Likewise.
2663         * sysdeps/powerpc/gprrest1.S: Likewise.
2664         * sysdeps/powerpc/gprsave0.S: Likewise.
2665         * sysdeps/powerpc/gprsave1.S: Likewise.
2666         Patch by Michael Keezer <mkeezer@redhat.com>.
2668 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
2670         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
2672 2001-02-22  Andreas Jaeger  <aj@suse.de>
2674         * string/tst-strtok.c (main): Fix error messages.
2676 2001-02-22  Andreas Jaeger  <aj@suse.de>
2678         * math/Makefile: Remove omit-long-double-fcts.
2680 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
2682         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
2683         avoid problems on MIPS I.
2684         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
2686         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
2687         noreorder".
2689 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
2691         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
2693         * sysdeps/generic/ftime.c: Include <time.h>.
2695         * configure.in: Don't check for libgd if user passed --without-gd.
2696         Patch by Achim Gottinger <achim@gentoo.org>.
2698         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
2699         first time this happened.
2700         * string/Makefile (tests): Add tst-strtok.
2702 2001-02-21  Andreas Jaeger  <aj@suse.de>
2704         * string/tst-strtok.c: New testcase, reported by
2705         Andrew Church <achurch@achurch.org>.
2707 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
2709         * libio/iofwide.c: Remove fwide alias.
2711 2001-02-20  Andreas Jaeger  <aj@suse.de>
2713         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
2714         is available.
2715         Reported by Achim Gottinger <achim@gentoo.org>.
2717 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
2719         * iconv/tst-iconv1.c (main): Remove debugging code.
2721         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
2722         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2724         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
2725         parameters.
2726         * sysdeps/generic/e_scalbf.c: Likewise.
2727         * sysdeps/generic/e_scalbl.c: Likewise.
2729         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
2730         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
2731         in libc.
2732         (routines): Replace libm_error with libc_libm_error.
2733         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
2734         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
2736 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
2738         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
2739         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
2741 2001-02-17  H.J. Lu  <hjl@gnu.org>
2743         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
2744         scratch registers across the system call.
2746 2001-02-19  Andreas Jaeger  <aj@suse.de>
2748         * malloc/Makefile (tests): Run mtrace only when perl is available.
2749         Reported by Achim Gottinger <achim@gentoo.org>.
2751 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
2753         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
2754         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2756         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
2757         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
2758         * math/libm-test.inc (j1_test): Mark constants as long double.
2759         (jn_test): Likewise.
2760         (y1_test): Likewise.
2761         (yn_test): Likewise.
2763         * libio/iogetline.c: Move return until after last statement.
2765         * localedata/show-ucs-data.c: Don't show < > for better readability.
2767         * sysdeps/ia64/fpu/Dist: New file.
2768         * sysdeps/ia64/fpu/Makefile: New file.
2769         * sysdeps/ia64/fpu/Versions: New file.
2770         * sysdeps/ia64/fpu/e_acos.S: New file.
2771         * sysdeps/ia64/fpu/e_acosf.S: New file.
2772         * sysdeps/ia64/fpu/e_acosl.S: New file.
2773         * sysdeps/ia64/fpu/e_asin.S: New file.
2774         * sysdeps/ia64/fpu/e_asinf.S: New file.
2775         * sysdeps/ia64/fpu/e_asinl.S: New file.
2776         * sysdeps/ia64/fpu/e_atan2.S: New file.
2777         * sysdeps/ia64/fpu/e_atan2f.S: New file.
2778         * sysdeps/ia64/fpu/e_atan2l.c: New file.
2779         * sysdeps/ia64/fpu/e_cosh.S: New file.
2780         * sysdeps/ia64/fpu/e_coshf.S: New file.
2781         * sysdeps/ia64/fpu/e_coshl.S: New file.
2782         * sysdeps/ia64/fpu/e_exp.S: New file.
2783         * sysdeps/ia64/fpu/e_expf.S: New file.
2784         * sysdeps/ia64/fpu/e_expl.c: New file.
2785         * sysdeps/ia64/fpu/e_fmod.S: New file.
2786         * sysdeps/ia64/fpu/e_fmodf.S: New file.
2787         * sysdeps/ia64/fpu/e_fmodl.S: New file.
2788         * sysdeps/ia64/fpu/e_hypot.S: New file.
2789         * sysdeps/ia64/fpu/e_hypotf.S: New file.
2790         * sysdeps/ia64/fpu/e_hypotl.S: New file.
2791         * sysdeps/ia64/fpu/e_log.S: New file.
2792         * sysdeps/ia64/fpu/e_log10.c: New file.
2793         * sysdeps/ia64/fpu/e_log10f.c: New file.
2794         * sysdeps/ia64/fpu/e_log10l.c: New file.
2795         * sysdeps/ia64/fpu/e_logf.S: New file.
2796         * sysdeps/ia64/fpu/e_logl.c: New file.
2797         * sysdeps/ia64/fpu/e_pow.S: New file.
2798         * sysdeps/ia64/fpu/e_powf.S: New file.
2799         * sysdeps/ia64/fpu/e_powl.S: New file.
2800         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
2801         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
2802         * sysdeps/ia64/fpu/e_remainder.S: New file.
2803         * sysdeps/ia64/fpu/e_remainderf.S: New file.
2804         * sysdeps/ia64/fpu/e_remainderl.S: New file.
2805         * sysdeps/ia64/fpu/e_scalb.S: New file.
2806         * sysdeps/ia64/fpu/e_scalbf.S: New file.
2807         * sysdeps/ia64/fpu/e_scalbl.S: New file.
2808         * sysdeps/ia64/fpu/e_sinh.S: New file.
2809         * sysdeps/ia64/fpu/e_sinhf.S: New file.
2810         * sysdeps/ia64/fpu/e_sinhl.S: New file.
2811         * sysdeps/ia64/fpu/e_sqrt.S: New file.
2812         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
2813         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
2814         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
2815         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
2816         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
2817         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
2818         * sysdeps/ia64/fpu/libm_error.c: New file.
2819         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
2820         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
2821         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
2822         * sysdeps/ia64/fpu/libm_reduce.S: New file.
2823         * sysdeps/ia64/fpu/libm_support.h: New file.
2824         * sysdeps/ia64/fpu/libm_tan.S: New file.
2825         * sysdeps/ia64/fpu/s_atan.S: New file.
2826         * sysdeps/ia64/fpu/s_atanf.S: New file.
2827         * sysdeps/ia64/fpu/s_atanl.S: New file.
2828         * sysdeps/ia64/fpu/s_cbrt.S: New file.
2829         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
2830         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
2831         * sysdeps/ia64/fpu/s_ceil.S: New file.
2832         * sysdeps/ia64/fpu/s_ceilf.S: New file.
2833         * sysdeps/ia64/fpu/s_ceill.S: New file.
2834         * sysdeps/ia64/fpu/s_cos.S: New file.
2835         * sysdeps/ia64/fpu/s_cosf.S: New file.
2836         * sysdeps/ia64/fpu/s_cosl.S: New file.
2837         * sysdeps/ia64/fpu/s_expm1.S: New file.
2838         * sysdeps/ia64/fpu/s_expm1f.S: New file.
2839         * sysdeps/ia64/fpu/s_expm1l.S: New file.
2840         * sysdeps/ia64/fpu/s_floor.S: New file.
2841         * sysdeps/ia64/fpu/s_floorf.S: New file.
2842         * sysdeps/ia64/fpu/s_floorl.S: New file.
2843         * sysdeps/ia64/fpu/s_frexp.c: New file.
2844         * sysdeps/ia64/fpu/s_frexpf.c: New file.
2845         * sysdeps/ia64/fpu/s_frexpl.c: New file.
2846         * sysdeps/ia64/fpu/s_ilogb.S: New file.
2847         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
2848         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
2849         * sysdeps/ia64/fpu/s_ldexp.S: New file.
2850         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
2851         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
2852         * sysdeps/ia64/fpu/s_log1p.S: New file.
2853         * sysdeps/ia64/fpu/s_log1pf.S: New file.
2854         * sysdeps/ia64/fpu/s_log1pl.S: New file.
2855         * sysdeps/ia64/fpu/s_logb.S: New file.
2856         * sysdeps/ia64/fpu/s_logbf.S: New file.
2857         * sysdeps/ia64/fpu/s_logbl.S: New file.
2858         * sysdeps/ia64/fpu/s_matherrf.c: New file.
2859         * sysdeps/ia64/fpu/s_matherrl.c: New file.
2860         * sysdeps/ia64/fpu/s_modf.S: New file.
2861         * sysdeps/ia64/fpu/s_modff.S: New file.
2862         * sysdeps/ia64/fpu/s_modfl.S: New file.
2863         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
2864         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
2865         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
2866         * sysdeps/ia64/fpu/s_rint.S: New file.
2867         * sysdeps/ia64/fpu/s_rintf.S: New file.
2868         * sysdeps/ia64/fpu/s_rintl.S: New file.
2869         * sysdeps/ia64/fpu/s_round.S: New file.
2870         * sysdeps/ia64/fpu/s_roundf.S: New file.
2871         * sysdeps/ia64/fpu/s_roundl.S: New file.
2872         * sysdeps/ia64/fpu/s_scalbn.S: New file.
2873         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
2874         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
2875         * sysdeps/ia64/fpu/s_significand.S: New file.
2876         * sysdeps/ia64/fpu/s_significandf.S: New file.
2877         * sysdeps/ia64/fpu/s_significandl.S: New file.
2878         * sysdeps/ia64/fpu/s_sin.c: New file.
2879         * sysdeps/ia64/fpu/s_sincos.c: New file.
2880         * sysdeps/ia64/fpu/s_sincosf.c: New file.
2881         * sysdeps/ia64/fpu/s_sincosl.c: New file.
2882         * sysdeps/ia64/fpu/s_sinf.c: New file.
2883         * sysdeps/ia64/fpu/s_sinl.c: New file.
2884         * sysdeps/ia64/fpu/s_tan.S: New file.
2885         * sysdeps/ia64/fpu/s_tanf.S: New file.
2886         * sysdeps/ia64/fpu/s_tanl.S: New file.
2887         * sysdeps/ia64/fpu/s_trunc.S: New file.
2888         * sysdeps/ia64/fpu/s_truncf.S: New file.
2889         * sysdeps/ia64/fpu/s_truncl.S: New file.
2890         * sysdeps/ia64/fpu/w_acos.c: New file.
2891         * sysdeps/ia64/fpu/w_acosf.c: New file.
2892         * sysdeps/ia64/fpu/w_acosl.c: New file.
2893         * sysdeps/ia64/fpu/w_asin.c: New file.
2894         * sysdeps/ia64/fpu/w_asinf.c: New file.
2895         * sysdeps/ia64/fpu/w_asinl.c: New file.
2896         * sysdeps/ia64/fpu/w_atan2.c: New file.
2897         * sysdeps/ia64/fpu/w_atan2f.c: New file.
2898         * sysdeps/ia64/fpu/w_atan2l.c: New file.
2899         * sysdeps/ia64/fpu/w_cosh.c: New file.
2900         * sysdeps/ia64/fpu/w_coshf.c: New file.
2901         * sysdeps/ia64/fpu/w_coshl.c: New file.
2902         * sysdeps/ia64/fpu/w_exp.c: New file.
2903         * sysdeps/ia64/fpu/w_expf.c: New file.
2904         * sysdeps/ia64/fpu/w_fmod.c: New file.
2905         * sysdeps/ia64/fpu/w_fmodf.c: New file.
2906         * sysdeps/ia64/fpu/w_fmodl.c: New file.
2907         * sysdeps/ia64/fpu/w_hypot.c: New file.
2908         * sysdeps/ia64/fpu/w_hypotf.c: New file.
2909         * sysdeps/ia64/fpu/w_hypotl.c: New file.
2910         * sysdeps/ia64/fpu/w_log.c: New file.
2911         * sysdeps/ia64/fpu/w_log10.c: New file.
2912         * sysdeps/ia64/fpu/w_log10f.c: New file.
2913         * sysdeps/ia64/fpu/w_log10l.c: New file.
2914         * sysdeps/ia64/fpu/w_logf.c: New file.
2915         * sysdeps/ia64/fpu/w_logl.c: New file.
2916         * sysdeps/ia64/fpu/w_pow.c: New file.
2917         * sysdeps/ia64/fpu/w_powf.c: New file.
2918         * sysdeps/ia64/fpu/w_powl.c: New file.
2919         * sysdeps/ia64/fpu/w_remainder.c: New file.
2920         * sysdeps/ia64/fpu/w_remainderf.c: New file.
2921         * sysdeps/ia64/fpu/w_remainderl.c: New file.
2922         * sysdeps/ia64/fpu/w_scalb.c: New file.
2923         * sysdeps/ia64/fpu/w_scalbf.c: New file.
2924         * sysdeps/ia64/fpu/w_scalbl.c: New file.
2925         * sysdeps/ia64/fpu/w_sqrt.c: New file.
2926         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
2927         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
2928         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
2929         implementation.
2930         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
2931         Change FP_ILOGBNAN for new implementation.
2932         * Verions.def: Add 2.2.3 versions.
2934 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
2936         * math/libm-test.inc (scalb_test): Require invalid exception being
2937         raised for invalid parameters.
2938         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
2939         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2940         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2942 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
2944         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
2945         value to long int.
2946         (__get_avphys_pages): Likewise.
2948 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
2950         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
2951         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
2952         * sysdeps/i386/fpu/e_powf.S: Likewise.
2953         * sysdeps/i386/fpu/e_powl.S: Likewise.
2955         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
2957 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
2959         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
2961         * sysdeps/generic/s_exp2l.c: Renamed to...
2962         * sysdeps/generic/e_exp2l.c: ...this.   New file.
2963         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
2964         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
2965         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
2966         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
2967         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
2968         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
2969         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
2970         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
2971         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
2972         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
2973         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
2974         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
2975         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
2976         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
2977         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
2978         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
2980 2001-02-17  Andreas Jaeger  <aj@suse.de>
2982         * configure.in: Allow gcc 3.
2984 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
2986         * math/w_acos.c: Move to ...
2987         * sysdeps/generic/w_acos.c: ...here.  New file.
2988         * math/w_acosf.c: Move to ...
2989         * sysdeps/generic/w_acosf.c: ...here.  New file.
2990         * math/w_acosh.c: Move to ...
2991         * sysdeps/generic/w_acosh.c: ...here.  New file.
2992         * math/w_acoshf.c: Move to ...
2993         * sysdeps/generic/w_acoshf.c: ...here.  New file.
2994         * math/w_acoshl.c: Move to ...
2995         * sysdeps/generic/w_acoshl.c: ...here.  New file.
2996         * math/w_acosl.c: Move to ...
2997         * sysdeps/generic/w_acosl.c: ...here.  New file.
2998         * math/w_asin.c: Move to ...
2999         * sysdeps/generic/w_asin.c: ...here.  New file.
3000         * math/w_asinf.c: Move to ...
3001         * sysdeps/generic/w_asinf.c: ...here.  New file.
3002         * math/w_asinl.c: Move to ...
3003         * sysdeps/generic/w_asinl.c: ...here.  New file.
3004         * math/w_atan2.c: Move to ...
3005         * sysdeps/generic/w_atan2.c: ...here.  New file.
3006         * math/w_atan2f.c: Move to ...
3007         * sysdeps/generic/w_atan2f.c: ...here.  New file.
3008         * math/w_atan2l.c: Move to ...
3009         * sysdeps/generic/w_atan2l.c: ...here.  New file.
3010         * math/w_atanh.c: Move to ...
3011         * sysdeps/generic/w_atanh.c: ...here.  New file.
3012         * math/w_atanhf.c: Move to ...
3013         * sysdeps/generic/w_atanhf.c: ...here.  New file.
3014         * math/w_atanhl.c: Move to ...
3015         * sysdeps/generic/w_atanhl.c: ...here.  New file.
3016         * math/w_cosh.c: Move to ...
3017         * sysdeps/generic/w_cosh.c: ...here.  New file.
3018         * math/w_coshf.c: Move to ...
3019         * sysdeps/generic/w_coshf.c: ...here.  New file.
3020         * math/w_coshl.c: Move to ...
3021         * sysdeps/generic/w_coshl.c: ...here.  New file.
3022         * math/w_drem.c: Move to ...
3023         * sysdeps/generic/w_drem.c: ...here.  New file.
3024         * math/w_dremf.c: Move to ...
3025         * sysdeps/generic/w_dremf.c: ...here.  New file.
3026         * math/w_dreml.c: Move to ...
3027         * sysdeps/generic/w_dreml.c: ...here.  New file.
3028         * math/w_exp10.c: Move to ...
3029         * sysdeps/generic/w_exp10.c: ...here.  New file.
3030         * math/w_exp10f.c: Move to ...
3031         * sysdeps/generic/w_exp10f.c: ...here.  New file.
3032         * math/w_exp10l.c: Move to ...
3033         * sysdeps/generic/w_exp10l.c: ...here.  New file.
3034         * math/w_exp2.c: Move to ...
3035         * sysdeps/generic/w_exp2.c: ...here.  New file.
3036         * math/w_exp2f.c: Move to ...
3037         * sysdeps/generic/w_exp2f.c: ...here.  New file.
3038         * math/w_exp2l.c: Move to ...
3039         * sysdeps/generic/w_exp2l.c: ...here.  New file.
3040         * math/w_fmod.c: Move to ...
3041         * sysdeps/generic/w_fmod.c: ...here.  New file.
3042         * math/w_fmodf.c: Move to ...
3043         * sysdeps/generic/w_fmodf.c: ...here.  New file.
3044         * math/w_fmodl.c: Move to ...
3045         * sysdeps/generic/w_fmodl.c: ...here.  New file.
3046         * math/w_hypot.c: Move to ...
3047         * sysdeps/generic/w_hypot.c: ...here.  New file.
3048         * math/w_hypotf.c: Move to ...
3049         * sysdeps/generic/w_hypotf.c: ...here.  New file.
3050         * math/w_hypotl.c: Move to ...
3051         * sysdeps/generic/w_hypotl.c: ...here.  New file.
3052         * math/w_j0.c: Move to ...
3053         * sysdeps/generic/w_j0.c: ...here.  New file.
3054         * math/w_j0f.c: Move to ...
3055         * sysdeps/generic/w_j0f.c: ...here.  New file.
3056         * math/w_j0l.c: Move to ...
3057         * sysdeps/generic/w_j0l.c: ...here.  New file.
3058         * math/w_j1.c: Move to ...
3059         * sysdeps/generic/w_j1.c: ...here.  New file.
3060         * math/w_j1f.c: Move to ...
3061         * sysdeps/generic/w_j1f.c: ...here.  New file.
3062         * math/w_j1l.c: Move to ...
3063         * sysdeps/generic/w_j1l.c: ...here.  New file.
3064         * math/w_jn.c: Move to ...
3065         * sysdeps/generic/w_jn.c: ...here.  New file.
3066         * math/w_jnf.c: Move to ...
3067         * sysdeps/generic/w_jnf.c: ...here.  New file.
3068         * math/w_jnl.c: Move to ...
3069         * sysdeps/generic/w_jnl.c: ...here.  New file.
3070         * math/w_lgamma.c: Move to ...
3071         * sysdeps/generic/w_lgamma.c: ...here.  New file.
3072         * math/w_lgammaf.c: Move to ...
3073         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
3074         * math/w_lgammaf_r.c: Move to ...
3075         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
3076         * math/w_lgammal.c: Move to ...
3077         * sysdeps/generic/w_lgammal.c: ...here.  New file.
3078         * math/w_lgammal_r.c: Move to ...
3079         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
3080         * math/w_lgamma_r.c: Move to ...
3081         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
3082         * math/w_log10.c: Move to ...
3083         * sysdeps/generic/w_log10.c: ...here.  New file.
3084         * math/w_log10f.c: Move to ...
3085         * sysdeps/generic/w_log10f.c: ...here.  New file.
3086         * math/w_log10l.c: Move to ...
3087         * sysdeps/generic/w_log10l.c: ...here.  New file.
3088         * math/w_log.c: Move to ...
3089         * sysdeps/generic/w_log.c: ...here.  New file.
3090         * math/w_logf.c: Move to ...
3091         * sysdeps/generic/w_logf.c: ...here.  New file.
3092         * math/w_logl.c: Move to ...
3093         * sysdeps/generic/w_logl.c: ...here.  New file.
3094         * math/w_pow.c: Move to ...
3095         * sysdeps/generic/w_pow.c: ...here.  New file.
3096         * math/w_powf.c: Move to ...
3097         * sysdeps/generic/w_powf.c: ...here.  New file.
3098         * math/w_powl.c: Move to ...
3099         * sysdeps/generic/w_powl.c: ...here.  New file.
3100         * math/w_remainder.c: Move to ...
3101         * sysdeps/generic/w_remainder.c: ...here.  New file.
3102         * math/w_remainderf.c: Move to ...
3103         * sysdeps/generic/w_remainderf.c: ...here.  New file.
3104         * math/w_remainderl.c: Move to ...
3105         * sysdeps/generic/w_remainderl.c: ...here.  New file.
3106         * math/w_scalb.c: Move to ...
3107         * sysdeps/generic/w_scalb.c: ...here.  New file.
3108         * math/w_scalbf.c: Move to ...
3109         * sysdeps/generic/w_scalbf.c: ...here.  New file.
3110         * math/w_scalbl.c: Move to ...
3111         * sysdeps/generic/w_scalbl.c: ...here.  New file.
3112         * math/w_sinh.c: Move to ...
3113         * sysdeps/generic/w_sinh.c: ...here.  New file.
3114         * math/w_sinhf.c: Move to ...
3115         * sysdeps/generic/w_sinhf.c: ...here.  New file.
3116         * math/w_sinhl.c: Move to ...
3117         * sysdeps/generic/w_sinhl.c: ...here.  New file.
3118         * math/w_sqrtl.c: Move to ...
3119         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
3120         * math/w_tgamma.c: Move to ...
3121         * sysdeps/generic/w_tgamma.c: ...here.  New file.
3122         * math/w_tgammaf.c: Move to ...
3123         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
3124         * math/w_tgammal.c: Move to ...
3125         * sysdeps/generic/w_tgammal.c: ...here.  New file.
3127         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
3128         formats for postal_fmt.
3130 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
3132         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
3133         __ftruncate64 alias.
3134         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
3135         Likewise.
3137 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
3139         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
3140         do "loadrs".  Writing to bspstore already takes care of
3141         invalidating the "clean" partition.
3143 2001-02-16  Andreas Schwab  <schwab@suse.de>
3145         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
3146         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
3148 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
3150         * posix/regex.c (init_syntax_once): Add prototype.
3151         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
3152         (re_search_2): Avoid warning.
3153         (count_mbs_length): Add prototype.
3154         * posix/tst-regex3.c: New file.
3155         * posix/Makefile (tests): Add bug-regex3.
3157 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
3159         * stdio-common/Makefile (tests): Add tst-gets.
3160         * stdio-common/tst-gets.c: New file.
3161         * stdio-common/tst-gets.input: New file.
3163         * elf/elf.h (DT_CHECKSUM): Define.
3165         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
3166         default symbol.
3167         * sysdeps/generic/strtoull.c: Likewise.
3169 2001-02-14  Wolfram Gloger  <wg@malloc.de>
3171         * malloc/malloc.c (new_heap): When allocating large chunk aligned
3172         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
3173         between the heaps.
3175 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
3177         * math/libm-test.inc (j0_test): Check whether sincos is available.
3178         (j1_test): Likewise.
3179         (jn_test): Likewise.
3180         (y0_test): Likewise.
3181         (y1_test): Likewise.
3182         (yn_test): Likewise.
3184         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
3185         fake filesystem routines to handle this.
3187         * time/sys/time.h: Make settimeofday and adjtime available if
3188         _BSD_SOURCE.
3190         * time/sys/time.h: Make timer* macros available for BSD.
3192         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
3193         Patch by Yong Li <rigel863@yahoo.com>.
3195         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
3196         name.
3198         * posix/Makefile (tests): Add tst-gnuglob.
3199         * posix/tst-gnuglob.c: New file.
3201 2001-02-13  H.J. Lu  <hjl@gnu.org>
3203         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
3205 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
3207         * locale/programs/ld-paper.c (paper_output): Pretty printing.
3209         * iconvdata/Makefile (modules): Add GBBIG5.
3210         (distribute): Add gbbig5.c.
3211         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
3213         * iconvdata/gbbig5.c: New file.
3214         Contributed by Yong Li <rigel863@yahoo.com>.
3216 2001-02-13  Philip Blundell  <pb@futuretv.com>
3218         * manual/crypt.texi: Remove outdated references to crypt add-on.
3220         * manual/creature.texi: Improve wording slightly.
3222 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
3224         * io/ftw.c: Always use readdir64.
3225         * io/ftw64.c: Likewise.
3226         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3227         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3228         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
3229         callback to dirent.  Still allow compiling outside glibc.
3230         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
3231         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3233         * malloc/mtrace.c: Use fopen64.
3234         * posix/spawni.c: Use __open64.
3235         * sysdeps/unix/opendir.c: Likewise.
3236         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
3238         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
3239         name a weak alias.
3240         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
3241         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
3242         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
3243         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
3245         * resolv/res_data.c: Add cast to avoid warning.
3247         * include/unistd.h: Declare __ftruncate64.
3249         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
3251         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
3252         instead of __lseek.
3254 2001-02-13  Andreas Jaeger  <aj@suse.de>
3256         * login/getutent_r.c: Include <stdlib.h> for NULL.
3257         * login/getutid_r.c: Likewise.
3259 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
3261         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
3262         * sysdeps/dbl-64/e_j1.c: Likewise.
3263         * sysdeps/dbl-64/e_jn.c: Likewise.
3264         * sysdeps/flt-32/e_j0f.c: Likewise.
3265         * sysdeps/flt-32/e_j1f.c: Likewise.
3266         * sysdeps/ldbl-96/e_j0l.c: Likewise.
3268 2000-12-02  H.J. Lu  <hjl@gnu.org>
3270         * resolv/res_libc.c (res_init): Don't make it default.
3272 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
3274         * manual/debug.texi: Improved the wording.
3275         Patch by Philip Blundell <pb@futuretv.com>.
3277 2001-02-12  Andreas Jaeger  <aj@suse.de>
3279         * posix/Makefile (tests): Don't run bug-regex2 when
3280         cross-compiling.
3282         * libio/Makefile (tests): Don't run test-freopen when
3283         cross-compiling.
3285         * manual/stdio.texi (Streams and I18N): Fix typos.
3287 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
3289         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
3291         * math/libm-test.inc (j0_test): Make expected results long double
3292         constants.
3293         (y0_test): Likewise.
3295         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
3296         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3298 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
3300         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
3301         which was exported from libc.
3302         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
3304 2001-02-12  Andreas Jaeger  <aj@suse.de>
3306         * manual/arith.texi (Parsing of Integers): Fix some wordings.
3308 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
3310         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
3311         and get_avphys_page to long int.
3312         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
3313         * include/sys/sysinfo.h: Likewise.
3314         * sysdeps/generic/sys/sysinfo.h: Likewise.
3315         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
3317         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
3318         cannot return as many values as the user asked for.
3320 2001-02-11  Andreas Jaeger  <aj@suse.de>
3322         * manual/resource.texi (Memory Resources): Fix typo.
3324         * libio/Makefile ($(objpfx)test-freopen.out): Pass
3325         run-program-prefix.
3327         * libio/test-freopen.sh: Use run_program_prefix.
3329 2001-02-10  Andreas Jaeger  <aj@suse.de>
3331         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
3332         cross-compiling.
3333         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
3335         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
3336         only builds.
3338         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
3340         * posix/Makefile: Fix typo, it's build-static-nss.
3342         * iconv/Makefile (extra-objs): New.
3344 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
3346         * sysdeps/unix/stime.c: Include <time.h>.
3348         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
3350 2001-02-10  Andreas Jaeger  <aj@suse.de>
3352         * manual/string.texi (Search Functions): Fix typo.
3354 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
3356         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
3357         (timeval_to_clock_t): Add clk_tck argument and use that instead of
3358         CLK_TCK.
3359         (__times): Use __getclktck to get the number of clock ticks per
3360         second and use its return value instead of CLK_TCK.
3362 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
3364         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
3366 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
3368         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
3370 2001-02-10  Andreas Jaeger  <aj@suse.de>
3372         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
3373         warning.
3375 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
3377         * posix/Makefile: Add rules to build and run bug-regex2.
3378         * posix/bug-regex2.c: New file.
3380 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
3382         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
3383         (regex_compile): Likewise.
3384         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
3385         (re_match_2_internal): Use just is_binary instead of two variables.
3386         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
3388 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
3390         * version.h (VERSION): Bump to 2.2.2.
3392         * iconv/Makefile (distribute): Add iconv_charmap.c and
3393         dummy-repertoire.c.
3394         * elf/Makefile (distribute): Add firstobj.c.
3395         * Makefile (distribute): Add include/pthread.h.
3397         * configure.in: Require makeinfo version 4.
3399         * libio/tst_wscanf.c (main): Add cast to avoid warning.
3400         * libio/tst_swscanf.c (main): Likewise..
3402 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
3404         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
3405         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
3406         __NO_MATH_INLINES.
3407         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
3408         if not RTLD_BOOTSTRAP.
3409         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3410         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3412 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
3414         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
3415         lr_ungetc to push back last read character.
3416         * locale/programs/linereader.h (lr_ungetc): Don't push back is
3417         character is EOF.
3418         (lr_ignore_rest): Don't warn about garbage if it is really the end
3419         of the file.
3421         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
3422         definition.
3424 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
3426         * Makerules (build-shlib): Work around different order of
3427         processing of -B option in different gcc versions.
3429         * posix/regex.c: Fix alignment problem.
3430         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
3432         * sysdeps/alpha/strrchr.S: Little optimization.
3433         Patch by Richard Henderson <rth@redhat.com>.
3435         * sysdeps/alpha/alphaev67/strrchr.S: New file.
3436         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
3438 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
3440         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
3441         in the assembler end directive.
3443 2001-02-08  Andreas Jaeger  <aj@suse.de>
3445         * manual/stdio.texi (Closing Streams): Fix typos.
3447 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
3449         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
3450         Patch by Richard Henderson <rth@redhat.com>.
3451         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
3453         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
3454         pointer in FILE structure before calling _IO_init.
3455         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
3456         strfmon_l if necessary.
3457         Reported by Jury Gerold <gjury@grips.com>.
3459         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
3460         Patch by Pekka.Pietikainen@cern.ch.
3462         * posix/regex.c: Correct several problems with 64-bit architectures
3463         introduced in the MBS changes.
3464         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
3466 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
3468         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
3469         not defined.
3470         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
3472 2001-02-07  Andreas Jaeger  <aj@suse.de>
3474         * manual/install.texi (Tools for Compilation): Fix typo.
3475         Reported by Pavel Machek <pavel@bug.ucw.cz>.
3477 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
3479         * stdlib/strtod.c: Never stop prematurely reading digits before the
3480         decimal point is found.  Compute exponent limit for negative exponents
3481         correctly.  For numbers ending in all zeros eat the zeros even before
3482         the decimal point if the exponent is negative [PR libc/2072].
3483         * stdlib/Makefile (tests): Add bug-strtod.
3484         * stdlib/bug-strtod.c: New file.
3486 2001-02-07  Andreas Jaeger  <aj@suse.de>
3488         * posix/bug-regex1.c: Include <wchar.h> for fwide.
3490 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
3492         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
3493         Store index.
3494         (compile_range): Handle index being passed, not pointer.
3495         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
3497         * posix/regex.c: Fix a cast in the code for bracket handling which
3498         caused 8-bit uncleanliness.
3499         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
3501         * posix/Makefile (tests): Add bug-regex1.
3502         * posix/bug-regex1.c: New file.
3503         Contributed by Jim Meyering <jim@meyering.net>.
3505         * posix/regex.c: Many cleanups for incorrect format strings.
3507 2001-02-06  Andreas Jaeger  <aj@suse.de>
3509         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
3511 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
3513         * locale/programs/locale.c (write_locales): Use scandir to read
3514         directory so that the entries are sorted.
3516 2001-02-06  Andreas Jaeger  <aj@suse.de>
3518         * include/pthread.h: New file.
3520         * wctype/wctype.h: Move internal interfaces from here to...
3521         * include/wctype.h: ...here.
3523         * wcsmbs/wchar.h: Move __wcslen from here to...
3524         * include/wchar.h: ...here.
3526         * posix/sys/wait.h: Move __wait from here to...
3527         * include/sys/wait.h: ...here.
3529         * string/string.h: Move __ffs and __strerror_r from here to...
3530         * include/string.h: ...here.
3532         * stdlib/stdlib.h: Move __on_exit from here to...
3533         * include/stdlib.h: ...here.
3535         * libio/stdio.h: Move __vsnprintf from here to...
3536         * include/stdio.h: ...here.
3538 2001-02-06  Andreas Schwab  <schwab@suse.de>
3540         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
3541         headers.
3543         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
3544         of $(inst_datadir).
3546 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
3548         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
3550 2001-02-06  Andreas Jaeger  <aj@suse.de>
3552         * elf/firstobj.c: Add prototype.
3554         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
3555         (truncate_wchar): Likewise.
3557 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
3559         * locale/programs/locale.c: Implement --verbose option for -a
3560         which prints detailed information about the locales.
3562 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
3564         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
3565         variable to uint32_t.
3566         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
3568 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
3570         * locale/C-translit.h.in: Add transliterations for CJK units of
3571         measurement.
3573 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
3575         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
3576         string.  Include <inttypes.h> instead of <stdint.h>.
3578         * localedata/Makefile (tests): Add bug-iconv-trans.
3579         Define bug-iconv-trans-ENV.
3580         * localedata/bug-iconv-trans.c: New file.
3582 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
3584         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
3585         pointer, to avoid accumulating output from incomplete (unsuccessful)
3586         transliteration attempts.
3588 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
3590         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
3591         string.  Include <inttypes.h> instead of <stdint.h>.
3593         * configure.in: Add check for bison.
3594         * config.make.in: Define BISON variable.
3595         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
3596         Rename YFLAGS to BISONFLAGS.
3598 2001-02-05  Andreas Jaeger  <aj@suse.de>
3600         * io/test-lfs.c (do_test): Test lseek64 return value, call
3601         test_ftello.
3602         (test_ftello): New function to test ftello64 and fseeko64.
3604         * signal/signal.h: Move __sigaction from here to...
3605         * include/signal.h: ...here.
3607         * io/fcntl.h: Move __fcntl and __open to...
3608         * include/fcntl.h: ...here.
3610 2001-02-04  Philip Blundell  <philb@gnu.org>
3612         * configure.in: Distinguish ARM from Thumb.
3614 2001-02-04  Philip Blundell  <philb@gnu.org>
3616         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
3617         PC24 relocs with negative value.
3619 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
3621         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
3622         files in locale/programs.  Add CFLAGS definition to allow compiling
3623         localedef files.
3624         * iconv/dummy-repertoire.c: New file.
3625         * iconv/iconv_charmap.c: New file.
3626         * iconv/iconv_prog.h: New file.
3627         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
3628         (main): If parameter for -f and -t contain slashes try first to resolve
3629         the strings as filenames of charmap files.  Use them for conversion
3630         in this case.
3631         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
3632         iconv getting charmap names as parameters.
3633         * locale/programs/linereader.c (lr_token): Take extra parameters
3634         verbose and pass it to get_string.
3635         (get_string): Take extra parameters verbose.
3636         * locale/programs/charmap.c (parse_charmap): Take extra parameters
3637         verbose and be_quiet.  Change all callers of lr_token and
3638         parse_charmap.
3639         * locale/programs/charmap.h: Likewise.
3640         * locale/programs/ld-address.c: Likewise.
3641         * locale/programs/ld-collate.c: Likewise.
3642         * locale/programs/ld-ctype.c: Likewise.
3643         * locale/programs/ld-identification.c: Likewise.
3644         * locale/programs/ld-measurement.c: Likewise.
3645         * locale/programs/ld-messages.c: Likewise.
3646         * locale/programs/ld-monetary.c: Likewise.
3647         * locale/programs/ld-name.c: Likewise.
3648         * locale/programs/ld-numeric.c: Likewise.
3649         * locale/programs/ld-paper.c: Likewise.
3650         * locale/programs/ld-telephone.c: Likewise.
3651         * locale/programs/ld-time.c: Likewise.
3652         * locale/programs/linereader.c: Likewise.
3653         * locale/programs/linereader.h: Likewise.
3654         * locale/programs/localedef.c: Likewise.
3655         * locale/programs/locfile.c: Likewise.
3656         * locale/programs/locfile.h: Likewise.
3657         * locale/programs/repertoire.c: Likewise.
3659 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
3661         * iconv/iconv_prog.c (main): If output file name is "-" write to
3662         stdout.
3663         (main): If -f or -t argument is missing use charset of the current
3664         locale.
3666 2001-02-03  Andreas Jaeger  <aj@suse.de>
3668         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
3669         boundary for SSE/SSE-2 alignment.
3671         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
3672         annexc.
3674 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
3676         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
3677         Remove comma at end of enum.
3679         * elf/dl-init.c: Add a few __builtin_expect.
3681         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
3683 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
3685         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
3686         errno is ECONNREFUSED.
3688         * posix/Makefile: Define MBS_SUPPORT for regex.c.
3689         * posix/regex.c: Implement multibyte character handling.
3690         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
3692         * string/tst-svc.input: Add two more test cases.
3693         * string/tst-svc.expect: Modify to reflect new test cases.
3695 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
3697         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
3698         tp->name tests with tp->name[0] tests.
3700 2001-01-29  Ben Collins  <bcollins@debian.org>
3702         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
3703         Fix check for name == NULL.
3705 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
3707         * elf/Makefile: Add rules to build and run initfirst test.
3708         * elf/initfirst.c: New file.
3709         * elf/firstobj.c: New file.
3711         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
3712         * configure.in: Test for -z initfirst linker option.
3713         * config.make.in: Add have-z-initfirst.
3714         * elf/dl-init.c (_dl_init): Split out actual initialization code in
3715         new function call_init.  If _dl_initfirst is non-NULL initialize first.
3716         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
3717         remember object in _dl_initfirst.
3718         * elf/soinit.c: Remove special support for calling
3719         __pthread_initialize_minimal.
3721         * conform/conformtest.pl: Add missing $prepend in type test.
3723 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
3725         * elf/elf.h (SHT_CHECKSUM): New definition.
3727         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
3728         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
3729         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
3731 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
3733         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
3734         to get definition of `struct timeval'.
3736 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
3738         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
3739         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
3741 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
3743         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
3744         seen, not flags.
3746         * nis/nis_findserv.c: Include <time.h>.
3748 2001-01-30  Yong Li  <yong.li@asu.edu>
3750         * iconv/iconv_prog.c (main): Correct error handling method name.
3752 2001-01-29  Ben Collins  <bcollins@debian.org>
3754         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
3755         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
3756         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
3757         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
3759 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
3761         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
3762         Patch by Marko Myllynen <myllynen@lut.fi>.
3764         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
3765         (int instead of char).
3766         (__strpbrk_c3): Likewise.
3767         Reported by GOTO Masanori <gotom@debian.or.jp>.
3769         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
3770         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
3771         * include/sys/socket.h: Add SA_LEN here for internal use.
3772         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
3774 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
3776         * malloc/Makefile: Don't build memusagestat if cross-compiling.
3778         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
3780         * math/libm-test.inc (rint_test): Add a few more tests for round
3781         to even rounding.
3783 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
3785         * conform/data/pthread.h-data: Correct return type of pthread_exit.
3787         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
3789         * conform/data/stdlib.h-data: Add _Exit.
3791         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
3792         if not already happened.
3793         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
3794         Don't include <limits.h> and <bits/sockaddr.h>.
3796         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
3798         * conform/data/spawn.h-data: Allow all of <sched.h>.
3800         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
3801         unused variable.
3803         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
3804         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
3806         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
3808         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
3809         * libio/stdio.h: Define va_list correctly.
3811         * conform/data/pthread.h-data: Make priority protocol related
3812         functions optional.  Fix typos.
3814         * posix/sched.h: Define sched_priority as __sched_priority.
3815         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
3816         to __sched_priority.
3817         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3819 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
3821         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
3822         of <sys/time.h>.
3824         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
3825         * sysdeps/unix/time.c: Likewise.
3827         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
3828         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
3829         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
3830         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
3831         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
3832         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
3833         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
3834         * time/time.h: Likewise.
3836         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
3837         * conform/data/complex.h-data: New file.
3838         * conform/data/tgmath.h-data: New file.
3840         * conform/data/wchar.h-data: Add missing functions.
3842         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
3844         * conform/data/termios.h-data: Add missing const in tcsetattr()
3845         prototype.
3847         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
3848         Don't define pid_t here.
3850         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
3852         * conform/data/sys/time.h-data: Allow sys/select.h.
3853         * conform/data/sys/un.h-data: Fix typo.
3854         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
3855         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
3856         <sys/time.h>.
3857         * sysdeps/unix/clock_nanosleep.c: Likewise.
3858         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
3859         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
3860         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
3861         * sysdeps/unix/clock_settime.c: Likewise.
3863         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
3864         * login/getutent.c: Likewise.
3865         * login/getutid.c: Likewise.
3866         * login/getutline.c: Likewise.
3868         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
3870         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
3871         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
3872         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
3873         f_fsid field after change in struct statvfs.
3874         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
3875         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
3876         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
3878         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
3879         optional-macro.
3881         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
3882         recvfrom, send, and socketpair prototypes.  Add allow lines.
3883         * socket/sys/socket.h: Include <sys/uio.h>.
3884         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
3885         Fix type of second parameter of listen.
3886         Don't declare isfdtype unless __USE_MISC.
3887         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
3888         * sysdeps/mach/hurd/listen.c: Likewise.
3889         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
3890         ss_family and __ss_family.
3891         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
3892         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3893         (struct msghdr): Change type of msg_iovlen to int and type of
3894         msg_controllen to socklen_t.
3895         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
3896         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
3897         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
3898         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
3899         (rresvport_af): Likewise.
3901         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
3902         * conform/conformtest.pl: Implement handling of symbol.
3904         * signal/signal.h: Fix handling of __need_* symbols.
3905         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
3906         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
3907         * include/sys/select.h: Use fd_set not __fd_set.
3908         * sysdeps/generic/bits/select.h: Likewise.
3909         * sysdeps/i386/bits/select.h: Likewise.
3910         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
3911         __FDELT, __FDMASK, and __fd_set here.
3912         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
3913         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
3914         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3915         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3916         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
3917         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3918         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3919         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
3920         * time/sys/time.h: Define struct timeval before including <time.h>
3921         and <sys/select.h>.
3923         * conform/data/sys/time.h-data: fd_set is a typedef.
3924         * conform/data/sys/select.h-data: New file.
3925         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
3926         * conform/conformtest.pl (@headers): Add sys/select.h.
3927         (type, optional-type): Unless testing a typedef instantiate object.
3928         Implement optional-function.
3930         * math/test-misc.c: Include <float.h>.
3932 2001-01-27  Andreas Jaeger  <aj@suse.de>
3934         * misc/efgcvt_r.c: Include <float.h>.
3936 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
3938         * conform/data/stdlib.h-data: Account for XPG6 changes.
3939         * stdlib/stdlib.h (__random): Change return value type to long.
3940         (posix_memalign): Cleanup parameter names.
3941         (setenv, unsetenv): Make available for __USE_XOPEN2K.
3942         Change return type of unsetenv to int.
3943         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
3944         * include/stdlib.h: Change return type of unsetenv to int.
3945         Change return type of random to long int.
3946         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
3947         Return -1 and set errno if parameter is invalid.
3948         * stdlib/random.c (__random): Change return value type to long.
3950         * conform/data/stdio.h-data: Account for changes in XPG6.
3952         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
3953         prototype.
3955         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
3956         * conform/data/signal.h-data: Fix sigev_notify_function entry.
3957         Fix typo (SIGVALRM -> SIGVTALRM).
3958         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
3959         with real type.
3960         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
3961         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
3962         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3963         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3964         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
3966         * conform/conformtest.pl: Implement optional-element.  Define
3967         $mustprepend{"sched.h"}.
3968         * conform/data/sched.h-data: Make sporadic scheduler definitions
3969         optional.
3971         * pwd/pwd.h: Don't define getpwent_r for XPG.
3973         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
3974         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
3975         * sysdeps/mach/hurd/poll.c: Likewise.
3976         * sysdeps/unix/bsd/poll.c: Likewise.
3977         * sysdeps/unix/sysv/linux/poll.c: Likewise.
3978         * sysdeps/unix/sysv/aix/poll.c: Likewise.
3979         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
3980         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
3981         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
3982         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
3983         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
3984         * conform/data/poll.h-data: Fix typo in poll prototype.
3986         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
3987         only if __USE_MISC.
3988         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
3990         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
3992         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
3994         * conform/conformtest.pl: Implement optional-type.
3996         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
3997         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
3998         defining uint32_t here.  Define IPPORT_RESERVED.
3999         (struct hostent): Type of h_length element is int.
4000         (getnameinfo): Type of flags parameter is unsigned int.
4001         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
4002         * conform/data/netdb.h-data: Add many missing definitions.
4004         * conform/conformtest.pl: Implement optional-macro.
4005         * conform/data/math.h-data: Update for XPG6.
4007         * math/math.h (HUGE): Define as FLT_MAX value but don't use
4008         FLT_MAX.  Don't include <float.h>.
4009         (MAXFLOAT): Likewise.
4011         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
4013         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
4015         * conform/data/limits.h-data: Mark constants as optional wherever
4016         appropriate.
4018         * posix/bits/posix2_lim.h: Set correct values for
4019         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
4020         EQUIV_CLASS_MAX.
4022         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
4023         Required by POSIX.
4025         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
4027         * conform/data/netinet/in.h-data: Add reserved prefixes.
4029         * conform/data/arpa/inet.h-data: Fix a few typos.
4031 2001-01-26  Andreas Jaeger  <aj@suse.de>
4033         * sysdeps/generic/strtol.c: Include <locale.h>
4034         * stdlib/strtod.c: Likewise
4035         * stdlib/strfmon.c: Likewise.
4036         * string/strcoll.c: Likewise.
4037         * string/strxfrm.c: Likewise.
4038         * wctype/wcfuncs_l.c: Likewise.
4039         * wctype/wctype_l.c: Likewise.
4040         * wctype/wctrans_l.c: Likewise.
4042         * include/bits/locale.h: New file.
4044 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
4046         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
4047         and NOSTR.
4049         * locale/Makefile (headers): Add bits/locale.h.
4050         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
4051         and use __LC_ constants instead of LC_.
4052         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
4053         using __LC_ constants.
4054         * locale/bits/locale.h: New file.
4055         * locale/loadlocale.c: Include <locale.h>.
4056         * locale/nl_langinfo.h: Likewise.
4058         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
4060         * io/sys/stat.h: Define S_IFSOCK for XPG6.
4062         * conform/data/fcntl.h-data: posix_madvise is not expected here.
4064         * conform/conformtest.pl: Fix handling of macro-str.
4066         * conform/data/inttypes.h-data: Add missing definition and all of
4067         stdint.h-data.
4069         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
4071 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
4073         * conform/conformtest.pl (@headers): Add stdint.h.
4074         * conform/data/stdint.h-data: New file.
4076         * conform/conformtest.pl: Recognize options --headers and
4077         --dialect.  Add dialect-specific CFLAGS.
4079         * conform/conformtest.pl: Implement handling of recursive
4080         allow-header.
4082         * conform/data/locale.h-data: Add new struct lconv members.
4084         * posix/wordexp.h: Correct definition of wordexp_t.
4085         * posix/wordexp.c: Moved to ...
4086         * sysdeps/generic/wordexp.c: ...here.  New file.
4087         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
4088         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
4089         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
4090         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
4091         wordexp.
4092         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
4093         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
4095         * math/tgmath.h: Pretty printing.
4097         * math/Makefile (tests): Add test-tgmath.
4098         (CFLAGS-test-tgmath.c): New variable.
4099         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
4101         * conform/conformtest.pl: Handle allow-header in secondary headers
4102         correctly.
4104         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
4105         #ifdef.
4107         * conform/data/netinet/in.h-data: Use correct comment character.
4108         * conform/data/sys/stat.h-data: Likewise.
4110 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
4112         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
4113         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
4114         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
4115         __builtin_classify_type, add ##f suffixes where appropriate.
4116         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
4117         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
4118         __builtin_classify_type.
4119         (fma): Fix spelling of first argument.
4121 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
4123         * conform/data/unistd.h-data: Mark functions removed in XPG6
4124         correctly.
4126         * posix/unistd.h: Don't make functions removed in XPG6 available if
4127         __USE_XOPEN2K.
4129         * conform/conformtest.pl: Implement optional-constant.
4130         * conform/data/unistd.h-data: Use optional-constant wherever
4131         appropriate.
4133         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
4134         constants and add _SC_STREAMS.
4135         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4137         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
4138         make old name weak alias.
4139         * sysdeps/generic/statvfs64.c: Likewise.
4140         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
4141         make old name weak alias.
4142         * sysdeps/generic/fstatvfs64.c: Likewise.
4143         * include/sys/statvfs.h: New file.
4145         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
4146         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
4147         _PC_REC_XFER_ALIGN.
4148         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
4149         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
4150         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
4151         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
4153         * conform/conformtest.pl: Run Unix tests for XPG6.
4154         Implement handling of known namespace violations.
4155         Improve printing of results.
4157         * posix/unistd.h (usleep): Correct return type.
4158         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
4159         * sysdeps/unix/bsd/usleep.c: Correct return type.
4160         * sysdeps/mach/usleep.c: Correct return type.
4161         * sysdeps/generic/usleep.c: Correct return type.
4163         * posix/unistd.h (sync): Correct return type.
4164         * sysdeps/generic/sync.c: Likewise.
4165         * sysdeps/mach/hurd/sync.c: Likewise.
4167         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
4169         * posix/unistd.h: Make seteuid and setegid available for XPG6.
4171         * wcsmbs/wchar.h: Get FILE definition for XPG5.
4173         * conform/data/ctype.h-data: Use correct comment form.
4174         * conform/data/errno.h-data: Likewise.
4175         * conform/data/math.h-data: Likewise.
4176         * conform/data/mqueue.h-data: Likewise.
4177         * conform/data/netdb.h-data: Likewise.
4178         * conform/data/pthread.h-data: Likewise.
4180 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
4182         * conform/data/wordexp.h-data: Fix typo.
4184         * conform/conformtest.pl: Handle allow-header correctly.
4186         * conform/data/time.h-data: Use correct comment form.
4188         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
4190         * configure.in: Comment out binutils version test.
4192         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
4193         separators.
4194         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
4196         * stdlib/tst-strtod.c (locale_test): New function.
4197         (main): Call locale_test.
4198         * stdlib/Makefile (tst-strtod-ENV): New variable.
4200 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
4202         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
4203         declaration of value such that we actually return the value of the
4204         environment variable.
4206 2001-01-24  Andreas Jaeger  <aj@suse.de>
4208         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
4209         prototype.
4210         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4212         * include/sys/sysctl.h: New file.
4214 2001-01-23  Andreas Jaeger  <aj@suse.de>
4216         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
4217         isomac.
4219         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
4220         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
4221         closes PR libc/2039.
4223         * manual/install.texi (Tools for Compilation): Change required
4224         binutils version.
4226 2001-01-22  Andreas Jaeger  <aj@suse.de>
4228         * configure.in: Add test for new enough binutils version, move
4229         compiler/binutils test up.
4231         * Versions.def: Add version GLIBC_2.2.2.
4233 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
4235         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
4236         available.
4237         * iconvdata/testdata/IBM932: New file.
4238         * iconvdata/testdata/IBM932..UTF8: New file.
4239         * iconvdata/testdata/IBM943: New file.
4240         * iconvdata/testdata/IBM943..UTF8: New file.
4241         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
4243 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4245         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
4247 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
4249         * malloc/malloc.c: Remove a few unnecessary initializers of global
4250         variables.
4252 2000-12-09  H.J. Lu  <hjl@gnu.org>
4254         * nss/Makefile (routines): Add digits_dots.
4255         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
4256         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
4257         into a function.
4258         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
4259         function.
4260         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
4261         (TYPE_VAR_P): Likewise.
4262         (FLAGS_VAR): Likewise.
4263         (AF_VAR_P): Likewise.
4264         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
4265         instead of including digits_dots.c.
4266         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
4267         (TYPE_VAR_P): Likewise.
4268         (FLAGS_VAR): Likewise.
4269         (AF_VAR_P): Likewise.
4270         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
4271         instead of including digits_dots.c.
4273 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
4275         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
4277 2001-01-21  Andreas Jaeger  <aj@suse.de>
4279         * elf/constload2.c: Add prototype for init.
4281 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
4283         * stdlib/stdlib.h (drand48_data): Make available only for
4284         __USE_MISC.  Rename elements to protect namespace.  Change type
4285         and position of a and init element.
4286         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
4287         differently.  Adjust for drand48_data change.  Don't compute a here,
4288         it comes from drand48_data.
4289         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
4290         differently.  Adjust for drand48_data change.  Compute a here.
4291         * stdlib/srand48_r.c: Likewise.
4292         * stdlib/drand48.c: Adjust for drand48_data change.
4293         * stdlib/lrand48.c: Likewise.
4294         * stdlib/mrand48.c: Likewise.
4295         * stdlib/seek48.c: Likewise.
4296         * stdlib/drand48_r.c: Likewise.
4297         * stdlib/lrand48_r.c: Likewise.
4298         * stdlib/mrand48_r.c: Likewise.
4299         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
4300         differently.
4301         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
4302         * stdlib/jrand48_r.c: Likewise.
4304         * po/sv.po: Update from translation team.
4306 2001-01-21  Andreas Jaeger  <aj@suse.de>
4308         * stdio-common/vfprintf.c (vfprintf): Add casts.
4310 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
4312         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
4313         the ASCII test.
4314         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
4316         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
4317         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
4318         * iconvdata/ibm932.c: New file.
4319         * iconvdata/ibm932.h: New file.
4320         * iconvdata/ibm943.c: New file.
4321         * iconvdata/ibm943.h: New file.
4322         Patches by Masahide Washizawa <washi@jp.ibm.com>.
4324         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
4325         preventing optimization from being done.  Set the correct type bit
4326         in seen.  Don't define and use _dl_base_addr unless
4327         NEED_DL_BASE_ADDR is defined.
4329         * io/ftw.c (ftw_dir): Add slash after directory name if there
4330         wasn't any.  Reported by loris <loris@iol.it>.
4331         * io/Makefile (tests): Add bug-ftw2.
4332         * io/bug-ftw2.c: New file.
4334 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
4336         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
4337         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
4338         * stdlib/tst-rand48.c: New file.
4339         * stdlib/Makefile (tests): Add tst-rand48.
4341         * locale/newlocale.c (__newlocale): Fix test for setting all
4342         categories.
4344 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
4346         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
4347         but change looking up the initial directory port in a similar way
4348         as done by _hurd_change_directory_port_from_name.
4349         * hurd/fchroot.c (fchroot): Likewise.
4351 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
4353         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
4354         defined don't look whether the AT_*ID values were set.
4355         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
4356         (_dl_show_auxv): Rewrite to avoid switch statement.
4357         * sysdeps/unix/sysv/linux/kernel-features.h: Define
4358         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
4359         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
4360         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
4362         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
4363         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4364         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4366         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
4367         strtoul.
4368         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
4369         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
4370         anything.
4371         * dlfcn/eval.c (__strtol_internal): Define here.
4372         (eval): Use __strtol_internal instead of strtol.
4374         * elf/elf.h: Add a few more EF_MIPS_* constants.
4376 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
4378         * manual/Makefile (chapters): Add debug.
4379         * manual/debug.texi: New file.
4380         * manual/examples/execinfo.c: New file.
4381         Patch by suckfish@ihug.co.nz.
4383 2001-01-17  Andreas Schwab  <schwab@suse.de>
4385         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
4386         invalid asm.
4388 2001-01-17  Andreas Jaeger  <aj@suse.de>
4390         * nscd/connections.c (nscd_run): Use proper format specifier.
4392 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
4394         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
4395         x86_platforms data into new file after prepending _dl_.  Change
4396         users.
4397         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
4398         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
4399         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
4400         dl-procinfo.c.
4402         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
4404         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
4405         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
4406         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
4407         (_setjmp): Likewise.
4408         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
4409         * sysdeps/i386/bsd-setjmp.S: Real implementation.
4410         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
4411         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
4412         version.
4414 2001-01-16  Andreas Jaeger  <aj@suse.de>
4416         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
4417         misapplied last patch.
4419 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
4421         * stdlib/random.c (__initstate): Clean up a cast.
4422         (__setstate): Likewise.
4424         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
4425         syscall handling.  The generic Linux version should work.
4427 2001-01-15  Andreas Jaeger  <aj@suse.de>
4429         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
4431         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
4433 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
4435         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
4436         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
4437         New functions.
4438         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
4439         If number is 0, list all.
4440         (services_keys): Likewise.  Lookup aliases as well.
4441         (databases): New table.
4442         (build_doc): Prepare argp doc text with list of supported databases.
4443         (main): Change to table driven processing.
4445 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
4447         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
4448         functions.
4450 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
4452         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
4453         encode value which does not fit in the 32bit type.
4455 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
4457         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
4458         Change type of CTX to (struct sigcontext *).
4459         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
4460         (GET_FRAME): Likewise.
4461         (GET_STACK): Likewise.
4462         (SIGCONTEXT): Likewise. Add 2nd arg _code.
4463         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
4465 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
4467         * manual/texinfo.tex: Update from upstream version.
4469 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
4471         * inet/ether_ntoh.c (lookup_function): Change arguments to match
4472         _nss_*_getntohost_r prototype.
4473         (ether_ntohost): Pass errno pointer to NSS function.
4475 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4477         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
4478         (MAP_LOCKED): New definition.
4479         (MAP_NORESERVE): New definition.
4481 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
4483         * assert/assert.h: Use static_cast instead of C-style cast for C++.
4484         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
4486 2001-01-12  Ben Collins  <bcollins@debian.org>
4488         * sysdeps/generic/segfault.c (install_handler): Use access, not
4489         __access.
4491 2001-01-12  Andreas Jaeger  <aj@suse.de>
4493         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
4494         * posix/wordexp.c (do_parse_glob): Likewise.
4495         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
4496         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
4497         * elf/dl-open.c (_dl_open): Likewise.
4498         * elf/dl-close.c (_dl_close): Likewise.
4499         * elf/dl-load.c (_dl_map_object): Likewise.
4500         * iconv/iconv_prog.c (process_fd): Likewise.
4501         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
4503         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
4504         of a zero-length array.
4506 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
4508         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
4509         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
4510         * stdlib/cxa_on_exit.c: Remove.
4511         * stdlib/Makefile: Revert last patch.
4512         * stdlib/Versions: Likewise.
4513         * include/stdlib.h: Likewise.
4514         * stdlib/exit.h: Revert last patch.
4515         (struct exit_function): Add second argument to cxa fn.
4516         * stdlib/exit.c: Revert last patch.
4517         (exit): Add hidden second argument.
4519 2001-01-11  H.J. Lu  <hjl@gnu.org>
4521         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
4522         * elf/dl-open.c (_dl_open): Here.
4523         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
4524         Make it static.
4525         (_dl_static_init): Initialize the variables every time when possible.
4526         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
4527         Undefine it first.
4529 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
4531         * stdlib/Makefile (routines): Add cxa_on_exit.
4532         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
4533         * stdlib/cxa_on_exit.c: New file.
4534         * include/stdlib.h: Add prototype for __cxa_on_exit.
4535         * stdlib/exit.c: Handle ef_cxa2.
4536         * stdlib/exit.h (enum): Add ef_cxa2.
4537         (struct exit_function): Add cxa2.
4539         * Versions.def [ld]: Add GLIBC_2.2.1.
4541 2001-01-10  H.J. Lu  <hjl@gnu.org>
4543         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
4544         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
4545         dl-static.
4546         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
4547         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
4548         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
4549         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
4550         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
4552 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
4554         * libio/stdio.h: Remove definition of off_t.
4556 2001-01-11  Andreas Jaeger  <aj@suse.de>
4558         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
4559         <mkuhn@acm.org>.
4561 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
4563         * sunrpc/Makefile (distribute): Add errqueue.h.
4565 2001-01-10  H.J. Lu  <hjl@gnu.org>
4567         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
4568         r9, r10 and r11 for language specific registers.
4570 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
4572         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
4573         UDP socket.
4574         (clntudp_call): Handle MSG_ERRQUEUE.
4575         * sysdeps/generic/errqueue.h: New file.
4576         * sysdeps/unix/sysv/linux/errqueue.h: New file.
4578 2001-01-10  H.J. Lu  <hjl@gnu.org>
4580         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
4582 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
4584         * CONFORMANCE: Update.
4586 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
4588         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
4589         Minimal cleanups.  Add assert to ensure memory handling is correct.
4591         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
4592         Reported by Ben Collins <bcollins@debian.org>.
4594         * time/strftime.c (my_strftime): Mark previous GNU extensions
4595         which are now in C99 as such.
4597 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
4599         * elf/rtld.c (process_envvars): Place output files for profiling
4600         in SUID binaries in /var/profile.
4602         * elf/dl-load.c (_dl_map_object): Don't look in cache for
4603         preloading in SUID binaries.
4605         * elf/dl-profile.c (_dl_start_profile): Open the output file with
4606         O_NOFOLLOW if possible.
4608         * include/stdlib.h: Add __posix_openpt declaration.
4609         * stdlib/stdlib.h: Add posix_openpt declaration.
4610         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
4611         * sysdeps/generic/getpt.c: Define posix_openpt.
4612         * sysdeps/unix/bsd/getpt.c: Likewise.
4613         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
4615         * time/Makefile (tests): Add tst-mktime.
4616         * time/tst-mktime.c: New file.
4618         * posix/tst-dir.c (main): One more mkdir() test.
4620         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
4621         Remove getpagesize syscall.  We assume that the pagesize is always
4622         determined from the auxiliary vector.
4624         * intl/dcigettext.c: Fix a few warnings.
4625         Patch by Bruno Haible <haible@ilog.fr>.
4627 2001-01-08  Andreas Jaeger  <aj@suse.de>
4629         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
4630         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
4632 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
4634         * sysdeps/generic/segfault.c (install_handler): Check output file
4635         name with access().
4637         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
4638         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
4640         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
4642         * malloc/memusage.c (me): Use access() to determine whether we
4643         should write the output file or not.
4645         * libio/bits/stdio.h (printf): Define macro to map printf call to
4646         fprintf which gcc can optimize.
4647         * stdio-common/printf.c: Undefine printf.
4649 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
4651         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
4652         patch.  We must use unsigned int for l member of union.
4654         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
4655         _dl_aux_init for shared libraries.
4657         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
4658         * sysdeps/gnu/glob64.c: ...here.  New file.
4660 2001-01-07  Ben Collins  <bcollins@debian.org>
4662         * manual/examples/longopt.c: Make the "struct option" a little
4663         more like it should be, adding usage of required_argument,
4664         noargument and such, and also setting the options string right.
4666         * manual/sysinfo.texi (Load Average): New section, documents
4667         getloadavg().
4669 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
4671         * version.h (VERSION): Bump to 2.2.1.
4673         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
4674         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
4675         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
4676         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
4677         * Makefile (distribute): Add include/libc-internal.h.
4678         * libio/Makefile (distribute): Avoid overwriting.
4680         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
4681         buffer and table handling.
4683 2001-01-05  H.J. Lu  <hjl@gnu.org>
4685         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
4686         vector checking to ...
4687         (_dl_aux_init): Here. New function. Defined only if
4688         HAVE_AUX_VECTOR is defined.
4690         * sysdeps/generic/libc-start.c (__libc_start_main): Call
4691         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
4693         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
4694         _dl_aux_init.
4696         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
4697         (HAVE_AUX_VECTOR): Defined.
4698         (_dl_aux_init): Declared.
4700 2001-01-05  Ben Collins  <bcollins@debian.org>
4702         * manual/string.texi (Finding Tokens in a String): Document XPG
4703         basename() and dirname(), as well as GNU basename().
4705 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
4707         * Makeconfig (preprocess-version): Replace -traditional with
4708         -x assembler-with-cpp.
4710 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
4712         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
4713         for GCC 2.97 or later.
4715 2001-01-05  Ben Collins  <bcollins@debian.org>
4717         * manual/stdio.texi (getline): Clarify the return value in the
4718         case of EOF being reached before a newline.
4720 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
4722         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
4723         FALSE otherwise.
4724         (pmap_set, pmap_unset): Check __get_myaddress return value.
4726 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
4728         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
4729         (struct ether_addr): Declare ether_addr_octet member as
4730         `u_int8_t'.  Add __attribute__ ((__packed__)).
4732 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
4734         * sysdeps/mach/hurd/readdir64.c: New file.
4735         * sysdeps/mach/hurd/readdir64_r.c: New file.
4737 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
4739         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
4740         `struct statfs' and `struct statvfs' being identical.
4741         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
4743 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
4745         * sysdeps/mach/hurd/fstatfs64.c: New file.
4746         * sysdeps/mach/hurd/fstatvfs64.c: New file.
4747         * sysdeps/mach/hurd/statfs64.c: New file.
4748         * sysdeps/mach/hurd/statvfs64.c: New file.
4749         * sysdeps/mach/hurd/statfsconv.c: New file.
4750         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
4752 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
4754         * iconv/skeleton.c: Reset outbuf for next round of the loop.
4755         Reported by Owen Taylor <otaylor@redhat.com>.
4756         * iconv/Makefile (tests): Add tst-iconv3.
4757         * iconv/tst-iconv3.c: New file.
4759         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
4760         * iconvdata/ibm933.c: Likewise.
4761         * iconvdata/ibm935.c: Likewise.
4762         * iconvdata/ibm937.c: Likewise.
4763         * iconvdata/ibm939.c: Likewise.
4764         * iconvdata/ibm930.h: Adjust single byte table for optimization.
4765         * iconvdata/ibm933.h: Likewise.
4766         * iconvdata/ibm935.h: Likewise.
4767         * iconvdata/ibm939.h: Likewise.
4769         * iconvdata/testdata/IBM930: Add misssing SI.
4770         * iconvdata/testdata/IBM933: Likewise.
4771         * iconvdata/testdata/IBM935: Likewise.
4772         * iconvdata/testdata/IBM937: Likewise.
4773         * iconvdata/testdata/IBM939: Likewise.
4775 2001-01-06  Andreas Jaeger  <aj@suse.de>
4777         * configure.in: Check for old add-ons that shouldn't be used with
4778         current glibc anymore.
4780 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
4782         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
4783         instead of -1 on failure.  Don't forget to copy file name into
4784         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
4785         of the directory.
4787 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
4789         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
4790         copy st_atime member.
4792 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
4794         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
4795         for searches from the root directory.
4796         Reported by loris <loris@iol.it> [PR libc/1991].
4797         * io/Makefile (tests): Add bug-ftw1.
4798         * io/bug-ftw1.c: New file.
4800         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
4801         if it is not available.  Instead use it only if it is available.
4802         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
4804         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
4805         overflowing output buffer.
4806         (internal_ucs4_loop_unaligned): Likewise.
4807         (ucs4_internal_loop): Likewise.
4808         (ucs4_internal_loop_unaligned): Likewise.
4809         (internal_ucs4le_loop): Likewise.
4810         (internal_ucs4le_loop_unaligned): Likewise.
4811         (ucs4le_internal_loop): Likewise.
4812         (ucs4le_internal_loop_unaligned): Likewise.
4813         Reported by Owen Taylor <otaylor@redhat.com>.
4814         * iconv/Makefile (tests): Add tst-iconv2.
4815         * iconv/tst-iconv2.c: New file.
4817 2001-01-04  H.J. Lu  <hjl@gnu.org>
4819         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
4820         (_dl_clktck): Declared.
4821         (non_dynamic_init): Take 3 arguments.
4822         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
4824 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
4826         Finish implementation of plural form handling.
4827         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
4828         'domainname'.  Remove 'plindex' field. Add 'domain' and
4829         'translation_length' fields.
4830         (transcmp): Don't compare 'plindex' fields.
4831         (plural_lookup): New function.
4832         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
4833         plural_eval before the translation and its catalog file have been
4834         found. Remove plindex from cache key.  Add 'translation_length' and
4835         'domain' to cache result.
4836         (_nl_find_msg): Remove index argument, return length of translation
4837         to the caller instead.  Weaken comparison of string lengths, to account
4838         for plural entries.  Call iconv() on the entire result string, not
4839         only on the portion needed so far.
4840         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
4841         argument.
4842         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
4844 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
4846         * intl/plural.y (yylex): Minimal improvement in number scanner.
4848 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
4850         * intl/plural.y: Include config.h. Needed to define 'inline' away for
4851         C compilers that don't support it.
4852         (yylex): Don't use gcc specific case range syntax.
4853         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
4854         compilers.
4856 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
4858         * intl/finddomain.c: Remove unneeded includes.
4860 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
4862         * intl/localealias.c (memcpy): Return first argument, just like the
4863         real memcpy function does.
4864         * intl/bindtextdom.c (memcpy): Likewise.
4865         * intl/finddomain.c (memcpy): Likewise.
4866         * intl/l10nflist.c (memcpy): Likewise.
4867         * intl/textdomain.c (memcpy): Likewise.
4868         From Paul Eggert <eggert@twinsun.com>.
4870 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
4872         * resolv/resolv.h (struct __res_state): Add nsinit field.
4873         * resolv/res_send.c (res_nsend): Use it instead of nscount.
4874         * resolv/res_init.c (__res_vinit): Initialize it.
4875         (res_nclose): Clear it instead of nscount.
4877 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
4879         * malloc/mtrace.pl: Fix matching of addresses.
4880         Patch by Aharon Robbins <arnold@skeeve.com>.
4882         * Versions.def (ld): Add GLIBC_2.2.
4884         * catgets/gencat.c: Copyright 2001.
4885         * csu/version.c: Likewise.
4886         * debug/catchsegv.sh: Likewise.
4887         * debug/xtrace.sh: Likewise.
4888         * elf/ldconfig.c: Likewise.
4889         * elf/sprof.c: Likewise.
4890         * iconv/iconv_prog.c: Likewise.
4891         * locale/locale.c: Likewise.
4892         * locale/localedef.c: Likewise.
4893         * malloc/memusage.sh: Likewise.
4894         * malloc/mtrace.pl: Likewise.
4895         * nscd/nscd.c: Likewise.
4896         * posix/getconf.c: Likewise.
4898 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
4900         * include/stdio.h: Only provide __getwc_unlocked prototype if
4901         USE_IN_LIBIO is defined.
4903 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4905         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
4906         handling.
4908 2001-01-03  Andreas Schwab  <schwab@suse.de>
4910         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
4911         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
4913         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
4914         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
4915         strtoull alias.
4916         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
4917         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
4918         wcstoull alias.
4920         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
4921         directory.
4922         * sysdeps/generic/strtol_l.c: Likewise.
4923         * sysdeps/generic/strtoul_l.c: Likewise.
4924         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
4926         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
4927         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
4928         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
4929         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
4931 2001-01-04  Andreas Jaeger  <aj@suse.de>
4933         * nss/nsswitch.c: Include files for missing prototypes, remove
4934         buggy declaration of prototypes.
4936 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4938         * resolv/Versions: Fix bracing.
4939         * sysdeps/powerpc/soft-fp/Versions: Likewise.
4940         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
4942 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4944         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
4946 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
4948         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
4949         Suggested by Minko Markov <mmarkov@home.com>.
4951 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4953         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
4954         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
4955         the failing symbol.
4956         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
4958 2001-01-02  Ben Collins  <bcollins@debian.org>
4960         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
4961         if TZ is not set and TZDEFAULT is not present.
4963 2001-01-01  Ben Collins  <bcollins@debian.org>
4965         * string/strings.h: Make sure we declare our functions even if
4966         string.h is already included, based on whether or not __USE_BSD is
4967         defined.
4969 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
4971         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
4972         other dlopen() and dlsym().
4973         Based on a patch by Ben Collins <bcollins@debian.org>.
4975 2001-01-02  Andreas Jaeger  <aj@suse.de>
4977         * dlfcn/errmsg1.c (main): Call dlerror initially.
4978         Reported by Ben Collins <bcollins@debian.org>.
4980 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
4982         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
4983         value is ignored if the selected locale is the C locale.
4984         * intl/tst-gettext.c: Set locale for above change.
4985         * intl/tst-translit.c: Likewise.
4987 2001-01-02  Andreas Jaeger  <aj@suse.de>
4989         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
4990         (_IO_switch_to_wget_mode): Likewise.
4991         (_IO_sputbackwc): Likewise.
4992         (_IO_sungetwc): Use wint_t for result.
4994         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
4996         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
4997         signedness.
4999         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
5000         to (int) to avoid warnings.
5001         * stdio-common/printf_fp.c (putc): Likewise.
5002         * stdio-common/printf_size.c (putc): Likewise.
5004         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
5005         constant unsigned.
5007 2001-01-01  Andreas Jaeger  <aj@suse.de>
5009         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
5011 2000-12-31  Andreas Jaeger  <aj@suse.de>
5013         * include/libc-internal.h: Add prototype for __libc_freeres.
5015         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
5016         for prototypes, remove redundant prototypes.
5017         * gmon/gmon.c: Likewise.
5018         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
5019         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
5020         * malloc/mtrace.c: Likewise.
5022         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
5023         prototypes.
5024         * elf/soinit.c: Likewise.
5025         * sysdeps/generic/prof-freq.c: Likewise.
5026         * sysdeps/mach/hurd/profil.c: Likewise.
5027         * debug/noophooks.c: Likewise.
5028         * debug/pcprofile.c: Likewise.
5029         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
5030         * sysdeps/generic/get_clockfreq.c: Likewise.
5031         * malloc/set-freeres.c: Likewise.
5033         * locale/localeinfo.h: Add internal prototypes.
5035         * elf/rtld.c (dl_main): Fix prototype.
5037         * iconvdata/tst-table-to.c (main): Use return instead of exit to
5038         avoid warning.
5040         * nis/rpcsvc/yp_prot.h: Remove __P.
5041         * nis/rpcsvc/ypupd.h: Likewise.
5042         * nis/rpcsvc/yp.h: Likewise.
5044         * sunrpc/rpc_main.c: Add noreturn attributes.
5045         * sunrpc/rpc_scan.h: Likewise.
5047         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
5049         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
5051         * sunrpc/proto.h: Add noreturn attributes to error and crash.
5053         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
5055         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
5057         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
5059         * include/rpc/rpc_msg.h: Add prototypes for some functions.
5060         * include/rpc/auth.h: Likewise.
5061         * include/rpc/auth_des.h: Likewise.
5062         * include/rpc/clnt.h: Likewise.
5063         * include/rpc/rpc.h: Likewise.
5064         * include/rpc/svc.h: Likewise.
5065         * include/rpc/svc_auth.h: Likewise.
5067         * include/rpc/des_crypt.h: New file.
5069         * malloc/memusagestat.c (main): Use return instead of exit to
5070         avoid warning.
5071         * io/pwd.c (main): Likewise.
5072         * iconvdata/tst-table-from.c (main): Likewise.
5073         * ctype/test_ctype.c (main): Likewise.
5074         * setjmp/tst-setjmp.c (main): Likewise.
5075         * signal/tst-signal.c (main): Likewise.
5076         * stdlib/tst-strtol.c (main): Likewise.
5077         * stdlib/tst-strtod.c (main): Likewise.
5078         * stdlib/tst-strtoll.c (main): Likewise.
5079         * stdlib/tst-xpg-basename.c (main): Likewise.
5080         * dirent/tst-seekdir.c (main): Likewise.
5081         * grp/testgrp.c (main): Likewise.
5082         * inet/test_ifindex.c (main): Likewise.
5083         * io/test-utime.c (main): Likewise.
5084         * posix/test-vfork.c (main): Likewise.
5085         * posix/testfnm.c (main): Likewise.
5086         * stdio-common/temptest.c (main): Likewise.
5087         * stdio-common/test_rdwr.c (main): Likewise.
5088         * stdio-common/tst-fileno.c (main): Likewise.
5089         * stdio-common/tst-sscanf.c (main): Likewise.
5090         * stdio-common/tstscanf.c (main): Likewise.
5091         * string/bug-strncat1.c (main): Likewise.
5092         * string/bug-strpbrk1.c (main): Likewise.
5093         * string/bug-strspn1.c (main): Likewise.
5094         * string/test-ffs.c (main): Likewise.
5095         * string/tst-inlcall.c (main): Likewise.
5096         * string/tst-svc.c (main): Likewise.
5097         * timezone/test-tz.c (main): Likewise.
5098         * wctype/test_wcfuncs.c (main): Likewise.
5099         * wctype/test_wctype.c (main): Likewise.
5101         * stdlib/tst-random.c: Add attribute noreturn to fail.
5103 2000-12-28  Wolfram Gloger  <wg@malloc.de>
5105         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
5106         destination overlap.  Assume dest is always below source if
5107         overlapping.
5109 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
5111         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
5112         object was not yet initialized.
5114 2000-12-28  H.J. Lu  <hjl@gnu.org>
5116         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
5117         is always consistent even if its dependency is failed.
5119         * elf/dl-open.c (_dl_open): Increment the open count before
5120         calling _dl_close () in case of failure.
5122         * elf/neededtest4.c: New file.
5123         * elf/neededobj5.c: New file.
5124         * elf/neededobj6.c: New file.
5126         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
5127         (tests): Add neededtest4.
5128         (modules-names): Add neededobj5 and neededobj6.
5129         ($(objpfx)neededobj6.so): New target.
5130         ($(objpfx)neededtest4): New target.
5131         ($(objpfx)neededtest4.out): New target.
5133 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
5135         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
5136         * stdlib/monetary.h: Add strfmon format attributes.
5138 2000-12-28  Roland McGrath  <roland@frob.com>
5140         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
5141         __mempcpy does it for us.
5143 2000-12-28  Andreas Jaeger  <aj@suse.de>
5145         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
5147         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
5148         __new_setrlimit.
5150         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
5151         __old_getrlimit64.
5153         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
5154         __new_getrlimit.
5156         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
5157         __chown_is_lchown and __real_chown.
5159         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
5160         _dl_reloc_bad_type.
5162         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
5163         up GCC's warning about "deprecated use of label at end of compound
5164         statement."
5165         * sunrpc/rpc_cout.c (emit_inline): Likewise.
5167         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
5168         prototypes.
5169         Remove struct bb and __bb_head since those are declared by
5170         sys/gmon.h.
5172 2000-12-22  Ben Collins  <bcollins@debian.org>
5174         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
5176         * manual/argp.texi: Document argp_domain as part of struct argp.
5178 2000-12-28  Andreas Jaeger  <aj@suse.de>
5180         * catgets/Makefile (generated): Add sample.SJIS.cat.
5182         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
5184         * elf/dl-minimal.c: Add prototypes.
5186         * include/locale.h: Add internal prototypes.
5187         * include/sys/gmon.h: Likewise.
5189         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
5191 2000-12-27  Ben Collins  <bcollins@debian.org>
5193         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
5194         when reallocating the error strings.
5195         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
5197 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
5199         * dlfcn/Makefile (tests): Add errmsg1.
5200         (modules-names): Add errmsg1mod.
5201         Add rules to run errmsg1.
5202         * dlfcn/errmsg1.c: New file.
5203         * dlfcn/errmsg1mod.c: New file.
5205         * dlfcn/dlerror.c (dlerror): Always create output string which
5206         includes object file name.
5208         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
5209         if we would go through it only once.
5210         Patch by Rick Gorton <rick.gorton@api-networks.com>.
5212         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
5213         Patch by Richard Henderson <rth@redhat.com>.
5215 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
5217         * malloc/malloc.c (memmove): Add prototypes.
5218         (MALLOC_MEMMOVE): Define.
5219         (chunk_realloc): Use it instead of MALLOC_COPY if source and
5220         destination might overlap.
5222 2000-12-27  Andreas Jaeger  <aj@suse.de>
5224         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
5225         function.
5226         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5227         * locale/programs/locale.c (show_locale_vars): Likewise.
5228         (show_info): Likewise.
5229         * locale/programs/ld-collate.c (collate_output): Likewise.
5230         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
5231         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5232         * stdlib/rpmatch.c (rpmatch): Likewise.
5234         * setjmp/tst-setjmp.c: Make local functions static.
5235         * setjmp/jmpbug.c: Likewise.
5236         * signal/tst-signal.c: Likewise.
5237         * stdio-common/tfformat.c: Likewise.
5238         * string/tst-svc.c: Likewise.
5239         * time/clocktest.c: Likewise.
5240         * time/tst-getdate.c: Likewise.
5241         * dirent/list.c: Likewise.
5242         * dirent/opendir-tst1.c: Likewise.
5243         * posix/runtests.c: Likewise.
5244         * posix/tst-getaddrinfo.c: Likewise.
5245         * posix/tst-chmod.c: Likewise.
5246         * posix/wordexp-test.c: Likewise.
5247         * misc/tst-efgcvt.c: Likewise.
5248         * timezone/tst-timezone.c: Likewise.
5249         * rt/tst-clock.c: Likewise.
5250         * rt/tst-shm.c: Likewise.
5251         * rt/tst-aio2.c: Likewise.
5252         * rt/tst-aio3.c: Likewise.
5253         * rt/tst-aio4.c: Likewise.
5254         * rt/tst-aio5.c: Likewise.
5256         * dlfcn/failtest.c: Add prototype for foo.
5258         * dlfcn/glrefmain.c: Add prototype for do_test.
5260         * dlfcn/tst-dladdr.c: Add prototype for do_test.
5262         * string/test-ffs.c (main): Add prototype for nested function.
5264         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
5266         * nss/XXX-lookup.c: Add prototype to shut up GCC.
5268         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
5269         setetherent prototype.
5270         Add internal interfaces.
5272         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
5273         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
5275         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
5277         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
5279         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
5280         prototypes, remove struct etherent since it's declared in ether.h.
5281         Fix ntohost declaration.
5283         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
5285         * include/getopt.h: Add internal interfaces.
5286         * include/termios.h: Likewise.
5287         * include/resolv.h: Likewise.
5288         * include/netdb.h: Likewise.
5289         * include/grp.h: Likewise.
5290         * include/pwd.h: Likewise.
5291         * include/shadow.h: Likewise.
5292         * include/rpc/netdb.h: Likewise.
5293         * include/setjmp.h: Likewise.
5295         * include/stdio.h: Add prototypes for compatibility functions.
5296         * include/grp.h: Likewise.
5297         * include/pwd.h: Likewise.
5298         * include/shadow.h: Likewise.
5300         * include/fenv.h: Define internal interfaces.
5302 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
5304         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
5305         argument case separately.
5306         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
5308 2000-12-27  Andreas Jaeger  <aj@suse.de>
5310         * include/sys/wait.h: Add some prototypes.
5311         * Rules (dummy.c): Create also prototype to shut up GCC.
5313 2000-12-27  Andreas Jaeger  <aj@suse.de>
5315         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
5316         it's not needed at the moment.
5317         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
5318         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
5320 2000-12-26  Andreas Jaeger  <aj@suse.de>
5322         * libio/getc_u.c: Include stdio.h via system path to get internal
5323         prototypes.
5324         * libio/getwc_u.c: Likewise.
5326         * stdlib/strfmon.c: Fix prototype of __printf_fp.
5328         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
5329         __printf_fp prototypes to ...
5330         * include/printf.h: ...here.
5332         * include/stdio.h: Add some internal prototypes to shut up GCC.
5333         * include/stdlib.h: Likewise.
5335         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
5336         declaration.
5338         * include/signal.h: Add prototypes for internal sigpause
5339         interfaces.
5341 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
5343         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
5344         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
5346         * string/Makefile (tests): Add tst-bswap.
5347         * string/tst-bswap.c: New file.
5349 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
5351         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
5353 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
5355         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
5356         Patch by Ed Connell <Ed.Connell@sas.com>.
5358 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
5360         * locale/iso-639.def: Correct one entry.  Add two missing entries.
5362         * locale/iso-4217.def: Change entry for Eritrea.
5363         Reported by Daniel Yacob <yacob@geez.org>.
5365 2000-12-23  Ben Collins  <bcollins@debian.org>
5367         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
5368         description.
5370         * manual/stdio.texi (Dynamic Output): Document the return value of
5371         asprintf.  Also make the asprintf/snprintf examples a little
5372         better (check for some error returns).
5374 2000-12-22  Andreas Jaeger  <aj@suse.de>
5376         * include/stdio.h: Add __ftrylockfile prototype.
5378 2000-12-21  H.J. Lu  <hjl@gnu.org>
5380         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
5381         Make sign_exponent element signed.
5383         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
5384         Fix a typo.
5386         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
5388 2000-12-21  Andreas Jaeger  <aj@suse.de>
5390         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
5391         * inet/ether_hton.c: Likewise
5392         * inet/ether_ntoh.c: Likewise.
5394         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
5395         declaration to match prototype.
5397         * include/netinet/ether.h (struct etherent): Declare here so that
5398         all implementations use the same struct.
5400         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
5401         prototypes.
5402         (struct ether): Removed.
5403         Use struct etherent instead of ether everywhere.
5405         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
5407         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
5409         * sunrpc/publickey.c: Include auth_des.h for prototypes.
5411 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
5413         * math/test-misc.c: Add more tests for nextafter functions.
5415         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
5416         normal correctly.  Correct test for sign.
5417         Based on a patch by HJ Lu.
5419 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
5421         * Makeconfig (preprocess-version): Add -traditional to gcc call.
5422         Cleanup sed calls.
5424 2000-12-19  Andreas Jaeger  <aj@suse.de>
5426         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
5428         * nis/nis_intern.h: Add prototype for __do_niscall3.
5430         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
5431         match prototype.
5433         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
5435         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
5437         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
5439 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
5441         * math/test-misc.c: Add more tests for nextafter.
5442         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
5443         * sysdeps/ieee754/ldbl-96/math_ldbl.h
5444         (ieee_long_double_shape_type): Make sign_exponent element signed.
5446         * manual/message.texi: Add Estonian to plural overview list.
5447         Correct rule for Slavic languages.
5448         Patch by Stanislav Brabec <utx@penguin.cz>.
5450         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
5452 2000-12-18  Andreas Jaeger  <aj@suse.de>
5454         * test-skeleton.c: Use temp_name_list instead of name_list to
5455         avoid collision with name_list from inet/netgroup.h.
5457         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
5459         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
5460         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
5461         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
5462         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
5464         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
5465         declaration to match prototype.
5466         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
5467         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
5468         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
5469         Likewise.
5470         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
5471         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
5472         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
5473         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
5474         (_nss_nis_getservbyport_r): Likewise.
5475         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
5476         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
5477         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
5478         (_nss_nis_setnetent): Likewise
5479         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
5480         (_nss_nis_endnetgrent): Likewise.
5481         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
5482         Likewise.
5483         (_nss_nisplus_setnetgrent): Likewise.
5484         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
5485         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
5486         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
5487         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
5488         Likewise.
5489         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
5490         Likewise.
5491         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
5492         Likewise.
5493         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
5494         Likewise.
5495         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
5496         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
5497         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
5498         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
5499         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
5500         (_nss_dns_getnetbyaddr_r): Likewise.
5502 2000-12-17  Andreas Jaeger  <aj@suse.de>
5504         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
5505         parameter.
5507         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
5508         unused attribute to shut up gcc warnings.
5510         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
5511         * sysdeps/generic/k_tanl.c: Likewise.
5512         * sysdeps/generic/k_cosl.c: Likewise.
5513         * sysdeps/generic/e_j0l.c: Likewise.
5514         * sysdeps/generic/e_j1l.c: Likewise.
5515         * sysdeps/generic/e_jnl.c: Likewise.
5516         * sysdeps/generic/e_lgammal_r.c: Likewise.
5518         * elf/vismain.c: Move prototypes for functions in vismod*.c to
5519         vismod.h.
5520         * elf/vismod.h: New file.
5521         * elf/Makefile (distribute): Add vismod.h.
5522         * elf/vismod1.c: Include vismod.h.
5523         * elf/vismod2.c: Likewise.
5524         * elf/vismod3.c: Likewise.
5526         * elf/constload3.c: Add prototype declarations to shut up gcc.
5527         * elf/failobj.c: Likewise.
5528         * elf/nodelmod3.c: Likewise.
5529         * elf/filtmod1.c: Likewise.
5530         * elf/filtmod2.c: Likewise.
5531         * elf/reldepmod1.c: Likewise.
5532         * elf/reldepmod2.c: Likewise.
5533         * elf/reldepmod3.c: Likewise.
5534         * elf/reldepmod4.c: Likewise.
5535         * elf/unload2dep.c: Likewise.
5536         * elf/unload2mod.c: Likewise.
5537         * elf/ltglobmod1.c: Likewise.
5538         * elf/pathoptobj.c: Likewise.
5539         * elf/neededobj1.c: Likewise.
5540         * elf/neededobj2.c: Likewise.
5541         * elf/neededobj3.c: Likewise.
5542         * elf/neededobj4.c: Likewise.
5543         * elf/nextmod1.c: Likewise.
5544         * elf/nextmod2.c: Likewise.
5546         * locale/programs/ld-collate.c (collate_finish): Don't use labels
5547         at end of compound statement.
5548         * locale/programs/locale.c (show_info): Likewise.
5549         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
5551 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
5553         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
5554         with a pointer not returned by obstack_ functions.
5556 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
5558         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
5559         version.
5560         (struct stat64): Likewise.
5561         Reported by Michael Keezer <mkeezer@redhat.com>.
5563         * timezone/asia: Update from tzdata2000h.
5564         * timezone/australasia: Likewise.
5565         * timezone/backward: Likewise.
5566         * timezone/europe: Likewise.
5567         * timezone/northamerica: Likewise.
5568         * timezone/southamerica: Likewise.
5569         * timezone/zone.tab: Likewise.
5571 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
5573         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
5574         and dir.stream is NULL, only free dir.content.
5575         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
5576         * io/ftwtest-sh: Test with --early-exit.
5578 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
5580         * misc/efgcvt.c (FCVT_MAXDIG): Define.
5581         (FCVT_BUFPTR): New variable.
5582         (fcvt): If fcvt_r returns -1 on the static short buffer,
5583         try to malloc a sufficiently large one and retry.
5584         (free_mem): New function.
5585         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
5586         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
5588 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
5590         * misc/dirname.c (dirname): Fix search for second to last slash.
5592 2000-12-13  Andreas Jaeger  <aj@suse.de>
5594         * misc/tst-dirname.c (main): Fix typo in test to really use
5595         the examples from Unix98.
5596         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
5598 2000-12-09  H.J. Lu  <hjl@gnu.org>
5600         * sysdeps/ia64/fpu/s_fabs.S: New file.
5601         * sysdeps/ia64/fpu/s_fabsf.S: New file.
5602         * sysdeps/ia64/fpu/s_fabsl.S: New file.
5604 2000-12-15  Andreas Jaeger  <aj@suse.de>
5606         * stdio-common/scanf9.c (main): Reformat and change to avoid
5607         warnings.
5609         * stdio-common/tstdiomisc.c: Make local functions static.
5610         * stdio-common/tst-printf.c: Likewise.
5612         * elf/constload2.c: Add prototype declarations to shut up gcc.
5613         * elf/dep1.c: Likewise.
5614         * elf/dep2.c: Likewise.
5615         * elf/dep3.c: Likewise.
5616         * elf/dep4.c: Likewise.
5617         * elf/ltglobmod2.c: Likewise.
5619         * libio/fmemopen.c: Make local functions static.
5621         * elf/Makefile (distribute): Added testobj.h.
5623         * elf/testobj.h: New file.
5625         * elf/testobj1.c: Include testobj.h and move prototype
5626         declarations to testobj.h.
5627         * elf/testobj2.c: Likewise.
5628         * elf/testobj3.c: Likewise.
5629         * elf/testobj4.c: Likewise.
5630         * elf/testobj5.c: Likewise.
5631         * elf/testobj6.c: Likewise.
5632         * elf/testobj1_1.c: Likewise.
5633         * elf/preloadtest.c: Likewise.
5635 2000-12-15  Ben Collins  <bcollins@debian.org>
5637         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
5638         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
5640 2000-12-14  H.J. Lu  <hjl@gnu.org>
5642         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
5643         field in a float is 8 bits, not 11 bits.
5645 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
5647         * math/test-misc.c (main): Adjust m for IEEE quad long double.
5649 2000-12-13  Andreas Jaeger  <aj@suse.de>
5651         * manual/message.texi (Using gettextized software): Fix typo.
5653         * manual/charset.texi (Converting a Character): Fix mbstouwcs
5654         program to compile.
5655         Patch by Martin Buchholz <martin@xemacs.org>.
5657         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
5658         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
5660 2000-12-11  Andreas Jaeger  <aj@suse.de>
5662         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
5663         kernel_sigset_t and use it.
5664         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
5666 2000-12-10  Richard Henderson  <rth@redhat.com>
5668         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
5669         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
5670         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
5672 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
5674         * sysdeps/alpha/htonl.S: Fix a typo.
5676 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
5678         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
5680 2000-12-10  Andreas Jaeger  <aj@suse.de>
5682         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
5683         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
5684         Drepper <drepper@redhat.com>.
5686 2000-12-09  Andreas Jaeger  <aj@suse.de>
5688         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
5690         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
5691         generic version.
5692         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
5694         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
5695         string.
5697         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
5698         format string.
5700         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
5701         * nscd/connections.c (handle_request): Likewise.
5702         * nscd/pwdcache.c (addpwbyname): Likewise.
5703         * nscd/grpcache.c (addgrbyname): Likewise.
5705         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
5707 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
5709         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
5711         * Makeconfig (default_cflags): Make -O2 the default for stable
5712         releases.
5714 2000-12-08  H.J. Lu  <hjl@gnu.org>
5716         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
5717         * sysdeps/ia64/fpu/s_isinf.S: This.
5718         Add a .pred.rel.mutex note to avoid false report.
5720         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
5721         * sysdeps/ia64/fpu/s_isnan.S: This.
5723         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
5724         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
5725         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
5726         * sysdeps/ia64/fpu/s_isinff.S: New file.
5727         * sysdeps/ia64/fpu/s_isinfl.S: New file.
5728         * sysdeps/ia64/fpu/s_isnanf.S: New file.
5729         * sysdeps/ia64/fpu/s_isnanl.S: New file.
5730         * sysdeps/ia64/fpu/s_finite.S: New file.
5731         * sysdeps/ia64/fpu/s_finitef.S: New file.
5732         * sysdeps/ia64/fpu/s_finitel.S: New file.
5733         * sysdeps/ia64/fpu/s_signbit.S: New file.
5734         * sysdeps/ia64/fpu/s_signbitf.S: New file.
5735         * sysdeps/ia64/fpu/s_signbitl.S: New file.
5736         * sysdeps/ia64/fpu/s_copysign.S: New file.
5737         * sysdeps/ia64/fpu/s_copysignf.S: New file.
5738         * sysdeps/ia64/fpu/s_copysignl.S: New file.
5740 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
5742         * math/libm-test.inc (main): Fix typos in messages.
5744         * string/stratcliff.c: Add test for rawmemchr.
5746 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
5748         * elf/dl-open.c (_dl_open): If objname points right after errstring,
5749         allocate it together with errstring using alloca.
5750         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
5751         to "", because it might point to local stack.
5753 2000-12-05  H.J. Lu  <hjl@gnu.org>
5755         * nss/Makefile (routines): Add getnssent and getnssent_r.
5756         * nss/nsswitch.h (__nss_setent): New internal NSS function.
5757         (__nss_endent): Likewise.
5758         (__nss_getent_r): Likewise.
5759         (__nss_getent): Likewise.
5760         * nss/getnssent_r.c: New file.
5761         * nss/getnssent.c: New file.
5762         * nss/getXXent.c (H_ERRNO_VAR): Updated.
5763         (GETFUNC_NAME): Updated to call __nss_getent ().
5764         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
5765         (STAYOPEN_TMPVAR): Updated.
5766         (STAYOPEN_VAR): Updated.
5767         (SETFUNC_NAME): Updated to call __nss_setent ().
5768         (ENDFUNC_NAME): Updated to call __nss_endent ().
5769         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
5771 2000-12-08  Andreas Jaeger  <aj@suse.de>
5773         * nscd/dbg_log.h (dbg_log): Correct attribute.
5775 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
5777         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
5778         cp + len.  Compute where from dirname.
5779         Reported by <jreiser@BitWagon.com>.
5781 2000-12-08  Richard Henderson  <rth@twiddle.net>
5783         * sysdeps/alpha/_mcount.S: Fix typo.
5784         * sysdeps/alpha/strncpy.S: Likewise.
5786         * sysdeps/alpha/alphaev6/Implies: New file.
5787         * sysdeps/alpha/alphaev67/Implies: New file.
5788         * sysdeps/alpha/alphaev67/ffs.S: New file.
5789         * sysdeps/alpha/alphaev67/ffsll.S: New file.
5790         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
5791         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
5792         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
5793         * sysdeps/alpha/rawmemchr.S: New file.
5794         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
5795         * sysdeps/alpha/strcpy.S: Likewise.
5797         From GMP 3.1.1:
5798         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
5800         From rick.gorton@alpha-processor.com:
5801         * sysdeps/alpha/alphaev6/memchr.S: New file.
5802         * sysdeps/alpha/alphaev6/memcpy.S: New file.
5803         * sysdeps/alpha/alphaev6/memset.S: New file.
5804         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
5805         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
5806         * sysdeps/alpha/alphaev67/strcat.S: New file.
5807         * sysdeps/alpha/alphaev67/strchr.S: New file.
5808         * sysdeps/alpha/alphaev67/strlen.S: New file.
5809         * sysdeps/alpha/alphaev67/strncat.S: New file.
5810         * sysdeps/alpha/htonl.S: Use a shorter sequence.
5812 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
5814         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
5815         Reported by <pspencer@fields.utoronto.ca>.
5817 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
5819         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
5820         Pointed out by Hans Boehm.
5822 2000-12-07  H.J. Lu  <hjl@gnu.org>
5824         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
5826 2000-12-07  Andreas Jaeger  <aj@suse.de>
5828         * misc/error.c: Add format attributes for __error and __error_at_line.
5830         * nscd/dbg_log.h: Add format attribute.
5832 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
5834         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
5835         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
5837 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
5839         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
5841 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
5843         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
5844         (sysdep_routines): Add uitrunc.
5845         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
5846         Patches by Michael Keezer <mkeezer@redhat.com>.
5848 2000-12-06  Roland McGrath  <roland@frob.com>
5850         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
5851         argument data, since it will be used to copy out too (for INOUT).
5852         Reported by Marcus Brinkmann <marcus@gnu.org>.
5854         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
5855         (__ioctl): Use uintptr_t instead of unsigned long int.
5857 2000-12-06  Jim Wilson  <wilson@redhat.com>
5859         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
5861 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
5863         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
5864         x.5 rounding correctly.
5866 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
5868         * stdio-common/perror.c (perror): Conditionalize code dealing with
5869         wide-oriented streams on USE_IN_LIBIO.
5871 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
5873         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
5874         as internal_function.
5876 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
5878         * sysdeps/alpha/elf/start.S (__data_start): Define.
5880 2000-12-05  H.J. Lu  <hjl@gnu.org>
5882         * nss/getXXent_r.c (setup): Change the return type to int.
5884 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
5886         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
5887         (sysdep_routines): Add restf and savef.
5888         * sysdeps/unix/sysv/aix/restf.c: New file.
5889         * sysdeps/unix/sysv/aix/savef.c: New file.
5890         Patches by Michael Keezer <mkeezer@redhat.com>.
5892         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
5893         if O_DIRECTORY is not defined.
5894         Patch by Michael Keezer <mkeezer@redhat.com>.
5896         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
5897         Patch by Michael Keezer <mkeezer@redhat.com>.
5899         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
5900         than 4 bytes in escape sequence.
5901         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5903 2000-12-05  Andreas Jaeger  <aj@suse.de>
5905         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
5906         set mips2.
5908         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
5910         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
5912         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
5913         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
5915         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
5916         internal_function.
5917         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
5918         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
5920         * sysdeps/generic/dl-cache.c: Remove declaration of
5921         _dl_sysdep_read_whole_file.
5923         * elf/dl-load.c (_dl_map_object): Remove declaration of
5924         _dl_load_cache_lookup.
5926         * sysdeps/generic/ldsodefs.h: Add declarations of
5927         _dl_load_cache_lookup, _dl_unload_cache,
5928         _dl_sysdep_read_whole_file, _dl_sysdep_start and
5929         _dl_sysdep_start_cleanup.
5931         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
5932         now.
5934         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
5935         * sysdeps/generic/dl-environ.c: Likewise.
5937         * stdio-common/printf_fp.c: Include <gmp.h> instead of
5938         <stdlib/gmp.h>.
5939         * math/atest-exp.c: Likewise.
5940         * math/atest-exp2.c: Likewise.
5941         * math/atest-sincos.c: Likewise.
5942         * stdio-common/_itoa.c: Likewise.
5943         * stdio-common/_itowa.c: Likewise.
5945         * include/gmp.h: New file with internal prototypes.
5947         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
5948         here to...
5949         * include/setjmp.h: ...here.
5951         * locale/Makefile (routines): Remove codeset_name since it's not
5952         needed anywhere.
5954         * locale/codeset_name.c: Removed.
5956 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
5958         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
5960 2000-12-05  Andreas Jaeger  <aj@suse.de>
5962         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
5964 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
5966         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
5967         available.
5969 2000-12-05  Andreas Jaeger  <aj@suse.de>
5971         * nss/test-netdb.c: Mark local functions as static to avoid
5972         warnings.
5973         (main): Use return to silence warning.
5975         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
5977         * stdio-common/test-popen.c: Mark local functions as static to
5978         avoid warnings.
5979         (main): Use return to silence warning.
5981         * stdlib/testsort.c (compare): Mark as static to avoid warning.
5983         * assert/test-assert.c: Mark local functions as static to avoid
5984         warnings.
5985         * assert/test-assert-perr.c: Likewise.
5987         * math/libm-test.inc (main): Use return to silence warnings.
5989 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
5991         * math/fenv.h: Fix typo in comment.
5993         * math/test-misc.c (main): Add a few more over and underflow tests
5994         for scalb.
5996         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
5997         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5998         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5999         * math/w_scalb.c: Don't use matherr except in SVID mode.
6000         * math/w_scalbf.c: Likewise.
6001         * math/w_scalbl.c: Likewise.
6002         * math/test-misc.c: Add test for NaN and scalbl.
6003         Reported by Fred J. Tydeman <tydeman@tybor.com>.
6005 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
6007         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
6008         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
6009         * include/libc-symbols.h (strong_alias): Define special version
6010         for HAVE_ASM_GLOBAL_DOT_NAME.
6011         (weak_alias): Likewise.
6012         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
6013         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
6014         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
6015         getutxline, pututxline, and utmpxname.
6016         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
6017         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
6018         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
6019         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
6020         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
6021         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
6022         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
6023         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
6024         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
6025         Patches by Michael Keezer <mkeezer@redhat.com>.
6027 2000-12-04  H.J. Lu  <hjl@gnu.org>
6029         * configure.in: Change --with-oldest-abi=ABI to
6030         --enable-oldest-abi=ABI.
6032 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
6034         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
6035         fwprintf instead of fprintf.
6037 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
6039         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
6040         DECIMAL_DIG definitions.
6041         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
6042         * sysdeps/generic/bits/mathdef.h: Likewise
6043         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
6044         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
6045         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
6046         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
6047         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
6048         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
6050 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
6052         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
6054         * math/atest-exp.c: Mark local functions as static to avoid warnings.
6055         * math/atest-exp2.c: Likewise.
6056         * math/atest-sincos.c: Likewise.
6058         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
6059         Reported by Fred J. Tydeman <tydeman@tybor.com>.
6061         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
6062         the handling of denormalized numbers.
6064         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
6065         numbers on x86.
6066         * sysdeps/i386/fpu/fpclassifyl.c: New file.
6068         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
6069         pseudo denormal representation of LDBL_MIN.
6071         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
6072         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
6074         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
6075         * iconvdata/jis0208.c: Likewise.
6076         * iconvdata/jis0212.c: Likewise.
6077         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6079         * math/test-misc.c (main): More tests for frexp and some for
6080         fpclassify and isnormal.
6082         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
6083         test for subnormal.
6084         Reported by Fred J. Tydeman <tydeman@tybor.com>.
6086         * math/test-misc.c (main): Add tests for frexp.
6087         Reported by Fred J. Tydeman <tydeman@tybor.com>.
6088         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
6090 2000-12-02  H.J. Lu  <hjl@gnu.org>
6092         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
6093         '\0' to wcschr.
6095 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
6097         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
6098         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6099         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6101         * sysdeps/generic/glob.c: Adjust types of several variables to
6102         avoid warnings.
6104 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
6106         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
6108 2000-11-30  Roland McGrath  <roland@frob.com>
6110         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
6111         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
6112         allow multiple instances using the same function name in one file.
6114 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
6116         * configure.in: Correct test for pserver CVS access.
6118 2000-11-28  H.J. Lu  <hjl@gnu.org>
6120         * libio/libio.h: Remove extra "#if ... #endif".
6122 2000-11-29  H.J. Lu  <hjl@gnu.org>
6124         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
6126 2000-12-01  H.J. Lu  <hjl@gnu.org>
6128         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
6129         * nss/getXXent_r.c: Likewise.
6130         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6132 2000-11-30  H.J. Lu  <hjl@gnu.org>
6134         * scripts/abi-versions.awk (oldest_abi): New variable.
6135         Handle the oldest ABI supported.
6137         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
6138         for scripts/abi-versions.awk.
6140         * configure.in: Add --with-oldest-abi=ABI.
6141         * configure: Rebuild.
6143         * config.make.in (oldest-abi): New.
6145         * config.h.in (GLIBC_OLDEST_ABI): New.
6147         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
6149 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
6151         * locale/setlocale.c (setname): Free for all categories, not just
6152         LC_ALL.
6153         (setlocale): Store a copy of string passed by user, not the string
6154         itself.
6156 2000-11-30  Roland McGrath  <roland@frob.com>
6158         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
6159         rather than _hurd_fd_subinit, so it happens after it's safe to use
6160         libc facilities like malloc.
6162 2000-11-28  Andreas Jaeger  <aj@suse.de>
6164         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
6165         declaration, adjust declaration of __syscall_getdents to match
6166         kernel.
6168 2000-11-29  H.J. Lu  <hjl@gnu.org>
6170         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
6172 2000-11-29  Andreas Jaeger  <aj@suse.de>
6174         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
6176 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
6178         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
6179         * dlfcn/defaultmod2.c: Likewise.
6180         * dlfcn/dlopen.c: Likewise.
6181         * dlfcn/dlopenold.c: Likewise.
6182         * dlfcn/failtestmod.c: Likewise.
6183         * dlfcn/glreflib1.c: Likewise.
6184         * dlfcn/glreflib2.c: Likewise.
6185         * dlfcn/eval.c: Likewise.  Add attributes.
6187         * ctype/ctype-extn.c: Define isblank and not __isblank.
6189         * time/strftime.c: Add const where necessary to avoid warnings.
6190         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
6192 2000-11-22  Paul Eggert  <eggert@twinsun.com>
6194         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
6195         size of (size_t) -1; it's not portable.
6197 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
6199         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
6200         crappy i486 FPU.
6201         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
6203 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
6205         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
6207         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
6208         _mcount is required by profiled binaries.
6210         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
6211         * sysdeps/ia64/machine-gmon.h: ...here.
6213 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
6215         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
6216         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
6217         and ibm1129.h.
6218         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
6219         IBM1129.
6220         * iconvdata/ibm922.c: New file.
6221         * iconvdata/ibm922.h: New file.
6222         * iconvdata/ibm1124.c: New file.
6223         * iconvdata/ibm1124.h: New file.
6224         * iconvdata/ibm1129.c: New file.
6225         * iconvdata/ibm1129.h: New file.
6226         * iconvdata/testdata/IBM922: New file.
6227         * iconvdata/testdata/IBM922..UTF8: New file.
6228         * iconvdata/testdata/IBM1124: New file.
6229         * iconvdata/testdata/IBM1124..UTF8: New file.
6230         * iconvdata/testdata/IBM1129: New file.
6231         * iconvdata/testdata/IBM1129..UTF8: New file.
6233 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
6235         * catgets/gencat.c (normalize_line): Take extra parameter with escape
6236         character.  Change callers.
6237         (open_conversion): Determine mapping of 0x5c as wchar_t value.
6238         * catgets/Makefile: Add rules to build and run test-gencat.
6239         * catgets/sample.SJIS: New file.
6240         * catgets/test-gencat.c: New file.
6241         * catgets/test-gencat.sh: New file.
6242         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6244 2000-11-28  Andreas Jaeger  <aj@suse.de>
6246         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
6247         Linux version.
6249 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
6251         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
6253 2000-11-28  Andreas Jaeger  <aj@suse.de>
6255         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
6256         __flexarr.
6257         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
6258         Likewise.
6260 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
6262         * misc/getusershell.c: Make strings in okshells array const.
6263         * misc/regexp.c: Add const to cast to avoid warnings.
6264         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
6265         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
6266         __setresuid.
6267         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
6268         setresgid.
6269         * misc/error.c: Add prototypes for __error and __error_at_line.
6270         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
6271         statement to avoid warning.
6272         * test-skeleton.c: Mark timeout_handler with noreturn.
6273         * iconv/skeleton.c (get16u): Add const to cast.
6274         (get32u): Likewise.
6275         * iconvdata/gb18030.c: Likewise.
6276         * iconvdata/iso-2022-cn-ext.c: Likewise.
6277         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
6278         * iconvdata/big5.c: Likewise.
6279         * iconvdata/big5hkscs.c: Likewise.
6280         * iconvdata/iso_6937.c: Likewise.
6281         * iconvdata/iso_6937-2.c: Likewise.
6282         * iconvdata/t.61.c: Likewise.
6283         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
6284         * iconvdata/unicode.c: Likewise.
6285         * iconvdata/utf-16.c: Likewise.
6286         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
6287         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
6288         with little code shuffling.
6290         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
6291         the problems introduced when the user selects -O3.
6293         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
6294         * misc/sys/cdefs.h: Define __flexarr.
6295         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
6297         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
6298         * iconv/skeleton.c: Likewise.
6299         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
6300         * iconv/loop.c (get16): Add const to cast.
6301         (get32): Likewise.
6303 2000-11-27  Andreas Jaeger  <aj@suse.de>
6305         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
6306         to avoid warning.
6307         * login/programs/utmpdump.c (print_entry): Likewise.
6309 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
6311         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
6312         in a single asm as they may be used to access other stored
6313         registers.
6314         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
6316 2000-11-27  Andreas Jaeger  <aj@suse.de>
6318         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
6319         * rt/tst-aio64.c: Likewise.
6321 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
6323         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
6324         for gencat run.
6325         (libc.cat): Likewise.
6326         * catgets/gencat.c: Implement handling of message catalogs encoded
6327         with stateful character sets.
6328         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6330 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
6332         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
6334         * inet/getnameinfo.c: Adjust casts to avoid warnings.
6335         * inet/rcmd.c: Likewise.
6336         * inet/ruserpass.c: Likewise.
6337         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
6338         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6339         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
6340         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
6341         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
6342         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
6343         * include/aliases.h: Add prototypes for internal __getalias* functions.
6344         * include/netdb.h: Add prototypes for __old_gethostent_r,
6345         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
6346         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
6347         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
6348         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
6349         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
6350         __old_getrpcbynumber_r, __old_getrpcent_r.
6352         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
6353         __getrpcent_r prototypes.
6355 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
6357         * string/strcoll.c: Add casts to avoid warnings.
6358         * string/strnlen.c: Likewise.
6359         * string/strxfrm.c: Likewise.
6360         * sysdeps/generic/_strerror.c: Likewise.
6361         * sysdeps/generic/memrchr.c: Likewise.
6362         * sysdeps/generic/strcasestr.c: Likewise.
6363         * sysdeps/generic/strstr.c: Likewise.
6365         * locale/weight.h (findidx): Add const to cast to avoid warning.
6367         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
6368         * elf/loadtest.c: Likewise.
6369         * elf/multiload.c: Likewise.
6370         * elf/next.c: Likewise.
6371         * elf/nodelete.c: Likewise.
6372         * elf/noload.c: Likewise.
6373         * elf/order.c: Likewise.
6374         * elf/origtest.c: Likewise.
6375         * elf/preloadtest.c: Likewise.
6376         * elf/restest1.c: Likewise.
6378         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
6379         parameter of asm must be in %ecx.
6381         * string/tester.c: Mark test functions as static to avoid warnings.
6383         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
6384         preserve value over different gconv-modules files.
6386 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
6388         * locale/findlocale.c: Add casts to avoid warnings.
6389         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
6390         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
6391         to avoid warnings.
6392         * misc/tsearch.c (const_node): New type.
6393         (trecurse): Correct casts to avoid warnings.
6394         (__twalk): Likewise.
6395         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
6396         LONG_BIT.
6398         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
6400         * test-skeleton.c: Mark local functions as static to avoid warnings.
6402 2000-11-23  H.J. Lu  <hjl@gnu.org>
6404         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
6405         support the background job.
6406         Fix a typo.
6408 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
6410         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
6411         has same names but lower cost.
6413 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
6415         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
6416         which never occur during bootstrap.
6417         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6419 2000-11-23  Andreas Jaeger  <aj@suse.de>
6421         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
6423         * nss/Versions: Remove _nss_files_getipnodebyname_r.
6425         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
6427 2000-11-18  Martin Buchholz  <martin@xemacs.org>
6429         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
6430         (called++) return;'
6432 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
6434         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
6436         * csu/abi-note.S: Correct comment for operating system number.
6438 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
6440         * Versions.def: Add GLIBC_2.2.1 for glibc.
6442 2000-11-22  Andreas Schwab  <schwab@suse.de>
6444         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
6445         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
6447 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
6449         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
6450         absolute time for pthread_cond_timedwait call.
6451         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
6453         * rt/Makefile (tests): Add tst-aio6.
6454         * rt/tst-aio6.c: New file.
6456 2000-11-23  Andreas Jaeger  <aj@suse.de>
6458         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
6460 2000-11-22  Andreas Jaeger  <aj@suse.de>
6462         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
6464 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
6466         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
6468 2000-11-21  Andreas Schwab  <schwab@suse.de>
6470         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
6471         * sysdeps/arm/setjmp.S: Likewise.
6472         * sysdeps/arm/fpu/setjmp.S: Likewise.
6473         * sysdeps/i386/setjmp.S: Likewise.
6474         * sysdeps/i386/elf/setjmp.S: Likewise.
6475         * sysdeps/s390/setjmp.S: Likewise.
6476         * sysdeps/s390/elf/setjmp.S: Likewise.
6477         * sysdeps/sh/sh3/setjmp.S: Likewise.
6478         * sysdeps/sh/sh4/setjmp.S: Likewise.
6479         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
6480         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6481         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
6482         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
6484 2000-11-21  Andreas Jaeger  <aj@suse.de>
6486         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
6487         NORETURN, fix parameter list.
6489         * string/bug-strncat1.c (main): Fix typo.
6490         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
6492 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
6494         * configure.in: Add --enable-all-warnings.
6495         * config.make.in (all-warnings): New variable.
6496         * Makeconfig (+gccwarn): Define with many more warnings if
6497         all-warnings is yes.
6499 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
6501         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
6502         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
6503         * malloc/tst-valloc.c (main): Cast valloc return value to long.
6504         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
6505         * math/test-fpucw.c (main): Use %lx in format string, cast
6506         control words to long.
6507         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
6508         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
6509         large that it is unsigned warning.
6511         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
6512         it to long on sparc64.
6514 2000-11-20  Andreas Jaeger  <aj@suse.de>
6516         * nscd/nscd.h (termination_handler): Add noreturn attribute.
6517         (receiv_print_stats): Likewise.
6519         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
6521 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
6523         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
6525         * csu/gmon-start.c: Always have prototype for __gmon_start.
6526         * csu/version.c: Add prototypes for __libc_print_version and
6527         __libc_main.
6528         * iconv/gconv.c: Include gconv_int.h and gconv.h.
6529         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
6530         and __to_name.
6531         * iconv/gconv_builtin.h: Add ASCII module definitions.
6532         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
6533         (add_module): Add cast to avoid warning.  Rework construction of
6534         strings for new module.
6535         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
6536         (derivation_compare): Likewise.
6537         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
6538         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
6539         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
6540         (struct gconv_alias): Remove const from fromname and toname.
6541         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
6542         for loop functions.
6543         (internal_ucs4_loop): Use correct const-ness.
6544         (ucs4_internal_loop): Likewise.
6545         (internal_ucs4le_loop): Likewise.
6546         (ucs4le_internal_loop_single): Likewise.
6547         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
6548         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
6549         assignments appropriately.
6550         (struct known_trans): Remove const from fname.
6551         (trans_compare): Make s1 and s2 const.
6552         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
6553         avoid warning.
6554         * iconv/skeleton.c: Remove cast in calls of loop functions.
6555         * iconvdata/gconv-modules: Remove US-ASCII definitions.
6556         * iconvdata/iso646.c: Remove US_ASCII support.
6557         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
6558         * include/unistd.h: Add __libc_check_standard_fds prototype.
6559         * string/bits/string2.h (__mempcpy_args): Add const to casts.
6560         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
6561         _fini.
6562         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
6563         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
6564         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
6565         warning.
6566         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
6567         __libc_init_first and _dl_start.
6568         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
6569         (DCIGETTEXT): Make domaindata variable const.
6570         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
6571         to avoid warning.
6573 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
6575         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
6577         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
6578         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
6579         __unused? members.
6581         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
6582         value defined in /usr/include/asm-mips/fcntl.h.
6584 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
6586         * stdio-common/Makefile (tests): Add test-vfprintf.
6587         (test-vfprintf-ENV): New variable.
6588         * stdio-common/test-vfprintf.c: New file.
6590         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
6592         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
6593         (tst-mbrtowc-ENV): New variable.
6594         (tst-wcrtomb-ENV): New variable.
6595         * wcsmbs/tst-mbrtowc.c: New file.
6596         * wcsmbs/tst-wcrtomb.c: New file.
6598 2000-11-16  Andreas Jaeger  <aj@suse.de>
6600         * manual/install.texi (Tools for Compilation): Update
6601         documentation for GCC 2.95.2.
6603 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
6605         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
6606         if IPv4 and IPv6 requests timed out.
6608 2000-11-18  Akim Demaille  <akim@epita.fr>
6610         * malloc/obstack.h: Formatting changes.
6611         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
6612         prevents type checking.
6613         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
6614         cast the value to (void *): assigning a `foo *' to a `void *'
6615         variable is valid.
6616         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
6618 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
6620         * scripts/config.guess: Update from upstream maintainer.
6621         * scripts/config.sub: Likewise.
6623 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
6625         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
6626         * libio/freopen64.c (freopen64): Likewise.
6627         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6629         * libio/Makefile: Add rules to build and run test-freopen.
6630         * libio/test-freopen.c: New file.
6631         * libio/test-freopen.sh: New file.
6633 2000-11-15  H.J. Lu  <hjl@gnu.org>
6635         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
6636         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
6637         (DL_DT_FINI_ADDRESS): Likewise.
6639         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
6640         return type to ElfW(Addr).
6641         (_dl_function_address): New prototype.
6642         (DL_FUNCTION_ADDRESS): Defined.
6643         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
6644         (DL_DT_FINI_ADDRESS): Likewise.
6646         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
6648         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
6649         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
6651         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
6652         (_dl_function_address): This.
6654         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
6655         function pointer for DT_FINI.
6656         * elf/dl-close.c (_dl_close): Likewise.
6658         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
6659         function pointer for DT_INIT.
6661 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
6663         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
6664         end of wexpbuf buffer.
6666 2000-11-16  Andreas Jaeger  <aj@suse.de>
6668         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
6669         definition of F_GETLK, F_SETLK, F_SETLKW.
6671 2000-11-16  Andreas Jaeger  <aj@suse.de>
6673         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
6674         it's not defined.
6676 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
6678         * dlfcn/default.c (main): Add test for dladdr of main returning
6679         argv[0] in dli_fname field.
6681 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
6683         * Makeconfig (run-program-prefix): Move test-static test into the
6684         variable.
6686         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
6687         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
6688         schedule instructions.
6689         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
6690         schedule instructions, fix a bug in copying auxiliary data.
6692 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
6694         * manual/startup.texi (Program Arguments): Fix type of main's envp
6695         parameter.
6696         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
6698         * iconvdata/gconv-modules: Add CP950 alias.
6700 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
6702         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
6703         syscall-list.h goal.
6704         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
6706 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
6708         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
6710         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
6711         output of program.
6713         * intl/tst-gettext2.c: Set C locale if setting other locale
6714         failed.  Use gettext() not _().
6716         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
6717         successfully loaded a new locale.
6719 2000-11-13  Andreas Jaeger  <aj@suse.de>
6721         * configure.in: Require gcc 2.95 or newer.
6723 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
6725         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
6726         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
6728 2000-11-11  Jim Meyering  <meyering@lucent.com>
6730         * string/strndup.c (strndup): Cast return value to `char *'.
6732 2000-11-15  Jim Meyering  <meyering@ascend.com>
6734         * sysdeps/generic/memchr.c: Remove some useless parentheses.
6735         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
6736         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
6737         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
6738         Also #undef __memchr.
6739         Use `weak_alias' only if it's defined.
6741 2000-11-10  H.J. Lu  <hjl@gnu.org>
6743         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
6745 2000-11-15  Andreas Jaeger  <aj@suse.de>
6747         * elf/chroot_canon.c: Include <stdint.h>.
6749         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
6750         (print_entry): Likewise.
6751         (add_to_cache): Likewise.
6753         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
6755         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
6756         (path_hwcap): Likewise.
6757         (search_dir): Likewise.
6759         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
6761         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
6763         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
6764         (_dl_platform_string): New.
6765         (_DL_HWCAP_PLATFORM): New.
6766         (_dl_string_platform): New.
6767         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
6769         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
6770         (_dl_string_platform): New.
6771         (_DL_HWCAP_PLATFORM): New.
6772         (_dl_platform_string): New.
6774         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
6775         recognition.
6776         (_DL_HWCAP_COUNT): New.
6777         (_dl_string_platform): New.
6778         (_DL_HWCAP_PLATFORM): New.
6779         (_dl_platform_string): New.
6781 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
6783         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
6785 2000-11-14  Andreas Jaeger  <aj@suse.de>
6787         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
6789 2000-11-13  Roland McGrath  <roland@frob.com>
6791         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
6793 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
6795         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
6796         underrun and make sure the result is null terminated even if there
6797         is no trailing newline.
6799 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
6801         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6803 2000-11-10  H.J. Lu  <hjl@gnu.org>
6805         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
6807 2000-11-10  Andreas Jaeger  <aj@suse.de>
6809         * elf/ldconfig.c (create_links): Fix alloca calculation.
6810         Patch by Ben Collins <bcollins@debian.org>.
6812 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
6814         * inet/getnameinfo.c (getnameinfo): Use correct destination
6815         parameter for if_indextoname.
6816         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
6818 2000-11-09  H.J. Lu  <hjl@gnu.org>
6820         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
6821         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
6822         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
6823         xdr_keystatus.
6825         * time/Versions (GLIBC_2.1): Move getitimer to...
6826         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
6828 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
6830         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
6831         "make install", to work around a binary incompatibility between
6832         glibc 2.1 and glibc 2.2 gconv modules.
6834 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
6836         * intl/locale.alias: Add thai.
6837         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
6839 2000-11-07  Akim Demaille  <akim@epita.fr>
6841         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
6842         argument `data' for consistency with the prototypes.
6843         Qualify it `const'.
6844         (obstack_copy, obstack_copy0): Rename the second argument as
6845         `address' for consistency.  Qualify it `const'.
6846         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
6847         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
6848         `const' their input argument (`data' or `address').
6849         Adjust the corresponding macros to include `const' in casts.
6851 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6853         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
6854         target family.
6856 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6858         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
6859         socket creation.
6861 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6863         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
6864         ai_protocol by internal table if service was not given.
6866 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6868         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
6869         numerical port was specified with protocol without socktype.
6871 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6873         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
6875 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6877         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
6879 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6881         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
6882         sin6_scope_id field.
6884 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6886         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
6888 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6890         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
6892 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6894         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
6895         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
6897 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
6899         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
6900         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
6902 2000-11-09  H.J. Lu  <hjl@gnu.org>
6904         * io/Versions (GLIBC_2.1.1): Remove lockf64.
6907 See ChangeLog.11 for earlier changes.