* sysdeps/m68k/fpu/libm-test-ulps: Update.
[glibc.git] / ChangeLog
blob7cb12be1c7c0efaa0f022312ed744703dfe5de19
1 2001-04-20  Andreas Schwab  <schwab@suse.de>
3         * sysdeps/m68k/fpu/libm-test-ulps: Update.
5 2001-04-19  Alan Modra  <amodra@one.net.au>
7         * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
8         * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
9         (CFLAGS-.os): Remove.
11         * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
13         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
14         gregset): Correct for new kernel definitions.
16 2001-04-19  Alan Modra  <alan@linuxcare.com.au>
18         * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
19         generate unwind info by hand.
21 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
23         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
25         * configure.in: Correct regular expression for msgfmt.
26         Patch by Bruno Haible <haible@ilog.fr>.
28 2001-04-19  Andreas Jaeger  <aj@suse.de>
30         * po/el.po: Add comment explaining what's broken.
32         * po/Makefile (BROKEN_LINGUAS): New.
33         (ALL_LINGUAS): Don't add broken languages.
35 2001-04-19  Roland McGrath  <roland@frob.com>
37         * sysdeps/mach/hurd/mlock.c: New file.
38         * sysdeps/mach/hurd/munlock.c: New file.
39         * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
41         * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
42         * sysdeps/generic/mlock.c: New file.
43         * sysdeps/generic/munlock.c: New file.
44         * sysdeps/generic/mlockall.c: New file.
45         * sysdeps/generic/munlockall.c: New file.
46         * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
47         * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
48         mlockall, munlockall): Change caller field to - from EXTRA.
49         Don't use __ names; not used (and not declared in include/sys/mman.h).
51         * hurd/privports.c (__get_privileged_ports): Renamed with __.
52         Use __ names for calls we make.
53         (get_privileged_ports): Add alias.
54         * hurd/hurd.h: Declare it with the __ name.
55         * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
56         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
57         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
59         * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
60         nothing if it's zero.
62 2001-04-19  Matthew Wilcox  <willy@ldl.fc.hp.com>
64         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
65         Change to return a signed result for compatibility with other
66         architectures, and correctness.
68 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
70         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
71         HPPA always had them.  Patch by Matthew Wilcox <matthew@wil.cx>.
73 2001-04-19  Andreas Jaeger  <aj@suse.de>
75         * configure.in: Require gettext 0.10.36 or newer.
77         * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
79         * po/zh_TW.po: Remove extraneous backslashes.
81         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
82         variables b and n.
84 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
86         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
87         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
88         * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
89         * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
90         Copy first word of uc_sigmask into __uc_sigmask.
91         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
92         Save uc_link around trap. Copy __uc_sigmask into first word of
93         uc_sigmask, clear the rest. Make sure setcontext to the created
94         context doesn't do this though.
95         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
96         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
97         uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
98         64bit version, make uc_sigmask __sigset_t in the 32bit version.
100 2001-04-19  Andreas Jaeger  <aj@suse.de>
102         * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
104         * rt/Makefile (otherlibs): Added for static NSS.
106         * glibcbug.in (BUGGLIBC): Send to new alias.
108 2001-04-02  Andreas Schwab  <schwab@suse.de>
110         * Makerules (build-module): Make sure exit codes get checked
111         properly and remove unnecessary slashes.
113 2001-04-17  Ulrich Drepper  <drepper@redhat.com>
115         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
116         Handle kernels which report only three digits after the decimal point.
117         Reported by Van Okamura <van.okamura@oracle.com>.
119         * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
121 2001-04-17  David S. Miller  <davem@redhat.com>
123         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
124         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
126 2001-04-17  Jakub Jelinek  <jakub@redhat.com>
128         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
129         desired exceptions are raised for exceptional values.
130         * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
131         cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
132         clog_test, log_test, log1p_test, tan_test): Increase precision of
133         expected values to satisfy ldbl-128.
134         * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
135         * sysdeps/arm/libm-test-ulps: Likewise.
136         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
137         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
138         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
139         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
140         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
141         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
142         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
143         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
144         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
146 2001-04-17  Andreas Jaeger  <aj@suse.de>
148         * configure.in: Move test for critical programs up.
150 2001-04-16  Stephen L Moshier  <moshier@mediaone.net>
152         * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
153         Correct the values. (pSx, qSx): Replace by shorter approximation.
154         Use f suffix on float constants.
156 2001-04-16  Ulrich Drepper  <drepper@redhat.com>
158         * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
159         Contributed by Stephen L Moshier <moshier@mediaone.net>.
161         * string/string.h: Replace const in attribute list with __const__.
163 2001-04-16  Roland McGrath  <roland@frob.com>
165         * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
166         instead of the constant NGROUPS_MAX.  That way, the limit can be
167         raised in the kernel configuration without having to recompile libc.
169         * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
170         define NGROUPS_MAX; we don't use it here.
172 2001-04-16  Andreas Jaeger  <aj@suse.de>
174         * math/libm-test.inc (atan2_test): Add more testcases.
176         * iconv/gconv_db.c: Include gconv_charset.h for
177         __gconv_lookup_alias prototype.
179 2001-04-13  Ulrich Drepper  <drepper@redhat.com>
181         * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
182         Contributed by Stephen L Moshier <moshier@mediaone.net>.
184 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
186         * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
188 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
190         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
191         explicitly pad struct siginfo instead of relying on compiler padding.
193 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
195         * sysdeps/ia64/Dist: Add elf/entry.h.
197         * iconvdata/Makefile (distribute): Add TESTS2.
199 2001-04-13  Jakub Jelinek  <jakub@redhat.com>
201         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
202         Calculate load address differently.
204 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
206         * iconvdata/TESTS2: New file.
207         * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
208         * iconvdata/testdata/alfabeta..UTF-8: New file.
209         * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
210         * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
211         * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
212         * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
214 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
216         * iconvdata/utf-32.c: New file.
217         * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
218         * iconvdata/Makefile (modules): Add UTF-32.
219         (distribute): Add utf-32.c.
221 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
223         * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
224         changing it in the state. After incrementing 'inptr', store it back.
225         * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
226         store it back.
228 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
230         * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
231         MIN_NEEDED_FROM.
233 2001-04-11  David Mosberger  <davidm@hpl.hp.com>
235         * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
236         * sysdeps/ia64/htons.S: Likewise.
238         * sysdeps/ia64/memset.S: Add unwind directives.
239         * sysdeps/ia64/strncpy.S: Likewise.
240         * sysdeps/ia64/strcat.S: Likewise.
242         * sysdeps/ia64/memccpy.S: Add unwind directives.  Drop superfluous
243         restore of ar.pfs.
244         * sysdeps/ia64/strchr.S: Likewise.
245         * sysdeps/ia64/memmove.S: Likewise.
246         * sysdeps/ia64/memcpy.S: Likewise.
247         * sysdeps/ia64/memcmp.S: Likewise.
248         * sysdeps/ia64/memchr.S: Likewise.
249         * sysdeps/ia64/strcmp.S: Likewise.
250         * sysdeps/ia64/strlen.S: Likewise.
251         * sysdeps/ia64/strcpy.S: Likewise.
252         * sysdeps/ia64/strncmp.S: Likewise.
254 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
256         * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
257         fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
258         fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
259         fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
261 2001-04-11  Andreas Jaeger  <aj@suse.de>
263         * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
265 2001-04-11  Andreas Schwab  <schwab@suse.de>
267         * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
269 2001-04-11  Ulrich Drepper  <drepper@redhat.com>
271         * sysdeps/arm/stackinfo.h: New file.
273 2001-04-08  Thorsten Kukuk  <kukuk@suse.de>
275         * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
276         rpcgen to generate thread safe code.
278 2001-04-10  Andreas Jaeger  <aj@suse.de>
280         * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
282 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
284         * elf/dl-minimal.c (__assert_fail): Change error string.  It's
285         most of the time no bug in ld.so.
286         (__assert_perror_fail): Likewise.
288 2001-04-11  Hans-Peter Nilsson  <hp@axis.com>
290         * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
291         from struct to unsigned int.
293 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
295         * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
296         AT_IGNOREPPC): New defines.
297         * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
298         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
299         Define for newer powerpc kernels.
300         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
301         DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
303 2000-4-10  kaz Kojima  <kkojima@rr.iij4u.or.jp>
305         * sysdeps/sh/stackinfo.h: New file.
307 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
309         * locale/tst-C-locale.c (run_test): Add tests for locale objects.
310         * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
311         __ctype_tolower, and __ctype_toupper elements.
313         * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
314         Reported by Konstantin Osipov <rabid@spylog.ru>.
316         * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
317         the lousy AMD FPU.
319 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
321         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
322         * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
323         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
324         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
326 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
328         * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
329         message.  Based on a patch by HJ Lu.
331 2001-04-10  Andreas Schwab  <schwab@suse.de>
333         * math/libm-test.inc (csinh_test): Don't require the invalid
334         exception for csinh (x + iNaN), but make it optional.
336 2001-04-09  David Mosberger  <davidm@hpl.hp.com>
338         * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
340         * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
341         * sysdeps/ia64/elf/entry.h: New file.
342         * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
343         __start.
344         * elf/rtld.c: Don't declare ENTRY_POINT.  Use ENTRY_POINT instead
345         of &ENTRY_POINT.
346         * sysdeps/generic/dl-sysdep.c: Likewise.
347         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
348         * sysdeps/ia64/elf/start.S: Save base address of register backing
349         store in __libc_ia64_register_backing_store_base.
351 2001-04-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
353         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
354         value of getcontext.
355         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
356         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
357         value of setcontext.
358         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
359         * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
360         call by changing the saved context.
362 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
364         * sysdeps/alpha/stackinfo.h: New file.
365         * sysdeps/ia64/stackinfo.h: New file.
367 2001-04-10  Andreas Schwab  <schwab@suse.de>
369         * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
370         values.
371         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
373 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
375         * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
376         * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
378         * libio/Makefile (distribute): Add fd_to_filename.h.
380 2001-04-05  David S. Miller  <davem@redhat.com>
382         Add hp-timing support for sparcv9/sparc64 targets.
383         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
384         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
385         * sysdeps/sparc/sparc64/hp-timing.c: New file
386         * sysdeps/sparc/sparc64/hp-timing.h: New file
387         * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
388         * sysdeps/sparc/sparc64/Makefile: Likewise.
390 2001-04-09  Jakub Jelinek  <jakub@redhat.com>
392         * sysdeps/generic/fd_to_filename.h: New file.
393         * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
394         * libio/freopen.c (freopen): If FILENAME is NULL, try to get
395         filename from the open file descriptor.
396         * libio/freopen64.c (freopen64): Likewise.
398 2001-04-09  Bruno Haible  <haible@clisp.cons.org>
400         * misc/error.c (error): fflush stdout also if
401         error_print_progname != NULL.
402         (error_at_line): Likewise.
404 2001-04-07  Bruno Haible  <haible@clisp.cons.org>
406         * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
407         (struct binding): Add codeset_cntr field.
408         (_nl_load_domain): Add domainbinding argument.
409         (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
410         (_nl_find_msg): New declaration, moved here from loadinfo.h.
411         * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
412         (_nl_make_l10nflist): Remove domainbinding argument.
413         (_nl_find_msg): Move declaration to gettextP.h.
414         * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
415         to 0.  Increment it when ->codeset is changed.
416         * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
417         (_nl_find_msg): Add domainbinding argument.  Reinitialize the converter
418         if domainbinding->codeset_cntr has been incremented.
419         * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
420         _nl_make_l10nflist().  Pass it to _nl_load_domain() instead.
421         * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
422         * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
423          from _nl_load_domain.  Append //TRANSLIT also when using libiconv.
424         (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
425         (_nl_load_domain): Add domainbinding argument.  Call
426         _nl_init_domain_conv.
427         (_nl_unload_domain): Call _nl_free_domain_conv.
428         * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
429         (test-srcs): Add tst-codeset.
430         (tests): Depend on tst-codeset.out.
431         (tst-codeset.out): New rule.
432         (CFLAGS-tst-codeset.c): New variable.
433         * intl/tst-codeset.sh: New file.
434         * intl/tstcodeset.po: New file.
435         * intl/tst-codeset.c: New file.
436         * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
437         calls.
439 2001-04-07  Roland McGrath  <roland@frob.com>
441         * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
443 2001-03-31  Roland McGrath  <roland@frob.com>
445         * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
446         copying send rights into child.  When we hit our name for our proc
447         port, just copy NEWPROC directly instead of repeating proc_task2proc
448         to install the child's port.
450 2001-04-08  Roland McGrath  <roland@frob.com>
452         * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
453         in second column, to provide default values for third column.
454         * shlib-versions: Add comments about using DEFAULT in second column.
455         (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
456         (cris-.*-linux.*): Likewise.
458 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
460         * Makefile (distribute): Add scripts/documented.sh.
461         * scripts/documented.sh: New file.
463 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
465         * sysdeps/unix/sysv/linux/cris/Dist: New file.
466         * sysdeps/unix/sysv/linux/cris/Makefile: New file.
467         * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
468         * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
469         * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
470         * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
471         * sysdeps/unix/sysv/linux/cris/brk.c: New file.
472         * sysdeps/unix/sysv/linux/cris/chown.c: New file.
473         * sysdeps/unix/sysv/linux/cris/clone.S: New file.
474         * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
475         * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
476         * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
477         * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
478         * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
479         * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
480         * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
481         * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
482         * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
483         * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
484         * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
485         * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
486         * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
487         * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
488         * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
489         * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
490         * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
491         * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
492         * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
493         * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
494         * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
495         * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
496         * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
497         * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
498         * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
499         * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
500         * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
501         * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
502         * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
503         * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
504         * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
505         * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
506         * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
507         * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
508         * sysdeps/unix/sysv/linux/cris/socket.S: New file.
509         * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
510         * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
511         * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
512         * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
513         * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
514         * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
516 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
518         * sysdeps/cris/Dist: New file.
519         * sysdeps/cris/Implies: New file.
520         * sysdeps/cris/Makefile: New file.
521         * sysdeps/cris/__longjmp.S: New file.
522         * sysdeps/cris/_mcount.S: New file.
523         * sysdeps/cris/bits/endian.h: New file.
524         * sysdeps/cris/bits/setjmp.h: New file.
525         * sysdeps/cris/bits/string.h: New file.
526         * sysdeps/cris/dl-machine.h: New file.
527         * sysdeps/cris/elf/start.S: New file.
528         * sysdeps/cris/machine-gmon.h: New file.
529         * sysdeps/cris/memcopy.h: New file.
530         * sysdeps/cris/memusage.h: New file.
531         * sysdeps/cris/setjmp.S: New file.
532         * sysdeps/cris/sysdep.h: New file.
533         * sysdeps/cris/wordcopy.c: New file.
535 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
537         * elf/elf.h: Add new relocations for CRIS.
539 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
541         * shlib-versions: Add cases for Linux on CRIS.
543 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
545         * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
546         ';' for comments and '@' for line separator.
548 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
550         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
551         typo; s/==/=/ for assignment.
553 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
555         * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
557 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
559         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
560         empty input before checking full output.
562 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
564         * iconv/gconv.c (__gconv): Don't derefer parameter cd before
565         checking if == -1L.
567 2001-04-08  Ulrich Drepper  <drepper@redhat.com>
569         * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
571 2001-04-07  Stephen L Moshier  <moshier@mediaone.net>
573         * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
574         return values.
576 2001-04-07  Ulrich Drepper  <drepper@redhat.com>
578         * stdlib/tst-setcontext.c (main): Add a test for setcontext.
580         * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
581         * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
582         * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
583         * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
584         * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
585         * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
587 2001-04-07  Andreas Jaeger  <aj@suse.de>
589         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
590         instead of separate sin and cos.
591         (__ieee754_j1l): Likewise.
593 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
595         * sysdeps/ia64/abort-instr.h: New file.  Code by David Mosberger.
597         * sysdeps/ia64/atomicity.h: New file.  Copied from libstdc++.
599         * sysdeps/i386/i486/atomicity.h: Clean up the asms.
601         * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
602         available.
603         * sysdeps/generic/e_scalbf.c: Likewise.
604         * sysdeps/generic/e_scalbl.c: Likewise.
605         Patch by Mark Hatle <fray@mvista.com>.
607 2001-04-05  David S. Miller  <davem@redhat.com>
609         * sysdeps/sparc/abort-instr.h: New file.
611 2001-04-05  Matt Wilson  <msw@redhat.com>
613         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
614         added code to parse new 2.4 format.
615         (GET_NPROCS_CONF_PARSER): Likewise.
617 2001-04-05  David S. Miller  <davem@redhat.com>
619         * scripts/config.sub: Recognize sparcv9b like sparcv9.
620         * configure.in: Add sparcv9b.
621         * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
622         * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
623         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
625 2001-04-06  David Mosberger  <davidm@hpl.hp.com>
627         * stdlib/tst-setcontext.c: Move st2[] to global scope.
628         (f2): Verify that stack pointer is inside st2[].
630         * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
631         * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
633 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
635         * timezone/antarctica: Update from tzdata2001b.
636         * timezone/asia: Likewise.
637         * timezone/australasia: Likewise.
638         * timezone/europe: Likewise.
639         * timezone/northamerica: Likewise.
641         * iconv/iconv_open.c: Move strip and upstr definitions...
642         * iconv/gconv_charset.h: ...here.  New file.
643         * iconv/gconv_db.c (once): Move to file level.
644         (do_lookup_alias): Split out from __gconv_find_transform.
645         (__gconv_find_transform): Call do_lookup_alias.
646         (__gconv_loopup_alias): New function.
647         * locale/langinfo.h: Define _NL_*_CODESET values for all categories
648         but LC_CTYPE.
649         * locale/categories.def: Add entries for new _NL_*_CODESET values.
650         * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
651         * locale/C-address.c: Initialize _NL_*_CODESET element.
652         * locale/C-collate.c: Likewise.
653         * locale/C-identification.c: Likewise.
654         * locale/C-measurement.c: Likewise.
655         * locale/C-messages.c: Likewise.
656         * locale/C-monetary.c: Likewise.
657         * locale/C-name.c: Likewise.
658         * locale/C-numeric.c: Likewise.
659         * locale/C-paper.c: Likewise.
660         * locale/C-telephone.c: Likewise.
661         * locale/C-time.c: Likewise.
662         * locale/localeinfo.h: Declare _nl_C_codeset.
663         * locale/C_name.c: Define _nl_C_codeset.
664         * locale/findlocale.c: Before accepting locale check that the used
665         charset does not conflict with what the locale name said.
666         * locale/programs/ld-address.c: Emit codeset information.
667         * locale/programs/ld-collate.c: Likewise.
668         * locale/programs/ld-identification.c: Likewise.
669         * locale/programs/ld-measurement.c: Likewise.
670         * locale/programs/ld-messages.c: Likewise.
671         * locale/programs/ld-monetary.c: Likewise.
672         * locale/programs/ld-name.c: Likewise.
673         * locale/programs/ld-numeric.c: Likewise.
674         * locale/programs/ld-paper.c: Likewise.
675         * locale/programs/ld-telephone.c: Likewise.
676         * locale/programs/ld-time.c: Likewise.
678         * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
679         if the locale data couldn't be found.
681         * string/Makefile: Define tst-strxfrm-ENV.
683         * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
685 2001-04-06  Andreas Jaeger  <aj@suse.de>
687         * include/sys/profil.h: New file.
689         * dlfcn/modatexit.c: Add prototypes to silence GCC.
690         * dlfcn/modcxaatexit.c: Likewise.
691         * elf/globalmod1.c: Likewise.
693 2001-04-05  David S. Miller  <davem@redhat.com>
695         * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
696         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
697         capability flags table and HWCAP_IMPORTANT, increase
698         _DL_HWCAP_COUNT to 6.
699         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
701 2001-04-04  David Mosberger  <davidm@hpl.hp.com>
703         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
704         initialization of stack_end (bug reported by Zheng Gengbin
705         <gzheng@students.uiuc.edu>).
707 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
709         * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
711 2001-04-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
713         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
715 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
717         * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
718         * sysdeps/i386/fpu/e_asinl.S: Removed.  Too inaccurate.
720         * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
722 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
724         * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
725         define simple replacements here.  Patch by Michael Keezer.
727         * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
728         * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
729         Contributed by Stephen L Moshier <moshier@mediaone.net>.
731         * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
732         anymore.
734 2001-04-01  Andreas Jaeger  <aj@suse.de>
736         * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
737         alias.
739         * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
741 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
743         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
744         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
746 2001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>
748         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
749         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
750         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
751         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
752         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
753         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
754         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
755         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
756         * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
758 2001-04-04  Andreas Jaeger  <aj@suse.de>
760         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
761         place.
763 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
765         * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
766         * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
767         * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
768         (unsigned_dec): Likewise.
769         Patch by atai@jezebel.dreamhost.com.
771         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
772         pointer to int as last parameter of yp_match.
773         Patch by kanazawa@flab.fujitsu.co.jp.
775 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
777         * resolv/netdb.h (gai_strerror): Make return value const.
778         * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
779         * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
780         Add strings for new error values.
782 2001-03-29  Michael Keezer  <mkeezer@redhat.com>
784         * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
785         * login/tst-utmp.c: Handle case where ut_tv is not available but
786         ut_time is.
787         * sysdeps/unix/sysv/aix/utmpx.h: New file.
788         * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
789         _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
790         * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
791         * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
792         to access RTCU timer reg.
793         * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
794         added dl-libc, dl-open,dl-sym, dl-close to misc.
795         * sysdeps/unix/sysv/aix/start.c: New file.  Start code.
796         * sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
797         * sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
798         * sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
799         * sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
800         * sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
801         * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
802         GLIBC_2_2).
803         * sysdeps/generic/strtoull.c: Likewise.
804         * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
805         * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
806         sysdeps/generic/memset.c.
807         * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
809 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
811         * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
812         * locale/programs/charmap.c: Define null_pointer if
813         NEED_NULL_POINTER is defined.
815         * misc/dirname.c (dirname): Handle multiple slashes correctly.
817 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
819         * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
821 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
823         * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
824         * sysdeps/s390/s390-64/bcopy.S: Likewise.
825         * sysdeps/s390/s390-32/mempcy.S: Likewise.
826         * sysdeps/s390/s390-64/memcpy.S: Likewise.
828 2001-04-02  Bruno Haible  <haible@clisp.cons.org>
830         * manual/message.texi (Advanced gettext functions): More specific
831         syntax in the plural formula examples.
833 2001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
835         * sysdeps/powerpc/atomicity.h: Silence warnings.
836         * sysdeps/powerpc/dl-machine.h: Likewise.
837         * sysdeps/powerpc/register-dump.h: Likewise.
838         * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
840 2001-04-02  Andreas Jaeger  <aj@suse.de>
842         * misc/tst-dirname.c (main): Add more tests, derived from a bug
843         report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
845 2001-04-01  Andreas Jaeger  <aj@suse.de>
847         * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
848         is installed there.
849         * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
851 2001-04-01  H.J. Lu  <hjl@gnu.org>
853         * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
854         tmpnam (NULL).
855         * stdlib/isomac.c (macrofile): Likewise.
857 2001-03-30  Thorsten Kukuk  <kukuk@suse.de>
859         * inet/rcmd.c: Allow AF_UNSPEC as parameter.
860         * nis/ypclnt.c (yp_all): Print error message only at last try,
861         check for protocoll error only if we don't have a network error.
863 2001-04-02  Andreas Schwab  <schwab@suse.de>
865         * resolv/res_data.c (res_isourserver): Fix cast.
867 2001-04-02  Andreas Jaeger  <aj@suse.de>
869         * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
870         __umount2.
872         * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
873         strings.
874         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
876         * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
877         initializers.
878         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
880         * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
881         warning about unused variable.
883         * string/string.h (strndupa): Add cast for C++ conformance.
884         (strdupa): Likewise.
885         Fixes PR libc/2173, reported by tbrowder@home.com.
887 2001-03-30  Roland McGrath  <roland@frob.com>
889         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
890         options after $(build-module), which is no longer a single command.
891         (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
892         (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
893         variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
895 2001-03-11  Roland McGrath  <roland@frob.com>
897         * elf/rtld.c (dl_main): Add cast to quiet warning.
898         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
899         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
900         (__gconv_read_conf): Likewise.
901         * iconv/gconv_db.c (gen_steps): Likewise.
902         (__gconv_find_transform): Likewise.
903         * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
904         (fopen_uncompressed): Use const in second argument's type.
906 2001-03-11  Roland McGrath  <roland@frob.com>
908         * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
910         * mach/mach_error.h: Fix ancient #endif syntax.
911         * hurd/hurdmalloc.c: Likewise.
913         * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
914         compare_and_swap): Add volatile qualifier to first arg, to bring
915         these prototypes in line with all the other implementations.
916         Add a #warning to remind the builder that these are not atomic.
918 2001-03-04  Roland McGrath  <roland@frob.com>
920         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
921         member of TEMP_F so its type is _IO_FILE * as expected.
923         * hurd/fopenport.c (seekio): Conditionalize type of POS argument
924         on [USE_IN_LIBIO].  Check the value for overflow, since for libio
925         it might exceed off_t's range.
927 2001-02-25  Roland McGrath  <roland@frob.com>
929         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
930         * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
932         * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
933         macro instead of an inline function,
934         (MSG_EXAMINE): Likewise.
936         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
938         * hurd/get-host.c: Include <string.h> for decls of built-ins.
939         * hurd/hurdchdir.c: Likewise.
940         * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
941         * sysdeps/mach/hurd/opendir.c: Likewise.
943         * mach/mach_init.c: Include <unistd.h> for _exit decl.
945         * mach/errsystems.awk: Give output file a trailing newline.
947         * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
948         the script will use our compiler for the cpp stage.
950         With --enable-all-warnings we get a whole bunch of warnings,
951         and these are just a few fixes; there are more needed to silence it.
952         * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
953         decls before extern inline defns to quiet gcc warning.
954         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
955         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
957 2001-03-31  Andreas Jaeger  <aj@suse.de>
959         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
960         (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
961         (ARPHRD_CISCO): New.
962         Changes from Linux 2.4.3.
964 2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
966         * posix/regex.c: Avoid an access violation if malloc failes.
968 2001-03-30  Andreas Jaeger  <aj@suse.de>
970         * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
972 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
974         * posix/regex.c: Remove unnecessary ifs.
976         * math/bits/mathcalls.h: Remove infnan declaration.
978 2001-03-29  H.J. Lu  <hjl@gnu.org>
980         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
981         and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
982         * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
983         .
984 2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
986         * posix/regex.c: Fix typo and add a sentinel.
988 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
990         * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
991         O_NOFOLLOW.  Suggested by Christoph Roland.
993 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
995         * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
996         * sysdeps/s390/s390-32/bits/string.h: Remove.
997         * sysdeps/s390/s390-64/bits/string.h: Remove.
998         * sysdeps/s390/s390-32/strcmp.S: New file.
999         * sysdeps/s390/s390-64/strcmp.S: New file.
1001 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1003         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
1004         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1006 2001-03-27  Ulrich Drepper  <drepper@redhat.com>
1008         * version.h (VERSION): Bump to 2.2.3.
1010         * stdlib/isomac.c (fmt): Don't define _LIBC.
1011         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
1012         LOW_HALF only if _LIBC is defined.
1014         * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
1016         * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
1017         and +().
1018         * posix/tst-fnmatch.input: Add test cases for matching empty strings.
1020         * sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
1021         * include/endian.h: ...to here.
1023 2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1025         * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
1026         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
1028 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1030         * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
1032 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
1034         * sysdeps/ia64/fpu/Dist: Add new files to distribute.
1035         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
1036         * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
1038         * gmon/Makefile (headers): Add sys/profil.h.
1040 2001-03-18  Andreas Jaeger  <aj@suse.de>
1042         * manual/install.texi (Tools for Compilation): Advise to use GCC
1043         2.95.3.
1044         (Supported Configurations): Mention s390x.
1046 2001-03-26  Ben Collins  <bcollins@debian.org>
1048         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
1049         defines to match other architectures.
1051 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
1053         * libio/Makefile (tests): Add tst-ext.
1054         * libio/tst-ext.c: New file.
1056         * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
1058 2001-03-25  Ulrich Drepper  <drepper@redhat.com>
1060         Add changes which were in this form in the original patch by
1061         Eric Norum <eric.norum@usask.ca>.
1062         * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
1063         svc_max_pollfd.
1064         * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
1065         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
1066         __rpc_thread_svc_max_pollfd.
1067         Define svc_fdset, get_rpc_createerr, svc_pollfd, and
1068         svc_max_pollfd.
1069         * sunrpc/rpc_thread.c: Handle first thread special, it uses the
1070         global variables.
1071         Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
1072         __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
1073         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
1074         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
1075         __rpc_thread_svc_max_pollfd.
1076         * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
1077         get_rpc_createerr.
1078         * sunrpc/clnt_perr.c: Likewise.
1079         * sunrpc/clnt_simp.c: Likewise.
1080         * sunrpc/clnt_tcp.c: Likewise.
1081         * sunrpc/clnt_udp.c: Likewise.
1082         * sunrpc/clnt_unix.c: Likewise.
1083         * sunrpc/pm_getport.c: Likewise.
1085         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
1086         syscall checks for negative n so don't test here as well.
1088 2001-03-23  Jes Sorensen  <jes@linuxcare.com>
1090         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
1091         * sysdeps/ia64/sysdep.h: ...here.
1093         * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
1094         * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
1096         * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
1097         declare instead of LEAF().  Suggestion from David Mosberger.
1099 2001-03-21  David Mosberger  <davidm@hpl.hp.com>
1101         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
1102         directives.
1103         (PSEUDO): Drop .psr and .lsb directives.
1105         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
1106         directives.
1107         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
1109         * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
1110         directives etc.
1111         * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
1112         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
1113         * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
1114         longer needed).  Add unwind directives.
1116         * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
1117         ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
1119 2001-03-21  Paul Eggert  <eggert@twinsun.com>
1121         * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
1122         (RE_SYNTAX_POSIX_EGREP): Use it.
1123         * posix/regex.c (regex_compile): Implement it.
1125 2001-03-21  Paul Eggert  <eggert@twinsun.com>
1127         * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
1128         Rewrite to avoid duplicate code.
1130 2001-03-21  H.J. Lu  <hjl@gnu.org>
1132         * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
1133         for cross-compiling.
1134         ($(objpfx)tst-pathopt.out): Undo the last change.
1136 2001-03-24  Mark Kettenis  <kettenis@gnu.org>
1138         * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
1139         sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
1141         * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
1142         (_dl_argv): Declare.
1143         (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
1145 2001-03-22  Andreas Jaeger  <aj@suse.de>
1147         * iconvdata/Makefile (generated): Add iconv-test.xxx.
1149         * posix/Makefile (generated): Add bug-regex2.mtrace and
1150         bug-regex2-mem.
1152 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
1154         * csu/version.c (__gnu_get_libc_release): Add prototype.
1155         (__gnu_get_libc_version): Likewise.
1156         * include/gnu/libc-version.h: Remove prototypes for not exported
1157         functions.
1159 2001-03-21  Jes Sorensen  <jes@linuxcare.com>
1161         * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
1162         for internationalized printfs to work.
1164 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
1166         * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
1167         avoid compiler warning.
1168         (_nl_find_msg): Add casts to avoid compiler warnings.
1170 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
1172         * gmon/Makefile (routines): Add sprofil.
1173         (tests): Add tst-sprofil.
1174         (noprof): Add sprofil.
1175         * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
1177 2001-03-20  David Mosberger  <davidm@hpl.hp.com>
1179         * sysdeps/generic/sprofil.c: New file.
1180         * sysdeps/posix/sprofil.c: New file.
1181         * gmon/tst-sprofil.c: New file.
1182         * gmon/sys/profil.h: New file.
1184 2001-03-20  Andreas Schwab  <schwab@suse.de>
1186         * include/unistd.h: Adjust prototype of __gethostname.
1188 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
1190         * sysdeps/sparc/stackinfo.h: New file.
1192 2001-03-21  Andreas Jaeger  <aj@suse.de>
1194         * elf/global.c (main): Use proper prototype.
1196 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
1198         * sunrpc/Makefile (routines): Add rpc_thread.
1199         (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
1200         * sunrpc/rpc_thread.c: New file.
1201         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
1202         * sunrpc/auth_none.c: Don't use global variables.  Access state in
1203         thread-local storage.
1204         * sunrpc/clnt_perr.c: Likewise.
1205         * sunrpc/clnt_raw.c: Likewise.
1206         * sunrpc/clnt_simp.c: Likewise.
1207         * sunrpc/key_call.c: Likewise.
1208         * sunrpc/rpc_common.c: Likewise.
1209         * sunrpc/svc.c: Likewise.
1210         * sunrpc/svc_raw.c: Likewise.
1211         * sunrpc/svc_simple.c: Likewise.
1212         * sunrpc/svcauth_des.c: Likewise.
1213         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
1214         _HURD_THREADVAR_RPC_VARS.
1215         * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
1216         * include/rpc/rpc.h: Define data structures for internal thread-local
1217         "global" variables.
1218         Based on patches by Eric Norum <eric.norum@usask.ca>.
1220         * elf/dl-load.c: Various little optimizations.
1222         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
1223         LINUX_LINK_MAX only if the statfs function is not implemented for
1224         the filesystem.
1226         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
1227         LINUX_LINK_MAX only if the fstatfs function is not implemented for
1228         the filesystem.
1230 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
1232         * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
1234         * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
1235         (_dl_dst_substitute): Likewise.
1237 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1239         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
1241 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1243         * intl/gettextP.h (struct expression): Add operators lnot, less_than,
1244         greater_than, less_or_equal, greater_or_equal. Replace args2/args3
1245         union by a 'nargs' counter and an 'args[]' array.
1246         * intl/plural.y: Don't include stdarg.h.
1247         (new_exp): Take an array of arguments instead of varargs.
1248         (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
1249         ('?' ':'): Make right-associative.
1250         (EQUOP2): New token, replaces '=' and '!'.
1251         (CMPOP2): New token.
1252         (ADDOP2): New token, replaces '+' and '-'.
1253         (MULOP2): New token, replaces '*', '/' and '%'.
1254         ('!'): New token.
1255         (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
1256         (start): Call YYABORT here.
1257         (FREE_EXPRESSION): Update.
1258         (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
1259         Update for new token symbols.
1260         * intl/loadmsgcat.c (plvar, plone, germanic_plural,
1261         init_germanic_plural): Update.
1262         * intl/dcigettext.c (_nl_find_msg): Optimize for space.
1263         (plural_eval): Recognize comparison and '!' operators. Optimize for
1264         space.
1266 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
1268         * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
1269         NULL any more.
1271 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
1273         * intl/loadmsgcat.c: Include headers needed for alloca().
1274         (freea): New macro.
1275         (_nl_load_domain): Add fallback code for platforms lacking alloca.
1276         * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
1277         (freea): New macro.
1278         (read_alias_file): Simplify fallback code for platforms lacking
1279         alloca.
1281 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
1283         * intl/gettextP.h (__gettextdebug): Remove declaration.
1284         (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
1285         syntax.
1286         (gettext_free_exp__, gettextparse__): New non-libc declarations.
1287         * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
1288         not __gettextparse, __gettext_free_exp.
1289         * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
1291 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
1293         * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
1295 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
1297         * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
1298         lacking strtoul, like SunOS4.
1300 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
1302         * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
1304 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
1306         * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
1307         syntax.
1308         * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
1309         * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
1310         * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
1311         syntax.
1313 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
1315         * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
1316         bindtextdomain__, bind_textdomain_codeset__): New declarations, from
1317         old libgettext.h.
1318         * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
1319         * intl/dcgettext.c: Likewise.
1320         * intl/dcigettext.c: Likewise.
1321         * intl/dcngettext.c: Likewise.
1322         * intl/dngettext.c: Likewise.
1323         * intl/finddomain.c: Likewise.
1324         * intl/ngettext.c: Likewise.
1325         * intl/textdomain.c: Likewise.
1326         * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
1327         Include gettextP.h.
1328         * intl/gettext.c: Likewise.  Don't include locale.h.
1330 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1332         * intl/gettextP.h (ZERO): New macro.
1333         (struct binding): Always use ZERO.
1334         * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
1335         lack it, like SunOS4.
1336         (set_binding_values): Use offsetof, not sizeof.
1337         * intl/dcigettext.c (offsetof): Provide fallback for platforms that
1338         lack it, like SunOS4.
1339         (ZERO): Remove macro.
1340         (struct transmem_list): Use ZERO.
1341         (DCIGETTEXT): Use offsetof, not sizeof.
1343 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1345         * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
1346         nls_uint32.
1347         * intl/bindtextdom.c: Don't include gettext.h.
1348         * intl/dcgettext.c: Likewise.
1349         * intl/dcigettext.c: Likewise.
1350         * intl/dcngettext.c: Likewise.
1351         * intl/dngettext.c: Likewise.
1352         * intl/finddomain.c: Likewise.
1353         * intl/localealias.c: Likewise.
1354         * intl/ngettext.c: Likewise.
1355         * intl/plural.y: Likewise.
1356         * intl/textdomain.c: Likewise.
1358 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1360         * intl/gettext.h: Don't include <stdio.h>.
1362 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1364         * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
1365         * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
1367 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
1369         * sysdeps/unix/i386/i686/tempname.c: New file.
1371         * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
1372         defined use this macro to get some bits of randomness instead of
1373         the usual gettimeofday or time calls.
1375 2001-03-16  Paul Eggert  <eggert@twinsun.com>
1377         * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
1378         not defined, and if UINT64_MAX is not defined.
1380 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
1382         * elf/cache.c: Mark and have translated a few more messages.
1384 2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1386         * elf/cache.c: Add case for FLAG_S390_LIB64.
1387         * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
1388         * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
1389         * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
1391 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
1393         * string/Makefile (tests): Add tst-strxfrm.
1394         * string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
1395         * string/Depend: New file.
1397 2001-03-19  Paul Eggert  <eggert@twinsun.com>
1399         * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
1400         when given the empty string in nontrivial locales.
1402 2001-03-17  H.J. Lu  <hjl@gnu.org>
1404         * manual/Makefile (install): Use $(INSTALL_DATA) instead of
1405         cp to install `dir'.
1407 2001-03-19  Andreas Schwab  <schwab@suse.de>
1409         * Makerules (build-shlib): Make sure exit codes get checked
1410         properly.
1412 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
1414         * Makerules (build-shlib): Remove unnecessary slashes introduced in
1415         last change.
1417         * configure.in: Test for -Bgroup option of linker.
1418         * config.make.in: Define have-Bgroup.
1420         * conform/data/unistd.h-data: Require gethostname.
1421         * posix/unistd.h: Make gethostname prototype available for
1422         __USE_XOPEN2K.
1424         * crypt/Makefile: When generating DSO link with libc_nonshared.a.
1425         * debug/Makefile: Likewise.
1426         * dlfcn/Makefile: Likewise.
1427         * hesiod/Makefile: Likewise.
1428         * iconvdata/extra-module.mk: Likewise.
1429         * locale/Makefile: Likewise.
1430         * login/Makefile: Likewise.
1431         * math/Makefile: Likewise.
1432         * nis/Makefile: Likewise.
1433         * nss/Makefile: Likewise.
1434         * resolv/Makefile: Likewise.
1435         * rt/Makefile: Likewise.
1437 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
1439         * inet/Makefile (tests): Remove left-over comment.
1441         * posix/unistd.h (gethostname): Change type of second parameter
1442         back to size_t as per upcoming XPG6.
1443         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
1444         parameter back to size_t as per upcoming XPG6.
1445         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
1446         * sysdeps/unix/sysv/gethostname.c: Likewise.
1447         * sysdeps/mach/hurd/gethostname.c: Likewise.
1448         * sysdeps/generic/gethostname.c: Likewise.
1450 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
1452         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
1453         Handle NaN here.
1455         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
1456         Internationalize.
1458 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
1460         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
1461         looking for name matches.
1463 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
1465         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
1466         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
1467         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
1468         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1469         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
1470         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
1471         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
1472         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
1473         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
1474         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
1475         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
1476         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1478 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
1480         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
1481         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1483         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
1484         erfcl.
1485         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1487 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
1489         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
1490         Drop hack that was needed for 2.1.1 kernel headers.
1492         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
1494         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
1495         overlay with kernel's "struct sigcontext".
1497         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
1498         sys/rse.h for "misc" subdir.
1499         (sysdep_routines): Add __start_context for "stdlib" subdir.
1501         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
1502         kernel file of the same name).
1504         * stdlib/Makefile (tests): Add tst-setcontext.
1505         * stdlib/tst-setcontext.c: New file (based on a sample program by
1506         Uli Drepper).
1508         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
1509         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
1510         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
1511         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
1512         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
1514         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
1515         instead of shift & and.
1517 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1519         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
1520         * sysdeps/s390/bits/huge_val.h: ...here.
1521         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
1522         * sysdeps/s390/s390-64/ffs.c: Move to...
1523         * sysdeps/s390/ffs.c: ...here.
1524         * sysdeps/s390/s390-32/ffs.c: Remove.
1526 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
1528         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
1529         update osversion from more recent library.
1531 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1533         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
1534         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
1535         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
1536         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
1537         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
1538         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
1539         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
1540         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
1541         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
1542         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
1543         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
1544         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
1545         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
1546         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
1547         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
1548         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
1549         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
1550         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
1551         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
1552         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
1553         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
1554         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
1555         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
1556         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
1557         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
1558         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
1559         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
1560         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
1561         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
1562         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
1563         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
1564         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
1565         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
1566         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
1567         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
1568         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
1569         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
1570         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
1571         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
1572         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
1573         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
1574         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
1575         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
1576         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
1577         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
1578         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
1579         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
1580         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
1581         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
1582         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
1583         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
1584         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
1585         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
1586         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
1587         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
1588         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
1589         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
1590         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
1591         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
1592         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
1593         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
1594         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
1595         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
1596         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
1597         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
1598         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
1599         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
1600         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
1601         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
1602         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
1603         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
1604         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
1605         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
1606         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
1607         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
1608         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
1609         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
1610         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
1611         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
1612         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
1613         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
1614         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
1615         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
1616         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
1617         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
1618         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
1619         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
1620         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
1621         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
1622         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
1623         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
1624         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
1625         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
1626         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
1627         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
1628         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
1629         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
1630         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
1631         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
1632         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
1633         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
1634         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
1635         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
1636         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
1637         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
1638         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
1639         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
1640         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
1641         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
1642         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
1643         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
1644         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
1645         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
1646         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
1648 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1650         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
1651         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
1652         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
1653         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
1654         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
1655         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
1656         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
1657         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
1658         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
1659         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
1660         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
1661         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
1662         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
1663         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
1664         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
1665         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
1666         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
1667         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
1668         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
1669         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
1670         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
1671         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
1672         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
1673         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
1674         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
1675         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
1676         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
1677         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
1678         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
1679         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
1680         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
1681         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
1682         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
1683         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
1684         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
1685         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
1686         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
1687         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
1688         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
1689         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
1690         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
1691         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
1692         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
1693         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
1694         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
1695         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
1696         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
1697         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
1698         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
1699         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
1700         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
1701         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
1702         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
1704 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1706         * sysdeps/s390/Dist: Move to...
1707         * sysdeps/s390/390-32/Dist: ...here.
1708         * sysdeps/s390/Implies: Move to...
1709         * sysdeps/s390/s390-32/Implies: ...here.
1710         * sysdeps/s390/Makefile: Move to...
1711         * sysdeps/s390/s390-32/Makefile: ...here.
1712         * sysdeps/s390/Versions: Move to...
1713         * sysdeps/s390-32/s390/Versions: ...here.
1714         * sysdeps/s390/add_n.S: Move to...
1715         * sysdeps/s390/s390-32/add_n.S: ...here.
1716         * sysdeps/s390/addmul_1.S: Move to...
1717         * sysdeps/s390/s390-32/addmul_1.S: ...here.
1718         * sysdeps/s390/atomicity.h: Move to...
1719         * sysdeps/s390/s390-32/atomicity.h: ...here.
1720         * sysdeps/s390/backtrace.c: Move to...
1721         * sysdeps/s390/s390-32/backtrace.c: ...here.
1722         * sysdeps/s390/bcopy.S: Move to...
1723         * sysdeps/s390/s390-32/bcopy.S: ...here.
1724         * sysdeps/s390/bits/byteswap.h: Move to...
1725         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
1726         * sysdeps/s390/bits/huge_val.h: Move to...
1727         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
1728         * sysdeps/s390/bsd-_setjmp.S: Move to...
1729         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
1730         * sysdeps/s390/bsd-setjmp.S: Move to...
1731         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
1732         * sysdeps/s390/bzero.S: Move to...
1733         * sysdeps/s390/s390-32/bzero.S: ...here.
1734         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
1735         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
1736         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
1737         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
1738         * sysdeps/s390/elf/start.S: Move to...
1739         * sysdeps/s390/s390-32/elf/start.S: ...here.
1740         * sysdeps/s390/ffs.c: Move to...
1741         * sysdeps/s390/s390-32/ffs.c: ...here.
1742         * sysdeps/s390/memchr.S: Move to...
1743         * sysdeps/s390/s390-32/memchr.S: ...here.
1744         * sysdeps/s390/memcpy.S: Move to...
1745         * sysdeps/s390/s390-32/memcpy.S: ...here.
1746         * sysdeps/s390/memset.S: Move to...
1747         * sysdeps/s390/s390-32/memset.S: ...here.
1748         * sysdeps/s390/mul_1.S: Move to...
1749         * sysdeps/s390/s390-32/mul_1.S: ...here.
1750         * sysdeps/s390/s390-mcount.S: Move to...
1751         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
1752         * sysdeps/s390/strcpy.S: Move to...
1753         * sysdeps/s390/s390-32/strcpy.S: ...here.
1754         * sysdeps/s390/strncpy.S: Move to...
1755         * sysdeps/s390/s390-32/strncpy.S: ...here.
1756         * sysdeps/s390/sub_n.S: Move to...
1757         * sysdeps/s390/s390-32/sub_n.S: ...here.
1759 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1761         * sysdeps/s390/s390-64/Dist: New file.
1762         * sysdeps/s390/s390-64/Implies: New file.
1763         * sysdeps/s390/s390-64/Makefile: New file.
1764         * sysdeps/s390/s390-64/__longjmp.c: New file.
1765         * sysdeps/s390/s390-64/add_n.S: New file.
1766         * sysdeps/s390/s390-64/atomicity.h: New file.
1767         * sysdeps/s390/s390-64/backtrace.c: New file.
1768         * sysdeps/s390/s390-64/bcopy.S: New file.
1769         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
1770         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
1771         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
1772         * sysdeps/s390/s390-64/bits/string.h: New file.
1773         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
1774         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
1775         * sysdeps/s390/s390-64/bzero.S: New file.
1776         * sysdeps/s390/s390-64/dl-machine.h: New file.
1777         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
1778         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
1779         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
1780         * sysdeps/s390/s390-64/elf/start.S: New file.
1781         * sysdeps/s390/s390-64/ffs.c: New file.
1782         * sysdeps/s390/s390-64/initfini.c: New file.
1783         * sysdeps/s390/s390-64/memchr.S: New file.
1784         * sysdeps/s390/s390-64/memcpy.S: New file.
1785         * sysdeps/s390/s390-64/memset.S: New file.
1786         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
1787         * sysdeps/s390/s390-64/setjmp.S: New file.
1788         * sysdeps/s390/s390-64/strcpy.S: New file.
1789         * sysdeps/s390/s390-64/strncpy.S: New file.
1790         * sysdeps/s390/s390-64/sub_n.S: New file.
1791         * sysdeps/s390/s390-64/sysdep.h: New file.
1793 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1795         * scripts/config.guess: Add support for Linux on 64 bit S/390.
1796         * scripts/config.sub: Likewise.
1798 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1800         * configure.in: Add support for 64 bit S/390.
1802         * elf/elf.h: Add new relocations for 64 bit S/390.
1804         * shlib-versions: Add rules for Linux on 64 bit S/390.
1806 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1808         * sysdeps/s390/__longjmp.c: Move to...
1809         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
1810         to load the floating point registers that should be saved
1811         according to the ABI.
1813         * sysdeps/s390/bits/setjmp.h: Move to...
1814         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
1815         the use of long long in the __jmp_buf type definition.
1817         * sysdeps/s390/bits/string.h: Move to...
1818         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
1819         #ifndef _FORCE_INLINES.
1821         * sysdeps/s390/dl-machine.h: Move to...
1822         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
1823         executables EI_CLASS in elf_machine_matches_host.
1825         * sysdeps/s390/elf/setjmp.S: Move to...
1826         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
1827         branches to globally defined symbol __sigsetjmp by branches to
1828         a local label (this avoids the generation of a R_390_PC16DBL
1829         relocation in -fpic code).
1831         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
1832         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
1834         * sysdeps/s390/initfini.c: Move to...
1835         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
1836         ".align 4,0x07".
1838         * sysdeps/s390/setjmp.S: Move to...
1839         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
1840         floating point registers that should be saved according to the ABI.
1842         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
1844         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
1845         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
1846         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
1848 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1850         * configure.in: Change machine=s390 to machine=s390/s390-32.
1852         * elf/elf.h: Correct comment for R_390_PLT16DBL.
1854 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
1856         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
1857         version to be overriden from config.h.
1858         * csu/abi-note.S: Use OS and version separately, include config.h.
1859         * elf/dl-load.c (_dl_osversion): New.
1860         (_dl_map_object_from_fd): Kill some warnings.
1861         (open_verify): Check .note.ABI-tag of the library if present.
1862         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
1863         * elf/cache.c (struct cache_entry): Add osversion.
1864         (print_entry): Print osversion.
1865         (print_cache): Pass osversion to it.
1866         (compare): Sort according to osversion.
1867         (save_cache): Set osversion.
1868         (add_to_cache): Add osversion argument.
1869         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
1870         process_elf_file): Add osversion argument.
1871         * elf/readlib.c (process_file): Likewise.
1872         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
1873         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
1874         process_elf32_file, process_elf64_file): Likewise.
1875         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
1876         process_elf32_file, process_elf64_file): Likewise.
1877         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
1878         process_elf32_file, process_elf64_file): Likewise.
1879         * elf/ldconfig.c (manual_link): Pass it.
1880         (search_dir): Issue diagnostic if two libs with the same soname in
1881         the same directory have different .note.ABI-tag.  Record osversion in
1882         dlib_entry and use it from there.
1883         (struct lib_entry): Remove.
1884         (struct dlib_entry): Add osversion.
1885         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
1886         osversion.
1887         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
1888         field with osversion.
1889         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
1890         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
1891         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
1892         version in _dl_osversion.
1893         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
1894         * Makerules (build-shlib-helper, build-module-helper): New.
1895         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
1896         early.
1897         * config.h.in (__ABI_TAG_VERSION): Add.
1898         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
1899         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
1900         Handle LD_ASSUME_KERNEL.
1901         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
1903 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
1905         * timezone/antarctica: Update from tzdata2001a.
1906         * timezone/asia: Likewise.
1907         * timezone/australasia: Likewise.
1908         * timezone/backward: Likewise.
1909         * timezone/etcetera: Likewise.
1910         * timezone/europe: Likewise.
1911         * timezone/leapseconds: Likewise.
1912         * timezone/northamerica: Likewise.
1913         * timezone/southamerica: Likewise.
1914         * timezone/systemv: Likewise.
1915         * timezone/yearistype: Likewise.
1916         * timezone/zone.tab: Likewise.
1917         * timezone/tzdump.c: Update from tzcode2001a.
1919 2001-03-15  H.J. Lu  <hjl@gnu.org>
1921         * intl/Makefile: Fix a typo.
1923 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
1925         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
1926         writing arc structures.
1928 2001-03-15  H.J. Lu  <hjl@gnu.org>
1930         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
1931         cross-compiling.
1933 2001-03-13  Andreas Schwab  <schwab@suse.de>
1935         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
1937 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
1939         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
1940         for control message fitting into message data.
1941         Patch by James Antill <james@and.org>.
1943         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
1944         FNM_EXTMATCH.
1946         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
1947         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
1949         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
1950         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
1951         avoid running binaries with libc versions without FNM_EXTMATCH support.
1953         * include/wchar.h: Add prototype for __wcscat.
1954         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
1956         * posix/fnmatch.h (FNM_EXTMATCH): Define.
1957         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
1958         (posixly_correct): Move global variable here.
1959         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
1960         (fnmatch): Pretty printing.
1961         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
1962         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
1963         * posix/tst-fnmatch.input: Add tests for extended matching.
1965         * posix/testfnm.c: Add test for patterns with multiple ** before /.
1966         * posix/fnmatch_loop.c: Fix problem with the test above.
1968 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
1970         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
1971         reference to usqrt.
1973         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
1975 2001-03-12  Andreas Jaeger  <aj@suse.de>
1977         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1978         Use EM_X86_64 instead of EM_X8664.
1980 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
1982         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
1984         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
1985         conditions.
1987         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
1988         conditions.
1990         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
1991         correctly.
1992         (__cos): Likewise.
1994         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
1995         correctly.
1996         (__ieee754_acos): Likewise.
1998 2001-03-12  Andreas Jaeger  <aj@suse.de>
2000         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
2001         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
2003         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
2004         redefinition.
2006 2001-03-11  Roland McGrath  <roland@frob.com>
2008         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
2010 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
2012         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
2013         LITTLE_ENDI.
2015         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
2016         parameter list.
2018         Last-bit accurate math library implementation by IBM Haifa.
2019         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
2020         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
2021         Anna Reitman <reitman@il.ibm.com>.
2022         * math/Makefile (dbl-only-routines): New variable.
2023         (libm-routines): Add $(dbl-only-routines).
2024         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
2025         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
2026         implementation.
2027         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
2028         implementation.
2029         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
2030         implementation.
2031         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
2032         __kernel_cos.
2033         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
2034         implementation.
2035         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
2036         remainder implementation.
2037         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
2038         implementation.
2039         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
2040         implementation.
2041         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
2042         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
2043         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
2044         implementation.
2045         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
2046         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
2047         implementation.
2048         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
2049         and __kernel_cos.
2050         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
2051         implementation.
2052         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
2053         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
2054         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
2055         * sysdeps/ieee754/dbl-64/atnat.h: New file.
2056         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
2057         * sysdeps/ieee754/dbl-64/branred.c: New file.
2058         * sysdeps/ieee754/dbl-64/branred.h: New file.
2059         * sysdeps/ieee754/dbl-64/dla.h: New file.
2060         * sysdeps/ieee754/dbl-64/doasin.c: New file.
2061         * sysdeps/ieee754/dbl-64/doasin.h: New file.
2062         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
2063         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
2064         * sysdeps/ieee754/dbl-64/endian.h: New file.
2065         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
2066         * sysdeps/ieee754/dbl-64/mpa.c: New file.
2067         * sysdeps/ieee754/dbl-64/mpa.h: New file.
2068         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
2069         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
2070         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
2071         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
2072         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
2073         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
2074         * sysdeps/ieee754/dbl-64/mplog.c: New file.
2075         * sysdeps/ieee754/dbl-64/mplog.h: New file.
2076         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
2077         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
2078         * sysdeps/ieee754/dbl-64/mptan.c: New file.
2079         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
2080         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
2081         * sysdeps/ieee754/dbl-64/root.tbl: New file.
2082         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
2083         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
2084         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
2085         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
2086         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
2087         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
2088         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
2089         * sysdeps/ieee754/dbl-64/uexp.h: New file.
2090         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
2091         * sysdeps/ieee754/dbl-64/ulog.h: New file.
2092         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
2093         * sysdeps/ieee754/dbl-64/upow.h: New file.
2094         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
2095         * sysdeps/ieee754/dbl-64/urem.h: New file.
2096         * sysdeps/ieee754/dbl-64/uroot.h: New file.
2097         * sysdeps/ieee754/dbl-64/usncs.h: New file.
2098         * sysdeps/ieee754/dbl-64/utan.h: New file.
2099         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
2100         * sysdeps/i386/fpu/branred.c: New file.
2101         * sysdeps/i386/fpu/doasin.c: New file.
2102         * sysdeps/i386/fpu/dosincos.c: New file.
2103         * sysdeps/i386/fpu/halfulp.c: New file.
2104         * sysdeps/i386/fpu/mpa.c: New file.
2105         * sysdeps/i386/fpu/mpatan.c: New file.
2106         * sysdeps/i386/fpu/mpatan2.c: New file.
2107         * sysdeps/i386/fpu/mpexp.c: New file.
2108         * sysdeps/i386/fpu/mplog.c: New file.
2109         * sysdeps/i386/fpu/mpsqrt.c: New file.
2110         * sysdeps/i386/fpu/mptan.c: New file.
2111         * sysdeps/i386/fpu/sincos32.c: New file.
2112         * sysdeps/i386/fpu/slowexp.c: New file.
2113         * sysdeps/i386/fpu/slowpow.c: New file.
2114         * sysdeps/ia64/fpu/branred.c: New file.
2115         * sysdeps/ia64/fpu/doasin.c: New file.
2116         * sysdeps/ia64/fpu/dosincos.c: New file.
2117         * sysdeps/ia64/fpu/halfulp.c: New file.
2118         * sysdeps/ia64/fpu/mpa.c: New file.
2119         * sysdeps/ia64/fpu/mpatan.c: New file.
2120         * sysdeps/ia64/fpu/mpatan2.c: New file.
2121         * sysdeps/ia64/fpu/mpexp.c: New file.
2122         * sysdeps/ia64/fpu/mplog.c: New file.
2123         * sysdeps/ia64/fpu/mpsqrt.c: New file.
2124         * sysdeps/ia64/fpu/mptan.c: New file.
2125         * sysdeps/ia64/fpu/sincos32.c: New file.
2126         * sysdeps/ia64/fpu/slowexp.c: New file.
2127         * sysdeps/ia64/fpu/slowpow.c: New file.
2128         * sysdeps/m68k/fpu/branred.c: New file.
2129         * sysdeps/m68k/fpu/doasin.c: New file.
2130         * sysdeps/m68k/fpu/dosincos.c: New file.
2131         * sysdeps/m68k/fpu/halfulp.c: New file.
2132         * sysdeps/m68k/fpu/mpa.c: New file.
2133         * sysdeps/m68k/fpu/mpatan.c: New file.
2134         * sysdeps/m68k/fpu/mpatan2.c: New file.
2135         * sysdeps/m68k/fpu/mpexp.c: New file.
2136         * sysdeps/m68k/fpu/mplog.c: New file.
2137         * sysdeps/m68k/fpu/mpsqrt.c: New file.
2138         * sysdeps/m68k/fpu/mptan.c: New file.
2139         * sysdeps/m68k/fpu/sincos32.c: New file.
2140         * sysdeps/m68k/fpu/slowexp.c: New file.
2141         * sysdeps/m68k/fpu/slowpow.c: New file.
2143         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
2144         codepages.
2146 2001-03-11  Andreas Jaeger  <aj@suse.de>
2148         * elf/elf.h (EM_*): Synch with official list.
2150 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
2152         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
2154 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
2156         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
2157         variables addr & len.
2159 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
2161         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
2162         punctuation in asm constraint.
2164 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
2166         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
2167         <time.h> to get definition of `struct timespec'.
2169 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
2171         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
2172         LD_WARN=1, not if LD_WARN is unset.
2174 2001-03-07  Andreas Schwab  <schwab@suse.de>
2176         * elf/ldconfig.h: Moved to ...
2177         * sysdeps/generic/ldconfig.h: ... here.
2178         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
2179         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
2180         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
2181         * elf/readlib.c (interpreters, known_libs): Use
2182         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
2183         instead of hard coding old names.
2185 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
2187         * catgets/Makefile (generated): Add test-gencat.h.
2188         (sample.SJIS.cat): Also generate header.
2189         * catgets/sample.SJIS: Add new set and message, both with symbolic
2190         names.
2191         * catgets/test-gencat.sh: Also compare generated header with what
2192         we expect.
2194 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
2196         * catgets/gencat.c (read_input_file): Preserve properly symbolic
2197         names.
2199 2001-03-06  Andreas Jaeger  <aj@suse.de>
2201         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
2202         needed.
2203         (elf_machine_pltrel_p): Likewise.
2204         * sysdeps/powerpc/dl-machine.h: Likewise.
2205         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
2207 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
2209         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
2210         dl-procinfo.h.
2212 2001-03-05  Philip Blundell  <philb@gnu.org>
2214         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
2215         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
2216         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
2217         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
2218         dl-procinfo.
2220 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
2222         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
2223         is not available.
2224         * dlfcn/tstcxaatexit.c (main): Likewise.
2226 2001-03-10  Andreas Jaeger  <aj@suse.de>
2228         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
2230 2001-03-09  Andreas Jaeger  <aj@suse.de>
2232         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
2233         both new and old EM_S390 values.
2234         (EM_S390_OLD): New constant.
2236         * elf/elf.h (EM_S390): Use official value.
2238 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
2240         * conform/data/sys/socket.h-data: Allow SO* symbols.
2242 2001-03-07  Andreas Schwab  <schwab@suse.de>
2244         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
2245         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
2247 2001-03-07  Andreas Jaeger  <aj@suse.de>
2249         * resolv/Makefile (routines): Only build gai_sigqueue when threads
2250         are available.
2252 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
2254         * elf/ldconfig.c (_dl_sysdep_message): Remove.
2255         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
2256         ldsodefs.h.
2257         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2259         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
2260         _dl_error_printf instead of _dl_sysdep_error.
2261         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2262         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
2263         Use _dl_printf instead of _dl_sysdep_message.
2264         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
2265         Likewise.
2267 2001-03-06  Ben Collins  <bcollins@debian.org>
2269         * manual/arith.texi (Integers): Fix documentation of fast and
2270         least integer typedefs.
2272 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
2274         * resolv/Depend: New file.
2275         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
2276         when libpthread is built.
2278 2001-03-06  Andreas Jaeger  <aj@suse.de>
2280         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
2282         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
2283         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
2285 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
2287         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
2289 2001-03-05  Andreas Jaeger  <aj@suse.de>
2291         * stdlib/msort.c (qsort): Don't use alloca in a function call.
2293 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
2295         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
2296         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
2297         always return zero.
2298         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2299         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
2300         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2301         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
2302         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2303         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2304         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2306 2001-03-04  Andreas Jaeger  <aj@suse.de>
2308         * stdlib/longlong.h: Don't use multi-line strings.
2309         * iconvdata/tst-loading.c: Likewise.
2311         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
2312         string.
2314 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
2316         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
2318         * rt/lio_listio.c: Add a few asserts.
2320         * elf/global.c: New file.
2321         * elf/globalmod1.c: New file.
2322         * elf/Makefile: Add rules to build and run global.
2324         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
2325         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
2326         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2327         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2328         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
2330         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
2331         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2333         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
2335         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
2336         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
2338         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
2340         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
2342 2001-03-04  Andreas Jaeger  <aj@suse.de>
2344         * resolv/tst-aton.c: Add testcase for IP with four periods.
2346         * resolv/inet_addr.c: Don't recognize an IP with four periods.
2347         Patch by Andre' Breiler <A.Breiler@gmx.net>.
2349 2001-02-27  Philip Blundell  <pb@futuretv.com>
2351         * elf/elf.h: Add new ARM definitions from latest (B-01)
2352         specification.  Correct naming of EF_ARM_ALIGN8 et al.
2354 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
2356         * stdio-common/tst-printf.sh: Remove bashisms.
2357         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
2359 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
2361         * Versions.def: Add libanl definition.
2362         * shlib-versions: Add entry for libanl.
2363         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
2364         (routines): Add gai_sigqueue.
2365         (extra-libs): Add libanl.
2366         (libanl-routines): New variable.
2367         Add rules to build libanl and ga_test.
2368         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
2369         [libanl]: New library.
2370         * resolv/netdb.h: Add definitions for libanl.
2371         * resolv/getaddrinfo_a.c: New file.
2372         * resolv/gai_cancel.c: New file.
2373         * resolv/gai_error.c: New file.
2374         * resolv/gai_misc.c: New file.
2375         * resolv/gai_misc.h: New file.
2376         * resolv/gai_notify.c: New file.
2377         * resolv/gai_suspend.c: New file.
2378         * resolv/ga_test.c: New file.
2379         * sysdeps/generic/gai_sigqueue.c: New file.
2380         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
2381         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
2382         and provide only that definition.
2383         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
2384         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
2385         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
2386         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2387         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2388         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
2390         * rt/aio_misc.c: Fix typos in comments.
2391         * rt/lio_listio.c: Pretty printing.  Little optimization in request
2392         list handling.
2394         * elf/rtld.c: Remove commented out code.
2396         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
2397         Update for real 2.4 kernels.
2399 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
2401         * elf/dl-load.c: Pretty printing.
2403         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
2404         twice.
2406 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
2408         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
2409         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
2411         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
2413         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
2414         machines.
2416         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
2418 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
2420         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
2421         _dl_debug_mask.
2423         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
2424         _dl_debug_printf.
2425         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
2426         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
2427         _dl_debug_printf_c, and _dl_printf.
2428         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
2429         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
2430         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
2431         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
2432         * elf/dl-close.c: Replace use of old output functions with the new
2433         ones.
2434         * elf/dl-deps.c: Likewise.
2435         * elf/dl-error.c: Likewise.
2436         * elf/dl-fini.c: Likewise.
2437         * elf/dl-init.c: Likewise.
2438         * elf/dl-load.c: Likewise.
2439         * elf/dl-lookup.c: Likewise.
2440         * elf/dl-minimal.c: Likewise.
2441         * elf/dl-open.c: Likewise.
2442         * elf/dl-profile.c: Likewise.
2443         * elf/dl-reloc.c: Likewise.
2444         * elf/dl-version.c: Likewise.
2445         * elf/do-lookup.h: Likewise.
2446         * elf/rtld.c: Likewise.
2447         * sysdeps/generic/dl-cache.c: Likewise.
2448         * sysdeps/generic/dl-sysdep.c: Likewise.
2449         * sysdeps/generic/libc-start.c: Likewise.
2450         * sysdeps/i386/dl-machine.h: Likewise.
2451         * sysdeps/arm/dl-machine.h: Likewise.
2452         * sysdeps/hppa/dl-machine.h: Likewise.
2453         * sysdeps/m68k/dl-machine.h: Likewise.
2454         * sysdeps/powerpc/dl-machine.h: Likewise.
2455         * sysdeps/s390/dl-machine.h: Likewise.
2456         * sysdeps/sh/dl-machine.h: Likewise.
2457         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2458         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
2459         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2461         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
2463         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
2464         supported by assembler.
2466         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
2467         declaractions.
2469         * elf/rtld.c: Little optimizations in handling _dl_lazy.
2471         * elf/cache.c (save_cache): Portability changes.
2472         * elf/dl-profile.c (_dl_start_profile): Likewise.
2474         * elf/sln.c: Cleanups.  Remove arbitrary limits.
2476         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
2477         * elf/dl-deps.c: Likewise.
2478         * elf/dl-fini.c: Likewise.
2479         * elf/dl-init.c: Likewise.
2480         * elf/dl-load.c: Likewise.
2481         * elf/dl-lookup.c: Likewise.
2482         * elf/dl-open.c: Likewise.
2483         * elf/dl-reloc.c: Likewise.
2484         * elf/dl-support.c: Likewise.
2485         * elf/dl-version.c: Likewise.
2486         * elf/do-lookup.h: Likewise.
2487         * elf/rtld.c: Likewise.
2488         * sysdeps/generic/dl-cache.c: Likewise.
2489         * sysdeps/generic/ldsodefs.h: Likewise.
2490         * sysdeps/generic/libc-start.c: Likewise.
2491         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
2492         Export _dl_debug_mask.
2493         * Versions.def: Define GLIBC_2.2.3 for ld.
2495 2001-02-26  Greg McGary  <greg@mcgary.org>
2497         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
2499 2001-02-26  Paul Eggert  <eggert@twinsun.com>
2501         Modify mkstemp.c and tempname.c so that they can be used by
2502         GNU applications on non-glibc platforms.
2504         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
2506         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
2507         Include <stddef.h>, <stdint.h>, <string.h> only if
2508         STDC_HEADERS || _LIBC.
2509         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
2510         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
2511         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
2512         (__set_errno): Define this macro if <errno.h> doesn't.
2513         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
2514         Define these macros if <stdio.h> doesn't.
2515         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
2516         Define these macros if <sys/stat.h> doesn't.
2517         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
2518         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
2519         lxstat64, __xstat64): Define if not _LIBC.
2520         (struct_stat64): New macro.
2521         (direxists, __gen_tempname): Use it, to avoid a
2522         portability problem with Solaris 8.
2523         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
2524         (__gen_tempname): Invoke gettimeofday only if
2525         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
2526         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
2527         octal values like 0600.
2529 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
2531         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
2532         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2534         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
2535         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2537         * posix/wordexp-test.c (testit): Remove warnings.
2539         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
2540         (tests): Add tstatexit and tstcxaatexit.
2541         (module-names): Add modatexit and modcxaatexit.
2542         Add rules to build and run tstatexit and tstcxaatexit.
2543         * dlfcn/modatexit.c: New file.
2544         * dlfcn/modcxaatexit.c: New file.
2545         * dlfcn/tstatexit.c: New file.
2546         * dlfcn/tstcxaatexit.c: New file.
2548         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
2549         .hidden is available.
2550         * io/stat.c: If .hidden is available use it to avoid exporting
2551         functions.
2552         * io/fstat.c: Likewise.
2553         * io/lstat.c: Likewise.
2554         * io/stat64.c: Likewise.
2555         * io/fstat64.c: Likewise.
2556         * io/lstat64.c: Likewise.
2557         * sysdeps/generic/mknod.c: Likewise.
2559         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
2560         * sysdeps/generic/bb_init_func.c: Likewise.
2561         * sysdeps/generic/libc-start.c: Likewise.
2563         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
2564         (atexit): Implement using __cxa_atexit.
2565         Use .hidden if availble to avoid exporting atexit.
2566         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
2567         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
2568         * stdlib/Makefile (routines): Add old_atexit.
2569         (static-only-routines): Add atexit.
2570         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
2571         * stdlib/old_atexit.c: New file.
2573         * intl/Makefile: Remove bogus endif.
2575 2001-02-26  Andreas Jaeger  <aj@suse.de>
2577         * iconvdata/Makefile (tests): Fix typo in last patch.
2579         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
2580         available.
2581         Reported by Achim Gottinger <achim@gentoo.org>.
2583 2001-02-25  Andreas Jaeger  <aj@suse.de>
2585         * intl/Makefile (plural.c): Reorder rules so that they work if
2586         BISON doesn't exist.
2588 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
2590         * intl/locale.alias: Don't use nb_NO but define aliases for it.
2592 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
2594         * sysdeps/i386/strtok.S: Continue to return NULL after the first
2595         time this happened.
2597 2001-02-23  Andreas Jaeger  <aj@suse.de>
2599         * string/tester.c (test_strtok_r): Add testcase.
2600         (test_strtok_r): Always initialize cp for proper checking.
2602         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
2603         returning NULL correctly.
2604         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
2605         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
2607 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
2609         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
2610         including <stddef.h>.
2611         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
2612         * include/libc-symbols.h (weak_alias): Don't use .weak if
2613         HAVE_ASM_GLOBAL_DOT_NAME is defined.
2614         Patches by Michael Keezer <mkeezer@redhat.com>.
2616         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
2617         Patch by Michael Keezer <mkeezer@redhat.com>.
2619         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
2620         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
2621         (sysdep_routines): Remove restf.S and savef.S.
2622         * sysdeps/unix/sysv/aix/restf.S. Removed.
2623         * sysdeps/unix/sysv/aix/savef.S. Removed.
2624         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
2625         alternative names used on some platforms.
2626         * sysdeps/powerpc/fprsave.S: Likewise.
2627         * sysdeps/powerpc/gprrest0.S: Likewise.
2628         * sysdeps/powerpc/gprrest1.S: Likewise.
2629         * sysdeps/powerpc/gprsave0.S: Likewise.
2630         * sysdeps/powerpc/gprsave1.S: Likewise.
2631         Patch by Michael Keezer <mkeezer@redhat.com>.
2633 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
2635         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
2637 2001-02-22  Andreas Jaeger  <aj@suse.de>
2639         * string/tst-strtok.c (main): Fix error messages.
2641 2001-02-22  Andreas Jaeger  <aj@suse.de>
2643         * math/Makefile: Remove omit-long-double-fcts.
2645 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
2647         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
2648         avoid problems on MIPS I.
2649         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
2651         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
2652         noreorder".
2654 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
2656         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
2658         * sysdeps/generic/ftime.c: Include <time.h>.
2660         * configure.in: Don't check for libgd if user passed --without-gd.
2661         Patch by Achim Gottinger <achim@gentoo.org>.
2663         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
2664         first time this happened.
2665         * string/Makefile (tests): Add tst-strtok.
2667 2001-02-21  Andreas Jaeger  <aj@suse.de>
2669         * string/tst-strtok.c: New testcase, reported by
2670         Andrew Church <achurch@achurch.org>.
2672 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
2674         * libio/iofwide.c: Remove fwide alias.
2676 2001-02-20  Andreas Jaeger  <aj@suse.de>
2678         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
2679         is available.
2680         Reported by Achim Gottinger <achim@gentoo.org>.
2682 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
2684         * iconv/tst-iconv1.c (main): Remove debugging code.
2686         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
2687         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2689         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
2690         parameters.
2691         * sysdeps/generic/e_scalbf.c: Likewise.
2692         * sysdeps/generic/e_scalbl.c: Likewise.
2694         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
2695         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
2696         in libc.
2697         (routines): Replace libm_error with libc_libm_error.
2698         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
2699         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
2701 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
2703         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
2704         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
2706 2001-02-17  H.J. Lu  <hjl@gnu.org>
2708         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
2709         scratch registers across the system call.
2711 2001-02-19  Andreas Jaeger  <aj@suse.de>
2713         * malloc/Makefile (tests): Run mtrace only when perl is available.
2714         Reported by Achim Gottinger <achim@gentoo.org>.
2716 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
2718         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
2719         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2721         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
2722         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
2723         * math/libm-test.inc (j1_test): Mark constants as long double.
2724         (jn_test): Likewise.
2725         (y1_test): Likewise.
2726         (yn_test): Likewise.
2728         * libio/iogetline.c: Move return until after last statement.
2730         * localedata/show-ucs-data.c: Don't show < > for better readability.
2732         * sysdeps/ia64/fpu/Dist: New file.
2733         * sysdeps/ia64/fpu/Makefile: New file.
2734         * sysdeps/ia64/fpu/Versions: New file.
2735         * sysdeps/ia64/fpu/e_acos.S: New file.
2736         * sysdeps/ia64/fpu/e_acosf.S: New file.
2737         * sysdeps/ia64/fpu/e_acosl.S: New file.
2738         * sysdeps/ia64/fpu/e_asin.S: New file.
2739         * sysdeps/ia64/fpu/e_asinf.S: New file.
2740         * sysdeps/ia64/fpu/e_asinl.S: New file.
2741         * sysdeps/ia64/fpu/e_atan2.S: New file.
2742         * sysdeps/ia64/fpu/e_atan2f.S: New file.
2743         * sysdeps/ia64/fpu/e_atan2l.c: New file.
2744         * sysdeps/ia64/fpu/e_cosh.S: New file.
2745         * sysdeps/ia64/fpu/e_coshf.S: New file.
2746         * sysdeps/ia64/fpu/e_coshl.S: New file.
2747         * sysdeps/ia64/fpu/e_exp.S: New file.
2748         * sysdeps/ia64/fpu/e_expf.S: New file.
2749         * sysdeps/ia64/fpu/e_expl.c: New file.
2750         * sysdeps/ia64/fpu/e_fmod.S: New file.
2751         * sysdeps/ia64/fpu/e_fmodf.S: New file.
2752         * sysdeps/ia64/fpu/e_fmodl.S: New file.
2753         * sysdeps/ia64/fpu/e_hypot.S: New file.
2754         * sysdeps/ia64/fpu/e_hypotf.S: New file.
2755         * sysdeps/ia64/fpu/e_hypotl.S: New file.
2756         * sysdeps/ia64/fpu/e_log.S: New file.
2757         * sysdeps/ia64/fpu/e_log10.c: New file.
2758         * sysdeps/ia64/fpu/e_log10f.c: New file.
2759         * sysdeps/ia64/fpu/e_log10l.c: New file.
2760         * sysdeps/ia64/fpu/e_logf.S: New file.
2761         * sysdeps/ia64/fpu/e_logl.c: New file.
2762         * sysdeps/ia64/fpu/e_pow.S: New file.
2763         * sysdeps/ia64/fpu/e_powf.S: New file.
2764         * sysdeps/ia64/fpu/e_powl.S: New file.
2765         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
2766         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
2767         * sysdeps/ia64/fpu/e_remainder.S: New file.
2768         * sysdeps/ia64/fpu/e_remainderf.S: New file.
2769         * sysdeps/ia64/fpu/e_remainderl.S: New file.
2770         * sysdeps/ia64/fpu/e_scalb.S: New file.
2771         * sysdeps/ia64/fpu/e_scalbf.S: New file.
2772         * sysdeps/ia64/fpu/e_scalbl.S: New file.
2773         * sysdeps/ia64/fpu/e_sinh.S: New file.
2774         * sysdeps/ia64/fpu/e_sinhf.S: New file.
2775         * sysdeps/ia64/fpu/e_sinhl.S: New file.
2776         * sysdeps/ia64/fpu/e_sqrt.S: New file.
2777         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
2778         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
2779         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
2780         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
2781         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
2782         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
2783         * sysdeps/ia64/fpu/libm_error.c: New file.
2784         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
2785         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
2786         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
2787         * sysdeps/ia64/fpu/libm_reduce.S: New file.
2788         * sysdeps/ia64/fpu/libm_support.h: New file.
2789         * sysdeps/ia64/fpu/libm_tan.S: New file.
2790         * sysdeps/ia64/fpu/s_atan.S: New file.
2791         * sysdeps/ia64/fpu/s_atanf.S: New file.
2792         * sysdeps/ia64/fpu/s_atanl.S: New file.
2793         * sysdeps/ia64/fpu/s_cbrt.S: New file.
2794         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
2795         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
2796         * sysdeps/ia64/fpu/s_ceil.S: New file.
2797         * sysdeps/ia64/fpu/s_ceilf.S: New file.
2798         * sysdeps/ia64/fpu/s_ceill.S: New file.
2799         * sysdeps/ia64/fpu/s_cos.S: New file.
2800         * sysdeps/ia64/fpu/s_cosf.S: New file.
2801         * sysdeps/ia64/fpu/s_cosl.S: New file.
2802         * sysdeps/ia64/fpu/s_expm1.S: New file.
2803         * sysdeps/ia64/fpu/s_expm1f.S: New file.
2804         * sysdeps/ia64/fpu/s_expm1l.S: New file.
2805         * sysdeps/ia64/fpu/s_floor.S: New file.
2806         * sysdeps/ia64/fpu/s_floorf.S: New file.
2807         * sysdeps/ia64/fpu/s_floorl.S: New file.
2808         * sysdeps/ia64/fpu/s_frexp.c: New file.
2809         * sysdeps/ia64/fpu/s_frexpf.c: New file.
2810         * sysdeps/ia64/fpu/s_frexpl.c: New file.
2811         * sysdeps/ia64/fpu/s_ilogb.S: New file.
2812         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
2813         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
2814         * sysdeps/ia64/fpu/s_ldexp.S: New file.
2815         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
2816         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
2817         * sysdeps/ia64/fpu/s_log1p.S: New file.
2818         * sysdeps/ia64/fpu/s_log1pf.S: New file.
2819         * sysdeps/ia64/fpu/s_log1pl.S: New file.
2820         * sysdeps/ia64/fpu/s_logb.S: New file.
2821         * sysdeps/ia64/fpu/s_logbf.S: New file.
2822         * sysdeps/ia64/fpu/s_logbl.S: New file.
2823         * sysdeps/ia64/fpu/s_matherrf.c: New file.
2824         * sysdeps/ia64/fpu/s_matherrl.c: New file.
2825         * sysdeps/ia64/fpu/s_modf.S: New file.
2826         * sysdeps/ia64/fpu/s_modff.S: New file.
2827         * sysdeps/ia64/fpu/s_modfl.S: New file.
2828         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
2829         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
2830         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
2831         * sysdeps/ia64/fpu/s_rint.S: New file.
2832         * sysdeps/ia64/fpu/s_rintf.S: New file.
2833         * sysdeps/ia64/fpu/s_rintl.S: New file.
2834         * sysdeps/ia64/fpu/s_round.S: New file.
2835         * sysdeps/ia64/fpu/s_roundf.S: New file.
2836         * sysdeps/ia64/fpu/s_roundl.S: New file.
2837         * sysdeps/ia64/fpu/s_scalbn.S: New file.
2838         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
2839         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
2840         * sysdeps/ia64/fpu/s_significand.S: New file.
2841         * sysdeps/ia64/fpu/s_significandf.S: New file.
2842         * sysdeps/ia64/fpu/s_significandl.S: New file.
2843         * sysdeps/ia64/fpu/s_sin.c: New file.
2844         * sysdeps/ia64/fpu/s_sincos.c: New file.
2845         * sysdeps/ia64/fpu/s_sincosf.c: New file.
2846         * sysdeps/ia64/fpu/s_sincosl.c: New file.
2847         * sysdeps/ia64/fpu/s_sinf.c: New file.
2848         * sysdeps/ia64/fpu/s_sinl.c: New file.
2849         * sysdeps/ia64/fpu/s_tan.S: New file.
2850         * sysdeps/ia64/fpu/s_tanf.S: New file.
2851         * sysdeps/ia64/fpu/s_tanl.S: New file.
2852         * sysdeps/ia64/fpu/s_trunc.S: New file.
2853         * sysdeps/ia64/fpu/s_truncf.S: New file.
2854         * sysdeps/ia64/fpu/s_truncl.S: New file.
2855         * sysdeps/ia64/fpu/w_acos.c: New file.
2856         * sysdeps/ia64/fpu/w_acosf.c: New file.
2857         * sysdeps/ia64/fpu/w_acosl.c: New file.
2858         * sysdeps/ia64/fpu/w_asin.c: New file.
2859         * sysdeps/ia64/fpu/w_asinf.c: New file.
2860         * sysdeps/ia64/fpu/w_asinl.c: New file.
2861         * sysdeps/ia64/fpu/w_atan2.c: New file.
2862         * sysdeps/ia64/fpu/w_atan2f.c: New file.
2863         * sysdeps/ia64/fpu/w_atan2l.c: New file.
2864         * sysdeps/ia64/fpu/w_cosh.c: New file.
2865         * sysdeps/ia64/fpu/w_coshf.c: New file.
2866         * sysdeps/ia64/fpu/w_coshl.c: New file.
2867         * sysdeps/ia64/fpu/w_exp.c: New file.
2868         * sysdeps/ia64/fpu/w_expf.c: New file.
2869         * sysdeps/ia64/fpu/w_fmod.c: New file.
2870         * sysdeps/ia64/fpu/w_fmodf.c: New file.
2871         * sysdeps/ia64/fpu/w_fmodl.c: New file.
2872         * sysdeps/ia64/fpu/w_hypot.c: New file.
2873         * sysdeps/ia64/fpu/w_hypotf.c: New file.
2874         * sysdeps/ia64/fpu/w_hypotl.c: New file.
2875         * sysdeps/ia64/fpu/w_log.c: New file.
2876         * sysdeps/ia64/fpu/w_log10.c: New file.
2877         * sysdeps/ia64/fpu/w_log10f.c: New file.
2878         * sysdeps/ia64/fpu/w_log10l.c: New file.
2879         * sysdeps/ia64/fpu/w_logf.c: New file.
2880         * sysdeps/ia64/fpu/w_logl.c: New file.
2881         * sysdeps/ia64/fpu/w_pow.c: New file.
2882         * sysdeps/ia64/fpu/w_powf.c: New file.
2883         * sysdeps/ia64/fpu/w_powl.c: New file.
2884         * sysdeps/ia64/fpu/w_remainder.c: New file.
2885         * sysdeps/ia64/fpu/w_remainderf.c: New file.
2886         * sysdeps/ia64/fpu/w_remainderl.c: New file.
2887         * sysdeps/ia64/fpu/w_scalb.c: New file.
2888         * sysdeps/ia64/fpu/w_scalbf.c: New file.
2889         * sysdeps/ia64/fpu/w_scalbl.c: New file.
2890         * sysdeps/ia64/fpu/w_sqrt.c: New file.
2891         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
2892         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
2893         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
2894         implementation.
2895         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
2896         Change FP_ILOGBNAN for new implementation.
2897         * Verions.def: Add 2.2.3 versions.
2899 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
2901         * math/libm-test.inc (scalb_test): Require invalid exception being
2902         raised for invalid parameters.
2903         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
2904         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2905         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2907 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
2909         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
2910         value to long int.
2911         (__get_avphys_pages): Likewise.
2913 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
2915         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
2916         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
2917         * sysdeps/i386/fpu/e_powf.S: Likewise.
2918         * sysdeps/i386/fpu/e_powl.S: Likewise.
2920         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
2922 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
2924         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
2926         * sysdeps/generic/s_exp2l.c: Renamed to...
2927         * sysdeps/generic/e_exp2l.c: ...this.   New file.
2928         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
2929         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
2930         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
2931         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
2932         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
2933         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
2934         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
2935         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
2936         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
2937         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
2938         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
2939         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
2940         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
2941         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
2942         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
2943         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
2945 2001-02-17  Andreas Jaeger  <aj@suse.de>
2947         * configure.in: Allow gcc 3.
2949 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
2951         * math/w_acos.c: Move to ...
2952         * sysdeps/generic/w_acos.c: ...here.  New file.
2953         * math/w_acosf.c: Move to ...
2954         * sysdeps/generic/w_acosf.c: ...here.  New file.
2955         * math/w_acosh.c: Move to ...
2956         * sysdeps/generic/w_acosh.c: ...here.  New file.
2957         * math/w_acoshf.c: Move to ...
2958         * sysdeps/generic/w_acoshf.c: ...here.  New file.
2959         * math/w_acoshl.c: Move to ...
2960         * sysdeps/generic/w_acoshl.c: ...here.  New file.
2961         * math/w_acosl.c: Move to ...
2962         * sysdeps/generic/w_acosl.c: ...here.  New file.
2963         * math/w_asin.c: Move to ...
2964         * sysdeps/generic/w_asin.c: ...here.  New file.
2965         * math/w_asinf.c: Move to ...
2966         * sysdeps/generic/w_asinf.c: ...here.  New file.
2967         * math/w_asinl.c: Move to ...
2968         * sysdeps/generic/w_asinl.c: ...here.  New file.
2969         * math/w_atan2.c: Move to ...
2970         * sysdeps/generic/w_atan2.c: ...here.  New file.
2971         * math/w_atan2f.c: Move to ...
2972         * sysdeps/generic/w_atan2f.c: ...here.  New file.
2973         * math/w_atan2l.c: Move to ...
2974         * sysdeps/generic/w_atan2l.c: ...here.  New file.
2975         * math/w_atanh.c: Move to ...
2976         * sysdeps/generic/w_atanh.c: ...here.  New file.
2977         * math/w_atanhf.c: Move to ...
2978         * sysdeps/generic/w_atanhf.c: ...here.  New file.
2979         * math/w_atanhl.c: Move to ...
2980         * sysdeps/generic/w_atanhl.c: ...here.  New file.
2981         * math/w_cosh.c: Move to ...
2982         * sysdeps/generic/w_cosh.c: ...here.  New file.
2983         * math/w_coshf.c: Move to ...
2984         * sysdeps/generic/w_coshf.c: ...here.  New file.
2985         * math/w_coshl.c: Move to ...
2986         * sysdeps/generic/w_coshl.c: ...here.  New file.
2987         * math/w_drem.c: Move to ...
2988         * sysdeps/generic/w_drem.c: ...here.  New file.
2989         * math/w_dremf.c: Move to ...
2990         * sysdeps/generic/w_dremf.c: ...here.  New file.
2991         * math/w_dreml.c: Move to ...
2992         * sysdeps/generic/w_dreml.c: ...here.  New file.
2993         * math/w_exp10.c: Move to ...
2994         * sysdeps/generic/w_exp10.c: ...here.  New file.
2995         * math/w_exp10f.c: Move to ...
2996         * sysdeps/generic/w_exp10f.c: ...here.  New file.
2997         * math/w_exp10l.c: Move to ...
2998         * sysdeps/generic/w_exp10l.c: ...here.  New file.
2999         * math/w_exp2.c: Move to ...
3000         * sysdeps/generic/w_exp2.c: ...here.  New file.
3001         * math/w_exp2f.c: Move to ...
3002         * sysdeps/generic/w_exp2f.c: ...here.  New file.
3003         * math/w_exp2l.c: Move to ...
3004         * sysdeps/generic/w_exp2l.c: ...here.  New file.
3005         * math/w_fmod.c: Move to ...
3006         * sysdeps/generic/w_fmod.c: ...here.  New file.
3007         * math/w_fmodf.c: Move to ...
3008         * sysdeps/generic/w_fmodf.c: ...here.  New file.
3009         * math/w_fmodl.c: Move to ...
3010         * sysdeps/generic/w_fmodl.c: ...here.  New file.
3011         * math/w_hypot.c: Move to ...
3012         * sysdeps/generic/w_hypot.c: ...here.  New file.
3013         * math/w_hypotf.c: Move to ...
3014         * sysdeps/generic/w_hypotf.c: ...here.  New file.
3015         * math/w_hypotl.c: Move to ...
3016         * sysdeps/generic/w_hypotl.c: ...here.  New file.
3017         * math/w_j0.c: Move to ...
3018         * sysdeps/generic/w_j0.c: ...here.  New file.
3019         * math/w_j0f.c: Move to ...
3020         * sysdeps/generic/w_j0f.c: ...here.  New file.
3021         * math/w_j0l.c: Move to ...
3022         * sysdeps/generic/w_j0l.c: ...here.  New file.
3023         * math/w_j1.c: Move to ...
3024         * sysdeps/generic/w_j1.c: ...here.  New file.
3025         * math/w_j1f.c: Move to ...
3026         * sysdeps/generic/w_j1f.c: ...here.  New file.
3027         * math/w_j1l.c: Move to ...
3028         * sysdeps/generic/w_j1l.c: ...here.  New file.
3029         * math/w_jn.c: Move to ...
3030         * sysdeps/generic/w_jn.c: ...here.  New file.
3031         * math/w_jnf.c: Move to ...
3032         * sysdeps/generic/w_jnf.c: ...here.  New file.
3033         * math/w_jnl.c: Move to ...
3034         * sysdeps/generic/w_jnl.c: ...here.  New file.
3035         * math/w_lgamma.c: Move to ...
3036         * sysdeps/generic/w_lgamma.c: ...here.  New file.
3037         * math/w_lgammaf.c: Move to ...
3038         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
3039         * math/w_lgammaf_r.c: Move to ...
3040         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
3041         * math/w_lgammal.c: Move to ...
3042         * sysdeps/generic/w_lgammal.c: ...here.  New file.
3043         * math/w_lgammal_r.c: Move to ...
3044         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
3045         * math/w_lgamma_r.c: Move to ...
3046         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
3047         * math/w_log10.c: Move to ...
3048         * sysdeps/generic/w_log10.c: ...here.  New file.
3049         * math/w_log10f.c: Move to ...
3050         * sysdeps/generic/w_log10f.c: ...here.  New file.
3051         * math/w_log10l.c: Move to ...
3052         * sysdeps/generic/w_log10l.c: ...here.  New file.
3053         * math/w_log.c: Move to ...
3054         * sysdeps/generic/w_log.c: ...here.  New file.
3055         * math/w_logf.c: Move to ...
3056         * sysdeps/generic/w_logf.c: ...here.  New file.
3057         * math/w_logl.c: Move to ...
3058         * sysdeps/generic/w_logl.c: ...here.  New file.
3059         * math/w_pow.c: Move to ...
3060         * sysdeps/generic/w_pow.c: ...here.  New file.
3061         * math/w_powf.c: Move to ...
3062         * sysdeps/generic/w_powf.c: ...here.  New file.
3063         * math/w_powl.c: Move to ...
3064         * sysdeps/generic/w_powl.c: ...here.  New file.
3065         * math/w_remainder.c: Move to ...
3066         * sysdeps/generic/w_remainder.c: ...here.  New file.
3067         * math/w_remainderf.c: Move to ...
3068         * sysdeps/generic/w_remainderf.c: ...here.  New file.
3069         * math/w_remainderl.c: Move to ...
3070         * sysdeps/generic/w_remainderl.c: ...here.  New file.
3071         * math/w_scalb.c: Move to ...
3072         * sysdeps/generic/w_scalb.c: ...here.  New file.
3073         * math/w_scalbf.c: Move to ...
3074         * sysdeps/generic/w_scalbf.c: ...here.  New file.
3075         * math/w_scalbl.c: Move to ...
3076         * sysdeps/generic/w_scalbl.c: ...here.  New file.
3077         * math/w_sinh.c: Move to ...
3078         * sysdeps/generic/w_sinh.c: ...here.  New file.
3079         * math/w_sinhf.c: Move to ...
3080         * sysdeps/generic/w_sinhf.c: ...here.  New file.
3081         * math/w_sinhl.c: Move to ...
3082         * sysdeps/generic/w_sinhl.c: ...here.  New file.
3083         * math/w_sqrtl.c: Move to ...
3084         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
3085         * math/w_tgamma.c: Move to ...
3086         * sysdeps/generic/w_tgamma.c: ...here.  New file.
3087         * math/w_tgammaf.c: Move to ...
3088         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
3089         * math/w_tgammal.c: Move to ...
3090         * sysdeps/generic/w_tgammal.c: ...here.  New file.
3092         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
3093         formats for postal_fmt.
3095 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
3097         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
3098         __ftruncate64 alias.
3099         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
3100         Likewise.
3102 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
3104         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
3105         do "loadrs".  Writing to bspstore already takes care of
3106         invalidating the "clean" partition.
3108 2001-02-16  Andreas Schwab  <schwab@suse.de>
3110         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
3111         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
3113 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
3115         * posix/regex.c (init_syntax_once): Add prototype.
3116         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
3117         (re_search_2): Avoid warning.
3118         (count_mbs_length): Add prototype.
3119         * posix/tst-regex3.c: New file.
3120         * posix/Makefile (tests): Add bug-regex3.
3122 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
3124         * stdio-common/Makefile (tests): Add tst-gets.
3125         * stdio-common/tst-gets.c: New file.
3126         * stdio-common/tst-gets.input: New file.
3128         * elf/elf.h (DT_CHECKSUM): Define.
3130         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
3131         default symbol.
3132         * sysdeps/generic/strtoull.c: Likewise.
3134 2001-02-14  Wolfram Gloger  <wg@malloc.de>
3136         * malloc/malloc.c (new_heap): When allocating large chunk aligned
3137         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
3138         between the heaps.
3140 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
3142         * math/libm-test.inc (j0_test): Check whether sincos is available.
3143         (j1_test): Likewise.
3144         (jn_test): Likewise.
3145         (y0_test): Likewise.
3146         (y1_test): Likewise.
3147         (yn_test): Likewise.
3149         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
3150         fake filesystem routines to handle this.
3152         * time/sys/time.h: Make settimeofday and adjtime available if
3153         _BSD_SOURCE.
3155         * time/sys/time.h: Make timer* macros available for BSD.
3157         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
3158         Patch by Yong Li <rigel863@yahoo.com>.
3160         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
3161         name.
3163         * posix/Makefile (tests): Add tst-gnuglob.
3164         * posix/tst-gnuglob.c: New file.
3166 2001-02-13  H.J. Lu  <hjl@gnu.org>
3168         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
3170 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
3172         * locale/programs/ld-paper.c (paper_output): Pretty printing.
3174         * iconvdata/Makefile (modules): Add GBBIG5.
3175         (distribute): Add gbbig5.c.
3176         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
3178         * iconvdata/gbbig5.c: New file.
3179         Contributed by Yong Li <rigel863@yahoo.com>.
3181 2001-02-13  Philip Blundell  <pb@futuretv.com>
3183         * manual/crypt.texi: Remove outdated references to crypt add-on.
3185         * manual/creature.texi: Improve wording slightly.
3187 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
3189         * io/ftw.c: Always use readdir64.
3190         * io/ftw64.c: Likewise.
3191         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3192         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3193         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
3194         callback to dirent.  Still allow compiling outside glibc.
3195         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
3196         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3198         * malloc/mtrace.c: Use fopen64.
3199         * posix/spawni.c: Use __open64.
3200         * sysdeps/unix/opendir.c: Likewise.
3201         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
3203         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
3204         name a weak alias.
3205         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
3206         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
3207         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
3208         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
3210         * resolv/res_data.c: Add cast to avoid warning.
3212         * include/unistd.h: Declare __ftruncate64.
3214         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
3216         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
3217         instead of __lseek.
3219 2001-02-13  Andreas Jaeger  <aj@suse.de>
3221         * login/getutent_r.c: Include <stdlib.h> for NULL.
3222         * login/getutid_r.c: Likewise.
3224 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
3226         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
3227         * sysdeps/dbl-64/e_j1.c: Likewise.
3228         * sysdeps/dbl-64/e_jn.c: Likewise.
3229         * sysdeps/flt-32/e_j0f.c: Likewise.
3230         * sysdeps/flt-32/e_j1f.c: Likewise.
3231         * sysdeps/ldbl-96/e_j0l.c: Likewise.
3233 2000-12-02  H.J. Lu  <hjl@gnu.org>
3235         * resolv/res_libc.c (res_init): Don't make it default.
3237 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
3239         * manual/debug.texi: Improved the wording.
3240         Patch by Philip Blundell <pb@futuretv.com>.
3242 2001-02-12  Andreas Jaeger  <aj@suse.de>
3244         * posix/Makefile (tests): Don't run bug-regex2 when
3245         cross-compiling.
3247         * libio/Makefile (tests): Don't run test-freopen when
3248         cross-compiling.
3250         * manual/stdio.texi (Streams and I18N): Fix typos.
3252 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
3254         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
3256         * math/libm-test.inc (j0_test): Make expected results long double
3257         constants.
3258         (y0_test): Likewise.
3260         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
3261         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3263 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
3265         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
3266         which was exported from libc.
3267         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
3269 2001-02-12  Andreas Jaeger  <aj@suse.de>
3271         * manual/arith.texi (Parsing of Integers): Fix some wordings.
3273 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
3275         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
3276         and get_avphys_page to long int.
3277         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
3278         * include/sys/sysinfo.h: Likewise.
3279         * sysdeps/generic/sys/sysinfo.h: Likewise.
3280         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
3282         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
3283         cannot return as many values as the user asked for.
3285 2001-02-11  Andreas Jaeger  <aj@suse.de>
3287         * manual/resource.texi (Memory Resources): Fix typo.
3289         * libio/Makefile ($(objpfx)test-freopen.out): Pass
3290         run-program-prefix.
3292         * libio/test-freopen.sh: Use run_program_prefix.
3294 2001-02-10  Andreas Jaeger  <aj@suse.de>
3296         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
3297         cross-compiling.
3298         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
3300         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
3301         only builds.
3303         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
3305         * posix/Makefile: Fix typo, it's build-static-nss.
3307         * iconv/Makefile (extra-objs): New.
3309 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
3311         * sysdeps/unix/stime.c: Include <time.h>.
3313         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
3315 2001-02-10  Andreas Jaeger  <aj@suse.de>
3317         * manual/string.texi (Search Functions): Fix typo.
3319 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
3321         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
3322         (timeval_to_clock_t): Add clk_tck argument and use that instead of
3323         CLK_TCK.
3324         (__times): Use __getclktck to get the number of clock ticks per
3325         second and use its return value instead of CLK_TCK.
3327 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
3329         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
3331 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
3333         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
3335 2001-02-10  Andreas Jaeger  <aj@suse.de>
3337         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
3338         warning.
3340 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
3342         * posix/Makefile: Add rules to build and run bug-regex2.
3343         * posix/bug-regex2.c: New file.
3345 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
3347         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
3348         (regex_compile): Likewise.
3349         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
3350         (re_match_2_internal): Use just is_binary instead of two variables.
3351         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
3353 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
3355         * version.h (VERSION): Bump to 2.2.2.
3357         * iconv/Makefile (distribute): Add iconv_charmap.c and
3358         dummy-repertoire.c.
3359         * elf/Makefile (distribute): Add firstobj.c.
3360         * Makefile (distribute): Add include/pthread.h.
3362         * configure.in: Require makeinfo version 4.
3364         * libio/tst_wscanf.c (main): Add cast to avoid warning.
3365         * libio/tst_swscanf.c (main): Likewise..
3367 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
3369         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
3370         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
3371         __NO_MATH_INLINES.
3372         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
3373         if not RTLD_BOOTSTRAP.
3374         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3375         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3377 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
3379         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
3380         lr_ungetc to push back last read character.
3381         * locale/programs/linereader.h (lr_ungetc): Don't push back is
3382         character is EOF.
3383         (lr_ignore_rest): Don't warn about garbage if it is really the end
3384         of the file.
3386         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
3387         definition.
3389 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
3391         * Makerules (build-shlib): Work around different order of
3392         processing of -B option in different gcc versions.
3394         * posix/regex.c: Fix alignment problem.
3395         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
3397         * sysdeps/alpha/strrchr.S: Little optimization.
3398         Patch by Richard Henderson <rth@redhat.com>.
3400         * sysdeps/alpha/alphaev67/strrchr.S: New file.
3401         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
3403 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
3405         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
3406         in the assembler end directive.
3408 2001-02-08  Andreas Jaeger  <aj@suse.de>
3410         * manual/stdio.texi (Closing Streams): Fix typos.
3412 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
3414         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
3415         Patch by Richard Henderson <rth@redhat.com>.
3416         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
3418         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
3419         pointer in FILE structure before calling _IO_init.
3420         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
3421         strfmon_l if necessary.
3422         Reported by Jury Gerold <gjury@grips.com>.
3424         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
3425         Patch by Pekka.Pietikainen@cern.ch.
3427         * posix/regex.c: Correct several problems with 64-bit architectures
3428         introduced in the MBS changes.
3429         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
3431 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
3433         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
3434         not defined.
3435         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
3437 2001-02-07  Andreas Jaeger  <aj@suse.de>
3439         * manual/install.texi (Tools for Compilation): Fix typo.
3440         Reported by Pavel Machek <pavel@bug.ucw.cz>.
3442 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
3444         * stdlib/strtod.c: Never stop prematurely reading digits before the
3445         decimal point is found.  Compute exponent limit for negative exponents
3446         correctly.  For numbers ending in all zeros eat the zeros even before
3447         the decimal point if the exponent is negative [PR libc/2072].
3448         * stdlib/Makefile (tests): Add bug-strtod.
3449         * stdlib/bug-strtod.c: New file.
3451 2001-02-07  Andreas Jaeger  <aj@suse.de>
3453         * posix/bug-regex1.c: Include <wchar.h> for fwide.
3455 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
3457         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
3458         Store index.
3459         (compile_range): Handle index being passed, not pointer.
3460         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
3462         * posix/regex.c: Fix a cast in the code for bracket handling which
3463         caused 8-bit uncleanliness.
3464         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
3466         * posix/Makefile (tests): Add bug-regex1.
3467         * posix/bug-regex1.c: New file.
3468         Contributed by Jim Meyering <jim@meyering.net>.
3470         * posix/regex.c: Many cleanups for incorrect format strings.
3472 2001-02-06  Andreas Jaeger  <aj@suse.de>
3474         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
3476 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
3478         * locale/programs/locale.c (write_locales): Use scandir to read
3479         directory so that the entries are sorted.
3481 2001-02-06  Andreas Jaeger  <aj@suse.de>
3483         * include/pthread.h: New file.
3485         * wctype/wctype.h: Move internal interfaces from here to...
3486         * include/wctype.h: ...here.
3488         * wcsmbs/wchar.h: Move __wcslen from here to...
3489         * include/wchar.h: ...here.
3491         * posix/sys/wait.h: Move __wait from here to...
3492         * include/sys/wait.h: ...here.
3494         * string/string.h: Move __ffs and __strerror_r from here to...
3495         * include/string.h: ...here.
3497         * stdlib/stdlib.h: Move __on_exit from here to...
3498         * include/stdlib.h: ...here.
3500         * libio/stdio.h: Move __vsnprintf from here to...
3501         * include/stdio.h: ...here.
3503 2001-02-06  Andreas Schwab  <schwab@suse.de>
3505         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
3506         headers.
3508         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
3509         of $(inst_datadir).
3511 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
3513         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
3515 2001-02-06  Andreas Jaeger  <aj@suse.de>
3517         * elf/firstobj.c: Add prototype.
3519         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
3520         (truncate_wchar): Likewise.
3522 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
3524         * locale/programs/locale.c: Implement --verbose option for -a
3525         which prints detailed information about the locales.
3527 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
3529         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
3530         variable to uint32_t.
3531         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
3533 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
3535         * locale/C-translit.h.in: Add transliterations for CJK units of
3536         measurement.
3538 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
3540         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
3541         string.  Include <inttypes.h> instead of <stdint.h>.
3543         * localedata/Makefile (tests): Add bug-iconv-trans.
3544         Define bug-iconv-trans-ENV.
3545         * localedata/bug-iconv-trans.c: New file.
3547 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
3549         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
3550         pointer, to avoid accumulating output from incomplete (unsuccessful)
3551         transliteration attempts.
3553 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
3555         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
3556         string.  Include <inttypes.h> instead of <stdint.h>.
3558         * configure.in: Add check for bison.
3559         * config.make.in: Define BISON variable.
3560         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
3561         Rename YFLAGS to BISONFLAGS.
3563 2001-02-05  Andreas Jaeger  <aj@suse.de>
3565         * io/test-lfs.c (do_test): Test lseek64 return value, call
3566         test_ftello.
3567         (test_ftello): New function to test ftello64 and fseeko64.
3569         * signal/signal.h: Move __sigaction from here to...
3570         * include/signal.h: ...here.
3572         * io/fcntl.h: Move __fcntl and __open to...
3573         * include/fcntl.h: ...here.
3575 2001-02-04  Philip Blundell  <philb@gnu.org>
3577         * configure.in: Distinguish ARM from Thumb.
3579 2001-02-04  Philip Blundell  <philb@gnu.org>
3581         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
3582         PC24 relocs with negative value.
3584 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
3586         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
3587         files in locale/programs.  Add CFLAGS definition to allow compiling
3588         localedef files.
3589         * iconv/dummy-repertoire.c: New file.
3590         * iconv/iconv_charmap.c: New file.
3591         * iconv/iconv_prog.h: New file.
3592         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
3593         (main): If parameter for -f and -t contain slashes try first to resolve
3594         the strings as filenames of charmap files.  Use them for conversion
3595         in this case.
3596         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
3597         iconv getting charmap names as parameters.
3598         * locale/programs/linereader.c (lr_token): Take extra parameters
3599         verbose and pass it to get_string.
3600         (get_string): Take extra parameters verbose.
3601         * locale/programs/charmap.c (parse_charmap): Take extra parameters
3602         verbose and be_quiet.  Change all callers of lr_token and
3603         parse_charmap.
3604         * locale/programs/charmap.h: Likewise.
3605         * locale/programs/ld-address.c: Likewise.
3606         * locale/programs/ld-collate.c: Likewise.
3607         * locale/programs/ld-ctype.c: Likewise.
3608         * locale/programs/ld-identification.c: Likewise.
3609         * locale/programs/ld-measurement.c: Likewise.
3610         * locale/programs/ld-messages.c: Likewise.
3611         * locale/programs/ld-monetary.c: Likewise.
3612         * locale/programs/ld-name.c: Likewise.
3613         * locale/programs/ld-numeric.c: Likewise.
3614         * locale/programs/ld-paper.c: Likewise.
3615         * locale/programs/ld-telephone.c: Likewise.
3616         * locale/programs/ld-time.c: Likewise.
3617         * locale/programs/linereader.c: Likewise.
3618         * locale/programs/linereader.h: Likewise.
3619         * locale/programs/localedef.c: Likewise.
3620         * locale/programs/locfile.c: Likewise.
3621         * locale/programs/locfile.h: Likewise.
3622         * locale/programs/repertoire.c: Likewise.
3624 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
3626         * iconv/iconv_prog.c (main): If output file name is "-" write to
3627         stdout.
3628         (main): If -f or -t argument is missing use charset of the current
3629         locale.
3631 2001-02-03  Andreas Jaeger  <aj@suse.de>
3633         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
3634         boundary for SSE/SSE-2 alignment.
3636         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
3637         annexc.
3639 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
3641         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
3642         Remove comma at end of enum.
3644         * elf/dl-init.c: Add a few __builtin_expect.
3646         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
3648 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
3650         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
3651         errno is ECONNREFUSED.
3653         * posix/Makefile: Define MBS_SUPPORT for regex.c.
3654         * posix/regex.c: Implement multibyte character handling.
3655         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
3657         * string/tst-svc.input: Add two more test cases.
3658         * string/tst-svc.expect: Modify to reflect new test cases.
3660 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
3662         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
3663         tp->name tests with tp->name[0] tests.
3665 2001-01-29  Ben Collins  <bcollins@debian.org>
3667         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
3668         Fix check for name == NULL.
3670 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
3672         * elf/Makefile: Add rules to build and run initfirst test.
3673         * elf/initfirst.c: New file.
3674         * elf/firstobj.c: New file.
3676         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
3677         * configure.in: Test for -z initfirst linker option.
3678         * config.make.in: Add have-z-initfirst.
3679         * elf/dl-init.c (_dl_init): Split out actual initialization code in
3680         new function call_init.  If _dl_initfirst is non-NULL initialize first.
3681         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
3682         remember object in _dl_initfirst.
3683         * elf/soinit.c: Remove special support for calling
3684         __pthread_initialize_minimal.
3686         * conform/conformtest.pl: Add missing $prepend in type test.
3688 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
3690         * elf/elf.h (SHT_CHECKSUM): New definition.
3692         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
3693         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
3694         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
3696 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
3698         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
3699         to get definition of `struct timeval'.
3701 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
3703         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
3704         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
3706 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
3708         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
3709         seen, not flags.
3711         * nis/nis_findserv.c: Include <time.h>.
3713 2001-01-30  Yong Li  <yong.li@asu.edu>
3715         * iconv/iconv_prog.c (main): Correct error handling method name.
3717 2001-01-29  Ben Collins  <bcollins@debian.org>
3719         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
3720         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
3721         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
3722         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
3724 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
3726         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
3727         Patch by Marko Myllynen <myllynen@lut.fi>.
3729         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
3730         (int instead of char).
3731         (__strpbrk_c3): Likewise.
3732         Reported by GOTO Masanori <gotom@debian.or.jp>.
3734         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
3735         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
3736         * include/sys/socket.h: Add SA_LEN here for internal use.
3737         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
3739 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
3741         * malloc/Makefile: Don't build memusagestat if cross-compiling.
3743         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
3745         * math/libm-test.inc (rint_test): Add a few more tests for round
3746         to even rounding.
3748 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
3750         * conform/data/pthread.h-data: Correct return type of pthread_exit.
3752         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
3754         * conform/data/stdlib.h-data: Add _Exit.
3756         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
3757         if not already happened.
3758         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
3759         Don't include <limits.h> and <bits/sockaddr.h>.
3761         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
3763         * conform/data/spawn.h-data: Allow all of <sched.h>.
3765         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
3766         unused variable.
3768         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
3769         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
3771         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
3773         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
3774         * libio/stdio.h: Define va_list correctly.
3776         * conform/data/pthread.h-data: Make priority protocol related
3777         functions optional.  Fix typos.
3779         * posix/sched.h: Define sched_priority as __sched_priority.
3780         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
3781         to __sched_priority.
3782         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3784 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
3786         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
3787         of <sys/time.h>.
3789         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
3790         * sysdeps/unix/time.c: Likewise.
3792         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
3793         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
3794         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
3795         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
3796         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
3797         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
3798         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
3799         * time/time.h: Likewise.
3801         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
3802         * conform/data/complex.h-data: New file.
3803         * conform/data/tgmath.h-data: New file.
3805         * conform/data/wchar.h-data: Add missing functions.
3807         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
3809         * conform/data/termios.h-data: Add missing const in tcsetattr()
3810         prototype.
3812         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
3813         Don't define pid_t here.
3815         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
3817         * conform/data/sys/time.h-data: Allow sys/select.h.
3818         * conform/data/sys/un.h-data: Fix typo.
3819         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
3820         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
3821         <sys/time.h>.
3822         * sysdeps/unix/clock_nanosleep.c: Likewise.
3823         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
3824         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
3825         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
3826         * sysdeps/unix/clock_settime.c: Likewise.
3828         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
3829         * login/getutent.c: Likewise.
3830         * login/getutid.c: Likewise.
3831         * login/getutline.c: Likewise.
3833         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
3835         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
3836         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
3837         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
3838         f_fsid field after change in struct statvfs.
3839         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
3840         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
3841         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
3843         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
3844         optional-macro.
3846         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
3847         recvfrom, send, and socketpair prototypes.  Add allow lines.
3848         * socket/sys/socket.h: Include <sys/uio.h>.
3849         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
3850         Fix type of second parameter of listen.
3851         Don't declare isfdtype unless __USE_MISC.
3852         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
3853         * sysdeps/mach/hurd/listen.c: Likewise.
3854         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
3855         ss_family and __ss_family.
3856         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
3857         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3858         (struct msghdr): Change type of msg_iovlen to int and type of
3859         msg_controllen to socklen_t.
3860         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
3861         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
3862         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
3863         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
3864         (rresvport_af): Likewise.
3866         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
3867         * conform/conformtest.pl: Implement handling of symbol.
3869         * signal/signal.h: Fix handling of __need_* symbols.
3870         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
3871         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
3872         * include/sys/select.h: Use fd_set not __fd_set.
3873         * sysdeps/generic/bits/select.h: Likewise.
3874         * sysdeps/i386/bits/select.h: Likewise.
3875         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
3876         __FDELT, __FDMASK, and __fd_set here.
3877         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
3878         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
3879         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3880         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3881         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
3882         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3883         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3884         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
3885         * time/sys/time.h: Define struct timeval before including <time.h>
3886         and <sys/select.h>.
3888         * conform/data/sys/time.h-data: fd_set is a typedef.
3889         * conform/data/sys/select.h-data: New file.
3890         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
3891         * conform/conformtest.pl (@headers): Add sys/select.h.
3892         (type, optional-type): Unless testing a typedef instantiate object.
3893         Implement optional-function.
3895         * math/test-misc.c: Include <float.h>.
3897 2001-01-27  Andreas Jaeger  <aj@suse.de>
3899         * misc/efgcvt_r.c: Include <float.h>.
3901 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
3903         * conform/data/stdlib.h-data: Account for XPG6 changes.
3904         * stdlib/stdlib.h (__random): Change return value type to long.
3905         (posix_memalign): Cleanup parameter names.
3906         (setenv, unsetenv): Make available for __USE_XOPEN2K.
3907         Change return type of unsetenv to int.
3908         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
3909         * include/stdlib.h: Change return type of unsetenv to int.
3910         Change return type of random to long int.
3911         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
3912         Return -1 and set errno if parameter is invalid.
3913         * stdlib/random.c (__random): Change return value type to long.
3915         * conform/data/stdio.h-data: Account for changes in XPG6.
3917         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
3918         prototype.
3920         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
3921         * conform/data/signal.h-data: Fix sigev_notify_function entry.
3922         Fix typo (SIGVALRM -> SIGVTALRM).
3923         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
3924         with real type.
3925         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
3926         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
3927         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3928         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3929         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
3931         * conform/conformtest.pl: Implement optional-element.  Define
3932         $mustprepend{"sched.h"}.
3933         * conform/data/sched.h-data: Make sporadic scheduler definitions
3934         optional.
3936         * pwd/pwd.h: Don't define getpwent_r for XPG.
3938         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
3939         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
3940         * sysdeps/mach/hurd/poll.c: Likewise.
3941         * sysdeps/unix/bsd/poll.c: Likewise.
3942         * sysdeps/unix/sysv/linux/poll.c: Likewise.
3943         * sysdeps/unix/sysv/aix/poll.c: Likewise.
3944         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
3945         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
3946         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
3947         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
3948         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
3949         * conform/data/poll.h-data: Fix typo in poll prototype.
3951         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
3952         only if __USE_MISC.
3953         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
3955         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
3957         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
3959         * conform/conformtest.pl: Implement optional-type.
3961         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
3962         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
3963         defining uint32_t here.  Define IPPORT_RESERVED.
3964         (struct hostent): Type of h_length element is int.
3965         (getnameinfo): Type of flags parameter is unsigned int.
3966         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
3967         * conform/data/netdb.h-data: Add many missing definitions.
3969         * conform/conformtest.pl: Implement optional-macro.
3970         * conform/data/math.h-data: Update for XPG6.
3972         * math/math.h (HUGE): Define as FLT_MAX value but don't use
3973         FLT_MAX.  Don't include <float.h>.
3974         (MAXFLOAT): Likewise.
3976         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
3978         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
3980         * conform/data/limits.h-data: Mark constants as optional wherever
3981         appropriate.
3983         * posix/bits/posix2_lim.h: Set correct values for
3984         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
3985         EQUIV_CLASS_MAX.
3987         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
3988         Required by POSIX.
3990         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
3992         * conform/data/netinet/in.h-data: Add reserved prefixes.
3994         * conform/data/arpa/inet.h-data: Fix a few typos.
3996 2001-01-26  Andreas Jaeger  <aj@suse.de>
3998         * sysdeps/generic/strtol.c: Include <locale.h>
3999         * stdlib/strtod.c: Likewise
4000         * stdlib/strfmon.c: Likewise.
4001         * string/strcoll.c: Likewise.
4002         * string/strxfrm.c: Likewise.
4003         * wctype/wcfuncs_l.c: Likewise.
4004         * wctype/wctype_l.c: Likewise.
4005         * wctype/wctrans_l.c: Likewise.
4007         * include/bits/locale.h: New file.
4009 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
4011         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
4012         and NOSTR.
4014         * locale/Makefile (headers): Add bits/locale.h.
4015         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
4016         and use __LC_ constants instead of LC_.
4017         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
4018         using __LC_ constants.
4019         * locale/bits/locale.h: New file.
4020         * locale/loadlocale.c: Include <locale.h>.
4021         * locale/nl_langinfo.h: Likewise.
4023         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
4025         * io/sys/stat.h: Define S_IFSOCK for XPG6.
4027         * conform/data/fcntl.h-data: posix_madvise is not expected here.
4029         * conform/conformtest.pl: Fix handling of macro-str.
4031         * conform/data/inttypes.h-data: Add missing definition and all of
4032         stdint.h-data.
4034         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
4036 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
4038         * conform/conformtest.pl (@headers): Add stdint.h.
4039         * conform/data/stdint.h-data: New file.
4041         * conform/conformtest.pl: Recognize options --headers and
4042         --dialect.  Add dialect-specific CFLAGS.
4044         * conform/conformtest.pl: Implement handling of recursive
4045         allow-header.
4047         * conform/data/locale.h-data: Add new struct lconv members.
4049         * posix/wordexp.h: Correct definition of wordexp_t.
4050         * posix/wordexp.c: Moved to ...
4051         * sysdeps/generic/wordexp.c: ...here.  New file.
4052         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
4053         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
4054         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
4055         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
4056         wordexp.
4057         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
4058         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
4060         * math/tgmath.h: Pretty printing.
4062         * math/Makefile (tests): Add test-tgmath.
4063         (CFLAGS-test-tgmath.c): New variable.
4064         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
4066         * conform/conformtest.pl: Handle allow-header in secondary headers
4067         correctly.
4069         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
4070         #ifdef.
4072         * conform/data/netinet/in.h-data: Use correct comment character.
4073         * conform/data/sys/stat.h-data: Likewise.
4075 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
4077         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
4078         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
4079         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
4080         __builtin_classify_type, add ##f suffixes where appropriate.
4081         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
4082         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
4083         __builtin_classify_type.
4084         (fma): Fix spelling of first argument.
4086 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
4088         * conform/data/unistd.h-data: Mark functions removed in XPG6
4089         correctly.
4091         * posix/unistd.h: Don't make functions removed in XPG6 available if
4092         __USE_XOPEN2K.
4094         * conform/conformtest.pl: Implement optional-constant.
4095         * conform/data/unistd.h-data: Use optional-constant wherever
4096         appropriate.
4098         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
4099         constants and add _SC_STREAMS.
4100         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4102         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
4103         make old name weak alias.
4104         * sysdeps/generic/statvfs64.c: Likewise.
4105         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
4106         make old name weak alias.
4107         * sysdeps/generic/fstatvfs64.c: Likewise.
4108         * include/sys/statvfs.h: New file.
4110         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
4111         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
4112         _PC_REC_XFER_ALIGN.
4113         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
4114         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
4115         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
4116         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
4118         * conform/conformtest.pl: Run Unix tests for XPG6.
4119         Implement handling of known namespace violations.
4120         Improve printing of results.
4122         * posix/unistd.h (usleep): Correct return type.
4123         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
4124         * sysdeps/unix/bsd/usleep.c: Correct return type.
4125         * sysdeps/mach/usleep.c: Correct return type.
4126         * sysdeps/generic/usleep.c: Correct return type.
4128         * posix/unistd.h (sync): Correct return type.
4129         * sysdeps/generic/sync.c: Likewise.
4130         * sysdeps/mach/hurd/sync.c: Likewise.
4132         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
4134         * posix/unistd.h: Make seteuid and setegid available for XPG6.
4136         * wcsmbs/wchar.h: Get FILE definition for XPG5.
4138         * conform/data/ctype.h-data: Use correct comment form.
4139         * conform/data/errno.h-data: Likewise.
4140         * conform/data/math.h-data: Likewise.
4141         * conform/data/mqueue.h-data: Likewise.
4142         * conform/data/netdb.h-data: Likewise.
4143         * conform/data/pthread.h-data: Likewise.
4145 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
4147         * conform/data/wordexp.h-data: Fix typo.
4149         * conform/conformtest.pl: Handle allow-header correctly.
4151         * conform/data/time.h-data: Use correct comment form.
4153         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
4155         * configure.in: Comment out binutils version test.
4157         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
4158         separators.
4159         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
4161         * stdlib/tst-strtod.c (locale_test): New function.
4162         (main): Call locale_test.
4163         * stdlib/Makefile (tst-strtod-ENV): New variable.
4165 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
4167         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
4168         declaration of value such that we actually return the value of the
4169         environment variable.
4171 2001-01-24  Andreas Jaeger  <aj@suse.de>
4173         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
4174         prototype.
4175         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4177         * include/sys/sysctl.h: New file.
4179 2001-01-23  Andreas Jaeger  <aj@suse.de>
4181         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
4182         isomac.
4184         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
4185         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
4186         closes PR libc/2039.
4188         * manual/install.texi (Tools for Compilation): Change required
4189         binutils version.
4191 2001-01-22  Andreas Jaeger  <aj@suse.de>
4193         * configure.in: Add test for new enough binutils version, move
4194         compiler/binutils test up.
4196         * Versions.def: Add version GLIBC_2.2.2.
4198 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
4200         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
4201         available.
4202         * iconvdata/testdata/IBM932: New file.
4203         * iconvdata/testdata/IBM932..UTF8: New file.
4204         * iconvdata/testdata/IBM943: New file.
4205         * iconvdata/testdata/IBM943..UTF8: New file.
4206         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
4208 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4210         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
4212 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
4214         * malloc/malloc.c: Remove a few unnecessary initializers of global
4215         variables.
4217 2000-12-09  H.J. Lu  <hjl@gnu.org>
4219         * nss/Makefile (routines): Add digits_dots.
4220         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
4221         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
4222         into a function.
4223         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
4224         function.
4225         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
4226         (TYPE_VAR_P): Likewise.
4227         (FLAGS_VAR): Likewise.
4228         (AF_VAR_P): Likewise.
4229         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
4230         instead of including digits_dots.c.
4231         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
4232         (TYPE_VAR_P): Likewise.
4233         (FLAGS_VAR): Likewise.
4234         (AF_VAR_P): Likewise.
4235         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
4236         instead of including digits_dots.c.
4238 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
4240         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
4242 2001-01-21  Andreas Jaeger  <aj@suse.de>
4244         * elf/constload2.c: Add prototype for init.
4246 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
4248         * stdlib/stdlib.h (drand48_data): Make available only for
4249         __USE_MISC.  Rename elements to protect namespace.  Change type
4250         and position of a and init element.
4251         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
4252         differently.  Adjust for drand48_data change.  Don't compute a here,
4253         it comes from drand48_data.
4254         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
4255         differently.  Adjust for drand48_data change.  Compute a here.
4256         * stdlib/srand48_r.c: Likewise.
4257         * stdlib/drand48.c: Adjust for drand48_data change.
4258         * stdlib/lrand48.c: Likewise.
4259         * stdlib/mrand48.c: Likewise.
4260         * stdlib/seek48.c: Likewise.
4261         * stdlib/drand48_r.c: Likewise.
4262         * stdlib/lrand48_r.c: Likewise.
4263         * stdlib/mrand48_r.c: Likewise.
4264         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
4265         differently.
4266         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
4267         * stdlib/jrand48_r.c: Likewise.
4269         * po/sv.po: Update from translation team.
4271 2001-01-21  Andreas Jaeger  <aj@suse.de>
4273         * stdio-common/vfprintf.c (vfprintf): Add casts.
4275 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
4277         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
4278         the ASCII test.
4279         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
4281         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
4282         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
4283         * iconvdata/ibm932.c: New file.
4284         * iconvdata/ibm932.h: New file.
4285         * iconvdata/ibm943.c: New file.
4286         * iconvdata/ibm943.h: New file.
4287         Patches by Masahide Washizawa <washi@jp.ibm.com>.
4289         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
4290         preventing optimization from being done.  Set the correct type bit
4291         in seen.  Don't define and use _dl_base_addr unless
4292         NEED_DL_BASE_ADDR is defined.
4294         * io/ftw.c (ftw_dir): Add slash after directory name if there
4295         wasn't any.  Reported by loris <loris@iol.it>.
4296         * io/Makefile (tests): Add bug-ftw2.
4297         * io/bug-ftw2.c: New file.
4299 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
4301         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
4302         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
4303         * stdlib/tst-rand48.c: New file.
4304         * stdlib/Makefile (tests): Add tst-rand48.
4306         * locale/newlocale.c (__newlocale): Fix test for setting all
4307         categories.
4309 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
4311         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
4312         but change looking up the initial directory port in a similar way
4313         as done by _hurd_change_directory_port_from_name.
4314         * hurd/fchroot.c (fchroot): Likewise.
4316 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
4318         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
4319         defined don't look whether the AT_*ID values were set.
4320         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
4321         (_dl_show_auxv): Rewrite to avoid switch statement.
4322         * sysdeps/unix/sysv/linux/kernel-features.h: Define
4323         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
4324         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
4325         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
4327         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
4328         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4329         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4331         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
4332         strtoul.
4333         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
4334         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
4335         anything.
4336         * dlfcn/eval.c (__strtol_internal): Define here.
4337         (eval): Use __strtol_internal instead of strtol.
4339         * elf/elf.h: Add a few more EF_MIPS_* constants.
4341 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
4343         * manual/Makefile (chapters): Add debug.
4344         * manual/debug.texi: New file.
4345         * manual/examples/execinfo.c: New file.
4346         Patch by suckfish@ihug.co.nz.
4348 2001-01-17  Andreas Schwab  <schwab@suse.de>
4350         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
4351         invalid asm.
4353 2001-01-17  Andreas Jaeger  <aj@suse.de>
4355         * nscd/connections.c (nscd_run): Use proper format specifier.
4357 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
4359         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
4360         x86_platforms data into new file after prepending _dl_.  Change
4361         users.
4362         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
4363         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
4364         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
4365         dl-procinfo.c.
4367         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
4369         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
4370         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
4371         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
4372         (_setjmp): Likewise.
4373         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
4374         * sysdeps/i386/bsd-setjmp.S: Real implementation.
4375         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
4376         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
4377         version.
4379 2001-01-16  Andreas Jaeger  <aj@suse.de>
4381         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
4382         misapplied last patch.
4384 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
4386         * stdlib/random.c (__initstate): Clean up a cast.
4387         (__setstate): Likewise.
4389         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
4390         syscall handling.  The generic Linux version should work.
4392 2001-01-15  Andreas Jaeger  <aj@suse.de>
4394         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
4396         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
4398 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
4400         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
4401         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
4402         New functions.
4403         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
4404         If number is 0, list all.
4405         (services_keys): Likewise.  Lookup aliases as well.
4406         (databases): New table.
4407         (build_doc): Prepare argp doc text with list of supported databases.
4408         (main): Change to table driven processing.
4410 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
4412         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
4413         functions.
4415 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
4417         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
4418         encode value which does not fit in the 32bit type.
4420 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
4422         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
4423         Change type of CTX to (struct sigcontext *).
4424         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
4425         (GET_FRAME): Likewise.
4426         (GET_STACK): Likewise.
4427         (SIGCONTEXT): Likewise. Add 2nd arg _code.
4428         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
4430 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
4432         * manual/texinfo.tex: Update from upstream version.
4434 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
4436         * inet/ether_ntoh.c (lookup_function): Change arguments to match
4437         _nss_*_getntohost_r prototype.
4438         (ether_ntohost): Pass errno pointer to NSS function.
4440 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4442         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
4443         (MAP_LOCKED): New definition.
4444         (MAP_NORESERVE): New definition.
4446 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
4448         * assert/assert.h: Use static_cast instead of C-style cast for C++.
4449         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
4451 2001-01-12  Ben Collins  <bcollins@debian.org>
4453         * sysdeps/generic/segfault.c (install_handler): Use access, not
4454         __access.
4456 2001-01-12  Andreas Jaeger  <aj@suse.de>
4458         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
4459         * posix/wordexp.c (do_parse_glob): Likewise.
4460         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
4461         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
4462         * elf/dl-open.c (_dl_open): Likewise.
4463         * elf/dl-close.c (_dl_close): Likewise.
4464         * elf/dl-load.c (_dl_map_object): Likewise.
4465         * iconv/iconv_prog.c (process_fd): Likewise.
4466         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
4468         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
4469         of a zero-length array.
4471 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
4473         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
4474         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
4475         * stdlib/cxa_on_exit.c: Remove.
4476         * stdlib/Makefile: Revert last patch.
4477         * stdlib/Versions: Likewise.
4478         * include/stdlib.h: Likewise.
4479         * stdlib/exit.h: Revert last patch.
4480         (struct exit_function): Add second argument to cxa fn.
4481         * stdlib/exit.c: Revert last patch.
4482         (exit): Add hidden second argument.
4484 2001-01-11  H.J. Lu  <hjl@gnu.org>
4486         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
4487         * elf/dl-open.c (_dl_open): Here.
4488         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
4489         Make it static.
4490         (_dl_static_init): Initialize the variables every time when possible.
4491         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
4492         Undefine it first.
4494 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
4496         * stdlib/Makefile (routines): Add cxa_on_exit.
4497         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
4498         * stdlib/cxa_on_exit.c: New file.
4499         * include/stdlib.h: Add prototype for __cxa_on_exit.
4500         * stdlib/exit.c: Handle ef_cxa2.
4501         * stdlib/exit.h (enum): Add ef_cxa2.
4502         (struct exit_function): Add cxa2.
4504         * Versions.def [ld]: Add GLIBC_2.2.1.
4506 2001-01-10  H.J. Lu  <hjl@gnu.org>
4508         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
4509         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
4510         dl-static.
4511         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
4512         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
4513         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
4514         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
4515         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
4517 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
4519         * libio/stdio.h: Remove definition of off_t.
4521 2001-01-11  Andreas Jaeger  <aj@suse.de>
4523         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
4524         <mkuhn@acm.org>.
4526 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
4528         * sunrpc/Makefile (distribute): Add errqueue.h.
4530 2001-01-10  H.J. Lu  <hjl@gnu.org>
4532         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
4533         r9, r10 and r11 for language specific registers.
4535 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
4537         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
4538         UDP socket.
4539         (clntudp_call): Handle MSG_ERRQUEUE.
4540         * sysdeps/generic/errqueue.h: New file.
4541         * sysdeps/unix/sysv/linux/errqueue.h: New file.
4543 2001-01-10  H.J. Lu  <hjl@gnu.org>
4545         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
4547 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
4549         * CONFORMANCE: Update.
4551 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
4553         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
4554         Minimal cleanups.  Add assert to ensure memory handling is correct.
4556         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
4557         Reported by Ben Collins <bcollins@debian.org>.
4559         * time/strftime.c (my_strftime): Mark previous GNU extensions
4560         which are now in C99 as such.
4562 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
4564         * elf/rtld.c (process_envvars): Place output files for profiling
4565         in SUID binaries in /var/profile.
4567         * elf/dl-load.c (_dl_map_object): Don't look in cache for
4568         preloading in SUID binaries.
4570         * elf/dl-profile.c (_dl_start_profile): Open the output file with
4571         O_NOFOLLOW if possible.
4573         * include/stdlib.h: Add __posix_openpt declaration.
4574         * stdlib/stdlib.h: Add posix_openpt declaration.
4575         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
4576         * sysdeps/generic/getpt.c: Define posix_openpt.
4577         * sysdeps/unix/bsd/getpt.c: Likewise.
4578         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
4580         * time/Makefile (tests): Add tst-mktime.
4581         * time/tst-mktime.c: New file.
4583         * posix/tst-dir.c (main): One more mkdir() test.
4585         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
4586         Remove getpagesize syscall.  We assume that the pagesize is always
4587         determined from the auxiliary vector.
4589         * intl/dcigettext.c: Fix a few warnings.
4590         Patch by Bruno Haible <haible@ilog.fr>.
4592 2001-01-08  Andreas Jaeger  <aj@suse.de>
4594         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
4595         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
4597 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
4599         * sysdeps/generic/segfault.c (install_handler): Check output file
4600         name with access().
4602         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
4603         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
4605         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
4607         * malloc/memusage.c (me): Use access() to determine whether we
4608         should write the output file or not.
4610         * libio/bits/stdio.h (printf): Define macro to map printf call to
4611         fprintf which gcc can optimize.
4612         * stdio-common/printf.c: Undefine printf.
4614 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
4616         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
4617         patch.  We must use unsigned int for l member of union.
4619         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
4620         _dl_aux_init for shared libraries.
4622         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
4623         * sysdeps/gnu/glob64.c: ...here.  New file.
4625 2001-01-07  Ben Collins  <bcollins@debian.org>
4627         * manual/examples/longopt.c: Make the "struct option" a little
4628         more like it should be, adding usage of required_argument,
4629         noargument and such, and also setting the options string right.
4631         * manual/sysinfo.texi (Load Average): New section, documents
4632         getloadavg().
4634 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
4636         * version.h (VERSION): Bump to 2.2.1.
4638         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
4639         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
4640         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
4641         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
4642         * Makefile (distribute): Add include/libc-internal.h.
4643         * libio/Makefile (distribute): Avoid overwriting.
4645         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
4646         buffer and table handling.
4648 2001-01-05  H.J. Lu  <hjl@gnu.org>
4650         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
4651         vector checking to ...
4652         (_dl_aux_init): Here. New function. Defined only if
4653         HAVE_AUX_VECTOR is defined.
4655         * sysdeps/generic/libc-start.c (__libc_start_main): Call
4656         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
4658         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
4659         _dl_aux_init.
4661         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
4662         (HAVE_AUX_VECTOR): Defined.
4663         (_dl_aux_init): Declared.
4665 2001-01-05  Ben Collins  <bcollins@debian.org>
4667         * manual/string.texi (Finding Tokens in a String): Document XPG
4668         basename() and dirname(), as well as GNU basename().
4670 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
4672         * Makeconfig (preprocess-version): Replace -traditional with
4673         -x assembler-with-cpp.
4675 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
4677         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
4678         for GCC 2.97 or later.
4680 2001-01-05  Ben Collins  <bcollins@debian.org>
4682         * manual/stdio.texi (getline): Clarify the return value in the
4683         case of EOF being reached before a newline.
4685 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
4687         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
4688         FALSE otherwise.
4689         (pmap_set, pmap_unset): Check __get_myaddress return value.
4691 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
4693         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
4694         (struct ether_addr): Declare ether_addr_octet member as
4695         `u_int8_t'.  Add __attribute__ ((__packed__)).
4697 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
4699         * sysdeps/mach/hurd/readdir64.c: New file.
4700         * sysdeps/mach/hurd/readdir64_r.c: New file.
4702 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
4704         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
4705         `struct statfs' and `struct statvfs' being identical.
4706         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
4708 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
4710         * sysdeps/mach/hurd/fstatfs64.c: New file.
4711         * sysdeps/mach/hurd/fstatvfs64.c: New file.
4712         * sysdeps/mach/hurd/statfs64.c: New file.
4713         * sysdeps/mach/hurd/statvfs64.c: New file.
4714         * sysdeps/mach/hurd/statfsconv.c: New file.
4715         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
4717 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
4719         * iconv/skeleton.c: Reset outbuf for next round of the loop.
4720         Reported by Owen Taylor <otaylor@redhat.com>.
4721         * iconv/Makefile (tests): Add tst-iconv3.
4722         * iconv/tst-iconv3.c: New file.
4724         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
4725         * iconvdata/ibm933.c: Likewise.
4726         * iconvdata/ibm935.c: Likewise.
4727         * iconvdata/ibm937.c: Likewise.
4728         * iconvdata/ibm939.c: Likewise.
4729         * iconvdata/ibm930.h: Adjust single byte table for optimization.
4730         * iconvdata/ibm933.h: Likewise.
4731         * iconvdata/ibm935.h: Likewise.
4732         * iconvdata/ibm939.h: Likewise.
4734         * iconvdata/testdata/IBM930: Add misssing SI.
4735         * iconvdata/testdata/IBM933: Likewise.
4736         * iconvdata/testdata/IBM935: Likewise.
4737         * iconvdata/testdata/IBM937: Likewise.
4738         * iconvdata/testdata/IBM939: Likewise.
4740 2001-01-06  Andreas Jaeger  <aj@suse.de>
4742         * configure.in: Check for old add-ons that shouldn't be used with
4743         current glibc anymore.
4745 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
4747         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
4748         instead of -1 on failure.  Don't forget to copy file name into
4749         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
4750         of the directory.
4752 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
4754         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
4755         copy st_atime member.
4757 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
4759         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
4760         for searches from the root directory.
4761         Reported by loris <loris@iol.it> [PR libc/1991].
4762         * io/Makefile (tests): Add bug-ftw1.
4763         * io/bug-ftw1.c: New file.
4765         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
4766         if it is not available.  Instead use it only if it is available.
4767         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
4769         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
4770         overflowing output buffer.
4771         (internal_ucs4_loop_unaligned): Likewise.
4772         (ucs4_internal_loop): Likewise.
4773         (ucs4_internal_loop_unaligned): Likewise.
4774         (internal_ucs4le_loop): Likewise.
4775         (internal_ucs4le_loop_unaligned): Likewise.
4776         (ucs4le_internal_loop): Likewise.
4777         (ucs4le_internal_loop_unaligned): Likewise.
4778         Reported by Owen Taylor <otaylor@redhat.com>.
4779         * iconv/Makefile (tests): Add tst-iconv2.
4780         * iconv/tst-iconv2.c: New file.
4782 2001-01-04  H.J. Lu  <hjl@gnu.org>
4784         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
4785         (_dl_clktck): Declared.
4786         (non_dynamic_init): Take 3 arguments.
4787         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
4789 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
4791         Finish implementation of plural form handling.
4792         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
4793         'domainname'.  Remove 'plindex' field. Add 'domain' and
4794         'translation_length' fields.
4795         (transcmp): Don't compare 'plindex' fields.
4796         (plural_lookup): New function.
4797         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
4798         plural_eval before the translation and its catalog file have been
4799         found. Remove plindex from cache key.  Add 'translation_length' and
4800         'domain' to cache result.
4801         (_nl_find_msg): Remove index argument, return length of translation
4802         to the caller instead.  Weaken comparison of string lengths, to account
4803         for plural entries.  Call iconv() on the entire result string, not
4804         only on the portion needed so far.
4805         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
4806         argument.
4807         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
4809 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
4811         * intl/plural.y (yylex): Minimal improvement in number scanner.
4813 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
4815         * intl/plural.y: Include config.h. Needed to define 'inline' away for
4816         C compilers that don't support it.
4817         (yylex): Don't use gcc specific case range syntax.
4818         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
4819         compilers.
4821 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
4823         * intl/finddomain.c: Remove unneeded includes.
4825 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
4827         * intl/localealias.c (memcpy): Return first argument, just like the
4828         real memcpy function does.
4829         * intl/bindtextdom.c (memcpy): Likewise.
4830         * intl/finddomain.c (memcpy): Likewise.
4831         * intl/l10nflist.c (memcpy): Likewise.
4832         * intl/textdomain.c (memcpy): Likewise.
4833         From Paul Eggert <eggert@twinsun.com>.
4835 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
4837         * resolv/resolv.h (struct __res_state): Add nsinit field.
4838         * resolv/res_send.c (res_nsend): Use it instead of nscount.
4839         * resolv/res_init.c (__res_vinit): Initialize it.
4840         (res_nclose): Clear it instead of nscount.
4842 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
4844         * malloc/mtrace.pl: Fix matching of addresses.
4845         Patch by Aharon Robbins <arnold@skeeve.com>.
4847         * Versions.def (ld): Add GLIBC_2.2.
4849         * catgets/gencat.c: Copyright 2001.
4850         * csu/version.c: Likewise.
4851         * debug/catchsegv.sh: Likewise.
4852         * debug/xtrace.sh: Likewise.
4853         * elf/ldconfig.c: Likewise.
4854         * elf/sprof.c: Likewise.
4855         * iconv/iconv_prog.c: Likewise.
4856         * locale/locale.c: Likewise.
4857         * locale/localedef.c: Likewise.
4858         * malloc/memusage.sh: Likewise.
4859         * malloc/mtrace.pl: Likewise.
4860         * nscd/nscd.c: Likewise.
4861         * posix/getconf.c: Likewise.
4863 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
4865         * include/stdio.h: Only provide __getwc_unlocked prototype if
4866         USE_IN_LIBIO is defined.
4868 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4870         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
4871         handling.
4873 2001-01-03  Andreas Schwab  <schwab@suse.de>
4875         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
4876         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
4878         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
4879         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
4880         strtoull alias.
4881         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
4882         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
4883         wcstoull alias.
4885         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
4886         directory.
4887         * sysdeps/generic/strtol_l.c: Likewise.
4888         * sysdeps/generic/strtoul_l.c: Likewise.
4889         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
4891         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
4892         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
4893         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
4894         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
4896 2001-01-04  Andreas Jaeger  <aj@suse.de>
4898         * nss/nsswitch.c: Include files for missing prototypes, remove
4899         buggy declaration of prototypes.
4901 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4903         * resolv/Versions: Fix bracing.
4904         * sysdeps/powerpc/soft-fp/Versions: Likewise.
4905         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
4907 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4909         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
4911 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
4913         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
4914         Suggested by Minko Markov <mmarkov@home.com>.
4916 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4918         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
4919         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
4920         the failing symbol.
4921         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
4923 2001-01-02  Ben Collins  <bcollins@debian.org>
4925         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
4926         if TZ is not set and TZDEFAULT is not present.
4928 2001-01-01  Ben Collins  <bcollins@debian.org>
4930         * string/strings.h: Make sure we declare our functions even if
4931         string.h is already included, based on whether or not __USE_BSD is
4932         defined.
4934 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
4936         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
4937         other dlopen() and dlsym().
4938         Based on a patch by Ben Collins <bcollins@debian.org>.
4940 2001-01-02  Andreas Jaeger  <aj@suse.de>
4942         * dlfcn/errmsg1.c (main): Call dlerror initially.
4943         Reported by Ben Collins <bcollins@debian.org>.
4945 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
4947         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
4948         value is ignored if the selected locale is the C locale.
4949         * intl/tst-gettext.c: Set locale for above change.
4950         * intl/tst-translit.c: Likewise.
4952 2001-01-02  Andreas Jaeger  <aj@suse.de>
4954         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
4955         (_IO_switch_to_wget_mode): Likewise.
4956         (_IO_sputbackwc): Likewise.
4957         (_IO_sungetwc): Use wint_t for result.
4959         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
4961         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
4962         signedness.
4964         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
4965         to (int) to avoid warnings.
4966         * stdio-common/printf_fp.c (putc): Likewise.
4967         * stdio-common/printf_size.c (putc): Likewise.
4969         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
4970         constant unsigned.
4972 2001-01-01  Andreas Jaeger  <aj@suse.de>
4974         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
4976 2000-12-31  Andreas Jaeger  <aj@suse.de>
4978         * include/libc-internal.h: Add prototype for __libc_freeres.
4980         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
4981         for prototypes, remove redundant prototypes.
4982         * gmon/gmon.c: Likewise.
4983         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
4984         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
4985         * malloc/mtrace.c: Likewise.
4987         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
4988         prototypes.
4989         * elf/soinit.c: Likewise.
4990         * sysdeps/generic/prof-freq.c: Likewise.
4991         * sysdeps/mach/hurd/profil.c: Likewise.
4992         * debug/noophooks.c: Likewise.
4993         * debug/pcprofile.c: Likewise.
4994         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
4995         * sysdeps/generic/get_clockfreq.c: Likewise.
4996         * malloc/set-freeres.c: Likewise.
4998         * locale/localeinfo.h: Add internal prototypes.
5000         * elf/rtld.c (dl_main): Fix prototype.
5002         * iconvdata/tst-table-to.c (main): Use return instead of exit to
5003         avoid warning.
5005         * nis/rpcsvc/yp_prot.h: Remove __P.
5006         * nis/rpcsvc/ypupd.h: Likewise.
5007         * nis/rpcsvc/yp.h: Likewise.
5009         * sunrpc/rpc_main.c: Add noreturn attributes.
5010         * sunrpc/rpc_scan.h: Likewise.
5012         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
5014         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
5016         * sunrpc/proto.h: Add noreturn attributes to error and crash.
5018         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
5020         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
5022         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
5024         * include/rpc/rpc_msg.h: Add prototypes for some functions.
5025         * include/rpc/auth.h: Likewise.
5026         * include/rpc/auth_des.h: Likewise.
5027         * include/rpc/clnt.h: Likewise.
5028         * include/rpc/rpc.h: Likewise.
5029         * include/rpc/svc.h: Likewise.
5030         * include/rpc/svc_auth.h: Likewise.
5032         * include/rpc/des_crypt.h: New file.
5034         * malloc/memusagestat.c (main): Use return instead of exit to
5035         avoid warning.
5036         * io/pwd.c (main): Likewise.
5037         * iconvdata/tst-table-from.c (main): Likewise.
5038         * ctype/test_ctype.c (main): Likewise.
5039         * setjmp/tst-setjmp.c (main): Likewise.
5040         * signal/tst-signal.c (main): Likewise.
5041         * stdlib/tst-strtol.c (main): Likewise.
5042         * stdlib/tst-strtod.c (main): Likewise.
5043         * stdlib/tst-strtoll.c (main): Likewise.
5044         * stdlib/tst-xpg-basename.c (main): Likewise.
5045         * dirent/tst-seekdir.c (main): Likewise.
5046         * grp/testgrp.c (main): Likewise.
5047         * inet/test_ifindex.c (main): Likewise.
5048         * io/test-utime.c (main): Likewise.
5049         * posix/test-vfork.c (main): Likewise.
5050         * posix/testfnm.c (main): Likewise.
5051         * stdio-common/temptest.c (main): Likewise.
5052         * stdio-common/test_rdwr.c (main): Likewise.
5053         * stdio-common/tst-fileno.c (main): Likewise.
5054         * stdio-common/tst-sscanf.c (main): Likewise.
5055         * stdio-common/tstscanf.c (main): Likewise.
5056         * string/bug-strncat1.c (main): Likewise.
5057         * string/bug-strpbrk1.c (main): Likewise.
5058         * string/bug-strspn1.c (main): Likewise.
5059         * string/test-ffs.c (main): Likewise.
5060         * string/tst-inlcall.c (main): Likewise.
5061         * string/tst-svc.c (main): Likewise.
5062         * timezone/test-tz.c (main): Likewise.
5063         * wctype/test_wcfuncs.c (main): Likewise.
5064         * wctype/test_wctype.c (main): Likewise.
5066         * stdlib/tst-random.c: Add attribute noreturn to fail.
5068 2000-12-28  Wolfram Gloger  <wg@malloc.de>
5070         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
5071         destination overlap.  Assume dest is always below source if
5072         overlapping.
5074 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
5076         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
5077         object was not yet initialized.
5079 2000-12-28  H.J. Lu  <hjl@gnu.org>
5081         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
5082         is always consistent even if its dependency is failed.
5084         * elf/dl-open.c (_dl_open): Increment the open count before
5085         calling _dl_close () in case of failure.
5087         * elf/neededtest4.c: New file.
5088         * elf/neededobj5.c: New file.
5089         * elf/neededobj6.c: New file.
5091         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
5092         (tests): Add neededtest4.
5093         (modules-names): Add neededobj5 and neededobj6.
5094         ($(objpfx)neededobj6.so): New target.
5095         ($(objpfx)neededtest4): New target.
5096         ($(objpfx)neededtest4.out): New target.
5098 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
5100         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
5101         * stdlib/monetary.h: Add strfmon format attributes.
5103 2000-12-28  Roland McGrath  <roland@frob.com>
5105         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
5106         __mempcpy does it for us.
5108 2000-12-28  Andreas Jaeger  <aj@suse.de>
5110         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
5112         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
5113         __new_setrlimit.
5115         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
5116         __old_getrlimit64.
5118         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
5119         __new_getrlimit.
5121         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
5122         __chown_is_lchown and __real_chown.
5124         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
5125         _dl_reloc_bad_type.
5127         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
5128         up GCC's warning about "deprecated use of label at end of compound
5129         statement."
5130         * sunrpc/rpc_cout.c (emit_inline): Likewise.
5132         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
5133         prototypes.
5134         Remove struct bb and __bb_head since those are declared by
5135         sys/gmon.h.
5137 2000-12-22  Ben Collins  <bcollins@debian.org>
5139         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
5141         * manual/argp.texi: Document argp_domain as part of struct argp.
5143 2000-12-28  Andreas Jaeger  <aj@suse.de>
5145         * catgets/Makefile (generated): Add sample.SJIS.cat.
5147         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
5149         * elf/dl-minimal.c: Add prototypes.
5151         * include/locale.h: Add internal prototypes.
5152         * include/sys/gmon.h: Likewise.
5154         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
5156 2000-12-27  Ben Collins  <bcollins@debian.org>
5158         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
5159         when reallocating the error strings.
5160         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
5162 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
5164         * dlfcn/Makefile (tests): Add errmsg1.
5165         (modules-names): Add errmsg1mod.
5166         Add rules to run errmsg1.
5167         * dlfcn/errmsg1.c: New file.
5168         * dlfcn/errmsg1mod.c: New file.
5170         * dlfcn/dlerror.c (dlerror): Always create output string which
5171         includes object file name.
5173         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
5174         if we would go through it only once.
5175         Patch by Rick Gorton <rick.gorton@api-networks.com>.
5177         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
5178         Patch by Richard Henderson <rth@redhat.com>.
5180 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
5182         * malloc/malloc.c (memmove): Add prototypes.
5183         (MALLOC_MEMMOVE): Define.
5184         (chunk_realloc): Use it instead of MALLOC_COPY if source and
5185         destination might overlap.
5187 2000-12-27  Andreas Jaeger  <aj@suse.de>
5189         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
5190         function.
5191         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5192         * locale/programs/locale.c (show_locale_vars): Likewise.
5193         (show_info): Likewise.
5194         * locale/programs/ld-collate.c (collate_output): Likewise.
5195         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
5196         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5197         * stdlib/rpmatch.c (rpmatch): Likewise.
5199         * setjmp/tst-setjmp.c: Make local functions static.
5200         * setjmp/jmpbug.c: Likewise.
5201         * signal/tst-signal.c: Likewise.
5202         * stdio-common/tfformat.c: Likewise.
5203         * string/tst-svc.c: Likewise.
5204         * time/clocktest.c: Likewise.
5205         * time/tst-getdate.c: Likewise.
5206         * dirent/list.c: Likewise.
5207         * dirent/opendir-tst1.c: Likewise.
5208         * posix/runtests.c: Likewise.
5209         * posix/tst-getaddrinfo.c: Likewise.
5210         * posix/tst-chmod.c: Likewise.
5211         * posix/wordexp-test.c: Likewise.
5212         * misc/tst-efgcvt.c: Likewise.
5213         * timezone/tst-timezone.c: Likewise.
5214         * rt/tst-clock.c: Likewise.
5215         * rt/tst-shm.c: Likewise.
5216         * rt/tst-aio2.c: Likewise.
5217         * rt/tst-aio3.c: Likewise.
5218         * rt/tst-aio4.c: Likewise.
5219         * rt/tst-aio5.c: Likewise.
5221         * dlfcn/failtest.c: Add prototype for foo.
5223         * dlfcn/glrefmain.c: Add prototype for do_test.
5225         * dlfcn/tst-dladdr.c: Add prototype for do_test.
5227         * string/test-ffs.c (main): Add prototype for nested function.
5229         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
5231         * nss/XXX-lookup.c: Add prototype to shut up GCC.
5233         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
5234         setetherent prototype.
5235         Add internal interfaces.
5237         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
5238         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
5240         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
5242         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
5244         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
5245         prototypes, remove struct etherent since it's declared in ether.h.
5246         Fix ntohost declaration.
5248         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
5250         * include/getopt.h: Add internal interfaces.
5251         * include/termios.h: Likewise.
5252         * include/resolv.h: Likewise.
5253         * include/netdb.h: Likewise.
5254         * include/grp.h: Likewise.
5255         * include/pwd.h: Likewise.
5256         * include/shadow.h: Likewise.
5257         * include/rpc/netdb.h: Likewise.
5258         * include/setjmp.h: Likewise.
5260         * include/stdio.h: Add prototypes for compatibility functions.
5261         * include/grp.h: Likewise.
5262         * include/pwd.h: Likewise.
5263         * include/shadow.h: Likewise.
5265         * include/fenv.h: Define internal interfaces.
5267 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
5269         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
5270         argument case separately.
5271         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
5273 2000-12-27  Andreas Jaeger  <aj@suse.de>
5275         * include/sys/wait.h: Add some prototypes.
5276         * Rules (dummy.c): Create also prototype to shut up GCC.
5278 2000-12-27  Andreas Jaeger  <aj@suse.de>
5280         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
5281         it's not needed at the moment.
5282         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
5283         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
5285 2000-12-26  Andreas Jaeger  <aj@suse.de>
5287         * libio/getc_u.c: Include stdio.h via system path to get internal
5288         prototypes.
5289         * libio/getwc_u.c: Likewise.
5291         * stdlib/strfmon.c: Fix prototype of __printf_fp.
5293         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
5294         __printf_fp prototypes to ...
5295         * include/printf.h: ...here.
5297         * include/stdio.h: Add some internal prototypes to shut up GCC.
5298         * include/stdlib.h: Likewise.
5300         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
5301         declaration.
5303         * include/signal.h: Add prototypes for internal sigpause
5304         interfaces.
5306 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
5308         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
5309         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
5311         * string/Makefile (tests): Add tst-bswap.
5312         * string/tst-bswap.c: New file.
5314 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
5316         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
5318 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
5320         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
5321         Patch by Ed Connell <Ed.Connell@sas.com>.
5323 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
5325         * locale/iso-639.def: Correct one entry.  Add two missing entries.
5327         * locale/iso-4217.def: Change entry for Eritrea.
5328         Reported by Daniel Yacob <yacob@geez.org>.
5330 2000-12-23  Ben Collins  <bcollins@debian.org>
5332         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
5333         description.
5335         * manual/stdio.texi (Dynamic Output): Document the return value of
5336         asprintf.  Also make the asprintf/snprintf examples a little
5337         better (check for some error returns).
5339 2000-12-22  Andreas Jaeger  <aj@suse.de>
5341         * include/stdio.h: Add __ftrylockfile prototype.
5343 2000-12-21  H.J. Lu  <hjl@gnu.org>
5345         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
5346         Make sign_exponent element signed.
5348         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
5349         Fix a typo.
5351         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
5353 2000-12-21  Andreas Jaeger  <aj@suse.de>
5355         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
5356         * inet/ether_hton.c: Likewise
5357         * inet/ether_ntoh.c: Likewise.
5359         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
5360         declaration to match prototype.
5362         * include/netinet/ether.h (struct etherent): Declare here so that
5363         all implementations use the same struct.
5365         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
5366         prototypes.
5367         (struct ether): Removed.
5368         Use struct etherent instead of ether everywhere.
5370         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
5372         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
5374         * sunrpc/publickey.c: Include auth_des.h for prototypes.
5376 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
5378         * math/test-misc.c: Add more tests for nextafter functions.
5380         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
5381         normal correctly.  Correct test for sign.
5382         Based on a patch by HJ Lu.
5384 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
5386         * Makeconfig (preprocess-version): Add -traditional to gcc call.
5387         Cleanup sed calls.
5389 2000-12-19  Andreas Jaeger  <aj@suse.de>
5391         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
5393         * nis/nis_intern.h: Add prototype for __do_niscall3.
5395         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
5396         match prototype.
5398         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
5400         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
5402         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
5404 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
5406         * math/test-misc.c: Add more tests for nextafter.
5407         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
5408         * sysdeps/ieee754/ldbl-96/math_ldbl.h
5409         (ieee_long_double_shape_type): Make sign_exponent element signed.
5411         * manual/message.texi: Add Estonian to plural overview list.
5412         Correct rule for Slavic languages.
5413         Patch by Stanislav Brabec <utx@penguin.cz>.
5415         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
5417 2000-12-18  Andreas Jaeger  <aj@suse.de>
5419         * test-skeleton.c: Use temp_name_list instead of name_list to
5420         avoid collision with name_list from inet/netgroup.h.
5422         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
5424         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
5425         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
5426         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
5427         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
5429         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
5430         declaration to match prototype.
5431         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
5432         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
5433         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
5434         Likewise.
5435         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
5436         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
5437         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
5438         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
5439         (_nss_nis_getservbyport_r): Likewise.
5440         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
5441         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
5442         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
5443         (_nss_nis_setnetent): Likewise
5444         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
5445         (_nss_nis_endnetgrent): Likewise.
5446         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
5447         Likewise.
5448         (_nss_nisplus_setnetgrent): Likewise.
5449         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
5450         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
5451         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
5452         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
5453         Likewise.
5454         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
5455         Likewise.
5456         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
5457         Likewise.
5458         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
5459         Likewise.
5460         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
5461         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
5462         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
5463         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
5464         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
5465         (_nss_dns_getnetbyaddr_r): Likewise.
5467 2000-12-17  Andreas Jaeger  <aj@suse.de>
5469         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
5470         parameter.
5472         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
5473         unused attribute to shut up gcc warnings.
5475         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
5476         * sysdeps/generic/k_tanl.c: Likewise.
5477         * sysdeps/generic/k_cosl.c: Likewise.
5478         * sysdeps/generic/e_j0l.c: Likewise.
5479         * sysdeps/generic/e_j1l.c: Likewise.
5480         * sysdeps/generic/e_jnl.c: Likewise.
5481         * sysdeps/generic/e_lgammal_r.c: Likewise.
5483         * elf/vismain.c: Move prototypes for functions in vismod*.c to
5484         vismod.h.
5485         * elf/vismod.h: New file.
5486         * elf/Makefile (distribute): Add vismod.h.
5487         * elf/vismod1.c: Include vismod.h.
5488         * elf/vismod2.c: Likewise.
5489         * elf/vismod3.c: Likewise.
5491         * elf/constload3.c: Add prototype declarations to shut up gcc.
5492         * elf/failobj.c: Likewise.
5493         * elf/nodelmod3.c: Likewise.
5494         * elf/filtmod1.c: Likewise.
5495         * elf/filtmod2.c: Likewise.
5496         * elf/reldepmod1.c: Likewise.
5497         * elf/reldepmod2.c: Likewise.
5498         * elf/reldepmod3.c: Likewise.
5499         * elf/reldepmod4.c: Likewise.
5500         * elf/unload2dep.c: Likewise.
5501         * elf/unload2mod.c: Likewise.
5502         * elf/ltglobmod1.c: Likewise.
5503         * elf/pathoptobj.c: Likewise.
5504         * elf/neededobj1.c: Likewise.
5505         * elf/neededobj2.c: Likewise.
5506         * elf/neededobj3.c: Likewise.
5507         * elf/neededobj4.c: Likewise.
5508         * elf/nextmod1.c: Likewise.
5509         * elf/nextmod2.c: Likewise.
5511         * locale/programs/ld-collate.c (collate_finish): Don't use labels
5512         at end of compound statement.
5513         * locale/programs/locale.c (show_info): Likewise.
5514         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
5516 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
5518         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
5519         with a pointer not returned by obstack_ functions.
5521 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
5523         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
5524         version.
5525         (struct stat64): Likewise.
5526         Reported by Michael Keezer <mkeezer@redhat.com>.
5528         * timezone/asia: Update from tzdata2000h.
5529         * timezone/australasia: Likewise.
5530         * timezone/backward: Likewise.
5531         * timezone/europe: Likewise.
5532         * timezone/northamerica: Likewise.
5533         * timezone/southamerica: Likewise.
5534         * timezone/zone.tab: Likewise.
5536 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
5538         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
5539         and dir.stream is NULL, only free dir.content.
5540         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
5541         * io/ftwtest-sh: Test with --early-exit.
5543 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
5545         * misc/efgcvt.c (FCVT_MAXDIG): Define.
5546         (FCVT_BUFPTR): New variable.
5547         (fcvt): If fcvt_r returns -1 on the static short buffer,
5548         try to malloc a sufficiently large one and retry.
5549         (free_mem): New function.
5550         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
5551         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
5553 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
5555         * misc/dirname.c (dirname): Fix search for second to last slash.
5557 2000-12-13  Andreas Jaeger  <aj@suse.de>
5559         * misc/tst-dirname.c (main): Fix typo in test to really use
5560         the examples from Unix98.
5561         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
5563 2000-12-09  H.J. Lu  <hjl@gnu.org>
5565         * sysdeps/ia64/fpu/s_fabs.S: New file.
5566         * sysdeps/ia64/fpu/s_fabsf.S: New file.
5567         * sysdeps/ia64/fpu/s_fabsl.S: New file.
5569 2000-12-15  Andreas Jaeger  <aj@suse.de>
5571         * stdio-common/scanf9.c (main): Reformat and change to avoid
5572         warnings.
5574         * stdio-common/tstdiomisc.c: Make local functions static.
5575         * stdio-common/tst-printf.c: Likewise.
5577         * elf/constload2.c: Add prototype declarations to shut up gcc.
5578         * elf/dep1.c: Likewise.
5579         * elf/dep2.c: Likewise.
5580         * elf/dep3.c: Likewise.
5581         * elf/dep4.c: Likewise.
5582         * elf/ltglobmod2.c: Likewise.
5584         * libio/fmemopen.c: Make local functions static.
5586         * elf/Makefile (distribute): Added testobj.h.
5588         * elf/testobj.h: New file.
5590         * elf/testobj1.c: Include testobj.h and move prototype
5591         declarations to testobj.h.
5592         * elf/testobj2.c: Likewise.
5593         * elf/testobj3.c: Likewise.
5594         * elf/testobj4.c: Likewise.
5595         * elf/testobj5.c: Likewise.
5596         * elf/testobj6.c: Likewise.
5597         * elf/testobj1_1.c: Likewise.
5598         * elf/preloadtest.c: Likewise.
5600 2000-12-15  Ben Collins  <bcollins@debian.org>
5602         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
5603         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
5605 2000-12-14  H.J. Lu  <hjl@gnu.org>
5607         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
5608         field in a float is 8 bits, not 11 bits.
5610 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
5612         * math/test-misc.c (main): Adjust m for IEEE quad long double.
5614 2000-12-13  Andreas Jaeger  <aj@suse.de>
5616         * manual/message.texi (Using gettextized software): Fix typo.
5618         * manual/charset.texi (Converting a Character): Fix mbstouwcs
5619         program to compile.
5620         Patch by Martin Buchholz <martin@xemacs.org>.
5622         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
5623         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
5625 2000-12-11  Andreas Jaeger  <aj@suse.de>
5627         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
5628         kernel_sigset_t and use it.
5629         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
5631 2000-12-10  Richard Henderson  <rth@redhat.com>
5633         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
5634         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
5635         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
5637 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
5639         * sysdeps/alpha/htonl.S: Fix a typo.
5641 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
5643         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
5645 2000-12-10  Andreas Jaeger  <aj@suse.de>
5647         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
5648         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
5649         Drepper <drepper@redhat.com>.
5651 2000-12-09  Andreas Jaeger  <aj@suse.de>
5653         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
5655         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
5656         generic version.
5657         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
5659         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
5660         string.
5662         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
5663         format string.
5665         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
5666         * nscd/connections.c (handle_request): Likewise.
5667         * nscd/pwdcache.c (addpwbyname): Likewise.
5668         * nscd/grpcache.c (addgrbyname): Likewise.
5670         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
5672 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
5674         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
5676         * Makeconfig (default_cflags): Make -O2 the default for stable
5677         releases.
5679 2000-12-08  H.J. Lu  <hjl@gnu.org>
5681         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
5682         * sysdeps/ia64/fpu/s_isinf.S: This.
5683         Add a .pred.rel.mutex note to avoid false report.
5685         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
5686         * sysdeps/ia64/fpu/s_isnan.S: This.
5688         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
5689         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
5690         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
5691         * sysdeps/ia64/fpu/s_isinff.S: New file.
5692         * sysdeps/ia64/fpu/s_isinfl.S: New file.
5693         * sysdeps/ia64/fpu/s_isnanf.S: New file.
5694         * sysdeps/ia64/fpu/s_isnanl.S: New file.
5695         * sysdeps/ia64/fpu/s_finite.S: New file.
5696         * sysdeps/ia64/fpu/s_finitef.S: New file.
5697         * sysdeps/ia64/fpu/s_finitel.S: New file.
5698         * sysdeps/ia64/fpu/s_signbit.S: New file.
5699         * sysdeps/ia64/fpu/s_signbitf.S: New file.
5700         * sysdeps/ia64/fpu/s_signbitl.S: New file.
5701         * sysdeps/ia64/fpu/s_copysign.S: New file.
5702         * sysdeps/ia64/fpu/s_copysignf.S: New file.
5703         * sysdeps/ia64/fpu/s_copysignl.S: New file.
5705 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
5707         * math/libm-test.inc (main): Fix typos in messages.
5709         * string/stratcliff.c: Add test for rawmemchr.
5711 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
5713         * elf/dl-open.c (_dl_open): If objname points right after errstring,
5714         allocate it together with errstring using alloca.
5715         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
5716         to "", because it might point to local stack.
5718 2000-12-05  H.J. Lu  <hjl@gnu.org>
5720         * nss/Makefile (routines): Add getnssent and getnssent_r.
5721         * nss/nsswitch.h (__nss_setent): New internal NSS function.
5722         (__nss_endent): Likewise.
5723         (__nss_getent_r): Likewise.
5724         (__nss_getent): Likewise.
5725         * nss/getnssent_r.c: New file.
5726         * nss/getnssent.c: New file.
5727         * nss/getXXent.c (H_ERRNO_VAR): Updated.
5728         (GETFUNC_NAME): Updated to call __nss_getent ().
5729         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
5730         (STAYOPEN_TMPVAR): Updated.
5731         (STAYOPEN_VAR): Updated.
5732         (SETFUNC_NAME): Updated to call __nss_setent ().
5733         (ENDFUNC_NAME): Updated to call __nss_endent ().
5734         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
5736 2000-12-08  Andreas Jaeger  <aj@suse.de>
5738         * nscd/dbg_log.h (dbg_log): Correct attribute.
5740 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
5742         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
5743         cp + len.  Compute where from dirname.
5744         Reported by <jreiser@BitWagon.com>.
5746 2000-12-08  Richard Henderson  <rth@twiddle.net>
5748         * sysdeps/alpha/_mcount.S: Fix typo.
5749         * sysdeps/alpha/strncpy.S: Likewise.
5751         * sysdeps/alpha/alphaev6/Implies: New file.
5752         * sysdeps/alpha/alphaev67/Implies: New file.
5753         * sysdeps/alpha/alphaev67/ffs.S: New file.
5754         * sysdeps/alpha/alphaev67/ffsll.S: New file.
5755         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
5756         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
5757         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
5758         * sysdeps/alpha/rawmemchr.S: New file.
5759         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
5760         * sysdeps/alpha/strcpy.S: Likewise.
5762         From GMP 3.1.1:
5763         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
5765         From rick.gorton@alpha-processor.com:
5766         * sysdeps/alpha/alphaev6/memchr.S: New file.
5767         * sysdeps/alpha/alphaev6/memcpy.S: New file.
5768         * sysdeps/alpha/alphaev6/memset.S: New file.
5769         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
5770         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
5771         * sysdeps/alpha/alphaev67/strcat.S: New file.
5772         * sysdeps/alpha/alphaev67/strchr.S: New file.
5773         * sysdeps/alpha/alphaev67/strlen.S: New file.
5774         * sysdeps/alpha/alphaev67/strncat.S: New file.
5775         * sysdeps/alpha/htonl.S: Use a shorter sequence.
5777 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
5779         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
5780         Reported by <pspencer@fields.utoronto.ca>.
5782 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
5784         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
5785         Pointed out by Hans Boehm.
5787 2000-12-07  H.J. Lu  <hjl@gnu.org>
5789         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
5791 2000-12-07  Andreas Jaeger  <aj@suse.de>
5793         * misc/error.c: Add format attributes for __error and __error_at_line.
5795         * nscd/dbg_log.h: Add format attribute.
5797 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
5799         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
5800         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
5802 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
5804         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
5806 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
5808         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
5809         (sysdep_routines): Add uitrunc.
5810         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
5811         Patches by Michael Keezer <mkeezer@redhat.com>.
5813 2000-12-06  Roland McGrath  <roland@frob.com>
5815         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
5816         argument data, since it will be used to copy out too (for INOUT).
5817         Reported by Marcus Brinkmann <marcus@gnu.org>.
5819         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
5820         (__ioctl): Use uintptr_t instead of unsigned long int.
5822 2000-12-06  Jim Wilson  <wilson@redhat.com>
5824         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
5826 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
5828         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
5829         x.5 rounding correctly.
5831 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
5833         * stdio-common/perror.c (perror): Conditionalize code dealing with
5834         wide-oriented streams on USE_IN_LIBIO.
5836 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
5838         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
5839         as internal_function.
5841 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
5843         * sysdeps/alpha/elf/start.S (__data_start): Define.
5845 2000-12-05  H.J. Lu  <hjl@gnu.org>
5847         * nss/getXXent_r.c (setup): Change the return type to int.
5849 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
5851         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
5852         (sysdep_routines): Add restf and savef.
5853         * sysdeps/unix/sysv/aix/restf.c: New file.
5854         * sysdeps/unix/sysv/aix/savef.c: New file.
5855         Patches by Michael Keezer <mkeezer@redhat.com>.
5857         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
5858         if O_DIRECTORY is not defined.
5859         Patch by Michael Keezer <mkeezer@redhat.com>.
5861         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
5862         Patch by Michael Keezer <mkeezer@redhat.com>.
5864         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
5865         than 4 bytes in escape sequence.
5866         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5868 2000-12-05  Andreas Jaeger  <aj@suse.de>
5870         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
5871         set mips2.
5873         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
5875         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
5877         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
5878         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
5880         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
5881         internal_function.
5882         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
5883         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
5885         * sysdeps/generic/dl-cache.c: Remove declaration of
5886         _dl_sysdep_read_whole_file.
5888         * elf/dl-load.c (_dl_map_object): Remove declaration of
5889         _dl_load_cache_lookup.
5891         * sysdeps/generic/ldsodefs.h: Add declarations of
5892         _dl_load_cache_lookup, _dl_unload_cache,
5893         _dl_sysdep_read_whole_file, _dl_sysdep_start and
5894         _dl_sysdep_start_cleanup.
5896         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
5897         now.
5899         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
5900         * sysdeps/generic/dl-environ.c: Likewise.
5902         * stdio-common/printf_fp.c: Include <gmp.h> instead of
5903         <stdlib/gmp.h>.
5904         * math/atest-exp.c: Likewise.
5905         * math/atest-exp2.c: Likewise.
5906         * math/atest-sincos.c: Likewise.
5907         * stdio-common/_itoa.c: Likewise.
5908         * stdio-common/_itowa.c: Likewise.
5910         * include/gmp.h: New file with internal prototypes.
5912         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
5913         here to...
5914         * include/setjmp.h: ...here.
5916         * locale/Makefile (routines): Remove codeset_name since it's not
5917         needed anywhere.
5919         * locale/codeset_name.c: Removed.
5921 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
5923         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
5925 2000-12-05  Andreas Jaeger  <aj@suse.de>
5927         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
5929 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
5931         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
5932         available.
5934 2000-12-05  Andreas Jaeger  <aj@suse.de>
5936         * nss/test-netdb.c: Mark local functions as static to avoid
5937         warnings.
5938         (main): Use return to silence warning.
5940         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
5942         * stdio-common/test-popen.c: Mark local functions as static to
5943         avoid warnings.
5944         (main): Use return to silence warning.
5946         * stdlib/testsort.c (compare): Mark as static to avoid warning.
5948         * assert/test-assert.c: Mark local functions as static to avoid
5949         warnings.
5950         * assert/test-assert-perr.c: Likewise.
5952         * math/libm-test.inc (main): Use return to silence warnings.
5954 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
5956         * math/fenv.h: Fix typo in comment.
5958         * math/test-misc.c (main): Add a few more over and underflow tests
5959         for scalb.
5961         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
5962         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5963         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5964         * math/w_scalb.c: Don't use matherr except in SVID mode.
5965         * math/w_scalbf.c: Likewise.
5966         * math/w_scalbl.c: Likewise.
5967         * math/test-misc.c: Add test for NaN and scalbl.
5968         Reported by Fred J. Tydeman <tydeman@tybor.com>.
5970 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
5972         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
5973         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
5974         * include/libc-symbols.h (strong_alias): Define special version
5975         for HAVE_ASM_GLOBAL_DOT_NAME.
5976         (weak_alias): Likewise.
5977         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
5978         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
5979         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
5980         getutxline, pututxline, and utmpxname.
5981         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
5982         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
5983         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
5984         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
5985         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
5986         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
5987         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
5988         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
5989         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
5990         Patches by Michael Keezer <mkeezer@redhat.com>.
5992 2000-12-04  H.J. Lu  <hjl@gnu.org>
5994         * configure.in: Change --with-oldest-abi=ABI to
5995         --enable-oldest-abi=ABI.
5997 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
5999         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
6000         fwprintf instead of fprintf.
6002 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
6004         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
6005         DECIMAL_DIG definitions.
6006         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
6007         * sysdeps/generic/bits/mathdef.h: Likewise
6008         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
6009         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
6010         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
6011         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
6012         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
6013         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
6015 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
6017         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
6019         * math/atest-exp.c: Mark local functions as static to avoid warnings.
6020         * math/atest-exp2.c: Likewise.
6021         * math/atest-sincos.c: Likewise.
6023         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
6024         Reported by Fred J. Tydeman <tydeman@tybor.com>.
6026         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
6027         the handling of denormalized numbers.
6029         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
6030         numbers on x86.
6031         * sysdeps/i386/fpu/fpclassifyl.c: New file.
6033         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
6034         pseudo denormal representation of LDBL_MIN.
6036         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
6037         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
6039         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
6040         * iconvdata/jis0208.c: Likewise.
6041         * iconvdata/jis0212.c: Likewise.
6042         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6044         * math/test-misc.c (main): More tests for frexp and some for
6045         fpclassify and isnormal.
6047         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
6048         test for subnormal.
6049         Reported by Fred J. Tydeman <tydeman@tybor.com>.
6051         * math/test-misc.c (main): Add tests for frexp.
6052         Reported by Fred J. Tydeman <tydeman@tybor.com>.
6053         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
6055 2000-12-02  H.J. Lu  <hjl@gnu.org>
6057         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
6058         '\0' to wcschr.
6060 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
6062         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
6063         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6064         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6066         * sysdeps/generic/glob.c: Adjust types of several variables to
6067         avoid warnings.
6069 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
6071         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
6073 2000-11-30  Roland McGrath  <roland@frob.com>
6075         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
6076         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
6077         allow multiple instances using the same function name in one file.
6079 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
6081         * configure.in: Correct test for pserver CVS access.
6083 2000-11-28  H.J. Lu  <hjl@gnu.org>
6085         * libio/libio.h: Remove extra "#if ... #endif".
6087 2000-11-29  H.J. Lu  <hjl@gnu.org>
6089         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
6091 2000-12-01  H.J. Lu  <hjl@gnu.org>
6093         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
6094         * nss/getXXent_r.c: Likewise.
6095         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6097 2000-11-30  H.J. Lu  <hjl@gnu.org>
6099         * scripts/abi-versions.awk (oldest_abi): New variable.
6100         Handle the oldest ABI supported.
6102         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
6103         for scripts/abi-versions.awk.
6105         * configure.in: Add --with-oldest-abi=ABI.
6106         * configure: Rebuild.
6108         * config.make.in (oldest-abi): New.
6110         * config.h.in (GLIBC_OLDEST_ABI): New.
6112         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
6114 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
6116         * locale/setlocale.c (setname): Free for all categories, not just
6117         LC_ALL.
6118         (setlocale): Store a copy of string passed by user, not the string
6119         itself.
6121 2000-11-30  Roland McGrath  <roland@frob.com>
6123         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
6124         rather than _hurd_fd_subinit, so it happens after it's safe to use
6125         libc facilities like malloc.
6127 2000-11-28  Andreas Jaeger  <aj@suse.de>
6129         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
6130         declaration, adjust declaration of __syscall_getdents to match
6131         kernel.
6133 2000-11-29  H.J. Lu  <hjl@gnu.org>
6135         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
6137 2000-11-29  Andreas Jaeger  <aj@suse.de>
6139         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
6141 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
6143         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
6144         * dlfcn/defaultmod2.c: Likewise.
6145         * dlfcn/dlopen.c: Likewise.
6146         * dlfcn/dlopenold.c: Likewise.
6147         * dlfcn/failtestmod.c: Likewise.
6148         * dlfcn/glreflib1.c: Likewise.
6149         * dlfcn/glreflib2.c: Likewise.
6150         * dlfcn/eval.c: Likewise.  Add attributes.
6152         * ctype/ctype-extn.c: Define isblank and not __isblank.
6154         * time/strftime.c: Add const where necessary to avoid warnings.
6155         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
6157 2000-11-22  Paul Eggert  <eggert@twinsun.com>
6159         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
6160         size of (size_t) -1; it's not portable.
6162 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
6164         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
6165         crappy i486 FPU.
6166         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
6168 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
6170         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
6172         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
6173         _mcount is required by profiled binaries.
6175         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
6176         * sysdeps/ia64/machine-gmon.h: ...here.
6178 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
6180         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
6181         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
6182         and ibm1129.h.
6183         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
6184         IBM1129.
6185         * iconvdata/ibm922.c: New file.
6186         * iconvdata/ibm922.h: New file.
6187         * iconvdata/ibm1124.c: New file.
6188         * iconvdata/ibm1124.h: New file.
6189         * iconvdata/ibm1129.c: New file.
6190         * iconvdata/ibm1129.h: New file.
6191         * iconvdata/testdata/IBM922: New file.
6192         * iconvdata/testdata/IBM922..UTF8: New file.
6193         * iconvdata/testdata/IBM1124: New file.
6194         * iconvdata/testdata/IBM1124..UTF8: New file.
6195         * iconvdata/testdata/IBM1129: New file.
6196         * iconvdata/testdata/IBM1129..UTF8: New file.
6198 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
6200         * catgets/gencat.c (normalize_line): Take extra parameter with escape
6201         character.  Change callers.
6202         (open_conversion): Determine mapping of 0x5c as wchar_t value.
6203         * catgets/Makefile: Add rules to build and run test-gencat.
6204         * catgets/sample.SJIS: New file.
6205         * catgets/test-gencat.c: New file.
6206         * catgets/test-gencat.sh: New file.
6207         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6209 2000-11-28  Andreas Jaeger  <aj@suse.de>
6211         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
6212         Linux version.
6214 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
6216         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
6218 2000-11-28  Andreas Jaeger  <aj@suse.de>
6220         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
6221         __flexarr.
6222         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
6223         Likewise.
6225 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
6227         * misc/getusershell.c: Make strings in okshells array const.
6228         * misc/regexp.c: Add const to cast to avoid warnings.
6229         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
6230         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
6231         __setresuid.
6232         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
6233         setresgid.
6234         * misc/error.c: Add prototypes for __error and __error_at_line.
6235         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
6236         statement to avoid warning.
6237         * test-skeleton.c: Mark timeout_handler with noreturn.
6238         * iconv/skeleton.c (get16u): Add const to cast.
6239         (get32u): Likewise.
6240         * iconvdata/gb18030.c: Likewise.
6241         * iconvdata/iso-2022-cn-ext.c: Likewise.
6242         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
6243         * iconvdata/big5.c: Likewise.
6244         * iconvdata/big5hkscs.c: Likewise.
6245         * iconvdata/iso_6937.c: Likewise.
6246         * iconvdata/iso_6937-2.c: Likewise.
6247         * iconvdata/t.61.c: Likewise.
6248         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
6249         * iconvdata/unicode.c: Likewise.
6250         * iconvdata/utf-16.c: Likewise.
6251         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
6252         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
6253         with little code shuffling.
6255         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
6256         the problems introduced when the user selects -O3.
6258         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
6259         * misc/sys/cdefs.h: Define __flexarr.
6260         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
6262         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
6263         * iconv/skeleton.c: Likewise.
6264         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
6265         * iconv/loop.c (get16): Add const to cast.
6266         (get32): Likewise.
6268 2000-11-27  Andreas Jaeger  <aj@suse.de>
6270         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
6271         to avoid warning.
6272         * login/programs/utmpdump.c (print_entry): Likewise.
6274 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
6276         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
6277         in a single asm as they may be used to access other stored
6278         registers.
6279         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
6281 2000-11-27  Andreas Jaeger  <aj@suse.de>
6283         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
6284         * rt/tst-aio64.c: Likewise.
6286 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
6288         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
6289         for gencat run.
6290         (libc.cat): Likewise.
6291         * catgets/gencat.c: Implement handling of message catalogs encoded
6292         with stateful character sets.
6293         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6295 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
6297         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
6299         * inet/getnameinfo.c: Adjust casts to avoid warnings.
6300         * inet/rcmd.c: Likewise.
6301         * inet/ruserpass.c: Likewise.
6302         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
6303         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6304         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
6305         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
6306         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
6307         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
6308         * include/aliases.h: Add prototypes for internal __getalias* functions.
6309         * include/netdb.h: Add prototypes for __old_gethostent_r,
6310         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
6311         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
6312         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
6313         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
6314         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
6315         __old_getrpcbynumber_r, __old_getrpcent_r.
6317         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
6318         __getrpcent_r prototypes.
6320 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
6322         * string/strcoll.c: Add casts to avoid warnings.
6323         * string/strnlen.c: Likewise.
6324         * string/strxfrm.c: Likewise.
6325         * sysdeps/generic/_strerror.c: Likewise.
6326         * sysdeps/generic/memrchr.c: Likewise.
6327         * sysdeps/generic/strcasestr.c: Likewise.
6328         * sysdeps/generic/strstr.c: Likewise.
6330         * locale/weight.h (findidx): Add const to cast to avoid warning.
6332         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
6333         * elf/loadtest.c: Likewise.
6334         * elf/multiload.c: Likewise.
6335         * elf/next.c: Likewise.
6336         * elf/nodelete.c: Likewise.
6337         * elf/noload.c: Likewise.
6338         * elf/order.c: Likewise.
6339         * elf/origtest.c: Likewise.
6340         * elf/preloadtest.c: Likewise.
6341         * elf/restest1.c: Likewise.
6343         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
6344         parameter of asm must be in %ecx.
6346         * string/tester.c: Mark test functions as static to avoid warnings.
6348         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
6349         preserve value over different gconv-modules files.
6351 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
6353         * locale/findlocale.c: Add casts to avoid warnings.
6354         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
6355         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
6356         to avoid warnings.
6357         * misc/tsearch.c (const_node): New type.
6358         (trecurse): Correct casts to avoid warnings.
6359         (__twalk): Likewise.
6360         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
6361         LONG_BIT.
6363         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
6365         * test-skeleton.c: Mark local functions as static to avoid warnings.
6367 2000-11-23  H.J. Lu  <hjl@gnu.org>
6369         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
6370         support the background job.
6371         Fix a typo.
6373 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
6375         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
6376         has same names but lower cost.
6378 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
6380         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
6381         which never occur during bootstrap.
6382         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6384 2000-11-23  Andreas Jaeger  <aj@suse.de>
6386         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
6388         * nss/Versions: Remove _nss_files_getipnodebyname_r.
6390         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
6392 2000-11-18  Martin Buchholz  <martin@xemacs.org>
6394         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
6395         (called++) return;'
6397 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
6399         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
6401         * csu/abi-note.S: Correct comment for operating system number.
6403 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
6405         * Versions.def: Add GLIBC_2.2.1 for glibc.
6407 2000-11-22  Andreas Schwab  <schwab@suse.de>
6409         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
6410         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
6412 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
6414         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
6415         absolute time for pthread_cond_timedwait call.
6416         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
6418         * rt/Makefile (tests): Add tst-aio6.
6419         * rt/tst-aio6.c: New file.
6421 2000-11-23  Andreas Jaeger  <aj@suse.de>
6423         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
6425 2000-11-22  Andreas Jaeger  <aj@suse.de>
6427         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
6429 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
6431         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
6433 2000-11-21  Andreas Schwab  <schwab@suse.de>
6435         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
6436         * sysdeps/arm/setjmp.S: Likewise.
6437         * sysdeps/arm/fpu/setjmp.S: Likewise.
6438         * sysdeps/i386/setjmp.S: Likewise.
6439         * sysdeps/i386/elf/setjmp.S: Likewise.
6440         * sysdeps/s390/setjmp.S: Likewise.
6441         * sysdeps/s390/elf/setjmp.S: Likewise.
6442         * sysdeps/sh/sh3/setjmp.S: Likewise.
6443         * sysdeps/sh/sh4/setjmp.S: Likewise.
6444         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
6445         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6446         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
6447         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
6449 2000-11-21  Andreas Jaeger  <aj@suse.de>
6451         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
6452         NORETURN, fix parameter list.
6454         * string/bug-strncat1.c (main): Fix typo.
6455         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
6457 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
6459         * configure.in: Add --enable-all-warnings.
6460         * config.make.in (all-warnings): New variable.
6461         * Makeconfig (+gccwarn): Define with many more warnings if
6462         all-warnings is yes.
6464 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
6466         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
6467         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
6468         * malloc/tst-valloc.c (main): Cast valloc return value to long.
6469         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
6470         * math/test-fpucw.c (main): Use %lx in format string, cast
6471         control words to long.
6472         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
6473         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
6474         large that it is unsigned warning.
6476         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
6477         it to long on sparc64.
6479 2000-11-20  Andreas Jaeger  <aj@suse.de>
6481         * nscd/nscd.h (termination_handler): Add noreturn attribute.
6482         (receiv_print_stats): Likewise.
6484         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
6486 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
6488         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
6490         * csu/gmon-start.c: Always have prototype for __gmon_start.
6491         * csu/version.c: Add prototypes for __libc_print_version and
6492         __libc_main.
6493         * iconv/gconv.c: Include gconv_int.h and gconv.h.
6494         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
6495         and __to_name.
6496         * iconv/gconv_builtin.h: Add ASCII module definitions.
6497         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
6498         (add_module): Add cast to avoid warning.  Rework construction of
6499         strings for new module.
6500         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
6501         (derivation_compare): Likewise.
6502         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
6503         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
6504         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
6505         (struct gconv_alias): Remove const from fromname and toname.
6506         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
6507         for loop functions.
6508         (internal_ucs4_loop): Use correct const-ness.
6509         (ucs4_internal_loop): Likewise.
6510         (internal_ucs4le_loop): Likewise.
6511         (ucs4le_internal_loop_single): Likewise.
6512         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
6513         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
6514         assignments appropriately.
6515         (struct known_trans): Remove const from fname.
6516         (trans_compare): Make s1 and s2 const.
6517         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
6518         avoid warning.
6519         * iconv/skeleton.c: Remove cast in calls of loop functions.
6520         * iconvdata/gconv-modules: Remove US-ASCII definitions.
6521         * iconvdata/iso646.c: Remove US_ASCII support.
6522         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
6523         * include/unistd.h: Add __libc_check_standard_fds prototype.
6524         * string/bits/string2.h (__mempcpy_args): Add const to casts.
6525         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
6526         _fini.
6527         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
6528         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
6529         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
6530         warning.
6531         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
6532         __libc_init_first and _dl_start.
6533         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
6534         (DCIGETTEXT): Make domaindata variable const.
6535         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
6536         to avoid warning.
6538 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
6540         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
6542         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
6543         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
6544         __unused? members.
6546         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
6547         value defined in /usr/include/asm-mips/fcntl.h.
6549 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
6551         * stdio-common/Makefile (tests): Add test-vfprintf.
6552         (test-vfprintf-ENV): New variable.
6553         * stdio-common/test-vfprintf.c: New file.
6555         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
6557         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
6558         (tst-mbrtowc-ENV): New variable.
6559         (tst-wcrtomb-ENV): New variable.
6560         * wcsmbs/tst-mbrtowc.c: New file.
6561         * wcsmbs/tst-wcrtomb.c: New file.
6563 2000-11-16  Andreas Jaeger  <aj@suse.de>
6565         * manual/install.texi (Tools for Compilation): Update
6566         documentation for GCC 2.95.2.
6568 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
6570         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
6571         if IPv4 and IPv6 requests timed out.
6573 2000-11-18  Akim Demaille  <akim@epita.fr>
6575         * malloc/obstack.h: Formatting changes.
6576         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
6577         prevents type checking.
6578         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
6579         cast the value to (void *): assigning a `foo *' to a `void *'
6580         variable is valid.
6581         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
6583 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
6585         * scripts/config.guess: Update from upstream maintainer.
6586         * scripts/config.sub: Likewise.
6588 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
6590         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
6591         * libio/freopen64.c (freopen64): Likewise.
6592         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6594         * libio/Makefile: Add rules to build and run test-freopen.
6595         * libio/test-freopen.c: New file.
6596         * libio/test-freopen.sh: New file.
6598 2000-11-15  H.J. Lu  <hjl@gnu.org>
6600         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
6601         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
6602         (DL_DT_FINI_ADDRESS): Likewise.
6604         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
6605         return type to ElfW(Addr).
6606         (_dl_function_address): New prototype.
6607         (DL_FUNCTION_ADDRESS): Defined.
6608         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
6609         (DL_DT_FINI_ADDRESS): Likewise.
6611         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
6613         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
6614         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
6616         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
6617         (_dl_function_address): This.
6619         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
6620         function pointer for DT_FINI.
6621         * elf/dl-close.c (_dl_close): Likewise.
6623         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
6624         function pointer for DT_INIT.
6626 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
6628         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
6629         end of wexpbuf buffer.
6631 2000-11-16  Andreas Jaeger  <aj@suse.de>
6633         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
6634         definition of F_GETLK, F_SETLK, F_SETLKW.
6636 2000-11-16  Andreas Jaeger  <aj@suse.de>
6638         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
6639         it's not defined.
6641 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
6643         * dlfcn/default.c (main): Add test for dladdr of main returning
6644         argv[0] in dli_fname field.
6646 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
6648         * Makeconfig (run-program-prefix): Move test-static test into the
6649         variable.
6651         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
6652         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
6653         schedule instructions.
6654         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
6655         schedule instructions, fix a bug in copying auxiliary data.
6657 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
6659         * manual/startup.texi (Program Arguments): Fix type of main's envp
6660         parameter.
6661         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
6663         * iconvdata/gconv-modules: Add CP950 alias.
6665 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
6667         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
6668         syscall-list.h goal.
6669         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
6671 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
6673         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
6675         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
6676         output of program.
6678         * intl/tst-gettext2.c: Set C locale if setting other locale
6679         failed.  Use gettext() not _().
6681         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
6682         successfully loaded a new locale.
6684 2000-11-13  Andreas Jaeger  <aj@suse.de>
6686         * configure.in: Require gcc 2.95 or newer.
6688 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
6690         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
6691         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
6693 2000-11-11  Jim Meyering  <meyering@lucent.com>
6695         * string/strndup.c (strndup): Cast return value to `char *'.
6697 2000-11-15  Jim Meyering  <meyering@ascend.com>
6699         * sysdeps/generic/memchr.c: Remove some useless parentheses.
6700         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
6701         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
6702         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
6703         Also #undef __memchr.
6704         Use `weak_alias' only if it's defined.
6706 2000-11-10  H.J. Lu  <hjl@gnu.org>
6708         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
6710 2000-11-15  Andreas Jaeger  <aj@suse.de>
6712         * elf/chroot_canon.c: Include <stdint.h>.
6714         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
6715         (print_entry): Likewise.
6716         (add_to_cache): Likewise.
6718         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
6720         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
6721         (path_hwcap): Likewise.
6722         (search_dir): Likewise.
6724         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
6726         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
6728         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
6729         (_dl_platform_string): New.
6730         (_DL_HWCAP_PLATFORM): New.
6731         (_dl_string_platform): New.
6732         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
6734         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
6735         (_dl_string_platform): New.
6736         (_DL_HWCAP_PLATFORM): New.
6737         (_dl_platform_string): New.
6739         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
6740         recognition.
6741         (_DL_HWCAP_COUNT): New.
6742         (_dl_string_platform): New.
6743         (_DL_HWCAP_PLATFORM): New.
6744         (_dl_platform_string): New.
6746 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
6748         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
6750 2000-11-14  Andreas Jaeger  <aj@suse.de>
6752         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
6754 2000-11-13  Roland McGrath  <roland@frob.com>
6756         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
6758 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
6760         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
6761         underrun and make sure the result is null terminated even if there
6762         is no trailing newline.
6764 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
6766         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6768 2000-11-10  H.J. Lu  <hjl@gnu.org>
6770         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
6772 2000-11-10  Andreas Jaeger  <aj@suse.de>
6774         * elf/ldconfig.c (create_links): Fix alloca calculation.
6775         Patch by Ben Collins <bcollins@debian.org>.
6777 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
6779         * inet/getnameinfo.c (getnameinfo): Use correct destination
6780         parameter for if_indextoname.
6781         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
6783 2000-11-09  H.J. Lu  <hjl@gnu.org>
6785         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
6786         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
6787         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
6788         xdr_keystatus.
6790         * time/Versions (GLIBC_2.1): Move getitimer to...
6791         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
6793 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
6795         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
6796         "make install", to work around a binary incompatibility between
6797         glibc 2.1 and glibc 2.2 gconv modules.
6799 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
6801         * intl/locale.alias: Add thai.
6802         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
6804 2000-11-07  Akim Demaille  <akim@epita.fr>
6806         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
6807         argument `data' for consistency with the prototypes.
6808         Qualify it `const'.
6809         (obstack_copy, obstack_copy0): Rename the second argument as
6810         `address' for consistency.  Qualify it `const'.
6811         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
6812         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
6813         `const' their input argument (`data' or `address').
6814         Adjust the corresponding macros to include `const' in casts.
6816 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6818         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
6819         target family.
6821 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6823         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
6824         socket creation.
6826 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6828         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
6829         ai_protocol by internal table if service was not given.
6831 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6833         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
6834         numerical port was specified with protocol without socktype.
6836 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6838         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
6840 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6842         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
6844 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6846         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
6847         sin6_scope_id field.
6849 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6851         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
6853 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6855         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
6857 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6859         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
6860         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
6862 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
6864         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
6865         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
6867 2000-11-09  H.J. Lu  <hjl@gnu.org>
6869         * io/Versions (GLIBC_2.1.1): Remove lockf64.
6872 See ChangeLog.11 for earlier changes.