(otherlibs): Added.
[glibc.git] / ChangeLog
blobeed8b16fa79be75cca8b59f4dbec96a7e8cf94ef
1 2001-04-02  Andreas Schwab  <schwab@suse.de>
3         * Makerules (build-module): Make sure exit codes get checked
4         properly and remove unnecessary slashes.
6 2001-04-17  Ulrich Drepper  <drepper@redhat.com>
8         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9         Handle kernels which report only three digits after the decimal point.
10         Reported by Van Okamura <van.okamura@oracle.com>.
12         * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
14 2001-04-17  David S. Miller  <davem@redhat.com>
16         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
17         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19 2001-04-17  Jakub Jelinek  <jakub@redhat.com>
21         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
22         desired exceptions are raised for exceptional values.
23         * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
24         cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
25         clog_test, log_test, log1p_test, tan_test): Increase precision of
26         expected values to satisfy ldbl-128.
27         * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
28         * sysdeps/arm/libm-test-ulps: Likewise.
29         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
31         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
32         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
33         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
37         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39 2001-04-17  Andreas Jaeger  <aj@suse.de>
41         * configure.in: Move test for critical programs up.
43 2001-04-16  Stephen L Moshier  <moshier@mediaone.net>
45         * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
46         Correct the values. (pSx, qSx): Replace by shorter approximation.
47         Use f suffix on float constants.
49 2001-04-16  Ulrich Drepper  <drepper@redhat.com>
51         * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
52         Contributed by Stephen L Moshier <moshier@mediaone.net>.
54         * string/string.h: Replace const in attribute list with __const__.
56 2001-04-16  Roland McGrath  <roland@frob.com>
58         * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
59         instead of the constant NGROUPS_MAX.  That way, the limit can be
60         raised in the kernel configuration without having to recompile libc.
62         * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
63         define NGROUPS_MAX; we don't use it here.
65 2001-04-16  Andreas Jaeger  <aj@suse.de>
67         * math/libm-test.inc (atan2_test): Add more testcases.
69         * iconv/gconv_db.c: Include gconv_charset.h for
70         __gconv_lookup_alias prototype.
72 2001-04-13  Ulrich Drepper  <drepper@redhat.com>
74         * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
75         Contributed by Stephen L Moshier <moshier@mediaone.net>.
77 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
79         * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
81 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
83         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
84         explicitly pad struct siginfo instead of relying on compiler padding.
86 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
88         * sysdeps/ia64/Dist: Add elf/entry.h.
90         * iconvdata/Makefile (distribute): Add TESTS2.
92 2001-04-13  Jakub Jelinek  <jakub@redhat.com>
94         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
95         Calculate load address differently.
97 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
99         * iconvdata/TESTS2: New file.
100         * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
101         * iconvdata/testdata/alfabeta..UTF-8: New file.
102         * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
103         * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
104         * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
105         * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
107 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
109         * iconvdata/utf-32.c: New file.
110         * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
111         * iconvdata/Makefile (modules): Add UTF-32.
112         (distribute): Add utf-32.c.
114 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
116         * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
117         changing it in the state. After incrementing 'inptr', store it back.
118         * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
119         store it back.
121 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
123         * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
124         MIN_NEEDED_FROM.
126 2001-04-11  David Mosberger  <davidm@hpl.hp.com>
128         * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
129         * sysdeps/ia64/htons.S: Likewise.
131         * sysdeps/ia64/memset.S: Add unwind directives.
132         * sysdeps/ia64/strncpy.S: Likewise.
133         * sysdeps/ia64/strcat.S: Likewise.
135         * sysdeps/ia64/memccpy.S: Add unwind directives.  Drop superfluous
136         restore of ar.pfs.
137         * sysdeps/ia64/strchr.S: Likewise.
138         * sysdeps/ia64/memmove.S: Likewise.
139         * sysdeps/ia64/memcpy.S: Likewise.
140         * sysdeps/ia64/memcmp.S: Likewise.
141         * sysdeps/ia64/memchr.S: Likewise.
142         * sysdeps/ia64/strcmp.S: Likewise.
143         * sysdeps/ia64/strlen.S: Likewise.
144         * sysdeps/ia64/strcpy.S: Likewise.
145         * sysdeps/ia64/strncmp.S: Likewise.
147 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
149         * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
150         fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
151         fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
152         fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
154 2001-04-11  Andreas Jaeger  <aj@suse.de>
156         * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
158 2001-04-11  Andreas Schwab  <schwab@suse.de>
160         * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
162 2001-04-11  Ulrich Drepper  <drepper@redhat.com>
164         * sysdeps/arm/stackinfo.h: New file.
166 2001-04-08  Thorsten Kukuk  <kukuk@suse.de>
168         * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
169         rpcgen to generate thread safe code.
171 2001-04-10  Andreas Jaeger  <aj@suse.de>
173         * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
175 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
177         * elf/dl-minimal.c (__assert_fail): Change error string.  It's
178         most of the time no bug in ld.so.
179         (__assert_perror_fail): Likewise.
181 2001-04-11  Hans-Peter Nilsson  <hp@axis.com>
183         * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
184         from struct to unsigned int.
186 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
188         * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
189         AT_IGNOREPPC): New defines.
190         * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
191         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
192         Define for newer powerpc kernels.
193         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
194         DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
196 2000-4-10  kaz Kojima  <kkojima@rr.iij4u.or.jp>
198         * sysdeps/sh/stackinfo.h: New file.
200 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
202         * locale/tst-C-locale.c (run_test): Add tests for locale objects.
203         * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
204         __ctype_tolower, and __ctype_toupper elements.
206         * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
207         Reported by Konstantin Osipov <rabid@spylog.ru>.
209         * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
210         the lousy AMD FPU.
212 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
214         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
215         * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
216         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
217         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
219 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
221         * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
222         message.  Based on a patch by HJ Lu.
224 2001-04-10  Andreas Schwab  <schwab@suse.de>
226         * math/libm-test.inc (csinh_test): Don't require the invalid
227         exception for csinh (x + iNaN), but make it optional.
229 2001-04-09  David Mosberger  <davidm@hpl.hp.com>
231         * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
233         * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
234         * sysdeps/ia64/elf/entry.h: New file.
235         * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
236         __start.
237         * elf/rtld.c: Don't declare ENTRY_POINT.  Use ENTRY_POINT instead
238         of &ENTRY_POINT.
239         * sysdeps/generic/dl-sysdep.c: Likewise.
240         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
241         * sysdeps/ia64/elf/start.S: Save base address of register backing
242         store in __libc_ia64_register_backing_store_base.
244 2001-04-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
246         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
247         value of getcontext.
248         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
249         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
250         value of setcontext.
251         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
252         * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
253         call by changing the saved context.
255 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
257         * sysdeps/alpha/stackinfo.h: New file.
258         * sysdeps/ia64/stackinfo.h: New file.
260 2001-04-10  Andreas Schwab  <schwab@suse.de>
262         * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
263         values.
264         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
266 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
268         * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
269         * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
271         * libio/Makefile (distribute): Add fd_to_filename.h.
273 2001-04-05  David S. Miller  <davem@redhat.com>
275         Add hp-timing support for sparcv9/sparc64 targets.
276         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
277         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
278         * sysdeps/sparc/sparc64/hp-timing.c: New file
279         * sysdeps/sparc/sparc64/hp-timing.h: New file
280         * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
281         * sysdeps/sparc/sparc64/Makefile: Likewise.
283 2001-04-09  Jakub Jelinek  <jakub@redhat.com>
285         * sysdeps/generic/fd_to_filename.h: New file.
286         * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
287         * libio/freopen.c (freopen): If FILENAME is NULL, try to get
288         filename from the open file descriptor.
289         * libio/freopen64.c (freopen64): Likewise.
291 2001-04-09  Bruno Haible  <haible@clisp.cons.org>
293         * misc/error.c (error): fflush stdout also if
294         error_print_progname != NULL.
295         (error_at_line): Likewise.
297 2001-04-07  Bruno Haible  <haible@clisp.cons.org>
299         * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
300         (struct binding): Add codeset_cntr field.
301         (_nl_load_domain): Add domainbinding argument.
302         (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
303         (_nl_find_msg): New declaration, moved here from loadinfo.h.
304         * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
305         (_nl_make_l10nflist): Remove domainbinding argument.
306         (_nl_find_msg): Move declaration to gettextP.h.
307         * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
308         to 0.  Increment it when ->codeset is changed.
309         * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
310         (_nl_find_msg): Add domainbinding argument.  Reinitialize the converter
311         if domainbinding->codeset_cntr has been incremented.
312         * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
313         _nl_make_l10nflist().  Pass it to _nl_load_domain() instead.
314         * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
315         * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
316          from _nl_load_domain.  Append //TRANSLIT also when using libiconv.
317         (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
318         (_nl_load_domain): Add domainbinding argument.  Call
319         _nl_init_domain_conv.
320         (_nl_unload_domain): Call _nl_free_domain_conv.
321         * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
322         (test-srcs): Add tst-codeset.
323         (tests): Depend on tst-codeset.out.
324         (tst-codeset.out): New rule.
325         (CFLAGS-tst-codeset.c): New variable.
326         * intl/tst-codeset.sh: New file.
327         * intl/tstcodeset.po: New file.
328         * intl/tst-codeset.c: New file.
329         * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
330         calls.
332 2001-04-07  Roland McGrath  <roland@frob.com>
334         * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
336 2001-03-31  Roland McGrath  <roland@frob.com>
338         * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
339         copying send rights into child.  When we hit our name for our proc
340         port, just copy NEWPROC directly instead of repeating proc_task2proc
341         to install the child's port.
343 2001-04-08  Roland McGrath  <roland@frob.com>
345         * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
346         in second column, to provide default values for third column.
347         * shlib-versions: Add comments about using DEFAULT in second column.
348         (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
349         (cris-.*-linux.*): Likewise.
351 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
353         * Makefile (distribute): Add scripts/documented.sh.
354         * scripts/documented.sh: New file.
356 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
358         * sysdeps/unix/sysv/linux/cris/Dist: New file.
359         * sysdeps/unix/sysv/linux/cris/Makefile: New file.
360         * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
361         * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
362         * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
363         * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
364         * sysdeps/unix/sysv/linux/cris/brk.c: New file.
365         * sysdeps/unix/sysv/linux/cris/chown.c: New file.
366         * sysdeps/unix/sysv/linux/cris/clone.S: New file.
367         * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
368         * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
369         * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
370         * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
371         * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
372         * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
373         * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
374         * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
375         * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
376         * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
377         * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
378         * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
379         * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
380         * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
381         * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
382         * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
383         * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
384         * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
385         * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
386         * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
387         * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
388         * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
389         * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
390         * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
391         * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
392         * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
393         * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
394         * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
395         * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
396         * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
397         * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
398         * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
399         * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
400         * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
401         * sysdeps/unix/sysv/linux/cris/socket.S: New file.
402         * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
403         * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
404         * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
405         * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
406         * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
407         * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
409 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
411         * sysdeps/cris/Dist: New file.
412         * sysdeps/cris/Implies: New file.
413         * sysdeps/cris/Makefile: New file.
414         * sysdeps/cris/__longjmp.S: New file.
415         * sysdeps/cris/_mcount.S: New file.
416         * sysdeps/cris/bits/endian.h: New file.
417         * sysdeps/cris/bits/setjmp.h: New file.
418         * sysdeps/cris/bits/string.h: New file.
419         * sysdeps/cris/dl-machine.h: New file.
420         * sysdeps/cris/elf/start.S: New file.
421         * sysdeps/cris/machine-gmon.h: New file.
422         * sysdeps/cris/memcopy.h: New file.
423         * sysdeps/cris/memusage.h: New file.
424         * sysdeps/cris/setjmp.S: New file.
425         * sysdeps/cris/sysdep.h: New file.
426         * sysdeps/cris/wordcopy.c: New file.
428 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
430         * elf/elf.h: Add new relocations for CRIS.
432 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
434         * shlib-versions: Add cases for Linux on CRIS.
436 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
438         * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
439         ';' for comments and '@' for line separator.
441 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
443         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
444         typo; s/==/=/ for assignment.
446 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
448         * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
450 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
452         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
453         empty input before checking full output.
455 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
457         * iconv/gconv.c (__gconv): Don't derefer parameter cd before
458         checking if == -1L.
460 2001-04-08  Ulrich Drepper  <drepper@redhat.com>
462         * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
464 2001-04-07  Stephen L Moshier  <moshier@mediaone.net>
466         * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
467         return values.
469 2001-04-07  Ulrich Drepper  <drepper@redhat.com>
471         * stdlib/tst-setcontext.c (main): Add a test for setcontext.
473         * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
474         * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
475         * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
476         * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
477         * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
478         * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
480 2001-04-07  Andreas Jaeger  <aj@suse.de>
482         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
483         instead of separate sin and cos.
484         (__ieee754_j1l): Likewise.
486 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
488         * sysdeps/ia64/abort-instr.h: New file.  Code by David Mosberger.
490         * sysdeps/ia64/atomicity.h: New file.  Copied from libstdc++.
492         * sysdeps/i386/i486/atomicity.h: Clean up the asms.
494         * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
495         available.
496         * sysdeps/generic/e_scalbf.c: Likewise.
497         * sysdeps/generic/e_scalbl.c: Likewise.
498         Patch by Mark Hatle <fray@mvista.com>.
500 2001-04-05  David S. Miller  <davem@redhat.com>
502         * sysdeps/sparc/abort-instr.h: New file.
504 2001-04-05  Matt Wilson  <msw@redhat.com>
506         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
507         added code to parse new 2.4 format.
508         (GET_NPROCS_CONF_PARSER): Likewise.
510 2001-04-05  David S. Miller  <davem@redhat.com>
512         * scripts/config.sub: Recognize sparcv9b like sparcv9.
513         * configure.in: Add sparcv9b.
514         * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
515         * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
516         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
518 2001-04-06  David Mosberger  <davidm@hpl.hp.com>
520         * stdlib/tst-setcontext.c: Move st2[] to global scope.
521         (f2): Verify that stack pointer is inside st2[].
523         * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
524         * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
526 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
528         * timezone/antarctica: Update from tzdata2001b.
529         * timezone/asia: Likewise.
530         * timezone/australasia: Likewise.
531         * timezone/europe: Likewise.
532         * timezone/northamerica: Likewise.
534         * iconv/iconv_open.c: Move strip and upstr definitions...
535         * iconv/gconv_charset.h: ...here.  New file.
536         * iconv/gconv_db.c (once): Move to file level.
537         (do_lookup_alias): Split out from __gconv_find_transform.
538         (__gconv_find_transform): Call do_lookup_alias.
539         (__gconv_loopup_alias): New function.
540         * locale/langinfo.h: Define _NL_*_CODESET values for all categories
541         but LC_CTYPE.
542         * locale/categories.def: Add entries for new _NL_*_CODESET values.
543         * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
544         * locale/C-address.c: Initialize _NL_*_CODESET element.
545         * locale/C-collate.c: Likewise.
546         * locale/C-identification.c: Likewise.
547         * locale/C-measurement.c: Likewise.
548         * locale/C-messages.c: Likewise.
549         * locale/C-monetary.c: Likewise.
550         * locale/C-name.c: Likewise.
551         * locale/C-numeric.c: Likewise.
552         * locale/C-paper.c: Likewise.
553         * locale/C-telephone.c: Likewise.
554         * locale/C-time.c: Likewise.
555         * locale/localeinfo.h: Declare _nl_C_codeset.
556         * locale/C_name.c: Define _nl_C_codeset.
557         * locale/findlocale.c: Before accepting locale check that the used
558         charset does not conflict with what the locale name said.
559         * locale/programs/ld-address.c: Emit codeset information.
560         * locale/programs/ld-collate.c: Likewise.
561         * locale/programs/ld-identification.c: Likewise.
562         * locale/programs/ld-measurement.c: Likewise.
563         * locale/programs/ld-messages.c: Likewise.
564         * locale/programs/ld-monetary.c: Likewise.
565         * locale/programs/ld-name.c: Likewise.
566         * locale/programs/ld-numeric.c: Likewise.
567         * locale/programs/ld-paper.c: Likewise.
568         * locale/programs/ld-telephone.c: Likewise.
569         * locale/programs/ld-time.c: Likewise.
571         * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
572         if the locale data couldn't be found.
574         * string/Makefile: Define tst-strxfrm-ENV.
576         * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
578 2001-04-06  Andreas Jaeger  <aj@suse.de>
580         * include/sys/profil.h: New file.
582         * dlfcn/modatexit.c: Add prototypes to silence GCC.
583         * dlfcn/modcxaatexit.c: Likewise.
584         * elf/globalmod1.c: Likewise.
586 2001-04-05  David S. Miller  <davem@redhat.com>
588         * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
589         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
590         capability flags table and HWCAP_IMPORTANT, increase
591         _DL_HWCAP_COUNT to 6.
592         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
594 2001-04-04  David Mosberger  <davidm@hpl.hp.com>
596         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
597         initialization of stack_end (bug reported by Zheng Gengbin
598         <gzheng@students.uiuc.edu>).
600 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
602         * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
604 2001-04-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
606         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
608 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
610         * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
611         * sysdeps/i386/fpu/e_asinl.S: Removed.  Too inaccurate.
613         * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
615 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
617         * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
618         define simple replacements here.  Patch by Michael Keezer.
620         * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
621         * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
622         Contributed by Stephen L Moshier <moshier@mediaone.net>.
624         * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
625         anymore.
627 2001-04-01  Andreas Jaeger  <aj@suse.de>
629         * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
630         alias.
632         * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
634 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
636         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
637         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
639 2001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>
641         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
642         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
643         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
644         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
645         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
646         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
647         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
648         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
649         * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
651 2001-04-04  Andreas Jaeger  <aj@suse.de>
653         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
654         place.
656 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
658         * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
659         * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
660         * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
661         (unsigned_dec): Likewise.
662         Patch by atai@jezebel.dreamhost.com.
664         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
665         pointer to int as last parameter of yp_match.
666         Patch by kanazawa@flab.fujitsu.co.jp.
668 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
670         * resolv/netdb.h (gai_strerror): Make return value const.
671         * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
672         * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
673         Add strings for new error values.
675 2001-03-29  Michael Keezer  <mkeezer@redhat.com>
677         * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
678         * login/tst-utmp.c: Handle case where ut_tv is not available but
679         ut_time is.
680         * sysdeps/unix/sysv/aix/utmpx.h: New file.
681         * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
682         _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
683         * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
684         * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
685         to access RTCU timer reg.
686         * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
687         added dl-libc, dl-open,dl-sym, dl-close to misc.
688         * sysdeps/unix/sysv/aix/start.c: New file.  Start code.
689         * sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
690         * sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
691         * sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
692         * sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
693         * sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
694         * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
695         GLIBC_2_2).
696         * sysdeps/generic/strtoull.c: Likewise.
697         * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
698         * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
699         sysdeps/generic/memset.c.
700         * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
702 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
704         * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
705         * locale/programs/charmap.c: Define null_pointer if
706         NEED_NULL_POINTER is defined.
708         * misc/dirname.c (dirname): Handle multiple slashes correctly.
710 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
712         * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
714 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
716         * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
717         * sysdeps/s390/s390-64/bcopy.S: Likewise.
718         * sysdeps/s390/s390-32/mempcy.S: Likewise.
719         * sysdeps/s390/s390-64/memcpy.S: Likewise.
721 2001-04-02  Bruno Haible  <haible@clisp.cons.org>
723         * manual/message.texi (Advanced gettext functions): More specific
724         syntax in the plural formula examples.
726 2001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
728         * sysdeps/powerpc/atomicity.h: Silence warnings.
729         * sysdeps/powerpc/dl-machine.h: Likewise.
730         * sysdeps/powerpc/register-dump.h: Likewise.
731         * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
733 2001-04-02  Andreas Jaeger  <aj@suse.de>
735         * misc/tst-dirname.c (main): Add more tests, derived from a bug
736         report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
738 2001-04-01  Andreas Jaeger  <aj@suse.de>
740         * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
741         is installed there.
742         * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
744 2001-04-01  H.J. Lu  <hjl@gnu.org>
746         * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
747         tmpnam (NULL).
748         * stdlib/isomac.c (macrofile): Likewise.
750 2001-03-30  Thorsten Kukuk  <kukuk@suse.de>
752         * inet/rcmd.c: Allow AF_UNSPEC as parameter.
753         * nis/ypclnt.c (yp_all): Print error message only at last try,
754         check for protocoll error only if we don't have a network error.
756 2001-04-02  Andreas Schwab  <schwab@suse.de>
758         * resolv/res_data.c (res_isourserver): Fix cast.
760 2001-04-02  Andreas Jaeger  <aj@suse.de>
762         * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
763         __umount2.
765         * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
766         strings.
767         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
769         * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
770         initializers.
771         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
773         * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
774         warning about unused variable.
776         * string/string.h (strndupa): Add cast for C++ conformance.
777         (strdupa): Likewise.
778         Fixes PR libc/2173, reported by tbrowder@home.com.
780 2001-03-30  Roland McGrath  <roland@frob.com>
782         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
783         options after $(build-module), which is no longer a single command.
784         (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
785         (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
786         variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
788 2001-03-11  Roland McGrath  <roland@frob.com>
790         * elf/rtld.c (dl_main): Add cast to quiet warning.
791         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
792         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
793         (__gconv_read_conf): Likewise.
794         * iconv/gconv_db.c (gen_steps): Likewise.
795         (__gconv_find_transform): Likewise.
796         * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
797         (fopen_uncompressed): Use const in second argument's type.
799 2001-03-11  Roland McGrath  <roland@frob.com>
801         * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
803         * mach/mach_error.h: Fix ancient #endif syntax.
804         * hurd/hurdmalloc.c: Likewise.
806         * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
807         compare_and_swap): Add volatile qualifier to first arg, to bring
808         these prototypes in line with all the other implementations.
809         Add a #warning to remind the builder that these are not atomic.
811 2001-03-04  Roland McGrath  <roland@frob.com>
813         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
814         member of TEMP_F so its type is _IO_FILE * as expected.
816         * hurd/fopenport.c (seekio): Conditionalize type of POS argument
817         on [USE_IN_LIBIO].  Check the value for overflow, since for libio
818         it might exceed off_t's range.
820 2001-02-25  Roland McGrath  <roland@frob.com>
822         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
823         * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
825         * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
826         macro instead of an inline function,
827         (MSG_EXAMINE): Likewise.
829         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
831         * hurd/get-host.c: Include <string.h> for decls of built-ins.
832         * hurd/hurdchdir.c: Likewise.
833         * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
834         * sysdeps/mach/hurd/opendir.c: Likewise.
836         * mach/mach_init.c: Include <unistd.h> for _exit decl.
838         * mach/errsystems.awk: Give output file a trailing newline.
840         * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
841         the script will use our compiler for the cpp stage.
843         With --enable-all-warnings we get a whole bunch of warnings,
844         and these are just a few fixes; there are more needed to silence it.
845         * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
846         decls before extern inline defns to quiet gcc warning.
847         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
848         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
850 2001-03-31  Andreas Jaeger  <aj@suse.de>
852         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
853         (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
854         (ARPHRD_CISCO): New.
855         Changes from Linux 2.4.3.
857 2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
859         * posix/regex.c: Avoid an access violation if malloc failes.
861 2001-03-30  Andreas Jaeger  <aj@suse.de>
863         * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
865 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
867         * posix/regex.c: Remove unnecessary ifs.
869         * math/bits/mathcalls.h: Remove infnan declaration.
871 2001-03-29  H.J. Lu  <hjl@gnu.org>
873         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
874         and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
875         * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
876         .
877 2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
879         * posix/regex.c: Fix typo and add a sentinel.
881 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
883         * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
884         O_NOFOLLOW.  Suggested by Christoph Roland.
886 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
888         * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
889         * sysdeps/s390/s390-32/bits/string.h: Remove.
890         * sysdeps/s390/s390-64/bits/string.h: Remove.
891         * sysdeps/s390/s390-32/strcmp.S: New file.
892         * sysdeps/s390/s390-64/strcmp.S: New file.
894 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
896         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
897         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
899 2001-03-27  Ulrich Drepper  <drepper@redhat.com>
901         * version.h (VERSION): Bump to 2.2.3.
903         * stdlib/isomac.c (fmt): Don't define _LIBC.
904         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
905         LOW_HALF only if _LIBC is defined.
907         * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
909         * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
910         and +().
911         * posix/tst-fnmatch.input: Add test cases for matching empty strings.
913         * sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
914         * include/endian.h: ...to here.
916 2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
918         * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
919         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
921 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
923         * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
925 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
927         * sysdeps/ia64/fpu/Dist: Add new files to distribute.
928         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
929         * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
931         * gmon/Makefile (headers): Add sys/profil.h.
933 2001-03-18  Andreas Jaeger  <aj@suse.de>
935         * manual/install.texi (Tools for Compilation): Advise to use GCC
936         2.95.3.
937         (Supported Configurations): Mention s390x.
939 2001-03-26  Ben Collins  <bcollins@debian.org>
941         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
942         defines to match other architectures.
944 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
946         * libio/Makefile (tests): Add tst-ext.
947         * libio/tst-ext.c: New file.
949         * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
951 2001-03-25  Ulrich Drepper  <drepper@redhat.com>
953         Add changes which were in this form in the original patch by
954         Eric Norum <eric.norum@usask.ca>.
955         * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
956         svc_max_pollfd.
957         * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
958         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
959         __rpc_thread_svc_max_pollfd.
960         Define svc_fdset, get_rpc_createerr, svc_pollfd, and
961         svc_max_pollfd.
962         * sunrpc/rpc_thread.c: Handle first thread special, it uses the
963         global variables.
964         Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
965         __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
966         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
967         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
968         __rpc_thread_svc_max_pollfd.
969         * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
970         get_rpc_createerr.
971         * sunrpc/clnt_perr.c: Likewise.
972         * sunrpc/clnt_simp.c: Likewise.
973         * sunrpc/clnt_tcp.c: Likewise.
974         * sunrpc/clnt_udp.c: Likewise.
975         * sunrpc/clnt_unix.c: Likewise.
976         * sunrpc/pm_getport.c: Likewise.
978         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
979         syscall checks for negative n so don't test here as well.
981 2001-03-23  Jes Sorensen  <jes@linuxcare.com>
983         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
984         * sysdeps/ia64/sysdep.h: ...here.
986         * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
987         * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
989         * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
990         declare instead of LEAF().  Suggestion from David Mosberger.
992 2001-03-21  David Mosberger  <davidm@hpl.hp.com>
994         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
995         directives.
996         (PSEUDO): Drop .psr and .lsb directives.
998         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
999         directives.
1000         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
1002         * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
1003         directives etc.
1004         * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
1005         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
1006         * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
1007         longer needed).  Add unwind directives.
1009         * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
1010         ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
1012 2001-03-21  Paul Eggert  <eggert@twinsun.com>
1014         * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
1015         (RE_SYNTAX_POSIX_EGREP): Use it.
1016         * posix/regex.c (regex_compile): Implement it.
1018 2001-03-21  Paul Eggert  <eggert@twinsun.com>
1020         * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
1021         Rewrite to avoid duplicate code.
1023 2001-03-21  H.J. Lu  <hjl@gnu.org>
1025         * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
1026         for cross-compiling.
1027         ($(objpfx)tst-pathopt.out): Undo the last change.
1029 2001-03-24  Mark Kettenis  <kettenis@gnu.org>
1031         * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
1032         sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
1034         * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
1035         (_dl_argv): Declare.
1036         (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
1038 2001-03-22  Andreas Jaeger  <aj@suse.de>
1040         * iconvdata/Makefile (generated): Add iconv-test.xxx.
1042         * posix/Makefile (generated): Add bug-regex2.mtrace and
1043         bug-regex2-mem.
1045 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
1047         * csu/version.c (__gnu_get_libc_release): Add prototype.
1048         (__gnu_get_libc_version): Likewise.
1049         * include/gnu/libc-version.h: Remove prototypes for not exported
1050         functions.
1052 2001-03-21  Jes Sorensen  <jes@linuxcare.com>
1054         * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
1055         for internationalized printfs to work.
1057 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
1059         * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
1060         avoid compiler warning.
1061         (_nl_find_msg): Add casts to avoid compiler warnings.
1063 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
1065         * gmon/Makefile (routines): Add sprofil.
1066         (tests): Add tst-sprofil.
1067         (noprof): Add sprofil.
1068         * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
1070 2001-03-20  David Mosberger  <davidm@hpl.hp.com>
1072         * sysdeps/generic/sprofil.c: New file.
1073         * sysdeps/posix/sprofil.c: New file.
1074         * gmon/tst-sprofil.c: New file.
1075         * gmon/sys/profil.h: New file.
1077 2001-03-20  Andreas Schwab  <schwab@suse.de>
1079         * include/unistd.h: Adjust prototype of __gethostname.
1081 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
1083         * sysdeps/sparc/stackinfo.h: New file.
1085 2001-03-21  Andreas Jaeger  <aj@suse.de>
1087         * elf/global.c (main): Use proper prototype.
1089 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
1091         * sunrpc/Makefile (routines): Add rpc_thread.
1092         (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
1093         * sunrpc/rpc_thread.c: New file.
1094         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
1095         * sunrpc/auth_none.c: Don't use global variables.  Access state in
1096         thread-local storage.
1097         * sunrpc/clnt_perr.c: Likewise.
1098         * sunrpc/clnt_raw.c: Likewise.
1099         * sunrpc/clnt_simp.c: Likewise.
1100         * sunrpc/key_call.c: Likewise.
1101         * sunrpc/rpc_common.c: Likewise.
1102         * sunrpc/svc.c: Likewise.
1103         * sunrpc/svc_raw.c: Likewise.
1104         * sunrpc/svc_simple.c: Likewise.
1105         * sunrpc/svcauth_des.c: Likewise.
1106         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
1107         _HURD_THREADVAR_RPC_VARS.
1108         * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
1109         * include/rpc/rpc.h: Define data structures for internal thread-local
1110         "global" variables.
1111         Based on patches by Eric Norum <eric.norum@usask.ca>.
1113         * elf/dl-load.c: Various little optimizations.
1115         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
1116         LINUX_LINK_MAX only if the statfs function is not implemented for
1117         the filesystem.
1119         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
1120         LINUX_LINK_MAX only if the fstatfs function is not implemented for
1121         the filesystem.
1123 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
1125         * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
1127         * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
1128         (_dl_dst_substitute): Likewise.
1130 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1132         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
1134 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1136         * intl/gettextP.h (struct expression): Add operators lnot, less_than,
1137         greater_than, less_or_equal, greater_or_equal. Replace args2/args3
1138         union by a 'nargs' counter and an 'args[]' array.
1139         * intl/plural.y: Don't include stdarg.h.
1140         (new_exp): Take an array of arguments instead of varargs.
1141         (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
1142         ('?' ':'): Make right-associative.
1143         (EQUOP2): New token, replaces '=' and '!'.
1144         (CMPOP2): New token.
1145         (ADDOP2): New token, replaces '+' and '-'.
1146         (MULOP2): New token, replaces '*', '/' and '%'.
1147         ('!'): New token.
1148         (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
1149         (start): Call YYABORT here.
1150         (FREE_EXPRESSION): Update.
1151         (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
1152         Update for new token symbols.
1153         * intl/loadmsgcat.c (plvar, plone, germanic_plural,
1154         init_germanic_plural): Update.
1155         * intl/dcigettext.c (_nl_find_msg): Optimize for space.
1156         (plural_eval): Recognize comparison and '!' operators. Optimize for
1157         space.
1159 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
1161         * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
1162         NULL any more.
1164 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
1166         * intl/loadmsgcat.c: Include headers needed for alloca().
1167         (freea): New macro.
1168         (_nl_load_domain): Add fallback code for platforms lacking alloca.
1169         * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
1170         (freea): New macro.
1171         (read_alias_file): Simplify fallback code for platforms lacking
1172         alloca.
1174 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
1176         * intl/gettextP.h (__gettextdebug): Remove declaration.
1177         (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
1178         syntax.
1179         (gettext_free_exp__, gettextparse__): New non-libc declarations.
1180         * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
1181         not __gettextparse, __gettext_free_exp.
1182         * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
1184 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
1186         * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
1188 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
1190         * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
1191         lacking strtoul, like SunOS4.
1193 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
1195         * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
1197 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
1199         * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
1200         syntax.
1201         * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
1202         * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
1203         * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
1204         syntax.
1206 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
1208         * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
1209         bindtextdomain__, bind_textdomain_codeset__): New declarations, from
1210         old libgettext.h.
1211         * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
1212         * intl/dcgettext.c: Likewise.
1213         * intl/dcigettext.c: Likewise.
1214         * intl/dcngettext.c: Likewise.
1215         * intl/dngettext.c: Likewise.
1216         * intl/finddomain.c: Likewise.
1217         * intl/ngettext.c: Likewise.
1218         * intl/textdomain.c: Likewise.
1219         * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
1220         Include gettextP.h.
1221         * intl/gettext.c: Likewise.  Don't include locale.h.
1223 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1225         * intl/gettextP.h (ZERO): New macro.
1226         (struct binding): Always use ZERO.
1227         * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
1228         lack it, like SunOS4.
1229         (set_binding_values): Use offsetof, not sizeof.
1230         * intl/dcigettext.c (offsetof): Provide fallback for platforms that
1231         lack it, like SunOS4.
1232         (ZERO): Remove macro.
1233         (struct transmem_list): Use ZERO.
1234         (DCIGETTEXT): Use offsetof, not sizeof.
1236 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1238         * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
1239         nls_uint32.
1240         * intl/bindtextdom.c: Don't include gettext.h.
1241         * intl/dcgettext.c: Likewise.
1242         * intl/dcigettext.c: Likewise.
1243         * intl/dcngettext.c: Likewise.
1244         * intl/dngettext.c: Likewise.
1245         * intl/finddomain.c: Likewise.
1246         * intl/localealias.c: Likewise.
1247         * intl/ngettext.c: Likewise.
1248         * intl/plural.y: Likewise.
1249         * intl/textdomain.c: Likewise.
1251 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1253         * intl/gettext.h: Don't include <stdio.h>.
1255 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1257         * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
1258         * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
1260 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
1262         * sysdeps/unix/i386/i686/tempname.c: New file.
1264         * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
1265         defined use this macro to get some bits of randomness instead of
1266         the usual gettimeofday or time calls.
1268 2001-03-16  Paul Eggert  <eggert@twinsun.com>
1270         * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
1271         not defined, and if UINT64_MAX is not defined.
1273 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
1275         * elf/cache.c: Mark and have translated a few more messages.
1277 2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1279         * elf/cache.c: Add case for FLAG_S390_LIB64.
1280         * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
1281         * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
1282         * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
1284 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
1286         * string/Makefile (tests): Add tst-strxfrm.
1287         * string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
1288         * string/Depend: New file.
1290 2001-03-19  Paul Eggert  <eggert@twinsun.com>
1292         * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
1293         when given the empty string in nontrivial locales.
1295 2001-03-17  H.J. Lu  <hjl@gnu.org>
1297         * manual/Makefile (install): Use $(INSTALL_DATA) instead of
1298         cp to install `dir'.
1300 2001-03-19  Andreas Schwab  <schwab@suse.de>
1302         * Makerules (build-shlib): Make sure exit codes get checked
1303         properly.
1305 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
1307         * Makerules (build-shlib): Remove unnecessary slashes introduced in
1308         last change.
1310         * configure.in: Test for -Bgroup option of linker.
1311         * config.make.in: Define have-Bgroup.
1313         * conform/data/unistd.h-data: Require gethostname.
1314         * posix/unistd.h: Make gethostname prototype available for
1315         __USE_XOPEN2K.
1317         * crypt/Makefile: When generating DSO link with libc_nonshared.a.
1318         * debug/Makefile: Likewise.
1319         * dlfcn/Makefile: Likewise.
1320         * hesiod/Makefile: Likewise.
1321         * iconvdata/extra-module.mk: Likewise.
1322         * locale/Makefile: Likewise.
1323         * login/Makefile: Likewise.
1324         * math/Makefile: Likewise.
1325         * nis/Makefile: Likewise.
1326         * nss/Makefile: Likewise.
1327         * resolv/Makefile: Likewise.
1328         * rt/Makefile: Likewise.
1330 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
1332         * inet/Makefile (tests): Remove left-over comment.
1334         * posix/unistd.h (gethostname): Change type of second parameter
1335         back to size_t as per upcoming XPG6.
1336         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
1337         parameter back to size_t as per upcoming XPG6.
1338         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
1339         * sysdeps/unix/sysv/gethostname.c: Likewise.
1340         * sysdeps/mach/hurd/gethostname.c: Likewise.
1341         * sysdeps/generic/gethostname.c: Likewise.
1343 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
1345         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
1346         Handle NaN here.
1348         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
1349         Internationalize.
1351 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
1353         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
1354         looking for name matches.
1356 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
1358         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
1359         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
1360         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
1361         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1362         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
1363         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
1364         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
1365         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
1366         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
1367         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
1368         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
1369         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1371 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
1373         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
1374         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1376         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
1377         erfcl.
1378         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1380 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
1382         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
1383         Drop hack that was needed for 2.1.1 kernel headers.
1385         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
1387         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
1388         overlay with kernel's "struct sigcontext".
1390         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
1391         sys/rse.h for "misc" subdir.
1392         (sysdep_routines): Add __start_context for "stdlib" subdir.
1394         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
1395         kernel file of the same name).
1397         * stdlib/Makefile (tests): Add tst-setcontext.
1398         * stdlib/tst-setcontext.c: New file (based on a sample program by
1399         Uli Drepper).
1401         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
1402         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
1403         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
1404         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
1405         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
1407         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
1408         instead of shift & and.
1410 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1412         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
1413         * sysdeps/s390/bits/huge_val.h: ...here.
1414         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
1415         * sysdeps/s390/s390-64/ffs.c: Move to...
1416         * sysdeps/s390/ffs.c: ...here.
1417         * sysdeps/s390/s390-32/ffs.c: Remove.
1419 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
1421         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
1422         update osversion from more recent library.
1424 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1426         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
1427         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
1428         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
1429         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
1430         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
1431         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
1432         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
1433         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
1434         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
1435         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
1436         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
1437         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
1438         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
1439         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
1440         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
1441         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
1442         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
1443         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
1444         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
1445         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
1446         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
1447         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
1448         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
1449         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
1450         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
1451         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
1452         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
1453         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
1454         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
1455         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
1456         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
1457         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
1458         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
1459         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
1460         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
1461         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
1462         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
1463         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
1464         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
1465         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
1466         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
1467         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
1468         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
1469         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
1470         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
1471         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
1472         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
1473         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
1474         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
1475         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
1476         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
1477         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
1478         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
1479         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
1480         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
1481         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
1482         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
1483         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
1484         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
1485         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
1486         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
1487         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
1488         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
1489         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
1490         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
1491         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
1492         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
1493         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
1494         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
1495         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
1496         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
1497         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
1498         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
1499         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
1500         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
1501         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
1502         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
1503         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
1504         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
1505         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
1506         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
1507         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
1508         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
1509         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
1510         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
1511         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
1512         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
1513         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
1514         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
1515         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
1516         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
1517         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
1518         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
1519         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
1520         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
1521         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
1522         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
1523         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
1524         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
1525         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
1526         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
1527         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
1528         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
1529         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
1530         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
1531         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
1532         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
1533         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
1534         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
1535         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
1536         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
1537         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
1538         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
1539         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
1541 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1543         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
1544         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
1545         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
1546         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
1547         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
1548         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
1549         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
1550         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
1551         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
1552         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
1553         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
1554         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
1555         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
1556         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
1557         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
1558         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
1559         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
1560         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
1561         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
1562         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
1563         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
1564         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
1565         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
1566         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
1567         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
1568         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
1569         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
1570         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
1571         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
1572         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
1573         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
1574         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
1575         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
1576         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
1577         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
1578         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
1579         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
1580         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
1581         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
1582         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
1583         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
1584         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
1585         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
1586         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
1587         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
1588         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
1589         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
1590         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
1591         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
1592         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
1593         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
1594         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
1595         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
1597 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1599         * sysdeps/s390/Dist: Move to...
1600         * sysdeps/s390/390-32/Dist: ...here.
1601         * sysdeps/s390/Implies: Move to...
1602         * sysdeps/s390/s390-32/Implies: ...here.
1603         * sysdeps/s390/Makefile: Move to...
1604         * sysdeps/s390/s390-32/Makefile: ...here.
1605         * sysdeps/s390/Versions: Move to...
1606         * sysdeps/s390-32/s390/Versions: ...here.
1607         * sysdeps/s390/add_n.S: Move to...
1608         * sysdeps/s390/s390-32/add_n.S: ...here.
1609         * sysdeps/s390/addmul_1.S: Move to...
1610         * sysdeps/s390/s390-32/addmul_1.S: ...here.
1611         * sysdeps/s390/atomicity.h: Move to...
1612         * sysdeps/s390/s390-32/atomicity.h: ...here.
1613         * sysdeps/s390/backtrace.c: Move to...
1614         * sysdeps/s390/s390-32/backtrace.c: ...here.
1615         * sysdeps/s390/bcopy.S: Move to...
1616         * sysdeps/s390/s390-32/bcopy.S: ...here.
1617         * sysdeps/s390/bits/byteswap.h: Move to...
1618         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
1619         * sysdeps/s390/bits/huge_val.h: Move to...
1620         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
1621         * sysdeps/s390/bsd-_setjmp.S: Move to...
1622         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
1623         * sysdeps/s390/bsd-setjmp.S: Move to...
1624         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
1625         * sysdeps/s390/bzero.S: Move to...
1626         * sysdeps/s390/s390-32/bzero.S: ...here.
1627         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
1628         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
1629         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
1630         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
1631         * sysdeps/s390/elf/start.S: Move to...
1632         * sysdeps/s390/s390-32/elf/start.S: ...here.
1633         * sysdeps/s390/ffs.c: Move to...
1634         * sysdeps/s390/s390-32/ffs.c: ...here.
1635         * sysdeps/s390/memchr.S: Move to...
1636         * sysdeps/s390/s390-32/memchr.S: ...here.
1637         * sysdeps/s390/memcpy.S: Move to...
1638         * sysdeps/s390/s390-32/memcpy.S: ...here.
1639         * sysdeps/s390/memset.S: Move to...
1640         * sysdeps/s390/s390-32/memset.S: ...here.
1641         * sysdeps/s390/mul_1.S: Move to...
1642         * sysdeps/s390/s390-32/mul_1.S: ...here.
1643         * sysdeps/s390/s390-mcount.S: Move to...
1644         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
1645         * sysdeps/s390/strcpy.S: Move to...
1646         * sysdeps/s390/s390-32/strcpy.S: ...here.
1647         * sysdeps/s390/strncpy.S: Move to...
1648         * sysdeps/s390/s390-32/strncpy.S: ...here.
1649         * sysdeps/s390/sub_n.S: Move to...
1650         * sysdeps/s390/s390-32/sub_n.S: ...here.
1652 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1654         * sysdeps/s390/s390-64/Dist: New file.
1655         * sysdeps/s390/s390-64/Implies: New file.
1656         * sysdeps/s390/s390-64/Makefile: New file.
1657         * sysdeps/s390/s390-64/__longjmp.c: New file.
1658         * sysdeps/s390/s390-64/add_n.S: New file.
1659         * sysdeps/s390/s390-64/atomicity.h: New file.
1660         * sysdeps/s390/s390-64/backtrace.c: New file.
1661         * sysdeps/s390/s390-64/bcopy.S: New file.
1662         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
1663         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
1664         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
1665         * sysdeps/s390/s390-64/bits/string.h: New file.
1666         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
1667         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
1668         * sysdeps/s390/s390-64/bzero.S: New file.
1669         * sysdeps/s390/s390-64/dl-machine.h: New file.
1670         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
1671         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
1672         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
1673         * sysdeps/s390/s390-64/elf/start.S: New file.
1674         * sysdeps/s390/s390-64/ffs.c: New file.
1675         * sysdeps/s390/s390-64/initfini.c: New file.
1676         * sysdeps/s390/s390-64/memchr.S: New file.
1677         * sysdeps/s390/s390-64/memcpy.S: New file.
1678         * sysdeps/s390/s390-64/memset.S: New file.
1679         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
1680         * sysdeps/s390/s390-64/setjmp.S: New file.
1681         * sysdeps/s390/s390-64/strcpy.S: New file.
1682         * sysdeps/s390/s390-64/strncpy.S: New file.
1683         * sysdeps/s390/s390-64/sub_n.S: New file.
1684         * sysdeps/s390/s390-64/sysdep.h: New file.
1686 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1688         * scripts/config.guess: Add support for Linux on 64 bit S/390.
1689         * scripts/config.sub: Likewise.
1691 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1693         * configure.in: Add support for 64 bit S/390.
1695         * elf/elf.h: Add new relocations for 64 bit S/390.
1697         * shlib-versions: Add rules for Linux on 64 bit S/390.
1699 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1701         * sysdeps/s390/__longjmp.c: Move to...
1702         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
1703         to load the floating point registers that should be saved
1704         according to the ABI.
1706         * sysdeps/s390/bits/setjmp.h: Move to...
1707         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
1708         the use of long long in the __jmp_buf type definition.
1710         * sysdeps/s390/bits/string.h: Move to...
1711         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
1712         #ifndef _FORCE_INLINES.
1714         * sysdeps/s390/dl-machine.h: Move to...
1715         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
1716         executables EI_CLASS in elf_machine_matches_host.
1718         * sysdeps/s390/elf/setjmp.S: Move to...
1719         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
1720         branches to globally defined symbol __sigsetjmp by branches to
1721         a local label (this avoids the generation of a R_390_PC16DBL
1722         relocation in -fpic code).
1724         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
1725         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
1727         * sysdeps/s390/initfini.c: Move to...
1728         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
1729         ".align 4,0x07".
1731         * sysdeps/s390/setjmp.S: Move to...
1732         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
1733         floating point registers that should be saved according to the ABI.
1735         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
1737         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
1738         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
1739         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
1741 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1743         * configure.in: Change machine=s390 to machine=s390/s390-32.
1745         * elf/elf.h: Correct comment for R_390_PLT16DBL.
1747 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
1749         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
1750         version to be overriden from config.h.
1751         * csu/abi-note.S: Use OS and version separately, include config.h.
1752         * elf/dl-load.c (_dl_osversion): New.
1753         (_dl_map_object_from_fd): Kill some warnings.
1754         (open_verify): Check .note.ABI-tag of the library if present.
1755         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
1756         * elf/cache.c (struct cache_entry): Add osversion.
1757         (print_entry): Print osversion.
1758         (print_cache): Pass osversion to it.
1759         (compare): Sort according to osversion.
1760         (save_cache): Set osversion.
1761         (add_to_cache): Add osversion argument.
1762         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
1763         process_elf_file): Add osversion argument.
1764         * elf/readlib.c (process_file): Likewise.
1765         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
1766         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
1767         process_elf32_file, process_elf64_file): Likewise.
1768         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
1769         process_elf32_file, process_elf64_file): Likewise.
1770         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
1771         process_elf32_file, process_elf64_file): Likewise.
1772         * elf/ldconfig.c (manual_link): Pass it.
1773         (search_dir): Issue diagnostic if two libs with the same soname in
1774         the same directory have different .note.ABI-tag.  Record osversion in
1775         dlib_entry and use it from there.
1776         (struct lib_entry): Remove.
1777         (struct dlib_entry): Add osversion.
1778         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
1779         osversion.
1780         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
1781         field with osversion.
1782         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
1783         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
1784         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
1785         version in _dl_osversion.
1786         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
1787         * Makerules (build-shlib-helper, build-module-helper): New.
1788         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
1789         early.
1790         * config.h.in (__ABI_TAG_VERSION): Add.
1791         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
1792         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
1793         Handle LD_ASSUME_KERNEL.
1794         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
1796 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
1798         * timezone/antarctica: Update from tzdata2001a.
1799         * timezone/asia: Likewise.
1800         * timezone/australasia: Likewise.
1801         * timezone/backward: Likewise.
1802         * timezone/etcetera: Likewise.
1803         * timezone/europe: Likewise.
1804         * timezone/leapseconds: Likewise.
1805         * timezone/northamerica: Likewise.
1806         * timezone/southamerica: Likewise.
1807         * timezone/systemv: Likewise.
1808         * timezone/yearistype: Likewise.
1809         * timezone/zone.tab: Likewise.
1810         * timezone/tzdump.c: Update from tzcode2001a.
1812 2001-03-15  H.J. Lu  <hjl@gnu.org>
1814         * intl/Makefile: Fix a typo.
1816 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
1818         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
1819         writing arc structures.
1821 2001-03-15  H.J. Lu  <hjl@gnu.org>
1823         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
1824         cross-compiling.
1826 2001-03-13  Andreas Schwab  <schwab@suse.de>
1828         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
1830 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
1832         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
1833         for control message fitting into message data.
1834         Patch by James Antill <james@and.org>.
1836         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
1837         FNM_EXTMATCH.
1839         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
1840         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
1842         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
1843         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
1844         avoid running binaries with libc versions without FNM_EXTMATCH support.
1846         * include/wchar.h: Add prototype for __wcscat.
1847         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
1849         * posix/fnmatch.h (FNM_EXTMATCH): Define.
1850         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
1851         (posixly_correct): Move global variable here.
1852         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
1853         (fnmatch): Pretty printing.
1854         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
1855         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
1856         * posix/tst-fnmatch.input: Add tests for extended matching.
1858         * posix/testfnm.c: Add test for patterns with multiple ** before /.
1859         * posix/fnmatch_loop.c: Fix problem with the test above.
1861 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
1863         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
1864         reference to usqrt.
1866         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
1868 2001-03-12  Andreas Jaeger  <aj@suse.de>
1870         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1871         Use EM_X86_64 instead of EM_X8664.
1873 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
1875         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
1877         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
1878         conditions.
1880         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
1881         conditions.
1883         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
1884         correctly.
1885         (__cos): Likewise.
1887         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
1888         correctly.
1889         (__ieee754_acos): Likewise.
1891 2001-03-12  Andreas Jaeger  <aj@suse.de>
1893         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
1894         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
1896         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
1897         redefinition.
1899 2001-03-11  Roland McGrath  <roland@frob.com>
1901         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
1903 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
1905         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
1906         LITTLE_ENDI.
1908         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
1909         parameter list.
1911         Last-bit accurate math library implementation by IBM Haifa.
1912         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
1913         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
1914         Anna Reitman <reitman@il.ibm.com>.
1915         * math/Makefile (dbl-only-routines): New variable.
1916         (libm-routines): Add $(dbl-only-routines).
1917         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
1918         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
1919         implementation.
1920         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
1921         implementation.
1922         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
1923         implementation.
1924         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
1925         __kernel_cos.
1926         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
1927         implementation.
1928         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
1929         remainder implementation.
1930         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
1931         implementation.
1932         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
1933         implementation.
1934         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
1935         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
1936         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
1937         implementation.
1938         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
1939         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
1940         implementation.
1941         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
1942         and __kernel_cos.
1943         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
1944         implementation.
1945         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
1946         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
1947         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
1948         * sysdeps/ieee754/dbl-64/atnat.h: New file.
1949         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
1950         * sysdeps/ieee754/dbl-64/branred.c: New file.
1951         * sysdeps/ieee754/dbl-64/branred.h: New file.
1952         * sysdeps/ieee754/dbl-64/dla.h: New file.
1953         * sysdeps/ieee754/dbl-64/doasin.c: New file.
1954         * sysdeps/ieee754/dbl-64/doasin.h: New file.
1955         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
1956         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
1957         * sysdeps/ieee754/dbl-64/endian.h: New file.
1958         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
1959         * sysdeps/ieee754/dbl-64/mpa.c: New file.
1960         * sysdeps/ieee754/dbl-64/mpa.h: New file.
1961         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
1962         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
1963         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
1964         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
1965         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
1966         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
1967         * sysdeps/ieee754/dbl-64/mplog.c: New file.
1968         * sysdeps/ieee754/dbl-64/mplog.h: New file.
1969         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
1970         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
1971         * sysdeps/ieee754/dbl-64/mptan.c: New file.
1972         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
1973         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
1974         * sysdeps/ieee754/dbl-64/root.tbl: New file.
1975         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
1976         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
1977         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
1978         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
1979         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
1980         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
1981         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
1982         * sysdeps/ieee754/dbl-64/uexp.h: New file.
1983         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
1984         * sysdeps/ieee754/dbl-64/ulog.h: New file.
1985         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
1986         * sysdeps/ieee754/dbl-64/upow.h: New file.
1987         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
1988         * sysdeps/ieee754/dbl-64/urem.h: New file.
1989         * sysdeps/ieee754/dbl-64/uroot.h: New file.
1990         * sysdeps/ieee754/dbl-64/usncs.h: New file.
1991         * sysdeps/ieee754/dbl-64/utan.h: New file.
1992         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
1993         * sysdeps/i386/fpu/branred.c: New file.
1994         * sysdeps/i386/fpu/doasin.c: New file.
1995         * sysdeps/i386/fpu/dosincos.c: New file.
1996         * sysdeps/i386/fpu/halfulp.c: New file.
1997         * sysdeps/i386/fpu/mpa.c: New file.
1998         * sysdeps/i386/fpu/mpatan.c: New file.
1999         * sysdeps/i386/fpu/mpatan2.c: New file.
2000         * sysdeps/i386/fpu/mpexp.c: New file.
2001         * sysdeps/i386/fpu/mplog.c: New file.
2002         * sysdeps/i386/fpu/mpsqrt.c: New file.
2003         * sysdeps/i386/fpu/mptan.c: New file.
2004         * sysdeps/i386/fpu/sincos32.c: New file.
2005         * sysdeps/i386/fpu/slowexp.c: New file.
2006         * sysdeps/i386/fpu/slowpow.c: New file.
2007         * sysdeps/ia64/fpu/branred.c: New file.
2008         * sysdeps/ia64/fpu/doasin.c: New file.
2009         * sysdeps/ia64/fpu/dosincos.c: New file.
2010         * sysdeps/ia64/fpu/halfulp.c: New file.
2011         * sysdeps/ia64/fpu/mpa.c: New file.
2012         * sysdeps/ia64/fpu/mpatan.c: New file.
2013         * sysdeps/ia64/fpu/mpatan2.c: New file.
2014         * sysdeps/ia64/fpu/mpexp.c: New file.
2015         * sysdeps/ia64/fpu/mplog.c: New file.
2016         * sysdeps/ia64/fpu/mpsqrt.c: New file.
2017         * sysdeps/ia64/fpu/mptan.c: New file.
2018         * sysdeps/ia64/fpu/sincos32.c: New file.
2019         * sysdeps/ia64/fpu/slowexp.c: New file.
2020         * sysdeps/ia64/fpu/slowpow.c: New file.
2021         * sysdeps/m68k/fpu/branred.c: New file.
2022         * sysdeps/m68k/fpu/doasin.c: New file.
2023         * sysdeps/m68k/fpu/dosincos.c: New file.
2024         * sysdeps/m68k/fpu/halfulp.c: New file.
2025         * sysdeps/m68k/fpu/mpa.c: New file.
2026         * sysdeps/m68k/fpu/mpatan.c: New file.
2027         * sysdeps/m68k/fpu/mpatan2.c: New file.
2028         * sysdeps/m68k/fpu/mpexp.c: New file.
2029         * sysdeps/m68k/fpu/mplog.c: New file.
2030         * sysdeps/m68k/fpu/mpsqrt.c: New file.
2031         * sysdeps/m68k/fpu/mptan.c: New file.
2032         * sysdeps/m68k/fpu/sincos32.c: New file.
2033         * sysdeps/m68k/fpu/slowexp.c: New file.
2034         * sysdeps/m68k/fpu/slowpow.c: New file.
2036         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
2037         codepages.
2039 2001-03-11  Andreas Jaeger  <aj@suse.de>
2041         * elf/elf.h (EM_*): Synch with official list.
2043 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
2045         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
2047 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
2049         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
2050         variables addr & len.
2052 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
2054         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
2055         punctuation in asm constraint.
2057 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
2059         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
2060         <time.h> to get definition of `struct timespec'.
2062 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
2064         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
2065         LD_WARN=1, not if LD_WARN is unset.
2067 2001-03-07  Andreas Schwab  <schwab@suse.de>
2069         * elf/ldconfig.h: Moved to ...
2070         * sysdeps/generic/ldconfig.h: ... here.
2071         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
2072         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
2073         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
2074         * elf/readlib.c (interpreters, known_libs): Use
2075         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
2076         instead of hard coding old names.
2078 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
2080         * catgets/Makefile (generated): Add test-gencat.h.
2081         (sample.SJIS.cat): Also generate header.
2082         * catgets/sample.SJIS: Add new set and message, both with symbolic
2083         names.
2084         * catgets/test-gencat.sh: Also compare generated header with what
2085         we expect.
2087 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
2089         * catgets/gencat.c (read_input_file): Preserve properly symbolic
2090         names.
2092 2001-03-06  Andreas Jaeger  <aj@suse.de>
2094         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
2095         needed.
2096         (elf_machine_pltrel_p): Likewise.
2097         * sysdeps/powerpc/dl-machine.h: Likewise.
2098         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
2100 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
2102         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
2103         dl-procinfo.h.
2105 2001-03-05  Philip Blundell  <philb@gnu.org>
2107         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
2108         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
2109         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
2110         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
2111         dl-procinfo.
2113 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
2115         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
2116         is not available.
2117         * dlfcn/tstcxaatexit.c (main): Likewise.
2119 2001-03-10  Andreas Jaeger  <aj@suse.de>
2121         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
2123 2001-03-09  Andreas Jaeger  <aj@suse.de>
2125         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
2126         both new and old EM_S390 values.
2127         (EM_S390_OLD): New constant.
2129         * elf/elf.h (EM_S390): Use official value.
2131 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
2133         * conform/data/sys/socket.h-data: Allow SO* symbols.
2135 2001-03-07  Andreas Schwab  <schwab@suse.de>
2137         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
2138         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
2140 2001-03-07  Andreas Jaeger  <aj@suse.de>
2142         * resolv/Makefile (routines): Only build gai_sigqueue when threads
2143         are available.
2145 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
2147         * elf/ldconfig.c (_dl_sysdep_message): Remove.
2148         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
2149         ldsodefs.h.
2150         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2152         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
2153         _dl_error_printf instead of _dl_sysdep_error.
2154         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2155         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
2156         Use _dl_printf instead of _dl_sysdep_message.
2157         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
2158         Likewise.
2160 2001-03-06  Ben Collins  <bcollins@debian.org>
2162         * manual/arith.texi (Integers): Fix documentation of fast and
2163         least integer typedefs.
2165 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
2167         * resolv/Depend: New file.
2168         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
2169         when libpthread is built.
2171 2001-03-06  Andreas Jaeger  <aj@suse.de>
2173         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
2175         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
2176         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
2178 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
2180         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
2182 2001-03-05  Andreas Jaeger  <aj@suse.de>
2184         * stdlib/msort.c (qsort): Don't use alloca in a function call.
2186 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
2188         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
2189         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
2190         always return zero.
2191         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2192         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
2193         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2194         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
2195         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2196         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2197         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2199 2001-03-04  Andreas Jaeger  <aj@suse.de>
2201         * stdlib/longlong.h: Don't use multi-line strings.
2202         * iconvdata/tst-loading.c: Likewise.
2204         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
2205         string.
2207 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
2209         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
2211         * rt/lio_listio.c: Add a few asserts.
2213         * elf/global.c: New file.
2214         * elf/globalmod1.c: New file.
2215         * elf/Makefile: Add rules to build and run global.
2217         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
2218         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
2219         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2220         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2221         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
2223         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
2224         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2226         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
2228         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
2229         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
2231         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
2233         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
2235 2001-03-04  Andreas Jaeger  <aj@suse.de>
2237         * resolv/tst-aton.c: Add testcase for IP with four periods.
2239         * resolv/inet_addr.c: Don't recognize an IP with four periods.
2240         Patch by Andre' Breiler <A.Breiler@gmx.net>.
2242 2001-02-27  Philip Blundell  <pb@futuretv.com>
2244         * elf/elf.h: Add new ARM definitions from latest (B-01)
2245         specification.  Correct naming of EF_ARM_ALIGN8 et al.
2247 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
2249         * stdio-common/tst-printf.sh: Remove bashisms.
2250         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
2252 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
2254         * Versions.def: Add libanl definition.
2255         * shlib-versions: Add entry for libanl.
2256         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
2257         (routines): Add gai_sigqueue.
2258         (extra-libs): Add libanl.
2259         (libanl-routines): New variable.
2260         Add rules to build libanl and ga_test.
2261         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
2262         [libanl]: New library.
2263         * resolv/netdb.h: Add definitions for libanl.
2264         * resolv/getaddrinfo_a.c: New file.
2265         * resolv/gai_cancel.c: New file.
2266         * resolv/gai_error.c: New file.
2267         * resolv/gai_misc.c: New file.
2268         * resolv/gai_misc.h: New file.
2269         * resolv/gai_notify.c: New file.
2270         * resolv/gai_suspend.c: New file.
2271         * resolv/ga_test.c: New file.
2272         * sysdeps/generic/gai_sigqueue.c: New file.
2273         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
2274         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
2275         and provide only that definition.
2276         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
2277         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
2278         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
2279         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2280         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2281         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
2283         * rt/aio_misc.c: Fix typos in comments.
2284         * rt/lio_listio.c: Pretty printing.  Little optimization in request
2285         list handling.
2287         * elf/rtld.c: Remove commented out code.
2289         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
2290         Update for real 2.4 kernels.
2292 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
2294         * elf/dl-load.c: Pretty printing.
2296         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
2297         twice.
2299 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
2301         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
2302         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
2304         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
2306         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
2307         machines.
2309         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
2311 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
2313         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
2314         _dl_debug_mask.
2316         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
2317         _dl_debug_printf.
2318         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
2319         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
2320         _dl_debug_printf_c, and _dl_printf.
2321         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
2322         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
2323         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
2324         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
2325         * elf/dl-close.c: Replace use of old output functions with the new
2326         ones.
2327         * elf/dl-deps.c: Likewise.
2328         * elf/dl-error.c: Likewise.
2329         * elf/dl-fini.c: Likewise.
2330         * elf/dl-init.c: Likewise.
2331         * elf/dl-load.c: Likewise.
2332         * elf/dl-lookup.c: Likewise.
2333         * elf/dl-minimal.c: Likewise.
2334         * elf/dl-open.c: Likewise.
2335         * elf/dl-profile.c: Likewise.
2336         * elf/dl-reloc.c: Likewise.
2337         * elf/dl-version.c: Likewise.
2338         * elf/do-lookup.h: Likewise.
2339         * elf/rtld.c: Likewise.
2340         * sysdeps/generic/dl-cache.c: Likewise.
2341         * sysdeps/generic/dl-sysdep.c: Likewise.
2342         * sysdeps/generic/libc-start.c: Likewise.
2343         * sysdeps/i386/dl-machine.h: Likewise.
2344         * sysdeps/arm/dl-machine.h: Likewise.
2345         * sysdeps/hppa/dl-machine.h: Likewise.
2346         * sysdeps/m68k/dl-machine.h: Likewise.
2347         * sysdeps/powerpc/dl-machine.h: Likewise.
2348         * sysdeps/s390/dl-machine.h: Likewise.
2349         * sysdeps/sh/dl-machine.h: Likewise.
2350         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2351         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
2352         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2354         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
2356         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
2357         supported by assembler.
2359         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
2360         declaractions.
2362         * elf/rtld.c: Little optimizations in handling _dl_lazy.
2364         * elf/cache.c (save_cache): Portability changes.
2365         * elf/dl-profile.c (_dl_start_profile): Likewise.
2367         * elf/sln.c: Cleanups.  Remove arbitrary limits.
2369         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
2370         * elf/dl-deps.c: Likewise.
2371         * elf/dl-fini.c: Likewise.
2372         * elf/dl-init.c: Likewise.
2373         * elf/dl-load.c: Likewise.
2374         * elf/dl-lookup.c: Likewise.
2375         * elf/dl-open.c: Likewise.
2376         * elf/dl-reloc.c: Likewise.
2377         * elf/dl-support.c: Likewise.
2378         * elf/dl-version.c: Likewise.
2379         * elf/do-lookup.h: Likewise.
2380         * elf/rtld.c: Likewise.
2381         * sysdeps/generic/dl-cache.c: Likewise.
2382         * sysdeps/generic/ldsodefs.h: Likewise.
2383         * sysdeps/generic/libc-start.c: Likewise.
2384         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
2385         Export _dl_debug_mask.
2386         * Versions.def: Define GLIBC_2.2.3 for ld.
2388 2001-02-26  Greg McGary  <greg@mcgary.org>
2390         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
2392 2001-02-26  Paul Eggert  <eggert@twinsun.com>
2394         Modify mkstemp.c and tempname.c so that they can be used by
2395         GNU applications on non-glibc platforms.
2397         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
2399         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
2400         Include <stddef.h>, <stdint.h>, <string.h> only if
2401         STDC_HEADERS || _LIBC.
2402         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
2403         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
2404         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
2405         (__set_errno): Define this macro if <errno.h> doesn't.
2406         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
2407         Define these macros if <stdio.h> doesn't.
2408         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
2409         Define these macros if <sys/stat.h> doesn't.
2410         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
2411         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
2412         lxstat64, __xstat64): Define if not _LIBC.
2413         (struct_stat64): New macro.
2414         (direxists, __gen_tempname): Use it, to avoid a
2415         portability problem with Solaris 8.
2416         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
2417         (__gen_tempname): Invoke gettimeofday only if
2418         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
2419         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
2420         octal values like 0600.
2422 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
2424         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
2425         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2427         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
2428         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2430         * posix/wordexp-test.c (testit): Remove warnings.
2432         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
2433         (tests): Add tstatexit and tstcxaatexit.
2434         (module-names): Add modatexit and modcxaatexit.
2435         Add rules to build and run tstatexit and tstcxaatexit.
2436         * dlfcn/modatexit.c: New file.
2437         * dlfcn/modcxaatexit.c: New file.
2438         * dlfcn/tstatexit.c: New file.
2439         * dlfcn/tstcxaatexit.c: New file.
2441         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
2442         .hidden is available.
2443         * io/stat.c: If .hidden is available use it to avoid exporting
2444         functions.
2445         * io/fstat.c: Likewise.
2446         * io/lstat.c: Likewise.
2447         * io/stat64.c: Likewise.
2448         * io/fstat64.c: Likewise.
2449         * io/lstat64.c: Likewise.
2450         * sysdeps/generic/mknod.c: Likewise.
2452         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
2453         * sysdeps/generic/bb_init_func.c: Likewise.
2454         * sysdeps/generic/libc-start.c: Likewise.
2456         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
2457         (atexit): Implement using __cxa_atexit.
2458         Use .hidden if availble to avoid exporting atexit.
2459         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
2460         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
2461         * stdlib/Makefile (routines): Add old_atexit.
2462         (static-only-routines): Add atexit.
2463         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
2464         * stdlib/old_atexit.c: New file.
2466         * intl/Makefile: Remove bogus endif.
2468 2001-02-26  Andreas Jaeger  <aj@suse.de>
2470         * iconvdata/Makefile (tests): Fix typo in last patch.
2472         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
2473         available.
2474         Reported by Achim Gottinger <achim@gentoo.org>.
2476 2001-02-25  Andreas Jaeger  <aj@suse.de>
2478         * intl/Makefile (plural.c): Reorder rules so that they work if
2479         BISON doesn't exist.
2481 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
2483         * intl/locale.alias: Don't use nb_NO but define aliases for it.
2485 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
2487         * sysdeps/i386/strtok.S: Continue to return NULL after the first
2488         time this happened.
2490 2001-02-23  Andreas Jaeger  <aj@suse.de>
2492         * string/tester.c (test_strtok_r): Add testcase.
2493         (test_strtok_r): Always initialize cp for proper checking.
2495         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
2496         returning NULL correctly.
2497         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
2498         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
2500 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
2502         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
2503         including <stddef.h>.
2504         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
2505         * include/libc-symbols.h (weak_alias): Don't use .weak if
2506         HAVE_ASM_GLOBAL_DOT_NAME is defined.
2507         Patches by Michael Keezer <mkeezer@redhat.com>.
2509         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
2510         Patch by Michael Keezer <mkeezer@redhat.com>.
2512         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
2513         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
2514         (sysdep_routines): Remove restf.S and savef.S.
2515         * sysdeps/unix/sysv/aix/restf.S. Removed.
2516         * sysdeps/unix/sysv/aix/savef.S. Removed.
2517         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
2518         alternative names used on some platforms.
2519         * sysdeps/powerpc/fprsave.S: Likewise.
2520         * sysdeps/powerpc/gprrest0.S: Likewise.
2521         * sysdeps/powerpc/gprrest1.S: Likewise.
2522         * sysdeps/powerpc/gprsave0.S: Likewise.
2523         * sysdeps/powerpc/gprsave1.S: Likewise.
2524         Patch by Michael Keezer <mkeezer@redhat.com>.
2526 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
2528         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
2530 2001-02-22  Andreas Jaeger  <aj@suse.de>
2532         * string/tst-strtok.c (main): Fix error messages.
2534 2001-02-22  Andreas Jaeger  <aj@suse.de>
2536         * math/Makefile: Remove omit-long-double-fcts.
2538 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
2540         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
2541         avoid problems on MIPS I.
2542         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
2544         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
2545         noreorder".
2547 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
2549         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
2551         * sysdeps/generic/ftime.c: Include <time.h>.
2553         * configure.in: Don't check for libgd if user passed --without-gd.
2554         Patch by Achim Gottinger <achim@gentoo.org>.
2556         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
2557         first time this happened.
2558         * string/Makefile (tests): Add tst-strtok.
2560 2001-02-21  Andreas Jaeger  <aj@suse.de>
2562         * string/tst-strtok.c: New testcase, reported by
2563         Andrew Church <achurch@achurch.org>.
2565 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
2567         * libio/iofwide.c: Remove fwide alias.
2569 2001-02-20  Andreas Jaeger  <aj@suse.de>
2571         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
2572         is available.
2573         Reported by Achim Gottinger <achim@gentoo.org>.
2575 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
2577         * iconv/tst-iconv1.c (main): Remove debugging code.
2579         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
2580         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2582         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
2583         parameters.
2584         * sysdeps/generic/e_scalbf.c: Likewise.
2585         * sysdeps/generic/e_scalbl.c: Likewise.
2587         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
2588         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
2589         in libc.
2590         (routines): Replace libm_error with libc_libm_error.
2591         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
2592         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
2594 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
2596         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
2597         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
2599 2001-02-17  H.J. Lu  <hjl@gnu.org>
2601         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
2602         scratch registers across the system call.
2604 2001-02-19  Andreas Jaeger  <aj@suse.de>
2606         * malloc/Makefile (tests): Run mtrace only when perl is available.
2607         Reported by Achim Gottinger <achim@gentoo.org>.
2609 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
2611         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
2612         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2614         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
2615         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
2616         * math/libm-test.inc (j1_test): Mark constants as long double.
2617         (jn_test): Likewise.
2618         (y1_test): Likewise.
2619         (yn_test): Likewise.
2621         * libio/iogetline.c: Move return until after last statement.
2623         * localedata/show-ucs-data.c: Don't show < > for better readability.
2625         * sysdeps/ia64/fpu/Dist: New file.
2626         * sysdeps/ia64/fpu/Makefile: New file.
2627         * sysdeps/ia64/fpu/Versions: New file.
2628         * sysdeps/ia64/fpu/e_acos.S: New file.
2629         * sysdeps/ia64/fpu/e_acosf.S: New file.
2630         * sysdeps/ia64/fpu/e_acosl.S: New file.
2631         * sysdeps/ia64/fpu/e_asin.S: New file.
2632         * sysdeps/ia64/fpu/e_asinf.S: New file.
2633         * sysdeps/ia64/fpu/e_asinl.S: New file.
2634         * sysdeps/ia64/fpu/e_atan2.S: New file.
2635         * sysdeps/ia64/fpu/e_atan2f.S: New file.
2636         * sysdeps/ia64/fpu/e_atan2l.c: New file.
2637         * sysdeps/ia64/fpu/e_cosh.S: New file.
2638         * sysdeps/ia64/fpu/e_coshf.S: New file.
2639         * sysdeps/ia64/fpu/e_coshl.S: New file.
2640         * sysdeps/ia64/fpu/e_exp.S: New file.
2641         * sysdeps/ia64/fpu/e_expf.S: New file.
2642         * sysdeps/ia64/fpu/e_expl.c: New file.
2643         * sysdeps/ia64/fpu/e_fmod.S: New file.
2644         * sysdeps/ia64/fpu/e_fmodf.S: New file.
2645         * sysdeps/ia64/fpu/e_fmodl.S: New file.
2646         * sysdeps/ia64/fpu/e_hypot.S: New file.
2647         * sysdeps/ia64/fpu/e_hypotf.S: New file.
2648         * sysdeps/ia64/fpu/e_hypotl.S: New file.
2649         * sysdeps/ia64/fpu/e_log.S: New file.
2650         * sysdeps/ia64/fpu/e_log10.c: New file.
2651         * sysdeps/ia64/fpu/e_log10f.c: New file.
2652         * sysdeps/ia64/fpu/e_log10l.c: New file.
2653         * sysdeps/ia64/fpu/e_logf.S: New file.
2654         * sysdeps/ia64/fpu/e_logl.c: New file.
2655         * sysdeps/ia64/fpu/e_pow.S: New file.
2656         * sysdeps/ia64/fpu/e_powf.S: New file.
2657         * sysdeps/ia64/fpu/e_powl.S: New file.
2658         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
2659         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
2660         * sysdeps/ia64/fpu/e_remainder.S: New file.
2661         * sysdeps/ia64/fpu/e_remainderf.S: New file.
2662         * sysdeps/ia64/fpu/e_remainderl.S: New file.
2663         * sysdeps/ia64/fpu/e_scalb.S: New file.
2664         * sysdeps/ia64/fpu/e_scalbf.S: New file.
2665         * sysdeps/ia64/fpu/e_scalbl.S: New file.
2666         * sysdeps/ia64/fpu/e_sinh.S: New file.
2667         * sysdeps/ia64/fpu/e_sinhf.S: New file.
2668         * sysdeps/ia64/fpu/e_sinhl.S: New file.
2669         * sysdeps/ia64/fpu/e_sqrt.S: New file.
2670         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
2671         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
2672         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
2673         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
2674         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
2675         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
2676         * sysdeps/ia64/fpu/libm_error.c: New file.
2677         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
2678         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
2679         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
2680         * sysdeps/ia64/fpu/libm_reduce.S: New file.
2681         * sysdeps/ia64/fpu/libm_support.h: New file.
2682         * sysdeps/ia64/fpu/libm_tan.S: New file.
2683         * sysdeps/ia64/fpu/s_atan.S: New file.
2684         * sysdeps/ia64/fpu/s_atanf.S: New file.
2685         * sysdeps/ia64/fpu/s_atanl.S: New file.
2686         * sysdeps/ia64/fpu/s_cbrt.S: New file.
2687         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
2688         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
2689         * sysdeps/ia64/fpu/s_ceil.S: New file.
2690         * sysdeps/ia64/fpu/s_ceilf.S: New file.
2691         * sysdeps/ia64/fpu/s_ceill.S: New file.
2692         * sysdeps/ia64/fpu/s_cos.S: New file.
2693         * sysdeps/ia64/fpu/s_cosf.S: New file.
2694         * sysdeps/ia64/fpu/s_cosl.S: New file.
2695         * sysdeps/ia64/fpu/s_expm1.S: New file.
2696         * sysdeps/ia64/fpu/s_expm1f.S: New file.
2697         * sysdeps/ia64/fpu/s_expm1l.S: New file.
2698         * sysdeps/ia64/fpu/s_floor.S: New file.
2699         * sysdeps/ia64/fpu/s_floorf.S: New file.
2700         * sysdeps/ia64/fpu/s_floorl.S: New file.
2701         * sysdeps/ia64/fpu/s_frexp.c: New file.
2702         * sysdeps/ia64/fpu/s_frexpf.c: New file.
2703         * sysdeps/ia64/fpu/s_frexpl.c: New file.
2704         * sysdeps/ia64/fpu/s_ilogb.S: New file.
2705         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
2706         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
2707         * sysdeps/ia64/fpu/s_ldexp.S: New file.
2708         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
2709         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
2710         * sysdeps/ia64/fpu/s_log1p.S: New file.
2711         * sysdeps/ia64/fpu/s_log1pf.S: New file.
2712         * sysdeps/ia64/fpu/s_log1pl.S: New file.
2713         * sysdeps/ia64/fpu/s_logb.S: New file.
2714         * sysdeps/ia64/fpu/s_logbf.S: New file.
2715         * sysdeps/ia64/fpu/s_logbl.S: New file.
2716         * sysdeps/ia64/fpu/s_matherrf.c: New file.
2717         * sysdeps/ia64/fpu/s_matherrl.c: New file.
2718         * sysdeps/ia64/fpu/s_modf.S: New file.
2719         * sysdeps/ia64/fpu/s_modff.S: New file.
2720         * sysdeps/ia64/fpu/s_modfl.S: New file.
2721         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
2722         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
2723         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
2724         * sysdeps/ia64/fpu/s_rint.S: New file.
2725         * sysdeps/ia64/fpu/s_rintf.S: New file.
2726         * sysdeps/ia64/fpu/s_rintl.S: New file.
2727         * sysdeps/ia64/fpu/s_round.S: New file.
2728         * sysdeps/ia64/fpu/s_roundf.S: New file.
2729         * sysdeps/ia64/fpu/s_roundl.S: New file.
2730         * sysdeps/ia64/fpu/s_scalbn.S: New file.
2731         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
2732         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
2733         * sysdeps/ia64/fpu/s_significand.S: New file.
2734         * sysdeps/ia64/fpu/s_significandf.S: New file.
2735         * sysdeps/ia64/fpu/s_significandl.S: New file.
2736         * sysdeps/ia64/fpu/s_sin.c: New file.
2737         * sysdeps/ia64/fpu/s_sincos.c: New file.
2738         * sysdeps/ia64/fpu/s_sincosf.c: New file.
2739         * sysdeps/ia64/fpu/s_sincosl.c: New file.
2740         * sysdeps/ia64/fpu/s_sinf.c: New file.
2741         * sysdeps/ia64/fpu/s_sinl.c: New file.
2742         * sysdeps/ia64/fpu/s_tan.S: New file.
2743         * sysdeps/ia64/fpu/s_tanf.S: New file.
2744         * sysdeps/ia64/fpu/s_tanl.S: New file.
2745         * sysdeps/ia64/fpu/s_trunc.S: New file.
2746         * sysdeps/ia64/fpu/s_truncf.S: New file.
2747         * sysdeps/ia64/fpu/s_truncl.S: New file.
2748         * sysdeps/ia64/fpu/w_acos.c: New file.
2749         * sysdeps/ia64/fpu/w_acosf.c: New file.
2750         * sysdeps/ia64/fpu/w_acosl.c: New file.
2751         * sysdeps/ia64/fpu/w_asin.c: New file.
2752         * sysdeps/ia64/fpu/w_asinf.c: New file.
2753         * sysdeps/ia64/fpu/w_asinl.c: New file.
2754         * sysdeps/ia64/fpu/w_atan2.c: New file.
2755         * sysdeps/ia64/fpu/w_atan2f.c: New file.
2756         * sysdeps/ia64/fpu/w_atan2l.c: New file.
2757         * sysdeps/ia64/fpu/w_cosh.c: New file.
2758         * sysdeps/ia64/fpu/w_coshf.c: New file.
2759         * sysdeps/ia64/fpu/w_coshl.c: New file.
2760         * sysdeps/ia64/fpu/w_exp.c: New file.
2761         * sysdeps/ia64/fpu/w_expf.c: New file.
2762         * sysdeps/ia64/fpu/w_fmod.c: New file.
2763         * sysdeps/ia64/fpu/w_fmodf.c: New file.
2764         * sysdeps/ia64/fpu/w_fmodl.c: New file.
2765         * sysdeps/ia64/fpu/w_hypot.c: New file.
2766         * sysdeps/ia64/fpu/w_hypotf.c: New file.
2767         * sysdeps/ia64/fpu/w_hypotl.c: New file.
2768         * sysdeps/ia64/fpu/w_log.c: New file.
2769         * sysdeps/ia64/fpu/w_log10.c: New file.
2770         * sysdeps/ia64/fpu/w_log10f.c: New file.
2771         * sysdeps/ia64/fpu/w_log10l.c: New file.
2772         * sysdeps/ia64/fpu/w_logf.c: New file.
2773         * sysdeps/ia64/fpu/w_logl.c: New file.
2774         * sysdeps/ia64/fpu/w_pow.c: New file.
2775         * sysdeps/ia64/fpu/w_powf.c: New file.
2776         * sysdeps/ia64/fpu/w_powl.c: New file.
2777         * sysdeps/ia64/fpu/w_remainder.c: New file.
2778         * sysdeps/ia64/fpu/w_remainderf.c: New file.
2779         * sysdeps/ia64/fpu/w_remainderl.c: New file.
2780         * sysdeps/ia64/fpu/w_scalb.c: New file.
2781         * sysdeps/ia64/fpu/w_scalbf.c: New file.
2782         * sysdeps/ia64/fpu/w_scalbl.c: New file.
2783         * sysdeps/ia64/fpu/w_sqrt.c: New file.
2784         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
2785         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
2786         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
2787         implementation.
2788         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
2789         Change FP_ILOGBNAN for new implementation.
2790         * Verions.def: Add 2.2.3 versions.
2792 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
2794         * math/libm-test.inc (scalb_test): Require invalid exception being
2795         raised for invalid parameters.
2796         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
2797         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2798         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2800 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
2802         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
2803         value to long int.
2804         (__get_avphys_pages): Likewise.
2806 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
2808         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
2809         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
2810         * sysdeps/i386/fpu/e_powf.S: Likewise.
2811         * sysdeps/i386/fpu/e_powl.S: Likewise.
2813         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
2815 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
2817         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
2819         * sysdeps/generic/s_exp2l.c: Renamed to...
2820         * sysdeps/generic/e_exp2l.c: ...this.   New file.
2821         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
2822         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
2823         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
2824         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
2825         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
2826         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
2827         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
2828         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
2829         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
2830         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
2831         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
2832         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
2833         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
2834         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
2835         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
2836         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
2838 2001-02-17  Andreas Jaeger  <aj@suse.de>
2840         * configure.in: Allow gcc 3.
2842 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
2844         * math/w_acos.c: Move to ...
2845         * sysdeps/generic/w_acos.c: ...here.  New file.
2846         * math/w_acosf.c: Move to ...
2847         * sysdeps/generic/w_acosf.c: ...here.  New file.
2848         * math/w_acosh.c: Move to ...
2849         * sysdeps/generic/w_acosh.c: ...here.  New file.
2850         * math/w_acoshf.c: Move to ...
2851         * sysdeps/generic/w_acoshf.c: ...here.  New file.
2852         * math/w_acoshl.c: Move to ...
2853         * sysdeps/generic/w_acoshl.c: ...here.  New file.
2854         * math/w_acosl.c: Move to ...
2855         * sysdeps/generic/w_acosl.c: ...here.  New file.
2856         * math/w_asin.c: Move to ...
2857         * sysdeps/generic/w_asin.c: ...here.  New file.
2858         * math/w_asinf.c: Move to ...
2859         * sysdeps/generic/w_asinf.c: ...here.  New file.
2860         * math/w_asinl.c: Move to ...
2861         * sysdeps/generic/w_asinl.c: ...here.  New file.
2862         * math/w_atan2.c: Move to ...
2863         * sysdeps/generic/w_atan2.c: ...here.  New file.
2864         * math/w_atan2f.c: Move to ...
2865         * sysdeps/generic/w_atan2f.c: ...here.  New file.
2866         * math/w_atan2l.c: Move to ...
2867         * sysdeps/generic/w_atan2l.c: ...here.  New file.
2868         * math/w_atanh.c: Move to ...
2869         * sysdeps/generic/w_atanh.c: ...here.  New file.
2870         * math/w_atanhf.c: Move to ...
2871         * sysdeps/generic/w_atanhf.c: ...here.  New file.
2872         * math/w_atanhl.c: Move to ...
2873         * sysdeps/generic/w_atanhl.c: ...here.  New file.
2874         * math/w_cosh.c: Move to ...
2875         * sysdeps/generic/w_cosh.c: ...here.  New file.
2876         * math/w_coshf.c: Move to ...
2877         * sysdeps/generic/w_coshf.c: ...here.  New file.
2878         * math/w_coshl.c: Move to ...
2879         * sysdeps/generic/w_coshl.c: ...here.  New file.
2880         * math/w_drem.c: Move to ...
2881         * sysdeps/generic/w_drem.c: ...here.  New file.
2882         * math/w_dremf.c: Move to ...
2883         * sysdeps/generic/w_dremf.c: ...here.  New file.
2884         * math/w_dreml.c: Move to ...
2885         * sysdeps/generic/w_dreml.c: ...here.  New file.
2886         * math/w_exp10.c: Move to ...
2887         * sysdeps/generic/w_exp10.c: ...here.  New file.
2888         * math/w_exp10f.c: Move to ...
2889         * sysdeps/generic/w_exp10f.c: ...here.  New file.
2890         * math/w_exp10l.c: Move to ...
2891         * sysdeps/generic/w_exp10l.c: ...here.  New file.
2892         * math/w_exp2.c: Move to ...
2893         * sysdeps/generic/w_exp2.c: ...here.  New file.
2894         * math/w_exp2f.c: Move to ...
2895         * sysdeps/generic/w_exp2f.c: ...here.  New file.
2896         * math/w_exp2l.c: Move to ...
2897         * sysdeps/generic/w_exp2l.c: ...here.  New file.
2898         * math/w_fmod.c: Move to ...
2899         * sysdeps/generic/w_fmod.c: ...here.  New file.
2900         * math/w_fmodf.c: Move to ...
2901         * sysdeps/generic/w_fmodf.c: ...here.  New file.
2902         * math/w_fmodl.c: Move to ...
2903         * sysdeps/generic/w_fmodl.c: ...here.  New file.
2904         * math/w_hypot.c: Move to ...
2905         * sysdeps/generic/w_hypot.c: ...here.  New file.
2906         * math/w_hypotf.c: Move to ...
2907         * sysdeps/generic/w_hypotf.c: ...here.  New file.
2908         * math/w_hypotl.c: Move to ...
2909         * sysdeps/generic/w_hypotl.c: ...here.  New file.
2910         * math/w_j0.c: Move to ...
2911         * sysdeps/generic/w_j0.c: ...here.  New file.
2912         * math/w_j0f.c: Move to ...
2913         * sysdeps/generic/w_j0f.c: ...here.  New file.
2914         * math/w_j0l.c: Move to ...
2915         * sysdeps/generic/w_j0l.c: ...here.  New file.
2916         * math/w_j1.c: Move to ...
2917         * sysdeps/generic/w_j1.c: ...here.  New file.
2918         * math/w_j1f.c: Move to ...
2919         * sysdeps/generic/w_j1f.c: ...here.  New file.
2920         * math/w_j1l.c: Move to ...
2921         * sysdeps/generic/w_j1l.c: ...here.  New file.
2922         * math/w_jn.c: Move to ...
2923         * sysdeps/generic/w_jn.c: ...here.  New file.
2924         * math/w_jnf.c: Move to ...
2925         * sysdeps/generic/w_jnf.c: ...here.  New file.
2926         * math/w_jnl.c: Move to ...
2927         * sysdeps/generic/w_jnl.c: ...here.  New file.
2928         * math/w_lgamma.c: Move to ...
2929         * sysdeps/generic/w_lgamma.c: ...here.  New file.
2930         * math/w_lgammaf.c: Move to ...
2931         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
2932         * math/w_lgammaf_r.c: Move to ...
2933         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
2934         * math/w_lgammal.c: Move to ...
2935         * sysdeps/generic/w_lgammal.c: ...here.  New file.
2936         * math/w_lgammal_r.c: Move to ...
2937         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
2938         * math/w_lgamma_r.c: Move to ...
2939         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
2940         * math/w_log10.c: Move to ...
2941         * sysdeps/generic/w_log10.c: ...here.  New file.
2942         * math/w_log10f.c: Move to ...
2943         * sysdeps/generic/w_log10f.c: ...here.  New file.
2944         * math/w_log10l.c: Move to ...
2945         * sysdeps/generic/w_log10l.c: ...here.  New file.
2946         * math/w_log.c: Move to ...
2947         * sysdeps/generic/w_log.c: ...here.  New file.
2948         * math/w_logf.c: Move to ...
2949         * sysdeps/generic/w_logf.c: ...here.  New file.
2950         * math/w_logl.c: Move to ...
2951         * sysdeps/generic/w_logl.c: ...here.  New file.
2952         * math/w_pow.c: Move to ...
2953         * sysdeps/generic/w_pow.c: ...here.  New file.
2954         * math/w_powf.c: Move to ...
2955         * sysdeps/generic/w_powf.c: ...here.  New file.
2956         * math/w_powl.c: Move to ...
2957         * sysdeps/generic/w_powl.c: ...here.  New file.
2958         * math/w_remainder.c: Move to ...
2959         * sysdeps/generic/w_remainder.c: ...here.  New file.
2960         * math/w_remainderf.c: Move to ...
2961         * sysdeps/generic/w_remainderf.c: ...here.  New file.
2962         * math/w_remainderl.c: Move to ...
2963         * sysdeps/generic/w_remainderl.c: ...here.  New file.
2964         * math/w_scalb.c: Move to ...
2965         * sysdeps/generic/w_scalb.c: ...here.  New file.
2966         * math/w_scalbf.c: Move to ...
2967         * sysdeps/generic/w_scalbf.c: ...here.  New file.
2968         * math/w_scalbl.c: Move to ...
2969         * sysdeps/generic/w_scalbl.c: ...here.  New file.
2970         * math/w_sinh.c: Move to ...
2971         * sysdeps/generic/w_sinh.c: ...here.  New file.
2972         * math/w_sinhf.c: Move to ...
2973         * sysdeps/generic/w_sinhf.c: ...here.  New file.
2974         * math/w_sinhl.c: Move to ...
2975         * sysdeps/generic/w_sinhl.c: ...here.  New file.
2976         * math/w_sqrtl.c: Move to ...
2977         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
2978         * math/w_tgamma.c: Move to ...
2979         * sysdeps/generic/w_tgamma.c: ...here.  New file.
2980         * math/w_tgammaf.c: Move to ...
2981         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
2982         * math/w_tgammal.c: Move to ...
2983         * sysdeps/generic/w_tgammal.c: ...here.  New file.
2985         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
2986         formats for postal_fmt.
2988 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
2990         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
2991         __ftruncate64 alias.
2992         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
2993         Likewise.
2995 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
2997         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
2998         do "loadrs".  Writing to bspstore already takes care of
2999         invalidating the "clean" partition.
3001 2001-02-16  Andreas Schwab  <schwab@suse.de>
3003         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
3004         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
3006 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
3008         * posix/regex.c (init_syntax_once): Add prototype.
3009         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
3010         (re_search_2): Avoid warning.
3011         (count_mbs_length): Add prototype.
3012         * posix/tst-regex3.c: New file.
3013         * posix/Makefile (tests): Add bug-regex3.
3015 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
3017         * stdio-common/Makefile (tests): Add tst-gets.
3018         * stdio-common/tst-gets.c: New file.
3019         * stdio-common/tst-gets.input: New file.
3021         * elf/elf.h (DT_CHECKSUM): Define.
3023         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
3024         default symbol.
3025         * sysdeps/generic/strtoull.c: Likewise.
3027 2001-02-14  Wolfram Gloger  <wg@malloc.de>
3029         * malloc/malloc.c (new_heap): When allocating large chunk aligned
3030         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
3031         between the heaps.
3033 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
3035         * math/libm-test.inc (j0_test): Check whether sincos is available.
3036         (j1_test): Likewise.
3037         (jn_test): Likewise.
3038         (y0_test): Likewise.
3039         (y1_test): Likewise.
3040         (yn_test): Likewise.
3042         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
3043         fake filesystem routines to handle this.
3045         * time/sys/time.h: Make settimeofday and adjtime available if
3046         _BSD_SOURCE.
3048         * time/sys/time.h: Make timer* macros available for BSD.
3050         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
3051         Patch by Yong Li <rigel863@yahoo.com>.
3053         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
3054         name.
3056         * posix/Makefile (tests): Add tst-gnuglob.
3057         * posix/tst-gnuglob.c: New file.
3059 2001-02-13  H.J. Lu  <hjl@gnu.org>
3061         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
3063 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
3065         * locale/programs/ld-paper.c (paper_output): Pretty printing.
3067         * iconvdata/Makefile (modules): Add GBBIG5.
3068         (distribute): Add gbbig5.c.
3069         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
3071         * iconvdata/gbbig5.c: New file.
3072         Contributed by Yong Li <rigel863@yahoo.com>.
3074 2001-02-13  Philip Blundell  <pb@futuretv.com>
3076         * manual/crypt.texi: Remove outdated references to crypt add-on.
3078         * manual/creature.texi: Improve wording slightly.
3080 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
3082         * io/ftw.c: Always use readdir64.
3083         * io/ftw64.c: Likewise.
3084         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3085         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3086         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
3087         callback to dirent.  Still allow compiling outside glibc.
3088         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
3089         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3091         * malloc/mtrace.c: Use fopen64.
3092         * posix/spawni.c: Use __open64.
3093         * sysdeps/unix/opendir.c: Likewise.
3094         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
3096         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
3097         name a weak alias.
3098         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
3099         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
3100         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
3101         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
3103         * resolv/res_data.c: Add cast to avoid warning.
3105         * include/unistd.h: Declare __ftruncate64.
3107         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
3109         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
3110         instead of __lseek.
3112 2001-02-13  Andreas Jaeger  <aj@suse.de>
3114         * login/getutent_r.c: Include <stdlib.h> for NULL.
3115         * login/getutid_r.c: Likewise.
3117 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
3119         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
3120         * sysdeps/dbl-64/e_j1.c: Likewise.
3121         * sysdeps/dbl-64/e_jn.c: Likewise.
3122         * sysdeps/flt-32/e_j0f.c: Likewise.
3123         * sysdeps/flt-32/e_j1f.c: Likewise.
3124         * sysdeps/ldbl-96/e_j0l.c: Likewise.
3126 2000-12-02  H.J. Lu  <hjl@gnu.org>
3128         * resolv/res_libc.c (res_init): Don't make it default.
3130 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
3132         * manual/debug.texi: Improved the wording.
3133         Patch by Philip Blundell <pb@futuretv.com>.
3135 2001-02-12  Andreas Jaeger  <aj@suse.de>
3137         * posix/Makefile (tests): Don't run bug-regex2 when
3138         cross-compiling.
3140         * libio/Makefile (tests): Don't run test-freopen when
3141         cross-compiling.
3143         * manual/stdio.texi (Streams and I18N): Fix typos.
3145 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
3147         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
3149         * math/libm-test.inc (j0_test): Make expected results long double
3150         constants.
3151         (y0_test): Likewise.
3153         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
3154         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3156 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
3158         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
3159         which was exported from libc.
3160         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
3162 2001-02-12  Andreas Jaeger  <aj@suse.de>
3164         * manual/arith.texi (Parsing of Integers): Fix some wordings.
3166 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
3168         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
3169         and get_avphys_page to long int.
3170         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
3171         * include/sys/sysinfo.h: Likewise.
3172         * sysdeps/generic/sys/sysinfo.h: Likewise.
3173         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
3175         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
3176         cannot return as many values as the user asked for.
3178 2001-02-11  Andreas Jaeger  <aj@suse.de>
3180         * manual/resource.texi (Memory Resources): Fix typo.
3182         * libio/Makefile ($(objpfx)test-freopen.out): Pass
3183         run-program-prefix.
3185         * libio/test-freopen.sh: Use run_program_prefix.
3187 2001-02-10  Andreas Jaeger  <aj@suse.de>
3189         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
3190         cross-compiling.
3191         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
3193         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
3194         only builds.
3196         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
3198         * posix/Makefile: Fix typo, it's build-static-nss.
3200         * iconv/Makefile (extra-objs): New.
3202 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
3204         * sysdeps/unix/stime.c: Include <time.h>.
3206         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
3208 2001-02-10  Andreas Jaeger  <aj@suse.de>
3210         * manual/string.texi (Search Functions): Fix typo.
3212 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
3214         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
3215         (timeval_to_clock_t): Add clk_tck argument and use that instead of
3216         CLK_TCK.
3217         (__times): Use __getclktck to get the number of clock ticks per
3218         second and use its return value instead of CLK_TCK.
3220 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
3222         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
3224 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
3226         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
3228 2001-02-10  Andreas Jaeger  <aj@suse.de>
3230         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
3231         warning.
3233 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
3235         * posix/Makefile: Add rules to build and run bug-regex2.
3236         * posix/bug-regex2.c: New file.
3238 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
3240         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
3241         (regex_compile): Likewise.
3242         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
3243         (re_match_2_internal): Use just is_binary instead of two variables.
3244         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
3246 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
3248         * version.h (VERSION): Bump to 2.2.2.
3250         * iconv/Makefile (distribute): Add iconv_charmap.c and
3251         dummy-repertoire.c.
3252         * elf/Makefile (distribute): Add firstobj.c.
3253         * Makefile (distribute): Add include/pthread.h.
3255         * configure.in: Require makeinfo version 4.
3257         * libio/tst_wscanf.c (main): Add cast to avoid warning.
3258         * libio/tst_swscanf.c (main): Likewise..
3260 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
3262         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
3263         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
3264         __NO_MATH_INLINES.
3265         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
3266         if not RTLD_BOOTSTRAP.
3267         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3268         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3270 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
3272         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
3273         lr_ungetc to push back last read character.
3274         * locale/programs/linereader.h (lr_ungetc): Don't push back is
3275         character is EOF.
3276         (lr_ignore_rest): Don't warn about garbage if it is really the end
3277         of the file.
3279         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
3280         definition.
3282 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
3284         * Makerules (build-shlib): Work around different order of
3285         processing of -B option in different gcc versions.
3287         * posix/regex.c: Fix alignment problem.
3288         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
3290         * sysdeps/alpha/strrchr.S: Little optimization.
3291         Patch by Richard Henderson <rth@redhat.com>.
3293         * sysdeps/alpha/alphaev67/strrchr.S: New file.
3294         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
3296 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
3298         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
3299         in the assembler end directive.
3301 2001-02-08  Andreas Jaeger  <aj@suse.de>
3303         * manual/stdio.texi (Closing Streams): Fix typos.
3305 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
3307         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
3308         Patch by Richard Henderson <rth@redhat.com>.
3309         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
3311         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
3312         pointer in FILE structure before calling _IO_init.
3313         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
3314         strfmon_l if necessary.
3315         Reported by Jury Gerold <gjury@grips.com>.
3317         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
3318         Patch by Pekka.Pietikainen@cern.ch.
3320         * posix/regex.c: Correct several problems with 64-bit architectures
3321         introduced in the MBS changes.
3322         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
3324 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
3326         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
3327         not defined.
3328         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
3330 2001-02-07  Andreas Jaeger  <aj@suse.de>
3332         * manual/install.texi (Tools for Compilation): Fix typo.
3333         Reported by Pavel Machek <pavel@bug.ucw.cz>.
3335 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
3337         * stdlib/strtod.c: Never stop prematurely reading digits before the
3338         decimal point is found.  Compute exponent limit for negative exponents
3339         correctly.  For numbers ending in all zeros eat the zeros even before
3340         the decimal point if the exponent is negative [PR libc/2072].
3341         * stdlib/Makefile (tests): Add bug-strtod.
3342         * stdlib/bug-strtod.c: New file.
3344 2001-02-07  Andreas Jaeger  <aj@suse.de>
3346         * posix/bug-regex1.c: Include <wchar.h> for fwide.
3348 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
3350         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
3351         Store index.
3352         (compile_range): Handle index being passed, not pointer.
3353         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
3355         * posix/regex.c: Fix a cast in the code for bracket handling which
3356         caused 8-bit uncleanliness.
3357         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
3359         * posix/Makefile (tests): Add bug-regex1.
3360         * posix/bug-regex1.c: New file.
3361         Contributed by Jim Meyering <jim@meyering.net>.
3363         * posix/regex.c: Many cleanups for incorrect format strings.
3365 2001-02-06  Andreas Jaeger  <aj@suse.de>
3367         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
3369 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
3371         * locale/programs/locale.c (write_locales): Use scandir to read
3372         directory so that the entries are sorted.
3374 2001-02-06  Andreas Jaeger  <aj@suse.de>
3376         * include/pthread.h: New file.
3378         * wctype/wctype.h: Move internal interfaces from here to...
3379         * include/wctype.h: ...here.
3381         * wcsmbs/wchar.h: Move __wcslen from here to...
3382         * include/wchar.h: ...here.
3384         * posix/sys/wait.h: Move __wait from here to...
3385         * include/sys/wait.h: ...here.
3387         * string/string.h: Move __ffs and __strerror_r from here to...
3388         * include/string.h: ...here.
3390         * stdlib/stdlib.h: Move __on_exit from here to...
3391         * include/stdlib.h: ...here.
3393         * libio/stdio.h: Move __vsnprintf from here to...
3394         * include/stdio.h: ...here.
3396 2001-02-06  Andreas Schwab  <schwab@suse.de>
3398         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
3399         headers.
3401         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
3402         of $(inst_datadir).
3404 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
3406         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
3408 2001-02-06  Andreas Jaeger  <aj@suse.de>
3410         * elf/firstobj.c: Add prototype.
3412         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
3413         (truncate_wchar): Likewise.
3415 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
3417         * locale/programs/locale.c: Implement --verbose option for -a
3418         which prints detailed information about the locales.
3420 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
3422         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
3423         variable to uint32_t.
3424         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
3426 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
3428         * locale/C-translit.h.in: Add transliterations for CJK units of
3429         measurement.
3431 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
3433         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
3434         string.  Include <inttypes.h> instead of <stdint.h>.
3436         * localedata/Makefile (tests): Add bug-iconv-trans.
3437         Define bug-iconv-trans-ENV.
3438         * localedata/bug-iconv-trans.c: New file.
3440 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
3442         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
3443         pointer, to avoid accumulating output from incomplete (unsuccessful)
3444         transliteration attempts.
3446 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
3448         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
3449         string.  Include <inttypes.h> instead of <stdint.h>.
3451         * configure.in: Add check for bison.
3452         * config.make.in: Define BISON variable.
3453         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
3454         Rename YFLAGS to BISONFLAGS.
3456 2001-02-05  Andreas Jaeger  <aj@suse.de>
3458         * io/test-lfs.c (do_test): Test lseek64 return value, call
3459         test_ftello.
3460         (test_ftello): New function to test ftello64 and fseeko64.
3462         * signal/signal.h: Move __sigaction from here to...
3463         * include/signal.h: ...here.
3465         * io/fcntl.h: Move __fcntl and __open to...
3466         * include/fcntl.h: ...here.
3468 2001-02-04  Philip Blundell  <philb@gnu.org>
3470         * configure.in: Distinguish ARM from Thumb.
3472 2001-02-04  Philip Blundell  <philb@gnu.org>
3474         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
3475         PC24 relocs with negative value.
3477 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
3479         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
3480         files in locale/programs.  Add CFLAGS definition to allow compiling
3481         localedef files.
3482         * iconv/dummy-repertoire.c: New file.
3483         * iconv/iconv_charmap.c: New file.
3484         * iconv/iconv_prog.h: New file.
3485         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
3486         (main): If parameter for -f and -t contain slashes try first to resolve
3487         the strings as filenames of charmap files.  Use them for conversion
3488         in this case.
3489         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
3490         iconv getting charmap names as parameters.
3491         * locale/programs/linereader.c (lr_token): Take extra parameters
3492         verbose and pass it to get_string.
3493         (get_string): Take extra parameters verbose.
3494         * locale/programs/charmap.c (parse_charmap): Take extra parameters
3495         verbose and be_quiet.  Change all callers of lr_token and
3496         parse_charmap.
3497         * locale/programs/charmap.h: Likewise.
3498         * locale/programs/ld-address.c: Likewise.
3499         * locale/programs/ld-collate.c: Likewise.
3500         * locale/programs/ld-ctype.c: Likewise.
3501         * locale/programs/ld-identification.c: Likewise.
3502         * locale/programs/ld-measurement.c: Likewise.
3503         * locale/programs/ld-messages.c: Likewise.
3504         * locale/programs/ld-monetary.c: Likewise.
3505         * locale/programs/ld-name.c: Likewise.
3506         * locale/programs/ld-numeric.c: Likewise.
3507         * locale/programs/ld-paper.c: Likewise.
3508         * locale/programs/ld-telephone.c: Likewise.
3509         * locale/programs/ld-time.c: Likewise.
3510         * locale/programs/linereader.c: Likewise.
3511         * locale/programs/linereader.h: Likewise.
3512         * locale/programs/localedef.c: Likewise.
3513         * locale/programs/locfile.c: Likewise.
3514         * locale/programs/locfile.h: Likewise.
3515         * locale/programs/repertoire.c: Likewise.
3517 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
3519         * iconv/iconv_prog.c (main): If output file name is "-" write to
3520         stdout.
3521         (main): If -f or -t argument is missing use charset of the current
3522         locale.
3524 2001-02-03  Andreas Jaeger  <aj@suse.de>
3526         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
3527         boundary for SSE/SSE-2 alignment.
3529         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
3530         annexc.
3532 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
3534         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
3535         Remove comma at end of enum.
3537         * elf/dl-init.c: Add a few __builtin_expect.
3539         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
3541 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
3543         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
3544         errno is ECONNREFUSED.
3546         * posix/Makefile: Define MBS_SUPPORT for regex.c.
3547         * posix/regex.c: Implement multibyte character handling.
3548         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
3550         * string/tst-svc.input: Add two more test cases.
3551         * string/tst-svc.expect: Modify to reflect new test cases.
3553 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
3555         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
3556         tp->name tests with tp->name[0] tests.
3558 2001-01-29  Ben Collins  <bcollins@debian.org>
3560         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
3561         Fix check for name == NULL.
3563 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
3565         * elf/Makefile: Add rules to build and run initfirst test.
3566         * elf/initfirst.c: New file.
3567         * elf/firstobj.c: New file.
3569         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
3570         * configure.in: Test for -z initfirst linker option.
3571         * config.make.in: Add have-z-initfirst.
3572         * elf/dl-init.c (_dl_init): Split out actual initialization code in
3573         new function call_init.  If _dl_initfirst is non-NULL initialize first.
3574         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
3575         remember object in _dl_initfirst.
3576         * elf/soinit.c: Remove special support for calling
3577         __pthread_initialize_minimal.
3579         * conform/conformtest.pl: Add missing $prepend in type test.
3581 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
3583         * elf/elf.h (SHT_CHECKSUM): New definition.
3585         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
3586         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
3587         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
3589 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
3591         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
3592         to get definition of `struct timeval'.
3594 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
3596         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
3597         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
3599 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
3601         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
3602         seen, not flags.
3604         * nis/nis_findserv.c: Include <time.h>.
3606 2001-01-30  Yong Li  <yong.li@asu.edu>
3608         * iconv/iconv_prog.c (main): Correct error handling method name.
3610 2001-01-29  Ben Collins  <bcollins@debian.org>
3612         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
3613         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
3614         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
3615         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
3617 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
3619         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
3620         Patch by Marko Myllynen <myllynen@lut.fi>.
3622         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
3623         (int instead of char).
3624         (__strpbrk_c3): Likewise.
3625         Reported by GOTO Masanori <gotom@debian.or.jp>.
3627         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
3628         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
3629         * include/sys/socket.h: Add SA_LEN here for internal use.
3630         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
3632 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
3634         * malloc/Makefile: Don't build memusagestat if cross-compiling.
3636         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
3638         * math/libm-test.inc (rint_test): Add a few more tests for round
3639         to even rounding.
3641 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
3643         * conform/data/pthread.h-data: Correct return type of pthread_exit.
3645         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
3647         * conform/data/stdlib.h-data: Add _Exit.
3649         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
3650         if not already happened.
3651         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
3652         Don't include <limits.h> and <bits/sockaddr.h>.
3654         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
3656         * conform/data/spawn.h-data: Allow all of <sched.h>.
3658         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
3659         unused variable.
3661         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
3662         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
3664         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
3666         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
3667         * libio/stdio.h: Define va_list correctly.
3669         * conform/data/pthread.h-data: Make priority protocol related
3670         functions optional.  Fix typos.
3672         * posix/sched.h: Define sched_priority as __sched_priority.
3673         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
3674         to __sched_priority.
3675         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3677 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
3679         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
3680         of <sys/time.h>.
3682         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
3683         * sysdeps/unix/time.c: Likewise.
3685         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
3686         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
3687         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
3688         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
3689         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
3690         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
3691         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
3692         * time/time.h: Likewise.
3694         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
3695         * conform/data/complex.h-data: New file.
3696         * conform/data/tgmath.h-data: New file.
3698         * conform/data/wchar.h-data: Add missing functions.
3700         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
3702         * conform/data/termios.h-data: Add missing const in tcsetattr()
3703         prototype.
3705         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
3706         Don't define pid_t here.
3708         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
3710         * conform/data/sys/time.h-data: Allow sys/select.h.
3711         * conform/data/sys/un.h-data: Fix typo.
3712         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
3713         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
3714         <sys/time.h>.
3715         * sysdeps/unix/clock_nanosleep.c: Likewise.
3716         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
3717         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
3718         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
3719         * sysdeps/unix/clock_settime.c: Likewise.
3721         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
3722         * login/getutent.c: Likewise.
3723         * login/getutid.c: Likewise.
3724         * login/getutline.c: Likewise.
3726         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
3728         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
3729         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
3730         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
3731         f_fsid field after change in struct statvfs.
3732         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
3733         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
3734         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
3736         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
3737         optional-macro.
3739         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
3740         recvfrom, send, and socketpair prototypes.  Add allow lines.
3741         * socket/sys/socket.h: Include <sys/uio.h>.
3742         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
3743         Fix type of second parameter of listen.
3744         Don't declare isfdtype unless __USE_MISC.
3745         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
3746         * sysdeps/mach/hurd/listen.c: Likewise.
3747         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
3748         ss_family and __ss_family.
3749         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
3750         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3751         (struct msghdr): Change type of msg_iovlen to int and type of
3752         msg_controllen to socklen_t.
3753         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
3754         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
3755         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
3756         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
3757         (rresvport_af): Likewise.
3759         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
3760         * conform/conformtest.pl: Implement handling of symbol.
3762         * signal/signal.h: Fix handling of __need_* symbols.
3763         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
3764         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
3765         * include/sys/select.h: Use fd_set not __fd_set.
3766         * sysdeps/generic/bits/select.h: Likewise.
3767         * sysdeps/i386/bits/select.h: Likewise.
3768         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
3769         __FDELT, __FDMASK, and __fd_set here.
3770         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
3771         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
3772         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3773         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3774         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
3775         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3776         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3777         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
3778         * time/sys/time.h: Define struct timeval before including <time.h>
3779         and <sys/select.h>.
3781         * conform/data/sys/time.h-data: fd_set is a typedef.
3782         * conform/data/sys/select.h-data: New file.
3783         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
3784         * conform/conformtest.pl (@headers): Add sys/select.h.
3785         (type, optional-type): Unless testing a typedef instantiate object.
3786         Implement optional-function.
3788         * math/test-misc.c: Include <float.h>.
3790 2001-01-27  Andreas Jaeger  <aj@suse.de>
3792         * misc/efgcvt_r.c: Include <float.h>.
3794 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
3796         * conform/data/stdlib.h-data: Account for XPG6 changes.
3797         * stdlib/stdlib.h (__random): Change return value type to long.
3798         (posix_memalign): Cleanup parameter names.
3799         (setenv, unsetenv): Make available for __USE_XOPEN2K.
3800         Change return type of unsetenv to int.
3801         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
3802         * include/stdlib.h: Change return type of unsetenv to int.
3803         Change return type of random to long int.
3804         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
3805         Return -1 and set errno if parameter is invalid.
3806         * stdlib/random.c (__random): Change return value type to long.
3808         * conform/data/stdio.h-data: Account for changes in XPG6.
3810         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
3811         prototype.
3813         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
3814         * conform/data/signal.h-data: Fix sigev_notify_function entry.
3815         Fix typo (SIGVALRM -> SIGVTALRM).
3816         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
3817         with real type.
3818         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
3819         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
3820         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3821         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3822         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
3824         * conform/conformtest.pl: Implement optional-element.  Define
3825         $mustprepend{"sched.h"}.
3826         * conform/data/sched.h-data: Make sporadic scheduler definitions
3827         optional.
3829         * pwd/pwd.h: Don't define getpwent_r for XPG.
3831         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
3832         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
3833         * sysdeps/mach/hurd/poll.c: Likewise.
3834         * sysdeps/unix/bsd/poll.c: Likewise.
3835         * sysdeps/unix/sysv/linux/poll.c: Likewise.
3836         * sysdeps/unix/sysv/aix/poll.c: Likewise.
3837         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
3838         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
3839         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
3840         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
3841         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
3842         * conform/data/poll.h-data: Fix typo in poll prototype.
3844         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
3845         only if __USE_MISC.
3846         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
3848         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
3850         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
3852         * conform/conformtest.pl: Implement optional-type.
3854         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
3855         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
3856         defining uint32_t here.  Define IPPORT_RESERVED.
3857         (struct hostent): Type of h_length element is int.
3858         (getnameinfo): Type of flags parameter is unsigned int.
3859         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
3860         * conform/data/netdb.h-data: Add many missing definitions.
3862         * conform/conformtest.pl: Implement optional-macro.
3863         * conform/data/math.h-data: Update for XPG6.
3865         * math/math.h (HUGE): Define as FLT_MAX value but don't use
3866         FLT_MAX.  Don't include <float.h>.
3867         (MAXFLOAT): Likewise.
3869         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
3871         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
3873         * conform/data/limits.h-data: Mark constants as optional wherever
3874         appropriate.
3876         * posix/bits/posix2_lim.h: Set correct values for
3877         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
3878         EQUIV_CLASS_MAX.
3880         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
3881         Required by POSIX.
3883         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
3885         * conform/data/netinet/in.h-data: Add reserved prefixes.
3887         * conform/data/arpa/inet.h-data: Fix a few typos.
3889 2001-01-26  Andreas Jaeger  <aj@suse.de>
3891         * sysdeps/generic/strtol.c: Include <locale.h>
3892         * stdlib/strtod.c: Likewise
3893         * stdlib/strfmon.c: Likewise.
3894         * string/strcoll.c: Likewise.
3895         * string/strxfrm.c: Likewise.
3896         * wctype/wcfuncs_l.c: Likewise.
3897         * wctype/wctype_l.c: Likewise.
3898         * wctype/wctrans_l.c: Likewise.
3900         * include/bits/locale.h: New file.
3902 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
3904         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
3905         and NOSTR.
3907         * locale/Makefile (headers): Add bits/locale.h.
3908         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
3909         and use __LC_ constants instead of LC_.
3910         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
3911         using __LC_ constants.
3912         * locale/bits/locale.h: New file.
3913         * locale/loadlocale.c: Include <locale.h>.
3914         * locale/nl_langinfo.h: Likewise.
3916         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
3918         * io/sys/stat.h: Define S_IFSOCK for XPG6.
3920         * conform/data/fcntl.h-data: posix_madvise is not expected here.
3922         * conform/conformtest.pl: Fix handling of macro-str.
3924         * conform/data/inttypes.h-data: Add missing definition and all of
3925         stdint.h-data.
3927         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
3929 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
3931         * conform/conformtest.pl (@headers): Add stdint.h.
3932         * conform/data/stdint.h-data: New file.
3934         * conform/conformtest.pl: Recognize options --headers and
3935         --dialect.  Add dialect-specific CFLAGS.
3937         * conform/conformtest.pl: Implement handling of recursive
3938         allow-header.
3940         * conform/data/locale.h-data: Add new struct lconv members.
3942         * posix/wordexp.h: Correct definition of wordexp_t.
3943         * posix/wordexp.c: Moved to ...
3944         * sysdeps/generic/wordexp.c: ...here.  New file.
3945         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
3946         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
3947         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
3948         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
3949         wordexp.
3950         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
3951         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
3953         * math/tgmath.h: Pretty printing.
3955         * math/Makefile (tests): Add test-tgmath.
3956         (CFLAGS-test-tgmath.c): New variable.
3957         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
3959         * conform/conformtest.pl: Handle allow-header in secondary headers
3960         correctly.
3962         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
3963         #ifdef.
3965         * conform/data/netinet/in.h-data: Use correct comment character.
3966         * conform/data/sys/stat.h-data: Likewise.
3968 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
3970         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
3971         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
3972         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
3973         __builtin_classify_type, add ##f suffixes where appropriate.
3974         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
3975         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
3976         __builtin_classify_type.
3977         (fma): Fix spelling of first argument.
3979 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
3981         * conform/data/unistd.h-data: Mark functions removed in XPG6
3982         correctly.
3984         * posix/unistd.h: Don't make functions removed in XPG6 available if
3985         __USE_XOPEN2K.
3987         * conform/conformtest.pl: Implement optional-constant.
3988         * conform/data/unistd.h-data: Use optional-constant wherever
3989         appropriate.
3991         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
3992         constants and add _SC_STREAMS.
3993         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
3995         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
3996         make old name weak alias.
3997         * sysdeps/generic/statvfs64.c: Likewise.
3998         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
3999         make old name weak alias.
4000         * sysdeps/generic/fstatvfs64.c: Likewise.
4001         * include/sys/statvfs.h: New file.
4003         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
4004         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
4005         _PC_REC_XFER_ALIGN.
4006         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
4007         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
4008         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
4009         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
4011         * conform/conformtest.pl: Run Unix tests for XPG6.
4012         Implement handling of known namespace violations.
4013         Improve printing of results.
4015         * posix/unistd.h (usleep): Correct return type.
4016         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
4017         * sysdeps/unix/bsd/usleep.c: Correct return type.
4018         * sysdeps/mach/usleep.c: Correct return type.
4019         * sysdeps/generic/usleep.c: Correct return type.
4021         * posix/unistd.h (sync): Correct return type.
4022         * sysdeps/generic/sync.c: Likewise.
4023         * sysdeps/mach/hurd/sync.c: Likewise.
4025         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
4027         * posix/unistd.h: Make seteuid and setegid available for XPG6.
4029         * wcsmbs/wchar.h: Get FILE definition for XPG5.
4031         * conform/data/ctype.h-data: Use correct comment form.
4032         * conform/data/errno.h-data: Likewise.
4033         * conform/data/math.h-data: Likewise.
4034         * conform/data/mqueue.h-data: Likewise.
4035         * conform/data/netdb.h-data: Likewise.
4036         * conform/data/pthread.h-data: Likewise.
4038 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
4040         * conform/data/wordexp.h-data: Fix typo.
4042         * conform/conformtest.pl: Handle allow-header correctly.
4044         * conform/data/time.h-data: Use correct comment form.
4046         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
4048         * configure.in: Comment out binutils version test.
4050         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
4051         separators.
4052         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
4054         * stdlib/tst-strtod.c (locale_test): New function.
4055         (main): Call locale_test.
4056         * stdlib/Makefile (tst-strtod-ENV): New variable.
4058 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
4060         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
4061         declaration of value such that we actually return the value of the
4062         environment variable.
4064 2001-01-24  Andreas Jaeger  <aj@suse.de>
4066         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
4067         prototype.
4068         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4070         * include/sys/sysctl.h: New file.
4072 2001-01-23  Andreas Jaeger  <aj@suse.de>
4074         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
4075         isomac.
4077         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
4078         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
4079         closes PR libc/2039.
4081         * manual/install.texi (Tools for Compilation): Change required
4082         binutils version.
4084 2001-01-22  Andreas Jaeger  <aj@suse.de>
4086         * configure.in: Add test for new enough binutils version, move
4087         compiler/binutils test up.
4089         * Versions.def: Add version GLIBC_2.2.2.
4091 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
4093         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
4094         available.
4095         * iconvdata/testdata/IBM932: New file.
4096         * iconvdata/testdata/IBM932..UTF8: New file.
4097         * iconvdata/testdata/IBM943: New file.
4098         * iconvdata/testdata/IBM943..UTF8: New file.
4099         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
4101 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4103         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
4105 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
4107         * malloc/malloc.c: Remove a few unnecessary initializers of global
4108         variables.
4110 2000-12-09  H.J. Lu  <hjl@gnu.org>
4112         * nss/Makefile (routines): Add digits_dots.
4113         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
4114         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
4115         into a function.
4116         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
4117         function.
4118         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
4119         (TYPE_VAR_P): Likewise.
4120         (FLAGS_VAR): Likewise.
4121         (AF_VAR_P): Likewise.
4122         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
4123         instead of including digits_dots.c.
4124         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
4125         (TYPE_VAR_P): Likewise.
4126         (FLAGS_VAR): Likewise.
4127         (AF_VAR_P): Likewise.
4128         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
4129         instead of including digits_dots.c.
4131 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
4133         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
4135 2001-01-21  Andreas Jaeger  <aj@suse.de>
4137         * elf/constload2.c: Add prototype for init.
4139 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
4141         * stdlib/stdlib.h (drand48_data): Make available only for
4142         __USE_MISC.  Rename elements to protect namespace.  Change type
4143         and position of a and init element.
4144         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
4145         differently.  Adjust for drand48_data change.  Don't compute a here,
4146         it comes from drand48_data.
4147         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
4148         differently.  Adjust for drand48_data change.  Compute a here.
4149         * stdlib/srand48_r.c: Likewise.
4150         * stdlib/drand48.c: Adjust for drand48_data change.
4151         * stdlib/lrand48.c: Likewise.
4152         * stdlib/mrand48.c: Likewise.
4153         * stdlib/seek48.c: Likewise.
4154         * stdlib/drand48_r.c: Likewise.
4155         * stdlib/lrand48_r.c: Likewise.
4156         * stdlib/mrand48_r.c: Likewise.
4157         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
4158         differently.
4159         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
4160         * stdlib/jrand48_r.c: Likewise.
4162         * po/sv.po: Update from translation team.
4164 2001-01-21  Andreas Jaeger  <aj@suse.de>
4166         * stdio-common/vfprintf.c (vfprintf): Add casts.
4168 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
4170         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
4171         the ASCII test.
4172         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
4174         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
4175         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
4176         * iconvdata/ibm932.c: New file.
4177         * iconvdata/ibm932.h: New file.
4178         * iconvdata/ibm943.c: New file.
4179         * iconvdata/ibm943.h: New file.
4180         Patches by Masahide Washizawa <washi@jp.ibm.com>.
4182         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
4183         preventing optimization from being done.  Set the correct type bit
4184         in seen.  Don't define and use _dl_base_addr unless
4185         NEED_DL_BASE_ADDR is defined.
4187         * io/ftw.c (ftw_dir): Add slash after directory name if there
4188         wasn't any.  Reported by loris <loris@iol.it>.
4189         * io/Makefile (tests): Add bug-ftw2.
4190         * io/bug-ftw2.c: New file.
4192 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
4194         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
4195         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
4196         * stdlib/tst-rand48.c: New file.
4197         * stdlib/Makefile (tests): Add tst-rand48.
4199         * locale/newlocale.c (__newlocale): Fix test for setting all
4200         categories.
4202 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
4204         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
4205         but change looking up the initial directory port in a similar way
4206         as done by _hurd_change_directory_port_from_name.
4207         * hurd/fchroot.c (fchroot): Likewise.
4209 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
4211         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
4212         defined don't look whether the AT_*ID values were set.
4213         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
4214         (_dl_show_auxv): Rewrite to avoid switch statement.
4215         * sysdeps/unix/sysv/linux/kernel-features.h: Define
4216         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
4217         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
4218         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
4220         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
4221         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4222         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4224         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
4225         strtoul.
4226         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
4227         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
4228         anything.
4229         * dlfcn/eval.c (__strtol_internal): Define here.
4230         (eval): Use __strtol_internal instead of strtol.
4232         * elf/elf.h: Add a few more EF_MIPS_* constants.
4234 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
4236         * manual/Makefile (chapters): Add debug.
4237         * manual/debug.texi: New file.
4238         * manual/examples/execinfo.c: New file.
4239         Patch by suckfish@ihug.co.nz.
4241 2001-01-17  Andreas Schwab  <schwab@suse.de>
4243         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
4244         invalid asm.
4246 2001-01-17  Andreas Jaeger  <aj@suse.de>
4248         * nscd/connections.c (nscd_run): Use proper format specifier.
4250 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
4252         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
4253         x86_platforms data into new file after prepending _dl_.  Change
4254         users.
4255         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
4256         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
4257         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
4258         dl-procinfo.c.
4260         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
4262         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
4263         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
4264         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
4265         (_setjmp): Likewise.
4266         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
4267         * sysdeps/i386/bsd-setjmp.S: Real implementation.
4268         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
4269         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
4270         version.
4272 2001-01-16  Andreas Jaeger  <aj@suse.de>
4274         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
4275         misapplied last patch.
4277 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
4279         * stdlib/random.c (__initstate): Clean up a cast.
4280         (__setstate): Likewise.
4282         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
4283         syscall handling.  The generic Linux version should work.
4285 2001-01-15  Andreas Jaeger  <aj@suse.de>
4287         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
4289         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
4291 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
4293         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
4294         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
4295         New functions.
4296         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
4297         If number is 0, list all.
4298         (services_keys): Likewise.  Lookup aliases as well.
4299         (databases): New table.
4300         (build_doc): Prepare argp doc text with list of supported databases.
4301         (main): Change to table driven processing.
4303 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
4305         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
4306         functions.
4308 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
4310         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
4311         encode value which does not fit in the 32bit type.
4313 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
4315         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
4316         Change type of CTX to (struct sigcontext *).
4317         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
4318         (GET_FRAME): Likewise.
4319         (GET_STACK): Likewise.
4320         (SIGCONTEXT): Likewise. Add 2nd arg _code.
4321         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
4323 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
4325         * manual/texinfo.tex: Update from upstream version.
4327 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
4329         * inet/ether_ntoh.c (lookup_function): Change arguments to match
4330         _nss_*_getntohost_r prototype.
4331         (ether_ntohost): Pass errno pointer to NSS function.
4333 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4335         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
4336         (MAP_LOCKED): New definition.
4337         (MAP_NORESERVE): New definition.
4339 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
4341         * assert/assert.h: Use static_cast instead of C-style cast for C++.
4342         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
4344 2001-01-12  Ben Collins  <bcollins@debian.org>
4346         * sysdeps/generic/segfault.c (install_handler): Use access, not
4347         __access.
4349 2001-01-12  Andreas Jaeger  <aj@suse.de>
4351         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
4352         * posix/wordexp.c (do_parse_glob): Likewise.
4353         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
4354         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
4355         * elf/dl-open.c (_dl_open): Likewise.
4356         * elf/dl-close.c (_dl_close): Likewise.
4357         * elf/dl-load.c (_dl_map_object): Likewise.
4358         * iconv/iconv_prog.c (process_fd): Likewise.
4359         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
4361         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
4362         of a zero-length array.
4364 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
4366         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
4367         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
4368         * stdlib/cxa_on_exit.c: Remove.
4369         * stdlib/Makefile: Revert last patch.
4370         * stdlib/Versions: Likewise.
4371         * include/stdlib.h: Likewise.
4372         * stdlib/exit.h: Revert last patch.
4373         (struct exit_function): Add second argument to cxa fn.
4374         * stdlib/exit.c: Revert last patch.
4375         (exit): Add hidden second argument.
4377 2001-01-11  H.J. Lu  <hjl@gnu.org>
4379         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
4380         * elf/dl-open.c (_dl_open): Here.
4381         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
4382         Make it static.
4383         (_dl_static_init): Initialize the variables every time when possible.
4384         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
4385         Undefine it first.
4387 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
4389         * stdlib/Makefile (routines): Add cxa_on_exit.
4390         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
4391         * stdlib/cxa_on_exit.c: New file.
4392         * include/stdlib.h: Add prototype for __cxa_on_exit.
4393         * stdlib/exit.c: Handle ef_cxa2.
4394         * stdlib/exit.h (enum): Add ef_cxa2.
4395         (struct exit_function): Add cxa2.
4397         * Versions.def [ld]: Add GLIBC_2.2.1.
4399 2001-01-10  H.J. Lu  <hjl@gnu.org>
4401         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
4402         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
4403         dl-static.
4404         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
4405         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
4406         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
4407         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
4408         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
4410 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
4412         * libio/stdio.h: Remove definition of off_t.
4414 2001-01-11  Andreas Jaeger  <aj@suse.de>
4416         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
4417         <mkuhn@acm.org>.
4419 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
4421         * sunrpc/Makefile (distribute): Add errqueue.h.
4423 2001-01-10  H.J. Lu  <hjl@gnu.org>
4425         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
4426         r9, r10 and r11 for language specific registers.
4428 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
4430         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
4431         UDP socket.
4432         (clntudp_call): Handle MSG_ERRQUEUE.
4433         * sysdeps/generic/errqueue.h: New file.
4434         * sysdeps/unix/sysv/linux/errqueue.h: New file.
4436 2001-01-10  H.J. Lu  <hjl@gnu.org>
4438         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
4440 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
4442         * CONFORMANCE: Update.
4444 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
4446         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
4447         Minimal cleanups.  Add assert to ensure memory handling is correct.
4449         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
4450         Reported by Ben Collins <bcollins@debian.org>.
4452         * time/strftime.c (my_strftime): Mark previous GNU extensions
4453         which are now in C99 as such.
4455 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
4457         * elf/rtld.c (process_envvars): Place output files for profiling
4458         in SUID binaries in /var/profile.
4460         * elf/dl-load.c (_dl_map_object): Don't look in cache for
4461         preloading in SUID binaries.
4463         * elf/dl-profile.c (_dl_start_profile): Open the output file with
4464         O_NOFOLLOW if possible.
4466         * include/stdlib.h: Add __posix_openpt declaration.
4467         * stdlib/stdlib.h: Add posix_openpt declaration.
4468         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
4469         * sysdeps/generic/getpt.c: Define posix_openpt.
4470         * sysdeps/unix/bsd/getpt.c: Likewise.
4471         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
4473         * time/Makefile (tests): Add tst-mktime.
4474         * time/tst-mktime.c: New file.
4476         * posix/tst-dir.c (main): One more mkdir() test.
4478         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
4479         Remove getpagesize syscall.  We assume that the pagesize is always
4480         determined from the auxiliary vector.
4482         * intl/dcigettext.c: Fix a few warnings.
4483         Patch by Bruno Haible <haible@ilog.fr>.
4485 2001-01-08  Andreas Jaeger  <aj@suse.de>
4487         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
4488         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
4490 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
4492         * sysdeps/generic/segfault.c (install_handler): Check output file
4493         name with access().
4495         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
4496         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
4498         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
4500         * malloc/memusage.c (me): Use access() to determine whether we
4501         should write the output file or not.
4503         * libio/bits/stdio.h (printf): Define macro to map printf call to
4504         fprintf which gcc can optimize.
4505         * stdio-common/printf.c: Undefine printf.
4507 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
4509         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
4510         patch.  We must use unsigned int for l member of union.
4512         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
4513         _dl_aux_init for shared libraries.
4515         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
4516         * sysdeps/gnu/glob64.c: ...here.  New file.
4518 2001-01-07  Ben Collins  <bcollins@debian.org>
4520         * manual/examples/longopt.c: Make the "struct option" a little
4521         more like it should be, adding usage of required_argument,
4522         noargument and such, and also setting the options string right.
4524         * manual/sysinfo.texi (Load Average): New section, documents
4525         getloadavg().
4527 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
4529         * version.h (VERSION): Bump to 2.2.1.
4531         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
4532         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
4533         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
4534         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
4535         * Makefile (distribute): Add include/libc-internal.h.
4536         * libio/Makefile (distribute): Avoid overwriting.
4538         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
4539         buffer and table handling.
4541 2001-01-05  H.J. Lu  <hjl@gnu.org>
4543         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
4544         vector checking to ...
4545         (_dl_aux_init): Here. New function. Defined only if
4546         HAVE_AUX_VECTOR is defined.
4548         * sysdeps/generic/libc-start.c (__libc_start_main): Call
4549         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
4551         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
4552         _dl_aux_init.
4554         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
4555         (HAVE_AUX_VECTOR): Defined.
4556         (_dl_aux_init): Declared.
4558 2001-01-05  Ben Collins  <bcollins@debian.org>
4560         * manual/string.texi (Finding Tokens in a String): Document XPG
4561         basename() and dirname(), as well as GNU basename().
4563 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
4565         * Makeconfig (preprocess-version): Replace -traditional with
4566         -x assembler-with-cpp.
4568 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
4570         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
4571         for GCC 2.97 or later.
4573 2001-01-05  Ben Collins  <bcollins@debian.org>
4575         * manual/stdio.texi (getline): Clarify the return value in the
4576         case of EOF being reached before a newline.
4578 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
4580         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
4581         FALSE otherwise.
4582         (pmap_set, pmap_unset): Check __get_myaddress return value.
4584 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
4586         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
4587         (struct ether_addr): Declare ether_addr_octet member as
4588         `u_int8_t'.  Add __attribute__ ((__packed__)).
4590 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
4592         * sysdeps/mach/hurd/readdir64.c: New file.
4593         * sysdeps/mach/hurd/readdir64_r.c: New file.
4595 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
4597         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
4598         `struct statfs' and `struct statvfs' being identical.
4599         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
4601 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
4603         * sysdeps/mach/hurd/fstatfs64.c: New file.
4604         * sysdeps/mach/hurd/fstatvfs64.c: New file.
4605         * sysdeps/mach/hurd/statfs64.c: New file.
4606         * sysdeps/mach/hurd/statvfs64.c: New file.
4607         * sysdeps/mach/hurd/statfsconv.c: New file.
4608         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
4610 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
4612         * iconv/skeleton.c: Reset outbuf for next round of the loop.
4613         Reported by Owen Taylor <otaylor@redhat.com>.
4614         * iconv/Makefile (tests): Add tst-iconv3.
4615         * iconv/tst-iconv3.c: New file.
4617         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
4618         * iconvdata/ibm933.c: Likewise.
4619         * iconvdata/ibm935.c: Likewise.
4620         * iconvdata/ibm937.c: Likewise.
4621         * iconvdata/ibm939.c: Likewise.
4622         * iconvdata/ibm930.h: Adjust single byte table for optimization.
4623         * iconvdata/ibm933.h: Likewise.
4624         * iconvdata/ibm935.h: Likewise.
4625         * iconvdata/ibm939.h: Likewise.
4627         * iconvdata/testdata/IBM930: Add misssing SI.
4628         * iconvdata/testdata/IBM933: Likewise.
4629         * iconvdata/testdata/IBM935: Likewise.
4630         * iconvdata/testdata/IBM937: Likewise.
4631         * iconvdata/testdata/IBM939: Likewise.
4633 2001-01-06  Andreas Jaeger  <aj@suse.de>
4635         * configure.in: Check for old add-ons that shouldn't be used with
4636         current glibc anymore.
4638 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
4640         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
4641         instead of -1 on failure.  Don't forget to copy file name into
4642         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
4643         of the directory.
4645 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
4647         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
4648         copy st_atime member.
4650 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
4652         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
4653         for searches from the root directory.
4654         Reported by loris <loris@iol.it> [PR libc/1991].
4655         * io/Makefile (tests): Add bug-ftw1.
4656         * io/bug-ftw1.c: New file.
4658         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
4659         if it is not available.  Instead use it only if it is available.
4660         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
4662         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
4663         overflowing output buffer.
4664         (internal_ucs4_loop_unaligned): Likewise.
4665         (ucs4_internal_loop): Likewise.
4666         (ucs4_internal_loop_unaligned): Likewise.
4667         (internal_ucs4le_loop): Likewise.
4668         (internal_ucs4le_loop_unaligned): Likewise.
4669         (ucs4le_internal_loop): Likewise.
4670         (ucs4le_internal_loop_unaligned): Likewise.
4671         Reported by Owen Taylor <otaylor@redhat.com>.
4672         * iconv/Makefile (tests): Add tst-iconv2.
4673         * iconv/tst-iconv2.c: New file.
4675 2001-01-04  H.J. Lu  <hjl@gnu.org>
4677         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
4678         (_dl_clktck): Declared.
4679         (non_dynamic_init): Take 3 arguments.
4680         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
4682 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
4684         Finish implementation of plural form handling.
4685         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
4686         'domainname'.  Remove 'plindex' field. Add 'domain' and
4687         'translation_length' fields.
4688         (transcmp): Don't compare 'plindex' fields.
4689         (plural_lookup): New function.
4690         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
4691         plural_eval before the translation and its catalog file have been
4692         found. Remove plindex from cache key.  Add 'translation_length' and
4693         'domain' to cache result.
4694         (_nl_find_msg): Remove index argument, return length of translation
4695         to the caller instead.  Weaken comparison of string lengths, to account
4696         for plural entries.  Call iconv() on the entire result string, not
4697         only on the portion needed so far.
4698         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
4699         argument.
4700         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
4702 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
4704         * intl/plural.y (yylex): Minimal improvement in number scanner.
4706 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
4708         * intl/plural.y: Include config.h. Needed to define 'inline' away for
4709         C compilers that don't support it.
4710         (yylex): Don't use gcc specific case range syntax.
4711         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
4712         compilers.
4714 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
4716         * intl/finddomain.c: Remove unneeded includes.
4718 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
4720         * intl/localealias.c (memcpy): Return first argument, just like the
4721         real memcpy function does.
4722         * intl/bindtextdom.c (memcpy): Likewise.
4723         * intl/finddomain.c (memcpy): Likewise.
4724         * intl/l10nflist.c (memcpy): Likewise.
4725         * intl/textdomain.c (memcpy): Likewise.
4726         From Paul Eggert <eggert@twinsun.com>.
4728 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
4730         * resolv/resolv.h (struct __res_state): Add nsinit field.
4731         * resolv/res_send.c (res_nsend): Use it instead of nscount.
4732         * resolv/res_init.c (__res_vinit): Initialize it.
4733         (res_nclose): Clear it instead of nscount.
4735 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
4737         * malloc/mtrace.pl: Fix matching of addresses.
4738         Patch by Aharon Robbins <arnold@skeeve.com>.
4740         * Versions.def (ld): Add GLIBC_2.2.
4742         * catgets/gencat.c: Copyright 2001.
4743         * csu/version.c: Likewise.
4744         * debug/catchsegv.sh: Likewise.
4745         * debug/xtrace.sh: Likewise.
4746         * elf/ldconfig.c: Likewise.
4747         * elf/sprof.c: Likewise.
4748         * iconv/iconv_prog.c: Likewise.
4749         * locale/locale.c: Likewise.
4750         * locale/localedef.c: Likewise.
4751         * malloc/memusage.sh: Likewise.
4752         * malloc/mtrace.pl: Likewise.
4753         * nscd/nscd.c: Likewise.
4754         * posix/getconf.c: Likewise.
4756 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
4758         * include/stdio.h: Only provide __getwc_unlocked prototype if
4759         USE_IN_LIBIO is defined.
4761 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4763         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
4764         handling.
4766 2001-01-03  Andreas Schwab  <schwab@suse.de>
4768         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
4769         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
4771         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
4772         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
4773         strtoull alias.
4774         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
4775         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
4776         wcstoull alias.
4778         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
4779         directory.
4780         * sysdeps/generic/strtol_l.c: Likewise.
4781         * sysdeps/generic/strtoul_l.c: Likewise.
4782         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
4784         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
4785         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
4786         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
4787         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
4789 2001-01-04  Andreas Jaeger  <aj@suse.de>
4791         * nss/nsswitch.c: Include files for missing prototypes, remove
4792         buggy declaration of prototypes.
4794 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4796         * resolv/Versions: Fix bracing.
4797         * sysdeps/powerpc/soft-fp/Versions: Likewise.
4798         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
4800 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4802         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
4804 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
4806         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
4807         Suggested by Minko Markov <mmarkov@home.com>.
4809 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4811         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
4812         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
4813         the failing symbol.
4814         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
4816 2001-01-02  Ben Collins  <bcollins@debian.org>
4818         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
4819         if TZ is not set and TZDEFAULT is not present.
4821 2001-01-01  Ben Collins  <bcollins@debian.org>
4823         * string/strings.h: Make sure we declare our functions even if
4824         string.h is already included, based on whether or not __USE_BSD is
4825         defined.
4827 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
4829         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
4830         other dlopen() and dlsym().
4831         Based on a patch by Ben Collins <bcollins@debian.org>.
4833 2001-01-02  Andreas Jaeger  <aj@suse.de>
4835         * dlfcn/errmsg1.c (main): Call dlerror initially.
4836         Reported by Ben Collins <bcollins@debian.org>.
4838 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
4840         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
4841         value is ignored if the selected locale is the C locale.
4842         * intl/tst-gettext.c: Set locale for above change.
4843         * intl/tst-translit.c: Likewise.
4845 2001-01-02  Andreas Jaeger  <aj@suse.de>
4847         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
4848         (_IO_switch_to_wget_mode): Likewise.
4849         (_IO_sputbackwc): Likewise.
4850         (_IO_sungetwc): Use wint_t for result.
4852         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
4854         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
4855         signedness.
4857         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
4858         to (int) to avoid warnings.
4859         * stdio-common/printf_fp.c (putc): Likewise.
4860         * stdio-common/printf_size.c (putc): Likewise.
4862         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
4863         constant unsigned.
4865 2001-01-01  Andreas Jaeger  <aj@suse.de>
4867         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
4869 2000-12-31  Andreas Jaeger  <aj@suse.de>
4871         * include/libc-internal.h: Add prototype for __libc_freeres.
4873         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
4874         for prototypes, remove redundant prototypes.
4875         * gmon/gmon.c: Likewise.
4876         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
4877         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
4878         * malloc/mtrace.c: Likewise.
4880         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
4881         prototypes.
4882         * elf/soinit.c: Likewise.
4883         * sysdeps/generic/prof-freq.c: Likewise.
4884         * sysdeps/mach/hurd/profil.c: Likewise.
4885         * debug/noophooks.c: Likewise.
4886         * debug/pcprofile.c: Likewise.
4887         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
4888         * sysdeps/generic/get_clockfreq.c: Likewise.
4889         * malloc/set-freeres.c: Likewise.
4891         * locale/localeinfo.h: Add internal prototypes.
4893         * elf/rtld.c (dl_main): Fix prototype.
4895         * iconvdata/tst-table-to.c (main): Use return instead of exit to
4896         avoid warning.
4898         * nis/rpcsvc/yp_prot.h: Remove __P.
4899         * nis/rpcsvc/ypupd.h: Likewise.
4900         * nis/rpcsvc/yp.h: Likewise.
4902         * sunrpc/rpc_main.c: Add noreturn attributes.
4903         * sunrpc/rpc_scan.h: Likewise.
4905         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
4907         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
4909         * sunrpc/proto.h: Add noreturn attributes to error and crash.
4911         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
4913         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
4915         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
4917         * include/rpc/rpc_msg.h: Add prototypes for some functions.
4918         * include/rpc/auth.h: Likewise.
4919         * include/rpc/auth_des.h: Likewise.
4920         * include/rpc/clnt.h: Likewise.
4921         * include/rpc/rpc.h: Likewise.
4922         * include/rpc/svc.h: Likewise.
4923         * include/rpc/svc_auth.h: Likewise.
4925         * include/rpc/des_crypt.h: New file.
4927         * malloc/memusagestat.c (main): Use return instead of exit to
4928         avoid warning.
4929         * io/pwd.c (main): Likewise.
4930         * iconvdata/tst-table-from.c (main): Likewise.
4931         * ctype/test_ctype.c (main): Likewise.
4932         * setjmp/tst-setjmp.c (main): Likewise.
4933         * signal/tst-signal.c (main): Likewise.
4934         * stdlib/tst-strtol.c (main): Likewise.
4935         * stdlib/tst-strtod.c (main): Likewise.
4936         * stdlib/tst-strtoll.c (main): Likewise.
4937         * stdlib/tst-xpg-basename.c (main): Likewise.
4938         * dirent/tst-seekdir.c (main): Likewise.
4939         * grp/testgrp.c (main): Likewise.
4940         * inet/test_ifindex.c (main): Likewise.
4941         * io/test-utime.c (main): Likewise.
4942         * posix/test-vfork.c (main): Likewise.
4943         * posix/testfnm.c (main): Likewise.
4944         * stdio-common/temptest.c (main): Likewise.
4945         * stdio-common/test_rdwr.c (main): Likewise.
4946         * stdio-common/tst-fileno.c (main): Likewise.
4947         * stdio-common/tst-sscanf.c (main): Likewise.
4948         * stdio-common/tstscanf.c (main): Likewise.
4949         * string/bug-strncat1.c (main): Likewise.
4950         * string/bug-strpbrk1.c (main): Likewise.
4951         * string/bug-strspn1.c (main): Likewise.
4952         * string/test-ffs.c (main): Likewise.
4953         * string/tst-inlcall.c (main): Likewise.
4954         * string/tst-svc.c (main): Likewise.
4955         * timezone/test-tz.c (main): Likewise.
4956         * wctype/test_wcfuncs.c (main): Likewise.
4957         * wctype/test_wctype.c (main): Likewise.
4959         * stdlib/tst-random.c: Add attribute noreturn to fail.
4961 2000-12-28  Wolfram Gloger  <wg@malloc.de>
4963         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
4964         destination overlap.  Assume dest is always below source if
4965         overlapping.
4967 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
4969         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
4970         object was not yet initialized.
4972 2000-12-28  H.J. Lu  <hjl@gnu.org>
4974         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
4975         is always consistent even if its dependency is failed.
4977         * elf/dl-open.c (_dl_open): Increment the open count before
4978         calling _dl_close () in case of failure.
4980         * elf/neededtest4.c: New file.
4981         * elf/neededobj5.c: New file.
4982         * elf/neededobj6.c: New file.
4984         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
4985         (tests): Add neededtest4.
4986         (modules-names): Add neededobj5 and neededobj6.
4987         ($(objpfx)neededobj6.so): New target.
4988         ($(objpfx)neededtest4): New target.
4989         ($(objpfx)neededtest4.out): New target.
4991 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
4993         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
4994         * stdlib/monetary.h: Add strfmon format attributes.
4996 2000-12-28  Roland McGrath  <roland@frob.com>
4998         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
4999         __mempcpy does it for us.
5001 2000-12-28  Andreas Jaeger  <aj@suse.de>
5003         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
5005         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
5006         __new_setrlimit.
5008         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
5009         __old_getrlimit64.
5011         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
5012         __new_getrlimit.
5014         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
5015         __chown_is_lchown and __real_chown.
5017         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
5018         _dl_reloc_bad_type.
5020         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
5021         up GCC's warning about "deprecated use of label at end of compound
5022         statement."
5023         * sunrpc/rpc_cout.c (emit_inline): Likewise.
5025         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
5026         prototypes.
5027         Remove struct bb and __bb_head since those are declared by
5028         sys/gmon.h.
5030 2000-12-22  Ben Collins  <bcollins@debian.org>
5032         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
5034         * manual/argp.texi: Document argp_domain as part of struct argp.
5036 2000-12-28  Andreas Jaeger  <aj@suse.de>
5038         * catgets/Makefile (generated): Add sample.SJIS.cat.
5040         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
5042         * elf/dl-minimal.c: Add prototypes.
5044         * include/locale.h: Add internal prototypes.
5045         * include/sys/gmon.h: Likewise.
5047         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
5049 2000-12-27  Ben Collins  <bcollins@debian.org>
5051         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
5052         when reallocating the error strings.
5053         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
5055 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
5057         * dlfcn/Makefile (tests): Add errmsg1.
5058         (modules-names): Add errmsg1mod.
5059         Add rules to run errmsg1.
5060         * dlfcn/errmsg1.c: New file.
5061         * dlfcn/errmsg1mod.c: New file.
5063         * dlfcn/dlerror.c (dlerror): Always create output string which
5064         includes object file name.
5066         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
5067         if we would go through it only once.
5068         Patch by Rick Gorton <rick.gorton@api-networks.com>.
5070         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
5071         Patch by Richard Henderson <rth@redhat.com>.
5073 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
5075         * malloc/malloc.c (memmove): Add prototypes.
5076         (MALLOC_MEMMOVE): Define.
5077         (chunk_realloc): Use it instead of MALLOC_COPY if source and
5078         destination might overlap.
5080 2000-12-27  Andreas Jaeger  <aj@suse.de>
5082         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
5083         function.
5084         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5085         * locale/programs/locale.c (show_locale_vars): Likewise.
5086         (show_info): Likewise.
5087         * locale/programs/ld-collate.c (collate_output): Likewise.
5088         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
5089         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5090         * stdlib/rpmatch.c (rpmatch): Likewise.
5092         * setjmp/tst-setjmp.c: Make local functions static.
5093         * setjmp/jmpbug.c: Likewise.
5094         * signal/tst-signal.c: Likewise.
5095         * stdio-common/tfformat.c: Likewise.
5096         * string/tst-svc.c: Likewise.
5097         * time/clocktest.c: Likewise.
5098         * time/tst-getdate.c: Likewise.
5099         * dirent/list.c: Likewise.
5100         * dirent/opendir-tst1.c: Likewise.
5101         * posix/runtests.c: Likewise.
5102         * posix/tst-getaddrinfo.c: Likewise.
5103         * posix/tst-chmod.c: Likewise.
5104         * posix/wordexp-test.c: Likewise.
5105         * misc/tst-efgcvt.c: Likewise.
5106         * timezone/tst-timezone.c: Likewise.
5107         * rt/tst-clock.c: Likewise.
5108         * rt/tst-shm.c: Likewise.
5109         * rt/tst-aio2.c: Likewise.
5110         * rt/tst-aio3.c: Likewise.
5111         * rt/tst-aio4.c: Likewise.
5112         * rt/tst-aio5.c: Likewise.
5114         * dlfcn/failtest.c: Add prototype for foo.
5116         * dlfcn/glrefmain.c: Add prototype for do_test.
5118         * dlfcn/tst-dladdr.c: Add prototype for do_test.
5120         * string/test-ffs.c (main): Add prototype for nested function.
5122         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
5124         * nss/XXX-lookup.c: Add prototype to shut up GCC.
5126         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
5127         setetherent prototype.
5128         Add internal interfaces.
5130         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
5131         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
5133         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
5135         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
5137         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
5138         prototypes, remove struct etherent since it's declared in ether.h.
5139         Fix ntohost declaration.
5141         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
5143         * include/getopt.h: Add internal interfaces.
5144         * include/termios.h: Likewise.
5145         * include/resolv.h: Likewise.
5146         * include/netdb.h: Likewise.
5147         * include/grp.h: Likewise.
5148         * include/pwd.h: Likewise.
5149         * include/shadow.h: Likewise.
5150         * include/rpc/netdb.h: Likewise.
5151         * include/setjmp.h: Likewise.
5153         * include/stdio.h: Add prototypes for compatibility functions.
5154         * include/grp.h: Likewise.
5155         * include/pwd.h: Likewise.
5156         * include/shadow.h: Likewise.
5158         * include/fenv.h: Define internal interfaces.
5160 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
5162         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
5163         argument case separately.
5164         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
5166 2000-12-27  Andreas Jaeger  <aj@suse.de>
5168         * include/sys/wait.h: Add some prototypes.
5169         * Rules (dummy.c): Create also prototype to shut up GCC.
5171 2000-12-27  Andreas Jaeger  <aj@suse.de>
5173         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
5174         it's not needed at the moment.
5175         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
5176         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
5178 2000-12-26  Andreas Jaeger  <aj@suse.de>
5180         * libio/getc_u.c: Include stdio.h via system path to get internal
5181         prototypes.
5182         * libio/getwc_u.c: Likewise.
5184         * stdlib/strfmon.c: Fix prototype of __printf_fp.
5186         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
5187         __printf_fp prototypes to ...
5188         * include/printf.h: ...here.
5190         * include/stdio.h: Add some internal prototypes to shut up GCC.
5191         * include/stdlib.h: Likewise.
5193         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
5194         declaration.
5196         * include/signal.h: Add prototypes for internal sigpause
5197         interfaces.
5199 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
5201         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
5202         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
5204         * string/Makefile (tests): Add tst-bswap.
5205         * string/tst-bswap.c: New file.
5207 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
5209         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
5211 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
5213         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
5214         Patch by Ed Connell <Ed.Connell@sas.com>.
5216 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
5218         * locale/iso-639.def: Correct one entry.  Add two missing entries.
5220         * locale/iso-4217.def: Change entry for Eritrea.
5221         Reported by Daniel Yacob <yacob@geez.org>.
5223 2000-12-23  Ben Collins  <bcollins@debian.org>
5225         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
5226         description.
5228         * manual/stdio.texi (Dynamic Output): Document the return value of
5229         asprintf.  Also make the asprintf/snprintf examples a little
5230         better (check for some error returns).
5232 2000-12-22  Andreas Jaeger  <aj@suse.de>
5234         * include/stdio.h: Add __ftrylockfile prototype.
5236 2000-12-21  H.J. Lu  <hjl@gnu.org>
5238         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
5239         Make sign_exponent element signed.
5241         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
5242         Fix a typo.
5244         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
5246 2000-12-21  Andreas Jaeger  <aj@suse.de>
5248         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
5249         * inet/ether_hton.c: Likewise
5250         * inet/ether_ntoh.c: Likewise.
5252         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
5253         declaration to match prototype.
5255         * include/netinet/ether.h (struct etherent): Declare here so that
5256         all implementations use the same struct.
5258         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
5259         prototypes.
5260         (struct ether): Removed.
5261         Use struct etherent instead of ether everywhere.
5263         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
5265         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
5267         * sunrpc/publickey.c: Include auth_des.h for prototypes.
5269 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
5271         * math/test-misc.c: Add more tests for nextafter functions.
5273         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
5274         normal correctly.  Correct test for sign.
5275         Based on a patch by HJ Lu.
5277 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
5279         * Makeconfig (preprocess-version): Add -traditional to gcc call.
5280         Cleanup sed calls.
5282 2000-12-19  Andreas Jaeger  <aj@suse.de>
5284         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
5286         * nis/nis_intern.h: Add prototype for __do_niscall3.
5288         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
5289         match prototype.
5291         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
5293         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
5295         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
5297 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
5299         * math/test-misc.c: Add more tests for nextafter.
5300         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
5301         * sysdeps/ieee754/ldbl-96/math_ldbl.h
5302         (ieee_long_double_shape_type): Make sign_exponent element signed.
5304         * manual/message.texi: Add Estonian to plural overview list.
5305         Correct rule for Slavic languages.
5306         Patch by Stanislav Brabec <utx@penguin.cz>.
5308         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
5310 2000-12-18  Andreas Jaeger  <aj@suse.de>
5312         * test-skeleton.c: Use temp_name_list instead of name_list to
5313         avoid collision with name_list from inet/netgroup.h.
5315         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
5317         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
5318         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
5319         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
5320         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
5322         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
5323         declaration to match prototype.
5324         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
5325         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
5326         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
5327         Likewise.
5328         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
5329         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
5330         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
5331         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
5332         (_nss_nis_getservbyport_r): Likewise.
5333         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
5334         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
5335         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
5336         (_nss_nis_setnetent): Likewise
5337         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
5338         (_nss_nis_endnetgrent): Likewise.
5339         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
5340         Likewise.
5341         (_nss_nisplus_setnetgrent): Likewise.
5342         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
5343         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
5344         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
5345         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
5346         Likewise.
5347         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
5348         Likewise.
5349         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
5350         Likewise.
5351         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
5352         Likewise.
5353         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
5354         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
5355         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
5356         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
5357         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
5358         (_nss_dns_getnetbyaddr_r): Likewise.
5360 2000-12-17  Andreas Jaeger  <aj@suse.de>
5362         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
5363         parameter.
5365         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
5366         unused attribute to shut up gcc warnings.
5368         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
5369         * sysdeps/generic/k_tanl.c: Likewise.
5370         * sysdeps/generic/k_cosl.c: Likewise.
5371         * sysdeps/generic/e_j0l.c: Likewise.
5372         * sysdeps/generic/e_j1l.c: Likewise.
5373         * sysdeps/generic/e_jnl.c: Likewise.
5374         * sysdeps/generic/e_lgammal_r.c: Likewise.
5376         * elf/vismain.c: Move prototypes for functions in vismod*.c to
5377         vismod.h.
5378         * elf/vismod.h: New file.
5379         * elf/Makefile (distribute): Add vismod.h.
5380         * elf/vismod1.c: Include vismod.h.
5381         * elf/vismod2.c: Likewise.
5382         * elf/vismod3.c: Likewise.
5384         * elf/constload3.c: Add prototype declarations to shut up gcc.
5385         * elf/failobj.c: Likewise.
5386         * elf/nodelmod3.c: Likewise.
5387         * elf/filtmod1.c: Likewise.
5388         * elf/filtmod2.c: Likewise.
5389         * elf/reldepmod1.c: Likewise.
5390         * elf/reldepmod2.c: Likewise.
5391         * elf/reldepmod3.c: Likewise.
5392         * elf/reldepmod4.c: Likewise.
5393         * elf/unload2dep.c: Likewise.
5394         * elf/unload2mod.c: Likewise.
5395         * elf/ltglobmod1.c: Likewise.
5396         * elf/pathoptobj.c: Likewise.
5397         * elf/neededobj1.c: Likewise.
5398         * elf/neededobj2.c: Likewise.
5399         * elf/neededobj3.c: Likewise.
5400         * elf/neededobj4.c: Likewise.
5401         * elf/nextmod1.c: Likewise.
5402         * elf/nextmod2.c: Likewise.
5404         * locale/programs/ld-collate.c (collate_finish): Don't use labels
5405         at end of compound statement.
5406         * locale/programs/locale.c (show_info): Likewise.
5407         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
5409 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
5411         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
5412         with a pointer not returned by obstack_ functions.
5414 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
5416         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
5417         version.
5418         (struct stat64): Likewise.
5419         Reported by Michael Keezer <mkeezer@redhat.com>.
5421         * timezone/asia: Update from tzdata2000h.
5422         * timezone/australasia: Likewise.
5423         * timezone/backward: Likewise.
5424         * timezone/europe: Likewise.
5425         * timezone/northamerica: Likewise.
5426         * timezone/southamerica: Likewise.
5427         * timezone/zone.tab: Likewise.
5429 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
5431         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
5432         and dir.stream is NULL, only free dir.content.
5433         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
5434         * io/ftwtest-sh: Test with --early-exit.
5436 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
5438         * misc/efgcvt.c (FCVT_MAXDIG): Define.
5439         (FCVT_BUFPTR): New variable.
5440         (fcvt): If fcvt_r returns -1 on the static short buffer,
5441         try to malloc a sufficiently large one and retry.
5442         (free_mem): New function.
5443         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
5444         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
5446 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
5448         * misc/dirname.c (dirname): Fix search for second to last slash.
5450 2000-12-13  Andreas Jaeger  <aj@suse.de>
5452         * misc/tst-dirname.c (main): Fix typo in test to really use
5453         the examples from Unix98.
5454         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
5456 2000-12-09  H.J. Lu  <hjl@gnu.org>
5458         * sysdeps/ia64/fpu/s_fabs.S: New file.
5459         * sysdeps/ia64/fpu/s_fabsf.S: New file.
5460         * sysdeps/ia64/fpu/s_fabsl.S: New file.
5462 2000-12-15  Andreas Jaeger  <aj@suse.de>
5464         * stdio-common/scanf9.c (main): Reformat and change to avoid
5465         warnings.
5467         * stdio-common/tstdiomisc.c: Make local functions static.
5468         * stdio-common/tst-printf.c: Likewise.
5470         * elf/constload2.c: Add prototype declarations to shut up gcc.
5471         * elf/dep1.c: Likewise.
5472         * elf/dep2.c: Likewise.
5473         * elf/dep3.c: Likewise.
5474         * elf/dep4.c: Likewise.
5475         * elf/ltglobmod2.c: Likewise.
5477         * libio/fmemopen.c: Make local functions static.
5479         * elf/Makefile (distribute): Added testobj.h.
5481         * elf/testobj.h: New file.
5483         * elf/testobj1.c: Include testobj.h and move prototype
5484         declarations to testobj.h.
5485         * elf/testobj2.c: Likewise.
5486         * elf/testobj3.c: Likewise.
5487         * elf/testobj4.c: Likewise.
5488         * elf/testobj5.c: Likewise.
5489         * elf/testobj6.c: Likewise.
5490         * elf/testobj1_1.c: Likewise.
5491         * elf/preloadtest.c: Likewise.
5493 2000-12-15  Ben Collins  <bcollins@debian.org>
5495         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
5496         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
5498 2000-12-14  H.J. Lu  <hjl@gnu.org>
5500         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
5501         field in a float is 8 bits, not 11 bits.
5503 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
5505         * math/test-misc.c (main): Adjust m for IEEE quad long double.
5507 2000-12-13  Andreas Jaeger  <aj@suse.de>
5509         * manual/message.texi (Using gettextized software): Fix typo.
5511         * manual/charset.texi (Converting a Character): Fix mbstouwcs
5512         program to compile.
5513         Patch by Martin Buchholz <martin@xemacs.org>.
5515         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
5516         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
5518 2000-12-11  Andreas Jaeger  <aj@suse.de>
5520         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
5521         kernel_sigset_t and use it.
5522         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
5524 2000-12-10  Richard Henderson  <rth@redhat.com>
5526         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
5527         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
5528         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
5530 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
5532         * sysdeps/alpha/htonl.S: Fix a typo.
5534 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
5536         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
5538 2000-12-10  Andreas Jaeger  <aj@suse.de>
5540         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
5541         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
5542         Drepper <drepper@redhat.com>.
5544 2000-12-09  Andreas Jaeger  <aj@suse.de>
5546         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
5548         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
5549         generic version.
5550         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
5552         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
5553         string.
5555         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
5556         format string.
5558         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
5559         * nscd/connections.c (handle_request): Likewise.
5560         * nscd/pwdcache.c (addpwbyname): Likewise.
5561         * nscd/grpcache.c (addgrbyname): Likewise.
5563         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
5565 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
5567         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
5569         * Makeconfig (default_cflags): Make -O2 the default for stable
5570         releases.
5572 2000-12-08  H.J. Lu  <hjl@gnu.org>
5574         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
5575         * sysdeps/ia64/fpu/s_isinf.S: This.
5576         Add a .pred.rel.mutex note to avoid false report.
5578         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
5579         * sysdeps/ia64/fpu/s_isnan.S: This.
5581         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
5582         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
5583         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
5584         * sysdeps/ia64/fpu/s_isinff.S: New file.
5585         * sysdeps/ia64/fpu/s_isinfl.S: New file.
5586         * sysdeps/ia64/fpu/s_isnanf.S: New file.
5587         * sysdeps/ia64/fpu/s_isnanl.S: New file.
5588         * sysdeps/ia64/fpu/s_finite.S: New file.
5589         * sysdeps/ia64/fpu/s_finitef.S: New file.
5590         * sysdeps/ia64/fpu/s_finitel.S: New file.
5591         * sysdeps/ia64/fpu/s_signbit.S: New file.
5592         * sysdeps/ia64/fpu/s_signbitf.S: New file.
5593         * sysdeps/ia64/fpu/s_signbitl.S: New file.
5594         * sysdeps/ia64/fpu/s_copysign.S: New file.
5595         * sysdeps/ia64/fpu/s_copysignf.S: New file.
5596         * sysdeps/ia64/fpu/s_copysignl.S: New file.
5598 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
5600         * math/libm-test.inc (main): Fix typos in messages.
5602         * string/stratcliff.c: Add test for rawmemchr.
5604 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
5606         * elf/dl-open.c (_dl_open): If objname points right after errstring,
5607         allocate it together with errstring using alloca.
5608         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
5609         to "", because it might point to local stack.
5611 2000-12-05  H.J. Lu  <hjl@gnu.org>
5613         * nss/Makefile (routines): Add getnssent and getnssent_r.
5614         * nss/nsswitch.h (__nss_setent): New internal NSS function.
5615         (__nss_endent): Likewise.
5616         (__nss_getent_r): Likewise.
5617         (__nss_getent): Likewise.
5618         * nss/getnssent_r.c: New file.
5619         * nss/getnssent.c: New file.
5620         * nss/getXXent.c (H_ERRNO_VAR): Updated.
5621         (GETFUNC_NAME): Updated to call __nss_getent ().
5622         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
5623         (STAYOPEN_TMPVAR): Updated.
5624         (STAYOPEN_VAR): Updated.
5625         (SETFUNC_NAME): Updated to call __nss_setent ().
5626         (ENDFUNC_NAME): Updated to call __nss_endent ().
5627         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
5629 2000-12-08  Andreas Jaeger  <aj@suse.de>
5631         * nscd/dbg_log.h (dbg_log): Correct attribute.
5633 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
5635         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
5636         cp + len.  Compute where from dirname.
5637         Reported by <jreiser@BitWagon.com>.
5639 2000-12-08  Richard Henderson  <rth@twiddle.net>
5641         * sysdeps/alpha/_mcount.S: Fix typo.
5642         * sysdeps/alpha/strncpy.S: Likewise.
5644         * sysdeps/alpha/alphaev6/Implies: New file.
5645         * sysdeps/alpha/alphaev67/Implies: New file.
5646         * sysdeps/alpha/alphaev67/ffs.S: New file.
5647         * sysdeps/alpha/alphaev67/ffsll.S: New file.
5648         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
5649         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
5650         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
5651         * sysdeps/alpha/rawmemchr.S: New file.
5652         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
5653         * sysdeps/alpha/strcpy.S: Likewise.
5655         From GMP 3.1.1:
5656         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
5658         From rick.gorton@alpha-processor.com:
5659         * sysdeps/alpha/alphaev6/memchr.S: New file.
5660         * sysdeps/alpha/alphaev6/memcpy.S: New file.
5661         * sysdeps/alpha/alphaev6/memset.S: New file.
5662         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
5663         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
5664         * sysdeps/alpha/alphaev67/strcat.S: New file.
5665         * sysdeps/alpha/alphaev67/strchr.S: New file.
5666         * sysdeps/alpha/alphaev67/strlen.S: New file.
5667         * sysdeps/alpha/alphaev67/strncat.S: New file.
5668         * sysdeps/alpha/htonl.S: Use a shorter sequence.
5670 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
5672         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
5673         Reported by <pspencer@fields.utoronto.ca>.
5675 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
5677         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
5678         Pointed out by Hans Boehm.
5680 2000-12-07  H.J. Lu  <hjl@gnu.org>
5682         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
5684 2000-12-07  Andreas Jaeger  <aj@suse.de>
5686         * misc/error.c: Add format attributes for __error and __error_at_line.
5688         * nscd/dbg_log.h: Add format attribute.
5690 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
5692         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
5693         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
5695 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
5697         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
5699 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
5701         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
5702         (sysdep_routines): Add uitrunc.
5703         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
5704         Patches by Michael Keezer <mkeezer@redhat.com>.
5706 2000-12-06  Roland McGrath  <roland@frob.com>
5708         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
5709         argument data, since it will be used to copy out too (for INOUT).
5710         Reported by Marcus Brinkmann <marcus@gnu.org>.
5712         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
5713         (__ioctl): Use uintptr_t instead of unsigned long int.
5715 2000-12-06  Jim Wilson  <wilson@redhat.com>
5717         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
5719 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
5721         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
5722         x.5 rounding correctly.
5724 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
5726         * stdio-common/perror.c (perror): Conditionalize code dealing with
5727         wide-oriented streams on USE_IN_LIBIO.
5729 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
5731         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
5732         as internal_function.
5734 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
5736         * sysdeps/alpha/elf/start.S (__data_start): Define.
5738 2000-12-05  H.J. Lu  <hjl@gnu.org>
5740         * nss/getXXent_r.c (setup): Change the return type to int.
5742 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
5744         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
5745         (sysdep_routines): Add restf and savef.
5746         * sysdeps/unix/sysv/aix/restf.c: New file.
5747         * sysdeps/unix/sysv/aix/savef.c: New file.
5748         Patches by Michael Keezer <mkeezer@redhat.com>.
5750         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
5751         if O_DIRECTORY is not defined.
5752         Patch by Michael Keezer <mkeezer@redhat.com>.
5754         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
5755         Patch by Michael Keezer <mkeezer@redhat.com>.
5757         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
5758         than 4 bytes in escape sequence.
5759         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5761 2000-12-05  Andreas Jaeger  <aj@suse.de>
5763         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
5764         set mips2.
5766         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
5768         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
5770         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
5771         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
5773         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
5774         internal_function.
5775         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
5776         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
5778         * sysdeps/generic/dl-cache.c: Remove declaration of
5779         _dl_sysdep_read_whole_file.
5781         * elf/dl-load.c (_dl_map_object): Remove declaration of
5782         _dl_load_cache_lookup.
5784         * sysdeps/generic/ldsodefs.h: Add declarations of
5785         _dl_load_cache_lookup, _dl_unload_cache,
5786         _dl_sysdep_read_whole_file, _dl_sysdep_start and
5787         _dl_sysdep_start_cleanup.
5789         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
5790         now.
5792         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
5793         * sysdeps/generic/dl-environ.c: Likewise.
5795         * stdio-common/printf_fp.c: Include <gmp.h> instead of
5796         <stdlib/gmp.h>.
5797         * math/atest-exp.c: Likewise.
5798         * math/atest-exp2.c: Likewise.
5799         * math/atest-sincos.c: Likewise.
5800         * stdio-common/_itoa.c: Likewise.
5801         * stdio-common/_itowa.c: Likewise.
5803         * include/gmp.h: New file with internal prototypes.
5805         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
5806         here to...
5807         * include/setjmp.h: ...here.
5809         * locale/Makefile (routines): Remove codeset_name since it's not
5810         needed anywhere.
5812         * locale/codeset_name.c: Removed.
5814 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
5816         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
5818 2000-12-05  Andreas Jaeger  <aj@suse.de>
5820         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
5822 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
5824         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
5825         available.
5827 2000-12-05  Andreas Jaeger  <aj@suse.de>
5829         * nss/test-netdb.c: Mark local functions as static to avoid
5830         warnings.
5831         (main): Use return to silence warning.
5833         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
5835         * stdio-common/test-popen.c: Mark local functions as static to
5836         avoid warnings.
5837         (main): Use return to silence warning.
5839         * stdlib/testsort.c (compare): Mark as static to avoid warning.
5841         * assert/test-assert.c: Mark local functions as static to avoid
5842         warnings.
5843         * assert/test-assert-perr.c: Likewise.
5845         * math/libm-test.inc (main): Use return to silence warnings.
5847 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
5849         * math/fenv.h: Fix typo in comment.
5851         * math/test-misc.c (main): Add a few more over and underflow tests
5852         for scalb.
5854         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
5855         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5856         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5857         * math/w_scalb.c: Don't use matherr except in SVID mode.
5858         * math/w_scalbf.c: Likewise.
5859         * math/w_scalbl.c: Likewise.
5860         * math/test-misc.c: Add test for NaN and scalbl.
5861         Reported by Fred J. Tydeman <tydeman@tybor.com>.
5863 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
5865         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
5866         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
5867         * include/libc-symbols.h (strong_alias): Define special version
5868         for HAVE_ASM_GLOBAL_DOT_NAME.
5869         (weak_alias): Likewise.
5870         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
5871         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
5872         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
5873         getutxline, pututxline, and utmpxname.
5874         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
5875         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
5876         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
5877         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
5878         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
5879         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
5880         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
5881         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
5882         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
5883         Patches by Michael Keezer <mkeezer@redhat.com>.
5885 2000-12-04  H.J. Lu  <hjl@gnu.org>
5887         * configure.in: Change --with-oldest-abi=ABI to
5888         --enable-oldest-abi=ABI.
5890 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
5892         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
5893         fwprintf instead of fprintf.
5895 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
5897         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
5898         DECIMAL_DIG definitions.
5899         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
5900         * sysdeps/generic/bits/mathdef.h: Likewise
5901         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
5902         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
5903         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
5904         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
5905         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
5906         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
5908 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
5910         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
5912         * math/atest-exp.c: Mark local functions as static to avoid warnings.
5913         * math/atest-exp2.c: Likewise.
5914         * math/atest-sincos.c: Likewise.
5916         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
5917         Reported by Fred J. Tydeman <tydeman@tybor.com>.
5919         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
5920         the handling of denormalized numbers.
5922         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
5923         numbers on x86.
5924         * sysdeps/i386/fpu/fpclassifyl.c: New file.
5926         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
5927         pseudo denormal representation of LDBL_MIN.
5929         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
5930         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
5932         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
5933         * iconvdata/jis0208.c: Likewise.
5934         * iconvdata/jis0212.c: Likewise.
5935         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5937         * math/test-misc.c (main): More tests for frexp and some for
5938         fpclassify and isnormal.
5940         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
5941         test for subnormal.
5942         Reported by Fred J. Tydeman <tydeman@tybor.com>.
5944         * math/test-misc.c (main): Add tests for frexp.
5945         Reported by Fred J. Tydeman <tydeman@tybor.com>.
5946         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
5948 2000-12-02  H.J. Lu  <hjl@gnu.org>
5950         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
5951         '\0' to wcschr.
5953 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
5955         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
5956         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5957         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5959         * sysdeps/generic/glob.c: Adjust types of several variables to
5960         avoid warnings.
5962 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
5964         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
5966 2000-11-30  Roland McGrath  <roland@frob.com>
5968         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
5969         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
5970         allow multiple instances using the same function name in one file.
5972 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
5974         * configure.in: Correct test for pserver CVS access.
5976 2000-11-28  H.J. Lu  <hjl@gnu.org>
5978         * libio/libio.h: Remove extra "#if ... #endif".
5980 2000-11-29  H.J. Lu  <hjl@gnu.org>
5982         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
5984 2000-12-01  H.J. Lu  <hjl@gnu.org>
5986         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
5987         * nss/getXXent_r.c: Likewise.
5988         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5990 2000-11-30  H.J. Lu  <hjl@gnu.org>
5992         * scripts/abi-versions.awk (oldest_abi): New variable.
5993         Handle the oldest ABI supported.
5995         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
5996         for scripts/abi-versions.awk.
5998         * configure.in: Add --with-oldest-abi=ABI.
5999         * configure: Rebuild.
6001         * config.make.in (oldest-abi): New.
6003         * config.h.in (GLIBC_OLDEST_ABI): New.
6005         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
6007 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
6009         * locale/setlocale.c (setname): Free for all categories, not just
6010         LC_ALL.
6011         (setlocale): Store a copy of string passed by user, not the string
6012         itself.
6014 2000-11-30  Roland McGrath  <roland@frob.com>
6016         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
6017         rather than _hurd_fd_subinit, so it happens after it's safe to use
6018         libc facilities like malloc.
6020 2000-11-28  Andreas Jaeger  <aj@suse.de>
6022         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
6023         declaration, adjust declaration of __syscall_getdents to match
6024         kernel.
6026 2000-11-29  H.J. Lu  <hjl@gnu.org>
6028         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
6030 2000-11-29  Andreas Jaeger  <aj@suse.de>
6032         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
6034 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
6036         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
6037         * dlfcn/defaultmod2.c: Likewise.
6038         * dlfcn/dlopen.c: Likewise.
6039         * dlfcn/dlopenold.c: Likewise.
6040         * dlfcn/failtestmod.c: Likewise.
6041         * dlfcn/glreflib1.c: Likewise.
6042         * dlfcn/glreflib2.c: Likewise.
6043         * dlfcn/eval.c: Likewise.  Add attributes.
6045         * ctype/ctype-extn.c: Define isblank and not __isblank.
6047         * time/strftime.c: Add const where necessary to avoid warnings.
6048         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
6050 2000-11-22  Paul Eggert  <eggert@twinsun.com>
6052         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
6053         size of (size_t) -1; it's not portable.
6055 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
6057         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
6058         crappy i486 FPU.
6059         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
6061 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
6063         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
6065         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
6066         _mcount is required by profiled binaries.
6068         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
6069         * sysdeps/ia64/machine-gmon.h: ...here.
6071 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
6073         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
6074         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
6075         and ibm1129.h.
6076         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
6077         IBM1129.
6078         * iconvdata/ibm922.c: New file.
6079         * iconvdata/ibm922.h: New file.
6080         * iconvdata/ibm1124.c: New file.
6081         * iconvdata/ibm1124.h: New file.
6082         * iconvdata/ibm1129.c: New file.
6083         * iconvdata/ibm1129.h: New file.
6084         * iconvdata/testdata/IBM922: New file.
6085         * iconvdata/testdata/IBM922..UTF8: New file.
6086         * iconvdata/testdata/IBM1124: New file.
6087         * iconvdata/testdata/IBM1124..UTF8: New file.
6088         * iconvdata/testdata/IBM1129: New file.
6089         * iconvdata/testdata/IBM1129..UTF8: New file.
6091 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
6093         * catgets/gencat.c (normalize_line): Take extra parameter with escape
6094         character.  Change callers.
6095         (open_conversion): Determine mapping of 0x5c as wchar_t value.
6096         * catgets/Makefile: Add rules to build and run test-gencat.
6097         * catgets/sample.SJIS: New file.
6098         * catgets/test-gencat.c: New file.
6099         * catgets/test-gencat.sh: New file.
6100         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6102 2000-11-28  Andreas Jaeger  <aj@suse.de>
6104         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
6105         Linux version.
6107 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
6109         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
6111 2000-11-28  Andreas Jaeger  <aj@suse.de>
6113         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
6114         __flexarr.
6115         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
6116         Likewise.
6118 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
6120         * misc/getusershell.c: Make strings in okshells array const.
6121         * misc/regexp.c: Add const to cast to avoid warnings.
6122         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
6123         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
6124         __setresuid.
6125         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
6126         setresgid.
6127         * misc/error.c: Add prototypes for __error and __error_at_line.
6128         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
6129         statement to avoid warning.
6130         * test-skeleton.c: Mark timeout_handler with noreturn.
6131         * iconv/skeleton.c (get16u): Add const to cast.
6132         (get32u): Likewise.
6133         * iconvdata/gb18030.c: Likewise.
6134         * iconvdata/iso-2022-cn-ext.c: Likewise.
6135         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
6136         * iconvdata/big5.c: Likewise.
6137         * iconvdata/big5hkscs.c: Likewise.
6138         * iconvdata/iso_6937.c: Likewise.
6139         * iconvdata/iso_6937-2.c: Likewise.
6140         * iconvdata/t.61.c: Likewise.
6141         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
6142         * iconvdata/unicode.c: Likewise.
6143         * iconvdata/utf-16.c: Likewise.
6144         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
6145         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
6146         with little code shuffling.
6148         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
6149         the problems introduced when the user selects -O3.
6151         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
6152         * misc/sys/cdefs.h: Define __flexarr.
6153         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
6155         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
6156         * iconv/skeleton.c: Likewise.
6157         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
6158         * iconv/loop.c (get16): Add const to cast.
6159         (get32): Likewise.
6161 2000-11-27  Andreas Jaeger  <aj@suse.de>
6163         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
6164         to avoid warning.
6165         * login/programs/utmpdump.c (print_entry): Likewise.
6167 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
6169         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
6170         in a single asm as they may be used to access other stored
6171         registers.
6172         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
6174 2000-11-27  Andreas Jaeger  <aj@suse.de>
6176         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
6177         * rt/tst-aio64.c: Likewise.
6179 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
6181         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
6182         for gencat run.
6183         (libc.cat): Likewise.
6184         * catgets/gencat.c: Implement handling of message catalogs encoded
6185         with stateful character sets.
6186         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6188 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
6190         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
6192         * inet/getnameinfo.c: Adjust casts to avoid warnings.
6193         * inet/rcmd.c: Likewise.
6194         * inet/ruserpass.c: Likewise.
6195         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
6196         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6197         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
6198         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
6199         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
6200         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
6201         * include/aliases.h: Add prototypes for internal __getalias* functions.
6202         * include/netdb.h: Add prototypes for __old_gethostent_r,
6203         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
6204         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
6205         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
6206         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
6207         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
6208         __old_getrpcbynumber_r, __old_getrpcent_r.
6210         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
6211         __getrpcent_r prototypes.
6213 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
6215         * string/strcoll.c: Add casts to avoid warnings.
6216         * string/strnlen.c: Likewise.
6217         * string/strxfrm.c: Likewise.
6218         * sysdeps/generic/_strerror.c: Likewise.
6219         * sysdeps/generic/memrchr.c: Likewise.
6220         * sysdeps/generic/strcasestr.c: Likewise.
6221         * sysdeps/generic/strstr.c: Likewise.
6223         * locale/weight.h (findidx): Add const to cast to avoid warning.
6225         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
6226         * elf/loadtest.c: Likewise.
6227         * elf/multiload.c: Likewise.
6228         * elf/next.c: Likewise.
6229         * elf/nodelete.c: Likewise.
6230         * elf/noload.c: Likewise.
6231         * elf/order.c: Likewise.
6232         * elf/origtest.c: Likewise.
6233         * elf/preloadtest.c: Likewise.
6234         * elf/restest1.c: Likewise.
6236         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
6237         parameter of asm must be in %ecx.
6239         * string/tester.c: Mark test functions as static to avoid warnings.
6241         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
6242         preserve value over different gconv-modules files.
6244 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
6246         * locale/findlocale.c: Add casts to avoid warnings.
6247         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
6248         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
6249         to avoid warnings.
6250         * misc/tsearch.c (const_node): New type.
6251         (trecurse): Correct casts to avoid warnings.
6252         (__twalk): Likewise.
6253         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
6254         LONG_BIT.
6256         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
6258         * test-skeleton.c: Mark local functions as static to avoid warnings.
6260 2000-11-23  H.J. Lu  <hjl@gnu.org>
6262         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
6263         support the background job.
6264         Fix a typo.
6266 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
6268         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
6269         has same names but lower cost.
6271 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
6273         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
6274         which never occur during bootstrap.
6275         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6277 2000-11-23  Andreas Jaeger  <aj@suse.de>
6279         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
6281         * nss/Versions: Remove _nss_files_getipnodebyname_r.
6283         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
6285 2000-11-18  Martin Buchholz  <martin@xemacs.org>
6287         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
6288         (called++) return;'
6290 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
6292         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
6294         * csu/abi-note.S: Correct comment for operating system number.
6296 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
6298         * Versions.def: Add GLIBC_2.2.1 for glibc.
6300 2000-11-22  Andreas Schwab  <schwab@suse.de>
6302         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
6303         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
6305 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
6307         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
6308         absolute time for pthread_cond_timedwait call.
6309         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
6311         * rt/Makefile (tests): Add tst-aio6.
6312         * rt/tst-aio6.c: New file.
6314 2000-11-23  Andreas Jaeger  <aj@suse.de>
6316         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
6318 2000-11-22  Andreas Jaeger  <aj@suse.de>
6320         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
6322 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
6324         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
6326 2000-11-21  Andreas Schwab  <schwab@suse.de>
6328         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
6329         * sysdeps/arm/setjmp.S: Likewise.
6330         * sysdeps/arm/fpu/setjmp.S: Likewise.
6331         * sysdeps/i386/setjmp.S: Likewise.
6332         * sysdeps/i386/elf/setjmp.S: Likewise.
6333         * sysdeps/s390/setjmp.S: Likewise.
6334         * sysdeps/s390/elf/setjmp.S: Likewise.
6335         * sysdeps/sh/sh3/setjmp.S: Likewise.
6336         * sysdeps/sh/sh4/setjmp.S: Likewise.
6337         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
6338         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6339         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
6340         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
6342 2000-11-21  Andreas Jaeger  <aj@suse.de>
6344         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
6345         NORETURN, fix parameter list.
6347         * string/bug-strncat1.c (main): Fix typo.
6348         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
6350 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
6352         * configure.in: Add --enable-all-warnings.
6353         * config.make.in (all-warnings): New variable.
6354         * Makeconfig (+gccwarn): Define with many more warnings if
6355         all-warnings is yes.
6357 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
6359         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
6360         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
6361         * malloc/tst-valloc.c (main): Cast valloc return value to long.
6362         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
6363         * math/test-fpucw.c (main): Use %lx in format string, cast
6364         control words to long.
6365         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
6366         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
6367         large that it is unsigned warning.
6369         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
6370         it to long on sparc64.
6372 2000-11-20  Andreas Jaeger  <aj@suse.de>
6374         * nscd/nscd.h (termination_handler): Add noreturn attribute.
6375         (receiv_print_stats): Likewise.
6377         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
6379 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
6381         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
6383         * csu/gmon-start.c: Always have prototype for __gmon_start.
6384         * csu/version.c: Add prototypes for __libc_print_version and
6385         __libc_main.
6386         * iconv/gconv.c: Include gconv_int.h and gconv.h.
6387         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
6388         and __to_name.
6389         * iconv/gconv_builtin.h: Add ASCII module definitions.
6390         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
6391         (add_module): Add cast to avoid warning.  Rework construction of
6392         strings for new module.
6393         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
6394         (derivation_compare): Likewise.
6395         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
6396         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
6397         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
6398         (struct gconv_alias): Remove const from fromname and toname.
6399         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
6400         for loop functions.
6401         (internal_ucs4_loop): Use correct const-ness.
6402         (ucs4_internal_loop): Likewise.
6403         (internal_ucs4le_loop): Likewise.
6404         (ucs4le_internal_loop_single): Likewise.
6405         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
6406         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
6407         assignments appropriately.
6408         (struct known_trans): Remove const from fname.
6409         (trans_compare): Make s1 and s2 const.
6410         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
6411         avoid warning.
6412         * iconv/skeleton.c: Remove cast in calls of loop functions.
6413         * iconvdata/gconv-modules: Remove US-ASCII definitions.
6414         * iconvdata/iso646.c: Remove US_ASCII support.
6415         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
6416         * include/unistd.h: Add __libc_check_standard_fds prototype.
6417         * string/bits/string2.h (__mempcpy_args): Add const to casts.
6418         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
6419         _fini.
6420         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
6421         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
6422         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
6423         warning.
6424         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
6425         __libc_init_first and _dl_start.
6426         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
6427         (DCIGETTEXT): Make domaindata variable const.
6428         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
6429         to avoid warning.
6431 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
6433         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
6435         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
6436         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
6437         __unused? members.
6439         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
6440         value defined in /usr/include/asm-mips/fcntl.h.
6442 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
6444         * stdio-common/Makefile (tests): Add test-vfprintf.
6445         (test-vfprintf-ENV): New variable.
6446         * stdio-common/test-vfprintf.c: New file.
6448         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
6450         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
6451         (tst-mbrtowc-ENV): New variable.
6452         (tst-wcrtomb-ENV): New variable.
6453         * wcsmbs/tst-mbrtowc.c: New file.
6454         * wcsmbs/tst-wcrtomb.c: New file.
6456 2000-11-16  Andreas Jaeger  <aj@suse.de>
6458         * manual/install.texi (Tools for Compilation): Update
6459         documentation for GCC 2.95.2.
6461 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
6463         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
6464         if IPv4 and IPv6 requests timed out.
6466 2000-11-18  Akim Demaille  <akim@epita.fr>
6468         * malloc/obstack.h: Formatting changes.
6469         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
6470         prevents type checking.
6471         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
6472         cast the value to (void *): assigning a `foo *' to a `void *'
6473         variable is valid.
6474         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
6476 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
6478         * scripts/config.guess: Update from upstream maintainer.
6479         * scripts/config.sub: Likewise.
6481 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
6483         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
6484         * libio/freopen64.c (freopen64): Likewise.
6485         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6487         * libio/Makefile: Add rules to build and run test-freopen.
6488         * libio/test-freopen.c: New file.
6489         * libio/test-freopen.sh: New file.
6491 2000-11-15  H.J. Lu  <hjl@gnu.org>
6493         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
6494         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
6495         (DL_DT_FINI_ADDRESS): Likewise.
6497         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
6498         return type to ElfW(Addr).
6499         (_dl_function_address): New prototype.
6500         (DL_FUNCTION_ADDRESS): Defined.
6501         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
6502         (DL_DT_FINI_ADDRESS): Likewise.
6504         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
6506         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
6507         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
6509         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
6510         (_dl_function_address): This.
6512         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
6513         function pointer for DT_FINI.
6514         * elf/dl-close.c (_dl_close): Likewise.
6516         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
6517         function pointer for DT_INIT.
6519 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
6521         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
6522         end of wexpbuf buffer.
6524 2000-11-16  Andreas Jaeger  <aj@suse.de>
6526         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
6527         definition of F_GETLK, F_SETLK, F_SETLKW.
6529 2000-11-16  Andreas Jaeger  <aj@suse.de>
6531         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
6532         it's not defined.
6534 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
6536         * dlfcn/default.c (main): Add test for dladdr of main returning
6537         argv[0] in dli_fname field.
6539 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
6541         * Makeconfig (run-program-prefix): Move test-static test into the
6542         variable.
6544         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
6545         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
6546         schedule instructions.
6547         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
6548         schedule instructions, fix a bug in copying auxiliary data.
6550 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
6552         * manual/startup.texi (Program Arguments): Fix type of main's envp
6553         parameter.
6554         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
6556         * iconvdata/gconv-modules: Add CP950 alias.
6558 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
6560         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
6561         syscall-list.h goal.
6562         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
6564 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
6566         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
6568         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
6569         output of program.
6571         * intl/tst-gettext2.c: Set C locale if setting other locale
6572         failed.  Use gettext() not _().
6574         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
6575         successfully loaded a new locale.
6577 2000-11-13  Andreas Jaeger  <aj@suse.de>
6579         * configure.in: Require gcc 2.95 or newer.
6581 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
6583         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
6584         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
6586 2000-11-11  Jim Meyering  <meyering@lucent.com>
6588         * string/strndup.c (strndup): Cast return value to `char *'.
6590 2000-11-15  Jim Meyering  <meyering@ascend.com>
6592         * sysdeps/generic/memchr.c: Remove some useless parentheses.
6593         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
6594         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
6595         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
6596         Also #undef __memchr.
6597         Use `weak_alias' only if it's defined.
6599 2000-11-10  H.J. Lu  <hjl@gnu.org>
6601         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
6603 2000-11-15  Andreas Jaeger  <aj@suse.de>
6605         * elf/chroot_canon.c: Include <stdint.h>.
6607         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
6608         (print_entry): Likewise.
6609         (add_to_cache): Likewise.
6611         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
6613         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
6614         (path_hwcap): Likewise.
6615         (search_dir): Likewise.
6617         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
6619         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
6621         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
6622         (_dl_platform_string): New.
6623         (_DL_HWCAP_PLATFORM): New.
6624         (_dl_string_platform): New.
6625         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
6627         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
6628         (_dl_string_platform): New.
6629         (_DL_HWCAP_PLATFORM): New.
6630         (_dl_platform_string): New.
6632         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
6633         recognition.
6634         (_DL_HWCAP_COUNT): New.
6635         (_dl_string_platform): New.
6636         (_DL_HWCAP_PLATFORM): New.
6637         (_dl_platform_string): New.
6639 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
6641         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
6643 2000-11-14  Andreas Jaeger  <aj@suse.de>
6645         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
6647 2000-11-13  Roland McGrath  <roland@frob.com>
6649         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
6651 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
6653         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
6654         underrun and make sure the result is null terminated even if there
6655         is no trailing newline.
6657 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
6659         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6661 2000-11-10  H.J. Lu  <hjl@gnu.org>
6663         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
6665 2000-11-10  Andreas Jaeger  <aj@suse.de>
6667         * elf/ldconfig.c (create_links): Fix alloca calculation.
6668         Patch by Ben Collins <bcollins@debian.org>.
6670 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
6672         * inet/getnameinfo.c (getnameinfo): Use correct destination
6673         parameter for if_indextoname.
6674         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
6676 2000-11-09  H.J. Lu  <hjl@gnu.org>
6678         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
6679         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
6680         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
6681         xdr_keystatus.
6683         * time/Versions (GLIBC_2.1): Move getitimer to...
6684         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
6686 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
6688         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
6689         "make install", to work around a binary incompatibility between
6690         glibc 2.1 and glibc 2.2 gconv modules.
6692 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
6694         * intl/locale.alias: Add thai.
6695         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
6697 2000-11-07  Akim Demaille  <akim@epita.fr>
6699         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
6700         argument `data' for consistency with the prototypes.
6701         Qualify it `const'.
6702         (obstack_copy, obstack_copy0): Rename the second argument as
6703         `address' for consistency.  Qualify it `const'.
6704         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
6705         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
6706         `const' their input argument (`data' or `address').
6707         Adjust the corresponding macros to include `const' in casts.
6709 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6711         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
6712         target family.
6714 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6716         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
6717         socket creation.
6719 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6721         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
6722         ai_protocol by internal table if service was not given.
6724 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6726         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
6727         numerical port was specified with protocol without socktype.
6729 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6731         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
6733 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6735         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
6737 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6739         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
6740         sin6_scope_id field.
6742 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6744         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
6746 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6748         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
6750 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6752         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
6753         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
6755 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
6757         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
6758         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
6760 2000-11-09  H.J. Lu  <hjl@gnu.org>
6762         * io/Versions (GLIBC_2.1.1): Remove lockf64.
6765 See ChangeLog.11 for earlier changes.